This rule is Obsolete | |
Synopsis: | Avoid long type definitions |
Language: | Java |
Severity Level: | 2 |
Category: | CodeSize |
Description: |
This rule uses the NCSS (Non Commenting Source Statements) algorithm to determine the number of lines of code for a given type. NCSS ignores comments, and counts actual statements. Using this algorithm, lines of code that are split are counted as one. If there are more than 1500 NCSSs in a class the rule will fire.
public class Foo extends Bar { public Foo() { //this class has 6 NCSS lines super(); super.foo(); } } |