PMD Results

The following document contains the results of PMD 5.3.5.

Files

com/codeferm/dbaccess/DbAccess.java

Violation Line
Comment is too large: Too many lines 13–36
Comment is too large: Too many lines 62–70
Found 'UR'-anomaly for variable 'param' (lines '71'-'78'). 71–78
Found 'DD'-anomaly for variable 'batchParams' (lines '73'-'78'). 73–78
Local variable 'param' could be declared final 76
Found 'DD'-anomaly for variable 'batchParams' (lines '78'-'78'). 78
Comment is too large: Too many lines 83–91
Comment is too large: Too many lines 107–115
Found 'DD'-anomaly for variable 'object' (lines '119'-'122'). 119–122
Potential violation of Law of Demeter (object not created locally) 120
Potential violation of Law of Demeter (object not created locally) 122
Found 'DD'-anomaly for variable 'object' (lines '137'-'140'). 137–140
Potential violation of Law of Demeter (object not created locally) 138
Potential violation of Law of Demeter (object not created locally) 140
Comment is too large: Too many lines 145–154
Comment is too large: Too many lines 161–170
Found 'DD'-anomaly for variable 'object' (lines '174'-'177'). 174–177
Potential violation of Law of Demeter (object not created locally) 175
Potential violation of Law of Demeter (object not created locally) 177
Consider using varargs for methods or constructors which take an array the last parameter. 190
Consider using varargs for methods or constructors which take an array the last parameter. 210
Found 'DD'-anomaly for variable 'map' (lines '212'-'215'). 212–215
Potential violation of Law of Demeter (object not created locally) 213
Potential violation of Law of Demeter (object not created locally) 215
Found 'DD'-anomaly for variable 'map' (lines '228'-'231'). 228–231
Potential violation of Law of Demeter (object not created locally) 229
Potential violation of Law of Demeter (object not created locally) 231
Comment is too large: Too many lines 236–244
Found 'DD'-anomaly for variable 'object' (lines '247'-'252'). 247–252
Found 'DD'-anomaly for variable 'map' (lines '248'-'249'). 248–249
Potential violation of Law of Demeter (object not created locally) 252
Found 'DD'-anomaly for variable 'object' (lines '266'-'271'). 266–271
Found 'DD'-anomaly for variable 'map' (lines '267'-'268'). 267–268
Potential violation of Law of Demeter (object not created locally) 271
Found 'DD'-anomaly for variable 'map' (lines '303'-'306'). 303–306
Potential violation of Law of Demeter (object not created locally) 304
Potential violation of Law of Demeter (object not created locally) 306
Consider using varargs for methods or constructors which take an array the last parameter. 318
Consider using varargs for methods or constructors which take an array the last parameter. 351
Comment is too large: Too many lines 364–372
Comment is too large: Too many lines 392–400
Potential violation of Law of Demeter (method chain calls) 403–404
Potential violation of Law of Demeter (method chain calls) 403–404
Potential violation of Law of Demeter (method chain calls) 403–404
Potential violation of Law of Demeter (method chain calls) 403–404
Comment is too large: Too many lines 407–416
Potential violation of Law of Demeter (method chain calls) 419–420
Potential violation of Law of Demeter (method chain calls) 419–420
Potential violation of Law of Demeter (method chain calls) 419–420
Potential violation of Law of Demeter (method chain calls) 419–420
Consider using varargs for methods or constructors which take an array the last parameter. 430

com/codeferm/dbaccess/DbAccessException.java

Violation Line
Avoid using redundant field initializer for 'cause' 25

com/codeferm/dbaccess/DbBeanMapper.java

