PMD Results

The following document contains the results of PMD 4.2.5.

Files

dk/sosi/seal/SOSIFactory.java

Violation Line
Avoid using final local variables, turn them into fields 574
A method should have only one exit point, and that should be the last statement in the method 580
A method should have only one exit point, and that should be the last statement in the method 605
A method should have only one exit point, and that should be the last statement in the method 655

dk/sosi/seal/model/AbstractDOMInfoExtractor.java

Violation Line
These nested if statements could be combined 91 - 93
A method should have only one exit point, and that should be the last statement in the method 92
A method should have only one exit point, and that should be the last statement in the method 109
Found 'DD'-anomaly for variable 'elm' (lines '123'-'127'). 123 - 127
A method should have only one exit point, and that should be the last statement in the method 138
A method should have only one exit point, and that should be the last statement in the method 160
A method should have only one exit point, and that should be the last statement in the method 162
A method should have only one exit point, and that should be the last statement in the method 170
A method should have only one exit point, and that should be the last statement in the method 172
Found 'DU'-anomaly for variable 'value' (lines '188'-'196'). 188 - 196
Found 'DD'-anomaly for variable 'value' (lines '188'-'188'). 188
A method should have only one exit point, and that should be the last statement in the method 200

dk/sosi/seal/model/IDCard.java

Violation Line
Found 'DD'-anomaly for variable 'cert' (lines '475'-'478'). 475 - 478

dk/sosi/seal/model/IdentityToken.java

Violation Line
It is a good practice to call super() in a constructor 80 - 83
It is a good practice to call super() in a constructor 95 - 116
A method should have only one exit point, and that should be the last statement in the method 163
A method should have only one exit point, and that should be the last statement in the method 205
A method should have only one exit point, and that should be the last statement in the method 226
A method should have only one exit point, and that should be the last statement in the method 331
A method should have only one exit point, and that should be the last statement in the method 412
A method should have only one exit point, and that should be the last statement in the method 432
Avoid assignments in operands 518
Found 'DU'-anomaly for variable 'bytesRead' (lines '518'-'526'). 518 - 526

dk/sosi/seal/model/IdentityTokenBuilder.java

Violation Line
It is a good practice to call super() in a constructor 115 - 120
Unnecessary final modifier in final class 140 - 151
Unnecessary final modifier in final class 362 - 369
Unnecessary final modifier in final class 372 - 374
Unnecessary final modifier in final class 393 - 395
Unnecessary final modifier in final class 401 - 403

dk/sosi/seal/model/IdentityTokenRequest.java

Violation Line
It is a good practice to call super() in a constructor 42 - 47

dk/sosi/seal/model/IdentityTokenResponse.java

Violation Line
It is a good practice to call super() in a constructor 57 - 59
A method should have only one exit point, and that should be the last statement in the method 95
A method should have only one exit point, and that should be the last statement in the method 122
A method should have only one exit point, and that should be the last statement in the method 152
A method should have only one exit point, and that should be the last statement in the method 180
A method should have only one exit point, and that should be the last statement in the method 203
A method should have only one exit point, and that should be the last statement in the method 226
A method should have only one exit point, and that should be the last statement in the method 249
A method should have only one exit point, and that should be the last statement in the method 278
A method should have only one exit point, and that should be the last statement in the method 337

dk/sosi/seal/model/LibertyRequest.java

Violation Line
It is a good practice to call super() in a constructor 52 - 63

dk/sosi/seal/model/LibertyRequestDOMEnhancer.java

Violation Line
Found 'DD'-anomaly for variable 'toWsuId' (lines '135'-'138'). 135 - 138
A method should have only one exit point, and that should be the last statement in the method 292

dk/sosi/seal/model/Message.java

Violation Line
Found 'DD'-anomaly for variable 'credentialVault' (lines '198'-'200'). 198 - 200

dk/sosi/seal/model/SecurityTokenResponse.java

Violation Line
Found 'DU'-anomaly for variable 'reply' (lines '118'-'128'). 118 - 128

dk/sosi/seal/model/SignatureConfiguration.java

Violation Line
Found 'DD'-anomaly for variable 'references' (lines '57'-'59'). 57 - 59
Found 'DD'-anomaly for variable 'references' (lines '59'-'59'). 59

dk/sosi/seal/model/SignatureUtil.java

