PMD Results

The following document contains the results of PMD.

Summary

FilesErrors
1128

Files

FilesViolations
com/mungoknotwise/sqlcli/BasicPrintStreamed.java 1
com/mungoknotwise/sqlcli/DescribeCommand.java 1
com/mungoknotwise/sqlcli/PrintStreamedDescribeResultSetExtractor.java 14
com/mungoknotwise/sqlcli/PrintStreamedExceptionHandler.java 1
com/mungoknotwise/sqlcli/PrintStreamedResultSetExtractor.java 2
com/mungoknotwise/sqlcli/PrintStreamedShowTablesResultSetExtractor.java 4
com/mungoknotwise/sqlcli/PrintStreamedUpdateRowcountHandler.java 1
com/mungoknotwise/sqlcli/SelectCommand.java 1
com/mungoknotwise/sqlcli/ShowTablesCommand.java 1
com/mungoknotwise/sqlcli/SqlCli.java 1
com/mungoknotwise/sqlcli/UpdateCommand.java 1

com/mungoknotwise/sqlcli/BasicPrintStreamed.java

ViolationLine
Avoid unused private fields such as 'logger' 37

com/mungoknotwise/sqlcli/DescribeCommand.java

ViolationLine
Avoid unused private fields such as 'logger' 38

com/mungoknotwise/sqlcli/PrintStreamedDescribeResultSetExtractor.java

ViolationLine
Avoid unused imports such as 'DatabaseMetaData' 18
Avoid unused private fields such as 'COLUMN_NAME_INDEX' 72
Avoid unused private fields such as 'DATA_TYPE_INDEX' 73
Avoid unused private fields such as 'COLUMN_TYPE_INDEX' 74
Avoid unused private fields such as 'COLUMN_SIZE_INDEX' 75
Avoid unused private fields such as 'DECIMAL_DIGITS_INDEX' 76
Avoid unused private fields such as 'DEFAULT_VALUE_INDEX' 77
Avoid unused private fields such as 'NULLABLE_INDEX' 78
Avoid unused private fields such as 'columnNameColumnSize' 86
Avoid unused private fields such as 'columnTypeColumnSize' 87
Avoid unused private fields such as 'justify' 92
Avoid unused local variables such as 'needsFooter' 152
Avoid empty 'if' statements 212
Avoid unused private methods such as 'configureOutput' 389

com/mungoknotwise/sqlcli/PrintStreamedExceptionHandler.java

ViolationLine
Avoid unused private fields such as 'logger' 36

com/mungoknotwise/sqlcli/PrintStreamedResultSetExtractor.java

ViolationLine
Avoid unused private fields such as 'logger' 41
Avoid unused local variables such as 'columnTypeName' 253

com/mungoknotwise/sqlcli/PrintStreamedShowTablesResultSetExtractor.java

ViolationLine
Avoid unused private fields such as 'catalogNameColumnSize' 64
Avoid unused private fields such as 'schemaNameColumnSize' 69
Avoid unused local variables such as 'catalogName' 122
Avoid unused local variables such as 'schemaName' 123

com/mungoknotwise/sqlcli/PrintStreamedUpdateRowcountHandler.java

ViolationLine
Avoid unused private fields such as 'logger' 36

com/mungoknotwise/sqlcli/SelectCommand.java

ViolationLine
Avoid unused private fields such as 'logger' 38

com/mungoknotwise/sqlcli/ShowTablesCommand.java

ViolationLine
Avoid unused private fields such as 'logger' 37

com/mungoknotwise/sqlcli/SqlCli.java

ViolationLine
Avoid unused local variables such as 'writer' 974

com/mungoknotwise/sqlcli/UpdateCommand.java

ViolationLine
Avoid unused private fields such as 'logger' 36