Violation Line
Comment is too large: Too many lines 21–30
Found 'UR'-anomaly for variable 'field' (lines '41'-'47'). 41–47
Consider using varargs for methods or constructors which take an array the last parameter. 41
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 42
Found 'DU'-anomaly for variable 'splitArr' (lines '43'-'60'). 43–60
Found 'DD'-anomaly for variable 'splitArr' (lines '43'-'47'). 43–47
Found 'DD'-anomaly for variable 'fieldName' (lines '44'-'48'). 44–48
Found 'DU'-anomaly for variable 'fieldName' (lines '44'-'60'). 44–60
Local variable 'field' could be declared final 45
Potential violation of Law of Demeter (method chain calls) 47
Avoid appending characters as strings in StringBuffer.append. 53
Found 'UR'-anomaly for variable 'field' (lines '69'-'75'). 69–75
Found 'DU'-anomaly for variable 'map' (lines '71'-'86'). 71–86
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 71
Local variable 'field' could be declared final 73
Avoid excessively long variable names like propertyDescriptor 76
Local variable 'propertyDescriptor' could be declared final 76–77
Found 'UR'-anomaly for variable 'field' (lines '96'-'113'). 96–113
Found 'DU'-anomaly for variable 'list' (lines '98'-'130'). 98–130
Found 'DU'-anomaly for variable 'dbMap' (lines '102'-'130'). 102–130
Found 'DU'-anomaly for variable 'beanMap' (lines '104'-'130'). 104–130
Local variable 'field' could be declared final 111
Potential violation of Law of Demeter (object not created locally) 114–115
Potential violation of Law of Demeter (method chain calls) 114–115
Potential violation of Law of Demeter (object not created locally) 115

com/codeferm/dbaccess/DbBeanProcessor.java

Violation Line
Comment is too large: Too many lines 16–27
Each class should declare at least one constructor 28–79
Consider using varargs for methods or constructors which take an array the last parameter. 40
Found 'DD'-anomaly for variable 'propName' (lines '45'-'45'). 45
Found 'DU'-anomaly for variable 'propName' (lines '45'-'56'). 45–56
Potential violation of Law of Demeter (method chain calls) 45
Potential violation of Law of Demeter (method chain calls) 45
Potential violation of Law of Demeter (object not created locally) 49
Found 'UR'-anomaly for variable 'temp' (lines '64'-'73'). 64–73
Found 'UR'-anomaly for variable 'temp' (lines '64'-'70'). 64–70
Found 'DU'-anomaly for variable 'firstTime' (lines '67'-'78'). 67–78
Local variable 'temp' could be declared final 68
Potential violation of Law of Demeter (object not created locally) 70
Potential violation of Law of Demeter (object not created locally) 70
Found 'DU'-anomaly for variable 'firstTime' (lines '71'-'78'). 71–78
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (object not created locally) 73
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (method chain calls) 74
Potential violation of Law of Demeter (object not created locally) 74
Potential violation of Law of Demeter (object not created locally) 77

com/codeferm/dbaccess/DbJdbcConn.java

