cathcart:checkprevious_clover

Full name:

net.sf.cathcart:maven-cathcart-plugin:0.9.7:checkprevious_clover

Description:

Checks that the conditionalsrate, coveragerate, statementsrate and methodsrate metrics generated by clover have not significantly deteriorated since the last successful build.

Attributes:

  • Is NOT inherited by default in multi-project builds.

Required Parameters

Name Type Since Description
clover.report File - The xml report produced by clover which contains the raw data for checking.
basedir File - The base directory from which to execute the Ant script.
Default value is: ${basedir}.

Optional Parameters

Name Type Since Description
checkprevious.clover.conditionalsrate.leeway Double - The allowed leeway in the value of conditionalsrate when compaired to the last successful build.
Default value is: 0.
checkprevious.clover.conditionalsrate.absolute Boolean - Is the leeway for conditionalsrate given as an absolute value (true) or a percentage (false)?
Default value is: false.
checkprevious.clover.coveragerate.leeway Double - The allowed leeway in the value of coveragerate when compaired to the last successful build.
Default value is: 0.
checkprevious.clover.coveragerate.absolute Boolean - Is the leeway for coveragerate given as an absolute value (true) or a percentage (false)?
Default value is: false.
checkprevious.clover.statementsrate.leeway Double - The allowed leeway in the value of statementsrate when compaired to the last successful build.
Default value is: 0.
checkprevious.clover.statementsrate.absolute Boolean - Is the leeway for statementsrate given as an absolute value (true) or a percentage (false)?
Default value is: false.
checkprevious.clover.methodsrate.leeway Double - The allowed leeway in the value of methodsrate when compaired to the last successful build.
Default value is: 0.
checkprevious.clover.methodsrate.absolute Boolean - Is the leeway for methodsrate given as an absolute value (true) or a percentage (false)?
Default value is: false.
checkprevious.clover.dir String - The directory where results are saved between builds.
Default value is: previous.
checkprevious.clover.backup Boolean - Make a backup of the previous result file when it is replaced.
Default value is: true.
messageLevel String - The message-level used to tune the verbosity of Ant logging.
Default value is: info.

Parameter Details

clover.report:

The xml report produced by clover which contains the raw data for checking.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${clover.report}

checkprevious.clover.conditionalsrate.leeway:

The allowed leeway in the value of conditionalsrate when compaired to the last successful build.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${checkprevious.clover.conditionalsrate.leeway}
  • Default: 0

checkprevious.clover.conditionalsrate.absolute:

Is the leeway for conditionalsrate given as an absolute value (true) or a percentage (false)?
  • Type: java.lang.Boolean
  • Required: No
  • Expression: ${checkprevious.clover.conditionalsrate.absolute}
  • Default: false

checkprevious.clover.coveragerate.leeway:

The allowed leeway in the value of coveragerate when compaired to the last successful build.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${checkprevious.clover.coveragerate.leeway}
  • Default: 0

checkprevious.clover.coveragerate.absolute:

Is the leeway for coveragerate given as an absolute value (true) or a percentage (false)?
  • Type: java.lang.Boolean
  • Required: No
  • Expression: ${checkprevious.clover.coveragerate.absolute}
  • Default: false

checkprevious.clover.statementsrate.leeway:

The allowed leeway in the value of statementsrate when compaired to the last successful build.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${checkprevious.clover.statementsrate.leeway}
  • Default: 0

checkprevious.clover.statementsrate.absolute:

Is the leeway for statementsrate given as an absolute value (true) or a percentage (false)?
  • Type: java.lang.Boolean
  • Required: No
  • Expression: ${checkprevious.clover.statementsrate.absolute}
  • Default: false

checkprevious.clover.methodsrate.leeway:

The allowed leeway in the value of methodsrate when compaired to the last successful build.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${checkprevious.clover.methodsrate.leeway}
  • Default: 0

checkprevious.clover.methodsrate.absolute:

Is the leeway for methodsrate given as an absolute value (true) or a percentage (false)?
  • Type: java.lang.Boolean
  • Required: No
  • Expression: ${checkprevious.clover.methodsrate.absolute}
  • Default: false

checkprevious.clover.dir:

The directory where results are saved between builds.
  • Type: java.lang.String
  • Required: No
  • Expression: ${checkprevious.clover.dir}
  • Default: previous

checkprevious.clover.backup:

Make a backup of the previous result file when it is replaced.
  • Type: java.lang.Boolean
  • Required: No
  • Expression: ${checkprevious.clover.backup}
  • Default: true

basedir:

The base directory from which to execute the Ant script.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${antBasedir}
  • Default: ${basedir}

messageLevel:

The message-level used to tune the verbosity of Ant logging.
  • Type: java.lang.String
  • Required: No
  • Expression: ${antMessageLevel}
  • Default: info