PMD Results

The following document contains the results of PMD 4.1.

Files

org/apache/sirona/configuration/ioc/IoCs.java

Violation Line
Avoid empty catch blocks 258 - 260

org/apache/sirona/gauges/jvm/ActiveThreadGauge.java

Violation Line
Avoid unused imports such as 'java.lang.management.ManagementFactory' 23
Avoid unused imports such as 'java.lang.management.OperatingSystemMXBean' 24

org/apache/sirona/math/Aggregators.java

Violation Line
No need to import a type that lives in the same package 20

org/apache/sirona/repositories/DefaultRepository.java

Violation Line
Avoid empty catch blocks 93 - 95
Avoid empty catch blocks 106 - 108
Avoid empty catch blocks 112 - 114
Avoid empty catch blocks 126 - 128
Avoid empty catch blocks 149 - 151
Avoid empty catch blocks 155 - 157

org/apache/sirona/store/CollectorDataStoreFactory.java

Violation Line
Avoid unused imports such as 'org.apache.sirona.store.tracking.InMemoryPathTrackingDataStore' 23

org/apache/sirona/store/counter/InMemoryCounterDataStore.java

Violation Line
Avoid empty catch blocks 87 - 89
Avoid empty catch blocks 125 - 127

org/apache/sirona/store/gauge/DelegatedCollectorGaugeDataStore.java

Violation Line
Avoid empty catch blocks 53 - 55

org/apache/sirona/store/status/CollectorNodeStatusDataStore.java

Violation Line
Avoid unused imports such as 'java.util.Map' 21

org/apache/sirona/store/status/InMemoryCollectorNodeStatusDataStore.java

Violation Line
No need to import a type that lives in the same package 20
Avoid unused imports such as 'org.apache.sirona.store.status.NodeStatusDataStore' 21
No need to import a type that lives in the same package 21

org/apache/sirona/store/tracking/BatchPathTrackingDataStore.java

Violation Line
Avoid unused imports such as 'org.apache.sirona.tracking.PathTrackingEntry' 23
Avoid unused imports such as 'java.util.Set' 29

org/apache/sirona/store/tracking/PathTrackingDataStore.java

Violation Line
Avoid unused imports such as 'java.util.List' 24

org/apache/sirona/util/DaemonThreadFactory.java

Violation Line
Avoid using ThreadGroup; it is not thread safe 32