Violation Line
Assigning an Object to null is a code smell. Consider refactoring. 270
Found 'DD'-anomaly for variable 'certValue' (lines '275'-'277'). 275 - 277
Found 'DU'-anomaly for variable 'certAsBytes' (lines '299'-'307'). 299 - 307
Found 'DU'-anomaly for variable 'doc' (lines '357'-'392'). 357 - 392
Found 'DU'-anomaly for variable 'encodedCert' (lines '386'-'392'). 386 - 392
Found 'DD'-anomaly for variable 'cryptoProvider' (lines '421'-'423'). 421 - 423
Found 'DU'-anomaly for variable 'xmlSignature' (lines '503'-'534'). 503 - 534
Found 'DU'-anomaly for variable 'transforms' (lines '538'-'558'). 538 - 558
Found 'DU'-anomaly for variable 'textElement' (lines '592'-'610'). 592 - 610
Found 'DD'-anomaly for variable 'textElement' (lines '592'-'592'). 592
Found 'DU'-anomaly for variable 'baseUri' (lines '624'-'668'). 624 - 668
Found 'DU'-anomaly for variable 'xmlSignature' (lines '633'-'668'). 633 - 668
A method should have only one exit point, and that should be the last statement in the method 675

dk/sosi/seal/model/UserIDCard.java

Violation Line
A method should have only one exit point, and that should be the last statement in the method 198

dk/sosi/seal/model/constants/Attribute.java

Violation Line
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 38

dk/sosi/seal/model/constants/DGWSConstants.java

Violation Line
Avoid modifiers which are implied by the context 44
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 47

dk/sosi/seal/model/constants/SAMLAttributes.java

Violation Line
Each class should declare at least one constructor 38 - 49

dk/sosi/seal/model/constants/Tag.java

Violation Line
Avoid modifiers which are implied by the context 34
Avoid modifiers which are implied by the context 36
Avoid modifiers which are implied by the context 38

dk/sosi/seal/model/constants/XSIAttributes.java

Violation Line
Each class should declare at least one constructor 32 - 36

dk/sosi/seal/model/dombuilders/AbstractDOMBuilder.java

Violation Line
Assigning an Object to null is a code smell. Consider refactoring. 174
These nested if statements could be combined 246 - 248

dk/sosi/seal/model/dombuilders/IDCardDOMBuilder.java

Violation Line
Found 'DD'-anomaly for variable 'sealMsgVersion' (lines '82'-'84'). 82 - 84
Found 'DD'-anomaly for variable 'sealMsgVersion' (lines '215'-'217'). 215 - 217

dk/sosi/seal/model/dombuilders/IdentityTokenResponseDOMBuilder.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 62 - 64
It is a good practice to call super() in a constructor 62 - 64
Unnecessary final modifier in final class 213 - 219

dk/sosi/seal/model/dombuilders/SAMLReplyDOMBuilder.java

Violation Line
Found 'DU'-anomaly for variable 'wssSecurity' (lines '75'-'119'). 75 - 119

dk/sosi/seal/model/dombuilders/SAMLRequestDOMBuilder.java

Violation Line
Found 'DU'-anomaly for variable 'wssSecurity' (lines '79'-'101'). 79 - 101

dk/sosi/seal/model/dombuilders/SOAPMessageDOMBuilder.java

Violation Line
Found 'DD'-anomaly for variable 'sealMsgVersion' (lines '107'-'109'). 107 - 109

dk/sosi/seal/modelbuilders/IDCardModelBuilder.java

Violation Line
Found 'DD'-anomaly for variable 'idCardElement' (lines '57'-'64'). 57 - 64
Found 'DD'-anomaly for variable 'result' (lines '58'-'67'). 58 - 67
Found 'DD'-anomaly for variable 'idCardElement' (lines '64'-'64'). 64
Found 'DU'-anomaly for variable 'version' (lines '85'-'242'). 85 - 242
Found 'DU'-anomaly for variable 'id' (lines '85'-'242'). 85 - 242
Found 'DU'-anomaly for variable 'itSystemName' (lines '85'-'242'). 85 - 242
Found 'DU'-anomaly for variable 'ocesCertHash' (lines '85'-'242'). 85 - 242
Found 'DU'-anomaly for variable 'surName' (lines '86'-'242'). 86 - 242
Found 'DU'-anomaly for variable 'givenName' (lines '86'-'242'). 86 - 242
Found 'DU'-anomaly for variable 'occupation' (lines '86'-'242'). 86 - 242
Found 'DU'-anomaly for variable 'cpr' (lines '86'-'242'). 86 - 242
Found 'DU'-anomaly for variable 'userRole' (lines '86'-'242'). 86 - 242
Found 'DU'-anomaly for variable 'email' (lines '86'-'242'). 86 - 242
Found 'DU'-anomaly for variable 'authorizationCode' (lines '87'-'242'). 87 - 242
Found 'DU'-anomaly for variable 'careProviderIDType' (lines '87'-'242'). 87 - 242
Found 'DU'-anomaly for variable 'careProviderID' (lines '87'-'242'). 87 - 242
Found 'DU'-anomaly for variable 'careProviderName' (lines '88'-'242'). 88 - 242
Found 'DU'-anomaly for variable 'authLevel' (lines '88'-'242'). 88 - 242
Found 'DU'-anomaly for variable 'hasUserLog' (lines '89'-'242'). 89 - 242
Found 'DU'-anomaly for variable 'hasSystemLog' (lines '89'-'242'). 89 - 242
Found 'DU'-anomaly for variable 'hasIDCardData' (lines '89'-'242'). 89 - 242
Found 'DU'-anomaly for variable 'alternativeIdentifier' (lines '91'-'242'). 91 - 242
Found 'DU'-anomaly for variable 'username' (lines '92'-'242'). 92 - 242
Found 'DU'-anomaly for variable 'password' (lines '93'-'242'). 93 - 242
Found 'DU'-anomaly for variable 'expiryDate' (lines '101'-'242'). 101 - 242
Found 'DU'-anomaly for variable 'createdDate' (lines '102'-'242'). 102 - 242

