FindBugs Bug Detector Report

The following document contains the results of FindBugs

FindBugs Version is 3.0.1

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
4 24 0 0

org.apache.maven.index.cli.NexusIndexerCli

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 487 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 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 323 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 321 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 319 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 322 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 340 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 327 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 336 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 331 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 487 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 515 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 506 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 510 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 414 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 415 Medium

org.apache.maven.index.cli.NexusIndexerCli$1

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 430 High

org.apache.maven.index.cli.NexusIndexerCli$IndexerListener

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 566 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 560 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 577 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 575 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 602 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 603 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 599 Medium