PAD - Definition - Improving Predictions, Products, Processes & Resou

Q.  PAD is metric indicates the number of classes that can access another class attributes and a violation of encapsulation.
- Published on 22 Jul 15

a. True
b. False

ANSWER: True
 

    Discussion

  • Nirja Shah   -Posted on 28 Oct 15
    Public access to data members (PAD)
    - This metric indicates the number of classes (or methods) that can access another classes attributes, a violation of encapsulation.

    - High values of PAD lead to the potential for side effects among classes.

    - Tests must be designed to ensure that such side effects are uncovered.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)