PMD Results

The following document contains the results of PMD 4.2.2.

Files

comum/util/FileUpload.java

Violation Line
These nested if statements could be combined 117 - 119
These nested if statements could be combined 173 - 178
These nested if statements could be combined 206 - 208

comum/util/ItemMenu.java

Violation Line
These nested if statements could be combined 122 - 123

comum/util/Util.java

Violation Line
Avoid empty catch blocks 119 - 121
Avoid empty catch blocks 167 - 169
These nested if statements could be combined 438 - 439
These nested if statements could be combined 441 - 442
These nested if statements could be combined 444 - 445
These nested if statements could be combined 447 - 448
Avoid empty catch blocks 1090 - 1092
Avoid empty catch blocks 1119 - 1121
Avoid empty catch blocks 1152 - 1154
Avoid unnecessary return statements 1232
Avoid unnecessary return statements 1233

ecar/bean/CargaFinalidadesPPA.java

Violation Line
Avoid unused imports such as 'ecar.pojo.AcompRelatorioArel' 3
Avoid unused imports such as 'ecar.pojo.TipoFuncAcompTpfa' 4

ecar/bean/CargaProdutosPPA.java

Violation Line
Avoid unused imports such as 'ecar.pojo.AcompRelatorioArel' 3
Avoid unused imports such as 'ecar.pojo.TipoFuncAcompTpfa' 4

ecar/dao/AbaDao.java

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

ecar/dao/AcompRealFisicoDao.java

Violation Line
Avoid empty if statements 444 - 446
Avoid empty if statements 452 - 454
Avoid empty if statements 547 - 549
Avoid empty if statements 554 - 556

ecar/dao/AcompRealFisicoLocalDao.java

Violation Line
Avoid unused local variables such as 'acompRealFisicoDao'. 176

ecar/dao/AcompReferenciaDao.java

Violation Line
Avoid unused local variables such as 'arefResultado'. 790

ecar/dao/AcompReferenciaItemDao.java

Violation Line
Avoid unused imports such as 'java.util.GregorianCalendar' 15
Avoid unused imports such as 'ecar.pojo.AreaAre' 49
Avoid unused imports such as 'ecar.pojo.PeriodicidadePrdc' 63
Avoid unused imports such as 'ecar.pojo.SituacaoSit' 66
Avoid unused imports such as 'ecar.pojo.SubAreaSare' 68
Avoid unused imports such as 'ecar.pojo.UnidadeOrcamentariaUO' 74
Avoid unused imports such as 'ecar.taglib.util.Input' 78
These nested if statements could be combined 266 - 270
These nested if statements could be combined 283 - 287
These nested if statements could be combined 392 - 441
These nested if statements could be combined 515 - 518
These nested if statements could be combined 1509 - 1522
Avoid unused local variables such as 'retorno'. 1878
These nested if statements could be combined 1896 - 1900
These nested if statements could be combined 1906 - 1910
These nested if statements could be combined 1915 - 1919
These nested if statements could be combined 1969 - 1973
These nested if statements could be combined 1977 - 1981
These nested if statements could be combined 1985 - 1989
These nested if statements could be combined 1993 - 1997
These nested if statements could be combined 2001 - 2005
These nested if statements could be combined 2025 - 2029
These nested if statements could be combined 2074 - 2078
These nested if statements could be combined 2084 - 2088
These nested if statements could be combined 2852 - 2855
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 3091
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 3093
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 3231
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 3233
Avoid empty if statements 3267 - 3270
Avoid unused local variables such as 'numPeriodos'. 3784
Avoid unused local variables such as 'mapReferenciaRelatorio'. 3830
Avoid unused method parameters such as 'itemEstrutura'. 3873 - 3898
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 3876
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 3881
These nested if statements could be combined 3958 - 3971
These nested if statements could be combined 3964 - 3967
These nested if statements could be combined 4029 - 4038
Avoid empty catch blocks 4392 - 4394
These nested if statements could be combined 4435 - 4439
Avoid empty catch blocks 4443 - 4445
These nested if statements could be combined 4482 - 4489
Avoid empty catch blocks 4493 - 4495
These nested if statements could be combined 4548 - 4554
These nested if statements could be combined 4591 - 4616
These nested if statements could be combined 4607 - 4613
Avoid empty catch blocks 4782 - 4784

ecar/dao/AcompRelatorioDao.java

Violation Line
These nested if statements could be combined 296 - 300
An empty statement (semicolon) not part of a loop 336
An empty statement (semicolon) not part of a loop 338
An empty statement (semicolon) not part of a loop 348
An empty statement (semicolon) not part of a loop 350
Avoid empty catch blocks 354 - 356

ecar/dao/AgendaDao.java

Violation Line
Overriding method merely calls super 405 - 407

ecar/dao/ApontamentoDao.java

Violation Line
Avoid unused imports such as 'java.util.Set' 3
Avoid unused local variables such as 'codIett'. 38

ecar/dao/AreaDao.java

Violation Line
These nested if statements could be combined 52 - 53
These nested if statements could be combined 61 - 62

ecar/dao/AtributoDao.java

Violation Line
These nested if statements could be combined 97 - 98
These nested if statements could be combined 110 - 111

ecar/dao/AtributoDemandaDao.java

Violation Line
Avoid unused imports such as 'java.util.Collections' 4
Avoid unused imports such as 'java.util.Comparator' 5
Avoid unused imports such as 'java.util.Iterator' 6
Avoid unused imports such as 'ecar.pojo.AtributosAtb' 22
Avoid unused imports such as 'ecar.pojo.EstAtribTipoAcompEata' 23
Avoid unused imports such as 'ecar.pojo.EstruturaAtributoEttat' 24
Avoid unused imports such as 'ecar.pojo.EstruturaEtt' 25
Avoid unused imports such as 'ecar.pojo.ObjetoEstrutura' 27
Avoid unused imports such as 'ecar.pojo.TipoAcompanhamentoTa' 29
Avoid unused imports such as 'ecar.util.Dominios' 30
These nested if statements could be combined 53 - 54
These nested if statements could be combined 86 - 87
Avoid unused local variables such as 'atributoDemanda'. 208
Avoid unused local variables such as 'atributoDemanda'. 233
Avoid unused local variables such as 'atributoDemanda'. 257