Violation Line
Comment is too large: Too many lines 25–35
The class 'DbJdbcConn' has a Standard Cyclomatic Complexity of 5 (Highest = 10). 36–382
The class 'DbJdbcConn' has a Modified Cyclomatic Complexity of 5 (Highest = 10). 36–382
The class 'DbJdbcConn' has a Cyclomatic Complexity of 5 (Highest = 10). 36–382
Avoid using redundant field initializer for 'connection' 48
Comment is too large: Too many lines 90–98
The String literal "SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" appears 5 times in this file; the first occurrence is on line 101 101
The String literal "SQL libraries are allowed to accept SQL as parameter" appears 5 times in this file; the first occurrence is on line 103 103
Found 'UR'-anomaly for variable 'o' (lines '104'-'118'). 104–118
Found 'DD'-anomaly for variable 'preparedStatement' (lines '110'-'114'). 110–114
Found 'DD'-anomaly for variable 'resultSet' (lines '111'-'120'). 111–120
Found 'DD'-anomaly for variable 'list' (lines '112'-'121'). 112–121
Local variable 'o' could be declared final 117
Potential violation of Law of Demeter (object not created locally) 118
Potential violation of Law of Demeter (object not created locally) 120
Found 'DU'-anomaly for variable 'list' (lines '121'-'143'). 121–143
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 122
Potential violation of Law of Demeter (object not created locally) 129
Potential violation of Law of Demeter (object not created locally) 132
Potential violation of Law of Demeter (object not created locally) 136
Potential violation of Law of Demeter (object not created locally) 139
The method 'selectList' has a Modified Cyclomatic Complexity of 10. 157–206
Found 'UR'-anomaly for variable 'o' (lines '157'-'171'). 157–171
The method 'selectList' has a Cyclomatic Complexity of 10. 157–206
The method 'selectList' has a Standard Cyclomatic Complexity of 10. 157–206
Consider using varargs for methods or constructors which take an array the last parameter. 158
Found 'DD'-anomaly for variable 'preparedStatement' (lines '163'-'167'). 163–167
Found 'DD'-anomaly for variable 'resultSet' (lines '164'-'173'). 164–173
Found 'DD'-anomaly for variable 'list' (lines '165'-'176'). 165–176
Local variable 'o' could be declared final 170
Potential violation of Law of Demeter (object not created locally) 171
Potential violation of Law of Demeter (object not created locally) 173
Potential violation of Law of Demeter (object not created locally) 174
Found 'DU'-anomaly for variable 'numberOfColumns' (lines '175'-'206'). 175–206
Potential violation of Law of Demeter (object not created locally) 175
Found 'DU'-anomaly for variable 'list' (lines '176'-'206'). 176–206
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 177
Found 'DU'-anomaly for variable 'map' (lines '177'-'206'). 177–206
Potential violation of Law of Demeter (object not created locally) 178
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (object not created locally) 180–181
Potential violation of Law of Demeter (object not created locally) 180–181
Potential violation of Law of Demeter (object not created locally) 183
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (object not created locally) 195
Potential violation of Law of Demeter (object not created locally) 199
Potential violation of Law of Demeter (object not created locally) 202
Found 'UR'-anomaly for variable 'o' (lines '221'-'233'). 221–233
Consider using varargs for methods or constructors which take an array the last parameter. 221
Found 'DD'-anomaly for variable 'preparedStatement' (lines '226'-'229'). 226–229
Found 'DD'-anomaly for variable 'rows' (lines '227'-'235'). 227–235
Local variable 'o' could be declared final 232
Potential violation of Law of Demeter (object not created locally) 233
Potential violation of Law of Demeter (object not created locally) 235
Found 'DU'-anomaly for variable 'rows' (lines '235'-'250'). 235–250
Potential violation of Law of Demeter (object not created locally) 243
Potential violation of Law of Demeter (object not created locally) 246
Comment is too large: Too many lines 252–260
The method 'updateReturnKeys' has a Standard Cyclomatic Complexity of 10. 266–316
Found 'UR'-anomaly for variable 'o' (lines '266'-'281'). 266–281
The method 'updateReturnKeys' has a Modified Cyclomatic Complexity of 10. 266–316
The method 'updateReturnKeys' has a Cyclomatic Complexity of 10. 266–316
Consider using varargs for methods or constructors which take an array the last parameter. 267
Found 'DD'-anomaly for variable 'preparedStatement' (lines '272'-'276'). 272–276
Found 'DD'-anomaly for variable 'resultSet' (lines '273'-'284'). 273–284
Found 'DD'-anomaly for variable 'keys' (lines '274'-'289'). 274–289
Found 'DU'-anomaly for variable 'keys' (lines '274'-'316'). 274–316
Local variable 'o' could be declared final 280
Potential violation of Law of Demeter (object not created locally) 281
Potential violation of Law of Demeter (object not created locally) 283
Potential violation of Law of Demeter (object not created locally) 284
Potential violation of Law of Demeter (object not created locally) 285
Found 'DU'-anomaly for variable 'numberOfColumns' (lines '286'-'316'). 286–316
Potential violation of Law of Demeter (object not created locally) 286
Potential violation of Law of Demeter (object not created locally) 288
Found 'DU'-anomaly for variable 'keys' (lines '289'-'316'). 289–316
Potential violation of Law of Demeter (object not created locally) 291–292
Potential violation of Law of Demeter (object not created locally) 291
Potential violation of Law of Demeter (object not created locally) 292
Potential violation of Law of Demeter (object not created locally) 302
Potential violation of Law of Demeter (object not created locally) 305
Potential violation of Law of Demeter (object not created locally) 309
Potential violation of Law of Demeter (object not created locally) 312
Found 'UR'-anomaly for variable 'param' (lines '331'-'335'). 331–335
Found 'UR'-anomaly for variable 'o' (lines '331'-'349'). 331–349
Consider using varargs for methods or constructors which take an array the last parameter. 331
Local variable 'param' could be declared final 334
Found 'DD'-anomaly for variable 'preparedStatement' (lines '340'-'343'). 340–343
Found 'DD'-anomaly for variable 'rows' (lines '341'-'354'). 341–354
Local variable 'param' could be declared final 345
Local variable 'o' could be declared final 348
Potential violation of Law of Demeter (object not created locally) 349
Potential violation of Law of Demeter (object not created locally) 352
Found 'DU'-anomaly for variable 'rows' (lines '354'-'369'). 354–369
Potential violation of Law of Demeter (object not created locally) 354
Potential violation of Law of Demeter (object not created locally) 362
Potential violation of Law of Demeter (object not created locally) 365

