PMD Results

The following document contains the results of PMD 4.2.2.

Files

net/sourceforge/acelogger/appender/stream/BaseLogStream.java

ViolationLine
This abstract class does not have any abstract methods17 - 19
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead.17 - 19

net/sourceforge/acelogger/appender/TextFileAppender.java

ViolationLine
Avoid variables with short names like f82

net/sourceforge/acelogger/configuration/parser/PropertiesConfigurationLoader.java

ViolationLine
Avoid unused local variables such as 'keyName'.42

net/sourceforge/acelogger/execution/InternalLogger.java

ViolationLine
Avoid empty catch blocks69 - 71
Avoid empty catch blocks71 - 73
Avoid empty catch blocks73 - 75
A catch statement should never catch throwable since it includes errors.75

net/sourceforge/acelogger/execution/LogController.java

ViolationLine
Avoid unused imports such as 'java.lang.Thread.UncaughtExceptionHandler'17
Avoid unused imports such as 'java.lang.Thread.UncaughtExceptionHandler'17
Avoid unused imports such as 'net.sourceforge.acelogger.GenericLogger'22
Avoid unused imports such as 'net.sourceforge.acelogger.GenericLogger'22
Avoid unused imports such as 'net.sourceforge.acelogger.appender.Appender'24
Avoid unused imports such as 'net.sourceforge.acelogger.appender.Appender'24
Avoid unused imports such as 'net.sourceforge.acelogger.appender.SystemErrAppender'25
Avoid unused imports such as 'net.sourceforge.acelogger.appender.SystemErrAppender'25
Avoid unused imports such as 'net.sourceforge.acelogger.constants.LevelFilterConstants'26
Avoid unused imports such as 'net.sourceforge.acelogger.constants.LevelFilterConstants'26
Avoid unused imports such as 'net.sourceforge.acelogger.formatter.Formatter'34
Avoid unused imports such as 'net.sourceforge.acelogger.formatter.Formatter'34
Avoid unused imports such as 'net.sourceforge.acelogger.formatter.SimpleFormatter'35
Avoid unused imports such as 'net.sourceforge.acelogger.formatter.SimpleFormatter'35
Avoid unused imports such as 'net.sourceforge.acelogger.level.filter.LevelFilter'36
Avoid unused imports such as 'net.sourceforge.acelogger.level.filter.LevelFilter'36
Avoid unused imports such as 'net.sourceforge.acelogger.location.gatherer.FullLocationGatherer'37
Avoid unused imports such as 'net.sourceforge.acelogger.location.gatherer.FullLocationGatherer'37
Avoid unused imports such as 'net.sourceforge.acelogger.location.gatherer.LocationGatherer'38
Avoid unused imports such as 'net.sourceforge.acelogger.location.gatherer.LocationGatherer'38
Avoid unused imports such as 'net.sourceforge.acelogger.location.resolver.InternalCodeFrameResolver'39
Avoid unused imports such as 'net.sourceforge.acelogger.location.resolver.InternalCodeFrameResolver'39
Avoid empty if statements85 - 87

net/sourceforge/acelogger/location/LogEventLocation.java

ViolationLine
Prefer StringBuffer over += for concatenating strings357