TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - Java Coding Standard
Search

Rule:  CodeSize9Checked automatically with code checker

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();
 }
}