com/codeferm/dbaccess/DbJdbcDs.java

Violation Line
Possible God class (WMC=55, ATFD=40, TCC=0.047619047619047616) 7–413
Comment is too large: Too many lines 25–34
The class 'DbJdbcDs' has a Cyclomatic Complexity of 6 (Highest = 12). 35–413
The class 'DbJdbcDs' has a Standard Cyclomatic Complexity of 6 (Highest = 12). 35–413
The class 'DbJdbcDs' has a Modified Cyclomatic Complexity of 6 (Highest = 12). 35–413
Avoid using redundant field initializer for 'dataSource' 46
Comment is too large: Too many lines 77–86
The String literal "SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" appears 5 times in this file; the first occurrence is on line 89 89
The String literal "SQL libraries are allowed to accept SQL as parameter" appears 5 times in this file; the first occurrence is on line 91 91
Found 'UR'-anomaly for variable 'o' (lines '92'-'108'). 92–108
The method 'selectList' has a Modified Cyclomatic Complexity of 10. 92–140
The method 'selectList' has a Cyclomatic Complexity of 10. 92–140
The method 'selectList' has a Standard Cyclomatic Complexity of 10. 92–140
Found 'DD'-anomaly for variable 'connection' (lines '98'-'103'). 98–103
Found 'DD'-anomaly for variable 'preparedStatement' (lines '99'-'104'). 99–104
Found 'DD'-anomaly for variable 'resultSet' (lines '100'-'110'). 100–110
Found 'DD'-anomaly for variable 'list' (lines '101'-'111'). 101–111
Potential violation of Law of Demeter (object not created locally) 104
Local variable 'o' could be declared final 107
Potential violation of Law of Demeter (object not created locally) 108
Potential violation of Law of Demeter (object not created locally) 110
Found 'DU'-anomaly for variable 'list' (lines '111'-'140'). 111–140
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 112
Potential violation of Law of Demeter (object not created locally) 119
Potential violation of Law of Demeter (object not created locally) 122
Potential violation of Law of Demeter (object not created locally) 126
Potential violation of Law of Demeter (object not created locally) 129
Potential violation of Law of Demeter (object not created locally) 133
Potential violation of Law of Demeter (object not created locally) 136
The method 'selectList' has a Standard Cyclomatic Complexity of 12. 155–213
Found 'UR'-anomaly for variable 'o' (lines '155'-'171'). 155–171
The method 'selectList' has a Modified Cyclomatic Complexity of 12. 155–213
The method 'selectList' has a Cyclomatic Complexity of 12. 155–213
Consider using varargs for methods or constructors which take an array the last parameter. 156
Found 'DD'-anomaly for variable 'connection' (lines '161'-'166'). 161–166
Found 'DD'-anomaly for variable 'preparedStatement' (lines '162'-'167'). 162–167
Found 'DD'-anomaly for variable 'resultSet' (lines '163'-'173'). 163–173
Found 'DD'-anomaly for variable 'list' (lines '164'-'176'). 164–176
Potential violation of Law of Demeter (object not created locally) 167
Local variable 'o' could be declared final 170
Potential violation of Law of Demeter (object not created locally) 171
Potential violation of Law of Demeter (object not created locally) 173
Potential violation of Law of Demeter (object not created locally) 174
Found 'DU'-anomaly for variable 'numberOfColumns' (lines '175'-'213'). 175–213
Potential violation of Law of Demeter (object not created locally) 175
Found 'DU'-anomaly for variable 'list' (lines '176'-'213'). 176–213
Found 'DU'-anomaly for variable 'map' (lines '177'-'213'). 177–213
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 177
Potential violation of Law of Demeter (object not created locally) 178
Potential violation of Law of Demeter (object not created locally) 180–181
Potential violation of Law of Demeter (object not created locally) 180–181
Potential violation of Law of Demeter (object not created locally) 180
Potential violation of Law of Demeter (object not created locally) 183
Potential violation of Law of Demeter (object not created locally) 192
Potential violation of Law of Demeter (object not created locally) 195
Potential violation of Law of Demeter (object not created locally) 199
Potential violation of Law of Demeter (object not created locally) 202
Potential violation of Law of Demeter (object not created locally) 206
Potential violation of Law of Demeter (object not created locally) 209
Found 'UR'-anomaly for variable 'o' (lines '228'-'242'). 228–242
Consider using varargs for methods or constructors which take an array the last parameter. 228
Found 'DD'-anomaly for variable 'connection' (lines '233'-'237'). 233–237
Found 'DD'-anomaly for variable 'preparedStatement' (lines '234'-'238'). 234–238
Found 'DD'-anomaly for variable 'rows' (lines '235'-'244'). 235–244
Potential violation of Law of Demeter (object not created locally) 238
Local variable 'o' could be declared final 241
Potential violation of Law of Demeter (object not created locally) 242
Found 'DU'-anomaly for variable 'rows' (lines '244'-'266'). 244–266
Potential violation of Law of Demeter (object not created locally) 244
Potential violation of Law of Demeter (object not created locally) 252
Potential violation of Law of Demeter (object not created locally) 255
Potential violation of Law of Demeter (object not created locally) 259
Potential violation of Law of Demeter (object not created locally) 262
Comment is too large: Too many lines 268–276
The method 'updateReturnKeys' has a Modified Cyclomatic Complexity of 12. 282–341
Found 'UR'-anomaly for variable 'o' (lines '282'-'299'). 282–299
The method 'updateReturnKeys' has a Standard Cyclomatic Complexity of 12. 282–341
The method 'updateReturnKeys' has a Cyclomatic Complexity of 12. 282–341
Consider using varargs for methods or constructors which take an array the last parameter. 283
Found 'DD'-anomaly for variable 'connection' (lines '288'-'293'). 288–293
Found 'DD'-anomaly for variable 'preparedStatement' (lines '289'-'294'). 289–294
Found 'DD'-anomaly for variable 'resultSet' (lines '290'-'302'). 290–302
Found 'DU'-anomaly for variable 'keys' (lines '291'-'341'). 291–341
Found 'DD'-anomaly for variable 'keys' (lines '291'-'307'). 291–307
Potential violation of Law of Demeter (object not created locally) 294–295
Local variable 'o' could be declared final 298
Potential violation of Law of Demeter (object not created locally) 299
Potential violation of Law of Demeter (object not created locally) 301
Potential violation of Law of Demeter (object not created locally) 302
Potential violation of Law of Demeter (object not created locally) 303
Found 'DU'-anomaly for variable 'numberOfColumns' (lines '304'-'341'). 304–341
Potential violation of Law of Demeter (object not created locally) 304
Potential violation of Law of Demeter (object not created locally) 306
Found 'DU'-anomaly for variable 'keys' (lines '307'-'341'). 307–341
Potential violation of Law of Demeter (object not created locally) 309–310
Potential violation of Law of Demeter (object not created locally) 309
Potential violation of Law of Demeter (object not created locally) 310
Potential violation of Law of Demeter (object not created locally) 320
Potential violation of Law of Demeter (object not created locally) 323
Potential violation of Law of Demeter (object not created locally) 327
Potential violation of Law of Demeter (object not created locally) 330
Potential violation of Law of Demeter (object not created locally) 334
Potential violation of Law of Demeter (object not created locally) 337
The method 'batch' has a Modified Cyclomatic Complexity of 10. 356–403
Found 'UR'-anomaly for variable 'param' (lines '356'-'360'). 356–360
Found 'UR'-anomaly for variable 'o' (lines '356'-'376'). 356–376
The method 'batch' has a Cyclomatic Complexity of 10. 356–403
The method 'batch' has a Standard Cyclomatic Complexity of 10. 356–403
Consider using varargs for methods or constructors which take an array the last parameter. 356
Local variable 'param' could be declared final 359
Found 'DD'-anomaly for variable 'connection' (lines '365'-'369'). 365–369
Found 'DD'-anomaly for variable 'preparedStatement' (lines '366'-'370'). 366–370
Found 'DD'-anomaly for variable 'rows' (lines '367'-'381'). 367–381
Potential violation of Law of Demeter (object not created locally) 370
Local variable 'param' could be declared final 372
Local variable 'o' could be declared final 375
Potential violation of Law of Demeter (object not created locally) 376
Potential violation of Law of Demeter (object not created locally) 379
Found 'DU'-anomaly for variable 'rows' (lines '381'-'403'). 381–403
Potential violation of Law of Demeter (object not created locally) 381
Potential violation of Law of Demeter (object not created locally) 389
Potential violation of Law of Demeter (object not created locally) 392
Potential violation of Law of Demeter (object not created locally) 396
Potential violation of Law of Demeter (object not created locally) 399

