Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
52913842066

Files

FilesInfosWarningsErrors
liquibase/Liquibase.java010
liquibase/change/Change.java010
liquibase/change/ChangeFactory.java110
liquibase/change/CheckSum.java200
liquibase/change/ColumnConfig.java040
liquibase/change/core/AddForeignKeyConstraintChange.java020
liquibase/change/core/AddNotNullConstraintChange.java001
liquibase/change/core/AddPrimaryKeyChange.java003
liquibase/change/core/AddUniqueConstraintChange.java003
liquibase/change/core/DropAllForeignKeyConstraintsChange.java020
liquibase/change/core/DropColumnChange.java001
liquibase/change/core/DropDefaultValueChange.java001
liquibase/change/core/DropNotNullConstraintChange.java001
liquibase/change/core/DropPrimaryKeyChange.java001
liquibase/change/core/DropUniqueConstraintChange.java001
liquibase/change/core/ExecuteShellCommandChange.java010
liquibase/change/core/LoadDataChange.java070
liquibase/change/core/LoadUpdateDataChange.java010
liquibase/change/core/MergeColumnChange.java003
liquibase/change/core/RenameColumnChange.java001
liquibase/changelog/ChangeSet.java015
liquibase/changelog/DatabaseChangeLog.java020
liquibase/changelog/RanChangeSet.java200
liquibase/changelog/filter/ContextChangeSetFilter.java010
liquibase/changelog/filter/DbmsChangeSetFilter.java010
liquibase/changelog/filter/NotRanChangeSetFilter.java001
liquibase/changelog/filter/RanChangeSetFilter.java001
liquibase/changelog/filter/ShouldRunChangeSetFilter.java151
liquibase/changelog/visitor/DBDocVisitor.java122
liquibase/database/AbstractDatabase.java1061
liquibase/database/Database.java802
liquibase/database/core/DB2Database.java200
liquibase/database/core/DerbyDatabase.java500
liquibase/database/core/H2Database.java003
liquibase/database/core/HsqlDatabase.java013
liquibase/database/core/InformixDatabase.java010
liquibase/database/core/MSSQLDatabase.java030
liquibase/database/core/OracleDatabase.java320
liquibase/database/core/PostgresDatabase.java160
liquibase/database/core/SQLiteDatabase.java007
liquibase/database/core/SybaseDatabase.java040
liquibase/database/jvm/HsqlConnection.java020
liquibase/database/structure/Column.java220
liquibase/database/structure/ForeignKey.java340
liquibase/database/structure/Index.java230
liquibase/database/structure/PrimaryKey.java120
liquibase/database/structure/Schema.java030
liquibase/database/structure/Sequence.java020
liquibase/database/structure/Table.java020
liquibase/database/structure/UniqueConstraint.java230
liquibase/database/structure/View.java020
liquibase/database/structure/type/BooleanType.java030
liquibase/database/structure/type/CharType.java010
liquibase/database/structure/type/ClobType.java010
liquibase/database/structure/type/DataType.java010
liquibase/database/structure/type/DatabaseFunctionType.java020
liquibase/database/structure/type/DateTimeType.java020
liquibase/database/structure/type/DateType.java020
liquibase/database/structure/type/NumberType.java100
liquibase/database/structure/type/SmallIntType.java030
liquibase/database/structure/type/TimeType.java020
liquibase/database/typeconversion/TypeConverterFactory.java100
liquibase/database/typeconversion/core/AbstractTypeConverter.java4350
liquibase/database/typeconversion/core/H2TypeConverter.java010
liquibase/database/typeconversion/core/HsqlTypeConverter.java010
liquibase/database/typeconversion/core/MSSQLTypeConverter.java130
liquibase/database/typeconversion/core/MySQLTypeConverter.java010
liquibase/database/typeconversion/core/OracleTypeConverter.java010
liquibase/database/typeconversion/core/Postgres83TypeConverter.java200
liquibase/database/typeconversion/core/SQLiteTypeConverter.java050
liquibase/dbdoc/PendingSQLWriter.java010
liquibase/diff/DiffResult.java040
liquibase/exception/ValidationFailedException.java120
liquibase/executor/AbstractExecutor.java020
liquibase/executor/ExecutorService.java100
liquibase/executor/jvm/StatementCreatorUtils.java110
liquibase/integration/ant/BaseLiquibaseTask.java220
liquibase/integration/ant/ChangeLogSyncTask.java110
liquibase/integration/ant/DBDocTask.java110
liquibase/integration/ant/DatabaseRollbackFutureTask.java100
liquibase/integration/ant/DatabaseRollbackTask.java100
liquibase/integration/ant/DatabaseUpdateTask.java100
liquibase/integration/ant/DatabaseUpdateTestingRollbackTask.java100
liquibase/integration/ant/DiffDatabaseTask.java100
liquibase/integration/ant/DropAllTask.java100
liquibase/integration/ant/GenerateChangeLogTask.java100
liquibase/integration/ant/MarkNextChangeSetRanTask.java100
liquibase/integration/ant/TagDatabaseTask.java100
liquibase/integration/commandline/CommandLineUtils.java021
liquibase/integration/commandline/Main.java341
liquibase/integration/servlet/LiquibaseServletListener.java010
liquibase/integration/spring/SpringLiquibase.java010
liquibase/lockservice/LockService.java630
liquibase/parser/ChangeLogParserFactory.java100
liquibase/parser/core/formattedsql/FormattedSqlChangeLogParser.java110
liquibase/parser/core/xml/LiquibaseEntityResolver.java010
liquibase/parser/core/xml/XMLChangeLogSAXHandler.java381
liquibase/precondition/PreconditionFactory.java100
liquibase/precondition/core/NotPrecondition.java010
liquibase/precondition/core/PreconditionContainer.java020
liquibase/precondition/core/ViewExistsPrecondition.java010
liquibase/resource/CompositeResourceAccessor.java050
liquibase/resource/FileSystemResourceAccessor.java020
liquibase/serializer/ChangeLogSerializerFactory.java110
liquibase/serializer/core/string/StringChangeLogSerializer.java030
liquibase/serializer/core/xml/XMLChangeLogSerializer.java070
liquibase/servicelocator/DefaultPackageScanClassResolver.java230
liquibase/servicelocator/PackageScanClassResolver.java010
liquibase/servicelocator/ServiceLocator.java410
liquibase/snapshot/DatabaseSnapshotGenerator.java020
liquibase/snapshot/DatabaseSnapshotGeneratorFactory.java100
liquibase/snapshot/jvm/DB2DatabaseSnapshotGenerator.java010
liquibase/snapshot/jvm/DerbyDatabaseSnapshotGenerator.java010
liquibase/snapshot/jvm/InformixDatabaseSnapshotGenerator.java1301
liquibase/snapshot/jvm/JdbcDatabaseSnapshotGenerator.java0200
liquibase/snapshot/jvm/MySQLDatabaseSnapshotGenerator.java070
liquibase/snapshot/jvm/OracleDatabaseSnapshotGenerator.java0185
liquibase/snapshot/jvm/PostgresDatabaseSnapshotGenerator.java043
liquibase/snapshot/jvm/SQLiteDatabaseSnapshotGenerator.java087
liquibase/sql/visitor/AbstractSqlVisitor.java020
liquibase/sql/visitor/SqlVisitor.java010
liquibase/sql/visitor/SqlVisitorFactory.java101
liquibase/sqlgenerator/SqlGeneratorFactory.java100
liquibase/sqlgenerator/core/AbstractSqlGenerator.java010
liquibase/sqlgenerator/core/AddAutoIncrementGenerator.java030
liquibase/sqlgenerator/core/AddAutoIncrementGeneratorDB2.java010
liquibase/sqlgenerator/core/AddAutoIncrementGeneratorHsqlH2.java010
liquibase/sqlgenerator/core/AddAutoIncrementGeneratorInformix.java010
liquibase/sqlgenerator/core/AddAutoIncrementGeneratorSQLite.java001
liquibase/sqlgenerator/core/AddColumnGenerator.java020
liquibase/sqlgenerator/core/AddColumnGeneratorSQLite.java010
liquibase/sqlgenerator/core/AddDefaultValueGenerator.java020
liquibase/sqlgenerator/core/AddDefaultValueGeneratorDerby.java010
liquibase/sqlgenerator/core/AddDefaultValueGeneratorInformix.java020
liquibase/sqlgenerator/core/AddDefaultValueGeneratorMSSQL.java010
liquibase/sqlgenerator/core/AddDefaultValueGeneratorMaxDB.java010
liquibase/sqlgenerator/core/AddDefaultValueGeneratorMySQL.java010
liquibase/sqlgenerator/core/AddDefaultValueGeneratorOracle.java010
liquibase/sqlgenerator/core/AddDefaultValueGeneratorSybase.java010
liquibase/sqlgenerator/core/AddDefaultValueGeneratorSybaseASA.java010
liquibase/sqlgenerator/core/AddDefaultValueSQLite.java010
liquibase/sqlgenerator/core/AddForeignKeyConstraintGenerator.java0110
liquibase/sqlgenerator/core/AddPrimaryKeyGenerator.java010
liquibase/sqlgenerator/core/AddUniqueConstraintGenerator.java010
liquibase/sqlgenerator/core/ClearDatabaseChangeLogTableGenerator.java010
liquibase/sqlgenerator/core/CommentGenerator.java010
liquibase/sqlgenerator/core/CopyRowsGenerator.java010
liquibase/sqlgenerator/core/CreateDatabaseChangeLogLockTableGenerator.java010
liquibase/sqlgenerator/core/CreateDatabaseChangeLogTableGenerator.java010
liquibase/sqlgenerator/core/CreateDatabaseChangeLogTableGeneratorSybase.java010
liquibase/sqlgenerator/core/CreateSequenceGenerator.java010
liquibase/sqlgenerator/core/CreateTableGenerator.java011
liquibase/sqlgenerator/core/DeleteGenerator.java010
liquibase/sqlgenerator/core/DropDefaultValueGenerator.java020
liquibase/sqlgenerator/core/DropForeignKeyConstraintGenerator.java010
liquibase/sqlgenerator/core/DropPrimaryKeyGenerator.java010
liquibase/sqlgenerator/core/DropSequenceGenerator.java010
liquibase/sqlgenerator/core/DropViewGenerator.java010
liquibase/sqlgenerator/core/FindForeignKeyConstraintsGeneratorDB2.java010
liquibase/sqlgenerator/core/FindForeignKeyConstraintsGeneratorMSSQL.java010
liquibase/sqlgenerator/core/FindForeignKeyConstraintsGeneratorMySQL.java010
liquibase/sqlgenerator/core/FindForeignKeyConstraintsGeneratorOracle.java010
liquibase/sqlgenerator/core/FindForeignKeyConstraintsGeneratorPostgres.java030
liquibase/sqlgenerator/core/GetNextChangeSetSequenceValueGenerator.java010
liquibase/sqlgenerator/core/GetViewDefinitionGenerator.java010
liquibase/sqlgenerator/core/GetViewDefinitionGeneratorDerby.java010
liquibase/sqlgenerator/core/GetViewDefinitionGeneratorHsql.java010
liquibase/sqlgenerator/core/GetViewDefinitionGeneratorMSSQL.java010
liquibase/sqlgenerator/core/InsertGenerator.java020
liquibase/sqlgenerator/core/InsertOrUpdateGenerator.java020
liquibase/sqlgenerator/core/InsertOrUpdateGeneratorMySQL.java020
liquibase/sqlgenerator/core/InsertOrUpdateGeneratorOracle.java070
liquibase/sqlgenerator/core/LockDatabaseChangeLogGenerator.java010
liquibase/sqlgenerator/core/MarkChangeSetRanGenerator.java110
liquibase/sqlgenerator/core/ModifyDataTypeGenerator.java020
liquibase/sqlgenerator/core/RawSqlGenerator.java010
liquibase/sqlgenerator/core/ReindexGeneratorSQLite.java010
liquibase/sqlgenerator/core/RemoveChangeSetRanStatusGenerator.java010
liquibase/sqlgenerator/core/RenameColumnGenerator.java010
liquibase/sqlgenerator/core/ReorganizeTableGeneratorDB2.java120
liquibase/sqlgenerator/core/RuntimeGenerator.java020
liquibase/sqlgenerator/core/SelectFromDatabaseChangeLogGenerator.java020
liquibase/sqlgenerator/core/SelectFromDatabaseChangeLogLockGenerator.java010
liquibase/sqlgenerator/core/SelectSequencesGeneratorDB2.java020
liquibase/sqlgenerator/core/SelectSequencesGeneratorDerby.java010
liquibase/sqlgenerator/core/SelectSequencesGeneratorFirebird.java020
liquibase/sqlgenerator/core/SelectSequencesGeneratorH2.java020
liquibase/sqlgenerator/core/SelectSequencesGeneratorHsql.java030
liquibase/sqlgenerator/core/SelectSequencesGeneratorInformix.java020
liquibase/sqlgenerator/core/SelectSequencesGeneratorMaxDB.java020
liquibase/sqlgenerator/core/SelectSequencesGeneratorOracle.java020
liquibase/sqlgenerator/core/SelectSequencesGeneratorPostgres.java050
liquibase/sqlgenerator/core/SetColumnRemarksGenerator.java020
liquibase/sqlgenerator/core/SetNullableGenerator.java100
liquibase/sqlgenerator/core/SetTableRemarksGenerator.java020
liquibase/sqlgenerator/core/StoredProcedureGenerator.java020
liquibase/sqlgenerator/core/TagDatabaseGenerator.java150
liquibase/sqlgenerator/core/UnlockDatabaseChangeLogGenerator.java010
liquibase/sqlgenerator/core/UpdateChangeSetChecksumGenerator.java020
liquibase/sqlgenerator/core/UpdateGenerator.java020
liquibase/statement/core/AddUniqueConstraintStatement.java010
liquibase/statement/core/CommentStatement.java101
liquibase/util/MD5Util.java310
liquibase/util/NetUtil.java010
liquibase/util/NumberUtils.java500
liquibase/util/RegexMatcher.java020
liquibase/util/StreamUtil.java101
liquibase/util/StringUtils.java010
liquibase/util/SystemUtils.java820
liquibase/util/csv/opencsv/CSVReader.java020
liquibase/util/csv/opencsv/CSVWriter.java150
liquibase/util/csv/opencsv/bean/CsvToBean.java010
liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java020
liquibase/util/file/FilenameUtils.java540
liquibase/util/xml/DefaultXmlWriter.java110

