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

Rule:  CodeSize8Checked automatically with code checker

This rule is Obsolete
Synopsis:Avoid large methods
Language:Java
Severity Level:2
Category:CodeSize


Description:
NCSS stands for Non-Commenting Source Statements. As its name implies, NCSS represents anything that's not commentary. You could view it as the weight of the compiled code, or the amount of source code that actually does stuff, etc.. If there are more than 100 NCSSs in a method the rule will fire.
public class Foo extends Bar {
 public int methd() {
     //this method has 2 NCSS lines


     super.methd();


     return 1;
 }
}