ecar/dao/ConfigSisExecFinanCsefvDao.java

Violation Line
Avoid unused imports such as 'java.util.Collection' 6
Avoid unused imports such as 'org.hibernate.exception.ConstraintViolationException' 17

ecar/dao/ConfigSisExecFinanDao.java

Violation Line
Avoid unused imports such as 'ecar.pojo.FonteFon' 45
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 281
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 611
Avoid unused local variables such as 'numero'. 633
Avoid unused local variables such as 'valor'. 855
Avoid unused private methods such as 'valoresStringToDouble(String)'. 966
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 1307
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 1308

ecar/dao/CorDao.java

Violation Line
Avoid unused imports such as 'java.util.TreeMap' 15
Avoid unused local variables such as 'arquivoGravado'. 174
Avoid unused local variables such as 'totalNaoAcompanhado'. 373
Avoid unused local variables such as 'totalNaoLiberado'. 373
Avoid unused local variables such as 'totalWhite'. 373

ecar/dao/CorTipoFuncAcompDao.java

Violation Line
Overriding method merely calls super 42 - 44

ecar/dao/EntidadeDao.java

Violation Line
These nested if statements could be combined 418 - 426
These nested if statements could be combined 496 - 499

ecar/dao/EstAtribTipoAcompEataDao.java

Violation Line
Avoid unused imports such as 'java.util.Collection' 4
Avoid unused imports such as 'java.util.Collections' 5
Avoid unused imports such as 'java.util.Comparator' 6
Avoid unused imports such as 'java.util.Map' 9
Avoid unused imports such as 'java.util.TreeMap' 10
Avoid unused imports such as 'java.util.TreeSet' 11
Avoid unused imports such as 'ecar.pojo.ObjetoEstrutura' 24
Avoid unused local variables such as 'it'. 83

ecar/dao/EstiloDao.java

Violation Line
Overriding method merely calls super 29 - 31

ecar/dao/EstruturaAcessoDao.java

Violation Line
Avoid unused imports such as 'java.util.ArrayList' 6
Avoid unused imports such as 'java.util.Iterator' 7
Avoid unused imports such as 'org.hibernate.criterion.Restrictions' 15
Avoid unused imports such as 'ecar.login.SegurancaECAR' 21

ecar/dao/EstruturaAtributoDao.java

Violation Line
Avoid empty catch blocks 256 - 258

ecar/dao/EstruturaFuncaoDao.java

Violation Line
Avoid unused imports such as 'java.util.Date' 7
Avoid unused imports such as 'ecar.login.SegurancaECAR' 19
Avoid unused imports such as 'ecar.pojo.AgendaEntidadesAgeent' 20
Avoid unused imports such as 'ecar.pojo.EntidadeEnt' 21
Avoid empty catch blocks 131 - 133

ecar/dao/EstruturaTipoFuncAcompDao.java

Violation Line
Avoid unused imports such as 'ecar.historico.HistoricoIettus' 22
Avoid unused imports such as 'ecar.pojo.ItemEstrutUsuarioIettus' 26
Avoid empty catch blocks 243 - 245

ecar/dao/ExportacaoRelatorioDemandasDao.java

Violation Line
Avoid empty catch blocks 228 - 229
Avoid unused method parameters such as 'pRegDemanda'. 260 - 295
Avoid empty catch blocks 286 - 287

ecar/dao/ExportacaoRelatorioItemEstruturaDao.java

Violation Line
Avoid unused imports such as 'java.util.HashMap' 11
Avoid unused imports such as 'ecar.pojo.AtributoLivre' 22
Avoid unused imports such as 'ecar.pojo.DemAtributoDema' 24
Avoid unused imports such as 'ecar.pojo.ObjetoDemanda' 29
Avoid unused imports such as 'ecar.pojo.RegDemandaRegd' 31
Avoid unused imports such as 'ecar.pojo.TipoFuncAcompTpfa' 37
Avoid unused imports such as 'ecar.pojo.UsuarioAtributoUsua' 42
Avoid unused imports such as 'ecar.pojo.TipoAcompanhamentoTa' 43
Avoid unused imports such as 'ecar.util.Dominios' 47
Avoid unused local variables such as 'item'. 83
Avoid unused local variables such as 'itensEstruturaCorrente'. 93
Avoid unused local variables such as 'dataInicioItens'. 126
Avoid unused local variables such as 'contItens'. 192
Avoid unused method parameters such as 'configuracao'. 404 - 555
An empty statement (semicolon) not part of a loop 466
These nested if statements could be combined 506 - 512
Avoid unused local variables such as 'numeroListas'. 591
Avoid unused local variables such as 'itensEstruturaIett'. 607
Avoid unused local variables such as 'tipoFuncAcompDao'. 615
Avoid unused local variables such as 'usuarioDao'. 616
Avoid unused local variables such as 'orgaoDao'. 617
Avoid unused local variables such as 'corDao'. 618
Avoid unused local variables such as 'abaDao'. 619
Avoid unused local variables such as 'configuracaoDao'. 620
Avoid unused local variables such as 'taDao'. 621
Avoid unused local variables such as 'exigeLiberarAcompanhamento'. 623
Avoid unused local variables such as 'statusLiberado'. 643
Avoid unused local variables such as 'primeiro'. 645
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 658
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 660
Avoid unused local variables such as 'acompReferenciaDao'. 923
Avoid unused local variables such as 'ariDao'. 925
Avoid unused local variables such as 'corDao'. 926
Avoid unused local variables such as 'flag'. 930
These nested if statements could be combined 1251 - 1260

ecar/dao/FonteRecursoDao.java

Violation Line
Avoid unused imports such as 'ecar.pojo.AgendaAge' 19

ecar/dao/IettIndResulRevIettrrDAO.java

Violation Line
These nested if statements could be combined 178 - 181

ecar/dao/ItemEstUsutpfuacDao.java

Violation Line
These nested if statements could be combined 108 - 113
These nested if statements could be combined 193 - 196

ecar/dao/ItemEstrtIndResulCorIettrcorDAO.java

Violation Line
Avoid unused imports such as 'ecar.pojo.RegApontamentoRegda' 21