Rules

RulesViolationsSeverity
Translation0Errors Error
FileLength0Errors Error
FileTabCharacter
  • eachLine: "true"
0Errors Error
FinalClass14Infos Info
ArrayTypeStyle3Infos Info
MagicNumber
  • ignoreNumbers: "-1, 0, 1, 2, 1024, 255"
81Infos Info
RedundantImport1Infos Info
RedundantThrows34Infos Info
SimplifyBooleanReturn2Infos Info
SimplifyBooleanExpression3Infos Info
LineLength
  • id: "lineInfo"
  • max: "120"
97Warnings Warning
LineLength
  • id: "lineError"
  • max: "255"
5Errors Error
UnusedImports83Warnings Warning
EmptyBlock
  • id: "emptyBlock"
  • tokens: "LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_IF, LITERAL_FOR, LITERAL_TRY, LITERAL_WHILE, INSTANCE_INIT, STATIC_INIT"
  • option: "stmt"
43Warnings Warning
EmptyBlock
  • id: "emptyCatchBlock"
  • tokens: "LITERAL_CATCH"
  • option: "text"
43Warnings Warning
NeedBraces62Warnings Warning
ParameterNumber
  • max: "7"
2Errors Error
MethodLength
  • max: "150"
4Errors Error
AvoidStarImport
  • allowStaticMemberImports: "true"
