The following document contains the results of FindBugs
FindBugs Version is 3.0.1
Threshold is medium
Effort is min
Class | Bugs |
---|---|
org.codehaus.plexus.compiler.csharp.CSharpCompiler | 5 |
org.codehaus.plexus.compiler.csharp.JarUtil | 3 |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Found reliance on default encoding in org.codehaus.plexus.compiler.csharp.CSharpCompiler.compileOutOfProcess(File, File, String, String[]): new java.io.FileWriter(File) | I18N | DM_DEFAULT_ENCODING | 484 | High |
Possible null pointer dereference in org.codehaus.plexus.compiler.csharp.CSharpCompiler.buildCompilerArguments(CompilerConfiguration, String[]) due to return value of called method | STYLE | NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE | 283 | Medium |
Exceptional return value of java.io.File.mkdir() ignored in org.codehaus.plexus.compiler.csharp.CSharpCompiler.buildCompilerArguments(CompilerConfiguration, String[]) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 280 | Medium |
Exceptional return value of java.io.File.mkdirs() ignored in org.codehaus.plexus.compiler.csharp.CSharpCompiler.performCompile(CompilerConfiguration) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 105 | Medium |
org.codehaus.plexus.compiler.csharp.CSharpCompiler.getCompilerArguments(CompilerConfiguration) makes inefficient use of keySet iterator instead of entrySet iterator | PERFORMANCE | WMI_WRONG_MAP_ITERATOR | 162 | Medium |
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
org.codehaus.plexus.compiler.csharp.JarUtil.extract(File, File) may fail to clean up java.io.OutputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE | 25 | Medium |
org.codehaus.plexus.compiler.csharp.JarUtil.extract(File, File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 14 | Medium |
Exceptional return value of java.io.File.mkdir() ignored in org.codehaus.plexus.compiler.csharp.JarUtil.extract(File, File) | BAD_PRACTICE | RV_RETURN_VALUE_IGNORED_BAD_PRACTICE | 21 | Medium |