Jtest logo




Contents  Previous  Next  Index

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.


Contents  Previous  Next  Index

ParaSoft logo
(888) 305-0041 info@parasoft.com Copyright © 1996-2001 ParaSoft