FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.8

Threshold is Low

Effort is Default

Summary

Classes Bugs Errors Missing Classes
149 10 0 0

org.cyclopsgroup.jcli.example.UserControl

Bug Category Details Line Priority
org.cyclopsgroup.jcli.example.UserControl.getCreationDate() may expose internal representation by returning UserControl.creationDate MALICIOUS_CODE EI_EXPOSE_REP 46 Medium
org.cyclopsgroup.jcli.example.UserControl.setCreationDate(Date) may expose internal representation by storing an externally mutable object into UserControl.creationDate MALICIOUS_CODE EI_EXPOSE_REP2 81 Medium

org.cyclopsgroup.jcli.impl.AnnotationParsingContext

Bug Category Details Line Priority
Method org.cyclopsgroup.jcli.impl.AnnotationParsingContext.options() uses Collection.toArray() with zero-length array argument PERFORMANCE ITA_INEFFICIENT_TO_ARRAY 86 Low

org.cyclopsgroup.jcli.jline.ArgumentsInspector

Bug Category Details Line Priority
Method org.cyclopsgroup.jcli.jline.ArgumentsInspector.consume(String) uses the same code for two switch clauses STYLE DB_DUPLICATE_SWITCH_CLAUSES 54-55 Low
Switch statement found in org.cyclopsgroup.jcli.jline.ArgumentsInspector.consume(String) where one case falls through to the next case STYLE SF_SWITCH_FALLTHROUGH 57-59 Medium
Switch statement found in org.cyclopsgroup.jcli.jline.ArgumentsInspector.end() where one case falls through to the next case STYLE SF_SWITCH_FALLTHROUGH 95-97 Medium
ArgumentsInspector.currentValue not initialized in constructor STYLE UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR Not available Low

org.cyclopsgroup.jcli.jline.CliCompletor

Bug Category Details Line Priority
Switch statement found in org.cyclopsgroup.jcli.jline.CliCompletor.complete(String, int, List) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 137-139 Low

org.cyclopsgroup.jcli.jline.CliCompletor$1

Bug Category Details Line Priority
The class org.cyclopsgroup.jcli.jline.CliCompletor$1 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 70-78 Low

org.cyclopsgroup.jcli.jline.CliCompletor$2

Bug Category Details Line Priority
The class org.cyclopsgroup.jcli.jline.CliCompletor$2 could be refactored into a named _static_ inner class PERFORMANCE SIC_INNER_SHOULD_BE_STATIC_ANON 98-105 Low