Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Errors
69 1525

Files

Files Errors
org/apache/torque/engine/EngineException.java 4
org/apache/torque/engine/database/model/AppData.java 42
org/apache/torque/engine/database/model/Column.java 191
org/apache/torque/engine/database/model/ConstraintNameGenerator.java 5
org/apache/torque/engine/database/model/Database.java 90
org/apache/torque/engine/database/model/ForeignKey.java 52
org/apache/torque/engine/database/model/IDMethod.java 1
org/apache/torque/engine/database/model/IdMethodParameter.java 30
org/apache/torque/engine/database/model/Index.java 27
org/apache/torque/engine/database/model/Inheritance.java 23
org/apache/torque/engine/database/model/JavaNameGenerator.java 7
org/apache/torque/engine/database/model/NameFactory.java 11
org/apache/torque/engine/database/model/NameGenerator.java 1
org/apache/torque/engine/database/model/Table.java 192
org/apache/torque/engine/database/model/TypeMap.java 164
org/apache/torque/engine/database/model/Unique.java 1
org/apache/torque/engine/database/model/package.html 1
org/apache/torque/engine/database/transform/DTDResolver.java 8
org/apache/torque/engine/database/transform/SQLToAppData.java 66
org/apache/torque/engine/database/transform/XmlToAppData.java 85
org/apache/torque/engine/database/transform/XmlToData.java 96
org/apache/torque/engine/database/transform/package.html 1
org/apache/torque/engine/package.html 1
org/apache/torque/engine/sql/ParseException.java 1
org/apache/torque/engine/sql/SQLScanner.java 10
org/apache/torque/engine/sql/Token.java 15
org/apache/torque/engine/sql/package.html 1
org/apache/torque/task/PackageAsPathTask.java 11
org/apache/torque/task/TorqueDataDumpTask.java 39
org/apache/torque/task/TorqueDataModelTask.java 49
org/apache/torque/task/TorqueDataSQLTask.java 22
org/apache/torque/task/TorqueDocumentationTask.java 5
org/apache/torque/task/TorqueJDBCTransformTask.java 86
org/apache/torque/task/TorqueSQLExec.java 148
org/apache/torque/task/TorqueSQLTask.java 29
org/apache/torque/task/TorqueSQLTransformTask.java 10

org/apache/torque/engine/EngineException.java

Error Line
Parameter msg should be final. 83
Parameter nested should be final. 95
Parameter msg should be final. 108
Parameter nested should be final. 108

org/apache/torque/engine/database/model/AppData.java

Error Line
Name 'dbList' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 92
'5' is a magic number. 92
Name 'idiosyncrasyTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 97
'8' is a magic number. 97
Name 'databaseType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 102
Name 'basePropsFilePath' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 107
Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 113
Missing a Javadoc comment. 116
Name 'isInitialized' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 116
Variable 'isInitialized' must be private and have accessor methods. 116
Parameter databaseType should be final. 126
'databaseType' hides a field. 126
Parameter basePropsFilePath should be final. 126
'basePropsFilePath' hides a field. 126
Method 'getIdiosyncrasies' is not designed for extension - needs to be abstract, final or empty. 141
Parameter databaseType should be final. 141
'databaseType' hides a field. 141
Unable to get class information for EngineException. 142
Method 'setName' is not designed for extension - needs to be abstract, final or empty. 196
Parameter name should be final. 196
'name' hides a field. 196
Method 'getName' is not designed for extension - needs to be abstract, final or empty. 206
Method 'getShortName' is not designed for extension - needs to be abstract, final or empty. 216
Method 'getDatabase' is not designed for extension - needs to be abstract, final or empty. 226
Expected @throws tag for 'EngineException'. 227
Unable to get class information for EngineException. 227
Method 'getDatabases' is not designed for extension - needs to be abstract, final or empty. 238
Expected @throws tag for 'EngineException'. 239
Unable to get class information for EngineException. 239
Method 'hasMultipleDatabases' is not designed for extension - needs to be abstract, final or empty. 256
Method 'getDatabase' is not designed for extension - needs to be abstract, final or empty. 267
Parameter name should be final. 267
'name' hides a field. 267
Expected @throws tag for 'EngineException'. 268
Unable to get class information for EngineException. 268
Method 'addDatabase' is not designed for extension - needs to be abstract, final or empty. 288
Parameter attrib should be final. 288
Method 'addDatabase' is not designed for extension - needs to be abstract, final or empty. 302
Parameter db should be final. 302
Missing a Javadoc comment. 317
Unable to get class information for EngineException. 318
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 337

org/apache/torque/engine/database/model/Column.java

Error Line
Missing a Javadoc comment. 85
Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 85
Missing a Javadoc comment. 86
Name 'description' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 86
Missing a Javadoc comment. 87
Name 'javaName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 87
Missing a Javadoc comment. 88
Name 'javaNamingMethod' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 88
Missing a Javadoc comment. 89
Name 'isNotNull' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 89
Missing a Javadoc comment. 90
Name 'size' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 90
Name 'torqueType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 92
Missing a Javadoc comment. 93
Name 'javaType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 93
Missing a Javadoc comment. 94
Name 'columnType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 94
Missing a Javadoc comment. 95
Name 'parentTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 95
Missing a Javadoc comment. 96
Name 'position' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 96
Missing a Javadoc comment. 97
Name 'isPrimaryKey' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 97
Missing a Javadoc comment. 98
Name 'isUnique' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 98
Missing a Javadoc comment. 99
Name 'isAutoIncrement' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 99
Missing a Javadoc comment. 100
Name 'defaultValue' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 100
Missing a Javadoc comment. 101
Name 'referrers' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 101
Missing a Javadoc comment. 106
Name 'inheritanceType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 106
Missing a Javadoc comment. 107
Name 'isInheritance' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 107
Missing a Javadoc comment. 108
Name 'isEnumeratedClasses' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 108
Missing a Javadoc comment. 109
Name 'inheritanceList' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 109
Missing a Javadoc comment. 110
Name 'needsTransactionInPostgres' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 110
Name 'inputValidator' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 113
Parameter name should be final. 128
'name' hides a field. 128
Expected an @return tag. 139
Parameter columns should be final. 139
Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. 163
Parameter attrib should be final. 163
Expected @param tag for 'attrib'. 163
Expected an @return tag. 222
Method 'getFullyQualifiedName' is not designed for extension - needs to be abstract, final or empty. 222
Expected an @return tag. 230
Method 'getName' is not designed for extension - needs to be abstract, final or empty. 230
Method 'setName' is not designed for extension - needs to be abstract, final or empty. 238
Parameter newName should be final. 238
Expected @param tag for 'newName'. 238
Expected an @return tag. 246
Method 'getDescription' is not designed for extension - needs to be abstract, final or empty. 246
Method 'setDescription' is not designed for extension - needs to be abstract, final or empty. 256
Parameter newDescription should be final. 256
Line has trailing spaces. 263
Method 'getJavaName' is not designed for extension - needs to be abstract, final or empty. 266
Line has trailing spaces. 285
Line has trailing spaces. 288
Expected an @return tag. 289
Method 'getUncapitalisedJavaName' is not designed for extension - needs to be abstract, final or empty. 289
Method 'setJavaName' is not designed for extension - needs to be abstract, final or empty. 297
Parameter javaName should be final. 297
'javaName' hides a field. 297
Expected @param tag for 'javaName'. 297
Expected an @return tag. 305
Method 'getJavaType' is not designed for extension - needs to be abstract, final or empty. 305
Method 'getPosition' is not designed for extension - needs to be abstract, final or empty. 314
Method 'setPosition' is not designed for extension - needs to be abstract, final or empty. 323
Parameter v should be final. 323
Method 'setTable' is not designed for extension - needs to be abstract, final or empty. 331
Parameter parent should be final. 331
Expected @param tag for 'parent'. 331
Expected an @return tag. 339
Method 'getTable' is not designed for extension - needs to be abstract, final or empty. 339
Expected an @return tag. 347
Method 'getTableName' is not designed for extension - needs to be abstract, final or empty. 347
Expected an @return tag. 356
Method 'addInheritance' is not designed for extension - needs to be abstract, final or empty. 356
Parameter attrib should be final. 356
Expected @param tag for 'attrib'. 356
Method 'addInheritance' is not designed for extension - needs to be abstract, final or empty. 369
Parameter inh should be final. 369
Expected @param tag for 'inh'. 369
Expected an @return tag. 383
Method 'getChildren' is not designed for extension - needs to be abstract, final or empty. 383
Expected an @return tag. 392
Method 'isInheritance' is not designed for extension - needs to be abstract, final or empty. 392
Expected an @return tag. 400
Method 'isEnumeratedClasses' is not designed for extension - needs to be abstract, final or empty. 400
Expected an @return tag. 408
Method 'isNotNull' is not designed for extension - needs to be abstract, final or empty. 408
Method 'setNotNull' is not designed for extension - needs to be abstract, final or empty. 416
Parameter status should be final. 416
Expected @param tag for 'status'. 416
Method 'setPrimaryKey' is not designed for extension - needs to be abstract, final or empty. 424
Parameter pk should be final. 424
Expected @param tag for 'pk'. 424
Expected an @return tag. 432
Method 'isPrimaryKey' is not designed for extension - needs to be abstract, final or empty. 432
Method 'setUnique' is not designed for extension - needs to be abstract, final or empty. 440
Parameter u should be final. 440
Expected @param tag for 'u'. 440
Expected an @return tag. 448
Method 'isUnique' is not designed for extension - needs to be abstract, final or empty. 448
Expected an @return tag. 456
Method 'requiresTransactionInPostgres' is not designed for extension - needs to be abstract, final or empty. 456
Expected an @return tag. 464
Method 'isForeignKey' is not designed for extension - needs to be abstract, final or empty. 464
Expected an @return tag. 473
Method 'isMultipleFK' is not designed for extension - needs to be abstract, final or empty. 473
Expected an @return tag. 498
Method 'getForeignKey' is not designed for extension - needs to be abstract, final or empty. 498
Expected an @return tag. 507
Method 'getRelatedTableName' is not designed for extension - needs to be abstract, final or empty. 507
Avoid inline conditionals. 510
Expected an @return tag. 518
Method 'getRelatedColumnName' is not designed for extension - needs to be abstract, final or empty. 518
Method 'addReferrer' is not designed for extension - needs to be abstract, final or empty. 534
Parameter fk should be final. 534
Expected @param tag for 'fk'. 534
'5' is a magic number. 538
Expected an @return tag. 546
Method 'getReferrers' is not designed for extension - needs to be abstract, final or empty. 546
'5' is a magic number. 550
Method 'setType' is not designed for extension - needs to be abstract, final or empty. 558
Parameter torqueType should be final. 558
'torqueType' hides a field. 558
Expected @param tag for 'torqueType'. 558
Expected an @return tag. 570
Method 'getType' is not designed for extension - needs to be abstract, final or empty. 570
Expected an @return tag. 578
Method 'getTorqueType' is not designed for extension - needs to be abstract, final or empty. 578
Expected an @return tag. 586
Method 'isString' is not designed for extension - needs to be abstract, final or empty. 586
Expected an @return tag. 595
Method 'needEscapedValue' is not designed for extension - needs to be abstract, final or empty. 595
'&&' should be on a new line. 597
'(' is followed by whitespace. 598
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 611
Expected an @return tag. 662
Method 'getSize' is not designed for extension - needs to be abstract, final or empty. 662
Method 'setSize' is not designed for extension - needs to be abstract, final or empty. 670
Parameter newSize should be final. 670
Expected @param tag for 'newSize'. 670
Expected an @return tag. 679
Method 'printSize' is not designed for extension - needs to be abstract, final or empty. 679
Avoid inline conditionals. 681
Comment matches to-do format 'TODO:'. 687
Expected an @return tag. 689
Method 'getDefaultSetting' is not designed for extension - needs to be abstract, final or empty. 689
Comment matches to-do format 'TODO:'. 697
Method 'setDefaultValue' is not designed for extension - needs to be abstract, final or empty. 711
Parameter def should be final. 711
Expected @param tag for 'def'. 711
Expected an @return tag. 719
Method 'getDefaultValue' is not designed for extension - needs to be abstract, final or empty. 719
Expected an @return tag. 727
Method 'getInputValidator' is not designed for extension - needs to be abstract, final or empty. 727
Expected an @return tag. 736
Method 'isAutoIncrement' is not designed for extension - needs to be abstract, final or empty. 736
Method 'setAutoIncrement' is not designed for extension - needs to be abstract, final or empty. 745
Parameter value should be final. 745
Expected @param tag for 'value'. 745
Method 'setTypeFromString' is not designed for extension - needs to be abstract, final or empty. 754
Parameter typeName should be final. 754
Expected @param tag for 'typeName'. 754
Parameter size should be final. 754
'size' hides a field. 754
Expected @param tag for 'size'. 754
Expected an @return tag. 807
Method 'getJavaObject' is not designed for extension - needs to be abstract, final or empty. 807
Method 'getJavaPrimitive' is not designed for extension - needs to be abstract, final or empty. 818
Method 'getJavaNative' is not designed for extension - needs to be abstract, final or empty. 831
Expected an @return tag. 846
Method 'getVillageMethod' is not designed for extension - needs to be abstract, final or empty. 846
Expected an @return tag. 861
Method 'getParameterParserMethod' is not designed for extension - needs to be abstract, final or empty. 861
Expected an @return tag. 870
Method 'isBooleanInt' is not designed for extension - needs to be abstract, final or empty. 870
Expected an @return tag. 879
Method 'isBooleanChar' is not designed for extension - needs to be abstract, final or empty. 879
Expected an @return tag. 888
Method 'isPrimitive' is not designed for extension - needs to be abstract, final or empty. 888
Method 'isUsePrimitive' is not designed for extension - needs to be abstract, final or empty. 901
Missing a Javadoc comment. 901