ecar/dao/ItemEstrtIndResulDao.java

Violation Line
Avoid empty catch blocks 107 - 109
These nested if statements could be combined 463 - 466
These nested if statements could be combined 512 - 514
Avoid empty catch blocks 516 - 518

ecar/dao/ItemEstrutLocalDao.java

Violation Line
Avoid unused imports such as 'java.util.Date' 7

ecar/dao/ItemEstruturaBeneficiarioDao.java

Violation Line
Avoid unused imports such as 'ecar.util.Dominios' 27
Overriding method merely calls super 111 - 113

ecar/dao/ItemEstruturaCriterioDao.java

Violation Line
These nested if statements could be combined 213 - 215

ecar/dao/ItemEstruturaDao.java

Violation Line
Avoid unused imports such as 'ecar.pojo.SisTipoExibicGrupoSteg' 66
Avoid empty catch blocks 113 - 115
Avoid empty if statements 247 - 249
These nested if statements could be combined 494 - 506
These nested if statements could be combined 558 - 560
These nested if statements could be combined 672 - 685
These nested if statements could be combined 725 - 736
These nested if statements could be combined 948 - 961
These nested if statements could be combined 954 - 958
These nested if statements could be combined 1035 - 1037
These nested if statements could be combined 1706 - 1708
These nested if statements could be combined 1715 - 1717
Avoid unused local variables such as 'validaPermissao'. 1964
These nested if statements could be combined 2106 - 2108
These nested if statements could be combined 2118 - 2136
These nested if statements could be combined 2361 - 2370
These nested if statements could be combined 2917 - 2919
These nested if statements could be combined 2981 - 2983
Avoid unused local variables such as 'dummy'. 3337
These nested if statements could be combined 3488 - 3491
These nested if statements could be combined 3534 - 3539
These nested if statements could be combined 3535 - 3538
These nested if statements could be combined 3544 - 3547
These nested if statements could be combined 3552 - 3555
Avoid unused method parameters such as 'itemEstrutura'. 4631 - 4645

ecar/dao/ItemEstruturaFonteRecursoDao.java

Violation Line
Avoid unused imports such as 'ecar.pojo.EspecieEsp' 28
Avoid unused imports such as 'ecar.pojo.FonteFon' 30

ecar/dao/ItemEstruturaFonteRecursoRevDao.java

Violation Line
Avoid unused imports such as 'ecar.pojo.EspecieEsp' 30
Avoid unused imports such as 'ecar.pojo.FonteFon' 32

ecar/dao/ItemEstruturaPrevisaoDao.java

Violation Line
Avoid unused imports such as 'ecar.pojo.EspecieEsp' 28
Avoid unused imports such as 'ecar.pojo.FonteFon' 30

ecar/dao/ItemEstruturaRealizadoDao.java

Violation Line
Avoid unused imports such as 'java.util.Collections' 9
Avoid unused imports such as 'gov.pr.celepar.framework.exception.ApplicationException' 36
Avoid empty if statements 117 - 120
Avoid empty if statements 241 - 244
Overriding method merely calls super 322 - 324

ecar/dao/ItemEstruturaUploadCategoriaDao.java

Violation Line
Avoid unused imports such as 'ecar.pojo.UsuarioUsu' 28
Avoid unused local variables such as 'arquivoGravado'. 211

ecar/dao/ItemEstruturaUploadDao.java

Violation Line
Avoid unused imports such as 'java.util.ArrayList' 7
Avoid unused imports such as 'org.hibernate.Transaction' 17
Avoid unused imports such as 'ecar.pojo.Aba' 24
Avoid unused imports such as 'ecar.pojo.AcompReferenciaItemAri' 25

ecar/dao/ItemEstruturarevisaoIettrevDAO.java

Violation Line
Avoid unused imports such as 'ecar.util.Dominios' 37

ecar/dao/LinkDao.java

Violation Line
Avoid unused imports such as 'ecar.pojo.Aba' 16
Avoid unused imports such as 'ecar.pojo.FuncaoFun' 17

ecar/dao/LocalItemDao.java

Violation Line
These nested if statements could be combined 584 - 591
These nested if statements could be combined 730 - 733

ecar/dao/OrgaoDao.java

Violation Line
These nested if statements could be combined 82 - 83
These nested if statements could be combined 96 - 97

ecar/dao/PeriodoExercicioDao.java

Violation Line
Avoid unused imports such as 'java.util.List' 6
Avoid unused imports such as 'ecar.pojo.ExercicioExe' 12

ecar/dao/PeriodoRevisaoPrevDao.java

Violation Line
These nested if statements could be combined 73 - 74

ecar/dao/PontoCriticoDao.java

Violation Line
Avoid empty catch blocks 224 - 226
Avoid empty catch blocks 472 - 474
These nested if statements could be combined 672 - 676

ecar/dao/RecursoDao.java

Violation Line
Avoid unused imports such as 'ecar.pojo.FonteRecursoFonr' 16

ecar/dao/RegDemandaDao.java

Violation Line
Avoid unused imports such as 'comum.util.Mensagem' 26
Avoid unused imports such as 'ecar.pojo.OrgaoOrg' 38
Avoid empty catch blocks 297 - 299
Avoid empty if statements 506 - 519
These nested if statements could be combined 911 - 919
Avoid unused local variables such as 'hierarquiaLocal'. 1101
These nested if statements could be combined 1497 - 1500
These nested if statements could be combined 1505 - 1508
These nested if statements could be combined 1513 - 1516
These nested if statements could be combined 1521 - 1524
These nested if statements could be combined 1529 - 1532
These nested if statements could be combined 1537 - 1540
These nested if statements could be combined 1545 - 1548
These nested if statements could be combined 1553 - 1556
These nested if statements could be combined 1561 - 1564
These nested if statements could be combined 1569 - 1572
These nested if statements could be combined 1862 - 1868
These nested if statements could be combined 1910 - 1935
These nested if statements could be combined 1926 - 1932
Avoid unused private methods such as 'aplicarRestricaoGruposUsuario(RegDemandaRegd,UsuarioUsu,Set)'. 2116
Avoid unused method parameters such as 'usuario'. 2116 - 2156
Avoid unused local variables such as 'nomeCampo'. 2233

