FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.3.9

Threshold is medium

Effort is min

Summary

ClassesBugsErrorsMissing Classes
151100

org.bbqjs.compiler.AbstractCompilableFile

BugCategoryDetailsLinePriority
org.bbqjs.compiler.AbstractCompilableFile.equals(Object) invokes java.net.URL.equals(Object), which blocks to do domain name resolutionPERFORMANCEDMI_BLOCKING_METHODS_ON_URL169High
new org.bbqjs.compiler.AbstractCompilableFile(URL, String[]) may expose internal representation by storing an externally mutable object into AbstractCompilableFile.sourceRootsMALICIOUS_CODEEI_EXPOSE_REP267Medium
org.bbqjs.compiler.AbstractCompilableFile defines equals and uses Object.hashCode()BAD_PRACTICEHE_EQUALS_USE_HASHCODE166Medium

org.bbqjs.compiler.AbstractCompiler

BugCategoryDetailsLinePriority
new org.bbqjs.compiler.AbstractCompiler(String[]) may expose internal representation by storing an externally mutable object into AbstractCompiler.librariesMALICIOUS_CODEEI_EXPOSE_REP218Medium

org.bbqjs.compiler.css.CompilableCSSFile

BugCategoryDetailsLinePriority
org.bbqjs.compiler.css.CompilableCSSFile inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE15Medium

org.bbqjs.compiler.javascript.CompilableJavaScriptFile

BugCategoryDetailsLinePriority
org.bbqjs.compiler.javascript.CompilableJavaScriptFile inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE11Medium

org.bbqjs.compiler.javascript.JavaScriptCompiler

BugCategoryDetailsLinePriority
Method org.bbqjs.compiler.javascript.JavaScriptCompiler.writePackageNames(Map, int, String, OutputStream) concatenates strings using + in a loopPERFORMANCESBSC_USE_STRINGBUFFER_CONCATENATION109Medium
Method org.bbqjs.compiler.javascript.JavaScriptCompiler.writePackageNames(Map, int, String, OutputStream) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR122Medium

org.bbqjs.compiler.language.CompilableLanguageFile

BugCategoryDetailsLinePriority
org.bbqjs.compiler.language.CompilableLanguageFile inherits equals and uses Object.hashCode()BAD_PRACTICEHE_INHERITS_EQUALS_USE_HASHCODE17Medium

org.bbqjs.compiler.language.LanguageCompiler

BugCategoryDetailsLinePriority
Method org.bbqjs.compiler.language.LanguageCompiler.createProperties(URL, String[]) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR68Medium

org.bbqjs.compiler.util.Utils

BugCategoryDetailsLinePriority
File.separator used for regular expression in org.bbqjs.compiler.util.Utils.getJavaScriptClassName(URL, String)CORRECTNESSRE_CANT_USE_FILE_SEPARATOR_AS_REGULAR_EXPRESSION58High