PMD Results

The following document contains the results of PMD 6.38.0.

Violations By Priority

Priority 3

Maven Artifact - org/apache/maven/artifact/versioning/VersionRange.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 135138
CollapsibleIfStatements These nested if statements could be combined 153156
CollapsibleIfStatements These nested if statements could be combined 559562

Maven Compat - org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

Rule Violation Line
EmptyIfStmt Avoid empty if statements 115117

Maven Compat - org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

Rule Violation Line
EmptyIfStmt Avoid empty if statements 9698

Maven Compat - org/apache/maven/artifact/repository/DefaultArtifactRepository.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'uniqueVersion'. 79

Maven Compat - org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 141153
CollapsibleIfStatements These nested if statements could be combined 441453

Maven Compat - org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

Rule Violation Line
AvoidThreadGroup Avoid using java.lang.ThreadGroup; it is not thread safe 577

Maven Compat - org/apache/maven/artifact/resolver/WarningResolutionListener.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'logger'. 34

Maven Compat - org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 210213
CollapsibleIfStatements These nested if statements could be combined 590607
CollapsibleIfStatements These nested if statements could be combined 612616
CollapsibleIfStatements These nested if statements could be combined 621626
EmptyIfStmt Avoid empty if statements 710714

Maven Compat - org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'envars'. 50

Maven Compat - org/apache/maven/project/path/DefaultPathTranslator.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 168171

Maven Compat - org/apache/maven/repository/DefaultMirrorSelector.java

Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address 163

Maven Compat - org/apache/maven/repository/MetadataResolutionResult.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'dirtyTree'. 66
UnusedPrivateField Avoid unused private fields such as 'resolvedGraph'. 70

Maven Compat - org/apache/maven/repository/legacy/DefaultWagonManager.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'protocol'. 803

Maven Compat - org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 183191

Maven Compat - org/apache/maven/repository/metadata/ArtifactMetadata.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'af'. 149

Maven Compat - org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

Rule Violation Line
EmptyIfStmt Avoid empty if statements 110116
UnusedFormalParameter Avoid unused method parameters such as 'v'. 207

Maven Compat - org/apache/maven/repository/metadata/MetadataGraph.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'nVertices'. 244

Maven Compat - org/apache/maven/repository/metadata/MetadataGraphEdge.java

Rule Violation Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 85

Maven Core - org/apache/maven/DefaultMaven.java

Rule Violation Line
ReturnFromFinallyBlock Avoid returning from a finally block 317
UnusedFormalParameter Avoid unused method parameters such as 'result'. 540

Maven Core - org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 60
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 75

Maven Core - org/apache/maven/bridge/MavenRepositorySystem.java

Rule Violation Line
AvoidUsingHardCodedIP Do not hard code the IP address 836

Maven Core - org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

Rule Violation Line
EmptyIfStmt Avoid empty if statements 5355

Maven Core - org/apache/maven/execution/MavenSession.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'eventDispatcher'. 337

Maven Core - org/apache/maven/execution/SettingsAdapter.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'runtimeInfo'. 48

Maven Core - org/apache/maven/lifecycle/LifecycleExecutionException.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'execution'. 57
UnusedFormalParameter Avoid unused constructor parameters such as 'execution'. 63

Maven Core - org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'pluginVersionResolver'. 75

Maven Core - org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'projectExecutionListeners'. 67

Maven Core - org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

Rule Violation Line
EmptyIfStmt Avoid empty if statements 165167

Maven Core - org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'muxer'. 191

Maven Core - org/apache/maven/plugin/CycleDetectedInPluginGraphException.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'e'. 35

Maven Core - org/apache/maven/plugin/DefaultBuildPluginManager.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'mojoExecutionListeners'. 64

Maven Core - org/apache/maven/plugin/PluginConfigurationException.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'pluginDescriptor'. 33
UnusedPrivateField Avoid unused private fields such as 'originalMessage'. 35

Maven Core - org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'logger'. 90
UnusedFormalParameter Avoid unused constructor parameters such as 'pathTranslator'. 90
UnusedFormalParameter Avoid unused constructor parameters such as 'project'. 90
UnusedFormalParameter Avoid unused constructor parameters such as 'properties'. 91
EmptyIfStmt Avoid empty if statements 468470

Maven Core - org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 113120

Maven Core - org/apache/maven/project/DefaultProjectBuildingHelper.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'container'. 72

Maven Core - org/apache/maven/project/MavenProject.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 366370
CollapsibleIfStatements These nested if statements could be combined 15771580
CollapsibleIfStatements These nested if statements could be combined 16021606
CollapsibleIfStatements These nested if statements could be combined 17561759
CollapsibleIfStatements These nested if statements could be combined 17761779

Maven Core - org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'request'. 158

Maven Core - org/apache/maven/toolchain/io/DefaultToolchainsReader.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 64
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 80

Maven Core - org/apache/maven/toolchain/io/DefaultToolchainsWriter.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 49

Maven Core - org/apache/maven/toolchain/java/DefaultJavaToolChain.java

Rule Violation Line
UselessOverridingMethod Overriding method merely calls super 4447
UselessOverridingMethod Overriding method merely calls super 5053

Maven Embedder - org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as 'settingsDecrypter'. 80

Maven Embedder - org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'event'. 156

Maven Model Builder - org/apache/maven/model/io/DefaultModelReader.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 71
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 83

Maven Model Builder - org/apache/maven/model/io/DefaultModelWriter.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 67
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 87

Maven Model Builder - org/apache/maven/model/merge/MavenModelMerger.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 8589

Maven Model Builder - org/apache/maven/model/validation/DefaultModelValidator.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'request'. 231
UnusedFormalParameter Avoid unused method parameters such as 'request'. 555
UnusedFormalParameter Avoid unused method parameters such as 'request'. 620

Maven Model - org/apache/maven/model/merge/ModelMerger.java