org/apache/torque/engine/database/model/ConstraintNameGenerator.java

Error Line
Method 'generateName' is not designed for extension - needs to be abstract, final or empty. 87
Parameter inputs should be final. 87
Unable to get class information for EngineException. 88
'3' is a magic number. 94
Must have at least one statement. 116

org/apache/torque/engine/database/model/Database.java

Error Line
Missing a Javadoc comment. 80
Name 'databaseType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 80
Missing a Javadoc comment. 81
Name 'tableList' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 81
'100' is a magic number. 81
Missing a Javadoc comment. 82
Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 82
Missing a Javadoc comment. 83
Name 'pkg' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 83
Missing a Javadoc comment. 84
Name 'baseClass' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 84
Missing a Javadoc comment. 85
Name 'basePeer' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 85
Missing a Javadoc comment. 86
Name 'defaultIdMethod' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 86
Missing a Javadoc comment. 87
Name 'defaultJavaType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 87
Missing a Javadoc comment. 88
Name 'defaultJavaNamingMethod' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 88
Missing a Javadoc comment. 89
Name 'dbParent' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 89
Missing a Javadoc comment. 90
Name 'tablesByName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 90
Missing a Javadoc comment. 91
Name 'tablesByJavaName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 91
Missing a Javadoc comment. 92
Name 'heavyIndexing' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 92
Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. 99
Parameter attrib should be final. 99
Method 'getName' is not designed for extension - needs to be abstract, final or empty. 120
Method 'setName' is not designed for extension - needs to be abstract, final or empty. 130
Parameter name should be final. 130
'name' hides a field. 130
Avoid inline conditionals. 134
Method 'getPackage' is not designed for extension - needs to be abstract, final or empty. 141
Method 'setPackage' is not designed for extension - needs to be abstract, final or empty. 150
Parameter v should be final. 150
Method 'getBaseClass' is not designed for extension - needs to be abstract, final or empty. 159
Method 'setBaseClass' is not designed for extension - needs to be abstract, final or empty. 172
Parameter v should be final. 172
Method 'getBasePeer' is not designed for extension - needs to be abstract, final or empty. 181
Method 'setBasePeer' is not designed for extension - needs to be abstract, final or empty. 194
Parameter v should be final. 194
Method 'getDefaultIdMethod' is not designed for extension - needs to be abstract, final or empty. 203
Method 'setDefaultIdMethod' is not designed for extension - needs to be abstract, final or empty. 212
Parameter v should be final. 212
Method 'getDefaultJavaType' is not designed for extension - needs to be abstract, final or empty. 222
Method 'getDefaultJavaNamingMethod' is not designed for extension - needs to be abstract, final or empty. 233
Method 'setDefaultJavaNamingMethod' is not designed for extension - needs to be abstract, final or empty. 242
Parameter v should be final. 242
Method 'isHeavyIndexing' is not designed for extension - needs to be abstract, final or empty. 251
Method 'setHeavyIndexing' is not designed for extension - needs to be abstract, final or empty. 260
Parameter v should be final. 260
Method 'getTables' is not designed for extension - needs to be abstract, final or empty. 270
Method 'getTable' is not designed for extension - needs to be abstract, final or empty. 287
Parameter name should be final. 287
'name' hides a field. 287
Method 'getTableByJavaName' is not designed for extension - needs to be abstract, final or empty. 298
Parameter javaName should be final. 298
Method 'addTable' is not designed for extension - needs to be abstract, final or empty. 309
Parameter attrib should be final. 309
Method 'addTable' is not designed for extension - needs to be abstract, final or empty. 323
Parameter tbl should be final. 323
Method 'setAppData' is not designed for extension - needs to be abstract, final or empty. 337
Parameter parent should be final. 337
Method 'getAppData' is not designed for extension - needs to be abstract, final or empty. 347
Method 'getDatabaseType' is not designed for extension - needs to be abstract, final or empty. 352
Missing a Javadoc comment. 352
Method 'setDatabaseType' is not designed for extension - needs to be abstract, final or empty. 357
Missing a Javadoc comment. 357
Parameter databaseType should be final. 357
'databaseType' hides a field. 357
Method 'getProperty' is not designed for extension - needs to be abstract, final or empty. 370
Parameter name should be final. 370
'name' hides a field. 370
Unable to get class information for EngineException. 371
Avoid inline conditionals. 374
Method 'requiresIdTable' is not designed for extension - needs to be abstract, final or empty. 385
Array brackets at illegal position. 387
Method 'doFinalInitialization' is not designed for extension - needs to be abstract, final or empty. 398
Missing a Javadoc comment. 398
Unable to get class information for EngineException. 399
Line is longer than 80 characters. 425
Line is longer than 80 characters. 452
Line is longer than 80 characters. 462
Line is longer than 80 characters. 481
Line is longer than 80 characters. 482
Line has trailing spaces. 489
Line is longer than 80 characters. 489
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 508

org/apache/torque/engine/database/model/ForeignKey.java

