FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 2.0.3

Threshold is medium

Effort is min

Summary

Classes Bugs Errors Missing Classes
13 10 0 0

gboat2.base.logging.action.LogConfigAction

Bug Category Details Line Priority
Found reliance on default encoding in gboat2.base.logging.action.LogConfigAction.readFromFile(String): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 369 High
Found reliance on default encoding in gboat2.base.logging.action.LogConfigAction.writeToFile(String): String.getBytes() I18N DM_DEFAULT_ENCODING 451 High
gboat2.base.logging.action.LogConfigAction.loadProperties(String) may fail to clean up java.io.InputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 339 Medium
gboat2.base.logging.action.LogConfigAction.storeProperties(Properties, String) may fail to clean up java.io.OutputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 355 Medium
gboat2.base.logging.action.LogConfigAction.writeToFile(String) may fail to clean up java.io.OutputStream on checked exception EXPERIMENTAL OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE 414 Medium
Redundant nullcheck of split, which is known to be non-null in gboat2.base.logging.action.LogConfigAction.writeToFile(String) STYLE RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE 424 Medium

gboat2.base.logging.action.SystemLogAction

Bug Category Details Line Priority
Found reliance on default encoding in gboat2.base.logging.action.SystemLogAction.systemLogRead(): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 48 High
gboat2.base.logging.action.SystemLogAction.systemLogRead() may fail to close stream BAD_PRACTICE OS_OPEN_STREAM 49 Medium

gboat2.base.logging.service.impl.SystemLogServiceImpl

Bug Category Details Line Priority
Found reliance on default encoding in gboat2.base.logging.service.impl.SystemLogServiceImpl.getTotalLineNumber(File): new java.io.FileReader(File) I18N DM_DEFAULT_ENCODING 29 High

gboat2.base.logging.util.Priority

Bug Category Details Line Priority
gboat2.base.logging.util.Priority.DEFAULT_LEVEL should be package protected MALICIOUS_CODE MS_PKGPROTECT 29 Medium