PMD Results

The following document contains the results of PMD 5.6.1.

Files

org/codehaus/plexus/DefaultPlexusContainer.java

Violation Line
Avoid empty catch blocks 297299
Avoid empty catch blocks 309311
Unnecessary use of fully qualified name 'PlexusConstants.PLEXUS_DEFAULT_HINT' due to existing static import 'org.codehaus.plexus.PlexusConstants.PLEXUS_DEFAULT_HINT' 583
Overriding method merely calls super 757760
Useless parentheses. 861

org/codehaus/plexus/component/builder/XBeanComponentBuilder.java

Violation Line
Avoid empty catch blocks 272273
Avoid empty catch blocks 320321
Avoid unused local variables such as 'keyType'. 349

org/codehaus/plexus/component/collections/AbstractComponentCollection.java

Violation Line
Useless parentheses. 91
Useless parentheses. 92
Useless parentheses. 92

org/codehaus/plexus/component/collections/ComponentList.java

Violation Line
Useless parentheses. 194

org/codehaus/plexus/component/collections/ComponentMap.java

Violation Line
These nested if statements could be combined 135138
Useless parentheses. 158

org/codehaus/plexus/component/composition/CompositionResolver.java

Violation Line
Avoid modifiers which are implied by the context 30

org/codehaus/plexus/component/configurator/converters/AbstractConfigurationConverter.java

Violation Line
These nested if statements could be combined 157162

org/codehaus/plexus/component/factory/AbstractComponentFactory.java

Violation Line
Avoid unused private fields such as 'id'. 35

org/codehaus/plexus/component/factory/ComponentFactory.java

Violation Line
Avoid modifiers which are implied by the context 33

org/codehaus/plexus/component/factory/java/JavaComponentFactory.java

Violation Line
Avoid unused method parameters such as 'implementationClass'. 95

org/codehaus/plexus/component/repository/ComponentDescriptor.java

Violation Line
Useless parentheses. 245

org/codehaus/plexus/component/repository/DefaultComponentRepository.java

Violation Line
These nested if statements could be combined 152155

org/codehaus/plexus/component/repository/io/PlexusTools.java

Violation Line
Useless parentheses. 265

org/codehaus/plexus/configuration/DefaultPlexusConfiguration.java

Violation Line
Useless parentheses. 161

org/codehaus/plexus/configuration/PlexusComponentDescriptorMerger.java

Violation Line
Avoid empty catch blocks 7072
Avoid empty catch blocks 7375
These nested if statements could be combined 115119

org/codehaus/plexus/configuration/io/PlexusConfigurationReader.java

Violation Line
Avoid modifiers which are implied by the context 1214
Avoid modifiers which are implied by the context 1618

org/codehaus/plexus/context/Context.java

Violation Line
Avoid modifiers which are implied by the context 5960

org/codehaus/plexus/lifecycle/phase/Phase.java

Violation Line
Avoid modifiers which are implied by the context 2627

org/codehaus/plexus/logging/console/ConsoleLoggerManager.java

Violation Line
Avoid unused private fields such as 'loggerCount'. 62
Avoid unused private fields such as 'bootTimeLogger'. 64
Avoid unused private methods such as 'decodeLogLevel(int)'. 227
Avoid unused method parameters such as 'msg'. 245

org/codehaus/plexus/personality/plexus/lifecycle/phase/Contextualizable.java

Violation Line
Avoid modifiers which are implied by the context 2829

org/codehaus/plexus/personality/plexus/lifecycle/phase/Disposable.java

Violation Line
Avoid modifiers which are implied by the context 28

org/codehaus/plexus/personality/plexus/lifecycle/phase/Initializable.java

Violation Line
Avoid modifiers which are implied by the context 2829