PMD Results

The following document contains the results of PMD 4.2.2.

Files

br/mia/test/controler/ControladorGeraCasosDeTeste.java

Violation Line
Avoid unused local variables such as 'dao'. 204
Avoid unused local variables such as 'dao'. 523
Avoid unused local variables such as 'dao'. 565

br/mia/test/controler/ControladorProjeto.java

Violation Line
Avoid unused local variables such as 'id'. 69

br/mia/test/model/algoritmo/Algoritmo.java

Violation Line
Avoid unused private fields such as 'valoresTeste'. 54
These nested if statements could be combined 163 - 167
Avoid unused local variables such as 'valores'. 342
These nested if statements could be combined 386 - 390
These nested if statements could be combined 394 - 398
These nested if statements could be combined 402 - 420
These nested if statements could be combined 441 - 445
These nested if statements could be combined 449 - 453
These nested if statements could be combined 457 - 476
These nested if statements could be combined 496 - 499
These nested if statements could be combined 503 - 506
These nested if statements could be combined 510 - 520
These nested if statements could be combined 551 - 554
These nested if statements could be combined 558 - 561
These nested if statements could be combined 565 - 576
These nested if statements could be combined 1140 - 1174
These nested if statements could be combined 1251 - 1285

br/mia/test/model/dao/DAOBussinessRule.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 327

br/mia/test/model/dao/DAOData.java

Violation Line
These nested if statements could be combined 75 - 102
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 282

br/mia/test/model/dao/DAOFlow.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 293
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 320
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 340

br/mia/test/model/dao/DAOProject.java

Violation Line
Avoid unused local variables such as 'con'. 78

br/mia/test/model/dao/DAOSecurity.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 199
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 231

br/mia/test/model/dao/DAOStep.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 117
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 214

br/mia/test/model/dao/DAOUser.java

Violation Line
These nested if statements could be combined 112 - 129

br/mia/test/model/dao/Util.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 78
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 151

br/mia/test/model/testlink/dao/DAOTestLink.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 30
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 55
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 137
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 168
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 232

br/mia/test/util/Util.java

Violation Line
Avoid unused local variables such as 'daoRule'. 348

br/mia/test/view/graph/CodeGrafoPane.java

Violation Line
Avoid unused constructor parameters such as 'projeto'. 101 - 272
Avoid unused constructor parameters such as 'framePai'. 101 - 272

br/mia/test/view/graph/GrafoPane.java

Violation Line
Avoid unused constructor parameters such as 'projeto'. 102 - 299
Avoid unused constructor parameters such as 'framePai'. 102 - 299

br/mia/test/view/graph/WBSPane.java

Violation Line
Avoid unused constructor parameters such as 'useCase'. 53 - 339
Avoid unused constructor parameters such as 'projeto'. 53 - 339
Avoid unused constructor parameters such as 'framePai'. 53 - 339

br/mia/test/view/observers/ObserverData.java

Violation Line
An empty statement (semicolon) not part of a loop 85
An empty statement (semicolon) not part of a loop 132
These nested if statements could be combined 260 - 281
These nested if statements could be combined 336 - 356
Avoid empty if statements 385 - 388

br/mia/test/view/observers/ObserverEditFlow.java

Violation Line
These nested if statements could be combined 240 - 254

br/mia/test/view/observers/ObserverPrincipal.java

Violation Line
These nested if statements could be combined 64 - 79
These nested if statements could be combined 107 - 115

br/mia/test/view/observers/ObserverProject.java

Violation Line
These nested if statements could be combined 130 - 141

br/mia/test/view/observers/ObserverUseCase.java

Violation Line
These nested if statements could be combined 383 - 396

br/mia/test/view/observers/ObserverValores.java

Violation Line
Avoid unused constructor parameters such as 'useCase'. 18 - 19

br/mia/test/view/observers/ObserverVulnerabilidade.java

Violation Line
These nested if statements could be combined 213 - 225
These nested if statements could be combined 255 - 276

br/mia/test/view/swingworker/CreateScenario.java

Violation Line
Avoid unused local variables such as 'dao'. 78

br/mia/test/view/swingworker/CreateTestCase.java

Violation Line
Avoid unused local variables such as 'dao'. 65