com/codeferm/dbaccess/DbJdbcTemplate.java

Violation Line
Avoid using redundant field initializer for 'template' 46
Comment is too large: Too many lines 76–85
Consider using varargs for methods or constructors which take an array the last parameter. 107
Comment is too large: Too many lines 115–123
Consider using varargs for methods or constructors which take an array the last parameter. 125
Comment is too large: Too many lines 133–141
Found 'UR'-anomaly for variable 'o' (lines '145'-'169'). 145–169
Found 'UR'-anomaly for variable 'o' (lines '145'-'169'). 145–169
Consider using varargs for methods or constructors which take an array the last parameter. 146
Found 'DU'-anomaly for variable 'keyHolder' (lines '152'-'178'). 152–178
Found 'DU'-anomaly for variable 'keyHolder' (lines '152'-'178'). 152–178
Found 'DU'-anomaly for variable 'psc' (lines '154'-'178'). 154–178
Found 'DU'-anomaly for variable 'psc' (lines '154'-'178'). 154–178
publicMethodCommentRequirement Required 161–172
Potential violation of Law of Demeter (object not created locally) 169
Consider using varargs for methods or constructors which take an array the last parameter. 189
Found 'UR'-anomaly for variable 'param' (lines '189'-'193'). 189–193
Local variable 'param' could be declared final 192

