The following document contains the results of FindBugs Report
FindBugs Version is 2.0.1
Threshold is medium
Effort is min
Class | Bugs |
---|---|
org.apache.maven.index.cli.NexusIndexerCli | 17 |
org.apache.maven.index.cli.NexusIndexerCli$1 | 1 |
org.apache.maven.index.cli.NexusIndexerCli$IndexerListener | 7 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Format-string method java.io.PrintStream.printf(String, Object[]) called with format string "Cannot zip index; \n" wants 0 arguments but is given 1 in org.apache.maven.index.cli.NexusIndexerCli.packIndex(IndexPacker, IndexPackingRequest, boolean, boolean) | CORRECTNESS | VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED | 493 | High |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.index(CommandLine, PlexusContainer) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 313 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.index(CommandLine, PlexusContainer) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 316 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.index(CommandLine, PlexusContainer) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 314 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.index(CommandLine, PlexusContainer) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 312 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.index(CommandLine, PlexusContainer) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 315 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.index(CommandLine, PlexusContainer) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 338 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.index(CommandLine, PlexusContainer) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 333 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.index(CommandLine, PlexusContainer) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 320 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.index(CommandLine, PlexusContainer) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 329 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.index(CommandLine, PlexusContainer) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 324 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.packIndex(IndexPacker, IndexPackingRequest, boolean, boolean) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 493 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.printStats(long) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 521 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.printStats(long) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 512 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.printStats(long) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 516 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.unpack(CommandLine, PlexusContainer) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 409 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli.unpack(CommandLine, PlexusContainer) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 410 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Uncallable method org.apache.maven.index.cli.NexusIndexerCli$1.getIndexCreators() defined in anonymous class | CORRECTNESS | UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS | 428 | High |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli$IndexerListener.artifactDiscovered(ArtifactContext) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 572 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli$IndexerListener.artifactDiscovered(ArtifactContext) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 566 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli$IndexerListener.artifactError(ArtifactContext, Exception) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 583 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli$IndexerListener.artifactError(ArtifactContext, Exception) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 581 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli$IndexerListener.scanningFinished(IndexingContext, ScanningResult) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 608 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli$IndexerListener.scanningFinished(IndexingContext, ScanningResult) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 609 | Medium |
Format string should use %n rather than \n in org.apache.maven.index.cli.NexusIndexerCli$IndexerListener.scanningFinished(IndexingContext, ScanningResult) | BAD_PRACTICE | VA_FORMAT_STRING_USES_NEWLINE | 605 | Medium |