0Errors Error
WhitespaceAfter0Errors Error
WhitespaceAround0Errors Error
LeftCurly0Errors Error
RightCurly0Errors Error
StaticVariableName7Errors Error
MemberName
  • format: "^[a-z_][a-zA-Z0-9]*$"
1Errors Error
VisibilityModifier
  • packageAllowed: "true"
  • protectedAllowed: "true"
8Errors Error
AvoidNestedBlocks0Errors Error
LocalVariableName34Errors Error
ConstantName
  • format: "(^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$)|log|logger"
5Errors Error
TypeName0Errors Error
MethodName0Errors Error
EmptyStatement18Warnings Warning
EqualsHashCode0Errors Error
InnerAssignment1Warnings Warning
OperatorWrap0Warnings Warning
LocalFinalVariableName0Errors Error
ParameterName0Errors Error
MissingSwitchDefault0Errors Error
ParenPad0Warnings Warning
UpperEll0Errors Error
InterfaceIsType0Errors Error
NoWhitespaceAfter
  • tokens: "BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"
0Errors Error
PackageName0Errors Error
IllegalImport0Errors Error
EmptyForIteratorPad0Warnings Warning
MethodParamPad0Warnings Warning
NoWhitespaceBefore0Warnings Warning
TypecastParenPad0Warnings Warning
IllegalInstantiation
  • classes: "java.lang.Boolean"
0Warnings Warning
AnnotationUseStyle
  • elementStyle: "ignore"
  • trailingArrayComma: "never"
  • closingParens: "ignore"
0Errors Error
MissingDeprecated0Errors Error
MissingOverride0Errors Error
PackageAnnotation0Errors Error
CovariantEquals0Errors Error
EqualsAvoidNull116Warnings Warning
StringLiteralEquality0Errors Error
NoFinalizer0Errors Error
SuperClone0Errors Error
OuterTypeFilename0Errors Error

Details

liquibase/Liquibase.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.96

liquibase/change/Change.java

ViolationMessageLine
WarningsLine is longer than 120 characters.25

liquibase/change/ChangeFactory.java

ViolationMessageLine
InfosClass ChangeFactory should be declared as final.19
WarningsLine is longer than 120 characters.23

liquibase/change/CheckSum.java

ViolationMessageLine
InfosClass CheckSum should be declared as final.7
Infos'3' is a magic number.28

liquibase/change/ColumnConfig.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.108
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.165
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.215
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.239

liquibase/change/core/AddForeignKeyConstraintChange.java

ViolationMessageLine
WarningsMust have at least one statement.147
WarningsMust have at least one statement.165

liquibase/change/core/AddNotNullConstraintChange.java

ViolationMessageLine
ErrorsName 'rename_alter_visitor' must match pattern '^[a-z][a-zA-Z0-9]*$'.136

liquibase/change/core/AddPrimaryKeyChange.java

ViolationMessageLine
ErrorsName 'rename_alter_visitor' must match pattern '^[a-z][a-zA-Z0-9]*$'.102
ErrorsName 'split_columns' must match pattern '^[a-z][a-zA-Z0-9]*$'.115
ErrorsName 'split_column' must match pattern '^[a-z][a-zA-Z0-9]*$'.116

liquibase/change/core/AddUniqueConstraintChange.java

ViolationMessageLine
ErrorsName 'rename_alter_visitor' must match pattern '^[a-z][a-zA-Z0-9]*$'.140
ErrorsName 'split_columns' must match pattern '^[a-z][a-zA-Z0-9]*$'.150
ErrorsName 'split_column' must match pattern '^[a-z][a-zA-Z0-9]*$'.151

liquibase/change/core/DropAllForeignKeyConstraintsChange.java

ViolationMessageLine
WarningsUnused import - liquibase.sql.visitor.SqlVisitor.11
WarningsLine is longer than 120 characters.87

liquibase/change/core/DropColumnChange.java

ViolationMessageLine
ErrorsName 'rename_alter_visitor' must match pattern '^[a-z][a-zA-Z0-9]*$'.83

liquibase/change/core/DropDefaultValueChange.java

ViolationMessageLine
ErrorsName 'rename_alter_visitor' must match pattern '^[a-z][a-zA-Z0-9]*$'.85

liquibase/change/core/DropNotNullConstraintChange.java

ViolationMessageLine
ErrorsName 'rename_alter_visitor' must match pattern '^[a-z][a-zA-Z0-9]*$'.83

liquibase/change/core/DropPrimaryKeyChange.java

ViolationMessageLine
ErrorsName 'rename_alter_visitor' must match pattern '^[a-z][a-zA-Z0-9]*$'.77

liquibase/change/core/DropUniqueConstraintChange.java

ViolationMessageLine
ErrorsName 'rename_alter_visitor' must match pattern '^[a-z][a-zA-Z0-9]*$'.93

liquibase/change/core/ExecuteShellCommandChange.java

ViolationMessageLine
WarningsEmpty statement.103

liquibase/change/core/LoadDataChange.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.134
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.138
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.140
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.145
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.147
WarningsEmpty statement.174
WarningsEmpty statement.251

liquibase/change/core/LoadUpdateDataChange.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equals comparison.72

liquibase/change/core/MergeColumnChange.java

ViolationMessageLine
ErrorsName 'rename_alter_visitor' must match pattern '^[a-z][a-zA-Z0-9]*$'.119
ErrorsName 'new_columns' must match pattern '^[a-z][a-zA-Z0-9]*$'.121
ErrorsName 'new_column' must match pattern '^[a-z][a-zA-Z0-9]*$'.122

liquibase/change/core/RenameColumnChange.java

ViolationMessageLine
ErrorsName 'rename_alter_visitor' must match pattern '^[a-z][a-zA-Z0-9]*$'.92

liquibase/changelog/ChangeSet.java

ViolationMessageLine
ErrorsVariable 'value' must be private and have accessor methods.56
ErrorsVariable 'ranBefore' must be private and have accessor methods.57
ErrorsVariable 'ran' must be private and have accessor methods.58
ErrorsMore than 7 parameters.182
ErrorsMethod length is 153 lines (max allowed is 150).230
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.584

liquibase/changelog/DatabaseChangeLog.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.108
Warnings'if' construct must use '{}'s.110

liquibase/changelog/RanChangeSet.java

ViolationMessageLine
Infos'29' is a magic number.97
Infos'29' is a magic number.98

liquibase/changelog/filter/ContextChangeSetFilter.java

ViolationMessageLine
WarningsMust have at least one statement.26

liquibase/changelog/filter/DbmsChangeSetFilter.java

ViolationMessageLine
WarningsLine is longer than 120 characters.21

liquibase/changelog/filter/NotRanChangeSetFilter.java

ViolationMessageLine
ErrorsVariable 'ranChangeSets' must be private and have accessor methods.10

liquibase/changelog/filter/RanChangeSetFilter.java

ViolationMessageLine
ErrorsVariable 'ranChangeSets' must be private and have accessor methods.9

liquibase/changelog/filter/ShouldRunChangeSetFilter.java

ViolationMessageLine
WarningsUnused import - liquibase.executor.ExecutorService.7
WarningsUnused import - liquibase.sql.visitor.SqlVisitor.8
WarningsUnused import - liquibase.statement.core.UpdateStatement.9
WarningsUnused import - java.util.ArrayList.11
ErrorsVariable 'ranChangeSets' must be private and have accessor methods.16
WarningsLine is longer than 120 characters.28
InfosConditional logic can be removed.31

liquibase/changelog/visitor/DBDocVisitor.java

ViolationMessageLine
InfosClass ChangeLogInfo should be declared as final.200
ErrorsVariable 'logicalPath' must be private and have accessor methods.201
ErrorsVariable 'physicalPath' must be private and have accessor methods.202
Warnings'if' construct must use '{}'s.211
Warnings'if' construct must use '{}'s.213