com/codeferm/dbaccess/DbPersist.java

Violation Line
Avoid using redundant field initializer for 'template' 41
Avoid using redundant field initializer for 'connection' 46
Comment is too large: Too many lines 111–119
The String literal "SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" appears 5 times in this file; the first occurrence is on line 122 122
The String literal "SQL libraries are allowed to accept SQL as parameter" appears 5 times in this file; the first occurrence is on line 124 124
Consider using varargs for methods or constructors which take an array the last parameter. 147
Consider using varargs for methods or constructors which take an array the last parameter. 168
Comment is too large: Too many lines 176–184
Consider using varargs for methods or constructors which take an array the last parameter. 191
Found 'DD'-anomaly for variable 'keys' (lines '196'-'210'). 196–210
Found 'DU'-anomaly for variable 'keys' (lines '196'-'227'). 196–227
Found 'DD'-anomaly for variable 'preparedStatement' (lines '197'-'200'). 197–200
Found 'DD'-anomaly for variable 'resultSet' (lines '198'-'206'). 198–206
Potential violation of Law of Demeter (object not created locally) 204
Potential violation of Law of Demeter (object not created locally) 206
Potential violation of Law of Demeter (object not created locally) 208
Found 'DU'-anomaly for variable 'keys' (lines '210'-'227'). 210–227
Potential violation of Law of Demeter (object not created locally) 219
Potential violation of Law of Demeter (object not created locally) 222
Consider using varargs for methods or constructors which take an array the last parameter. 242
Found 'UR'-anomaly for variable 'param' (lines '242'-'246'). 242–246
Local variable 'param' could be declared final 245
Found 'DD'-anomaly for variable 'rows' (lines '251'-'262'). 251–262
Found 'DD'-anomaly for variable 'preparedStatement' (lines '252'-'254'). 252–254
Local variable 'param' could be declared final 256
Potential violation of Law of Demeter (object not created locally) 260
Potential violation of Law of Demeter (object not created locally) 262
Found 'DU'-anomaly for variable 'rows' (lines '262'-'271'). 262–271

com/codeferm/dbaccess/DbQueryRunnerConn.java

