PMD Results

The following document contains the results of PMD 6.8.0.

Files

org/nhindirect/dns/AbstractDNSStore.java

Violation Priority Line
Avoid empty catch blocks 3 115116

org/nhindirect/dns/DNSResponder.java

Violation Priority Line
Avoid empty catch blocks 3 154

org/nhindirect/dns/DNSServerMBean.java

Violation Priority Line
Unnecessary modifier 'public' on method 'getServerSettings': the method is declared in an interface type 3 33
Unnecessary modifier 'public' on method 'startServer': the method is declared in an interface type 3 38
Unnecessary modifier 'public' on method 'stopServer': the method is declared in an interface type 3 43
Unnecessary modifier 'public' on method 'getDNSStoreImplName': the method is declared in an interface type 3 49

org/nhindirect/dns/DNSServerSettings.java

Violation Priority Line
Do not hard code the IP address 3 33

org/nhindirect/dns/DNSSocketServer.java

Violation Priority Line
Avoid empty catch blocks 3 213
Useless parentheses. 4 239
Useless parentheses. 4 318

org/nhindirect/dns/DNSSocketServerMBean.java

Violation Priority Line
Unnecessary modifier 'public' on method 'getResourceRequestCount': the method is declared in an interface type 3 30
Unnecessary modifier 'public' on method 'getResourceRequestLoad': the method is declared in an interface type 3 36
Unnecessary modifier 'public' on method 'getUptime': the method is declared in an interface type 3 42
Unnecessary modifier 'public' on method 'getSuccessfulRequestCount': the method is declared in an interface type 3 48
Unnecessary modifier 'public' on method 'getErrorRequestCount': the method is declared in an interface type 3 54
Unnecessary modifier 'public' on method 'getMissedRequestCount': the method is declared in an interface type 3 60
Unnecessary modifier 'public' on method 'getRejectedRequestCount': the method is declared in an interface type 3 67

org/nhindirect/dns/DNSStore.java

Violation Priority Line
Unnecessary modifier 'public' on method 'get': the method is declared in an interface type 3 39

org/nhindirect/dns/ProxyDNSStore.java

Violation Priority Line
Avoid unused constructor parameters such as 'port'. 3 58
Avoid empty catch blocks 3 114117
Avoid empty catch blocks 3 127130
Avoid unused method parameters such as 'port'. 3 139

org/nhindirect/dns/RESTServiceDNSStore.java

Violation Priority Line
Avoid empty catch blocks 3 283286

org/nhindirect/dns/TCPServer.java

Violation Priority Line
Avoid empty catch blocks 3 89
Avoid empty catch blocks 3 170
Avoid empty catch blocks 3 234
Avoid empty catch blocks 3 286

org/nhindirect/dns/service/DNSServerService.java

Violation Priority Line
Avoid empty catch blocks 3 74