METRICS.NOF
Number of fields
Description
This metric measures the number of fields in each class.
The number of fields in a class indicates the amount of data that 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.
|