Apache Commons RDF logo

PMD Results

The following document contains the results of PMD 6.0.1.

Files

Commons RDF API - org/apache/commons/rdf/api/RDFSyntax.java

Violation Line
Avoid modifiers which are implied by the context 48
Avoid modifiers which are implied by the context 57
Avoid modifiers which are implied by the context 65
Avoid modifiers which are implied by the context 73
Avoid modifiers which are implied by the context 83
Avoid modifiers which are implied by the context 91
Avoid modifiers which are implied by the context 99

Commons RDF impl: Jena - org/apache/commons/rdf/jena/JenaGraph.java

Violation Line
Avoid modifiers which are implied by the context 41
Avoid modifiers which are implied by the context 55

Commons RDF impl: Jena - org/apache/commons/rdf/jena/JenaQuadLike.java

Violation Line
Avoid modifiers which are implied by the context 42

Commons RDF impl: Jena - org/apache/commons/rdf/jena/JenaRDFTerm.java

Violation Line
Avoid modifiers which are implied by the context 34

Commons RDF impl: Jena - org/apache/commons/rdf/jena/JenaTripleLike.java

Violation Line
Unnecessary use of fully qualified name 'org.apache.commons.rdf.api.TripleLike' due to existing import 'org.apache.commons.rdf.api.TripleLike' 37

Commons RDF impl: Jena - org/apache/commons/rdf/jena/impl/AbstractQuadLike.java

Violation Line
Unnecessary use of fully qualified name 'org.apache.jena.sparql.core.Quad' due to existing import 'org.apache.jena.sparql.core.Quad' 108
Unnecessary use of fully qualified name 'org.apache.jena.graph.Triple' due to existing import 'org.apache.jena.graph.Triple' 109
Unnecessary use of fully qualified name 'org.apache.jena.sparql.core.Quad' due to existing import 'org.apache.jena.sparql.core.Quad' 125
Unnecessary use of fully qualified name 'org.apache.jena.graph.Triple' due to existing import 'org.apache.jena.graph.Triple' 138
Unnecessary use of fully qualified name 'org.apache.jena.sparql.core.Quad' due to existing import 'org.apache.jena.sparql.core.Quad' 147
Unnecessary use of fully qualified name 'org.apache.jena.sparql.core.Quad.create' due to existing import 'org.apache.jena.sparql.core.Quad' 150
Unnecessary use of fully qualified name 'org.apache.jena.graph.Triple' due to existing import 'org.apache.jena.graph.Triple' 160
Unnecessary use of fully qualified name 'org.apache.jena.graph.Triple.create' due to existing import 'org.apache.jena.graph.Triple' 163

Commons RDF impl: Jena - org/apache/commons/rdf/jena/impl/InternalJenaFactory.java

Violation Line
Avoid empty if statements 152155
Avoid empty if statements 156159

Commons RDF impl: Jena - org/apache/commons/rdf/jena/impl/JenaGraphImpl.java

Violation Line
Useless parentheses. 110
Double checked locking is not thread safe in Java. 156168

Commons RDF impl: Jena - org/apache/commons/rdf/jena/impl/JenaQuadImpl.java

Violation Line
Useless parentheses. 41

Commons RDF impl: JSON-LD Java - org/apache/commons/rdf/jsonldjava/JsonLdDataset.java

Violation Line
Unnecessary use of fully qualified name 'org.apache.commons.rdf.api.Quad' due to existing import 'org.apache.commons.rdf.api.Quad' 35
Unnecessary use of fully qualified name 'org.apache.commons.rdf.api.Quad' due to existing import 'org.apache.commons.rdf.api.Quad' 38
Unnecessary use of fully qualified name 'com.github.jsonldjava.core.RDFDataset.Quad' due to existing import 'com.github.jsonldjava.core.RDFDataset' 107

Commons RDF impl: JSON-LD Java - org/apache/commons/rdf/jsonldjava/JsonLdGraph.java

Violation Line
Unnecessary use of fully qualified name 'com.github.jsonldjava.core.RDFDataset.Quad' due to existing import 'com.github.jsonldjava.core.RDFDataset' 109

Commons RDF impl: JSON-LD Java - org/apache/commons/rdf/jsonldjava/JsonLdGraphLike.java

Violation Line
Avoid modifiers which are implied by the context 58

Commons RDF impl: JSON-LD Java - org/apache/commons/rdf/jsonldjava/JsonLdTripleLike.java

Violation Line
Avoid modifiers which are implied by the context 30

Commons RDF impl: JSON-LD Java - org/apache/commons/rdf/jsonldjava/JsonLdUnionGraph.java

Violation Line
Unnecessary use of fully qualified name 'org.apache.commons.rdf.api.Triple' due to existing import 'org.apache.commons.rdf.api.Triple' 47
Unnecessary use of fully qualified name 'org.apache.commons.rdf.api.Triple' due to existing import 'org.apache.commons.rdf.api.Triple' 50
Unnecessary use of fully qualified name 'com.github.jsonldjava.core.RDFDataset.Quad' due to existing import 'com.github.jsonldjava.core.RDFDataset' 103

Commons RDF impl: RDF4j - org/apache/commons/rdf/rdf4j/package-info.java

Violation Line
Avoid unused imports such as 'org.apache.commons.rdf.api.Dataset' 49
Avoid unused imports such as 'org.apache.commons.rdf.api.Graph' 50

Commons RDF impl: Simple - org/apache/commons/rdf/simple/GraphImpl.java

Violation Line
Avoid unused imports such as 'org.apache.commons.rdf.api' 20

Commons RDF impl: Simple - org/apache/commons/rdf/simple/SimpleRDF.java

Violation Line
Avoid modifiers which are implied by the context 5051

Commons RDF impl: Simple - org/apache/commons/rdf/simple/experimental/AbstractRDFParser.java

Violation Line
Avoid using java.lang.ThreadGroup; it is not thread safe 61