Error Line
Missing a Javadoc comment. 71
Name 'foreignTableName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 71
Missing a Javadoc comment. 72
Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 72
Missing a Javadoc comment. 73
Name 'onUpdate' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 73
Missing a Javadoc comment. 74
Name 'onDelete' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 74
Missing a Javadoc comment. 75
Name 'parentTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 75
Missing a Javadoc comment. 76
Name 'localColumns' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 76
'3' is a magic number. 76
Missing a Javadoc comment. 77
Name 'foreignColumns' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 77
'3' is a magic number. 77
Missing a Javadoc comment. 80
Missing a Javadoc comment. 81
Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. 88
Parameter attrib should be final. 88
Parameter attrib should be final. 104
Method 'hasOnUpdate' is not designed for extension - needs to be abstract, final or empty. 124
Method 'hasOnDelete' is not designed for extension - needs to be abstract, final or empty. 134
Method 'getOnUpdate' is not designed for extension - needs to be abstract, final or empty. 144
Method 'getOnDelete' is not designed for extension - needs to be abstract, final or empty. 154
Method 'setOnDelete' is not designed for extension - needs to be abstract, final or empty. 164
Parameter value should be final. 164
Method 'setOnUpdate' is not designed for extension - needs to be abstract, final or empty. 174
Parameter value should be final. 174
Method 'getName' is not designed for extension - needs to be abstract, final or empty. 184
Method 'setName' is not designed for extension - needs to be abstract, final or empty. 194
Parameter name should be final. 194
'name' hides a field. 194
Method 'getForeignTableName' is not designed for extension - needs to be abstract, final or empty. 204
Method 'setForeignTableName' is not designed for extension - needs to be abstract, final or empty. 214
Parameter tableName should be final. 214
Method 'setTable' is not designed for extension - needs to be abstract, final or empty. 224
Parameter parent should be final. 224
Method 'getTable' is not designed for extension - needs to be abstract, final or empty. 234
Method 'getTableName' is not designed for extension - needs to be abstract, final or empty. 244
Method 'addReference' is not designed for extension - needs to be abstract, final or empty. 254
Parameter attrib should be final. 254
Method 'addReference' is not designed for extension - needs to be abstract, final or empty. 265
Parameter local should be final. 265
Parameter foreign should be final. 265
Method 'getLocalColumnNames' is not designed for extension - needs to be abstract, final or empty. 276
Method 'getForeignColumnNames' is not designed for extension - needs to be abstract, final or empty. 286
Method 'getLocalColumns' is not designed for extension - needs to be abstract, final or empty. 296
Method 'getLocalForeignMapping' is not designed for extension - needs to be abstract, final or empty. 307
Method 'getForeignColumns' is not designed for extension - needs to be abstract, final or empty. 324
Method 'getForeignLocalMapping' is not designed for extension - needs to be abstract, final or empty. 335
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 352

org/apache/torque/engine/database/model/IDMethod.java

Error Line
interfaces should describe a type and hence have methods. 64

org/apache/torque/engine/database/model/IdMethodParameter.java

Error Line
Missing a Javadoc comment. 68
Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 68
Missing a Javadoc comment. 69
Name 'value' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 69
Missing a Javadoc comment. 70
Name 'parentTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 70
Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. 75
Parameter attrib should be final. 75
Expected @param tag for 'attrib'. 75
Expected an @return tag. 84
Method 'getName' is not designed for extension - needs to be abstract, final or empty. 84
Method 'setName' is not designed for extension - needs to be abstract, final or empty. 92
Parameter name should be final. 92
'name' hides a field. 92
Expected @param tag for 'name'. 92
Expected an @return tag. 100
Method 'getValue' is not designed for extension - needs to be abstract, final or empty. 100
Method 'setValue' is not designed for extension - needs to be abstract, final or empty. 108
Parameter value should be final. 108
'value' hides a field. 108
Expected @param tag for 'value'. 108
Method 'setTable' is not designed for extension - needs to be abstract, final or empty. 116
Parameter parent should be final. 116
Expected @param tag for 'parent'. 116
Expected an @return tag. 124
Method 'getTable' is not designed for extension - needs to be abstract, final or empty. 124
Expected an @return tag. 132
Method 'getTableName' is not designed for extension - needs to be abstract, final or empty. 132
Expected an @return tag. 140
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 140

org/apache/torque/engine/database/model/Index.java

Error Line
Name 'indexName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 80
Name 'parentTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 82
Name 'indexColumns' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 84
'3' is a magic number. 92
Parameter table should be final. 106
Parameter indexColumns should be final. 106
'indexColumns' hides a field. 106
Unable to get class information for EngineException. 107
Unable to get class information for EngineException. 134
'4' is a magic number. 137
Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. 159
Parameter attrib should be final. 159
Method 'isUnique' is not designed for extension - needs to be abstract, final or empty. 169
Method 'getName' is not designed for extension - needs to be abstract, final or empty. 179
Must have at least one statement. 189
Method 'setName' is not designed for extension - needs to be abstract, final or empty. 201
Parameter name should be final. 201
Method 'setTable' is not designed for extension - needs to be abstract, final or empty. 211
Parameter parent should be final. 211
Method 'getTable' is not designed for extension - needs to be abstract, final or empty. 221
Method 'getTableName' is not designed for extension - needs to be abstract, final or empty. 231
Method 'addColumn' is not designed for extension - needs to be abstract, final or empty. 241
Parameter attrib should be final. 241
Method 'getColumnList' is not designed for extension - needs to be abstract, final or empty. 251
Method 'getColumns' is not designed for extension - needs to be abstract, final or empty. 261
Method 'getColumnNames' is not designed for extension - needs to be abstract, final or empty. 274
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 291

org/apache/torque/engine/database/model/Inheritance.java

Error Line
Missing a Javadoc comment. 67
Name 'key' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 67
Missing a Javadoc comment. 68
Name 'className' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 68
Missing a Javadoc comment. 69
Name 'ancestor' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 69
Missing a Javadoc comment. 70
Name 'parent' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 70
Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. 77
Parameter attrib should be final. 77
Method 'getKey' is not designed for extension - needs to be abstract, final or empty. 88
Method 'setKey' is not designed for extension - needs to be abstract, final or empty. 97
Parameter v should be final. 97
Method 'getColumn' is not designed for extension - needs to be abstract, final or empty. 107
Method 'setColumn' is not designed for extension - needs to be abstract, final or empty. 116
Parameter v should be final. 116
Method 'getClassName' is not designed for extension - needs to be abstract, final or empty. 125
Method 'setClassName' is not designed for extension - needs to be abstract, final or empty. 134
Parameter v should be final. 134
Method 'getAncestor' is not designed for extension - needs to be abstract, final or empty. 143
Method 'setAncestor' is not designed for extension - needs to be abstract, final or empty. 152
Parameter v should be final. 152
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 162

org/apache/torque/engine/database/model/JavaNameGenerator.java

Error Line
Method 'generateName' is not designed for extension - needs to be abstract, final or empty. 88
Parameter inputs should be final. 88
Method 'underscoreMethod' is not designed for extension - needs to be abstract, final or empty. 127
Parameter schemaName should be final. 127
Method 'javanameMethod' is not designed for extension - needs to be abstract, final or empty. 150
Parameter schemaName should be final. 150
Parameter name should be final. 170

org/apache/torque/engine/database/model/NameFactory.java

Error Line
Name 'algorithms' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 91
'5' is a magic number. 98
Method 'getAlgorithm' is not designed for extension - needs to be abstract, final or empty. 108
Parameter name should be final. 108
Expected @throws tag for 'EngineException'. 109
Unable to get class information for EngineException. 109
Line has trailing spaces. 123
Line is longer than 80 characters. 124
Parameter algorithmName should be final. 147
Parameter inputs should be final. 147
Unable to get class information for EngineException. 148

org/apache/torque/engine/database/model/NameGenerator.java

Error Line
Unable to get class information for EngineException. 108

org/apache/torque/engine/database/model/Table.java