liquibase/database/AbstractDatabase.java

ViolationMessageLine
ErrorsName 'CREATE_VIEW_AS_PATTERN' must match pattern '^[a-z][a-zA-Z0-9]*$'.93
WarningsLine is longer than 120 characters.96
WarningsLine is longer than 120 characters.98
Infos'20' is a magic number.437
Infos'35' is a magic number.439
WarningsLine is longer than 120 characters.502
WarningsLine is longer than 120 characters.707
Warnings'if' construct must use '{}'s.1079
Warnings'if' construct must use '{}'s.1081
InfosRedundant throws: 'UnsupportedChangeException' is subclass of 'LiquibaseException'.1155
InfosRedundant throws: 'UnsupportedChangeException' is subclass of 'LiquibaseException'.1183
InfosRedundant throws: 'StatementNotSupportedOnDatabaseException' is subclass of 'LiquibaseException'.1183
InfosRedundant throws: 'UnsupportedChangeException' is subclass of 'LiquibaseException'.1195
InfosRedundant throws: 'RollbackImpossibleException' is subclass of 'LiquibaseException'.1195
InfosRedundant throws: 'UnsupportedChangeException' is subclass of 'LiquibaseException'.1210
InfosRedundant throws: 'RollbackImpossibleException' is subclass of 'LiquibaseException'.1210
InfosRedundant throws: 'StatementNotSupportedOnDatabaseException' is subclass of 'LiquibaseException'.1210

liquibase/database/Database.java

ViolationMessageLine
ErrorsName 'databaseChangeLogTableName' must match pattern '(^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$)|log|logger'.27
ErrorsName 'databaseChangeLogLockTableName' must match pattern '(^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$)|log|logger'.28
InfosRedundant throws: 'UnsupportedChangeException' is subclass of 'LiquibaseException'.245
InfosRedundant throws: 'UnsupportedChangeException' is subclass of 'LiquibaseException'.260
InfosRedundant throws: 'StatementNotSupportedOnDatabaseException' is subclass of 'LiquibaseException'.260
InfosRedundant throws: 'UnsupportedChangeException' is subclass of 'LiquibaseException'.263
InfosRedundant throws: 'RollbackImpossibleException' is subclass of 'LiquibaseException'.263
InfosRedundant throws: 'UnsupportedChangeException' is subclass of 'LiquibaseException'.266
InfosRedundant throws: 'RollbackImpossibleException' is subclass of 'LiquibaseException'.266
InfosRedundant throws: 'StatementNotSupportedOnDatabaseException' is subclass of 'LiquibaseException'.266

liquibase/database/core/DB2Database.java

ViolationMessageLine
Infos'18' is a magic number.152
Infos'17' is a magic number.153

liquibase/database/core/DerbyDatabase.java

ViolationMessageLine
InfosConditional logic can be removed.53
Infos'10' is a magic number.53
Infos'6' is a magic number.53
Infos'11' is a magic number.53
Infos'6' is a magic number.89

liquibase/database/core/H2Database.java

ViolationMessageLine
ErrorsName 'START_CONCAT' must match pattern '^[a-z][a-zA-Z0-9]*$'.19
ErrorsName 'END_CONCAT' must match pattern '^[a-z][a-zA-Z0-9]*$'.20
ErrorsName 'SEP_CONCAT' must match pattern '^[a-z][a-zA-Z0-9]*$'.21

liquibase/database/core/HsqlDatabase.java

ViolationMessageLine
WarningsUnused import - liquibase.statement.DatabaseFunction.7
ErrorsName 'START_CONCAT' must match pattern '^[a-z][a-zA-Z0-9]*$'.18
ErrorsName 'END_CONCAT' must match pattern '^[a-z][a-zA-Z0-9]*$'.19
ErrorsName 'SEP_CONCAT' must match pattern '^[a-z][a-zA-Z0-9]*$'.20

liquibase/database/core/InformixDatabase.java

ViolationMessageLine
WarningsUnused import - liquibase.logging.LogFactory.8

liquibase/database/core/MSSQLDatabase.java

ViolationMessageLine
WarningsLine is longer than 120 characters.125
WarningsString literal expressions should be on the left side of an equals comparison.165
WarningsString literal expressions should be on the left side of an equals comparison.170

liquibase/database/core/OracleDatabase.java

ViolationMessageLine
WarningsEmpty statement.44
Infos'27' is a magic number.56
Infos'27' is a magic number.57
Infos'26' is a magic number.151
WarningsLine is longer than 120 characters.197

liquibase/database/core/PostgresDatabase.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equals comparison.129
Warnings'if' construct must use '{}'s.138
Warnings'if' construct must use '{}'s.205
Warnings'for' construct must use '{}'s.258
Warnings'if' construct must use '{}'s.259
InfosArray brackets at illegal position.294
WarningsString literal expressions should be on the left side of an equals comparison.300

liquibase/database/core/SQLiteDatabase.java

ViolationMessageLine
ErrorsName 'new_column' must match pattern '^[a-z][a-zA-Z0-9]*$'.119
ErrorsName 'copy_column' must match pattern '^[a-z][a-zA-Z0-9]*$'.123
ErrorsName 'new_column' must match pattern '^[a-z][a-zA-Z0-9]*$'.130
ErrorsName 'copy_column' must match pattern '^[a-z][a-zA-Z0-9]*$'.134
ErrorsName 'temp_table_name' must match pattern '^[a-z][a-zA-Z0-9]*$'.150
ErrorsName 'ct_change_tmp' must match pattern '^[a-z][a-zA-Z0-9]*$'.153
ErrorsName 'index_config' must match pattern '^[a-z][a-zA-Z0-9]*$'.167

liquibase/database/core/SybaseDatabase.java

ViolationMessageLine
WarningsLine is longer than 120 characters.148
WarningsString literal expressions should be on the left side of an equals comparison.188
WarningsString literal expressions should be on the left side of an equals comparison.194
WarningsString literal expressions should be on the left side of an equals comparison.195

liquibase/database/jvm/HsqlConnection.java

ViolationMessageLine
WarningsEmpty statement.30
WarningsEmpty statement.51

liquibase/database/structure/Column.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.172
Warnings'if' construct must use '{}'s.174
Infos'31' is a magic number.193
Infos'31' is a magic number.194

liquibase/database/structure/ForeignKey.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.138
Warnings'if' construct must use '{}'s.140
Infos'31' is a magic number.163
Infos'31' is a magic number.167
Infos'31' is a magic number.171
Warnings'if' construct must use '{}'s.195
Warnings'if' construct must use '{}'s.197

liquibase/database/structure/Index.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.100
Warnings'if' construct must use '{}'s.102
WarningsMust have at least one statement.113
Infos'31' is a magic number.131
Infos'31' is a magic number.132

liquibase/database/structure/PrimaryKey.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.62
Warnings'if' construct must use '{}'s.64
Infos'31' is a magic number.80

liquibase/database/structure/Schema.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.20
Warnings'if' construct must use '{}'s.22
Warnings'if' construct must use '{}'s.27

liquibase/database/structure/Sequence.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.25
Warnings'if' construct must use '{}'s.27

liquibase/database/structure/Table.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.62
Warnings'if' construct must use '{}'s.64

liquibase/database/structure/UniqueConstraint.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.86
Warnings'if' construct must use '{}'s.88
Warnings'if' construct must use '{}'s.90
Infos'31' is a magic number.140
Infos'31' is a magic number.143

liquibase/database/structure/View.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.63
Warnings'if' construct must use '{}'s.65

liquibase/database/structure/type/BooleanType.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.22
WarningsString literal expressions should be on the left side of an equals comparison.30
WarningsString literal expressions should be on the left side of an equals comparison.33

liquibase/database/structure/type/CharType.java

ViolationMessageLine
WarningsUnused import - liquibase.database.Database.3

