PMD Results

The following document contains the results of PMD 5.6.1.

Files

universAAL Context CHE - Context History Entrepot for Mobile - org/universAAL/context/chemobile/MobileHistorySubscriber.java

Violation Line
These nested if statements could be combined 75–78

universAAL Context CHE - Context History Entrepot - org/universAAL/context/che/ContextHistoryCallee.java

Violation Line
Useless parentheses. 127
Useless parentheses. 127
Useless parentheses. 139
Useless parentheses. 152
Useless parentheses. 152
Useless parentheses. 168
Useless parentheses. 168
Useless parentheses. 185
Useless parentheses. 185
Useless parentheses. 193
Useless parentheses. 193
Avoid unused local variables such as 'o'. 226

universAAL Context CHE - Context History Entrepot - org/universAAL/context/che/Hub.java

Violation Line
These nested if statements could be combined 295–297
Unnecessary use of fully qualified name 'java.io.FileNotFoundException' due to existing import 'java.io.FileNotFoundException' 330

universAAL Context CHE - Context History Entrepot - org/universAAL/context/che/database/Backend.java

Violation Line
Avoid modifiers which are implied by the context 302
Avoid modifiers which are implied by the context 315

universAAL Context CHE - Context History Entrepot - org/universAAL/context/che/database/impl/RDF4JBackend.java

Violation Line
Avoid empty finally blocks 285–287
Avoid empty finally blocks 367–369
Avoid empty finally blocks 427–429
Avoid empty finally blocks 522–524
These nested if statements could be combined 721–723

universAAL Context CHE - Context History Entrepot - org/universAAL/context/che/database/impl/RDF4JBackendWithConfidence.java

Violation Line
Avoid empty finally blocks 185–187

universAAL Context Drools Reasoner - org/universAAL/drools/Activator.java

Violation Line
Avoid unused local variables such as 're'. 54

universAAL Context Drools Reasoner - org/universAAL/drools/DevelopingRulesUI.java

Violation Line
Avoid unused imports such as 'javax.swing.JLabel' 28
Useless parentheses. 53

universAAL Context Drools Reasoner - org/universAAL/drools/engine/RulesEngine.java

Violation Line
Avoid unused imports such as 'org.universAAL.ontology.device.Sensor' 60
Avoid unused local variables such as 'a'. 342
Avoid empty if statements 347–349
Useless parentheses. 366

universAAL Context Drools Reasoner - org/universAAL/drools/engine/Suscriber.java

Violation Line
Avoid empty if statements 60–63

universAAL Context Reliability Reasoner - org/universAAL/reliability/reasoner/ReliabilityReasonerPublisher.java

Violation Line
Avoid unused constructor parameters such as 'providerInfo'. 31

universAAL Context Situation Reasoner - org/universAAL/context/reasoner/RuleModel.java

Violation Line
These nested if statements could be combined 109–117

universAAL Context Space Server - org/universAAL/context/space/serv/SCaller.java

Violation Line
Avoid unused imports such as 'org.universAAL.ontology.profile.Profilable' 44
These nested if statements could be combined 461–463

universAAL Context rdf4j SAIL for OWL Lite - org/universAAL/context/rdf4j/sail/Collection2SailStore.java

Violation Line
Useless parentheses. 535

universAAL Context rdf4j SAIL for OWL Lite - org/universAAL/context/rdf4j/sail/CollectionSailStore.java

Violation Line
Useless parentheses. 533

universAAL Context rdf4j SAIL for OWL Lite - org/universAAL/context/rdf4j/sail/SailSourceModel.java

Violation Line
Avoid unused private methods such as 'isEmptyOrResourcePresent(Value)'. 434

universAAL Context rdf4j SAIL for OWL Lite - org/universAAL/context/rdf4j/sail/TripleStore.java

Violation Line
Avoid unused private methods such as 'getCurrentIndexSpecStr()'. 446
Avoid unused private methods such as 'checkAllCommitted()'. 969

universAAL Context rdf4j SAIL for OWL Lite - org/universAAL/context/rdf4j/sail/TxnStatusFile.java

Violation Line
Avoid modifiers which are implied by the context 21–48

universAAL Context rdf4j SAIL for OWL Lite - org/universAAL/context/rdf4j/sail/ValueStore.java

Violation Line
Avoid empty catch blocks 427–429
Avoid unused method parameters such as 'create'. 515

universAAL Context rdf4j SAIL for OWL Lite - org/universAAL/context/rdf4j/sail/crypt/Codec.java

Violation Line
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 31

universAAL Context rdf4j SAIL for OWL Lite - org/universAAL/context/rdf4j/sail/crypt/CryptUtil.java

Violation Line
Avoid unused imports such as 'java.util.Vector' 31
Avoid unused private fields such as 'tryMore'. 55

universAAL Context rdf4j SAIL for OWL Lite - org/universAAL/context/rdf4j/sail/model/NativeBNode.java

Violation Line
Ensure you override both equals() and hashCode() 65

universAAL Context rdf4j SAIL for OWL Lite - org/universAAL/context/rdf4j/sail/model/NativeIRI.java

Violation Line
Ensure you override both equals() and hashCode() 69

universAAL Context rdf4j SAIL for OWL Lite - org/universAAL/context/rdf4j/sail/model/NativeLiteral.java

Violation Line
Ensure you override both equals() and hashCode() 84

universAAL Context rdf4j SAIL for OWL Lite - org/universAAL/context/rdf4j/sail/model/NativeValue.java

Violation Line
Avoid modifiers which are implied by the context 15
Avoid modifiers which are implied by the context 20
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 36