Rule Violation Line
CollapsibleIfStatements These nested if statements could be combined 162166
CollapsibleIfStatements These nested if statements could be combined 192196
CollapsibleIfStatements These nested if statements could be combined 206210
CollapsibleIfStatements These nested if statements could be combined 220225
CollapsibleIfStatements These nested if statements could be combined 235239
CollapsibleIfStatements These nested if statements could be combined 249253
CollapsibleIfStatements These nested if statements could be combined 262266
CollapsibleIfStatements These nested if statements could be combined 276280
CollapsibleIfStatements These nested if statements could be combined 289293
CollapsibleIfStatements These nested if statements could be combined 303307
CollapsibleIfStatements These nested if statements could be combined 624628
CollapsibleIfStatements These nested if statements could be combined 639643
CollapsibleIfStatements These nested if statements could be combined 662666
CollapsibleIfStatements These nested if statements could be combined 676680
CollapsibleIfStatements These nested if statements could be combined 690694
CollapsibleIfStatements These nested if statements could be combined 704708
CollapsibleIfStatements These nested if statements could be combined 743748
CollapsibleIfStatements These nested if statements could be combined 757761
CollapsibleIfStatements These nested if statements could be combined 770774
CollapsibleIfStatements These nested if statements could be combined 783787
CollapsibleIfStatements These nested if statements could be combined 846850
CollapsibleIfStatements These nested if statements could be combined 860864
CollapsibleIfStatements These nested if statements could be combined 874878
CollapsibleIfStatements These nested if statements could be combined 888892
CollapsibleIfStatements These nested if statements could be combined 910914
CollapsibleIfStatements These nested if statements could be combined 924928
CollapsibleIfStatements These nested if statements could be combined 938942
CollapsibleIfStatements These nested if statements could be combined 966970
CollapsibleIfStatements These nested if statements could be combined 980984
CollapsibleIfStatements These nested if statements could be combined 994998
CollapsibleIfStatements These nested if statements could be combined 10081012
CollapsibleIfStatements These nested if statements could be combined 10221026
CollapsibleIfStatements These nested if statements could be combined 10361040
CollapsibleIfStatements These nested if statements could be combined 10501054
CollapsibleIfStatements These nested if statements could be combined 10641068
CollapsibleIfStatements These nested if statements could be combined 10921096
CollapsibleIfStatements These nested if statements could be combined 11061110
CollapsibleIfStatements These nested if statements could be combined 11281132
CollapsibleIfStatements These nested if statements could be combined 11421146
CollapsibleIfStatements These nested if statements could be combined 11731177
CollapsibleIfStatements These nested if statements could be combined 11871191
CollapsibleIfStatements These nested if statements could be combined 12011205
CollapsibleIfStatements These nested if statements could be combined 12301234
CollapsibleIfStatements These nested if statements could be combined 12971301
CollapsibleIfStatements These nested if statements could be combined 13111315
CollapsibleIfStatements These nested if statements could be combined 13251329
CollapsibleIfStatements These nested if statements could be combined 13391343
CollapsibleIfStatements These nested if statements could be combined 13601364
CollapsibleIfStatements These nested if statements could be combined 13741378
CollapsibleIfStatements These nested if statements could be combined 13961400
CollapsibleIfStatements These nested if statements could be combined 14101414
CollapsibleIfStatements These nested if statements could be combined 14241428
CollapsibleIfStatements These nested if statements could be combined 14381442
CollapsibleIfStatements These nested if statements could be combined 14621466
CollapsibleIfStatements These nested if statements could be combined 14761480
CollapsibleIfStatements These nested if statements could be combined 14901494
CollapsibleIfStatements These nested if statements could be combined 15041508
CollapsibleIfStatements These nested if statements could be combined 15181522
CollapsibleIfStatements These nested if statements could be combined 15531557
CollapsibleIfStatements These nested if statements could be combined 15801584
CollapsibleIfStatements These nested if statements could be combined 15941598
CollapsibleIfStatements These nested if statements could be combined 16081612
CollapsibleIfStatements These nested if statements could be combined 16221626
CollapsibleIfStatements These nested if statements could be combined 16361640
CollapsibleIfStatements These nested if statements could be combined 16501654
CollapsibleIfStatements These nested if statements could be combined 17041708
CollapsibleIfStatements These nested if statements could be combined 17181722
CollapsibleIfStatements These nested if statements could be combined 17431748
CollapsibleIfStatements These nested if statements could be combined 17591764
CollapsibleIfStatements These nested if statements could be combined 17741779
CollapsibleIfStatements These nested if statements could be combined 17881792
CollapsibleIfStatements These nested if statements could be combined 18011805
CollapsibleIfStatements These nested if statements could be combined 18151819
CollapsibleIfStatements These nested if statements could be combined 18281832
CollapsibleIfStatements These nested if statements could be combined 18501854
CollapsibleIfStatements These nested if statements could be combined 18641868
CollapsibleIfStatements These nested if statements could be combined 18971900
CollapsibleIfStatements These nested if statements could be combined 19101913
CollapsibleIfStatements These nested if statements could be combined 19821986
CollapsibleIfStatements These nested if statements could be combined 20072011
CollapsibleIfStatements These nested if statements could be combined 20212025
CollapsibleIfStatements These nested if statements could be combined 20352039
CollapsibleIfStatements These nested if statements could be combined 20492053
CollapsibleIfStatements These nested if statements could be combined 20632067
CollapsibleIfStatements These nested if statements could be combined 20922096
CollapsibleIfStatements These nested if statements could be combined 21062110
CollapsibleIfStatements These nested if statements could be combined 21202124
CollapsibleIfStatements These nested if statements could be combined 21462150
CollapsibleIfStatements These nested if statements could be combined 21602164
CollapsibleIfStatements These nested if statements could be combined 21742178
CollapsibleIfStatements These nested if statements could be combined 22692273
CollapsibleIfStatements These nested if statements could be combined 22832287
CollapsibleIfStatements These nested if statements could be combined 22972301
CollapsibleIfStatements These nested if statements could be combined 23112315
CollapsibleIfStatements These nested if statements could be combined 23462350
CollapsibleIfStatements These nested if statements could be combined 23892393
CollapsibleIfStatements These nested if statements could be combined 24032407
CollapsibleIfStatements These nested if statements could be combined 24402444
CollapsibleIfStatements These nested if statements could be combined 24542458
CollapsibleIfStatements These nested if statements could be combined 24682471
CollapsibleIfStatements These nested if statements could be combined 24872491

