cathcart:check_cobertura

Full name:

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

Description:

Checks the branchrate and linerate metrics generated by cobertura.

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
check.cobertura.branchrate.leeway Double - The allowed leeway in the value of branchrate when compaired to the given limit.
Default value is: 0.
check.cobertura.branchrate.absolute Boolean - Is the leeway for branchrate given as an absolute value (true) or a percentage (false)?
Default value is: false.
check.cobertura.branchrate.limit Double - Fails if branchrate is less than this value.
Default value is: 0.
check.cobertura.linerate.leeway Double - The allowed leeway in the value of linerate when compaired to the given limit.
Default value is: 0.
check.cobertura.linerate.absolute Boolean - Is the leeway for linerate given as an absolute value (true) or a percentage (false)?
Default value is: false.
check.cobertura.linerate.limit Double - Fails if linerate is less than this value.
Default value is: 0.
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}

check.cobertura.branchrate.leeway:

The allowed leeway in the value of branchrate when compaired to the given limit.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${check.cobertura.branchrate.leeway}
  • Default: 0

check.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: ${check.cobertura.branchrate.absolute}
  • Default: false

check.cobertura.branchrate.limit:

Fails if branchrate is less than this value.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${check.cobertura.branchrate.limit}
  • Default: 0

check.cobertura.linerate.leeway:

The allowed leeway in the value of linerate when compaired to the given limit.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${check.cobertura.linerate.leeway}
  • Default: 0

check.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: ${check.cobertura.linerate.absolute}
  • Default: false

check.cobertura.linerate.limit:

Fails if linerate is less than this value.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${check.cobertura.linerate.limit}
  • Default: 0

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