Open AntonisGkortzis opened 6 years ago
Temporarily fixed with the use of regex.
In case that nested types exist, each field of the outer type is parsed in order to check if this belongs to a nested class. When this is satisfied and the nested class is not public then the field is not accounted for the Deficient Encapsulation.
This is caused due to counting the public fields of an inner class while the inner class is private.
When inner class is private her fields should not affect the Encapsulation Efficiency status of the outer class.