cathcart:checkprevious_findbugs

Full name:

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

Description:

Checks that the totalbugs metric generated by findbugs has not significantly deteriorated since the last successful build.

Attributes:

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

Required Parameters

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

findbugs.report:

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

checkprevious.findbugs.totalbugs.leeway:

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

checkprevious.findbugs.totalbugs.absolute:

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

checkprevious.findbugs.dir:

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

checkprevious.findbugs.backup:

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