Error Line
Missing a Javadoc comment. 88
Name 'columnList' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 88
Missing a Javadoc comment. 89
Name 'foreignKeys' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 89
Missing a Javadoc comment. 90
Name 'indices' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 90
Missing a Javadoc comment. 91
Name 'unices' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 91
Missing a Javadoc comment. 92
Name 'idMethodParameters' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 92
Missing a Javadoc comment. 93
Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 93
Missing a Javadoc comment. 94
Name 'description' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 94
Missing a Javadoc comment. 95
Name 'javaName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 95
Missing a Javadoc comment. 96
Name 'idMethod' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 96
Missing a Javadoc comment. 97
Name 'javaNamingMethod' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 97
Missing a Javadoc comment. 98
Name 'tableParent' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 98
Missing a Javadoc comment. 99
Name 'referrers' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 99
Missing a Javadoc comment. 100
Name 'foreignTableNames' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 100
Missing a Javadoc comment. 101
Name 'containsForeignPK' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 101
Missing a Javadoc comment. 102
Name 'inheritanceColumn' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 102
Missing a Javadoc comment. 103
Name 'skipSql' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 103
Missing a Javadoc comment. 104
Name 'abstractValue' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 104
Missing a Javadoc comment. 105
Name 'alias' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 105
Missing a Javadoc comment. 106
Name 'enterface' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 106
Missing a Javadoc comment. 107
Name 'pkg' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 107
Missing a Javadoc comment. 108
Name 'baseClass' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 108
Missing a Javadoc comment. 109
Name 'basePeer' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 109
Missing a Javadoc comment. 110
Name 'columnsByName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 110
Missing a Javadoc comment. 111
Name 'columnsByJavaName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 111
Missing a Javadoc comment. 112
Name 'needsTransactionInPostgres' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 112
Missing a Javadoc comment. 113
Name 'heavyIndexing' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 113
Missing a Javadoc comment. 114
Name 'forReferenceOnly' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 114
Parameter name should be final. 130
'name' hides a field. 130
'5' is a magic number. 134
'5' is a magic number. 135
'5' is a magic number. 136
Method 'loadFromXML' is not designed for extension - needs to be abstract, final or empty. 147
Parameter attrib should be final. 147
Parameter defaultIdMethod should be final. 147
Method 'doFinalInitialization' is not designed for extension - needs to be abstract, final or empty. 194
'name' hides a field. 259
Parameter nameType should be final. 305
Parameter nbr should be final. 305
Expected @throws tag for 'EngineException'. 306
Unable to get class information for EngineException. 306
'4' is a magic number. 308
Method 'getBaseClass' is not designed for extension - needs to be abstract, final or empty. 322
Method 'setBaseClass' is not designed for extension - needs to be abstract, final or empty. 342
Parameter v should be final. 342
Method 'getBasePeer' is not designed for extension - needs to be abstract, final or empty. 351
Method 'setBasePeer' is not designed for extension - needs to be abstract, final or empty. 371
Parameter v should be final. 371
Method 'addColumn' is not designed for extension - needs to be abstract, final or empty. 383
Parameter attrib should be final. 383
Method 'addColumn' is not designed for extension - needs to be abstract, final or empty. 398
Parameter col should be final. 398
Method 'addForeignKey' is not designed for extension - needs to be abstract, final or empty. 419
Parameter attrib should be final. 419
Expected an @return tag. 431
Method 'getChildrenColumn' is not designed for extension - needs to be abstract, final or empty. 431
Expected an @return tag. 439
Method 'getChildrenNames' is not designed for extension - needs to be abstract, final or empty. 439
Method 'addReferrer' is not designed for extension - needs to be abstract, final or empty. 460
Parameter fk should be final. 460
'5' is a magic number. 464
Method 'getReferrers' is not designed for extension - needs to be abstract, final or empty. 474
Method 'setContainsForeignPK' is not designed for extension - needs to be abstract, final or empty. 484
Parameter b should be final. 484
Expected @param tag for 'b'. 484
Expected an @return tag. 492
Method 'getContainsForeignPK' is not designed for extension - needs to be abstract, final or empty. 492
Method 'getForeignTableNames' is not designed for extension - needs to be abstract, final or empty. 502
Method 'addForeignKey' is not designed for extension - needs to be abstract, final or empty. 517
Parameter fk should be final. 517
'5' is a magic number. 524
Expected an @return tag. 535
Method 'requiresTransactionInPostgres' is not designed for extension - needs to be abstract, final or empty. 535
Expected an @return tag. 544
Method 'addIdMethodParameter' is not designed for extension - needs to be abstract, final or empty. 544
Parameter attrib should be final. 544
Expected @param tag for 'attrib'. 544
Method 'addIdMethodParameter' is not designed for extension - needs to be abstract, final or empty. 559
Parameter imp should be final. 559
Method 'addIndex' is not designed for extension - needs to be abstract, final or empty. 573
Parameter index should be final. 573
Expected @param tag for 'index'. 573
Expected an @return tag. 583
Method 'addIndex' is not designed for extension - needs to be abstract, final or empty. 583
Parameter attrib should be final. 583
Expected @param tag for 'attrib'. 583
Method 'addUnique' is not designed for extension - needs to be abstract, final or empty. 595
Parameter unique should be final. 595
Expected @param tag for 'unique'. 595
Expected an @return tag. 607
Method 'addUnique' is not designed for extension - needs to be abstract, final or empty. 607
Parameter attrib should be final. 607
Expected an @return tag. 618
Method 'getName' is not designed for extension - needs to be abstract, final or empty. 618
Method 'setName' is not designed for extension - needs to be abstract, final or empty. 626
Parameter newName should be final. 626
Expected @param tag for 'newName'. 626
Expected an @return tag. 634
Method 'getDescription' is not designed for extension - needs to be abstract, final or empty. 634
Method 'setDescription' is not designed for extension - needs to be abstract, final or empty. 644
Parameter newDescription should be final. 644
Expected an @return tag. 652
Method 'getJavaName' is not designed for extension - needs to be abstract, final or empty. 652
Method 'setJavaName' is not designed for extension - needs to be abstract, final or empty. 675
Parameter javaName should be final. 675
'javaName' hides a field. 675
Expected @param tag for 'javaName'. 675
Expected an @return tag. 683
Method 'getIdMethod' is not designed for extension - needs to be abstract, final or empty. 683
Method 'setIdMethod' is not designed for extension - needs to be abstract, final or empty. 698
Parameter idMethod should be final. 698
'idMethod' hides a field. 698
Expected @param tag for 'idMethod'. 698
Method 'isSkipSql' is not designed for extension - needs to be abstract, final or empty. 708
Method 'setSkipSql' is not designed for extension - needs to be abstract, final or empty. 717
Parameter v should be final. 717
Method 'getAlias' is not designed for extension - needs to be abstract, final or empty. 726
Method 'isAlias' is not designed for extension - needs to be abstract, final or empty. 736
Method 'setAlias' is not designed for extension - needs to be abstract, final or empty. 746
Parameter v should be final. 746
Method 'getInterface' is not designed for extension - needs to be abstract, final or empty. 756
Method 'setInterface' is not designed for extension - needs to be abstract, final or empty. 765
Parameter v should be final. 765
Method 'isAbstract' is not designed for extension - needs to be abstract, final or empty. 778
Method 'setAbstract' is not designed for extension - needs to be abstract, final or empty. 792
Parameter v should be final. 792
Method 'getPackage' is not designed for extension - needs to be abstract, final or empty. 802
Method 'setPackage' is not designed for extension - needs to be abstract, final or empty. 819
Parameter v should be final. 819
Expected an @return tag. 827
Method 'getColumns' is not designed for extension - needs to be abstract, final or empty. 827
Expected an @return tag. 841
Method 'getNumColumns' is not designed for extension - needs to be abstract, final or empty. 841
Expected an @return tag. 849
Method 'getForeignKeys' is not designed for extension - needs to be abstract, final or empty. 849
Expected an @return tag. 864
Method 'getIdMethodParameters' is not designed for extension - needs to be abstract, final or empty. 864
Method 'getSequenceName' is not designed for extension - needs to be abstract, final or empty. 874
Method 'getIndices' is not designed for extension - needs to be abstract, final or empty. 897
Method 'getUnices' is not designed for extension - needs to be abstract, final or empty. 913
Method 'getColumn' is not designed for extension - needs to be abstract, final or empty. 930
Parameter name should be final. 930
'name' hides a field. 930
Method 'getColumnByJavaName' is not designed for extension - needs to be abstract, final or empty. 941
Parameter javaName should be final. 941
'javaName' hides a field. 941
Method 'getForeignKey' is not designed for extension - needs to be abstract, final or empty. 954
Parameter col should be final. 954
Must have at least one statement. 967
Method 'containsColumn' is not designed for extension - needs to be abstract, final or empty. 984
Parameter col should be final. 984
Method 'containsColumn' is not designed for extension - needs to be abstract, final or empty. 995
Parameter name should be final. 995
'name' hides a field. 995
Method 'setDatabase' is not designed for extension - needs to be abstract, final or empty. 1005
Parameter parent should be final. 1005
Method 'getDatabase' is not designed for extension - needs to be abstract, final or empty. 1015
Method 'isForReferenceOnly' is not designed for extension - needs to be abstract, final or empty. 1025
Method 'setForReferenceOnly' is not designed for extension - needs to be abstract, final or empty. 1035
Parameter v should be final. 1035
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 1045
Method 'getPrimaryKey' is not designed for extension - needs to be abstract, final or empty. 1133
Method 'hasPrimaryKey' is not designed for extension - needs to be abstract, final or empty. 1154
Method 'printPrimaryKey' is not designed for extension - needs to be abstract, final or empty. 1164
Parameter list should be final. 1175

org/apache/torque/engine/database/model/TypeMap.java