dk/sosi/seal/modelbuilders/IdentityTokenRequestModelBuilder.java

Violation Line
Found 'DU'-anomaly for variable 'messageID' (lines '87'-'115'). 87 - 115
Found 'DU'-anomaly for variable 'context' (lines '91'-'115'). 91 - 115
Found 'DU'-anomaly for variable 'address' (lines '93'-'115'). 93 - 115
Found 'DU'-anomaly for variable 'idCard' (lines '108'-'115'). 108 - 115

dk/sosi/seal/modelbuilders/IdentityTokenResponseModelBuilder.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 56 - 58

dk/sosi/seal/modelbuilders/MessageModelBuilder.java

Violation Line
Found 'DU'-anomaly for variable 'created' (lines '84'-'145'). 84 - 145

dk/sosi/seal/modelbuilders/ReplyModelBuilder.java

Violation Line
Found 'DU'-anomaly for variable 'dgwsVersion' (lines '68'-'128'). 68 - 128
Found 'DD'-anomaly for variable 'inResponseToMessageID' (lines '76'-'81'). 76 - 81
Found 'DU'-anomaly for variable 'inResponseToMessageID' (lines '76'-'128'). 76 - 128
Found 'DD'-anomaly for variable 'flowID' (lines '77'-'85'). 77 - 85
Found 'DU'-anomaly for variable 'flowID' (lines '77'-'128'). 77 - 128
Found 'DU'-anomaly for variable 'inResponseToMessageID' (lines '81'-'128'). 81 - 128
Found 'DU'-anomaly for variable 'flowID' (lines '85'-'128'). 85 - 128
Found 'DU'-anomaly for variable 'elmMedcomFaultCode' (lines '103'-'128'). 103 - 128
Found 'DU'-anomaly for variable 'elmFaultString' (lines '104'-'128'). 104 - 128

dk/sosi/seal/modelbuilders/RequestModelBuilder.java

Violation Line
Found 'DD'-anomaly for variable 'noRep' (lines '66'-'70'). 66 - 70
Use bitwise inversion to invert boolean values 70

dk/sosi/seal/modelbuilders/SecurityTokenResponseModelBuilder.java

Violation Line
Found 'DU'-anomaly for variable 'created' (lines '79'-'124'). 79 - 124

dk/sosi/seal/pki/AbstractOCESCertificationAuthority.java

Violation Line
A method should have only one exit point, and that should be the last statement in the method 98
A method should have only one exit point, and that should be the last statement in the method 100
Found 'DD'-anomaly for variable 'isIssuedByRoot' (lines '111'-'113'). 111 - 113

dk/sosi/seal/pki/AuditEventHandler.java

Violation Line
Avoid modifiers which are implied by the context 42
Avoid modifiers which are implied by the context 43
Avoid modifiers which are implied by the context 44
Avoid modifiers which are implied by the context 45
Avoid modifiers which are implied by the context 46

dk/sosi/seal/pki/CRLCache.java

Violation Line
Avoid modifiers which are implied by the context 49 - 89

dk/sosi/seal/pki/CRLCertificateStatusChecker.java

