diff --git a/pmd/src/main/resources/rulesets/releases/512.xml b/pmd/src/main/resources/rulesets/releases/512.xml new file mode 100644 index 0000000000..79a98457d2 --- /dev/null +++ b/pmd/src/main/resources/rulesets/releases/512.xml @@ -0,0 +1,15 @@ + + + + +This ruleset contains links to rules that are new in PMD v5.1.2 + + + + + + + diff --git a/pmd/src/site/markdown/changelog.md b/pmd/src/site/markdown/changelog.md index a0861329ea..8ebd92e1fd 100644 --- a/pmd/src/site/markdown/changelog.md +++ b/pmd/src/site/markdown/changelog.md @@ -37,4 +37,11 @@ * [#41](https://github.com/pmd/pmd/pull/41): Update to use asm 5.0.2 * [#42](https://github.com/pmd/pmd/pull/42): Add SLF4j Logger type to MoreThanOneLogger rule +* [#43](https://github.com/pmd/pmd/pull/43): Standard and modified cyclomatic complexity +**New Rules:** + +* Java - codesize ruleset: + * StdCyclomaticComplexity: Like CyclomaticComplexityRule, but not including boolean operators + * ModifiedCyclomaticComplexity: Like StdCyclomaticComplexity, but switch statement plus all cases count as 1 + * Thanks to Alan Hohn diff --git a/pmd/src/site/xdocs/credits.xml b/pmd/src/site/xdocs/credits.xml index 6126b0f4c5..96adbd931c 100644 --- a/pmd/src/site/xdocs/credits.xml +++ b/pmd/src/site/xdocs/credits.xml @@ -339,6 +339,7 @@
  • Mat Booth - #1109 Patch to build with Javacc 5.0
  • Stuart Turton - for PLSQL support. See also http://pldoc.sourceforge.net/
  • Andrey Utis - for adding Apache Velocity as a new language and writing up a howto for adding new languages.
  • +
  • Alan Hohn - for adding Standard and modified cyclomatic complexity rules