Error Line
Utility classes should not have a public or default constructor. 109
Missing a Javadoc comment. 111
Missing a Javadoc comment. 112
Missing a Javadoc comment. 113
Missing a Javadoc comment. 114
Missing a Javadoc comment. 115
Missing a Javadoc comment. 116
Missing a Javadoc comment. 117
Missing a Javadoc comment. 118
Missing a Javadoc comment. 119
Missing a Javadoc comment. 120
Missing a Javadoc comment. 121
Missing a Javadoc comment. 122
Missing a Javadoc comment. 123
Missing a Javadoc comment. 124
Missing a Javadoc comment. 125
Missing a Javadoc comment. 126
Missing a Javadoc comment. 127
Missing a Javadoc comment. 128
Missing a Javadoc comment. 129
Missing a Javadoc comment. 130
Missing a Javadoc comment. 131
Missing a Javadoc comment. 132
Missing a Javadoc comment. 133
Missing a Javadoc comment. 134
Missing a Javadoc comment. 139
Missing a Javadoc comment. 140
Missing a Javadoc comment. 141
Missing a Javadoc comment. 142
Missing a Javadoc comment. 143
Missing a Javadoc comment. 144
Missing a Javadoc comment. 145
Missing a Javadoc comment. 146
Missing a Javadoc comment. 147
Missing a Javadoc comment. 148
Missing a Javadoc comment. 149
Missing a Javadoc comment. 150
Missing a Javadoc comment. 151
Missing a Javadoc comment. 152
Missing a Javadoc comment. 153
Missing a Javadoc comment. 154
Missing a Javadoc comment. 155
Missing a Javadoc comment. 156
Missing a Javadoc comment. 157
Missing a Javadoc comment. 158
Missing a Javadoc comment. 159
Missing a Javadoc comment. 160
Missing a Javadoc comment. 161
Missing a Javadoc comment. 163
Missing a Javadoc comment. 164
Missing a Javadoc comment. 165
Missing a Javadoc comment. 166
Missing a Javadoc comment. 167
Missing a Javadoc comment. 168
Missing a Javadoc comment. 169
Missing a Javadoc comment. 170
Missing a Javadoc comment. 171
Missing a Javadoc comment. 172
Missing a Javadoc comment. 173
Missing a Javadoc comment. 174
Missing a Javadoc comment. 175
Missing a Javadoc comment. 176
Missing a Javadoc comment. 177
Missing a Javadoc comment. 178
Missing a Javadoc comment. 179
Missing a Javadoc comment. 180
Missing a Javadoc comment. 181
Missing a Javadoc comment. 182
Missing a Javadoc comment. 183
Missing a Javadoc comment. 184
Missing a Javadoc comment. 185
Missing a Javadoc comment. 187
Missing a Javadoc comment. 188
Missing a Javadoc comment. 189
Missing a Javadoc comment. 190
Missing a Javadoc comment. 191
Missing a Javadoc comment. 192
Missing a Javadoc comment. 193
Missing a Javadoc comment. 194
Missing a Javadoc comment. 195
Missing a Javadoc comment. 196
Missing a Javadoc comment. 198
Missing a Javadoc comment. 199
Missing a Javadoc comment. 200
Missing a Javadoc comment. 201
Missing a Javadoc comment. 202
Missing a Javadoc comment. 203
Missing a Javadoc comment. 204
Missing a Javadoc comment. 205
Missing a Javadoc comment. 206
Missing a Javadoc comment. 207
Missing a Javadoc comment. 208
Missing a Javadoc comment. 209
Missing a Javadoc comment. 210
Missing a Javadoc comment. 211
Missing a Javadoc comment. 212
Missing a Javadoc comment. 213
Missing a Javadoc comment. 214
Missing a Javadoc comment. 215
Missing a Javadoc comment. 216
Missing a Javadoc comment. 217
Missing a Javadoc comment. 218
Missing a Javadoc comment. 219
Missing a Javadoc comment. 220
Missing a Javadoc comment. 222
Missing a Javadoc comment. 223
Missing a Javadoc comment. 224
Missing a Javadoc comment. 225
Missing a Javadoc comment. 226
Missing a Javadoc comment. 227
Missing a Javadoc comment. 228
Missing a Javadoc comment. 229
Line is longer than 80 characters. 230
Missing a Javadoc comment. 230
Line is longer than 80 characters. 231
Missing a Javadoc comment. 231
Missing a Javadoc comment. 233
Missing a Javadoc comment. 234
Missing a Javadoc comment. 235
Missing a Javadoc comment. 236
Missing a Javadoc comment. 237
Missing a Javadoc comment. 238
Missing a Javadoc comment. 239
Missing a Javadoc comment. 240
Missing a Javadoc comment. 241
Missing a Javadoc comment. 242
Missing a Javadoc comment. 243
Missing a Javadoc comment. 244
Missing a Javadoc comment. 245
Missing a Javadoc comment. 246
Missing a Javadoc comment. 247
Missing a Javadoc comment. 248
Missing a Javadoc comment. 249
Missing a Javadoc comment. 250
Missing a Javadoc comment. 251
Missing a Javadoc comment. 252
Missing a Javadoc comment. 253
Missing a Javadoc comment. 255
Missing a Javadoc comment. 256
Missing a Javadoc comment. 257
Missing a Javadoc comment. 258
Missing a Javadoc comment. 259
Missing a Javadoc comment. 260
Missing a Javadoc comment. 261
Missing a Javadoc comment. 262
Missing a Javadoc comment. 263
Method length is 215 lines (max allowed is 150). 269
'static' modifier out of order with the JLS suggestions. 269
Line is longer than 80 characters. 336
Line is longer than 80 characters. 369
Line is longer than 80 characters. 389
Line is longer than 80 characters. 462
Line is longer than 80 characters. 476
Parameter jdbcType should be final. 503
Parameter jdbcType should be final. 520
Parameter jdbcType should be final. 537
Parameter jdbcType should be final. 559
Parameter jdbcType should be final. 576
Parameter jdbcType should be final. 598
Parameter type should be final. 614
Parameter sqlType should be final. 631
Parameter type should be final. 648
Parameter type should be final. 660
Parameter type should be final. 671

org/apache/torque/engine/database/model/Unique.java

Error Line
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 87

org/apache/torque/engine/database/model/package.html

Error Line
Missing package documentation file. 0

org/apache/torque/engine/database/transform/DTDResolver.java

Error Line
Name 'databaseDTD' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 82
Expected @throws tag for 'SAXException'. 91
Method 'resolveEntity' is not designed for extension - needs to be abstract, final or empty. 125
Parameter publicId should be final. 125
Parameter systemId should be final. 125
Expected @throws tag for 'IOException'. 126
Parameter urlString should be final. 154
Expected @throws tag for 'IOException'. 155

org/apache/torque/engine/database/transform/SQLToAppData.java

Error Line
Missing a Javadoc comment. 84
Name 'sqlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 84
Missing a Javadoc comment. 85
Name 'tokens' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 85
Missing a Javadoc comment. 86
Name 'token' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 86
Missing a Javadoc comment. 87
Name 'appData' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 87
Missing a Javadoc comment. 88
Name 'appDataDB' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 88
Missing a Javadoc comment. 89
Name 'count' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 89
Missing a Javadoc comment. 90
Name 'databaseType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 90
Missing a Javadoc comment. 91
Name 'basePropsFilePath' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 91
Parameter sqlFile should be final. 98
'sqlFile' hides a field. 98
Parameter sqlFile should be final. 112
'sqlFile' hides a field. 112
Parameter databaseType should be final. 112
'databaseType' hides a field. 112
Expected @param tag for 'databaseType'. 112
Parameter basePropsFilePath should be final. 113
'basePropsFilePath' hides a field. 113
Expected @param tag for 'basePropsFilePath'. 113
Method 'getSqlFile' is not designed for extension - needs to be abstract, final or empty. 125
Method 'setSqlFile' is not designed for extension - needs to be abstract, final or empty. 135
Parameter sqlFile should be final. 135
'sqlFile' hides a field. 135
Expected @throws tag for 'ParseException'. 146
Unable to get class information for ParseException. 146
Parameter name should be final. 166
Expected @throws tag for 'ParseException'. 166
Unable to get class information for ParseException. 166
Expected @throws tag for 'ParseException'. 187
Unable to get class information for ParseException. 187
Name 'create_Table' must match pattern '^[a-z][a-zA-Z0-9]*$'. 201
Unable to get class information for ParseException. 201
Name 'create_Table_Column' must match pattern '^[a-z][a-zA-Z0-9]*$'. 236
Parameter tbl should be final. 236
Expected @param tag for 'tbl'. 236
Unable to get class information for ParseException. 236
Name 'create_Table_Column_Primary' must match pattern '^[a-z][a-zA-Z0-9]*$'. 269
Parameter tbl should be final. 269
Expected @param tag for 'tbl'. 269
Unable to get class information for ParseException. 269
Name 'create_Table_Column_Unique' must match pattern '^[a-z][a-zA-Z0-9]*$'. 316
Parameter tbl should be final. 316
Expected @param tag for 'tbl'. 316
Unable to get class information for ParseException. 316
Name 'create_Table_Column_Foreign' must match pattern '^[a-z][a-zA-Z0-9]*$'. 351
Parameter tbl should be final. 351
Expected @param tag for 'tbl'. 351
Unable to get class information for ParseException. 351
Name 'create_Table_Column_Data' must match pattern '^[a-z][a-zA-Z0-9]*$'. 422
Parameter tbl should be final. 422
Expected @param tag for 'tbl'. 422
Unable to get class information for ParseException. 422
Expected an @return tag. 572
Method 'execute' is not designed for extension - needs to be abstract, final or empty. 572
Redundant throws: 'IOException' is subclass of 'ParseException'. 572
Unable to get class information for ParseException. 572
Unable to get class information for ParseException. 572
Array brackets at illegal position. 612
Parameter args should be final. 612

org/apache/torque/engine/database/transform/XmlToAppData.java