liquibase/database/structure/type/ClobType.java

ViolationMessageLine
WarningsUnused import - liquibase.database.Database.3

liquibase/database/structure/type/DataType.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equals comparison.94

liquibase/database/structure/type/DatabaseFunctionType.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equals comparison.12
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.14

liquibase/database/structure/type/DateTimeType.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.24
WarningsString literal expressions should be on the left side of an equals comparison.26

liquibase/database/structure/type/DateType.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.20
WarningsString literal expressions should be on the left side of an equals comparison.24

liquibase/database/structure/type/NumberType.java

ViolationMessageLine
InfosRedundant import from the same package - liquibase.database.structure.type.DataType.3

liquibase/database/structure/type/SmallIntType.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.19
Warnings'if' construct must use '{}'s.22
Warnings'else' construct must use '{}'s.24

liquibase/database/structure/type/TimeType.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.20
WarningsString literal expressions should be on the left side of an equals comparison.24

liquibase/database/typeconversion/TypeConverterFactory.java

ViolationMessageLine
InfosClass TypeConverterFactory should be declared as final.13

liquibase/database/typeconversion/core/AbstractTypeConverter.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.104
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.127
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.129
WarningsString literal expressions should be on the left side of an equals comparison.131
WarningsString literal expressions should be on the left side of an equals comparison.133
WarningsString literal expressions should be on the left side of an equals comparison.135
WarningsString literal expressions should be on the left side of an equals comparison.137
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.209
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.211
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.211
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.213
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.215
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.217
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.219
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.221
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.223
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.226
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.229
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.231
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.233
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.235
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.237
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.239
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.241
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.243
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.245
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.247
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.252
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.254
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.256
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.258
InfosRedundant throws: 'NumberFormatException' is unchecked exception.274
Infos'-15' is a magic number.429
Infos'-9' is a magic number.430
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.466
WarningsString literal expressions should be on the left side of an equals comparison.468
WarningsString literal expressions should be on the left side of an equals comparison.473
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.476
Infos'131089' is a magic number.481

liquibase/database/typeconversion/core/H2TypeConverter.java

ViolationMessageLine
WarningsLine is longer than 120 characters.27

liquibase/database/typeconversion/core/HsqlTypeConverter.java

ViolationMessageLine
WarningsUnused import - liquibase.database.core.H2Database.9

liquibase/database/typeconversion/core/MSSQLTypeConverter.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.59
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.72
Infos'8000' is a magic number.72
Warnings'if' construct must use '{}'s.90

liquibase/database/typeconversion/core/MySQLTypeConverter.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.39

liquibase/database/typeconversion/core/OracleTypeConverter.java

ViolationMessageLine
WarningsMust have at least one statement.78

liquibase/database/typeconversion/core/Postgres83TypeConverter.java

ViolationMessageLine
Infos'10' is a magic number.21
Infos'83' is a magic number.21

liquibase/database/typeconversion/core/SQLiteTypeConverter.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equals comparison.32
WarningsString literal expressions should be on the left side of an equals comparison.35
WarningsString literal expressions should be on the left side of an equals comparison.37
WarningsString literal expressions should be on the left side of an equals comparison.38
WarningsString literal expressions should be on the left side of an equals comparison.44

liquibase/dbdoc/PendingSQLWriter.java

ViolationMessageLine
WarningsUnused import - liquibase.Liquibase.3

liquibase/diff/DiffResult.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.653
WarningsMust have at least one statement.970
WarningsMust have at least one statement.972
WarningsLine is longer than 120 characters.1007

liquibase/exception/ValidationFailedException.java

ViolationMessageLine
WarningsUnused import - liquibase.change.CheckSum.3
WarningsUnused import - liquibase.changelog.RanChangeSet.5
Infos'25' is a magic number.47

liquibase/executor/AbstractExecutor.java

ViolationMessageLine
WarningsUnused import - liquibase.exception.StatementNotSupportedOnDatabaseException.5
WarningsUnused import - java.util.Set.12

liquibase/executor/ExecutorService.java

ViolationMessageLine
InfosClass ExecutorService should be declared as final.10

liquibase/executor/jvm/StatementCreatorUtils.java

ViolationMessageLine
WarningsLine is longer than 120 characters.92
Infos'-9' is a magic number.109

liquibase/integration/ant/BaseLiquibaseTask.java

ViolationMessageLine
InfosRedundant throws: 'BuildException' is unchecked exception.69
Warnings'if' construct must use '{}'s.255
Warnings'if' construct must use '{}'s.258
InfosRedundant throws: 'SecurityException' is unchecked exception.305

liquibase/integration/ant/ChangeLogSyncTask.java

ViolationMessageLine
WarningsUnused import - org.apache.tools.ant.AntClassLoader.4
InfosRedundant throws: 'BuildException' is unchecked exception.12

liquibase/integration/ant/DBDocTask.java

ViolationMessageLine
WarningsUnused import - org.apache.tools.ant.AntClassLoader.5
InfosRedundant throws: 'BuildException' is unchecked exception.21

liquibase/integration/ant/DatabaseRollbackFutureTask.java

ViolationMessageLine
InfosRedundant throws: 'BuildException' is unchecked exception.14

liquibase/integration/ant/DatabaseRollbackTask.java

ViolationMessageLine
InfosRedundant throws: 'BuildException' is unchecked exception.49

liquibase/integration/ant/DatabaseUpdateTask.java

ViolationMessageLine
InfosRedundant throws: 'BuildException' is unchecked exception.24

liquibase/integration/ant/DatabaseUpdateTestingRollbackTask.java

ViolationMessageLine
InfosRedundant throws: 'BuildException' is unchecked exception.22

liquibase/integration/ant/DiffDatabaseTask.java

ViolationMessageLine
InfosRedundant throws: 'BuildException' is unchecked exception.81

liquibase/integration/ant/DropAllTask.java

ViolationMessageLine
InfosRedundant throws: 'BuildException' is unchecked exception.22

liquibase/integration/ant/GenerateChangeLogTask.java

ViolationMessageLine
InfosRedundant throws: 'BuildException' is unchecked exception.33

liquibase/integration/ant/MarkNextChangeSetRanTask.java

ViolationMessageLine
InfosRedundant throws: 'BuildException' is unchecked exception.11

liquibase/integration/ant/TagDatabaseTask.java

ViolationMessageLine
InfosRedundant throws: 'BuildException' is unchecked exception.20

liquibase/integration/commandline/CommandLineUtils.java

ViolationMessageLine
ErrorsMore than 7 parameters.31
WarningsLine is longer than 120 characters.85
WarningsLine is longer than 120 characters.90

liquibase/integration/commandline/Main.java

ViolationMessageLine
InfosArray brackets at illegal position.90
Infos'-2' is a magic number.113
Infos'-3' is a magic number.170
WarningsString literal expressions should be on the left side of an equals comparison.255
WarningsLine is longer than 120 characters.453
WarningsEmpty statement.580
WarningsEmpty statement.587
ErrorsMethod length is 162 lines (max allowed is 150).595

liquibase/integration/servlet/LiquibaseServletListener.java

ViolationMessageLine
WarningsLine is longer than 120 characters.105

liquibase/integration/spring/SpringLiquibase.java

ViolationMessageLine
WarningsLine is longer than 120 characters.102

liquibase/lockservice/LockService.java

ViolationMessageLine
InfosClass LockService should be declared as final.22
Infos'1000' is a magic number.28
Infos'60' is a magic number.28
Infos'5' is a magic number.28
Infos'1000' is a magic number.29
Infos'10' is a magic number.29
WarningsEmpty statement.67
WarningsEmpty statement.129
WarningsEmpty statement.166

liquibase/parser/ChangeLogParserFactory.java

ViolationMessageLine
InfosClass ChangeLogParserFactory should be declared as final.13

liquibase/parser/core/formattedsql/FormattedSqlChangeLogParser.java

ViolationMessageLine
Infos'5' is a magic number.51
WarningsEmpty catch block.187