Maven Artifact Resolver Provider - org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 251

Maven Artifact Resolver Provider - org/apache/maven/repository/internal/DefaultVersionResolver.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 313

Maven Artifact Resolver Provider - org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

Rule Violation Line
UnusedFormalParameter Avoid unused constructor parameters such as 'request'. 48

Maven Settings Builder - org/apache/maven/settings/building/DefaultSettingsBuilder.java

Rule Violation Line
UnusedFormalParameter Avoid unused method parameters such as 'request'. 164

Maven Settings Builder - org/apache/maven/settings/io/DefaultSettingsReader.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 65
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 81

Maven Settings Builder - org/apache/maven/settings/io/DefaultSettingsWriter.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 67
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 87

Priority 4

Maven Artifact - org/apache/maven/artifact/DefaultArtifact.java

Rule Violation Line
UselessParentheses Useless parentheses. 146
UselessParentheses Useless parentheses. 146
UselessParentheses Useless parentheses. 155
UselessParentheses Useless parentheses. 155
UselessParentheses Useless parentheses. 374
UselessParentheses Useless parentheses. 374
UselessParentheses Useless parentheses. 492
UselessParentheses Useless parentheses. 492

Maven Artifact - org/apache/maven/artifact/versioning/ComparableVersion.java

Rule Violation Line
UselessParentheses Useless parentheses. 138
UselessParentheses Useless parentheses. 138
UselessParentheses Useless parentheses. 224
UselessParentheses Useless parentheses. 224
UselessParentheses Useless parentheses. 410
UselessParentheses Useless parentheses. 430
UselessParentheses Useless parentheses. 506
UselessParentheses Useless parentheses. 567
UselessParentheses Useless parentheses. 590
UselessParentheses Useless parentheses. 795
UselessParentheses Useless parentheses. 840
UselessParentheses Useless parentheses. 840

Maven Artifact - org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

Rule Violation Line
UselessParentheses Useless parentheses. 145
UselessParentheses Useless parentheses. 215

Maven Artifact - org/apache/maven/artifact/versioning/Restriction.java

Rule Violation Line
UselessParentheses Useless parentheses. 74
UselessParentheses Useless parentheses. 87

Maven Artifact - org/apache/maven/artifact/versioning/VersionRange.java

Rule Violation Line
UselessParentheses Useless parentheses. 230

Maven Compat - org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

Rule Violation Line
UselessParentheses Useless parentheses. 252
UselessParentheses Useless parentheses. 252
UselessParentheses Useless parentheses. 296

Maven Compat - org/apache/maven/project/ModelUtils.java

Rule Violation Line
UselessParentheses Useless parentheses. 57
UselessParentheses Useless parentheses. 57
UselessParentheses Useless parentheses. 65
UselessParentheses Useless parentheses. 79
UselessParentheses Useless parentheses. 99
UselessParentheses Useless parentheses. 104
UselessParentheses Useless parentheses. 117
UselessParentheses Useless parentheses. 192
UselessParentheses Useless parentheses. 192
UselessParentheses Useless parentheses. 203
UselessParentheses Useless parentheses. 203
UselessParentheses Useless parentheses. 220
UselessParentheses Useless parentheses. 224
UselessParentheses Useless parentheses. 237
UselessParentheses Useless parentheses. 251
UselessParentheses Useless parentheses. 288

Maven Compat - org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java

Rule Violation Line
UselessParentheses Useless parentheses. 109
UselessParentheses Useless parentheses. 115
UselessParentheses Useless parentheses. 127
UselessParentheses Useless parentheses. 127
UselessParentheses Useless parentheses. 369
UselessParentheses Useless parentheses. 369
UselessParentheses Useless parentheses. 377
UselessParentheses Useless parentheses. 387
UselessParentheses Useless parentheses. 401
UselessParentheses Useless parentheses. 431
UselessParentheses Useless parentheses. 461
UselessParentheses Useless parentheses. 461
UselessParentheses Useless parentheses. 467
UselessParentheses Useless parentheses. 467
UselessParentheses Useless parentheses. 475
UselessParentheses Useless parentheses. 479
UselessParentheses Useless parentheses. 501

Maven Compat - org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

Rule Violation Line
UselessParentheses Useless parentheses. 338
UselessParentheses Useless parentheses. 342

Maven Compat - org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

Rule Violation Line
UselessParentheses Useless parentheses. 110
UselessParentheses Useless parentheses. 150

Maven Compat - org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

Rule Violation Line
UselessParentheses Useless parentheses. 217
UselessParentheses Useless parentheses. 217
UselessParentheses Useless parentheses. 276
UselessParentheses Useless parentheses. 276
UselessParentheses Useless parentheses. 379
UselessParentheses Useless parentheses. 379
UselessParentheses Useless parentheses. 635
UselessParentheses Useless parentheses. 642
UselessParentheses Useless parentheses. 648
UselessParentheses Useless parentheses. 649
UselessParentheses Useless parentheses. 686

Maven Compat - org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

Rule Violation Line
UselessParentheses Useless parentheses. 158
UselessParentheses Useless parentheses. 159

Maven Compat - org/apache/maven/repository/metadata/MetadataGraphEdge.java

Rule Violation Line
UselessParentheses Useless parentheses. 184
UselessParentheses Useless parentheses. 185

