PMD Results

The following document contains the results of PMD 4.3.

Files

WSAG4J: API - org/ogf/graap/wsag/api/security/KeystoreLoginModule.java

ViolationLine
Avoid unused private fields such as 'truststoreFile'.93
Avoid unused private fields such as 'truststorePassword'.95

WSAG4J: API - org/ogf/graap/wsag/client/api/ClientLocator.java

ViolationLine
Avoid empty catch blocks178 - 181

WSAG4J: Integration Tests - org/ogf/graap/wsag/it/AbstractIntegrationTest.java

ViolationLine
Overriding method merely calls super179 - 182

WSAG4J: REST API - org/ogf/graap/wsag/api/rest/providers/ServiceExceptionMapper.java

ViolationLine
Avoid unused private fields such as 'errorCode'.67

WSAG4J: REST API - org/ogf/graap/wsag/api/rest/providers/URIListProvider.java

ViolationLine
These nested if statements could be combined85 - 88
These nested if statements could be combined142 - 145

WSAG4J: RESTful Service Implementation - org/ogf/graap/wsag/server/rest/RestAgreementFactoryFacade.java

ViolationLine
Avoid unused private fields such as 'uriBuilder'.95

WSAG4J: RESTful Service Implementation - org/ogf/graap/wsag/server/rest/RestNegotiationFacade.java

ViolationLine
Avoid unused private fields such as 'factoryId'.64

WSAG4J: Samples - org/ogf/graap/wsag/samples/actions/SampleAgreement.java

ViolationLine
These nested if statements could be combined88 - 91

WSAG4J: Samples - org/ogf/graap/wsag/samples/SampleAgreement.java

ViolationLine
These nested if statements could be combined97 - 100

WSAG4J: Samples - org/ogf/graap/wsag/samples/SampleMonitoredAgreement.java

ViolationLine
These nested if statements could be combined88 - 91

WSAG4J: Samples - org/ogf/graap/wsag/samples/site/ExampleAgreement.java

ViolationLine
These nested if statements could be combined93 - 96

WSAG4J: Server - org/ogf/graap/wsag/server/engine/GenericNegotiation.java

ViolationLine
These nested if statements could be combined372 - 378

WSAG4J: Server - org/ogf/graap/wsag/server/monitoring/MonitorableAgreement.java

ViolationLine
Avoid unused constructor parameters such as 'persistentAgreementContainer'.211 - 215

WSAG4J: Server - org/ogf/graap/wsag/server/persistence/impl/DatabasePersistentAgreement.java

ViolationLine
Avoid unused method parameters such as 'pContext'.470 - 505

WSAG4J: WSRF Client Implementation - org/ogf/graap/wsag/client/wsrf/impl/Axis2SoapClient.java

ViolationLine
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.510

WSAG4J: WSRF Client Implementation - org/ogf/graap/wsag/client/wsrf/security/Merlin.java

ViolationLine
Avoid unused constructor parameters such as 'loader'.95 - 99
Avoid unused constructor parameters such as 'properties'.95 - 99

WSAG4J: WSRF-Stack Integration - org/ogf/graap/wsag/wsrf/bootstrap/Bootstrap.java

ViolationLine
These nested if statements could be combined572 - 576

WSAG4J: WSRF-Stack Integration - org/ogf/graap/wsag/wsrf/faults/AbstractAgreementFault.java

ViolationLine
Avoid empty catch blocks184 - 187

WSAG4J: WSRF-Stack Integration - org/ogf/graap/wsag/wsrf/security/Merlin.java

ViolationLine
Avoid using java.lang.ThreadGroup; it is not thread safe205