Violation Line
A method should have only one exit point, and that should be the last statement in the method 164
A method should have only one exit point, and that should be the last statement in the method 204
A method should have only one exit point, and that should be the last statement in the method 210
Avoid using final local variables, turn them into fields 225
A method should have only one exit point, and that should be the last statement in the method 244
A method should have only one exit point, and that should be the last statement in the method 247
A method should have only one exit point, and that should be the last statement in the method 256
A method should have only one exit point, and that should be the last statement in the method 263
A method should have only one exit point, and that should be the last statement in the method 326
A method should have only one exit point, and that should be the last statement in the method 347
Avoid using final local variables, turn them into fields 350
Avoid using final local variables, turn them into fields 351
Found 'DU'-anomaly for variable 'seq' (lines '354'-'375'). 354 - 375
A method should have only one exit point, and that should be the last statement in the method 356
A method should have only one exit point, and that should be the last statement in the method 367
Use explicit scoping instead of the default package private level 378 - 395
A method should have only one exit point, and that should be the last statement in the method 388
A method should have only one exit point, and that should be the last statement in the method 390
Found 'DD'-anomaly for variable 'x509CRL' (lines '409'-'422'). 409 - 422
Found 'DD'-anomaly for variable 'x509CRL' (lines '409'-'426'). 409 - 426
Found 'DU'-anomaly for variable 'lastModified' (lines '421'-'437'). 421 - 437
Found 'DU'-anomaly for variable 'lastModified' (lines '425'-'437'). 425 - 437
A method should have only one exit point, and that should be the last statement in the method 429
A method should have only one exit point, and that should be the last statement in the method 434
Avoid empty catch blocks 457 - 459
A method should have only one exit point, and that should be the last statement in the method 469
A method should have only one exit point, and that should be the last statement in the method 485

dk/sosi/seal/pki/CertificateCache.java

Violation Line
Avoid modifiers which are implied by the context 54
Avoid modifiers which are implied by the context 63

dk/sosi/seal/pki/CertificateStatusChecker.java

Violation Line
Avoid modifiers which are implied by the context 54

dk/sosi/seal/pki/CertificationAuthorityFactory.java

Violation Line
A method should have only one exit point, and that should be the last statement in the method 71
Found 'DU'-anomaly for variable 'intermediateCertificateStoreAdapter' (lines '89'-'102'). 89 - 102
A method should have only one exit point, and that should be the last statement in the method 94

dk/sosi/seal/pki/DistinguishedName.java

Violation Line
Found 'DU'-anomaly for variable 'value' (lines '189'-'195'). 189 - 195

dk/sosi/seal/pki/FederationCertificateResolver.java

Violation Line
Avoid modifiers which are implied by the context 34

dk/sosi/seal/pki/InMemoryCRLCache.java

Violation Line
A method should have only one exit point, and that should be the last statement in the method 66

dk/sosi/seal/pki/InMemoryIntermediateCertificateCache.java

Violation Line
Each class should declare at least one constructor 45 - 46

dk/sosi/seal/pki/IntermediateCertificateCache.java

Violation Line
Avoid modifiers which are implied by the context 52

dk/sosi/seal/pki/OCESCertificateResolver.java

Violation Line
A method should have only one exit point, and that should be the last statement in the method 51
A method should have only one exit point, and that should be the last statement in the method 53
A method should have only one exit point, and that should be the last statement in the method 60
A method should have only one exit point, and that should be the last statement in the method 62
A method should have only one exit point, and that should be the last statement in the method 64

dk/sosi/seal/pki/OCESCertificationAuthority.java

Violation Line
Use explicit scoping instead of the default package private level 115
Use explicit scoping instead of the default package private level 117

dk/sosi/seal/pki/OCESTestCertificationAuthority.java

Violation Line
Use explicit scoping instead of the default package private level 148
Use explicit scoping instead of the default package private level 150
Use explicit scoping instead of the default package private level 152

dk/sosi/seal/pki/OCESUtil.java

Violation Line
Use explicit scoping instead of the default package private level 50 - 78
Use explicit scoping instead of the default package private level 80 - 82
Use explicit scoping instead of the default package private level 84 - 86
Use explicit scoping instead of the default package private level 88 - 90
Use explicit scoping instead of the default package private level 92 - 107

dk/sosi/seal/pki/SignatureProvider.java

Violation Line
Avoid modifiers which are implied by the context 40 - 57

dk/sosi/seal/pki/impl/PropertiesSOSIConfiguration.java

Violation Line
A method should have only one exit point, and that should be the last statement in the method 114

dk/sosi/seal/pki/internal/remote/RemoteCertificateLoader.java

Violation Line
Avoid modifiers which are implied by the context 49

dk/sosi/seal/pki/internal/store/CertificateStore.java

Violation Line
Avoid modifiers which are implied by the context 51

dk/sosi/seal/pki/internal/store/RemoteCertificateStore.java

Violation Line
Unnecessary final modifier in final class 52 - 55

