PMD Results
The following document contains the results of PMD 7.0.0.
Violations By Priority
Priority 3
org/codehaus/plexus/archiver/AbstractArchiver.java
Rule | Violation | Line |
---|---|---|
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 1102 |
org/codehaus/plexus/archiver/UnixStat.java
Rule | Violation | Line |
---|---|---|
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 31 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 38 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 45 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 52 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 63 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 70 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 77 |
org/codehaus/plexus/archiver/bzip2/BZip2UnArchiver.java
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 17–77 |
org/codehaus/plexus/archiver/dir/DirectoryArchiver.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 186–189 |
org/codehaus/plexus/archiver/snappy/SnappyUnArchiver.java
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 17–76 |
org/codehaus/plexus/archiver/tar/TarArchiver.java
Rule | Violation | Line |
---|---|---|
EmptyControlStatement | Empty if statement | 202–233 |
org/codehaus/plexus/archiver/tar/TarUnArchiver.java
Rule | Violation | Line |
---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'file'. | 133 |
org/codehaus/plexus/archiver/tar/TarZstdArchiver.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setupCompressionMethod': private methods cannot be overridden | 32 |
org/codehaus/plexus/archiver/tar/TarZstdUnArchiver.java
Rule | Violation | Line |
---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setupCompressionMethod': private methods cannot be overridden | 38 |
org/codehaus/plexus/archiver/xz/XZUnArchiver.java
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 16–76 |
org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java
Rule | Violation | Line |
---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 266–268 |
org/codehaus/plexus/archiver/zstd/ZstdUnArchiver.java
Rule | Violation | Line |
---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 16–75 |
Priority 4
org/codehaus/plexus/archiver/AbstractArchiver.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_SKIP' is already in scope because it is inherited by an enclosing type | 99 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_VALID_BEHAVIORS' is already in scope because it is inherited by an enclosing type | 182 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_VALID_BEHAVIORS' is already in scope because it is inherited by an enclosing type | 184 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_PRESERVE' is already in scope because it is inherited by an enclosing type | 547 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_SKIP' is already in scope because it is inherited by an enclosing type | 548 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_FAIL' is already in scope because it is inherited by an enclosing type | 554 |
org/codehaus/plexus/archiver/AbstractUnArchiver.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 370 |
org/codehaus/plexus/archiver/ArchiveEntry.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ResourceFactory': 'createResource' is already in scope | 192 |
UselessParentheses | Useless parentheses. | 197 |
UselessParentheses | Useless parentheses. | 214 |
org/codehaus/plexus/archiver/jar/JarToolModularJarArchiver.java
Rule | Violation | Line |
---|---|---|
UselessParentheses | Useless parentheses. | 269 |
org/codehaus/plexus/archiver/jar/JdkManifestFactory.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util.jar': 'Attributes' is already in scope because it is imported in this file | 92 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util.jar': 'Attributes' is already in scope because it is imported in this file | 92 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util.jar': 'Attributes' is already in scope because it is imported in this file | 94 |
org/codehaus/plexus/archiver/tar/TarFile.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.io': 'File' is already in scope because it is imported in this file | 41 |
org/codehaus/plexus/archiver/tar/TarResource.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_RESOURCE_SIZE' is already in scope because it is inherited by an enclosing type | 28 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_MODIFICATION_DATE' is already in scope because it is inherited by an enclosing type | 39 |
org/codehaus/plexus/archiver/tar/TarUnArchiver.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Streams': 'bufferedInputStream' is already in scope | 136 |
org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_SKIP' is already in scope because it is inherited by an enclosing type | 96 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_SKIP' is already in scope because it is inherited by an enclosing type | 192 |
org/codehaus/plexus/archiver/zip/AbstractZipUnArchiver.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.apache.commons.compress.archivers.zip': 'ZipFile' is already in scope because it is imported in this file | 83 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.apache.commons.compress.archivers.zip': 'ZipFile' is already in scope because it is imported in this file | 88 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_MODIFICATION_DATE' is already in scope because it is inherited by an enclosing type | 121 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_RESOURCE_SIZE' is already in scope because it is inherited by an enclosing type | 127 |
org/codehaus/plexus/archiver/zip/PlexusIoZipFileResourceCollection.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_MODIFICATION_DATE' is already in scope because it is inherited by an enclosing type | 83 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_RESOURCE_SIZE' is already in scope because it is inherited by an enclosing type | 84 |
org/codehaus/plexus/archiver/zip/ZipResource.java
Rule | Violation | Line |
---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.apache.commons.compress.archivers.zip': 'ZipFile' is already in scope because it is imported in this file | 22 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_RESOURCE_SIZE' is already in scope because it is inherited by an enclosing type | 34 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_MODIFICATION_DATE' is already in scope because it is inherited by an enclosing type | 46 |
Files
org/codehaus/plexus/archiver/AbstractArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_SKIP' is already in scope because it is inherited by an enclosing type | 4 | 99 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_VALID_BEHAVIORS' is already in scope because it is inherited by an enclosing type | 4 | 182 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_VALID_BEHAVIORS' is already in scope because it is inherited by an enclosing type | 4 | 184 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_PRESERVE' is already in scope because it is inherited by an enclosing type | 4 | 547 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_SKIP' is already in scope because it is inherited by an enclosing type | 4 | 548 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_FAIL' is already in scope because it is inherited by an enclosing type | 4 | 554 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 1102 |
org/codehaus/plexus/archiver/AbstractUnArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 370 |
org/codehaus/plexus/archiver/ArchiveEntry.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'ResourceFactory': 'createResource' is already in scope | 4 | 192 |
UselessParentheses | Useless parentheses. | 4 | 197 |
UselessParentheses | Useless parentheses. | 4 | 214 |
org/codehaus/plexus/archiver/UnixStat.java
Rule | Violation | Priority | Line |
---|---|---|---|
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 31 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 38 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 45 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 52 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 63 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 70 |
AvoidUsingOctalValues | Do not start a literal by 0 unless its an octal value | 3 | 77 |
org/codehaus/plexus/archiver/bzip2/BZip2UnArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 17–77 |
org/codehaus/plexus/archiver/dir/DirectoryArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 186–189 |
org/codehaus/plexus/archiver/jar/JarToolModularJarArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UselessParentheses | Useless parentheses. | 4 | 269 |
org/codehaus/plexus/archiver/jar/JdkManifestFactory.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util.jar': 'Attributes' is already in scope because it is imported in this file | 4 | 92 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util.jar': 'Attributes' is already in scope because it is imported in this file | 4 | 92 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.util.jar': 'Attributes' is already in scope because it is imported in this file | 4 | 94 |
org/codehaus/plexus/archiver/snappy/SnappyUnArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 17–76 |
org/codehaus/plexus/archiver/tar/TarArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
EmptyControlStatement | Empty if statement | 3 | 202–233 |
org/codehaus/plexus/archiver/tar/TarFile.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'java.io': 'File' is already in scope because it is imported in this file | 4 | 41 |
org/codehaus/plexus/archiver/tar/TarResource.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_RESOURCE_SIZE' is already in scope because it is inherited by an enclosing type | 4 | 28 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_MODIFICATION_DATE' is already in scope because it is inherited by an enclosing type | 4 | 39 |
org/codehaus/plexus/archiver/tar/TarUnArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnusedFormalParameter | Avoid unused method parameters such as 'file'. | 3 | 133 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Streams': 'bufferedInputStream' is already in scope | 4 | 136 |
org/codehaus/plexus/archiver/tar/TarZstdArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setupCompressionMethod': private methods cannot be overridden | 3 | 32 |
org/codehaus/plexus/archiver/tar/TarZstdUnArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryModifier | Unnecessary modifier 'final' on method 'setupCompressionMethod': private methods cannot be overridden | 3 | 38 |
org/codehaus/plexus/archiver/xz/XZUnArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 16–76 |
org/codehaus/plexus/archiver/zip/AbstractZipArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_SKIP' is already in scope because it is inherited by an enclosing type | 4 | 96 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'Archiver': 'DUPLICATES_SKIP' is already in scope because it is inherited by an enclosing type | 4 | 192 |
CollapsibleIfStatements | This if statement could be combined with its parent | 3 | 266–268 |
org/codehaus/plexus/archiver/zip/AbstractZipUnArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.apache.commons.compress.archivers.zip': 'ZipFile' is already in scope because it is imported in this file | 4 | 83 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.apache.commons.compress.archivers.zip': 'ZipFile' is already in scope because it is imported in this file | 4 | 88 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_MODIFICATION_DATE' is already in scope because it is inherited by an enclosing type | 4 | 121 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_RESOURCE_SIZE' is already in scope because it is inherited by an enclosing type | 4 | 127 |
org/codehaus/plexus/archiver/zip/PlexusIoZipFileResourceCollection.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_MODIFICATION_DATE' is already in scope because it is inherited by an enclosing type | 4 | 83 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_RESOURCE_SIZE' is already in scope because it is inherited by an enclosing type | 4 | 84 |
org/codehaus/plexus/archiver/zip/ZipResource.java
Rule | Violation | Priority | Line |
---|---|---|---|
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'org.apache.commons.compress.archivers.zip': 'ZipFile' is already in scope because it is imported in this file | 4 | 22 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_RESOURCE_SIZE' is already in scope because it is inherited by an enclosing type | 4 | 34 |
UnnecessaryFullyQualifiedName | Unnecessary qualifier 'PlexusIoResource': 'UNKNOWN_MODIFICATION_DATE' is already in scope because it is inherited by an enclosing type | 4 | 46 |
org/codehaus/plexus/archiver/zstd/ZstdUnArchiver.java
Rule | Violation | Priority | Line |
---|---|---|---|
TooManyStaticImports | Too many static imports may lead to messy code | 3 | 16–75 |