ecar/dao/SegmentoCategoriaDao.java

Violation Line
These nested if statements could be combined 162 - 165
Avoid unused local variables such as 'arquivoGravado'. 237

ecar/dao/SegmentoDao.java

Violation Line
These nested if statements could be combined 164 - 167
Avoid unused local variables such as 'arquivoGravado'. 238

ecar/dao/SegmentoItemDao.java

Violation Line
These nested if statements could be combined 153 - 156
These nested if statements could be combined 166 - 169
These nested if statements could be combined 179 - 182
These nested if statements could be combined 192 - 195
These nested if statements could be combined 204 - 207
These nested if statements could be combined 323 - 325
These nested if statements could be combined 328 - 330
These nested if statements could be combined 333 - 335
These nested if statements could be combined 338 - 340
These nested if statements could be combined 343 - 345
These nested if statements could be combined 470 - 471
These nested if statements could be combined 490 - 491
Avoid unused local variables such as 'arquivoGravado'. 671
Avoid unused local variables such as 'arquivoGravado'. 681
Avoid unused local variables such as 'arquivoGravado'. 691
Avoid unused local variables such as 'arquivoGravado'. 701
Avoid unused local variables such as 'arquivoGravado'. 711
These nested if statements could be combined 875 - 877
These nested if statements could be combined 876 - 877
Avoid empty catch blocks 995 - 997
Avoid unused local variables such as 'qtdPag'. 1020
Avoid unused local variables such as 'numPag'. 1020
Avoid empty catch blocks 1026 - 1028
These nested if statements could be combined 1031 - 1032
Avoid unused local variables such as 'todos'. 1564
Avoid unused local variables such as 'qtdPag'. 1580
Avoid unused local variables such as 'numPag'. 1580
These nested if statements could be combined 1591 - 1592
Avoid unused local variables such as 'todos'. 1658
Avoid unused local variables such as 'teste'. 1659
Avoid unused local variables such as 'qtdPag'. 1690
Avoid unused local variables such as 'numPag'. 1690
These nested if statements could be combined 1701 - 1702

ecar/dao/ServicoDao.java

Violation Line
These nested if statements could be combined 330 - 333
Avoid unused local variables such as 'setHistPtc'. 417
Avoid unused local variables such as 'primeiroRegistro'. 419
These nested if statements could be combined 462 - 468
Avoid unused local variables such as 'ptcDao'. 538
These nested if statements could be combined 555 - 557

ecar/dao/SisAtributoDao.java

Violation Line
Avoid unused imports such as 'org.hibernate.Query' 13
Avoid unused imports such as 'org.hibernate.criterion.Order' 14
Avoid unused imports such as 'org.hibernate.criterion.Restrictions' 15
Overriding method merely calls super 115 - 117
Overriding method merely calls super 124 - 126
Invoke equals() on the object you've already ensured is not null 190

ecar/dao/SisGrupoAtributoDao.java

Violation Line
Avoid unused imports such as 'ecar.pojo.ObjetoDemanda' 17
Avoid unused imports such as 'ecar.pojo.TipoAcompanhamentoTa' 20
Avoid unused imports such as 'ecar.util.Dominios' 21
These nested if statements could be combined 325 - 329

ecar/dao/SitDemandaDao.java

Violation Line
Avoid unused imports such as 'ecar.pojo.SituacaoSit' 11

ecar/dao/SubAreaDao.java

Violation Line
These nested if statements could be combined 55 - 56
These nested if statements could be combined 67 - 68

ecar/dao/TempCargaEcarDFIettsBDDao.java

Violation Line
Avoid unused private methods such as 'getUsuarioGPSByOrgao(OrgaoOrg)'. 329

ecar/dao/TempCargaIettsBDDao.java

Violation Line
Avoid unused local variables such as 'anoExe'. 1241
Avoid unused local variables such as 'siglaProduto'. 1243
Avoid unused local variables such as 'indObra'. 1244
Avoid unused local variables such as 'local'. 1287
Avoid unused local variables such as 'siglaProduto'. 1415
Avoid unused local variables such as 'indObra'. 1416
Avoid unused local variables such as 'unidadeIndicador'. 1419
These nested if statements could be combined 1635 - 1648
Avoid unused local variables such as 'indObra'. 1781
Avoid unused local variables such as 'nomeIndicador'. 1782
Avoid unused local variables such as 'unidadeIndicador'. 1784
Avoid unused local variables such as 'valorPrevisto'. 1785
Avoid unused local variables such as 'codRegiao'. 1786
Avoid unused local variables such as 'codMunicipio'. 1788

ecar/dao/TextosSiteDao.java

Violation Line
Overriding method merely calls super 29 - 31

ecar/dao/TipoAcompanhamentoDao.java

Violation Line
Avoid unused imports such as 'javax.print.PrintException' 14
Avoid unused imports such as 'org.apache.log4j.Logger' 17
Avoid unused local variables such as 'estAtribTipoAcompEata'. 360

ecar/dao/TipoFuncAcompDao.java

Violation Line
Avoid unused imports such as 'ecar.login.SegurancaECAR' 33
Avoid unused imports such as 'ecar.pojo.AcompReferenciaItemAri' 38
Avoid unused imports such as 'ecar.pojo.EstruturaFuncaoEttf' 43
Avoid unused imports such as 'ecar.pojo.ItemEstUsutpfuacIettutfa' 44
Avoid unused imports such as 'ecar.pojo.SituacaoSit' 47

ecar/dao/UnidadeOrcamentariaDao.java

Violation Line
These nested if statements could be combined 65 - 66
These nested if statements could be combined 79 - 80

ecar/dao/UsuarioDao.java

Violation Line
These nested if statements could be combined 172 - 173
These nested if statements could be combined 187 - 188
These nested if statements could be combined 262 - 263
These nested if statements could be combined 725 - 731
These nested if statements could be combined 749 - 756
These nested if statements could be combined 978 - 981
These nested if statements could be combined 1009 - 1010
These nested if statements could be combined 1013 - 1014
These nested if statements could be combined 1017 - 1018
These nested if statements could be combined 1021 - 1022
These nested if statements could be combined 1266 - 1267
These nested if statements could be combined 1270 - 1271
Avoid unused local variables such as 'separadorMultivalor'. 1319
Avoid unused local variables such as 'csvFile'. 1321

