Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-beta-1
-
Fix Version/s: 2.0-beta-2
-
Labels:None
Description
Just like we have PMD and Checkstyle build checks, I would like to see a similar check mojo for javancss which will fail the build if a method has a CCN or line count greater than some configurable value. Something like this:
<configuration> <maximumLineCount>100</maximumLineCount> <maximumComplexity>20</maximumComplexity> </configuration>
Code is there for some time now, documentation has been updated now.