Maven Core - org/apache/maven/ReactorReader.java

Rule Violation Line
UselessParentheses Useless parentheses. 253
UselessParentheses Useless parentheses. 254

Maven Core - org/apache/maven/RepositoryUtils.java

Rule Violation Line
UselessParentheses Useless parentheses. 65

Maven Core - org/apache/maven/artifact/metadata/AbstractArtifactMetadata.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.maven.artifact.metadata.ArtifactMetadata' due to existing same package import 'org.apache.maven.artifact.metadata.*' 30

Maven Core - org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

Rule Violation Line
UselessParentheses Useless parentheses. 111
UselessParentheses Useless parentheses. 232

Maven Core - org/apache/maven/execution/SettingsAdapter.java

Rule Violation Line
UselessParentheses Useless parentheses. 60

Maven Core - org/apache/maven/lifecycle/internal/DependencyContext.java

Rule Violation Line
UselessParentheses Useless parentheses. 9697

Maven Core - org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

Rule Violation Line
UselessParentheses Useless parentheses. 171
UselessParentheses Useless parentheses. 171
UselessParentheses Useless parentheses. 409
UselessParentheses Useless parentheses. 409
UselessParentheses Useless parentheses. 409
UselessParentheses Useless parentheses. 409
UselessParentheses Useless parentheses. 447448
UselessParentheses Useless parentheses. 453

Maven Core - org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

Rule Violation Line
UselessParentheses Useless parentheses. 531
UselessParentheses Useless parentheses. 531

Maven Core - org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.artifact.Artifact' due to existing import 'org.eclipse.aether.artifact.Artifact' 254

Maven Core - org/apache/maven/project/DefaultProjectBuilder.java

Rule Violation Line
UselessParentheses Useless parentheses. 786
UselessParentheses Useless parentheses. 786
UselessParentheses Useless parentheses. 786
UselessParentheses Useless parentheses. 787

Maven Core - org/apache/maven/project/MavenProject.java

Rule Violation Line
UselessParentheses Useless parentheses. 458
UselessParentheses Useless parentheses. 458
UselessParentheses Useless parentheses. 503
UselessParentheses Useless parentheses. 503
UselessParentheses Useless parentheses. 1003
UselessParentheses Useless parentheses. 1097
UselessParentheses Useless parentheses. 1097
UselessParentheses Useless parentheses. 1266
UselessParentheses Useless parentheses. 1280
UselessParentheses Useless parentheses. 1292
UselessParentheses Useless parentheses. 1297
UselessParentheses Useless parentheses. 1302
UselessParentheses Useless parentheses. 1617
UselessParentheses Useless parentheses. 1666
UselessParentheses Useless parentheses. 1694
UselessParentheses Useless parentheses. 1790

Maven Core - org/apache/maven/project/ProjectSorter.java

Rule Violation Line
UselessParentheses Useless parentheses. 244

Maven Core - org/apache/maven/project/artifact/MavenMetadataSource.java

Rule Violation Line
UselessParentheses Useless parentheses. 487
UselessParentheses Useless parentheses. 487

Maven Core - org/apache/maven/repository/ArtifactTransferEvent.java

Rule Violation Line
UselessParentheses Useless parentheses. 309
UselessParentheses Useless parentheses. 309

Maven Embedder - org/apache/maven/cli/CLIReportingUtils.java

Rule Violation Line
UselessParentheses Useless parentheses. 82
UselessParentheses Useless parentheses. 99
UselessParentheses Useless parentheses. 103
UselessParentheses Useless parentheses. 116
UselessParentheses Useless parentheses. 116

Maven Embedder - org/apache/maven/cli/MavenCli.java

Rule Violation Line
UselessParentheses Useless parentheses. 588
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' 591
UselessParentheses Useless parentheses. 1118
UselessParentheses Useless parentheses. 1119
UselessParentheses Useless parentheses. 1495
UselessParentheses Useless parentheses. 1495

Maven Embedder - org/apache/maven/cli/event/ExecutionEventLogger.java

Rule Violation Line
UselessParentheses Useless parentheses. 119
UselessParentheses Useless parentheses. 333

Maven Embedder - org/apache/maven/cli/logging/Slf4jLoggerManager.java

Rule Violation Line
UselessParentheses Useless parentheses. 5860

Maven Embedder - org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

Rule Violation Line
UselessParentheses Useless parentheses. 248

Maven Embedder - org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

Rule Violation Line
UselessParentheses Useless parentheses. 79

Maven Model Builder - org/apache/maven/model/building/DefaultModelBuilder.java

Rule Violation Line
UselessParentheses Useless parentheses. 936937

Maven Model Builder - org/apache/maven/model/building/ModelProblemUtils.java

Rule Violation Line
UselessParentheses Useless parentheses. 117
UselessParentheses Useless parentheses. 119
UselessParentheses Useless parentheses. 121

Maven Model Builder - org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

Rule Violation Line
UselessParentheses Useless parentheses. 131

Maven Model Builder - org/apache/maven/model/validation/DefaultModelValidator.java

Rule Violation Line
UselessParentheses Useless parentheses. 290
UselessParentheses Useless parentheses. 297

Maven Plugin API - org/apache/maven/plugin/descriptor/MojoDescriptor.java

Rule Violation Line
UselessParentheses Useless parentheses. 698
UselessParentheses Useless parentheses. 699

Maven Plugin API - org/apache/maven/plugin/descriptor/Parameter.java

Rule Violation Line
UselessParentheses Useless parentheses. 123

Maven Artifact Resolver Provider - org/apache/maven/repository/internal/DefaultVersionResolver.java

Rule Violation Line
UselessParentheses Useless parentheses. 419420

Maven Artifact Resolver Provider - org/apache/maven/repository/internal/RelocatedArtifact.java

