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
Classes | Bugs | Errors | Missing Classes |
---|
15 | 11 | 0 | 0 |
org.bbqjs.compiler.AbstractCompilableFile
Bug | Category | Details | Line | Priority |
---|
org.bbqjs.compiler.AbstractCompilableFile.equals(Object) invokes java.net.URL.equals(Object), which blocks to do domain name resolution | PERFORMANCE | DMI_BLOCKING_METHODS_ON_URL | 169 | High |
new org.bbqjs.compiler.AbstractCompilableFile(URL, String[]) may expose internal representation by storing an externally mutable object into AbstractCompilableFile.sourceRoots | MALICIOUS_CODE | EI_EXPOSE_REP2 | 67 | Medium |
org.bbqjs.compiler.AbstractCompilableFile defines equals and uses Object.hashCode() | BAD_PRACTICE | HE_EQUALS_USE_HASHCODE | 166 | Medium |
org.bbqjs.compiler.AbstractCompiler
Bug | Category | Details | Line | Priority |
---|
new org.bbqjs.compiler.AbstractCompiler(String[]) may expose internal representation by storing an externally mutable object into AbstractCompiler.libraries | MALICIOUS_CODE | EI_EXPOSE_REP2 | 18 | Medium |
org.bbqjs.compiler.css.CompilableCSSFile
Bug | Category | Details | Line | Priority |
---|
org.bbqjs.compiler.css.CompilableCSSFile inherits equals and uses Object.hashCode() | BAD_PRACTICE | HE_INHERITS_EQUALS_USE_HASHCODE | 15 | Medium |
org.bbqjs.compiler.javascript.CompilableJavaScriptFile
Bug | Category | Details | Line | Priority |
---|
org.bbqjs.compiler.javascript.CompilableJavaScriptFile inherits equals and uses Object.hashCode() | BAD_PRACTICE | HE_INHERITS_EQUALS_USE_HASHCODE | 11 | Medium |
org.bbqjs.compiler.javascript.JavaScriptCompiler
Bug | Category | Details | Line | Priority |
---|
Method org.bbqjs.compiler.javascript.JavaScriptCompiler.writePackageNames(Map, int, String, OutputStream) concatenates strings using + in a loop | PERFORMANCE | SBSC_USE_STRINGBUFFER_CONCATENATION | 109 | Medium |
Method org.bbqjs.compiler.javascript.JavaScriptCompiler.writePackageNames(Map, int, String, OutputStream) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 122 | Medium |
org.bbqjs.compiler.language.CompilableLanguageFile
Bug | Category | Details | Line | Priority |
---|
org.bbqjs.compiler.language.CompilableLanguageFile inherits equals and uses Object.hashCode() | BAD_PRACTICE | HE_INHERITS_EQUALS_USE_HASHCODE | 17 | Medium |
org.bbqjs.compiler.language.LanguageCompiler
Bug | Category | Details | Line | Priority |
---|
Method org.bbqjs.compiler.language.LanguageCompiler.createProperties(URL, String[]) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 68 | Medium |
org.bbqjs.compiler.util.Utils