Error Line
Missing a Javadoc comment. 97
Name 'app' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 97
Missing a Javadoc comment. 98
Name 'currDB' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 98
Missing a Javadoc comment. 99
Name 'currTable' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 99
Missing a Javadoc comment. 100
Name 'currColumn' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 100
Missing a Javadoc comment. 101
Name 'currFK' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 101
Missing a Javadoc comment. 102
Name 'currIndex' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 102
Missing a Javadoc comment. 103
Name 'currUnique' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 103
Missing a Javadoc comment. 105
Name 'firstPass' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 105
Missing a Javadoc comment. 106
Name 'isExternalSchema' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 106
Missing a Javadoc comment. 107
Name 'currentPackage' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 107
Missing a Javadoc comment. 108
Name 'currentXmlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 108
Missing a Javadoc comment. 109
Name 'defaultPackage' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 109
Missing a Javadoc comment. 111
Name 'alreadyReadFiles' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 114
Name 'parsingStack' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 117
Parameter databaseType should be final. 133
Parameter defaultPackage should be final. 133
'defaultPackage' hides a field. 133
Parameter basePropsFilePath should be final. 134
Method 'parseFile' is not designed for extension - needs to be abstract, final or empty. 148
Parameter xmlFile should be final. 148
Expected @throws tag for 'EngineException'. 149
Unable to get class information for EngineException. 149
'3' is a magic number. 166
Line has trailing spaces. 168
Line has trailing spaces. 171
Line has trailing spaces. 173
Line has trailing spaces. 175
Line has trailing spaces. 189
Line has trailing spaces. 209
Line is longer than 80 characters. 216
Method 'resolveEntity' is not designed for extension - needs to be abstract, final or empty. 218
Parameter publicId should be final. 218
Parameter systemId should be final. 218
Expected @throws tag for 'SAXException'. 219
Line has trailing spaces. 221
Line contains a tab character. 221
Line contains a tab character. 222
Line contains a tab character. 223
Line has trailing spaces. 224
Line contains a tab character. 224
Line has trailing spaces. 225
Line contains a tab character. 225
Line contains a tab character. 226
Line contains a tab character. 227
Line contains a tab character. 228
Method 'startElement' is not designed for extension - needs to be abstract, final or empty. 242
Parameter uri should be final. 242
Expected @param tag for 'uri'. 242
Parameter localName should be final. 242
Parameter rawName should be final. 242
Parameter attributes should be final. 243
Expected @throws tag for 'SAXException'. 244
Method 'endElement' is not designed for extension - needs to be abstract, final or empty. 346
Parameter uri should be final. 346
Expected @param tag for 'uri'. 346
Parameter localName should be final. 346
Parameter rawName should be final. 346
Utility classes should not have a public or default constructor. 359
Missing a Javadoc comment. 361
Name 'isExternalSchema' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 361
Missing a Javadoc comment. 362
Name 'currentPackage' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 362
Missing a Javadoc comment. 363
Name 'currentXmlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 363
Missing a Javadoc comment. 364
Name 'firstPass' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 364
Parameter parser should be final. 370
Expected @param tag for 'parser'. 370
Parameter parser should be final. 387
Expected @param tag for 'parser'. 387
Parameter parser should be final. 407
Expected @param tag for 'parser'. 407

org/apache/torque/engine/database/transform/XmlToData.java

Error Line
Missing a Javadoc comment. 96
Name 'database' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 96
Missing a Javadoc comment. 97
Name 'data' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 97
Missing a Javadoc comment. 98
Name 'dtdFileName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 98
Missing a Javadoc comment. 99
Name 'dtdFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 99
Missing a Javadoc comment. 100
Name 'dataDTD' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 100
Missing a Javadoc comment. 102
Parameter database should be final. 113
'database' hides a field. 113
Expected @param tag for 'database'. 113
Parameter dtdFilePath should be final. 113
Expected @param tag for 'dtdFilePath'. 113
Expected @throws tag for 'MalformedURLException'. 114
Redundant throws: 'MalformedURLException' is subclass of 'IOException'. 114
Expected @throws tag for 'IOException'. 114
Expected an @return tag. 125
Method 'parseFile' is not designed for extension - needs to be abstract, final or empty. 125
Parameter xmlFile should be final. 125
Expected @param tag for 'xmlFile'. 125
Expected @throws tag for 'Exception'. 126
Method 'startElement' is not designed for extension - needs to be abstract, final or empty. 149
Parameter uri should be final. 149
Expected @param tag for 'uri'. 149
Parameter localName should be final. 149
Expected @param tag for 'localName'. 149
Parameter rawName should be final. 149
Expected @param tag for 'rawName'. 149
Parameter attributes should be final. 150
Expected @param tag for 'attributes'. 150
Expected @throws tag for 'SAXException'. 151
Must have at least one statement. 156
Line has trailing spaces. 175
Line has trailing spaces. 176
Line has trailing spaces. 179
Method 'resolveEntity' is not designed for extension - needs to be abstract, final or empty. 197
Parameter publicId should be final. 197
Expected @param tag for 'publicId'. 197
Parameter systemId should be final. 197
Expected @param tag for 'systemId'. 197
Expected @throws tag for 'SAXException'. 198
Line has trailing spaces. 200
Line contains a tab character. 200
Line contains a tab character. 201
Line contains a tab character. 202
Line contains a tab character. 203
Line contains a tab character. 204
Line contains a tab character. 205
Line contains a tab character. 206
Line contains a tab character. 207
Line contains a tab character. 208
Line contains a tab character. 209
Line contains a tab character. 210
Line contains a tab character. 211
Line has trailing spaces. 212
Line contains a tab character. 212
Line has trailing spaces. 213
Line contains a tab character. 213
Line contains a tab character. 214
Line contains a tab character. 215
Line contains a tab character. 216
Method 'getInputSource' is not designed for extension - needs to be abstract, final or empty. 225
Parameter urlString should be final. 225
Expected @param tag for 'urlString'. 225
Expected @throws tag for 'IOException'. 226
Missing a Javadoc comment. 238
Name 'table' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 238
Missing a Javadoc comment. 239
Name 'columnValues' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 239
Missing a Javadoc comment. 241
Parameter table should be final. 241
'table' hides a field. 241
Parameter columnValues should be final. 241
'columnValues' hides a field. 241
Method 'getTable' is not designed for extension - needs to be abstract, final or empty. 247
Missing a Javadoc comment. 247
Method 'getColumnValues' is not designed for extension - needs to be abstract, final or empty. 252
Missing a Javadoc comment. 252
Missing a Javadoc comment. 263
Name 'col' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 263
Missing a Javadoc comment. 264
Name 'val' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 264
Missing a Javadoc comment. 266
Parameter col should be final. 266
'col' hides a field. 266
Parameter val should be final. 266
'val' hides a field. 266
Method 'getColumn' is not designed for extension - needs to be abstract, final or empty. 272
Missing a Javadoc comment. 272
Method 'getValue' is not designed for extension - needs to be abstract, final or empty. 277
Missing a Javadoc comment. 277
Method 'getEscapedValue' is not designed for extension - needs to be abstract, final or empty. 282
Missing a Javadoc comment. 282

org/apache/torque/engine/database/transform/package.html

Error Line
Missing package documentation file. 0

org/apache/torque/engine/package.html

Error Line
Missing package documentation file. 0

org/apache/torque/engine/sql/ParseException.java

Error Line
Parameter err should be final. 71

org/apache/torque/engine/sql/SQLScanner.java

Error Line
Name 'in' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 94
Name 'chr' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 96
Name 'token' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 98
Name 'tokens' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 100
Name 'line' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 102
Name 'col' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 104
Parameter input should be final. 119
Method 'setInput' is not designed for extension - needs to be abstract, final or empty. 129
Parameter input should be final. 129
Method 'scan' is not designed for extension - needs to be abstract, final or empty. 202

org/apache/torque/engine/sql/Token.java

Error Line
Name 'str' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 69
Name 'line' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 71
Name 'col' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 73
Parameter str should be final. 80
'str' hides a field. 80
Parameter str should be final. 92
'str' hides a field. 92
Parameter line should be final. 92
'line' hides a field. 92
Parameter col should be final. 92
'col' hides a field. 92
Method 'getStr' is not designed for extension - needs to be abstract, final or empty. 104
Method 'getLine' is not designed for extension - needs to be abstract, final or empty. 114
Method 'getCol' is not designed for extension - needs to be abstract, final or empty. 124
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 134

org/apache/torque/engine/sql/package.html

Error Line
Missing package documentation file. 0

org/apache/torque/task/PackageAsPathTask.java

Error Line
Name 'pckg' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 70
Variable 'pckg' must be private and have accessor methods. 70
Name 'name' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 73
Variable 'name' must be private and have accessor methods. 73
Method 'execute' is not designed for extension - needs to be abstract, final or empty. 79
Method 'setPackage' is not designed for extension - needs to be abstract, final or empty. 88
Parameter pckg should be final. 88
'pckg' hides a field. 88
Method 'setName' is not designed for extension - needs to be abstract, final or empty. 96
Parameter name should be final. 96
'name' hides a field. 96

org/apache/torque/task/TorqueDataDumpTask.java

