PMD Results

The following document contains the results of PMD 5.6.1.

Files

de/tud/plt/r43ples/R43plesService.java

Violation Line
Avoid empty while statements 93

de/tud/plt/r43ples/core/BranchCommitDraft.java

Violation Line
Avoid unused private fields such as 'patternModifier'. 26

de/tud/plt/r43ples/core/BranchDraft.java

Violation Line
Avoid unused local variables such as 'fullGraph'. 50

de/tud/plt/r43ples/core/ChangeSetDraft.java

Violation Line
Avoid unused private fields such as 'newRevisionIdentifier'. 28

de/tud/plt/r43ples/core/CoEvolutionDraft.java

Violation Line
Avoid unused private fields such as 'ep'. 68
Useless parentheses. 112
Useless parentheses. 112
Useless parentheses. 116
Useless parentheses. 116

de/tud/plt/r43ples/core/FastForwardMergeCommitDraft.java

Violation Line
Avoid unused private fields such as 'logger'. 20

de/tud/plt/r43ples/core/InitialCommitDraft.java

Violation Line
Avoid unused private fields such as 'logger'. 27
Avoid unused private fields such as 'isCreatedWithRequest'. 35

de/tud/plt/r43ples/core/MergeCommitDraft.java

Violation Line
Avoid unused imports such as 'de.tud.plt.r43ples.triplestoreInterface.TripleStoreInterfaceSingleton' 11
Avoid unused private fields such as 'isCreatedWithRequest'. 53

de/tud/plt/r43ples/core/PickCommitDraft.java

Violation Line
Avoid unused private fields such as 'isCreatedWithRequest'. 48
Useless parentheses. 163
Useless parentheses. 163

de/tud/plt/r43ples/core/R43plesCore.java

Violation Line
Avoid unused private fields such as 'logger'. 27

de/tud/plt/r43ples/core/R43plesCoreSingleton.java

Violation Line
Avoid unused private fields such as 'logger'. 14

de/tud/plt/r43ples/core/ReferenceCommitDraft.java

Violation Line
Avoid unused private fields such as 'logger'. 23

de/tud/plt/r43ples/core/ReferenceDraft.java

Violation Line
Avoid unused private fields such as 'logger'. 20

de/tud/plt/r43ples/core/RevertCommitDraft.java

Violation Line
Avoid unused private fields such as 'logger'. 23

de/tud/plt/r43ples/core/RevisionDraft.java

Violation Line
Useless parentheses. 215
Useless parentheses. 215
Avoid unused local variables such as 'otherGraph'. 261
Useless parentheses. 263
Useless parentheses. 263
Useless parentheses. 263

de/tud/plt/r43ples/core/SelectConstructAskQuery.java

Violation Line
Avoid unused private fields such as 'logger'. 24

de/tud/plt/r43ples/core/TagCommitDraft.java

Violation Line
Avoid unused private fields such as 'patternModifier'. 27

de/tud/plt/r43ples/core/TagDraft.java

Violation Line
Avoid unused local variables such as 'fullGraph'. 48

de/tud/plt/r43ples/core/ThreeWayMergeCommitDraft.java

Violation Line
Useless parentheses. 97
Useless parentheses. 97
Useless parentheses. 102
Useless parentheses. 102
Useless parentheses. 107
Useless parentheses. 112
An empty statement (semicolon) not part of a loop 149
Avoid unused method parameters such as 'usedSourceRevision'. 203
Useless parentheses. 281
Useless parentheses. 399
Useless parentheses. 399
Useless parentheses. 458
Useless parentheses. 458

de/tud/plt/r43ples/core/UpdateCommitDraft.java

Violation Line
Avoid unused local variables such as 'tempGraphName'. 178

de/tud/plt/r43ples/dataset/SampleDataSet.java

Violation Line
Avoid unused local variables such as 'revision0'. 296
Avoid unused local variables such as 'revisionB1_0'. 317
Avoid unused local variables such as 'revisionB2_0'. 323
Avoid unused local variables such as 'revisionB1_1'. 328
Avoid unused local variables such as 'revisionB2_1'. 333
Avoid unused local variables such as 'revisionB2_2'. 338
Avoid unused local variables such as 'revision0'. 368
Avoid unused local variables such as 'revisionB1_0'. 398
Avoid unused local variables such as 'revisionB2_0'. 406
Avoid unused local variables such as 'revision0'. 446
Avoid unused local variables such as 'revisionB1_0'. 468
Avoid unused local variables such as 'revisionB2_0'. 475
Avoid unused local variables such as 'revisionB1_1'. 481
Avoid unused local variables such as 'revisionB2_1'. 486
Avoid unused local variables such as 'b1Commit'. 550
Avoid unused local variables such as 'b2Commit'. 552
Avoid unused local variables such as 'b1XCommit'. 571
Avoid unused local variables such as 'b2XCommit'. 607
Avoid unused local variables such as 'tagCommit'. 617

