METRICS.NPRIF
Number of "private" fields
Description
This metric measures the number of "private" fields in a class.
The number of fields in a class indicates the amount of data the class must maintain in order to carry out its responsibilities.
By default, Jtest reports an error if this metric's value is not between 0 and 10.
Reference
Mark Schroeder. "A Practical Guide to Object-Oriented Metrics." IT Pro, November/December, 1999.
|