Hiding Metrics

Hiding description.

AHF

Attribute hiding factor.

Attribute hiding factor. The AHF numerator is the sum of the invisibilities of all attributes defined in all classes. The invisibility of an attribute is the percentage of the total classes from which this attribute is not visible. The AHF denominator is the total number of attributes defined in the system under consideration.

MHF

Method hiding factor.

Method hiding factor. The MHF numerator is the sum of the invisibilities of all methods defined in all classes. The invisibility of a method is the percentage of the total classes from which this method is not visible. The MHF denominator is the total number of methods defined in the system under consideration.