The following document contains the results of PMD 4.2.5.
Violation | Line |
---|---|
Avoid empty if statements | 147 - 149 |
Avoid empty if statements | 165 - 167 |
Violation | Line |
---|---|
Avoid unused private methods such as 'generateStatementsForSQLiteDatabase(Database)'. | 100 |
Violation | Line |
---|---|
Avoid unused private methods such as 'generateStatementsForSQLiteDatabase(Database)'. | 94 |
Violation | Line |
---|---|
Avoid unused private methods such as 'generateStatementsForSQLiteDatabase(Database)'. | 131 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sql.visitor.SqlVisitor' | 11 |
Violation | Line |
---|---|
Avoid unused private methods such as 'generateStatementsForSQLiteDatabase(Database)'. | 74 |
Violation | Line |
---|---|
Avoid unused private methods such as 'generateStatementsForSQLiteDatabase(Database)'. | 76 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'database'. | 58 - 63 |
Violation | Line |
---|---|
Avoid unused private methods such as 'generateStatementsForSQLiteDatabase(Database)'. | 75 |
Violation | Line |
---|---|
Avoid unused private methods such as 'generateStatementsForSQLiteDatabase(Database)'. | 65 |
Violation | Line |
---|---|
Avoid unused private methods such as 'generateStatementsForSQLiteDatabase(Database)'. | 81 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 103 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 174 |
An empty statement (semicolon) not part of a loop | 251 |
Violation | Line |
---|---|
Overriding method merely calls super | 21 - 24 |
Violation | Line |
---|---|
Avoid unused private methods such as 'generateStatementsForSQLiteDatabase(Database)'. | 83 |
Violation | Line |
---|---|
These nested if statements could be combined | 129 - 137 |
Avoid unused local variables such as 'dotIndex'. | 166 |
Violation | Line |
---|---|
Avoid unused local variables such as 'ranChangeSet'. | 388 |
Avoid empty catch blocks | 418 - 420 |
Violation | Line |
---|---|
Avoid empty if statements | 26 - 28 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.executor.ExecutorService' | 7 |
Avoid unused imports such as 'liquibase.sql.visitor.SqlVisitor' | 8 |
Avoid unused imports such as 'liquibase.statement.core.UpdateStatement' | 9 |
Avoid unused imports such as 'java.util.ArrayList' | 11 |
Avoid unused private fields such as 'database'. | 17 |
Violation | Line |
---|---|
These nested if statements could be combined | 105 - 109 |
These nested if statements could be combined | 106 - 108 |
Violation | Line |
---|---|
Do not hard code IPv4 or IPv6 addresses, even 127.0.0.1 ! | 1150 |
Violation | Line |
---|---|
Avoid unused private methods such as 'getConcatSql(List)'. | 148 |
These nested if statements could be combined | 180 - 182 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.statement.DatabaseFunction' | 7 |
Avoid unused private methods such as 'getConcatSql(List)'. | 85 |
These nested if statements could be combined | 138 - 140 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.logging.LogFactory' | 8 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 44 |
Violation | Line |
---|---|
Overriding method merely calls super | 218 - 220 |
Avoid unused private methods such as 'catalogExists(String)'. | 318 |
Violation | Line |
---|---|
These nested if statements could be combined | 143 - 145 |
Violation | Line |
---|---|
Overriding method merely calls super | 201 - 204 |
Violation | Line |
---|---|
Avoid empty catch blocks | 40 - 42 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 30 |
An empty statement (semicolon) not part of a loop | 51 |
Violation | Line |
---|---|
Avoid unused private methods such as 'toDisplayString(List)'. | 202 |
Violation | Line |
---|---|
Avoid empty if statements | 113 - 115 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.database.Database' | 3 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.database.Database' | 3 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 3 |
Violation | Line |
---|---|
These nested if statements could be combined | 437 - 439 |
These nested if statements could be combined | 444 - 446 |
Violation | Line |
---|---|
These nested if statements could be combined | 26 - 34 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.database.core.H2Database' | 9 |
Violation | Line |
---|---|
Avoid empty if statements | 78 - 80 |
These nested if statements could be combined | 90 - 114 |
Violation | Line |
---|---|
These nested if statements could be combined | 30 - 37 |
These nested if statements could be combined | 75 - 77 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.Liquibase' | 3 |
Violation | Line |
---|---|
These nested if statements could be combined | 249 - 251 |
Violation | Line |
---|---|
These nested if statements could be combined | 638 - 645 |
These nested if statements could be combined | 654 - 665 |
Avoid empty if statements | 970 - 972 |
Avoid empty if statements | 972 - 974 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.change.CheckSum' | 3 |
Avoid unused imports such as 'liquibase.changelog.RanChangeSet' | 5 |
Avoid unused private fields such as 'database'. | 26 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.exception.StatementNotSupportedOnDatabaseException' | 5 |
Avoid unused imports such as 'java.util.Set' | 12 |
Violation | Line |
---|---|
Avoid empty catch blocks | 93 - 95 |
Violation | Line |
---|---|
Avoid unused local variables such as 'logger'. | 294 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.apache.tools.ant.AntClassLoader' | 4 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.apache.tools.ant.AntClassLoader' | 5 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 580 |
An empty statement (semicolon) not part of a loop | 587 |
Avoid unused private methods such as 'getCommandParam(String)'. | 758 |
Violation | Line |
---|---|
Avoid empty catch blocks | 238 - 240 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 67 |
An empty statement (semicolon) not part of a loop | 129 |
An empty statement (semicolon) not part of a loop | 166 |
Violation | Line |
---|---|
Avoid empty catch blocks | 187 - 188 |
Violation | Line |
---|---|
Avoid unused private fields such as 'LIQUIBASE_FILE_SEPARATOR'. | 70 |
Violation | Line |
---|---|
Avoid empty catch blocks | 66 - 68 |
Avoid empty catch blocks | 68 - 70 |
Avoid empty catch blocks | 143 - 145 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 33 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.exception.UnexpectedLiquibaseException' | 10 |
Avoid unused imports such as 'liquibase.exception.ValidationFailedException' | 11 |
Violation | Line |
---|---|
Avoid unused local variables such as 'connection'. | 50 |
Violation | Line |
---|---|
Avoid empty catch blocks | 106 - 108 |
Violation | Line |
---|---|
Avoid empty catch blocks | 41 - 44 |
Avoid empty catch blocks | 174 - 177 |
Avoid empty catch blocks | 374 - 375 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.lang.annotation.Annotation' | 3 |
Violation | Line |
---|---|
These nested if statements could be combined | 153 - 155 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.database.AbstractDatabase' | 4 |
Avoid unused imports such as 'liquibase.servicelocator.PrioritizedService' | 10 |
Violation | Line |
---|---|
These nested if statements could be combined | 43 - 47 |
Violation | Line |
---|---|
Avoid empty catch blocks | 86 - 87 |
Avoid empty catch blocks | 105 - 106 |
Avoid empty catch blocks | 151 - 152 |
Avoid empty catch blocks | 177 - 178 |
Avoid empty catch blocks | 342 - 343 |
Avoid empty catch blocks | 366 - 367 |
Avoid empty catch blocks | 437 - 438 |
Avoid empty catch blocks | 443 - 444 |
Avoid empty catch blocks | 741 - 743 |
Avoid empty catch blocks | 792 - 793 |
Avoid empty catch blocks | 798 - 799 |
Avoid empty catch blocks | 961 - 962 |
Avoid empty catch blocks | 967 - 968 |
Violation | Line |
---|---|
Avoid empty catch blocks | 68 - 69 |
Avoid empty catch blocks | 74 - 75 |
Violation | Line |
---|---|
Avoid empty catch blocks | 131 - 132 |
Avoid empty catch blocks | 158 - 159 |
Avoid empty catch blocks | 201 - 202 |
Avoid empty catch blocks | 207 - 208 |
Avoid empty catch blocks | 245 - 246 |
Avoid empty catch blocks | 252 - 253 |
Violation | Line |
---|---|
Avoid empty catch blocks | 99 - 100 |
Avoid empty catch blocks | 139 - 140 |
Violation | Line |
---|---|
Avoid empty catch blocks | 238 - 239 |
Avoid empty catch blocks | 262 - 263 |
Avoid empty catch blocks | 394 - 395 |
Avoid empty catch blocks | 400 - 401 |
Avoid empty catch blocks | 410 - 411 |
Avoid empty catch blocks | 416 - 417 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.database.Database' | 4 |
Avoid unused imports such as 'java.util.Collection' | 7 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Collection' | 6 |
Violation | Line |
---|---|
These nested if statements could be combined | 101 - 103 |
These nested if statements could be combined | 132 - 134 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.statement.core.CreateViewStatement' | 8 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 14 |
Violation | Line |
---|---|
These nested if statements could be combined | 63 - 65 |
These nested if statements could be combined | 79 - 81 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 10 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.database.core.SybaseDatabase' | 6 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 11 |
Avoid empty if statements | 65 - 67 |
Avoid empty if statements | 67 - 69 |
Avoid empty if statements | 77 - 79 |
Avoid empty if statements | 79 - 81 |
Avoid empty if statements | 81 - 84 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 49 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 71 |
Violation | Line |
---|---|
These nested if statements could be combined | 65 - 67 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 7 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 7 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 9 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 7 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 9 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 9 |
Violation | Line |
---|---|
These nested if statements could be combined | 64 - 66 |
These nested if statements could be combined | 69 - 71 |
Violation | Line |
---|---|
These nested if statements could be combined | 116 - 141 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 9 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 11 |
Violation | Line |
---|---|
These nested if statements could be combined | 40 - 42 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 8 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 7 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 8 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 8 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 10 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 10 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 8 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 6 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 9 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.database.core.H2Database' | 4 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 8 |
Violation | Line |
---|---|
Avoid empty catch blocks | 156 - 157 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.database.typeconversion.TypeConverterFactory' | 5 |
Avoid unused imports such as 'liquibase.exception.ValidationErrors' | 6 |
Avoid unused imports such as 'liquibase.sql.Sql' | 7 |
Avoid unused imports such as 'liquibase.sql.UnparsedSql' | 8 |
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGeneratorChain' | 9 |
Avoid unused imports such as 'liquibase.statement.core.UpdateStatement' | 11 |
Avoid unused imports such as 'java.util.Date' | 13 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 8 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 7 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 8 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 7 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 9 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 6 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 8 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 8 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 10 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 8 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 10 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.database.core.H2Database' | 4 |
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 11 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 8 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 10 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 10 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 10 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 9 |
Violation | Line |
---|---|
Avoid empty catch blocks | 57 - 59 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 10 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 7 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 9 |
Avoid unused imports such as 'liquibase.statement.SqlStatement' | 12 |
An empty statement (semicolon) not part of a loop | 44 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 6 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.changelog.RanChangeSet' | 4 |
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 8 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 8 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 14 |
Violation | Line |
---|---|
Avoid empty catch blocks | 33 - 35 |
Avoid empty catch blocks | 35 - 38 |
Avoid empty catch blocks | 53 - 55 |
Avoid empty catch blocks | 55 - 58 |
These nested if statements could be combined | 98 - 100 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'colType'. | 59 - 165 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 277 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.io.File' | 15 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 23 |
Violation | Line |
---|---|
These nested if statements could be combined | 284 - 288 |
These nested if statements could be combined | 285 - 287 |
Violation | Line |
---|---|
Avoid unused imports such as 'liquibase.sqlgenerator.SqlGenerator' | 7 |