tushartushar / DesigniteJava

Detects smells and computes metrics of Java code
https://www.designite-tools.com/products-dj
Apache License 2.0
172 stars 64 forks source link

Unutilized Abstraction false positives #56

Open tushartushar opened 6 years ago

tushartushar commented 6 years ago

We observe some false positives with unutilized abstraction:

  1. If a class is used statically, it shouldn't be declared as unutilized
  2. If a class or interface is unutilized but has subclasses, then it is not unutilized.
AntonisGkortzis commented 6 years ago

Partially fixed. Many cases are covered by manually resolving methods.

However, more investigation is required in order to fix the cause of the problem (eclipse library fails to automatically resolve the method).