Menu

After upgrade to version 8.0.0 NPathComplexity reports very high numbers

2017-09-19
2017-12-20
  • David Techie

    David Techie - 2017-09-19

    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.

     
  • Lars Koedderitzsch

    If this is still an issue for you, please report this to the Checkstyle core project, over at https://github.com/checkstyle/checkstyle

     

Log in to post a comment.

MongoDB Logo MongoDB