dk/sosi/seal/security/BCCertificateRequestHandler.java

Violation Line
Found 'DD'-anomaly for variable 'bcAdded' (lines '49'-'52'). 49 - 52
Found 'DU'-anomaly for variable 'bcAdded' (lines '49'-'74'). 49 - 74
Found 'DU'-anomaly for variable 'bcAdded' (lines '52'-'74'). 52 - 74

dk/sosi/seal/ssl/SOSITrustManager.java

Violation Line
Found 'DU'-anomaly for variable 'issuerFirst' (lines '114'-'136'). 114 - 136
Avoid empty catch blocks 148 - 150
Found 'DU'-anomaly for variable 'isCACert' (lines '170'-'191'). 170 - 191

dk/sosi/seal/tool/Seal.java

Violation Line
Found 'DD'-anomaly for variable 'value' (lines '132'-'134'). 132 - 134
Found 'DD'-anomaly for variable 'value' (lines '132'-'137'). 132 - 137
Found 'DD'-anomaly for variable 'message' (lines '358'-'360'). 358 - 360
Found 'DU'-anomaly for variable 'message' (lines '358'-'362'). 358 - 362

dk/sosi/seal/tool/SealCommands.java

Violation Line
Found 'DU'-anomaly for variable 'aliases' (lines '315'-'342'). 315 - 342
Found 'DU'-anomaly for variable 'keyStore' (lines '353'-'384'). 353 - 384
Found 'DU'-anomaly for variable 'keyStore' (lines '390'-'408'). 390 - 408
Found 'DU'-anomaly for variable 'jarInputStream' (lines '415'-'421'). 415 - 421
Found 'DU'-anomaly for variable 'jarOutputStream' (lines '427'-'433'). 427 - 433

dk/sosi/seal/transform/internal/STRTransform.java

Violation Line
This statement may have some unnecessary parentheses 115
Found 'DD'-anomaly for variable 'canonAlgo' (lines '127'-'141'). 127 - 141
Found 'DU'-anomaly for variable 'canon' (lines '146'-'240'). 146 - 240
Found 'DD'-anomaly for variable 'bos' (lines '148'-'152'). 148 - 152
Found 'DD'-anomaly for variable 'bos' (lines '148'-'190'). 148 - 190
Found 'DU'-anomaly for variable 'bos' (lines '148'-'240'). 148 - 240
Found 'DD'-anomaly for variable 'buf' (lines '149'-'151'). 149 - 151
Found 'DD'-anomaly for variable 'buf' (lines '149'-'188'). 149 - 188
Found 'DU'-anomaly for variable 'buf' (lines '149'-'240'). 149 - 240
Found 'DD'-anomaly for variable 'str' (lines '163'-'165'). 163 - 165
Found 'DU'-anomaly for variable 'str' (lines '163'-'240'). 163 - 240
This statement may have some unnecessary parentheses 238

dk/sosi/seal/transform/internal/STRTransformUtil.java

Violation Line
Found 'DD'-anomaly for variable 'tokElement' (lines '75'-'86'). 75 - 86
Found 'DU'-anomaly for variable 'tokElement' (lines '75'-'131'). 75 - 131
Found 'DD'-anomaly for variable 'tokElement' (lines '75'-'103'). 75 - 103
Found 'DD'-anomaly for variable 'tokElement' (lines '75'-'119'). 75 - 119
Found 'DD'-anomaly for variable 'tokElement' (lines '75'-'127'). 75 - 127
Found 'DU'-anomaly for variable 'cert' (lines '96'-'131'). 96 - 131
Found 'DD'-anomaly for variable 'cert' (lines '96'-'102'). 96 - 102
Found 'DU'-anomaly for variable 'data' (lines '137'-'151'). 137 - 151

dk/sosi/seal/transform/internal/SecurityTokenReference.java

