PMD Results

The following document contains the results of PMD 6.55.0.

Violations By Priority

Priority 1

org/freedesktop/dbus/connections/base/ReceivingServiceTest.java
Rule Violation Line
FormalParameterNamingConventions The lambda parameter name '_ex' doesn't match '[a-z][a-zA-Z0-9]*' 92
FormalParameterNamingConventions The lambda parameter name '_executor' doesn't match '[a-z][a-zA-Z0-9]*' 92
FormalParameterNamingConventions The lambda parameter name '_ex' doesn't match '[a-z][a-zA-Z0-9]*' 137
FormalParameterNamingConventions The lambda parameter name '_executor' doesn't match '[a-z][a-zA-Z0-9]*' 137
org/freedesktop/dbus/test/SignalNameTest.java
Rule Violation Line
FormalParameterNamingConventions The lambda parameter name '_s' doesn't match '[a-z][a-zA-Z0-9]*' 48

Priority 3

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
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

org/freedesktop/dbus/test/FileDescriptorsTest.java
Rule Violation Line
OneDeclarationPerLine Use one line for each declaration, it enhances code readability. 23
org/freedesktop/dbus/test/VariantTest.java
Rule Violation Line
UselessParentheses Useless parentheses. 134

Files

org/freedesktop/dbus/connections/base/ReceivingServiceTest.java

Rule Violation Priority Line
FormalParameterNamingConventions The lambda parameter name '_ex' doesn't match '[a-z][a-zA-Z0-9]*' 1 92
FormalParameterNamingConventions The lambda parameter name '_executor' doesn't match '[a-z][a-zA-Z0-9]*' 1 92
FormalParameterNamingConventions The lambda parameter name '_ex' doesn't match '[a-z][a-zA-Z0-9]*' 1 137
FormalParameterNamingConventions The lambda parameter name '_executor' doesn't match '[a-z][a-zA-Z0-9]*' 1 137

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

org/freedesktop/dbus/test/FileDescriptorsTest.java

Rule Violation Priority Line
OneDeclarationPerLine Use one line for each declaration, it enhances code readability. 4 23

org/freedesktop/dbus/test/SignalNameTest.java

Rule Violation Priority Line
FormalParameterNamingConventions The lambda parameter name '_s' doesn't match '[a-z][a-zA-Z0-9]*' 1 48

org/freedesktop/dbus/test/VariantTest.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 134

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/test/helper/cross/CrossTestClient.java Linguistics Antipattern - The setter 'setCompareLists' should not return any type except void linguistically annotation