Description:
PUR metric is defined as the relative number of classes from the measured package that are used from outside that package.
The number of uses classes will be divided by the total number of classes in the package, from which we exclude the inner classes, i.e. PS. Thus
| PIS | |||||
| PUR = |
|
||||
| PS | |||||