diff --git a/README.md b/README.md index ad9ac56..487247f 100644 --- a/README.md +++ b/README.md @@ -1249,16 +1249,10 @@ Checks the format for Javadoc for classes and enums. Javadoc must be present, no #### [JavaNCSS](http://checkstyle.sourceforge.net/config_metrics.html#JavaNCSS) -Restricts the NCSS score for methods, classes and files to 50, 1500 and 2000 respectively. The NCSS score is a measure of the number of statements within a scope. +Restricts the NCSS score for methods, classes and files to 40, 1200 and 1600 respectively. The NCSS score is a measure of the number of statements within a scope. Too high an NCSS score suggests that the method or class is doing too much and should be decomposed into smaller units. -> TODO: methodMaximum = 40 - reduce by 20% - -> TODO: classMaximum = 1200 - -> TODO: fileMaximum = 1600 - #### [LeftCurly](http://checkstyle.sourceforge.net/config_blocks.html#LeftCurly) Checks that the left curly brace ('{') is placed at the end of the line. Does not check enums. diff --git a/src/main/resources/net/kemitix/checkstyle.xml b/src/main/resources/net/kemitix/checkstyle.xml index 0ccd9a9..eecf96e 100644 --- a/src/main/resources/net/kemitix/checkstyle.xml +++ b/src/main/resources/net/kemitix/checkstyle.xml @@ -107,7 +107,11 @@ - + + + + +