Violation Line
Comment is too large: Too many lines 28–36
Avoid using redundant field initializer for 'template' 49
Avoid using redundant field initializer for 'connection' 56
Comment is too large: Too many lines 118–128
The String literal "SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" appears 5 times in this file; the first occurrence is on line 131 131
The String literal "SQL libraries are allowed to accept SQL as parameter" appears 5 times in this file; the first occurrence is on line 133 133
Found 'DD'-anomaly for variable 'list' (lines '140'-'142'). 140–142
Found 'DU'-anomaly for variable 'list' (lines '142'-'152'). 142–152
Consider using varargs for methods or constructors which take an array the last parameter. 167
Found 'DD'-anomaly for variable 'list' (lines '172'-'174'). 172–174
Found 'DU'-anomaly for variable 'list' (lines '174'-'182'). 174–182
Consider using varargs for methods or constructors which take an array the last parameter. 197
Found 'DD'-anomaly for variable 'rows' (lines '202'-'204'). 202–204
Found 'DU'-anomaly for variable 'rows' (lines '204'-'211'). 204–211
Comment is too large: Too many lines 213–221
Consider using varargs for methods or constructors which take an array the last parameter. 228
Found 'DD'-anomaly for variable 'preparedStatement' (lines '233'-'238'). 233–238
Found 'DD'-anomaly for variable 'keys' (lines '235'-'246'). 235–246
Found 'DU'-anomaly for variable 'keys' (lines '246'-'256'). 246–256
Consider using varargs for methods or constructors which take an array the last parameter. 271
Found 'UR'-anomaly for variable 'param' (lines '271'-'275'). 271–275
Local variable 'param' could be declared final 274
Found 'DD'-anomaly for variable 'rows' (lines '280'-'282'). 280–282
Found 'DU'-anomaly for variable 'rows' (lines '282'-'289'). 282–289

com/codeferm/dbaccess/DbQueryRunnerDs.java

Violation Line
Avoid using redundant field initializer for 'template' 48
Comment is too large: Too many lines 79–90
The String literal "SQL_PREPARED_STATEMENT_GENERATED_FROM_NONCONSTANT_STRING" appears 5 times in this file; the first occurrence is on line 93 93
The String literal "SQL libraries are allowed to accept SQL as parameter" appears 5 times in this file; the first occurrence is on line 95 95
Found 'DD'-anomaly for variable 'list' (lines '102'-'104'). 102–104
Found 'DU'-anomaly for variable 'list' (lines '104'-'114'). 104–114
Consider using varargs for methods or constructors which take an array the last parameter. 130
Found 'DD'-anomaly for variable 'list' (lines '135'-'137'). 135–137
Found 'DU'-anomaly for variable 'list' (lines '137'-'145'). 137–145
Consider using varargs for methods or constructors which take an array the last parameter. 160
Found 'DD'-anomaly for variable 'rows' (lines '165'-'167'). 165–167
Found 'DU'-anomaly for variable 'rows' (lines '167'-'174'). 167–174
Comment is too large: Too many lines 176–184
Consider using varargs for methods or constructors which take an array the last parameter. 191
Found 'DD'-anomaly for variable 'keys' (lines '196'-'211'). 196–211
Found 'DD'-anomaly for variable 'preparedStatement' (lines '198'-'203'). 198–203
Potential violation of Law of Demeter (method chain calls) 202
Found 'DU'-anomaly for variable 'keys' (lines '211'-'222'). 211–222
Found 'UR'-anomaly for variable 'param' (lines '237'-'241'). 237–241
Consider using varargs for methods or constructors which take an array the last parameter. 237
Local variable 'param' could be declared final 240
Found 'DD'-anomaly for variable 'rows' (lines '246'-'248'). 246–248
Found 'DU'-anomaly for variable 'rows' (lines '248'-'255'). 248–255

com/codeferm/dbaccess/transaction/AtomikosTransInterceptor.java

Violation Line
Comment is too large: Too many lines 18–59
Each class should declare at least one constructor 60–128
Potential violation of Law of Demeter (object not created locally) 80
Found 'DU'-anomaly for variable 'object' (lines '81'-'127'). 81–127
Found 'DD'-anomaly for variable 'object' (lines '81'-'85'). 81–85
Found 'DD'-anomaly for variable 'object' (lines '81'-'102'). 81–102
Potential violation of Law of Demeter (method chain calls) 89
Potential violation of Law of Demeter (method chain calls) 90
Potential violation of Law of Demeter (object not created locally) 93
Potential violation of Law of Demeter (method chain calls) 96
Potential violation of Law of Demeter (object not created locally) 99
Found 'DU'-anomaly for variable 'object' (lines '102'-'127'). 102–127
Potential violation of Law of Demeter (object not created locally) 104
Potential violation of Law of Demeter (object not created locally) 106
Potential violation of Law of Demeter (method chain calls) 108–110
Potential violation of Law of Demeter (method chain calls) 108–110
Potential violation of Law of Demeter (method chain calls) 110
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 112
Potential violation of Law of Demeter (method chain calls) 115–117
Potential violation of Law of Demeter (method chain calls) 115–117
Potential violation of Law of Demeter (method chain calls) 117
Potential violation of Law of Demeter (object not created locally) 120
Potential violation of Law of Demeter (object not created locally) 122