ecar/email/AgendadorEmail.java

Violation Line
Avoid empty if statements 639 - 641
Avoid empty if statements 798 - 800
Avoid unused method parameters such as 'dataLimiteSeNula'. 1081 - 1311
Avoid empty if statements 1299 - 1301
Avoid empty if statements 1480 - 1482

ecar/historico/HistoricoIett.java

Violation Line
Avoid unused imports such as 'java.util.ArrayList' 3
Avoid unused imports such as 'java.util.List' 5
Avoid unused imports such as 'comum.database.Dao' 11
Avoid unused imports such as 'ecar.pojo.HistoricoIettSatbH' 17
Avoid unused imports such as 'ecar.pojo.HistoricoIettutfaH' 18
Avoid unused imports such as 'ecar.pojo.ItemEstUsutpfuacIettutfa' 21
Avoid unused imports such as 'ecar.pojo.ItemEstruturaSisAtributoIettSatb' 23

ecar/historico/HistoricoPtc.java

Violation Line
Avoid unused imports such as 'java.util.ArrayList' 3
Avoid unused imports such as 'java.util.List' 7
Avoid unused imports such as 'comum.database.Dao' 13
Avoid unused imports such as 'ecar.pojo.HistoricoIettH' 18
Avoid unused imports such as 'ecar.pojo.HistoricoIettSatbH' 19
Avoid unused imports such as 'ecar.pojo.HistoricoIettutfaH' 20
Avoid unused imports such as 'ecar.pojo.ItemEstUsutpfuacIettutfa' 25
Avoid unused imports such as 'ecar.pojo.ItemEstruturaIett' 26
Avoid unused imports such as 'ecar.pojo.ItemEstruturaSisAtributoIettSatb' 27

ecar/permissao/ControlePermissao.java

Violation Line
Avoid unused imports such as 'java.util.Date' 8
Avoid unused imports such as 'org.hibernate.Transaction' 18
Avoid unused imports such as 'comum.database.Dao' 20
Avoid unused imports such as 'ecar.dao.EstruturaDao' 24
Avoid unused imports such as 'ecar.dao.ItemEstruturaDao' 26
Avoid unused imports such as 'ecar.historico.IHistorico' 29
Avoid unused imports such as 'ecar.pojo.ConfiguracaoCfg' 30
Avoid unused imports such as 'ecar.pojo.HistoricoIettusH' 32
Avoid unused imports such as 'ecar.pojo.HistoricoMaster' 33
Avoid unused imports such as 'ecar.pojo.HistoricoMotivo' 34
Avoid unused imports such as 'gov.pr.celepar.framework.database.HibernateUtil' 39

ecar/permissao/ValidaPermissao.java

Violation Line
Avoid unused imports such as 'ecar.pojo.EstrutTpFuncAcmpEtttfa' 28
Avoid unused imports such as 'ecar.pojo.OrgaoOrg' 34
These nested if statements could be combined 89 - 91
These nested if statements could be combined 123 - 124
These nested if statements could be combined 130 - 131
These nested if statements could be combined 163 - 165
These nested if statements could be combined 206 - 216
These nested if statements could be combined 225 - 234
These nested if statements could be combined 294 - 295
These nested if statements could be combined 301 - 302
These nested if statements could be combined 339 - 340
These nested if statements could be combined 346 - 347
These nested if statements could be combined 385 - 386
These nested if statements could be combined 392 - 393
These nested if statements could be combined 431 - 432
These nested if statements could be combined 438 - 439
These nested if statements could be combined 476 - 477
These nested if statements could be combined 483 - 484
These nested if statements could be combined 883 - 884
These nested if statements could be combined 891 - 892
These nested if statements could be combined 922 - 923
These nested if statements could be combined 930 - 931
Avoid empty catch blocks 1564 - 1566

ecar/pojo/AtributoDemandaAtbdem.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 229
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 229

ecar/pojo/EstrutTpFuncAcmpEtttfa.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 309
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 384
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 384

ecar/pojo/EstruturaAtributoEttat.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 389
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 389
These nested if statements could be combined 434 - 435
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 435
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 437
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 450
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 450

ecar/pojo/HistoricoIettfH.java

Violation Line
Avoid duplicate imports such as 'java.util.Date' 6

ecar/pojo/HistoricoIettusH.java

Violation Line
Avoid duplicate imports such as 'java.util.Date' 6

ecar/pojo/ImageInfo.java

Violation Line
Avoid empty catch blocks 964 - 965
Avoid unused method parameters such as 'imageInfo'. 980 - 991
Avoid unused method parameters such as 'sourceName'. 980 - 991
Avoid unused local variables such as 'SEP'. 981
Avoid empty while statements 1010 - 1012
Avoid empty if statements 1013 - 1016
Avoid unused private methods such as 'readSBits(int)'. 1134

ecar/pojo/ItemEstrutEntidadeIette.java

Violation Line
Avoid duplicate imports such as 'java.util.Date' 6

ecar/pojo/ItemEstrutFisicoIettf.java

Violation Line
Avoid duplicate imports such as 'java.util.Date' 6

ecar/pojo/SelecaoItemEstruturaTela.java

Violation Line
Ensure you override both equals() and hashCode() 60

ecar/popup/PopUpFonteRecurso.java

Violation Line
Avoid unused imports such as 'ecar.pojo.EstruturaEtt' 29
Avoid unused imports such as 'ecar.pojo.EstruturaFuncaoEttfPK' 31

ecar/portal/Portal.java

Violation Line
Avoid unused local variables such as 'ignorarApos'. 102

ecar/servlet/componente/PesquisaRealizadoFisicoPorLocalServlet.java

Violation Line
Avoid unused private fields such as 'logger'. 38
Avoid unused local variables such as 'statusAlteracao'. 74
Avoid unused local variables such as 'itemDao'. 79

ecar/servlet/componente/SalvarIndicadorPorLocalServlet.java

Violation Line
Avoid unused imports such as 'ecar.dao.ItemEstrutFisicoDao' 22
Avoid unused imports such as 'ecar.pojo.ItemEstrutFisicoIettf' 24
Avoid duplicate imports such as 'comum.util.Util' 25