Violation Line
Found 'DU'-anomaly for variable 'type' (lines '189'-'209'). 189 - 209
Found 'DD'-anomaly for variable 'tokElement' (lines '219'-'241'). 219 - 241
Found 'DU'-anomaly for variable 'doc' (lines '302'-'314'). 302 - 314
Found 'DD'-anomaly for variable 'data' (lines '303'-'305'). 303 - 305
Found 'DU'-anomaly for variable 'data' (lines '305'-'314'). 305 - 314
Found 'DU'-anomaly for variable 'doc' (lines '356'-'377'). 356 - 377
Found 'DD'-anomaly for variable 'sha' (lines '357'-'359'). 357 - 359
Found 'DU'-anomaly for variable 'sha' (lines '359'-'377'). 359 - 377
A method should have only one exit point, and that should be the last statement in the method 423
Found 'DU'-anomaly for variable 'alias' (lines '438'-'465'). 438 - 465
Found 'DD'-anomaly for variable 'alias' (lines '438'-'449'). 438 - 449
Found 'DD'-anomaly for variable 'alias' (lines '438'-'457'). 438 - 457
Found 'DD'-anomaly for variable 'certs' (lines '444'-'445'). 444 - 445
A method should have only one exit point, and that should be the last statement in the method 446
A method should have only one exit point, and that should be the last statement in the method 453
A method should have only one exit point, and that should be the last statement in the method 462
A method should have only one exit point, and that should be the last statement in the method 471
A method should have only one exit point, and that should be the last statement in the method 474
A method should have only one exit point, and that should be the last statement in the method 483
A method should have only one exit point, and that should be the last statement in the method 493
A method should have only one exit point, and that should be the last statement in the method 505
A method should have only one exit point, and that should be the last statement in the method 509
A method should have only one exit point, and that should be the last statement in the method 515
A method should have only one exit point, and that should be the last statement in the method 548
A method should have only one exit point, and that should be the last statement in the method 563
A method should have only one exit point, and that should be the last statement in the method 577
A method should have only one exit point, and that should be the last statement in the method 581
Found 'DD'-anomaly for variable 'result' (lines '691'-'701'). 691 - 701
Found 'DD'-anomaly for variable 'result' (lines '701'-'701'). 701

dk/sosi/seal/vault/CredentialVault.java

Violation Line
Avoid modifiers which are implied by the context 45

dk/sosi/seal/vault/GenericCredentialVault.java

Violation Line
Found 'DU'-anomaly for variable 'credentialPair' (lines '298'-'341'). 298 - 341
Found 'DU'-anomaly for variable 'fileInputStream' (lines '359'-'364'). 359 - 364
Found 'DU'-anomaly for variable 'cert' (lines '381'-'388'). 381 - 388

dk/sosi/seal/vault/renewal/model/dombuilders/MessageDOMBuilder.java

Violation Line
Avoid empty if statements 86 - 88
Found 'DU'-anomaly for variable 'argumentElement' (lines '111'-'128'). 111 - 128

dk/sosi/seal/vault/renewal/modelbuilders/MessageModelBuilder.java

Violation Line
Found 'DU'-anomaly for variable 'type' (lines '90'-'104'). 90 - 104
Found 'DU'-anomaly for variable 'value' (lines '92'-'104'). 92 - 104

dk/sosi/seal/vault/renewal/modelbuilders/RequestModelBuilder.java

Violation Line
Found 'DD'-anomaly for variable 'constructorArgs' (lines '74'-'77'). 74 - 77
Found 'DD'-anomaly for variable 'constructorArgTypes' (lines '75'-'78'). 75 - 78
Found 'DD'-anomaly for variable 'constructorArgTypes' (lines '78'-'78'). 78
Found 'DD'-anomaly for variable 'requestType' (lines '110'-'111'). 110 - 111

dk/sosi/seal/vault/renewal/modelbuilders/ResponseModelBuilder.java

Violation Line
Found 'DD'-anomaly for variable 'responseType' (lines '117'-'119'). 117 - 119

dk/sosi/seal/xml/Base64.java