com/codeferm/dbaccess/transaction/AtomikosTransModule.java

Violation Line
Comment is too large: Too many lines 12–24
Each class should declare at least one constructor 25–39

com/codeferm/dbaccess/transaction/JdbcTransInterceptor.java

Violation Line
Comment is too large: Too many lines 16–57
Each class should declare at least one constructor 58–124
Potential violation of Law of Demeter (object not created locally) 78
Found 'DD'-anomaly for variable 'object' (lines '79'-'100'). 79–100
Found 'DD'-anomaly for variable 'object' (lines '79'-'83'). 79–83
Found 'DU'-anomaly for variable 'object' (lines '79'-'123'). 79–123
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (method chain calls) 88
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (method chain calls) 94–95
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (method chain calls) 97
Found 'DU'-anomaly for variable 'object' (lines '100'-'123'). 100–123
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (method chain calls) 102
Potential violation of Law of Demeter (method chain calls) 103
Potential violation of Law of Demeter (object not created locally) 103
Potential violation of Law of Demeter (method chain calls) 105–107
Potential violation of Law of Demeter (method chain calls) 105–107
Potential violation of Law of Demeter (method chain calls) 107
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 109
Potential violation of Law of Demeter (method chain calls) 112–114
Potential violation of Law of Demeter (method chain calls) 112–114
Potential violation of Law of Demeter (method chain calls) 114
Potential violation of Law of Demeter (method chain calls) 117
Potential violation of Law of Demeter (object not created locally) 117
Potential violation of Law of Demeter (object not created locally) 118
Potential violation of Law of Demeter (method chain calls) 118

com/codeferm/dbaccess/transaction/JdbcTransModule.java

Violation Line
Comment is too large: Too many lines 12–24
Each class should declare at least one constructor 25–39

com/codeferm/dbaccess/transaction/QueryRunnerTransInterceptor.java

Violation Line
Comment is too large: Too many lines 16–57
Each class should declare at least one constructor 58–124
Potential violation of Law of Demeter (object not created locally) 78
Found 'DD'-anomaly for variable 'object' (lines '79'-'83'). 79–83
Found 'DD'-anomaly for variable 'object' (lines '79'-'100'). 79–100
Found 'DU'-anomaly for variable 'object' (lines '79'-'123'). 79–123
Potential violation of Law of Demeter (method chain calls) 87
Potential violation of Law of Demeter (method chain calls) 88
Potential violation of Law of Demeter (object not created locally) 91
Potential violation of Law of Demeter (method chain calls) 94–95
Potential violation of Law of Demeter (object not created locally) 97
Potential violation of Law of Demeter (method chain calls) 97
Found 'DU'-anomaly for variable 'object' (lines '100'-'123'). 100–123
Potential violation of Law of Demeter (object not created locally) 102
Potential violation of Law of Demeter (method chain calls) 102
Potential violation of Law of Demeter (method chain calls) 103
Potential violation of Law of Demeter (object not created locally) 103
Potential violation of Law of Demeter (method chain calls) 105–107
Potential violation of Law of Demeter (method chain calls) 105–107
Potential violation of Law of Demeter (method chain calls) 107
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 109
Potential violation of Law of Demeter (method chain calls) 112–114
Potential violation of Law of Demeter (method chain calls) 112–114
Potential violation of Law of Demeter (method chain calls) 114
Potential violation of Law of Demeter (method chain calls) 117
Potential violation of Law of Demeter (object not created locally) 117
Potential violation of Law of Demeter (object not created locally) 118
Potential violation of Law of Demeter (method chain calls) 118

com/codeferm/dbaccess/transaction/QueryRunnerTransModule.java

Violation Line
Comment is too large: Too many lines 12–24
Each class should declare at least one constructor 25–40

com/codeferm/dbaccess/transaction/Transaction.java

Violation Line
Comment is too large: Too many lines 15–29

com/codeferm/dbaccess/transaction/TransactionFactory.java

Violation Line
Comment is too large: Too many lines 15–31
Found 'DD'-anomaly for variable 'object' (lines '63'-'65'). 63–65
Found 'DU'-anomaly for variable 'object' (lines '65'-'74'). 65–74
Potential violation of Law of Demeter (method chain calls) 65–67