Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Coding = (Blocker * 10 + Critical * 5 + Major * 3 + Minor + Info) / ValidLines

Where:

  • ValidLines = Lines of Code Code - Duplicated Lines
  • Blocker = number of PMD blocker violations
  • Critical = number of PMD critical violations
  • Major = number of PMD major violations
  • Minor = number of PMD minor violations
  • Info = number of PMD info violations

...

Complexity = (Complexity>30 * 10 + Complexity>20 * 5 + Complexity>10 * 3 + Complexity>1) / ValidLines

Where:

  • ValidLines = Lines  Lines of Code Code - Duplicated  Duplicated Lines
  • Complexity>X = number of methods whose Complexity is greater than X

Coverage

...

Style = (Errors * 10 + Warnings) / ValidLines * 10

Where:

  • ValidLines = Lines  Lines of Code Code - Duplicated  Duplicated Lines
  • Errors = number of Checkstyle blocker violations + number of Checkstyle critical violations
  • Warnings = number of Checkstyle major violations + number of Checkstyle minor violations + number of Checkstyle info violations

...

  • Complexity>X = number of methods whose Complexity is whose Complexity is greater than X

Usage & Installation

...