METRICS.TNLM
Number of lines in a method
Description
This metric measures the number of lines of code in a method.
The number of lines of code in a method estimates method length and complexity.
By default, Jtest reports an error if this metric's value is not between 0 and 30.
Note: This rule does not test abstract methods, native methods, or any methods that are declared in the interface.
Reference
Mark Schroeder. "A Practical Guide to Object-Oriented Metrics." IT Pro, November/December, 1999.
|