ecar/servlet/file/DownloadFile.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 61
Avoid unused local variables such as 'porta'. 90
Avoid unused private methods such as 'configurarResponse(HttpServletResponse)'. 167
Avoid unused method parameters such as 'response'. 167 - 169

ecar/servlet/geraFilhosIett/GeraFilhosIettServlet.java

Violation Line
Avoid unused private fields such as 'request'. 53
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 144

ecar/servlet/geraFilhosIett/ItemEstruturaHtml.java

Violation Line
Avoid unused local variables such as 'tipoFuncAcompDao'. 124
Avoid unused local variables such as 'tipoFuncAcompDao'. 334
These nested if statements could be combined 379 - 388
Avoid unused local variables such as 'tipoFuncAcompDao'. 430

ecar/servlet/grafico/GraficoEvolucaoPosicoes.java

Violation Line
Avoid unused local variables such as 'msgGrafico'. 86

ecar/servlet/grafico/GraficoGanttPontosCriticos.java

Violation Line
Avoid unused private methods such as 'criarDataSet(List,Date)'. 98

ecar/servlet/grafico/GraficoPrevisaoIndicadoresResultado.java

Violation Line
An empty statement (semicolon) not part of a loop 107
An empty statement (semicolon) not part of a loop 108
Avoid unused local variables such as 'k'. 236

ecar/servlet/grafico/GraficoRealizadoPorExercicio.java

Violation Line
Avoid unused local variables such as 'catDataset'. 199

ecar/servlet/importaLocal/ImportarLocalIBGE.java

Violation Line
These nested if statements could be combined 121 - 153

ecar/servlet/relatorio/MontaPPT.java

Violation Line
An empty statement (semicolon) not part of a loop 571
Avoid empty catch blocks 608 - 610

ecar/servlet/relatorio/PPA/CarregaItensCompleto.java

Violation Line
Avoid empty if statements 179 - 181

ecar/servlet/relatorio/PPA/RelatorioPPAService.java

Violation Line
Avoid unused method parameters such as 'programa'. 142 - 170
Avoid unused method parameters such as 'orgao'. 142 - 170
Avoid unused local variables such as 'PPA_ORGAO'. 147
Avoid unused local variables such as 'PPA_PROGRAMA'. 148
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 313
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 387

ecar/servlet/relatorio/PPA/RelatorioPPAServlet.java

Violation Line
Avoid unused private methods such as 'printParam(String,ArrayList,String,ArrayList,ArrayList,String,String,String)'. 175

ecar/servlet/relatorio/PPA/RelatorioParametro.java

Violation Line
Avoid unused imports such as 'ecar.pojo.ItemEstruturaIett' 6

ecar/servlet/relatorio/PPA/bean/AcaoBean.java

Violation Line
Avoid unused imports such as 'java.util.ArrayList' 5
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 133
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 136
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 139
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 142
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 145
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 148
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 151
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 154
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 157
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 160
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 163
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 166
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 169
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 172
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 175
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 178
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 181
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 184
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 187
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 190
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 193
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 196
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 199
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 202
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 205
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 208
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 211
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 214
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 217
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 220
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 223
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 226
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 229
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 232
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 235
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 238
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 241
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 244
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 247
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 250
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 253
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 256
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 259
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 262

ecar/servlet/relatorio/PPA_LinhaAcao/PPA_LinhaAcaoBean.java

Violation Line
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 52

ecar/servlet/relatorio/PPA_LinhaAcao/RelatorioPPALinhaAcaoService.java

Violation Line
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 76
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 77
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 78
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 79
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 100
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 239
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 251
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 252
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 253
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 254
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 292
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 293
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 294
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 295

ecar/servlet/relatorio/PPA_LinhaPrograma/RelatorioPPALinhaProgramaService.java

Violation Line
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 77
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 78
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 79
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 80
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 128
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 239
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 250
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 251
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 252
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 253
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 265
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 266
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 267
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 268

ecar/servlet/relatorio/PPA_Orgao/PPA_OrgaoBean.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 57
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 59

ecar/servlet/relatorio/PPA_Orgao/RelatorioPPAOrgaoService.java

Violation Line
Avoid unused imports such as 'ecar.dao.UnidadeOrcamentariaDao' 20
Avoid unused private fields such as 'CONSTANTE_MINISTERIO_PUBLICO'. 78
Avoid unused private fields such as 'CONSTANTE_PODER_LEGISLATIVO'. 82
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 84
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 85
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 86
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 87
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 135
Avoid empty if statements 183 - 184
Avoid empty if statements 184 - 185
Avoid unused local variables such as 'itemEstruturaDao'. 257
Avoid unused local variables such as 'prevDao'. 258
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 278
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 279
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 280
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 281
These nested if statements could be combined 297 - 301
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 340

ecar/servlet/relatorio/PPA_OrgaoUnidade/RelatorioPPAOrgaoUnidadeService.java

Violation Line
Avoid unused private fields such as 'CONSTANTE_MINISTERIO_PUBLICO'. 72
Avoid unused private fields such as 'CONSTANTE_PODER_LEGISLATIVO'. 76
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 90
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 91
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 92
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 93
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 140
Avoid empty if statements 207 - 208
Avoid empty if statements 208 - 209
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 260
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 261
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 262
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 263
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 295
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 296
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 297
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 298
These nested if statements could be combined 329 - 367
These nested if statements could be combined 347 - 351
These nested if statements could be combined 452 - 456
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 490
Avoid unused local variables such as 'exercicioDao'. 526

ecar/servlet/relatorio/PPA_Programa/PPA_ProgramaBean.java

Violation Line
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 49

ecar/servlet/relatorio/PPA_Programa/RelatorioPPAProgramaService.java

Violation Line
Avoid unused private fields such as 'PARAM_DATA_INICIO'. 66
Avoid unused private fields such as 'PARAM_DATA_TERMINO'. 67

ecar/servlet/relatorio/PPA_Util/CalcularTotalVisitor.java

