PMD Results
The following document contains the results of PMD 6.55.0.
Violations By Priority
Priority 1
dbus-java-osgi - org/freedesktop/dbus/utils/TimeMeasure.java
dbus-java-tests - org/freedesktop/dbus/connections/base/ReceivingServiceTest.java
dbus-java-tests - org/freedesktop/dbus/test/SignalNameTest.java
Priority 3
dbus-java-examples - com/github/hypfvieh/dbus/examples/export/ExportExample.java
Rule |
Violation |
Line |
ImmutableField |
Private field 'dbusConn' could be made final; it is only initialized in the declaration or constructor. |
18 |
ImmutableField |
Private field 'waitClose' could be made final; it is only initialized in the declaration or constructor. |
19 |
dbus-java-tests - org/freedesktop/dbus/test/BoundPropertiesTest.java
Rule |
Violation |
Line |
ImmutableField |
Private field 'propVals' could be made final; it is only initialized in the declaration or constructor. |
166 |
dbus-java-tests - org/freedesktop/dbus/utils/LoggingHelperTest.java
Rule |
Violation |
Line |
ImmutableField |
Private field 'input' could be made final; it is only initialized in the declaration or constructor. |
72 |
ImmutableField |
Private field 'expected' could be made final; it is only initialized in the declaration or constructor. |
73 |
Priority 4
dbus-java-osgi - org/freedesktop/dbus/utils/DBusNamingUtil.java
dbus-java-osgi - org/freedesktop/dbus/utils/DBusObjects.java
dbus-java-osgi - org/freedesktop/dbus/utils/LoggingHelper.java
dbus-java-tests - org/freedesktop/dbus/test/FileDescriptorsTest.java
Rule |
Violation |
Line |
OneDeclarationPerLine |
Use one line for each declaration, it enhances code readability. |
23 |
dbus-java-tests - org/freedesktop/dbus/test/VariantTest.java
Files
dbus-java-osgi - org/freedesktop/dbus/utils/DBusNamingUtil.java
dbus-java-osgi - org/freedesktop/dbus/utils/DBusObjects.java
dbus-java-osgi - org/freedesktop/dbus/utils/LoggingHelper.java
dbus-java-osgi - org/freedesktop/dbus/utils/TimeMeasure.java
dbus-java-examples - com/github/hypfvieh/dbus/examples/export/ExportExample.java
Rule |
Violation |
Priority |
Line |
ImmutableField |
Private field 'dbusConn' could be made final; it is only initialized in the declaration or constructor. |
3 |
18 |
ImmutableField |
Private field 'waitClose' could be made final; it is only initialized in the declaration or constructor. |
3 |
19 |
dbus-java-tests - org/freedesktop/dbus/connections/base/ReceivingServiceTest.java
dbus-java-tests - org/freedesktop/dbus/test/BoundPropertiesTest.java
Rule |
Violation |
Priority |
Line |
ImmutableField |
Private field 'propVals' could be made final; it is only initialized in the declaration or constructor. |
3 |
166 |
dbus-java-tests - org/freedesktop/dbus/test/FileDescriptorsTest.java
Rule |
Violation |
Priority |
Line |
OneDeclarationPerLine |
Use one line for each declaration, it enhances code readability. |
4 |
23 |
dbus-java-tests - org/freedesktop/dbus/test/SignalNameTest.java
dbus-java-tests - org/freedesktop/dbus/test/VariantTest.java
dbus-java-tests - org/freedesktop/dbus/utils/LoggingHelperTest.java
Rule |
Violation |
Priority |
Line |
ImmutableField |
Private field 'input' could be made final; it is only initialized in the declaration or constructor. |
3 |
72 |
ImmutableField |
Private field 'expected' could be made final; it is only initialized in the declaration or constructor. |
3 |
73 |
Suppressed Violations
Filename |
Rule message |
Suppression type |
Reason |
org/freedesktop/dbus/utils/NameableThreadFactory.java |
Avoid using java.lang.ThreadGroup; it is not thread safe |
nopmd |
|
org/freedesktop/dbus/test/helper/cross/CrossTestClient.java |
Linguistics Antipattern - The setter 'setCompareLists' should not return any type except void linguistically |
annotation |
|