Rule Violation Line
UselessParentheses Useless parentheses. 50
UselessParentheses Useless parentheses. 51
UselessParentheses Useless parentheses. 52
UselessParentheses Useless parentheses. 53
UselessParentheses Useless parentheses. 97
UselessParentheses Useless parentheses. 119

Maven Settings Builder - org/apache/maven/settings/building/DefaultSettingsProblemCollector.java

Rule Violation Line
UselessParentheses Useless parentheses. 58

Files

Maven Artifact - org/apache/maven/artifact/DefaultArtifact.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 146
UselessParentheses Useless parentheses. 4 146
UselessParentheses Useless parentheses. 4 155
UselessParentheses Useless parentheses. 4 155
UselessParentheses Useless parentheses. 4 374
UselessParentheses Useless parentheses. 4 374
UselessParentheses Useless parentheses. 4 492
UselessParentheses Useless parentheses. 4 492

Maven Artifact - org/apache/maven/artifact/versioning/ComparableVersion.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 138
UselessParentheses Useless parentheses. 4 138
UselessParentheses Useless parentheses. 4 224
UselessParentheses Useless parentheses. 4 224
UselessParentheses Useless parentheses. 4 410
UselessParentheses Useless parentheses. 4 430
UselessParentheses Useless parentheses. 4 506
UselessParentheses Useless parentheses. 4 567
UselessParentheses Useless parentheses. 4 590
UselessParentheses Useless parentheses. 4 795
UselessParentheses Useless parentheses. 4 840
UselessParentheses Useless parentheses. 4 840

Maven Artifact - org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 145
UselessParentheses Useless parentheses. 4 215

Maven Artifact - org/apache/maven/artifact/versioning/Restriction.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 74
UselessParentheses Useless parentheses. 4 87

Maven Artifact - org/apache/maven/artifact/versioning/VersionRange.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 135138
CollapsibleIfStatements These nested if statements could be combined 3 153156
UselessParentheses Useless parentheses. 4 230
CollapsibleIfStatements These nested if statements could be combined 3 559562

Maven Compat - org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

Rule Violation Priority Line
EmptyIfStmt Avoid empty if statements 3 115117

Maven Compat - org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

Rule Violation Priority Line
EmptyIfStmt Avoid empty if statements 3 9698

Maven Compat - org/apache/maven/artifact/repository/DefaultArtifactRepository.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'uniqueVersion'. 3 79

Maven Compat - org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 141153
UselessParentheses Useless parentheses. 4 252
UselessParentheses Useless parentheses. 4 252
UselessParentheses Useless parentheses. 4 296
CollapsibleIfStatements These nested if statements could be combined 3 441453

Maven Compat - org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

Rule Violation Priority Line
AvoidThreadGroup Avoid using java.lang.ThreadGroup; it is not thread safe 3 577

Maven Compat - org/apache/maven/artifact/resolver/WarningResolutionListener.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'logger'. 3 34

Maven Compat - org/apache/maven/project/ModelUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 57
UselessParentheses Useless parentheses. 4 57
UselessParentheses Useless parentheses. 4 65
UselessParentheses Useless parentheses. 4 79
UselessParentheses Useless parentheses. 4 99
UselessParentheses Useless parentheses. 4 104
UselessParentheses Useless parentheses. 4 117
UselessParentheses Useless parentheses. 4 192
UselessParentheses Useless parentheses. 4 192
UselessParentheses Useless parentheses. 4 203
UselessParentheses Useless parentheses. 4 203
UselessParentheses Useless parentheses. 4 220
UselessParentheses Useless parentheses. 4 224
UselessParentheses Useless parentheses. 4 237
UselessParentheses Useless parentheses. 4 251
UselessParentheses Useless parentheses. 4 288

Maven Compat - org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 109
UselessParentheses Useless parentheses. 4 115
UselessParentheses Useless parentheses. 4 127
UselessParentheses Useless parentheses. 4 127
CollapsibleIfStatements These nested if statements could be combined 3 210213
UselessParentheses Useless parentheses. 4 369
UselessParentheses Useless parentheses. 4 369
UselessParentheses Useless parentheses. 4 377
UselessParentheses Useless parentheses. 4 387
UselessParentheses Useless parentheses. 4 401
UselessParentheses Useless parentheses. 4 431
UselessParentheses Useless parentheses. 4 461
UselessParentheses Useless parentheses. 4 461
UselessParentheses Useless parentheses. 4 467
UselessParentheses Useless parentheses. 4 467
UselessParentheses Useless parentheses. 4 475
UselessParentheses Useless parentheses. 4 479
UselessParentheses Useless parentheses. 4 501
CollapsibleIfStatements These nested if statements could be combined 3 590607
CollapsibleIfStatements These nested if statements could be combined 3 612616
CollapsibleIfStatements These nested if statements could be combined 3 621626
EmptyIfStmt Avoid empty if statements 3 710714

Maven Compat - org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 338
UselessParentheses Useless parentheses. 4 342

Maven Compat - org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'envars'. 3 50

Maven Compat - org/apache/maven/project/path/DefaultPathTranslator.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 168171

Maven Compat - org/apache/maven/repository/DefaultMirrorSelector.java

Rule Violation Priority Line
AvoidUsingHardCodedIP Do not hard code the IP address 3 163

Maven Compat - org/apache/maven/repository/MetadataResolutionResult.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'dirtyTree'. 3 66
UnusedPrivateField Avoid unused private fields such as 'resolvedGraph'. 3 70

Maven Compat - org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 110
UselessParentheses Useless parentheses. 4 150

Maven Compat - org/apache/maven/repository/legacy/DefaultWagonManager.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'protocol'. 3 803

Maven Compat - org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 183191
UselessParentheses Useless parentheses. 4 217
UselessParentheses Useless parentheses. 4 217
UselessParentheses Useless parentheses. 4 276
UselessParentheses Useless parentheses. 4 276
UselessParentheses Useless parentheses. 4 379
UselessParentheses Useless parentheses. 4 379
UselessParentheses Useless parentheses. 4 635
UselessParentheses Useless parentheses. 4 642
UselessParentheses Useless parentheses. 4 648
UselessParentheses Useless parentheses. 4 649
UselessParentheses Useless parentheses. 4 686

