Details
Description
Since unrelated methods of a class may all use the same logger instance, it could cause to calculate LCOM4=1 even though it might be really higher.
It would be good, if certain member variables could be excluded from the LCOM4 calculation.
Issue Links
- is related to
-
SONARJAVA-55
LCOM4: Exclude static methods and fields calls from non-static methods
-
It seems that I can't change the summary of this issue - it should read "LCOM4 calculation" instead of "the calculation".
Maybe someone with enough permissions could fix this.
Thanks,
Andreas