Pairwise Field Irrelation

Let:

M be the set of methods defined by the class
F be the set of fields defined by the class
Mf be the subset of M of methods that access field f, where f is a member of F

Then, the Total Field Irrelation is the mean Jaccard Distance between Mf1 and Mf2, where f1 ≠ f2.


Note 1: I have only included methods if they access at least one field.

Note 2: I have only included fields if they are accessed by at least one method in the class.


This plugin is provided by State Of Flow