Error Line
Name 'databaseName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 82
Name 'databaseUrl' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 87
Name 'databaseDriver' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 92
Name 'databaseUser' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 97
Name 'databasePassword' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 102
Name 'conn' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 107
Name 'stmt' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 112
Method 'getDatabaseName' is not designed for extension - needs to be abstract, final or empty. 119
Method 'setDatabaseName' is not designed for extension - needs to be abstract, final or empty. 129
Parameter v should be final. 129
Method 'getDatabaseUrl' is not designed for extension - needs to be abstract, final or empty. 139
Method 'setDatabaseUrl' is not designed for extension - needs to be abstract, final or empty. 149
Parameter v should be final. 149
Method 'getDatabaseDriver' is not designed for extension - needs to be abstract, final or empty. 159
Method 'setDatabaseDriver' is not designed for extension - needs to be abstract, final or empty. 169
Parameter v should be final. 169
Method 'getDatabaseUser' is not designed for extension - needs to be abstract, final or empty. 179
Method 'setDatabaseUser' is not designed for extension - needs to be abstract, final or empty. 189
Parameter v should be final. 189
Method 'getDatabasePassword' is not designed for extension - needs to be abstract, final or empty. 199
Method 'setDatabasePassword' is not designed for extension - needs to be abstract, final or empty. 209
Parameter v should be final. 209
Method 'initControlContext' is not designed for extension - needs to be abstract, final or empty. 220
Method 'cleanup' is not designed for extension - needs to be abstract, final or empty. 264
Name 'qds' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 290
Name 'isEmpty' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 292
Name 'curIndex' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 294
Name 'curRec' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 296
Parameter qds should be final. 311
'qds' hides a field. 311
Method 'fetch' is not designed for extension - needs to be abstract, final or empty. 325
Parameter tableName should be final. 325
Method 'hasNext' is not designed for extension - needs to be abstract, final or empty. 339
Method 'next' is not designed for extension - needs to be abstract, final or empty. 359
Redundant throws: 'NoSuchElementException' is unchecked exception. 359
Method 'get' is not designed for extension - needs to be abstract, final or empty. 381
Parameter columnName should be final. 381
Method 'remove' is not designed for extension - needs to be abstract, final or empty. 400
Redundant throws: 'UnsupportedOperationException' is unchecked exception. 400

org/apache/torque/task/TorqueDataModelTask.java

Error Line
Name 'xmlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 95
Variable 'xmlFile' must be private and have accessor methods. 95
Name 'filesets' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 100
Variable 'filesets' must be private and have accessor methods. 100
Name 'dataModels' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 105
Variable 'dataModels' must be private and have accessor methods. 105
Name 'context' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 111
Variable 'context' must be private and have accessor methods. 111
Name 'dataModelDbMap' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 119
Variable 'dataModelDbMap' must be private and have accessor methods. 119
Name 'databaseNames' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 125
Variable 'databaseNames' must be private and have accessor methods. 125
Name 'sqldbmap' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 136
Variable 'sqldbmap' must be private and have accessor methods. 136
Name 'basePathToDbProps' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 143
Name 'targetDatabase' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 151
Name 'targetPackage' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 156
Method 'setSqlDbMap' is not designed for extension - needs to be abstract, final or empty. 164
Parameter sqldbmap should be final. 164
'sqldbmap' hides a field. 164
Method 'getSqlDbMap' is not designed for extension - needs to be abstract, final or empty. 175
Method 'getDataModels' is not designed for extension - needs to be abstract, final or empty. 186
Method 'getDataModelDbMap' is not designed for extension - needs to be abstract, final or empty. 196
Method 'getXmlFile' is not designed for extension - needs to be abstract, final or empty. 206
Method 'setXmlFile' is not designed for extension - needs to be abstract, final or empty. 216
Parameter xmlFile should be final. 216
'xmlFile' hides a field. 216
Method 'addFileset' is not designed for extension - needs to be abstract, final or empty. 226
Parameter set should be final. 226
Method 'getTargetDatabase' is not designed for extension - needs to be abstract, final or empty. 236
Method 'setTargetDatabase' is not designed for extension - needs to be abstract, final or empty. 246
Parameter v should be final. 246
Method 'getTargetPackage' is not designed for extension - needs to be abstract, final or empty. 256
Method 'setTargetPackage' is not designed for extension - needs to be abstract, final or empty. 267
Parameter v should be final. 267
Method 'getBasePathToDbProps' is not designed for extension - needs to be abstract, final or empty. 278
Method 'setBasePathToDbProps' is not designed for extension - needs to be abstract, final or empty. 290
Parameter v should be final. 290
Method 'initControlContext' is not designed for extension - needs to be abstract, final or empty. 301
Expected @throws tag for 'Exception'. 301
Redundant throws: 'Exception' is unchecked exception. 301
Line has trailing spaces. 331
Line has trailing spaces. 333
Line has trailing spaces. 347
Line has trailing spaces. 351
Parameter xmlFile should be final. 385
'xmlFile' hides a field. 385
Method 'setContextProperties' is not designed for extension - needs to be abstract, final or empty. 424
Parameter file should be final. 424

org/apache/torque/task/TorqueDataSQLTask.java

Error Line
Name 'dataXmlFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 91
Name 'dataDTD' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 93
Name 'targetDatabase' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 99
Method 'setDataXmlFile' is not designed for extension - needs to be abstract, final or empty. 106
Parameter dataXmlFile should be final. 106
'dataXmlFile' hides a field. 106
Method 'getDataXmlFile' is not designed for extension - needs to be abstract, final or empty. 116
Method 'getTargetDatabase' is not designed for extension - needs to be abstract, final or empty. 126
Method 'setTargetDatabase' is not designed for extension - needs to be abstract, final or empty. 137
Parameter v should be final. 137
Method 'getDataDTD' is not designed for extension - needs to be abstract, final or empty. 147
Method 'setDataDTD' is not designed for extension - needs to be abstract, final or empty. 157
Parameter dataDTD should be final. 157
'dataDTD' hides a field. 157
Method 'initControlContext' is not designed for extension - needs to be abstract, final or empty. 168
Redundant throws: 'Exception' is unchecked exception. 168
Line has trailing spaces. 182
Line has trailing spaces. 184
Line has trailing spaces. 193
Line has trailing spaces. 202
Line has trailing spaces. 229
Line is longer than 80 characters. 231

org/apache/torque/task/TorqueDocumentationTask.java

Error Line
Name 'outputFormat' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 68
Method 'getOutputFormat' is not designed for extension - needs to be abstract, final or empty. 75
Method 'setOutputFormat' is not designed for extension - needs to be abstract, final or empty. 85
Parameter v should be final. 85
Method 'initControlContext' is not designed for extension - needs to be abstract, final or empty. 96

org/apache/torque/task/TorqueJDBCTransformTask.java

Error Line
Name 'xmlSchema' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 100
Variable 'xmlSchema' must be private and have accessor methods. 100
Name 'dbUrl' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 103
Variable 'dbUrl' must be private and have accessor methods. 103
Name 'dbDriver' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 106
Variable 'dbDriver' must be private and have accessor methods. 106
Name 'dbUser' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 109
Variable 'dbUser' must be private and have accessor methods. 109
Name 'dbPassword' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 112
Variable 'dbPassword' must be private and have accessor methods. 112
Name 'dbSchema' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 115
Variable 'dbSchema' must be private and have accessor methods. 115
Name 'doc' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 118
Variable 'doc' must be private and have accessor methods. 118
Name 'databaseNode' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 121
Variable 'databaseNode' must be private and have accessor methods. 121
Name 'primaryKeys' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 124
Variable 'primaryKeys' must be private and have accessor methods. 124
Name 'columnTableMap' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 127
Variable 'columnTableMap' must be private and have accessor methods. 127
Missing a Javadoc comment. 129
Name 'sameJavaName' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 129
Variable 'sameJavaName' must be private and have accessor methods. 129
Missing a Javadoc comment. 131
Name 'xmlSerializer' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 131
Method 'getDbSchema' is not designed for extension - needs to be abstract, final or empty. 133
Missing a Javadoc comment. 133
Method 'setDbSchema' is not designed for extension - needs to be abstract, final or empty. 138
Missing a Javadoc comment. 138
Parameter dbSchema should be final. 138
'dbSchema' hides a field. 138
Method 'setDbUrl' is not designed for extension - needs to be abstract, final or empty. 143
Missing a Javadoc comment. 143
Parameter v should be final. 143
Method 'setDbDriver' is not designed for extension - needs to be abstract, final or empty. 148
Missing a Javadoc comment. 148
Parameter v should be final. 148
Method 'setDbUser' is not designed for extension - needs to be abstract, final or empty. 153
Missing a Javadoc comment. 153
Parameter v should be final. 153
Method 'setDbPassword' is not designed for extension - needs to be abstract, final or empty. 158
Missing a Javadoc comment. 158
Parameter v should be final. 158
Method 'setOutputFile' is not designed for extension - needs to be abstract, final or empty. 163
Missing a Javadoc comment. 163
Parameter v should be final. 163
Method 'setSameJavaName' is not designed for extension - needs to be abstract, final or empty. 168
Missing a Javadoc comment. 168
Parameter v should be final. 168
Method 'isSameJavaName' is not designed for extension - needs to be abstract, final or empty. 173
Missing a Javadoc comment. 173
Method 'execute' is not designed for extension - needs to be abstract, final or empty. 183
Expected @throws tag for 'BuildException'. 183
Redundant throws: 'BuildException' is unchecked exception. 183
Method 'generateXML' is not designed for extension - needs to be abstract, final or empty. 221
Method length is 155 lines (max allowed is 150). 221
'3' is a magic number. 306
'4' is a magic number. 307
Method 'getTableNames' is not designed for extension - needs to be abstract, final or empty. 386
Parameter dbMeta should be final. 386
Expected @throws tag for 'SQLException'. 387
'3' is a magic number. 399
'4' is a magic number. 400
Method 'getColumns' is not designed for extension - needs to be abstract, final or empty. 429
Parameter dbMeta should be final. 429
Parameter tableName should be final. 429
Expected @throws tag for 'SQLException'. 430
'4' is a magic number. 439
'5' is a magic number. 440
'7' is a magic number. 441
'11' is a magic number. 442
'13' is a magic number. 443
'5' is a magic number. 445
Method 'getPrimaryKeys' is not designed for extension - needs to be abstract, final or empty. 473
Parameter dbMeta should be final. 473
Parameter tableName should be final. 473
Expected @throws tag for 'SQLException'. 474
'4' is a magic number. 483
Method 'getForeignKeys' is not designed for extension - needs to be abstract, final or empty. 504
Parameter dbMeta should be final. 504
Parameter tableName should be final. 504
Expected @throws tag for 'SQLException'. 505
'3' is a magic number. 514
'12' is a magic number. 515
'8' is a magic number. 536
'4' is a magic number. 537

