cathcart:checkprevious_cobertura

Full name:

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

Description:

Checks that the branchrate and linerate metrics generated by cobertura 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
cobertura.report File - The xml report produced by cobertura 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.cobertura.branchrate.leeway Double - The allowed leeway in the value of branchrate when compaired to the last successful build.
Default value is: 0.
checkprevious.cobertura.branchrate.absolute Boolean - Is the leeway for branchrate given as an absolute value (true) or a percentage (false)?
Default value is: false.
checkprevious.cobertura.linerate.leeway Double - The allowed leeway in the value of linerate when compaired to the last successful build.
Default value is: 0.
checkprevious.cobertura.linerate.absolute Boolean - Is the leeway for linerate given as an absolute value (true) or a percentage (false)?
Default value is: false.
checkprevious.cobertura.dir String - The directory where results are saved between builds.
Default value is: previous.
checkprevious.cobertura.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

cobertura.report:

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

checkprevious.cobertura.branchrate.leeway:

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

checkprevious.cobertura.branchrate.absolute:

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

checkprevious.cobertura.linerate.leeway:

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

checkprevious.cobertura.linerate.absolute:

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

checkprevious.cobertura.dir:

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

checkprevious.cobertura.backup:

Make a backup of the previous result file when it is replaced.
  • Type: java.lang.Boolean
  • Required: No
  • Expression: ${checkprevious.cobertura.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