After upgrade to version 8.0.0 of the plugin, the NPathComplexity reports very high numbers on code that with the previous version of the plugin was fine. Up to version 7.x of the plugin the default max NPathComplexity = 200 was sufficient to not report any violations. With 8.0.0 I had to increase the threshhold to 2000 to address the great number of violations reported. It "feels" as if the calculation is off by a decimal point (i.e. factor of 10).
I have been running on Eclipse Neon.2 (4.6.2) for some time with plugin version 7.x without this issue.
Any insight would be appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After upgrade to version 8.0.0 of the plugin, the NPathComplexity reports very high numbers on code that with the previous version of the plugin was fine. Up to version 7.x of the plugin the default max NPathComplexity = 200 was sufficient to not report any violations. With 8.0.0 I had to increase the threshhold to 2000 to address the great number of violations reported. It "feels" as if the calculation is off by a decimal point (i.e. factor of 10).
I have been running on Eclipse Neon.2 (4.6.2) for some time with plugin version 7.x without this issue.
Any insight would be appreciated.
If this is still an issue for you, please report this to the Checkstyle core project, over at https://github.com/checkstyle/checkstyle