Synopsis: | A high number of imports can indicate a high degree of coupling within an object |
Language: | Java |
Severity Level: | 3 |
Category: | Coupling |
Description: |
A high number of imports can indicate a high degree of coupling within
an object. Rule counts the number of unique imports and reports a violation
if the count is above the user defined threshold. This treshold has been set to 30.
import blah.blah.Baz; import blah.blah.Bif; // 18 others from the same package elided public class Foo { public void doWork() {} } |