Jtest logo




Contents  Previous  Next  Index

METRICS.NPKGF


Number of package-private fields

Description

This metric measures the number of package-private 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.


Contents  Previous  Next  Index

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