Maven Compat - org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 158
UselessParentheses Useless parentheses. 4 159

Maven Compat - org/apache/maven/repository/metadata/ArtifactMetadata.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'af'. 3 149

Maven Compat - org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

Rule Violation Priority Line
EmptyIfStmt Avoid empty if statements 3 110116
UnusedFormalParameter Avoid unused method parameters such as 'v'. 3 207

Maven Compat - org/apache/maven/repository/metadata/MetadataGraph.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'nVertices'. 3 244

Maven Compat - org/apache/maven/repository/metadata/MetadataGraphEdge.java

Rule Violation Priority Line
OverrideBothEqualsAndHashcode Ensure you override both equals() and hashCode() 3 85
UselessParentheses Useless parentheses. 4 184
UselessParentheses Useless parentheses. 4 185

Maven Core - org/apache/maven/DefaultMaven.java

Rule Violation Priority Line
ReturnFromFinallyBlock Avoid returning from a finally block 3 317
UnusedFormalParameter Avoid unused method parameters such as 'result'. 3 540

Maven Core - org/apache/maven/ReactorReader.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 253
UselessParentheses Useless parentheses. 4 254

Maven Core - org/apache/maven/RepositoryUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 65

Maven Core - org/apache/maven/artifact/metadata/AbstractArtifactMetadata.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.apache.maven.artifact.metadata.ArtifactMetadata' due to existing same package import 'org.apache.maven.artifact.metadata.*' 4 30

Maven Core - org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 111
UselessParentheses Useless parentheses. 4 232

Maven Core - org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 60
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 75

Maven Core - org/apache/maven/bridge/MavenRepositorySystem.java

Rule Violation Priority Line
AvoidUsingHardCodedIP Do not hard code the IP address 3 836

Maven Core - org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

Rule Violation Priority Line
EmptyIfStmt Avoid empty if statements 3 5355

Maven Core - org/apache/maven/execution/MavenSession.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'eventDispatcher'. 3 337

Maven Core - org/apache/maven/execution/SettingsAdapter.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'runtimeInfo'. 3 48
UselessParentheses Useless parentheses. 4 60

Maven Core - org/apache/maven/lifecycle/LifecycleExecutionException.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'execution'. 3 57
UnusedFormalParameter Avoid unused constructor parameters such as 'execution'. 3 63

Maven Core - org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'pluginVersionResolver'. 3 75

Maven Core - org/apache/maven/lifecycle/internal/DependencyContext.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 9697

Maven Core - org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'projectExecutionListeners'. 3 67

Maven Core - org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

Rule Violation Priority Line
EmptyIfStmt Avoid empty if statements 3 165167

Maven Core - org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'muxer'. 3 191

Maven Core - org/apache/maven/plugin/CycleDetectedInPluginGraphException.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'e'. 3 35

Maven Core - org/apache/maven/plugin/DefaultBuildPluginManager.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'mojoExecutionListeners'. 3 64

Maven Core - org/apache/maven/plugin/PluginConfigurationException.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'pluginDescriptor'. 3 33
UnusedPrivateField Avoid unused private fields such as 'originalMessage'. 3 35

Maven Core - org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'logger'. 3 90
UnusedFormalParameter Avoid unused constructor parameters such as 'pathTranslator'. 3 90
UnusedFormalParameter Avoid unused constructor parameters such as 'project'. 3 90
UnusedFormalParameter Avoid unused constructor parameters such as 'properties'. 3 91
UselessParentheses Useless parentheses. 4 171
UselessParentheses Useless parentheses. 4 171
UselessParentheses Useless parentheses. 4 409
UselessParentheses Useless parentheses. 4 409
UselessParentheses Useless parentheses. 4 409
UselessParentheses Useless parentheses. 4 409
UselessParentheses Useless parentheses. 4 447448
UselessParentheses Useless parentheses. 4 453
EmptyIfStmt Avoid empty if statements 3 468470

Maven Core - org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 531
UselessParentheses Useless parentheses. 4 531

Maven Core - org/apache/maven/plugin/internal/DefaultPluginDependenciesResolver.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 113120
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'org.eclipse.aether.artifact.Artifact' due to existing import 'org.eclipse.aether.artifact.Artifact' 4 254

Maven Core - org/apache/maven/project/DefaultProjectBuilder.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 786
UselessParentheses Useless parentheses. 4 786
UselessParentheses Useless parentheses. 4 786
UselessParentheses Useless parentheses. 4 787

Maven Core - org/apache/maven/project/DefaultProjectBuildingHelper.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'container'. 3 72

Maven Core - org/apache/maven/project/MavenProject.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 366370
UselessParentheses Useless parentheses. 4 458
UselessParentheses Useless parentheses. 4 458
UselessParentheses Useless parentheses. 4 503
UselessParentheses Useless parentheses. 4 503
UselessParentheses Useless parentheses. 4 1003
UselessParentheses Useless parentheses. 4 1097
UselessParentheses Useless parentheses. 4 1097
UselessParentheses Useless parentheses. 4 1266
UselessParentheses Useless parentheses. 4 1280
UselessParentheses Useless parentheses. 4 1292
UselessParentheses Useless parentheses. 4 1297
UselessParentheses Useless parentheses. 4 1302
CollapsibleIfStatements These nested if statements could be combined 3 15771580
CollapsibleIfStatements These nested if statements could be combined 3 16021606
UselessParentheses Useless parentheses. 4 1617
UselessParentheses Useless parentheses. 4 1666
UselessParentheses Useless parentheses. 4 1694
CollapsibleIfStatements These nested if statements could be combined 3 17561759
CollapsibleIfStatements These nested if statements could be combined 3 17761779
UselessParentheses Useless parentheses. 4 1790

