PMD Results
The following document contains the results of PMD 6.8.0.
Files
org/apache/ws/scout/model/uddi/v2/BusinessService.java
Violation |
Priority |
Line |
Useless parentheses. |
4 |
129 |
org/apache/ws/scout/registry/BulkResponseImpl.java
Violation |
Priority |
Line |
Useless parentheses. |
4 |
74 |
org/apache/ws/scout/registry/BusinessLifeCycleManagerImpl.java
Violation |
Priority |
Line |
Avoid unused imports such as 'java.util.Hashtable' |
4 |
24 |
Unnecessary use of fully qualified name 'javax.xml.registry.infomodel.Association' due to existing import 'javax.xml.registry.infomodel.Association' |
4 |
202 |
Unnecessary use of fully qualified name 'javax.xml.registry.infomodel.ClassificationScheme' due to existing import 'javax.xml.registry.infomodel.ClassificationScheme' |
4 |
205 |
Unnecessary use of fully qualified name 'javax.xml.registry.infomodel.Concept' due to existing import 'javax.xml.registry.infomodel.Concept' |
4 |
208 |
Unnecessary use of fully qualified name 'javax.xml.registry.infomodel.Organization' due to existing import 'javax.xml.registry.infomodel.Organization' |
4 |
211 |
Unnecessary use of fully qualified name 'javax.xml.registry.infomodel.Service' due to existing import 'javax.xml.registry.infomodel.Service' |
4 |
214 |
Unnecessary use of fully qualified name 'javax.xml.registry.infomodel.ServiceBinding' due to existing import 'javax.xml.registry.infomodel.ServiceBinding' |
4 |
217 |
Avoid empty catch blocks |
3 |
771–772 |
Avoid unused local variables such as 'pwd'. |
3 |
846 |
org/apache/ws/scout/registry/BusinessLifeCycleManagerV3Impl.java
Violation |
Priority |
Line |
Avoid unused imports such as 'java.util.Hashtable' |
4 |
24 |
Unnecessary use of fully qualified name 'javax.xml.registry.infomodel.Association' due to existing import 'javax.xml.registry.infomodel.Association' |
4 |
201 |
Unnecessary use of fully qualified name 'javax.xml.registry.infomodel.ClassificationScheme' due to existing import 'javax.xml.registry.infomodel.ClassificationScheme' |
4 |
204 |
Unnecessary use of fully qualified name 'javax.xml.registry.infomodel.Concept' due to existing import 'javax.xml.registry.infomodel.Concept' |
4 |
207 |
Unnecessary use of fully qualified name 'javax.xml.registry.infomodel.Organization' due to existing import 'javax.xml.registry.infomodel.Organization' |
4 |
210 |
Unnecessary use of fully qualified name 'javax.xml.registry.infomodel.Service' due to existing import 'javax.xml.registry.infomodel.Service' |
4 |
213 |
Unnecessary use of fully qualified name 'javax.xml.registry.infomodel.ServiceBinding' due to existing import 'javax.xml.registry.infomodel.ServiceBinding' |
4 |
216 |
Useless parentheses. |
4 |
782 |
Avoid unused local variables such as 'pwd'. |
3 |
872 |
org/apache/ws/scout/registry/BusinessQueryManagerImpl.java
Violation |
Priority |
Line |
Avoid using a branching statement as the last in a loop. |
2 |
511 |
Avoid using a branching statement as the last in a loop. |
2 |
759 |
Avoid unused local variables such as 'pwd'. |
3 |
1064 |
org/apache/ws/scout/registry/BusinessQueryManagerV3Impl.java
Violation |
Priority |
Line |
Avoid using a branching statement as the last in a loop. |
2 |
483 |
Avoid using a branching statement as the last in a loop. |
2 |
731 |
Avoid unused local variables such as 'pwd'. |
3 |
1050 |
org/apache/ws/scout/registry/ConnectionImpl.java
Violation |
Priority |
Line |
Useless parentheses. |
4 |
66 |
org/apache/ws/scout/registry/RegistryException.java
Violation |
Priority |
Line |
Unnecessary modifier 'final' on method 'buildMessage': private methods cannot be overridden |
3 |
283–313 |
Useless parentheses. |
4 |
307 |
Useless parentheses. |
4 |
307 |
org/apache/ws/scout/registry/RegistryImpl.java
Violation |
Priority |
Line |
Useless parentheses. |
4 |
216 |
Useless parentheses. |
4 |
218 |
Useless parentheses. |
4 |
220 |
Useless parentheses. |
4 |
222 |
Useless parentheses. |
4 |
302 |
Useless parentheses. |
4 |
335 |
An empty statement (semicolon) not part of a loop |
3 |
820 |
org/apache/ws/scout/registry/RegistryV3Exception.java
Violation |
Priority |
Line |
Unnecessary modifier 'final' on method 'buildMessage': private methods cannot be overridden |
3 |
279–309 |
Useless parentheses. |
4 |
303 |
Useless parentheses. |
4 |
303 |
org/apache/ws/scout/registry/RegistryV3Impl.java
Violation |
Priority |
Line |
Useless parentheses. |
4 |
230 |
Useless parentheses. |
4 |
232 |
Useless parentheses. |
4 |
234 |
Useless parentheses. |
4 |
236 |
Useless parentheses. |
4 |
310 |
Useless parentheses. |
4 |
344 |
These nested if statements could be combined |
3 |
1089–1091 |
org/apache/ws/scout/registry/infomodel/EmailAddressImpl.java
Violation |
Priority |
Line |
Useless parentheses. |
4 |
82 |
org/apache/ws/scout/registry/infomodel/KeyImpl.java
Violation |
Priority |
Line |
Useless parentheses. |
4 |
61 |
org/apache/ws/scout/registry/infomodel/SlotImpl.java
Violation |
Priority |
Line |
Useless parentheses. |
4 |
99 |
org/apache/ws/scout/registry/infomodel/TelephoneNumberImpl.java
Violation |
Priority |
Line |
Useless parentheses. |
4 |
111 |
org/apache/ws/scout/transport/SaajTransport.java
Violation |
Priority |
Line |
No need to import a type that lives in the same package |
3 |
27 |
These nested if statements could be combined |
3 |
184–185 |
org/apache/ws/scout/util/EnumerationHelper.java
Violation |
Priority |
Line |
Useless parentheses. |
4 |
138 |
org/apache/ws/scout/util/ScoutJaxrUddiHelper.java
Violation |
Priority |
Line |
Avoid using a branching statement as the last in a loop. |
2 |
498 |
Useless parentheses. |
4 |
808 |
org/apache/ws/scout/util/ScoutJaxrUddiV3Helper.java
Violation |
Priority |
Line |
Unnecessary use of fully qualified name 'org.uddi.api_v3.OverviewURL' due to existing import 'org.uddi.api_v3.*' |
4 |
246 |
Unnecessary use of fully qualified name 'org.uddi.api_v3.OverviewURL' due to existing import 'org.uddi.api_v3.*' |
4 |
246 |
Avoid unused local variables such as 's'. |
3 |
412 |
Avoid unused local variables such as 'sl1'. |
3 |
459 |
Avoid using a branching statement as the last in a loop. |
2 |
515 |
Avoid empty if statements |
3 |
558–562 |
Unnecessary use of fully qualified name 'org.uddi.api_v3.PersonName' due to existing import 'org.uddi.api_v3.*' |
4 |
691 |
Unnecessary use of fully qualified name 'org.uddi.api_v3.PersonName' due to existing import 'org.uddi.api_v3.*' |
4 |
691 |
Useless parentheses. |
4 |
828 |
Unnecessary use of fully qualified name 'org.uddi.api_v3.OverviewURL' due to existing import 'org.uddi.api_v3.*' |
4 |
970 |
Unnecessary use of fully qualified name 'org.uddi.api_v3.OverviewURL' due to existing import 'org.uddi.api_v3.*' |
4 |
970 |
org/apache/ws/scout/util/ScoutUddiJaxrHelper.java
Violation |
Priority |
Line |
Useless parentheses. |
4 |
118 |
Useless parentheses. |
4 |
118 |
Useless parentheses. |
4 |
129 |
Useless parentheses. |
4 |
129 |
Useless parentheses. |
4 |
214 |
Useless parentheses. |
4 |
214 |
Useless parentheses. |
4 |
225 |
Useless parentheses. |
4 |
225 |
org/apache/ws/scout/util/ScoutUddiV3JaxrHelper.java
Violation |
Priority |
Line |
Useless parentheses. |
4 |
90 |
Useless parentheses. |
4 |
90 |
Useless parentheses. |
4 |
103 |
Useless parentheses. |
4 |
103 |
Useless parentheses. |
4 |
189 |
Useless parentheses. |
4 |
189 |
Useless parentheses. |
4 |
202 |
Useless parentheses. |
4 |
202 |
Useless parentheses. |
4 |
579 |
Useless parentheses. |
4 |
579 |