This rule is Obsolete | |
Synopsis: | Avoid complex constructors |
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. This rule is similar to [CodeSize1].
public class Foo extends Bar { public Foo() { //this constructor has 2 NCSS lines super(); super.foo(); } } |