de/tud/plt/r43ples/exception/OutdatedException.java

Violation Line
Avoid unused private fields such as 'clientModel'. 10
Avoid unused private fields such as 'serverModel'. 11

de/tud/plt/r43ples/existentobjects/Branch.java

Violation Line
Avoid unused private fields such as 'logger'. 15

de/tud/plt/r43ples/existentobjects/BranchCommit.java

Violation Line
Avoid unused private fields such as 'logger'. 15

de/tud/plt/r43ples/existentobjects/FastForwardMergeCommit.java

Violation Line
Avoid unused private fields such as 'logger'. 15

de/tud/plt/r43ples/existentobjects/InitialCommit.java

Violation Line
Avoid unused private fields such as 'logger'. 15

de/tud/plt/r43ples/existentobjects/MergeCommit.java

Violation Line
Avoid unused private fields such as 'logger'. 15

de/tud/plt/r43ples/existentobjects/Path.java

Violation Line
Avoid unused private fields such as 'logger'. 16
Avoid unused private fields such as 'startRevision'. 19
Avoid unused private fields such as 'targetRevision'. 21
Avoid unused private fields such as 'revisionGraphURI'. 26

de/tud/plt/r43ples/existentobjects/PickCommit.java

Violation Line
Avoid unused private fields such as 'logger'. 17

de/tud/plt/r43ples/existentobjects/ReferenceCommit.java

Violation Line
Avoid unused private fields such as 'logger'. 15

de/tud/plt/r43ples/existentobjects/RevertCommit.java

Violation Line
Avoid unused private fields such as 'logger'. 15

de/tud/plt/r43ples/existentobjects/Revision.java

Violation Line
Avoid unused imports such as 'de.tud.plt.r43ples.iohelper.JenaModelManagement' 6
Useless parentheses. 244
Useless parentheses. 244

de/tud/plt/r43ples/existentobjects/RevisionControl.java

Violation Line
Avoid unused private fields such as 'logger'. 20

de/tud/plt/r43ples/existentobjects/RevisionGraph.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 205

de/tud/plt/r43ples/existentobjects/Tag.java

Violation Line
Avoid unused private fields such as 'logger'. 15

de/tud/plt/r43ples/existentobjects/TagCommit.java

Violation Line
Avoid unused private fields such as 'logger'. 15

de/tud/plt/r43ples/existentobjects/ThreeWayMergeCommit.java

Violation Line
Avoid unused private fields such as 'logger'. 15

de/tud/plt/r43ples/existentobjects/UpdateCommit.java

Violation Line
Avoid unused private fields such as 'logger'. 15

de/tud/plt/r43ples/iohelper/Helper.java

Violation Line
Avoid unused imports such as 'org.apache.jena.update.UpdateFactory' 19
Avoid unused local variables such as 'test'. 116
Useless parentheses. 396
Useless parentheses. 396
These nested if statements could be combined 401403

de/tud/plt/r43ples/optimization/ChangeSetPath.java

Violation Line
Avoid unused private fields such as 'logger'. 20
Avoid unused private fields such as 'revisionGraph'. 38

de/tud/plt/r43ples/revisionTree/Reference.java

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

de/tud/plt/r43ples/triplestoreInterface/VirtuosoInterface.java

Violation Line
Avoid unused imports such as 'org.apache.jena.query.Query' 3
Avoid unused imports such as 'org.apache.jena.query.QueryFactory' 4
Avoid unused private fields such as 'logger'. 27
Avoid unused private fields such as 'set'. 29
Avoid unused constructor parameters such as 'virtuoso_url'. 31
Avoid unused constructor parameters such as 'virtuoso_user'. 31
Avoid unused constructor parameters such as 'virtuoso_password'. 31

de/tud/plt/r43ples/visualisation/CommitGraphView.java

Violation Line
Useless parentheses. 198

de/tud/plt/r43ples/webservice/API.java

Violation Line
Avoid unused local variables such as 'graph'. 93