Violation Line
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 30
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 37
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 44
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 51
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 58
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 66
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 74
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 81
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 88
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 95
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 102
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 109
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 116
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 124
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 132
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 139
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 147
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 153
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 159
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 164
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 180
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 187
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 194
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 201
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 208
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 216
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 224
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 231
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 238
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 245
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 252
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 259
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 266
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 274
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 282
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 289
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 297
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 303
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 309
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 314
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 329
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 344
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 359

ecar/servlet/relatorio/PPA_funcao/RelatorioPPAFuncaoService.java

Violation Line
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 134
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 291
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 292
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 293
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 294
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 295
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 300
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 301
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 302
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 303
Don't create instances of already existing BigInteger and BigDecimal (ZERO, ONE, TEN) 304

ecar/servlet/relatorio/RelacaoItemEstrutura.java

Violation Line
Avoid unused private fields such as 'COMBOBOX'. 58
Avoid unused private fields such as 'CHECKBOX'. 59
Avoid unused private fields such as 'LISTBOX'. 60
Avoid unused private fields such as 'RADIO_BUTTON'. 61
Avoid unused private fields such as 'IMAGEM'. 63
Avoid unused private fields such as 'MULTITEXTO'. 64
Avoid unused private fields such as 'VALIDACAO'. 65
Avoid unused private fields such as 'MULTIPLO'. 66
Avoid unused local variables such as 'item'. 152

ecar/servlet/relatorio/RelatorioAcompanhamento.java

Violation Line
Avoid unused private methods such as 'verificaEtapa(EstruturaEtt,List)'. 1553

ecar/servlet/relatorio/RelatorioAcompanhamentoImpresso.java

Violation Line
Avoid unused private fields such as 'COMBOBOX'. 94
Avoid unused private fields such as 'CHECKBOX'. 95
Avoid unused private fields such as 'LISTBOX'. 96
Avoid unused private fields such as 'RADIO_BUTTON'. 97
Avoid unused private fields such as 'IMAGEM'. 99
Avoid unused private fields such as 'MULTITEXTO'. 100
Avoid unused private fields such as 'VALIDACAO'. 101
Avoid unused private fields such as 'MULTIPLO'. 102
These nested if statements could be combined 480 - 482
These nested if statements could be combined 688 - 716

ecar/servlet/relatorio/RelatorioAcompanhamento_BKP_07032007.java

Violation Line
Avoid unused imports such as 'java.util.Comparator' 9

ecar/servlet/relatorio/RelatorioApendiceDois.java

Violation Line
Avoid unused private fields such as 'itemEstLocalDao'. 58
These nested if statements could be combined 343 - 345
These nested if statements could be combined 518 - 526
Avoid unused local variables such as 'achou'. 1060

ecar/servlet/relatorio/RelatorioApendiceTres.java

Violation Line
These nested if statements could be combined 363 - 371

ecar/servlet/relatorio/RelatorioItemEstrutura.java

Violation Line
Avoid unused private fields such as 'COMBOBOX'. 96
Avoid unused private fields such as 'CHECKBOX'. 97
Avoid unused private fields such as 'LISTBOX'. 98
Avoid unused private fields such as 'RADIO_BUTTON'. 99
Avoid unused private fields such as 'IMAGEM'. 101
Avoid unused private fields such as 'MULTITEXTO'. 102
Avoid unused private fields such as 'VALIDACAO'. 103
Avoid unused private fields such as 'MULTIPLO'. 104
These nested if statements could be combined 600 - 602
Avoid unused local variables such as 'exercicio'. 1068
Avoid unused local variables such as 'exercicio'. 1197
Avoid unused local variables such as 'exercicio'. 1223
Avoid unused local variables such as 'exercicio'. 1248
These nested if statements could be combined 1487 - 1510
These nested if statements could be combined 1709 - 1711
Avoid empty if statements 1746 - 1748
These nested if statements could be combined 1876 - 1878
Avoid empty if statements 1918 - 1920

ecar/servlet/relatorio/RelatorioOcorrenciasImportacao.java

Violation Line
Avoid unused private fields such as 'TAMANHO_VALORES'. 28

ecar/servlet/relatorio/RevisaoItemEstrutura.java

Violation Line
Avoid unused private fields such as 'itemEstruturaDao'. 62
These nested if statements could be combined 906 - 909

ecar/servlet/relatorio/RevisaoItemEstruturaMetasFisicas.java

Violation Line
Avoid unused private fields such as 'itemEstruturaDao'. 62
These nested if statements could be combined 915 - 918

ecar/servlet/servico/ApuracaoAtrasoConclusaoPontosCriticos.java

Violation Line
Avoid unused imports such as 'java.util.Date' 5

ecar/servlet/servico/ApuracaoConclusaoPontosCriticos.java

Violation Line
Avoid unused imports such as 'java.util.Date' 5

ecar/servlet/servico/ApuracaoReprogramacaoExtensaoPontosCriticos.java

Violation Line
Avoid unused imports such as 'java.util.Date' 5

ecar/servlet/servico/ApuracaoReprogramacaoReducaoPontosCriticos.java

Violation Line
Avoid unused imports such as 'java.util.Date' 5

ecar/servlet/servico/ApuracaoTotalPontosCriticos.java

Violation Line
Avoid unused imports such as 'java.util.Date' 5

ecar/taglib/combos/ComboTag.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 125

ecar/taglib/teste/Teste.java

Violation Line
Avoid unused local variables such as 'f'. 113

ecar/taglib/util/AnexosListaTag.java

Violation Line
Avoid unused local variables such as 'tagInput'. 96
Avoid empty catch blocks 228 - 230

ecar/taglib/util/AnexosUploadTag.java

Violation Line
Avoid unused imports such as 'ecar.pojo.EstruturaFuncaoEttf' 17
Avoid unused imports such as 'ecar.pojo.ItemEstrUplCategIettuc' 18
Avoid unused local variables such as 'tagInput'. 95
Avoid empty catch blocks 176 - 178

ecar/taglib/util/ArvoreFilhosItemEstruturaTag.java

Violation Line
Avoid unused local variables such as 'filhosExibir'. 112
Avoid unused local variables such as 'tipoFuncAcompDao'. 305
These nested if statements could be combined 348 - 357
Avoid unused local variables such as 'tipoFuncAcompDao'. 396

ecar/taglib/util/BarraAcoesEmailTag.java