liquibase/parser/core/xml/LiquibaseEntityResolver.java

ViolationMessageLine
WarningsLine is longer than 120 characters.100

liquibase/parser/core/xml/XMLChangeLogSAXHandler.java

ViolationMessageLine
ErrorsMethod length is 330 lines (max allowed is 150).109
WarningsLine is longer than 120 characters.110
WarningsString literal expressions should be on the left side of an equals comparison.271
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.448
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.448
InfosExpression can be simplified.455
WarningsString literal expressions should be on the left side of an equals comparison.480
WarningsString literal expressions should be on the left side of an equals comparison.519
WarningsString literal expressions should be on the left side of an equals comparison.522
WarningsString literal expressions should be on the left side of an equals comparison.556
InfosArray brackets at illegal position.615
InfosClass ExpandingAttributes should be declared as final.624

liquibase/precondition/PreconditionFactory.java

ViolationMessageLine
InfosClass PreconditionFactory should be declared as final.9

liquibase/precondition/core/NotPrecondition.java

ViolationMessageLine
WarningsEmpty statement.33

liquibase/precondition/core/PreconditionContainer.java

ViolationMessageLine
WarningsUnused import - liquibase.exception.UnexpectedLiquibaseException.10
WarningsUnused import - liquibase.exception.ValidationFailedException.11

liquibase/precondition/core/ViewExistsPrecondition.java

ViolationMessageLine
WarningsLine is longer than 120 characters.51

liquibase/resource/CompositeResourceAccessor.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.52
Warnings'if' construct must use '{}'s.70
WarningsLine is longer than 120 characters.88
Warnings'if' construct must use '{}'s.103
Warnings'if' construct must use '{}'s.118

liquibase/resource/FileSystemResourceAccessor.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.40
Warnings'if' construct must use '{}'s.77

liquibase/serializer/ChangeLogSerializerFactory.java

ViolationMessageLine
InfosClass ChangeLogSerializerFactory should be declared as final.11
WarningsLine is longer than 120 characters.58

liquibase/serializer/core/string/StringChangeLogSerializer.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equals comparison.58
WarningsString literal expressions should be on the left side of an equals comparison.61
WarningsString literal expressions should be on the left side of an equals comparison.64

liquibase/serializer/core/xml/XMLChangeLogSerializer.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equals comparison.145
WarningsString literal expressions should be on the left side of an equals comparison.148
WarningsString literal expressions should be on the left side of an equals comparison.182
WarningsString literal expressions should be on the left side of an equals comparison.185
WarningsString literal expressions should be on the left side of an equals comparison.209
WarningsString literal expressions should be on the left side of an equals comparison.209
WarningsString literal expressions should be on the left side of an equals comparison.210

liquibase/servicelocator/DefaultPackageScanClassResolver.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equals comparison.156
WarningsString literal expressions should be on the left side of an equals comparison.159
Infos'5' is a magic number.180
Infos'100' is a magic number.304
WarningsEmpty catch block.374

liquibase/servicelocator/PackageScanClassResolver.java

ViolationMessageLine
WarningsUnused import - java.lang.annotation.Annotation.3

liquibase/servicelocator/ServiceLocator.java

ViolationMessageLine
InfosClass ServiceLocator should be declared as final.24
WarningsInner assignments should be avoided.73
InfosRedundant throws: 'ServiceNotFoundException' is unchecked exception.117
InfosRedundant throws: 'ServiceNotFoundException' is unchecked exception.148
InfosRedundant throws: 'ServiceNotFoundException' is unchecked exception.166

liquibase/snapshot/DatabaseSnapshotGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.database.AbstractDatabase.4
WarningsUnused import - liquibase.servicelocator.PrioritizedService.10

liquibase/snapshot/DatabaseSnapshotGeneratorFactory.java

ViolationMessageLine
InfosClass DatabaseSnapshotGeneratorFactory should be declared as final.15

liquibase/snapshot/jvm/DB2DatabaseSnapshotGenerator.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.46

liquibase/snapshot/jvm/DerbyDatabaseSnapshotGenerator.java

ViolationMessageLine
WarningsLine is longer than 120 characters.33

liquibase/snapshot/jvm/InformixDatabaseSnapshotGenerator.java

ViolationMessageLine
ErrorsName 'qualifiers' must match pattern '(^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$)|log|logger'.19
Infos'4' is a magic number.24
Infos'6' is a magic number.25
Infos'8' is a magic number.26
Infos'10' is a magic number.27
Infos'11' is a magic number.28
Infos'12' is a magic number.29
Infos'13' is a magic number.30
Infos'14' is a magic number.31
Infos'15' is a magic number.32
Infos'256' is a magic number.51
Infos'16' is a magic number.51
Infos'256' is a magic number.52
Infos'16' is a magic number.52

liquibase/snapshot/jvm/JdbcDatabaseSnapshotGenerator.java

ViolationMessageLine
WarningsEmpty catch block.86
WarningsEmpty catch block.105
WarningsEmpty catch block.151
WarningsEmpty catch block.177
WarningsLine is longer than 120 characters.268
WarningsLine is longer than 120 characters.333
WarningsEmpty catch block.342
WarningsEmpty catch block.366
WarningsEmpty catch block.437
WarningsEmpty catch block.443
WarningsLine is longer than 120 characters.473
WarningsLine is longer than 120 characters.497
WarningsLine is longer than 120 characters.515
WarningsLine is longer than 120 characters.523
WarningsLine is longer than 120 characters.716
WarningsEmpty catch block.792
WarningsEmpty catch block.798
WarningsEmpty catch block.961
WarningsEmpty catch block.967
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.980

liquibase/snapshot/jvm/MySQLDatabaseSnapshotGenerator.java

ViolationMessageLine
WarningsLine is longer than 120 characters.25
WarningsEmpty catch block.68
WarningsEmpty catch block.74
WarningsString literal expressions should be on the left side of an equals comparison.105
WarningsString literal expressions should be on the left side of an equals comparison.105
WarningsString literal expressions should be on the left side of an equals comparison.111
WarningsString literal expressions should be on the left side of an equals comparison.122

liquibase/snapshot/jvm/OracleDatabaseSnapshotGenerator.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.94
WarningsLine is longer than 120 characters.98
ErrorsLine is longer than 255 characters.98
WarningsEmpty catch block.131
WarningsLine is longer than 120 characters.146
WarningsEmpty catch block.158
Warnings'if' construct must use '{}'s.161
Warnings'if' construct must use '{}'s.182
WarningsLine is longer than 120 characters.185
ErrorsLine is longer than 255 characters.185
WarningsEmpty catch block.201
WarningsEmpty catch block.207
WarningsLine is longer than 120 characters.236
WarningsEmpty catch block.245
WarningsEmpty catch block.252
WarningsLine is longer than 120 characters.271
WarningsLine is longer than 120 characters.285
ErrorsLine is longer than 255 characters.285
WarningsLine is longer than 120 characters.331
ErrorsLine is longer than 255 characters.331
Warnings'if' construct must use '{}'s.437
WarningsLine is longer than 120 characters.440
ErrorsLine is longer than 255 characters.440

liquibase/snapshot/jvm/PostgresDatabaseSnapshotGenerator.java

ViolationMessageLine
WarningsLine is longer than 120 characters.72
WarningsEmpty catch block.99
ErrorsName 'columns_map' must match pattern '^[a-z][a-zA-Z0-9]*$'.110
ErrorsName 'str_token' must match pattern '^[a-z][a-zA-Z0-9]*$'.130
ErrorsName 'column_id' must match pattern '^[a-z][a-zA-Z0-9]*$'.132
WarningsEmpty catch block.139
Warnings'if' construct must use '{}'s.142

liquibase/snapshot/jvm/SQLiteDatabaseSnapshotGenerator.java

