Jtest logo




Contents  Previous  Next  Index

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.


Contents  Previous  Next  Index

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