cathcart:check_findbugs

Full name:

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

Description:

Checks the totalbugs metric generated by findbugs.

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

check.findbugs.totalbugs.leeway:

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

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

check.findbugs.totalbugs.limit:

Fails if totalbugs is more than this value.
  • Type: java.lang.Double
  • Required: No
  • Expression: ${check.findbugs.totalbugs.limit}
  • Default: 99999

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