The following document contains the results of FindBugs Report
FindBugs Version is 1.1.1
Threshold is Low
Effort is Default
| Classes | Bugs | Errors | Missing Classes |
|---|---|---|---|
| 175 | 7 | 1 | 15 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Possible null pointer dereference of is in org.apache.commons.jci.examples.configuration.ConfigurationReloading$1.onStop(org.apache.commons.jci.monitor.FilesystemAlterationObserver) on exception path | CORRECTNESS | NP_NULL_ON_SOME_PATH_EXCEPTION | 74 |
| Method org.apache.commons.jci.examples.configuration.ConfigurationReloading$1.onStop(org.apache.commons.jci.monitor.FilesystemAlterationObserver) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught | STYLE | REC_CATCH_EXCEPTION | 70 |
| The class org.apache.commons.jci.examples.configuration.ConfigurationReloading$1 could be refactored into a named _static_ inner class | PERFORMANCE | SIC_INNER_SHOULD_BE_STATIC_ANON | Not available |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.commons.jci.examples.serverpages.JspGenerator.generateJavaSource(String,java.io.File) may fail to close stream | BAD_PRACTICE | OS_OPEN_STREAM | 75 |
| Bug | Category | Details | Line |
|---|---|---|---|
| org.apache.commons.jci.examples.serverpages.ServerPageServlet.ServerPageServlet() creates a org.apache.commons.jci.ReloadingClassLoader classloader, which should be performed within a doPrivileged block | BAD_PRACTICE | DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED | 58 |
| Bug | Category | Details | Line |
|---|---|---|---|
| Field not initialized in constructor: org.apache.commons.jci.examples.serverpages.ServerPageServlet$1.newClasses | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |
| Field not initialized in constructor: org.apache.commons.jci.examples.serverpages.ServerPageServlet$1.newServletsByClassname | STYLE | UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR | Not available |