org/apache/torque/task/TorqueSQLExec.java

Error Line
Missing a Javadoc comment. 105
Name 'goodSql' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 105
Missing a Javadoc comment. 106
Name 'totalSql' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 106
Missing a Javadoc comment. 107
Name 'classpath' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 107
Missing a Javadoc comment. 108
Name 'loader' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 108
Missing a Javadoc comment. 115
Missing a Javadoc comment. 116
Method 'getValues' is not designed for extension - needs to be abstract, final or empty. 118
Missing a Javadoc comment. 118
Name 'conn' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 125
Name 'autocommit' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 128
Name 'statement' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 131
Name 'driver' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 134
Name 'url' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 137
Name 'userId' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 140
Name 'password' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 143
Name 'sqlCommand' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 146
Name 'delimiter' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 149
Name 'delimiterType' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 155
Name 'print' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 158
Name 'showheaders' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 161
Name 'output' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 164
Name 'rdbms' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 167
Name 'version' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 170
Name 'onError' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 173
Name 'encoding' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 176
Name 'srcDir' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 179
Name 'sqldbmap' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 182
Method 'setSqlDbMap' is not designed for extension - needs to be abstract, final or empty. 189
Parameter sqldbmap should be final. 189
'sqldbmap' hides a field. 189
Method 'getSqlDbMap' is not designed for extension - needs to be abstract, final or empty. 199
Method 'setSrcDir' is not designed for extension - needs to be abstract, final or empty. 209
Parameter srcDir should be final. 209
'srcDir' hides a field. 209
Method 'getSrcDir' is not designed for extension - needs to be abstract, final or empty. 219
Method 'setClasspath' is not designed for extension - needs to be abstract, final or empty. 229
Parameter classpath should be final. 229
'classpath' hides a field. 229
Method 'createClasspath' is not designed for extension - needs to be abstract, final or empty. 246
Method 'setClasspathRef' is not designed for extension - needs to be abstract, final or empty. 260
Parameter r should be final. 260
Method 'addText' is not designed for extension - needs to be abstract, final or empty. 270
Parameter sql should be final. 270
Method 'setDriver' is not designed for extension - needs to be abstract, final or empty. 280
Parameter driver should be final. 280
'driver' hides a field. 280
Method 'setUrl' is not designed for extension - needs to be abstract, final or empty. 290
Parameter url should be final. 290
'url' hides a field. 290
Method 'setUserid' is not designed for extension - needs to be abstract, final or empty. 300
Parameter userId should be final. 300
'userId' hides a field. 300
Method 'setEncoding' is not designed for extension - needs to be abstract, final or empty. 310
Parameter encoding should be final. 310
'encoding' hides a field. 310
Method 'setPassword' is not designed for extension - needs to be abstract, final or empty. 320
Parameter password should be final. 320
'password' hides a field. 320
Method 'setAutocommit' is not designed for extension - needs to be abstract, final or empty. 330
Parameter autocommit should be final. 330
'autocommit' hides a field. 330
Method 'setDelimiter' is not designed for extension - needs to be abstract, final or empty. 343
Parameter delimiter should be final. 343
'delimiter' hides a field. 343
Expected @param tag for 'delimiter'. 343
Method 'setDelimiterType' is not designed for extension - needs to be abstract, final or empty. 356
Parameter delimiterType should be final. 356
'delimiterType' hides a field. 356
Expected @param tag for 'delimiterType'. 356
Method 'setPrint' is not designed for extension - needs to be abstract, final or empty. 366
Parameter print should be final. 366
'print' hides a field. 366
Expected @param tag for 'print'. 366
Method 'setShowheaders' is not designed for extension - needs to be abstract, final or empty. 376
Parameter showheaders should be final. 376
'showheaders' hides a field. 376
Expected @param tag for 'showheaders'. 376
Method 'setOutput' is not designed for extension - needs to be abstract, final or empty. 386
Parameter output should be final. 386
'output' hides a field. 386
Expected @param tag for 'output'. 386
Method 'setRdbms' is not designed for extension - needs to be abstract, final or empty. 396
Parameter vendor should be final. 396
Expected @param tag for 'vendor'. 396
Method 'setVersion' is not designed for extension - needs to be abstract, final or empty. 406
Parameter version should be final. 406
'version' hides a field. 406
Expected @param tag for 'version'. 406
Method 'setOnerror' is not designed for extension - needs to be abstract, final or empty. 416
Parameter action should be final. 416
Expected @param tag for 'action'. 416
Method 'execute' is not designed for extension - needs to be abstract, final or empty. 426
Expected @throws tag for 'BuildException'. 426
Redundant throws: 'BuildException' is unchecked exception. 426
Expression can be simplified. 430
Parameter url should be final. 532
'url' hides a field. 532
Expected @param tag for 'url'. 532
Parameter database should be final. 532
Expected @param tag for 'database'. 532
Parameter transactions should be final. 533
Expected @param tag for 'transactions'. 533
Must have at least one statement. 635
Must have at least one statement. 650
Must have at least one statement. 670
Method 'runStatements' is not designed for extension - needs to be abstract, final or empty. 687
Parameter reader should be final. 687
Expected @param tag for 'reader'. 687
Parameter out should be final. 687
Expected @param tag for 'out'. 687
Expected @throws tag for 'SQLException'. 688
Expected @throws tag for 'IOException'. 688
'4' is a magic number. 706
'4' is a magic number. 707
Expected an @return tag. 752
Method 'isValidRdbms' is not designed for extension - needs to be abstract, final or empty. 752
Parameter conn should be final. 752
'conn' hides a field. 752
Expected @param tag for 'conn'. 752
Method 'execSQL' is not designed for extension - needs to be abstract, final or empty. 808
Parameter sql should be final. 808
Expected @param tag for 'sql'. 808
Parameter out should be final. 808
Expected @param tag for 'out'. 808
Expected @throws tag for 'SQLException'. 808
Method 'printResults' is not designed for extension - needs to be abstract, final or empty. 858
Parameter out should be final. 858
Expected @param tag for 'out'. 858
Expected @throws tag for 'java.sql.SQLException'. 858
Method 'getValues' is not designed for extension - needs to be abstract, final or empty. 917
Missing a Javadoc comment. 917
Missing a Javadoc comment. 931
Name 'tSrcFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 931
Missing a Javadoc comment. 932
Name 'tSqlCommand' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 932
Method 'setSrc' is not designed for extension - needs to be abstract, final or empty. 934
Missing a Javadoc comment. 934
Parameter src should be final. 934
Method 'addText' is not designed for extension - needs to be abstract, final or empty. 939
Missing a Javadoc comment. 939
Parameter sql should be final. 939
Missing a Javadoc comment. 944
Parameter out should be final. 944
Avoid inline conditionals. 957

org/apache/torque/task/TorqueSQLTask.java

Error Line
Missing a Javadoc comment. 87
Name 'database' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 87
Missing a Javadoc comment. 88
Name 'suffix' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 88
Missing a Javadoc comment. 90
Name 'idTableXMLFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 90
Method 'setDatabase' is not designed for extension - needs to be abstract, final or empty. 96
Parameter database should be final. 96
'database' hides a field. 96
Expected @param tag for 'database'. 96
Expected an @return tag. 105
Method 'getDatabase' is not designed for extension - needs to be abstract, final or empty. 105
Method 'setSuffix' is not designed for extension - needs to be abstract, final or empty. 114
Parameter suffix should be final. 114
'suffix' hides a field. 114
Expected @param tag for 'suffix'. 114
Expected an @return tag. 123
Method 'getSuffix' is not designed for extension - needs to be abstract, final or empty. 123
Method 'setIdTableXMLFile' is not designed for extension - needs to be abstract, final or empty. 134
Parameter idXmlFile should be final. 134
Method 'getIdTableXMLFile' is not designed for extension - needs to be abstract, final or empty. 144
Expected @throws tag for 'Exception'. 154
Redundant throws: 'Exception' is unchecked exception. 154
Method 'loadIdBrokerModel' is not designed for extension - needs to be abstract, final or empty. 205
Expected @throws tag for 'EngineException'. 206
Unable to get class information for EngineException. 206
Method 'initControlContext' is not designed for extension - needs to be abstract, final or empty. 225
Expected @throws tag for 'Exception'. 225
Redundant throws: 'Exception' is unchecked exception. 225

org/apache/torque/task/TorqueSQLTransformTask.java

Error Line
Name 'inputFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 77
Name 'outputFile' must match pattern '^f[A-Z][a-zA-Z0-9]*$'. 80
Method 'getInputFile' is not designed for extension - needs to be abstract, final or empty. 87
Method 'setInputFile' is not designed for extension - needs to be abstract, final or empty. 97
Parameter v should be final. 97
Method 'getOutputFile' is not designed for extension - needs to be abstract, final or empty. 107
Method 'setOutputFile' is not designed for extension - needs to be abstract, final or empty. 119
Parameter v should be final. 119
Method 'execute' is not designed for extension - needs to be abstract, final or empty. 130
Redundant throws: 'BuildException' is unchecked exception. 130