Violation Line
A method should have only one exit point, and that should be the last statement in the method 122
Found 'DD'-anomaly for variable 'encodedData' (lines '129'-'131'). 129 - 131
Found 'DD'-anomaly for variable 'encodedData' (lines '131'-'154'). 131 - 154
Found 'DD'-anomaly for variable 'encodedData' (lines '131'-'166'). 131 - 166
Found 'DD'-anomaly for variable 'encodedData' (lines '131'-'181'). 131 - 181
Found 'DD'-anomaly for variable 'b1' (lines '133'-'139'). 133 - 139
Found 'DD'-anomaly for variable 'b2' (lines '133'-'140'). 133 - 140
Found 'DD'-anomaly for variable 'b3' (lines '133'-'141'). 133 - 141
Found 'DD'-anomaly for variable 'l' (lines '133'-'143'). 133 - 143
Found 'DD'-anomaly for variable 'k' (lines '133'-'144'). 133 - 144
Found 'DD'-anomaly for variable 'b1' (lines '133'-'162'). 133 - 162
Found 'DD'-anomaly for variable 'k' (lines '133'-'163'). 133 - 163
Found 'DU'-anomaly for variable 'b3' (lines '133'-'188'). 133 - 188
Found 'DU'-anomaly for variable 'b2' (lines '133'-'188'). 133 - 188
Found 'DU'-anomaly for variable 'l' (lines '133'-'188'). 133 - 188
Found 'DD'-anomaly for variable 'b1' (lines '133'-'171'). 133 - 171
Found 'DD'-anomaly for variable 'b2' (lines '133'-'172'). 133 - 172
Found 'DD'-anomaly for variable 'l' (lines '133'-'173'). 133 - 173
Found 'DD'-anomaly for variable 'k' (lines '133'-'174'). 133 - 174
Found 'DU'-anomaly for variable 'b1' (lines '133'-'188'). 133 - 188
Found 'DU'-anomaly for variable 'k' (lines '133'-'188'). 133 - 188
Found 'DU'-anomaly for variable 'encodedIndex' (lines '135'-'188'). 135 - 188
Found 'DU'-anomaly for variable 'dataIndex' (lines '136'-'188'). 136 - 188
Found 'DD'-anomaly for variable 'encodedData' (lines '154'-'155'). 154 - 155
Found 'DD'-anomaly for variable 'encodedData' (lines '155'-'156'). 155 - 156
Found 'DD'-anomaly for variable 'encodedData' (lines '156'-'157'). 156 - 157
Found 'DD'-anomaly for variable 'encodedData' (lines '157'-'154'). 157 - 154
Found 'DD'-anomaly for variable 'encodedData' (lines '157'-'166'). 157 - 166
Found 'DD'-anomaly for variable 'encodedData' (lines '157'-'181'). 157 - 181
Found 'DD'-anomaly for variable 'encodedData' (lines '166'-'167'). 166 - 167
Found 'DD'-anomaly for variable 'encodedData' (lines '167'-'168'). 167 - 168
Found 'DD'-anomaly for variable 'encodedData' (lines '168'-'169'). 168 - 169
Found 'DD'-anomaly for variable 'encodedData' (lines '181'-'182'). 181 - 182
Found 'DD'-anomaly for variable 'encodedData' (lines '182'-'183'). 182 - 183
Found 'DD'-anomaly for variable 'encodedData' (lines '183'-'184'). 183 - 184
A method should have only one exit point, and that should be the last statement in the method 200
A method should have only one exit point, and that should be the last statement in the method 207
A method should have only one exit point, and that should be the last statement in the method 213
Found 'DD'-anomaly for variable 'decodedData' (lines '215'-'222'). 215 - 222
Found 'DU'-anomaly for variable 'b3' (lines '216'-'284'). 216 - 284
Found 'DU'-anomaly for variable 'b2' (lines '216'-'284'). 216 - 284
Found 'DU'-anomaly for variable 'b4' (lines '216'-'284'). 216 - 284
Found 'DU'-anomaly for variable 'b1' (lines '216'-'284'). 216 - 284
Found 'DD'-anomaly for variable 'b1' (lines '216'-'232'). 216 - 232
Found 'DD'-anomaly for variable 'b2' (lines '216'-'233'). 216 - 233
Found 'DD'-anomaly for variable 'b3' (lines '216'-'234'). 216 - 234
Found 'DD'-anomaly for variable 'b4' (lines '216'-'235'). 216 - 235
Found 'DD'-anomaly for variable 'b1' (lines '216'-'247'). 216 - 247
Found 'DD'-anomaly for variable 'b2' (lines '216'-'248'). 216 - 248
Found 'DD'-anomaly for variable 'b3' (lines '216'-'262'). 216 - 262
Found 'DD'-anomaly for variable 'b3' (lines '216'-'277'). 216 - 277
Found 'DD'-anomaly for variable 'b4' (lines '216'-'278'). 216 - 278
Found 'DD'-anomaly for variable 'd4' (lines '217'-'226'). 217 - 226
Found 'DD'-anomaly for variable 'd1' (lines '217'-'226'). 217 - 226
Found 'DD'-anomaly for variable 'd2' (lines '217'-'226'). 217 - 226
Found 'DD'-anomaly for variable 'd3' (lines '217'-'226'). 217 - 226
Found 'DD'-anomaly for variable 'd1' (lines '217'-'242'). 217 - 242
Found 'DD'-anomaly for variable 'd2' (lines '217'-'242'). 217 - 242
Found 'DU'-anomaly for variable 'd4' (lines '217'-'284'). 217 - 284
Found 'DU'-anomaly for variable 'd3' (lines '217'-'284'). 217 - 284
Found 'DD'-anomaly for variable 'd3' (lines '217'-'250'). 217 - 250
Found 'DD'-anomaly for variable 'd4' (lines '217'-'251'). 217 - 251
Found 'DU'-anomaly for variable 'encodedIndex' (lines '220'-'284'). 220 - 284
Found 'DU'-anomaly for variable 'decodedData' (lines '222'-'284'). 222 - 284
Found 'DD'-anomaly for variable 'decodedData' (lines '222'-'237'). 222 - 237
Found 'DD'-anomaly for variable 'decodedData' (lines '222'-'279'). 222 - 279
Avoid assignments in operands 226 - 229
Found 'DU'-anomaly for variable 'd4' (lines '226'-'284'). 226 - 284
Found 'DU'-anomaly for variable 'd1' (lines '226'-'284'). 226 - 284
Found 'DU'-anomaly for variable 'd2' (lines '226'-'284'). 226 - 284
Found 'DU'-anomaly for variable 'd3' (lines '226'-'284'). 226 - 284
A method should have only one exit point, and that should be the last statement in the method 230
Found 'DD'-anomaly for variable 'decodedData' (lines '237'-'238'). 237 - 238
Found 'DD'-anomaly for variable 'decodedData' (lines '238'-'239'). 238 - 239
Found 'DU'-anomaly for variable 'decodedData' (lines '239'-'284'). 239 - 284
Found 'DD'-anomaly for variable 'decodedData' (lines '239'-'237'). 239 - 237
Found 'DD'-anomaly for variable 'decodedData' (lines '239'-'279'). 239 - 279
Avoid assignments in operands 242 - 243
Found 'DU'-anomaly for variable 'd1' (lines '242'-'284'). 242 - 284
Found 'DU'-anomaly for variable 'd2' (lines '242'-'284'). 242 - 284
A method should have only one exit point, and that should be the last statement in the method 244
Found 'DU'-anomaly for variable 'b1' (lines '247'-'284'). 247 - 284
Found 'DU'-anomaly for variable 'b2' (lines '248'-'284'). 248 - 284
This statement may have some unnecessary parentheses 252
This statement may have some unnecessary parentheses 252
A method should have only one exit point, and that should be the last statement in the method 256
A method should have only one exit point, and that should be the last statement in the method 260
A method should have only one exit point, and that should be the last statement in the method 264
Found 'DD'-anomaly for variable 'tmp' (lines '267'-'268'). 267 - 268
A method should have only one exit point, and that should be the last statement in the method 269
A method should have only one exit point, and that should be the last statement in the method 271
Found 'DD'-anomaly for variable 'decodedData' (lines '279'-'280'). 279 - 280
Found 'DD'-anomaly for variable 'decodedData' (lines '280'-'281'). 280 - 281

