Java – NCSs type count violation

I am not quite clear about the violation proposed by PMD Basically, I have two questions:

>What can I do to get rid of this violation? > What does the following statement mean?

Solution

PMD Code size rules.

NCSs stands for uncommented source lines Methods and / or categories with high NCSs counts (very high levels) are too long and may be decomposed The number of NCSs is poor

In addition, it sounds like you might use sonar version 2.10 or earlier because the sonar bug 2676 has been fixed in 2.11

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>