Maven Core - org/apache/maven/project/ProjectSorter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 244

Maven Core - org/apache/maven/project/artifact/MavenMetadataSource.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 487
UselessParentheses Useless parentheses. 4 487

Maven Core - org/apache/maven/repository/ArtifactTransferEvent.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 309
UselessParentheses Useless parentheses. 4 309

Maven Core - org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'request'. 3 158

Maven Core - org/apache/maven/toolchain/io/DefaultToolchainsReader.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 64
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 80

Maven Core - org/apache/maven/toolchain/io/DefaultToolchainsWriter.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 3 49

Maven Core - org/apache/maven/toolchain/java/DefaultJavaToolChain.java

Rule Violation Priority Line
UselessOverridingMethod Overriding method merely calls super 3 4447
UselessOverridingMethod Overriding method merely calls super 3 5053

Maven Embedder - org/apache/maven/cli/CLIReportingUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 82
UselessParentheses Useless parentheses. 4 99
UselessParentheses Useless parentheses. 4 103
UselessParentheses Useless parentheses. 4 116
UselessParentheses Useless parentheses. 4 116

Maven Embedder - org/apache/maven/cli/MavenCli.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 588
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'MessageUtils.buffer' due to existing static import 'org.apache.maven.shared.utils.logging.MessageUtils.buffer' 4 591
UselessParentheses Useless parentheses. 4 1118
UselessParentheses Useless parentheses. 4 1119
UselessParentheses Useless parentheses. 4 1495
UselessParentheses Useless parentheses. 4 1495

Maven Embedder - org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as 'settingsDecrypter'. 3 80

Maven Embedder - org/apache/maven/cli/event/ExecutionEventLogger.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 119
UselessParentheses Useless parentheses. 4 333

Maven Embedder - org/apache/maven/cli/logging/Slf4jLoggerManager.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 5860

Maven Embedder - org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 248

Maven Embedder - org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'event'. 3 156

Maven Embedder - org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 79

Maven Model Builder - org/apache/maven/model/building/DefaultModelBuilder.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 936937

Maven Model Builder - org/apache/maven/model/building/ModelProblemUtils.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 117
UselessParentheses Useless parentheses. 4 119
UselessParentheses Useless parentheses. 4 121

Maven Model Builder - org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 131

Maven Model Builder - org/apache/maven/model/io/DefaultModelReader.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 71
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 83

Maven Model Builder - org/apache/maven/model/io/DefaultModelWriter.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 3 67
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 3 87

Maven Model Builder - org/apache/maven/model/merge/MavenModelMerger.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 8589

Maven Model Builder - org/apache/maven/model/validation/DefaultModelValidator.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'request'. 3 231
UselessParentheses Useless parentheses. 4 290
UselessParentheses Useless parentheses. 4 297
UnusedFormalParameter Avoid unused method parameters such as 'request'. 3 555
UnusedFormalParameter Avoid unused method parameters such as 'request'. 3 620

Maven Model - org/apache/maven/model/merge/ModelMerger.java