dk/sosi/seal/xml/ClasspathResourceResolver.java

Violation Line
Avoid assignments in operands 106
Found 'DU'-anomaly for variable 'n' (lines '106'-'110'). 106 - 110

dk/sosi/seal/xml/XmlUtil.java

Violation Line
Use explicit scoping instead of the default package private level 101
A method should have only one exit point, and that should be the last statement in the method 131
Found 'UR'-anomaly for variable 'docBuilderFactory' (lines '145'-'145'). 145
Found 'DD'-anomaly for variable 'documentBuilder' (lines '147'-'170'). 147 - 170
Found 'DD'-anomaly for variable 'docBuilderFactory' (lines '151'-'153'). 151 - 153
Found 'DD'-anomaly for variable 'docBuilderFactory' (lines '151'-'155'). 151 - 155
Found 'DD'-anomaly for variable 'defaultSchema' (lines '257'-'258'). 257 - 258
Found 'DD'-anomaly for variable 'doc' (lines '264'-'266'). 264 - 266
A method should have only one exit point, and that should be the last statement in the method 371
Found 'DD'-anomaly for variable 'str' (lines '440'-'442'). 440 - 442
Found 'DU'-anomaly for variable 'now' (lines '560'-'579'). 560 - 579
Found 'DD'-anomaly for variable 'nonce' (lines '561'-'565'). 561 - 565
Found 'DD'-anomaly for variable 'nonce' (lines '565'-'565'). 565
Found 'DD'-anomaly for variable 'nonce' (lines '573'-'574'). 573 - 574
Found 'DD'-anomaly for variable 'nonce' (lines '574'-'575'). 574 - 575
Found 'DD'-anomaly for variable 'nonce' (lines '575'-'576'). 575 - 576
Found 'DU'-anomaly for variable 'messageDigest' (lines '592'-'597'). 592 - 597
Found 'DU'-anomaly for variable 'result' (lines '698'-'732'). 698 - 732
Found 'DD'-anomaly for variable 'result' (lines '698'-'711'). 698 - 711
Found 'DD'-anomaly for variable 'result' (lines '698'-'725'). 698 - 725