FindBugs Bug Detector Report

The following document contains the results of FindBugs Report

FindBugs Version is 1.2.0

Threshold is Low

Effort is Default

Summary

ClassesBugsErrorsMissing Classes
2802500

Files

ClassBugs
com.pyx4j.log.Log4jJMX1
com.pyx4j.log.RollingFileAppender7
com.pyx4j.log.RollingFileAppender$FileListByDateComparator1
com.pyx4j.utils.AppConfiguration3
com.pyx4j.utils.CmdArgs1
com.pyx4j.utils.Execute4
com.pyx4j.utils.Execute$StreamReaderThread1
com.pyx4j.utils.ExtProperties2
com.pyx4j.utils.JFigLocatorDefault1
com.pyx4j.utils.service.SocketAcceptorService1
com.pyx4j.utils.service.StreamRelayer3

com.pyx4j.log.Log4jJMX

BugCategoryDetailsLine
Exception is caught when Exception is not thrown in com.pyx4j.log.Log4jJMX.registerAppenderMBean(String, Appender)STYLEREC_CATCH_EXCEPTION151

com.pyx4j.log.RollingFileAppender

BugCategoryDetailsLine
Result of integer multiplication cast to long in com.pyx4j.log.RollingFileAppender.rollOver()STYLEICAST_INTEGER_MULTIPLY_CAST_TO_LONG143
Inconsistent synchronization of com.pyx4j.log.RollingFileAppender.fileCreated; locked 60% of timeMT_CORRECTNESSIS2_INCONSISTENT_SYNC180
com.pyx4j.log.RollingFileAppender.debug should be package protectedMALICIOUS_CODEMS_PKGPROTECT63
com.pyx4j.log.RollingFileAppender.nameVariables isn't final but should beMALICIOUS_CODEMS_SHOULD_BE_FINAL59
Method call in com.pyx4j.log.RollingFileAppender.executeActivateOptions() passes null for unconditionally dereferenced parameter of String.replaceAll(String, String)CORRECTNESSNP_NULL_PARAM_DEREF97
Should com.pyx4j.log.RollingFileAppender.sortFileListByDate(File[]) return a zero length array rather than null?STYLEPZLA_PREFER_ZERO_LENGTH_ARRAYS227
Write to static field com.pyx4j.log.RollingFileAppender.debug from instance method com.pyx4j.log.RollingFileAppender.setDebug(boolean)STYLEST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD409

com.pyx4j.log.RollingFileAppender$FileListByDateComparator

BugCategoryDetailsLine
com.pyx4j.log.RollingFileAppender$FileListByDateComparator implements Comparator but not SerializableBAD_PRACTICESE_COMPARATOR_SHOULD_BE_SERIALIZABLENot available

com.pyx4j.utils.AppConfiguration

BugCategoryDetailsLine
Dead store of null to is in com.pyx4j.utils.AppConfiguration.loadProperties(Properties, URL)STYLEDLS_DEAD_LOCAL_STORE_OF_NULL259
com.pyx4j.utils.AppConfiguration.development should be package protectedMALICIOUS_CODEMS_PKGPROTECTNot available
Method com.pyx4j.utils.AppConfiguration.logSystemProperty() makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR322

com.pyx4j.utils.CmdArgs

BugCategoryDetailsLine
Dead store to name in com.pyx4j.utils.CmdArgs.isArgsName(String)STYLEDLS_DEAD_LOCAL_STORE41

com.pyx4j.utils.Execute

BugCategoryDetailsLine
Potentially dangerous use of non-short-circuit logic in com.pyx4j.utils.Execute.executeCommand(String, PrintStream, PrintStream)CORRECTNESSNS_DANGEROUS_NON_SHORT_CIRCUIT132
com.pyx4j.utils.Execute.executeCommand(String, PrintStream, PrintStream) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM124
com.pyx4j.utils.Execute.executeCommand(String, PrintStream, PrintStream) may fail to close streamBAD_PRACTICEOS_OPEN_STREAM128
Exception is caught when Exception is not thrown in com.pyx4j.utils.Execute.executeCommand(String, PrintStream, PrintStream)STYLEREC_CATCH_EXCEPTION148

com.pyx4j.utils.Execute$StreamReaderThread

BugCategoryDetailsLine
Unread field: com.pyx4j.utils.Execute$StreamReaderThread.redirectLogPERFORMANCEURF_UNREAD_FIELD37

com.pyx4j.utils.ExtProperties

BugCategoryDetailsLine
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE105
com.pyx4j.utils.ExtProperties.retrieveEnvVars() may fail to close streamBAD_PRACTICEOS_OPEN_STREAM114

com.pyx4j.utils.JFigLocatorDefault

BugCategoryDetailsLine
Use of non-localized String.toUpperCase() or String.toLowerCaseI18NDM_CONVERT_CASE31

com.pyx4j.utils.service.SocketAcceptorService

BugCategoryDetailsLine
Class com.pyx4j.utils.service.SocketAcceptorService implements same interface as superclassSTYLERI_REDUNDANT_INTERFACESNot available

com.pyx4j.utils.service.StreamRelayer

BugCategoryDetailsLine
Invocation of toString on an array in com.pyx4j.utils.service.StreamRelayer.execute()CORRECTNESSDMI_INVOKING_TOSTRING_ON_ARRAY62
Possible null pointer dereference of StreamRelayer.listeners in com.pyx4j.utils.service.StreamRelayer.notifyListeners()CORRECTNESSNP_NULL_ON_SOME_PATH114
Class com.pyx4j.utils.service.StreamRelayer implements same interface as superclassSTYLERI_REDUNDANT_INTERFACESNot available