Rule Violation Priority Line
CollapsibleIfStatements These nested if statements could be combined 3 162166
CollapsibleIfStatements These nested if statements could be combined 3 192196
CollapsibleIfStatements These nested if statements could be combined 3 206210
CollapsibleIfStatements These nested if statements could be combined 3 220225
CollapsibleIfStatements These nested if statements could be combined 3 235239
CollapsibleIfStatements These nested if statements could be combined 3 249253
CollapsibleIfStatements These nested if statements could be combined 3 262266
CollapsibleIfStatements These nested if statements could be combined 3 276280
CollapsibleIfStatements These nested if statements could be combined 3 289293
CollapsibleIfStatements These nested if statements could be combined 3 303307
CollapsibleIfStatements These nested if statements could be combined 3 624628
CollapsibleIfStatements These nested if statements could be combined 3 639643
CollapsibleIfStatements These nested if statements could be combined 3 662666
CollapsibleIfStatements These nested if statements could be combined 3 676680
CollapsibleIfStatements These nested if statements could be combined 3 690694
CollapsibleIfStatements These nested if statements could be combined 3 704708
CollapsibleIfStatements These nested if statements could be combined 3 743748
CollapsibleIfStatements These nested if statements could be combined 3 757761
CollapsibleIfStatements These nested if statements could be combined 3 770774
CollapsibleIfStatements These nested if statements could be combined 3 783787
CollapsibleIfStatements These nested if statements could be combined 3 846850
CollapsibleIfStatements These nested if statements could be combined 3 860864
CollapsibleIfStatements These nested if statements could be combined 3 874878
CollapsibleIfStatements These nested if statements could be combined 3 888892
CollapsibleIfStatements These nested if statements could be combined 3 910914
CollapsibleIfStatements These nested if statements could be combined 3 924928
CollapsibleIfStatements These nested if statements could be combined 3 938942
CollapsibleIfStatements These nested if statements could be combined 3 966970
CollapsibleIfStatements These nested if statements could be combined 3 980984
CollapsibleIfStatements These nested if statements could be combined 3 994998
CollapsibleIfStatements These nested if statements could be combined 3 10081012
CollapsibleIfStatements These nested if statements could be combined 3 10221026
CollapsibleIfStatements These nested if statements could be combined 3 10361040
CollapsibleIfStatements These nested if statements could be combined 3 10501054
CollapsibleIfStatements These nested if statements could be combined 3 10641068
CollapsibleIfStatements These nested if statements could be combined 3 10921096
CollapsibleIfStatements These nested if statements could be combined 3 11061110
CollapsibleIfStatements These nested if statements could be combined 3 11281132
CollapsibleIfStatements These nested if statements could be combined 3 11421146
CollapsibleIfStatements These nested if statements could be combined 3 11731177
CollapsibleIfStatements These nested if statements could be combined 3 11871191
CollapsibleIfStatements These nested if statements could be combined 3 12011205
CollapsibleIfStatements These nested if statements could be combined 3 12301234
CollapsibleIfStatements These nested if statements could be combined 3 12971301
CollapsibleIfStatements These nested if statements could be combined 3 13111315
CollapsibleIfStatements These nested if statements could be combined 3 13251329
CollapsibleIfStatements These nested if statements could be combined 3 13391343
CollapsibleIfStatements These nested if statements could be combined 3 13601364
CollapsibleIfStatements These nested if statements could be combined 3 13741378
CollapsibleIfStatements These nested if statements could be combined 3 13961400
CollapsibleIfStatements These nested if statements could be combined 3 14101414
CollapsibleIfStatements These nested if statements could be combined 3 14241428
CollapsibleIfStatements These nested if statements could be combined 3 14381442
CollapsibleIfStatements These nested if statements could be combined 3 14621466
CollapsibleIfStatements These nested if statements could be combined 3 14761480
CollapsibleIfStatements These nested if statements could be combined 3 14901494
CollapsibleIfStatements These nested if statements could be combined 3 15041508
CollapsibleIfStatements These nested if statements could be combined 3 15181522
CollapsibleIfStatements These nested if statements could be combined 3 15531557
CollapsibleIfStatements These nested if statements could be combined 3 15801584
CollapsibleIfStatements These nested if statements could be combined 3 15941598
CollapsibleIfStatements These nested if statements could be combined 3 16081612
CollapsibleIfStatements These nested if statements could be combined 3 16221626
CollapsibleIfStatements These nested if statements could be combined 3 16361640
CollapsibleIfStatements These nested if statements could be combined 3 16501654
CollapsibleIfStatements These nested if statements could be combined 3 17041708
CollapsibleIfStatements These nested if statements could be combined 3 17181722
CollapsibleIfStatements These nested if statements could be combined 3 17431748
CollapsibleIfStatements These nested if statements could be combined 3 17591764
CollapsibleIfStatements These nested if statements could be combined 3 17741779
CollapsibleIfStatements These nested if statements could be combined 3 17881792
CollapsibleIfStatements These nested if statements could be combined 3 18011805
CollapsibleIfStatements These nested if statements could be combined 3 18151819
CollapsibleIfStatements These nested if statements could be combined 3 18281832
CollapsibleIfStatements These nested if statements could be combined 3 18501854
CollapsibleIfStatements These nested if statements could be combined 3 18641868
CollapsibleIfStatements These nested if statements could be combined 3 18971900
CollapsibleIfStatements These nested if statements could be combined 3 19101913
CollapsibleIfStatements These nested if statements could be combined 3 19821986
CollapsibleIfStatements These nested if statements could be combined 3 20072011
CollapsibleIfStatements These nested if statements could be combined 3 20212025
CollapsibleIfStatements These nested if statements could be combined 3 20352039
CollapsibleIfStatements These nested if statements could be combined 3 20492053
CollapsibleIfStatements These nested if statements could be combined 3 20632067
CollapsibleIfStatements These nested if statements could be combined 3 20922096
CollapsibleIfStatements These nested if statements could be combined 3 21062110
CollapsibleIfStatements These nested if statements could be combined 3 21202124
CollapsibleIfStatements These nested if statements could be combined 3 21462150
CollapsibleIfStatements These nested if statements could be combined 3 21602164
CollapsibleIfStatements These nested if statements could be combined 3 21742178
CollapsibleIfStatements These nested if statements could be combined 3 22692273
CollapsibleIfStatements These nested if statements could be combined 3 22832287
CollapsibleIfStatements These nested if statements could be combined 3 22972301
CollapsibleIfStatements These nested if statements could be combined 3 23112315
CollapsibleIfStatements These nested if statements could be combined 3 23462350
CollapsibleIfStatements These nested if statements could be combined 3 23892393
CollapsibleIfStatements These nested if statements could be combined 3 24032407
CollapsibleIfStatements These nested if statements could be combined 3 24402444
CollapsibleIfStatements These nested if statements could be combined 3 24542458
CollapsibleIfStatements These nested if statements could be combined 3 24682471
CollapsibleIfStatements These nested if statements could be combined 3 24872491

Maven Plugin API - org/apache/maven/plugin/descriptor/MojoDescriptor.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 698
UselessParentheses Useless parentheses. 4 699

Maven Plugin API - org/apache/maven/plugin/descriptor/Parameter.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 123

Maven Artifact Resolver Provider - org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 251

Maven Artifact Resolver Provider - org/apache/maven/repository/internal/DefaultVersionResolver.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 313
UselessParentheses Useless parentheses. 4 419420

Maven Artifact Resolver Provider - org/apache/maven/repository/internal/LocalSnapshotMetadataGenerator.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused constructor parameters such as 'request'. 3 48

Maven Artifact Resolver Provider - org/apache/maven/repository/internal/RelocatedArtifact.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 50
UselessParentheses Useless parentheses. 4 51
UselessParentheses Useless parentheses. 4 52
UselessParentheses Useless parentheses. 4 53
UselessParentheses Useless parentheses. 4 97
UselessParentheses Useless parentheses. 4 119

Maven Settings Builder - org/apache/maven/settings/building/DefaultSettingsBuilder.java

Rule Violation Priority Line
UnusedFormalParameter Avoid unused method parameters such as 'request'. 3 164

Maven Settings Builder - org/apache/maven/settings/building/DefaultSettingsProblemCollector.java

Rule Violation Priority Line
UselessParentheses Useless parentheses. 4 58

Maven Settings Builder - org/apache/maven/settings/io/DefaultSettingsReader.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 65
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'in': resource specifications are implicitly final 3 81

Maven Settings Builder - org/apache/maven/settings/io/DefaultSettingsWriter.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 3 67
UnnecessaryModifier Unnecessary modifier 'final' on resource specification 'out': resource specifications are implicitly final 3 87