Violation Line
Overriding method merely calls super 54 - 57

ecar/taglib/util/BarraLinksItemEstruturaTag.java

Violation Line
These nested if statements could be combined 102 - 104

ecar/taglib/util/BarraLinksRegAcompParecerTag.java

Violation Line
Avoid unused imports such as 'java.util.Collection' 7
Avoid unused imports such as 'java.util.Collections' 8
Avoid unused imports such as 'comum.util.ImagemAcompanhamento' 19
Avoid unused imports such as 'ecar.dao.AbaDao' 22
Avoid unused imports such as 'ecar.dao.PontoCriticoDao' 25
Avoid unused imports such as 'ecar.pojo.Aba' 28
These nested if statements could be combined 154 - 156

ecar/taglib/util/BarraLinksRegAcompSuperiorTag.java

Violation Line
Avoid unused imports such as 'java.util.List' 9

ecar/taglib/util/BarraLinksRegAcompTag.java

Violation Line
Avoid unused imports such as 'comum.util.Pagina' 19

ecar/taglib/util/BarraLinksRelatorioAcompanhamentoTag.java

Violation Line
Avoid unused local variables such as 'ehAssociacao'. 82
These nested if statements could be combined 240 - 241
These nested if statements could be combined 254 - 259

ecar/taglib/util/BarraLinksRelatorioItens.java

Violation Line
An empty statement (semicolon) not part of a loop 80

ecar/taglib/util/FormConsultaRegDemandaTag.java

Violation Line
Avoid empty catch blocks 48 - 50

ecar/taglib/util/FormEstruturaAtributoFiltroTag.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 58
Avoid empty catch blocks 90 - 92
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 920
Avoid unused local variables such as 'selectedCodSapadrao'. 958
These nested if statements could be combined 960 - 962
These nested if statements could be combined 1031 - 1033
Avoid unused local variables such as 'area'. 1667
These nested if statements could be combined 1982 - 1984

ecar/taglib/util/FormItemEstruturaRevisaoTag.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 50
Avoid unused local variables such as 'auxScriptValueBtn'. 847
Avoid unused local variables such as 'area'. 1243

ecar/taglib/util/FormItemEstruturaTag.java

Violation Line
Avoid unused imports such as 'java.util.Set' 12
Avoid unused imports such as 'ecar.dao.EstruturaDao' 26
Avoid unused imports such as 'ecar.dao.TipoFuncAcompDao' 30
Avoid unused imports such as 'ecar.pojo.TipoFuncAcompTpfa' 47
Avoid unused imports such as 'ecar.pojo.UsuarioUsu' 48
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 63
Avoid empty catch blocks 102 - 104
Avoid unused local variables such as 'selectedCodSapadrao'. 959
These nested if statements could be combined 961 - 963
These nested if statements could be combined 1031 - 1033
Avoid unused local variables such as 'auxScriptValueBtn'. 1117
Avoid unused local variables such as 'auxScriptValueBtn'. 1179
Avoid unused local variables such as 'area'. 1748
These nested if statements could be combined 2065 - 2069

ecar/taglib/util/FormRegDemandaTag.java

Violation Line
Avoid unused imports such as 'ecar.pojo.OrgaoOrg' 34
Avoid empty catch blocks 76 - 78
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 254
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 257
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 287
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 290
These nested if statements could be combined 1290 - 1369
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 1304
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 1306
Avoid unused local variables such as 'selectedCodSapadrao'. 1340
These nested if statements could be combined 1342 - 1352

ecar/taglib/util/Input.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 136
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 139
These nested if statements could be combined 333 - 335

ecar/taglib/util/MenuTag.java

Violation Line
Avoid empty catch blocks 88 - 90
Avoid empty catch blocks 221 - 223
Avoid unused private methods such as 'montaMenuJS(List)'. 330
Avoid unused method parameters such as 'lista'. 330 - 332

ecar/taglib/util/Options.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 59
These nested if statements could be combined 223 - 224
Invoke equals() on the object you've already ensured is not null 250
These nested if statements could be combined 256 - 257
These nested if statements could be combined 263 - 267
These nested if statements could be combined 264 - 266
These nested if statements could be combined 309 - 313
These nested if statements could be combined 310 - 312
Invoke equals() on the object you've already ensured is not null 339
These nested if statements could be combined 345 - 346
These nested if statements could be combined 356 - 358

ecar/taglib/util/PontosCriticosListaTag.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 47
Avoid empty catch blocks 300 - 302

ecar/taglib/util/PontosCriticosTag.java

Violation Line
Avoid unused imports such as 'ecar.pojo.TipoFuncAcompTpfa' 36
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 61
Avoid empty if statements 208 - 211
Avoid unused local variables such as 'id'. 339
Avoid empty catch blocks 544 - 546

ecar/taglib/util/ValidacaoEstruturaAtributoFiltroTag.java

Violation Line
Avoid unused imports such as 'java.util.List' 10
Avoid unused imports such as 'ecar.pojo.EstrutTpFuncAcmpEtttfa' 22
Avoid unused imports such as 'ecar.pojo.SisGrupoAtributoSga' 24
Avoid unused local variables such as 'datas'. 63
Avoid unused local variables such as 'labelDataIni'. 64
Avoid unused local variables such as 'labelDataFim'. 65
Avoid unused private methods such as 'geraValidacaoMoeda(ObjetoEstrutura)'. 613

ecar/taglib/util/ValidacaoItemEstruturaRevisaoTag.java

Violation Line
Avoid unused private methods such as 'geraValidacaoMoeda(ObjetoEstrutura)'. 675

ecar/taglib/util/ValidacaoItemEstruturaTag.java

Violation Line
Avoid unused imports such as 'java.util.List' 10
Avoid unused private methods such as 'geraValidacaoMoeda(ObjetoEstrutura)'. 750

ecar/taglib/util/ValidacaoRegDemandaTag.java

Violation Line
Avoid unused private methods such as 'geraValidacaoExistenciaCamposClassificaDemanda()'. 375
Avoid unused private methods such as 'geraValidacaoMoeda(ObjetoDemanda)'. 506
These nested if statements could be combined 574 - 585
These nested if statements could be combined 575 - 584