ViolationMessageLine
WarningsLine is longer than 120 characters.150
ErrorsName 'cur_table' must match pattern '^[a-z][a-zA-Z0-9]*$'.219
WarningsEmpty catch block.238
WarningsEmpty catch block.262
WarningsString literal expressions should be on the left side of an equals comparison.354
ErrorsName 'index_name' must match pattern '^[a-z][a-zA-Z0-9]*$'.360
ErrorsName 'index_unique' must match pattern '^[a-z][a-zA-Z0-9]*$'.361
ErrorsName 'statement_2' must match pattern '^[a-z][a-zA-Z0-9]*$'.363
ErrorsName 'rs_2' must match pattern '^[a-z][a-zA-Z0-9]*$'.364
ErrorsName 'index_column_seqno' must match pattern '^[a-z][a-zA-Z0-9]*$'.370
ErrorsName 'index_column_name' must match pattern '^[a-z][a-zA-Z0-9]*$'.372
WarningsEmpty catch block.394
WarningsEmpty catch block.400
WarningsEmpty catch block.410
WarningsEmpty catch block.416

liquibase/sql/visitor/AbstractSqlVisitor.java

ViolationMessageLine
WarningsUnused import - liquibase.database.Database.4
WarningsUnused import - java.util.Collection.7

liquibase/sql/visitor/SqlVisitor.java

ViolationMessageLine
WarningsUnused import - java.util.Collection.6

liquibase/sql/visitor/SqlVisitorFactory.java

ViolationMessageLine
InfosClass SqlVisitorFactory should be declared as final.6
ErrorsName 'instance' must match pattern '(^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$)|log|logger'.11

liquibase/sqlgenerator/SqlGeneratorFactory.java

ViolationMessageLine
InfosClass SqlGeneratorFactory should be declared as final.27

liquibase/sqlgenerator/core/AbstractSqlGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.statement.core.CreateViewStatement.8

liquibase/sqlgenerator/core/AddAutoIncrementGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.14
WarningsLine is longer than 120 characters.28
WarningsLine is longer than 120 characters.41

liquibase/sqlgenerator/core/AddAutoIncrementGeneratorDB2.java

ViolationMessageLine
WarningsLine is longer than 120 characters.25

liquibase/sqlgenerator/core/AddAutoIncrementGeneratorHsqlH2.java

ViolationMessageLine
WarningsLine is longer than 120 characters.26

liquibase/sqlgenerator/core/AddAutoIncrementGeneratorInformix.java

ViolationMessageLine
WarningsLine is longer than 120 characters.36

liquibase/sqlgenerator/core/AddAutoIncrementGeneratorSQLite.java

ViolationMessageLine
ErrorsName 'rename_alter_visitor' must match pattern '^[a-z][a-zA-Z0-9]*$'.42

liquibase/sqlgenerator/core/AddColumnGenerator.java

ViolationMessageLine
WarningsLine is longer than 120 characters.46
WarningsLine is longer than 120 characters.118

liquibase/sqlgenerator/core/AddColumnGeneratorSQLite.java

ViolationMessageLine
WarningsLine is longer than 120 characters.22

liquibase/sqlgenerator/core/AddDefaultValueGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.10
WarningsLine is longer than 120 characters.25

liquibase/sqlgenerator/core/AddDefaultValueGeneratorDerby.java

ViolationMessageLine
WarningsLine is longer than 120 characters.25

liquibase/sqlgenerator/core/AddDefaultValueGeneratorInformix.java

ViolationMessageLine
WarningsUnused import - liquibase.database.core.SybaseDatabase.6
WarningsLine is longer than 120 characters.37

liquibase/sqlgenerator/core/AddDefaultValueGeneratorMSSQL.java

ViolationMessageLine
WarningsLine is longer than 120 characters.25

liquibase/sqlgenerator/core/AddDefaultValueGeneratorMaxDB.java

ViolationMessageLine
WarningsLine is longer than 120 characters.26

liquibase/sqlgenerator/core/AddDefaultValueGeneratorMySQL.java

ViolationMessageLine
WarningsLine is longer than 120 characters.25

liquibase/sqlgenerator/core/AddDefaultValueGeneratorOracle.java

ViolationMessageLine
WarningsLine is longer than 120 characters.25

liquibase/sqlgenerator/core/AddDefaultValueGeneratorSybase.java

ViolationMessageLine
WarningsLine is longer than 120 characters.25

liquibase/sqlgenerator/core/AddDefaultValueGeneratorSybaseASA.java

ViolationMessageLine
WarningsLine is longer than 120 characters.25

liquibase/sqlgenerator/core/AddDefaultValueSQLite.java

ViolationMessageLine
WarningsLine is longer than 120 characters.22

liquibase/sqlgenerator/core/AddForeignKeyConstraintGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.11
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.65
WarningsMust have at least one statement.65
WarningsMust have at least one statement.67
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.76
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.77
WarningsMust have at least one statement.77
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.79
WarningsMust have at least one statement.79
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.81
WarningsMust have at least one statement.81

liquibase/sqlgenerator/core/AddPrimaryKeyGenerator.java

ViolationMessageLine
WarningsEmpty statement.49

liquibase/sqlgenerator/core/AddUniqueConstraintGenerator.java

ViolationMessageLine
WarningsEmpty statement.71

liquibase/sqlgenerator/core/ClearDatabaseChangeLogTableGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.7

liquibase/sqlgenerator/core/CommentGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.7

liquibase/sqlgenerator/core/CopyRowsGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.9

liquibase/sqlgenerator/core/CreateDatabaseChangeLogLockTableGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.7

liquibase/sqlgenerator/core/CreateDatabaseChangeLogTableGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.9

liquibase/sqlgenerator/core/CreateDatabaseChangeLogTableGeneratorSybase.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.9

liquibase/sqlgenerator/core/CreateSequenceGenerator.java

ViolationMessageLine
WarningsLine is longer than 120 characters.46

liquibase/sqlgenerator/core/CreateTableGenerator.java

ViolationMessageLine
ErrorsMethod length is 184 lines (max allowed is 150).34
WarningsString literal expressions should be on the left side of an equals comparison.73

liquibase/sqlgenerator/core/DeleteGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.9

liquibase/sqlgenerator/core/DropDefaultValueGenerator.java

ViolationMessageLine
WarningsLine is longer than 120 characters.42
WarningsLine is longer than 120 characters.69

liquibase/sqlgenerator/core/DropForeignKeyConstraintGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.11

liquibase/sqlgenerator/core/DropPrimaryKeyGenerator.java

ViolationMessageLine
WarningsLine is longer than 120 characters.37

liquibase/sqlgenerator/core/DropSequenceGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.8

liquibase/sqlgenerator/core/DropViewGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.7

liquibase/sqlgenerator/core/FindForeignKeyConstraintsGeneratorDB2.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.8

liquibase/sqlgenerator/core/FindForeignKeyConstraintsGeneratorMSSQL.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.8

liquibase/sqlgenerator/core/FindForeignKeyConstraintsGeneratorMySQL.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.10

liquibase/sqlgenerator/core/FindForeignKeyConstraintsGeneratorOracle.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.10

liquibase/sqlgenerator/core/FindForeignKeyConstraintsGeneratorPostgres.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.8
WarningsLine is longer than 120 characters.48
WarningsLine is longer than 120 characters.53

liquibase/sqlgenerator/core/GetNextChangeSetSequenceValueGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.6

liquibase/sqlgenerator/core/GetViewDefinitionGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.9

liquibase/sqlgenerator/core/GetViewDefinitionGeneratorDerby.java

ViolationMessageLine
WarningsLine is longer than 120 characters.28

liquibase/sqlgenerator/core/GetViewDefinitionGeneratorHsql.java

ViolationMessageLine
WarningsUnused import - liquibase.database.core.H2Database.4

liquibase/sqlgenerator/core/GetViewDefinitionGeneratorMSSQL.java

ViolationMessageLine
WarningsLine is longer than 120 characters.27

liquibase/sqlgenerator/core/InsertGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.8
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.43

liquibase/sqlgenerator/core/InsertOrUpdateGenerator.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equals comparison.53
WarningsEmpty catch block.156

liquibase/sqlgenerator/core/InsertOrUpdateGeneratorMySQL.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equals comparison.74
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.74

liquibase/sqlgenerator/core/InsertOrUpdateGeneratorOracle.java

ViolationMessageLine
WarningsUnused import - liquibase.database.typeconversion.TypeConverterFactory.5
WarningsUnused import - liquibase.exception.ValidationErrors.6
WarningsUnused import - liquibase.sql.Sql.7
WarningsUnused import - liquibase.sql.UnparsedSql.8
WarningsUnused import - liquibase.sqlgenerator.SqlGeneratorChain.9
WarningsUnused import - liquibase.statement.core.UpdateStatement.11
WarningsUnused import - java.util.Date.13

liquibase/sqlgenerator/core/LockDatabaseChangeLogGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.8

liquibase/sqlgenerator/core/MarkChangeSetRanGenerator.java

ViolationMessageLine
WarningsLine is longer than 120 characters.33
Infos'3' is a magic number.87

liquibase/sqlgenerator/core/ModifyDataTypeGenerator.java

ViolationMessageLine
WarningsLine is longer than 120 characters.33
WarningsLine is longer than 120 characters.51

liquibase/sqlgenerator/core/RawSqlGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.7

liquibase/sqlgenerator/core/ReindexGeneratorSQLite.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.8

liquibase/sqlgenerator/core/RemoveChangeSetRanStatusGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.7

liquibase/sqlgenerator/core/RenameColumnGenerator.java

ViolationMessageLine
WarningsLine is longer than 120 characters.26

liquibase/sqlgenerator/core/ReorganizeTableGeneratorDB2.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.9
WarningsLine is longer than 120 characters.31
Infos'9' is a magic number.33

liquibase/sqlgenerator/core/RuntimeGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.6
WarningsLine is longer than 120 characters.12

liquibase/sqlgenerator/core/SelectFromDatabaseChangeLogGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.8
WarningsLine is longer than 120 characters.35

liquibase/sqlgenerator/core/SelectFromDatabaseChangeLogLockGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.8

liquibase/sqlgenerator/core/SelectSequencesGeneratorDB2.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.10
WarningsLine is longer than 120 characters.30

liquibase/sqlgenerator/core/SelectSequencesGeneratorDerby.java

ViolationMessageLine
WarningsLine is longer than 120 characters.29

liquibase/sqlgenerator/core/SelectSequencesGeneratorFirebird.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.8
WarningsLine is longer than 120 characters.28

liquibase/sqlgenerator/core/SelectSequencesGeneratorH2.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.10
WarningsLine is longer than 120 characters.30

liquibase/sqlgenerator/core/SelectSequencesGeneratorHsql.java

ViolationMessageLine
WarningsUnused import - liquibase.database.core.H2Database.4
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.11
WarningsLine is longer than 120 characters.31

liquibase/sqlgenerator/core/SelectSequencesGeneratorInformix.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.8
WarningsLine is longer than 120 characters.28

liquibase/sqlgenerator/core/SelectSequencesGeneratorMaxDB.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.10
WarningsLine is longer than 120 characters.30

liquibase/sqlgenerator/core/SelectSequencesGeneratorOracle.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.10
WarningsLine is longer than 120 characters.30

liquibase/sqlgenerator/core/SelectSequencesGeneratorPostgres.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.10
WarningsLine is longer than 120 characters.30
WarningsLine is longer than 120 characters.43
WarningsLine is longer than 120 characters.46
WarningsLine is longer than 120 characters.47

liquibase/sqlgenerator/core/SetColumnRemarksGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.9
WarningsLine is longer than 120 characters.33

liquibase/sqlgenerator/core/SetNullableGenerator.java

ViolationMessageLine
Infos'9' is a magic number.54

liquibase/sqlgenerator/core/SetTableRemarksGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.10
WarningsLine is longer than 120 characters.30

liquibase/sqlgenerator/core/StoredProcedureGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.7
WarningsLine is longer than 120 characters.20

liquibase/sqlgenerator/core/TagDatabaseGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.9
WarningsUnused import - liquibase.statement.SqlStatement.12
WarningsLine is longer than 120 characters.28
Infos'5' is a magic number.34
WarningsLine is longer than 120 characters.39
WarningsEmpty statement.44

liquibase/sqlgenerator/core/UnlockDatabaseChangeLogGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.6

liquibase/sqlgenerator/core/UpdateChangeSetChecksumGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.changelog.RanChangeSet.4
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.8

liquibase/sqlgenerator/core/UpdateGenerator.java

ViolationMessageLine
WarningsUnused import - liquibase.sqlgenerator.SqlGenerator.8
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.49

liquibase/statement/core/AddUniqueConstraintStatement.java

ViolationMessageLine
WarningsLine is longer than 120 characters.17

liquibase/statement/core/CommentStatement.java

ViolationMessageLine
ErrorsName 'MAX_LENGTH' must match pattern '^[a-z_][a-zA-Z0-9]*$'.7
Infos'3' is a magic number.21

liquibase/util/MD5Util.java

ViolationMessageLine
WarningsEmpty statement.47
Infos'0xF0' is a magic number.77
Infos'4' is a magic number.77
Infos'0x0F' is a magic number.78

liquibase/util/NetUtil.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.36

liquibase/util/NumberUtils.java

ViolationMessageLine
InfosRedundant throws: 'IllegalArgumentException' is unchecked exception.37
Infos'10' is a magic number.173
Infos'16' is a magic number.186
Infos'16' is a magic number.189
Infos'8' is a magic number.192

liquibase/util/RegexMatcher.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.40
Warnings'else' construct must use '{}'s.42

liquibase/util/StreamUtil.java

ViolationMessageLine
ErrorsName 'lineSeparator' must match pattern '(^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$)|log|logger'.14
Infos'2048' is a magic number.68

liquibase/util/StringUtils.java

ViolationMessageLine
WarningsString literal expressions should be on the left side of an equalsIgnoreCase comparison.59

liquibase/util/SystemUtils.java

ViolationMessageLine
WarningsLine is longer than 120 characters.506
WarningsLine is longer than 120 characters.830
Infos'3' is a magic number.1405
Infos'5' is a magic number.1406
Infos'4' is a magic number.1407
Infos'5' is a magic number.1407
Infos'3' is a magic number.1440
Infos'5' is a magic number.1441
Infos'4' is a magic number.1442
Infos'5' is a magic number.1442

liquibase/util/csv/opencsv/CSVReader.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.123
Warnings'if' construct must use '{}'s.188

liquibase/util/csv/opencsv/CSVWriter.java

ViolationMessageLine
WarningsEmpty statement.277
Infos'2048' is a magic number.312
Warnings'if' construct must use '{}'s.330
Warnings'if' construct must use '{}'s.341
Warnings'if' construct must use '{}'s.343
Warnings'if' construct must use '{}'s.355

liquibase/util/csv/opencsv/bean/CsvToBean.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.79

liquibase/util/csv/opencsv/bean/HeaderColumnNameMappingStrategy.java

ViolationMessageLine
Warnings'if' construct must use '{}'s.43
Warnings'if' construct must use '{}'s.47

liquibase/util/file/FilenameUtils.java

ViolationMessageLine
WarningsUnused import - java.io.File.15
Infos'3' is a magic number.312
Infos'4' is a magic number.320
InfosExpression can be simplified.522
Infos'3' is a magic number.525
WarningsString literal expressions should be on the left side of an equals comparison.1193
WarningsString literal expressions should be on the left side of an equals comparison.1198
WarningsString literal expressions should be on the left side of an equals comparison.1270
InfosExpression can be simplified.1270

liquibase/util/xml/DefaultXmlWriter.java

ViolationMessageLine
Infos'4' is a magic number.21
WarningsEmpty statement.23