PMD Results

The following document contains the results of PMD 3.9.

Files

org/apache/jsieve/Argument.java

Violation Line
Avoid modifiers which are implied by the context 33

org/apache/jsieve/Arguments.java

Violation Line
Found 'DD'-anomaly for variable 'testList' (lines '82'-'83'). 82 - 83
Avoid assignments in operands 83
Found 'DU'-anomaly for variable 'testList' (lines '83'-'88'). 83 - 88
A method should have only one exit point, and that should be the last statement in the method 85

org/apache/jsieve/BaseSieveContext.java

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

org/apache/jsieve/CommandManager.java

Violation Line
Found 'DD'-anomaly for variable 'instance' (lines '50'-'51'). 50 - 51
Avoid assignments in operands 51
Found 'DU'-anomaly for variable 'instance' (lines '51'-'56'). 51 - 56
A method should have only one exit point, and that should be the last statement in the method 53
Found 'UR'-anomaly for variable 'cmdClass' (lines '110'-'110'). 110
Found 'DD'-anomaly for variable 'cmdClass' (lines '111'-'113'). 111 - 113
Found 'DD'-anomaly for variable 'isSupported' (lines '154'-'157'). 154 - 157
Avoid empty catch blocks 158 - 159

org/apache/jsieve/CommandStateManager.java

Violation Line
Found 'DD'-anomaly for variable 'instance' (lines '94'-'95'). 94 - 95
Avoid assignments in operands 95
Found 'DU'-anomaly for variable 'instance' (lines '95'-'100'). 95 - 100
A method should have only one exit point, and that should be the last statement in the method 97

org/apache/jsieve/Commands.java

Violation Line
Found 'DU'-anomaly for variable 'mail' (lines '81'-'86'). 81 - 86

org/apache/jsieve/ComparatorManager.java

Violation Line
Found 'DD'-anomaly for variable 'current' (lines '51'-'52'). 51 - 52
Avoid assignments in operands 52
Found 'DU'-anomaly for variable 'current' (lines '52'-'57'). 52 - 57
A method should have only one exit point, and that should be the last statement in the method 54
Found 'UR'-anomaly for variable 'comparatorClass' (lines '111'-'111'). 111
Found 'DD'-anomaly for variable 'comparatorClass' (lines '112'-'114'). 112 - 114

org/apache/jsieve/ConditionManager.java

Violation Line
Found 'DD'-anomaly for variable 'instance' (lines '173'-'174'). 173 - 174
Avoid assignments in operands 174
Found 'DU'-anomaly for variable 'instance' (lines '174'-'179'). 174 - 179
A method should have only one exit point, and that should be the last statement in the method 176

org/apache/jsieve/ConfigurationManager.java

Violation Line
Found 'DD'-anomaly for variable 'instance' (lines '96'-'97'). 96 - 97
Avoid assignments in operands 97
Found 'DU'-anomaly for variable 'instance' (lines '97'-'102'). 97 - 102
A method should have only one exit point, and that should be the last statement in the method 99
Found 'UR'-anomaly for variable 'configName' (lines '164'-'164'). 164
Found 'DD'-anomaly for variable 'stream' (lines '165'-'171'). 165 - 171
Found 'DU'-anomaly for variable 'configName' (lines '166'-'184'). 166 - 184
Found 'DD'-anomaly for variable 'commandMap' (lines '193'-'194'). 193 - 194
Avoid assignments in operands 194
Found 'DU'-anomaly for variable 'commandMap' (lines '194'-'199'). 194 - 199
A method should have only one exit point, and that should be the last statement in the method 196
Found 'DD'-anomaly for variable 'testMap' (lines '208'-'209'). 208 - 209
Avoid assignments in operands 209
Found 'DU'-anomaly for variable 'testMap' (lines '209'-'214'). 209 - 214
A method should have only one exit point, and that should be the last statement in the method 211
Found 'DD'-anomaly for variable 'comparatorMap' (lines '223'-'224'). 223 - 224
Avoid assignments in operands 224
Found 'DU'-anomaly for variable 'comparatorMap' (lines '224'-'229'). 224 - 229
A method should have only one exit point, and that should be the last statement in the method 226
Found 'DD'-anomaly for variable 'digester' (lines '327'-'328'). 327 - 328
Avoid assignments in operands 328
Found 'DU'-anomaly for variable 'digester' (lines '328'-'333'). 328 - 333
A method should have only one exit point, and that should be the last statement in the method 330

org/apache/jsieve/Executable.java

Violation Line
Avoid modifiers which are implied by the context 29
Found 'DU'-anomaly for variable 'mail' (lines '29'-'29'). 29

org/apache/jsieve/ExecutableCommand.java

Violation Line
Avoid modifiers which are implied by the context 44 - 45
Found 'DU'-anomaly for variable 'mail' (lines '44'-'45'). 44 - 45
Found 'DU'-anomaly for variable 'arguments' (lines '44'-'45'). 44 - 45
Found 'DU'-anomaly for variable 'context' (lines '44'-'45'). 44 - 45
Found 'DU'-anomaly for variable 'block' (lines '44'-'45'). 44 - 45

org/apache/jsieve/Logger.java

Violation Line
Found 'DD'-anomaly for variable 'log' (lines '47'-'48'). 47 - 48
Avoid assignments in operands 48
Found 'DU'-anomaly for variable 'log' (lines '48'-'53'). 48 - 53
A method should have only one exit point, and that should be the last statement in the method 50

org/apache/jsieve/NumberArgument.java

Violation Line
Found 'DD'-anomaly for variable 'endIndex' (lines '94'-'98'). 94 - 98
Found 'DD'-anomaly for variable 'endIndex' (lines '94'-'101'). 94 - 101
Found 'DD'-anomaly for variable 'endIndex' (lines '94'-'104'). 94 - 104
Found 'DD'-anomaly for variable 'magnitude' (lines '95'-'97'). 95 - 97
Found 'DD'-anomaly for variable 'magnitude' (lines '95'-'100'). 95 - 100
Found 'DD'-anomaly for variable 'magnitude' (lines '95'-'103'). 95 - 103

org/apache/jsieve/SieveContext.java

Violation Line
Each class should declare at least one constructor 26 - 42
Found 'DU'-anomaly for variable 'coordinate' (lines '41'-'41'). 41

org/apache/jsieve/SieveFactory.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 70 - 72
Avoid empty catch blocks 137 - 139
Found 'DD'-anomaly for variable 'instance' (lines '196'-'197'). 196 - 197
Avoid assignments in operands 197
Found 'DU'-anomaly for variable 'instance' (lines '197'-'202'). 197 - 202
A method should have only one exit point, and that should be the last statement in the method 199

org/apache/jsieve/SieveParserVisitorImpl.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 60 - 62
Found 'DU'-anomaly for variable 'children' (lines '85'-'97'). 85 - 97
Found 'DD'-anomaly for variable 'argument' (lines '86'-'89'). 86 - 89
Found 'DD'-anomaly for variable 'argument' (lines '86'-'91'). 86 - 91
Found 'DD'-anomaly for variable 'children' (lines '103'-'104'). 103 - 104
Found 'DD'-anomaly for variable 'testList' (lines '108'-'113'). 108 - 113
Found 'DD'-anomaly for variable 'testList' (lines '108'-'115'). 108 - 115
Found 'DD'-anomaly for variable 'testList' (lines '113'-'113'). 113
Found 'DD'-anomaly for variable 'testList' (lines '113'-'115'). 113 - 115
Found 'DD'-anomaly for variable 'testList' (lines '115'-'113'). 115 - 113
Found 'DD'-anomaly for variable 'testList' (lines '115'-'115'). 115
Found 'DD'-anomaly for variable 'children' (lines '143'-'144'). 143 - 144
Found 'DD'-anomaly for variable 'arguments' (lines '148'-'153'). 148 - 153
Found 'DD'-anomaly for variable 'block' (lines '149'-'155'). 149 - 155
Found 'DD'-anomaly for variable 'arguments' (lines '153'-'153'). 153
Found 'DD'-anomaly for variable 'block' (lines '155'-'155'). 155
Found 'DD'-anomaly for variable 'children' (lines '244'-'245'). 244 - 245
Found 'DD'-anomaly for variable 'arguments' (lines '249'-'253'). 249 - 253
Found 'DD'-anomaly for variable 'arguments' (lines '253'-'253'). 253

org/apache/jsieve/SieveValidationVisitor.java

Violation Line
Each class should declare at least one constructor 45 - 126
Perhaps 'requireAllowed' could be replaced by a local variable. 47

org/apache/jsieve/StringListArgument.java

Violation Line
Found 'DD'-anomaly for variable 'list' (lines '55'-'56'). 55 - 56
Avoid assignments in operands 56
Found 'DU'-anomaly for variable 'list' (lines '56'-'61'). 56 - 61
A method should have only one exit point, and that should be the last statement in the method 58

org/apache/jsieve/Test.java

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

org/apache/jsieve/TestList.java

Violation Line
Found 'DU'-anomaly for variable 'mail' (lines '76'-'85'). 76 - 85
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 84

org/apache/jsieve/TestManager.java

Violation Line
Found 'DD'-anomaly for variable 'current' (lines '51'-'52'). 51 - 52
Avoid assignments in operands 52
Found 'DU'-anomaly for variable 'current' (lines '52'-'57'). 52 - 57
A method should have only one exit point, and that should be the last statement in the method 54
Found 'UR'-anomaly for variable 'testClass' (lines '111'-'111'). 111
Found 'DD'-anomaly for variable 'testClass' (lines '112'-'115'). 112 - 115

org/apache/jsieve/commands/AbstractActionCommand.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 40 - 42
Found 'UR'-anomaly for variable 'args' (lines '81'-'81'). 81

org/apache/jsieve/commands/AbstractBodyCommand.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 34 - 36

org/apache/jsieve/commands/AbstractCommand.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 39 - 41
Found 'DU'-anomaly for variable 'context' (lines '53'-'54'). 53 - 54
Found 'DU'-anomaly for variable 'mail' (lines '135'-'137'). 135 - 137
Found 'DU'-anomaly for variable 'arguments' (lines '135'-'137'). 135 - 137
Found 'DU'-anomaly for variable 'context' (lines '135'-'137'). 135 - 137
Found 'DU'-anomaly for variable 'block' (lines '135'-'137'). 135 - 137

org/apache/jsieve/commands/AbstractConditionalCommand.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 38 - 40
Found 'DU'-anomaly for variable 'oldManager' (lines '54'-'65'). 54 - 65

org/apache/jsieve/commands/AbstractControlCommand.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 32 - 34

org/apache/jsieve/commands/AbstractPrologCommand.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 38 - 40

org/apache/jsieve/commands/Discard.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 37 - 39
Found 'DU'-anomaly for variable 'mail' (lines '52'-'56'). 52 - 56
Found 'DU'-anomaly for variable 'arguments' (lines '52'-'56'). 52 - 56
Found 'DU'-anomaly for variable 'context' (lines '52'-'56'). 52 - 56
Found 'DU'-anomaly for variable 'block' (lines '52'-'56'). 52 - 56

org/apache/jsieve/commands/Else.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 37 - 39
Found 'DU'-anomaly for variable 'mail' (lines '52'-'72'). 52 - 72
Found 'DU'-anomaly for variable 'arguments' (lines '52'-'72'). 52 - 72
Found 'DU'-anomaly for variable 'block' (lines '52'-'72'). 52 - 72
A method should have only one exit point, and that should be the last statement in the method 61

org/apache/jsieve/commands/Elsif.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 38 - 40
Found 'DU'-anomaly for variable 'mail' (lines '54'-'78'). 54 - 78
Found 'DU'-anomaly for variable 'arguments' (lines '54'-'78'). 54 - 78
Found 'DU'-anomaly for variable 'block' (lines '54'-'78'). 54 - 78
A method should have only one exit point, and that should be the last statement in the method 63

org/apache/jsieve/commands/If.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 37 - 39
Found 'DU'-anomaly for variable 'mail' (lines '53'-'77'). 53 - 77
Found 'DU'-anomaly for variable 'arguments' (lines '53'-'77'). 53 - 77
Found 'DU'-anomaly for variable 'block' (lines '53'-'77'). 53 - 77
A method should have only one exit point, and that should be the last statement in the method 62

org/apache/jsieve/commands/Keep.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 37 - 39
Found 'DU'-anomaly for variable 'arguments' (lines '52'-'56'). 52 - 56
Found 'DU'-anomaly for variable 'context' (lines '52'-'56'). 52 - 56
Found 'DU'-anomaly for variable 'block' (lines '52'-'56'). 52 - 56

org/apache/jsieve/commands/Redirect.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 39 - 41
Found 'DU'-anomaly for variable 'context' (lines '55'-'63'). 55 - 63
Found 'DU'-anomaly for variable 'block' (lines '55'-'63'). 55 - 63

org/apache/jsieve/commands/Require.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 45 - 47
Found 'DU'-anomaly for variable 'context' (lines '60'-'69'). 60 - 69
Found 'DU'-anomaly for variable 'block' (lines '60'-'69'). 60 - 69
Found 'DU'-anomaly for variable 'mail' (lines '60'-'69'). 60 - 69
Found 'DU'-anomaly for variable 'mail' (lines '79'-'96'). 79 - 96
Avoid empty catch blocks 85 - 87
Found 'UR'-anomaly for variable 'args' (lines '122'-'122'). 122

org/apache/jsieve/commands/Stop.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 37 - 39
Found 'DU'-anomaly for variable 'mail' (lines '52'-'55'). 52 - 55
Found 'DU'-anomaly for variable 'arguments' (lines '52'-'55'). 52 - 55
Found 'DU'-anomaly for variable 'context' (lines '52'-'55'). 52 - 55
Found 'DU'-anomaly for variable 'block' (lines '52'-'55'). 52 - 55

org/apache/jsieve/commands/extensions/Log.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 50 - 52
Found 'DU'-anomaly for variable 'mail' (lines '58'-'112'). 58 - 112
Found 'DU'-anomaly for variable 'block' (lines '58'-'112'). 58 - 112
Found 'DD'-anomaly for variable 'message' (lines '61'-'98'). 61 - 98
Found 'DU'-anomaly for variable 'message' (lines '121'-'138'). 121 - 138
Found 'DU'-anomaly for variable 'message' (lines '145'-'149'). 145 - 149
Found 'DU'-anomaly for variable 'message' (lines '156'-'160'). 156 - 160
Found 'DU'-anomaly for variable 'message' (lines '167'-'171'). 167 - 171
Found 'DU'-anomaly for variable 'message' (lines '178'-'182'). 178 - 182
Found 'DU'-anomaly for variable 'message' (lines '189'-'193'). 189 - 193
Found 'DU'-anomaly for variable 'message' (lines '200'-'204'). 200 - 204
Found 'DU'-anomaly for variable 'arguments' (lines '210'-'213'). 210 - 213
Found 'DU'-anomaly for variable 'context' (lines '210'-'213'). 210 - 213

org/apache/jsieve/commands/extensions/LogLevelTags.java

Violation Line
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 31
Avoid modifiers which are implied by the context 33
Avoid modifiers which are implied by the context 35
Avoid modifiers which are implied by the context 37

org/apache/jsieve/commands/optional/FileInto.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 43 - 45
Found 'DU'-anomaly for variable 'context' (lines '61'-'81'). 61 - 81
Found 'DU'-anomaly for variable 'block' (lines '61'-'81'). 61 - 81
Found 'DU'-anomaly for variable 'destination' (lines '63'-'81'). 63 - 81
Found 'DD'-anomaly for variable 'isDuplicate' (lines '69'-'72'). 69 - 72
Found 'DD'-anomaly for variable 'isDuplicate' (lines '72'-'72'). 72

org/apache/jsieve/commands/optional/Reject.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 51 - 53
Found 'DU'-anomaly for variable 'context' (lines '66'-'73'). 66 - 73
Found 'DU'-anomaly for variable 'block' (lines '66'-'73'). 66 - 73

org/apache/jsieve/comparators/AsciiCasemap.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 35 - 37

org/apache/jsieve/comparators/AsciiNumeric.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 33 - 35

org/apache/jsieve/comparators/ComparatorNames.java

Violation Line
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 29

org/apache/jsieve/comparators/ComparatorUtils.java

Violation Line
Found 'DU'-anomaly for variable 'matchTarget' (lines '54'-'64'). 54 - 64
Found 'DU'-anomaly for variable 'comparatorName' (lines '54'-'64'). 54 - 64
Found 'DU'-anomaly for variable 'matchArgument' (lines '54'-'64'). 54 - 64
Found 'DD'-anomaly for variable 'isMatched' (lines '56'-'58'). 56 - 58
Found 'DD'-anomaly for variable 'isMatched' (lines '56'-'60'). 56 - 60
Found 'DD'-anomaly for variable 'isMatched' (lines '56'-'62'). 56 - 62

org/apache/jsieve/comparators/Contains.java

Violation Line
Avoid modifiers which are implied by the context 36
Found 'DU'-anomaly for variable 'content' (lines '36'-'36'). 36
Found 'DU'-anomaly for variable 'container' (lines '36'-'36'). 36

org/apache/jsieve/comparators/Equals.java

Violation Line
Avoid modifiers which are implied by the context 35
Found 'DU'-anomaly for variable 'string2' (lines '35'-'35'). 35
Found 'DU'-anomaly for variable 'string1' (lines '35'-'35'). 35

org/apache/jsieve/comparators/MatchTypeTags.java

Violation Line
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 31

org/apache/jsieve/comparators/Matches.java

Violation Line
Avoid modifiers which are implied by the context 37
Found 'DU'-anomaly for variable 'string' (lines '37'-'37'). 37
Found 'DU'-anomaly for variable 'glob' (lines '37'-'37'). 37

org/apache/jsieve/comparators/Octet.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 35 - 37

org/apache/jsieve/mail/ActionKeep.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 31 - 33

org/apache/jsieve/mail/MailAdapter.java

Violation Line
Avoid modifiers which are implied by the context 51
Avoid modifiers which are implied by the context 60
Avoid modifiers which are implied by the context 72
Found 'DU'-anomaly for variable 'name' (lines '72'-'72'). 72
Avoid modifiers which are implied by the context 93
Found 'DU'-anomaly for variable 'name' (lines '93'-'93'). 93
Avoid modifiers which are implied by the context 103
Avoid modifiers which are implied by the context 111
Found 'DU'-anomaly for variable 'action' (lines '111'-'111'). 111
Avoid modifiers which are implied by the context 116
Avoid modifiers which are implied by the context 133
Avoid modifiers which are implied by the context 141
Avoid modifiers which are implied by the context 166 - 167
Found 'DU'-anomaly for variable 'headerName' (lines '166'-'167'). 166 - 167
Avoid modifiers which are implied by the context 172 - 189
Avoid modifiers which are implied by the context 180
Avoid modifiers which are implied by the context 188

org/apache/jsieve/mail/MailUtils.java

Violation Line
Found 'DU'-anomaly for variable 'name' (lines '56'-'67'). 56 - 67

org/apache/jsieve/mail/optional/EnvelopeAccessors.java

Violation Line
Avoid modifiers which are implied by the context 40
Found 'DU'-anomaly for variable 'name' (lines '40'-'40'). 40
Avoid modifiers which are implied by the context 49
Avoid modifiers which are implied by the context 69
Found 'DU'-anomaly for variable 'name' (lines '69'-'69'). 69

org/apache/jsieve/parser/SieveNode.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 35 - 37

org/apache/jsieve/parser/address/AddressNode.java

Violation Line
Each class should declare at least one constructor 24 - 30

org/apache/jsieve/parser/address/BaseAddressListVisitor.java

Violation Line
Each class should declare at least one constructor 39 - 89

org/apache/jsieve/parser/address/SieveAddressBuilder.java

Violation Line
Each class should declare at least one constructor 93 - 141
Found 'DU'-anomaly for variable 'node' (lines '112'-'119'). 112 - 119
Found 'DU'-anomaly for variable 'node' (lines '121'-'128'). 121 - 128

org/apache/jsieve/tests/AbstractCompatatorTest.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 40 - 42
Found 'DD'-anomaly for variable 'headerNames' (lines '66'-'118'). 66 - 118
Found 'DD'-anomaly for variable 'keys' (lines '67'-'128'). 67 - 128
Found 'DU'-anomaly for variable 'mail' (lines '154'-'165'). 154 - 165
Found 'DU'-anomaly for variable 'keys' (lines '154'-'165'). 154 - 165
Found 'DU'-anomaly for variable 'matchType' (lines '154'-'165'). 154 - 165
Found 'DU'-anomaly for variable 'addressPart' (lines '154'-'165'). 154 - 165
Found 'DU'-anomaly for variable 'comparator' (lines '154'-'165'). 154 - 165
Found 'DU'-anomaly for variable 'mail' (lines '179'-'190'). 179 - 190
Found 'DU'-anomaly for variable 'matchType' (lines '179'-'190'). 179 - 190
Found 'DU'-anomaly for variable 'addressPart' (lines '179'-'190'). 179 - 190
Found 'DU'-anomaly for variable 'comparator' (lines '179'-'190'). 179 - 190
Found 'DU'-anomaly for variable 'headerName' (lines '179'-'190'). 179 - 190
Found 'DU'-anomaly for variable 'mail' (lines '204'-'206'). 204 - 206
Found 'DU'-anomaly for variable 'matchType' (lines '204'-'206'). 204 - 206
Found 'DU'-anomaly for variable 'addressPart' (lines '204'-'206'). 204 - 206
Found 'DU'-anomaly for variable 'comparator' (lines '204'-'206'). 204 - 206
Found 'DU'-anomaly for variable 'headerName' (lines '204'-'206'). 204 - 206
Found 'DU'-anomaly for variable 'key' (lines '204'-'206'). 204 - 206

org/apache/jsieve/tests/AbstractTest.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 48 - 50
Found 'DU'-anomaly for variable 'mail' (lines '80'-'81'). 80 - 81
Found 'DU'-anomaly for variable 'arguments' (lines '80'-'81'). 80 - 81
Found 'DU'-anomaly for variable 'context' (lines '80'-'81'). 80 - 81
Found 'UR'-anomaly for variable 'message' (lines '95'-'95'). 95
Found 'DU'-anomaly for variable 'context' (lines '95'-'108'). 95 - 108
Found 'DU'-anomaly for variable 'message' (lines '104'-'108'). 104 - 108

org/apache/jsieve/tests/Address.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 36 - 38
Found 'DU'-anomaly for variable 'matchType' (lines '40'-'53'). 40 - 53
Found 'DU'-anomaly for variable 'addressPart' (lines '40'-'53'). 40 - 53
Found 'DU'-anomaly for variable 'comparator' (lines '40'-'53'). 40 - 53
Found 'DU'-anomaly for variable 'key' (lines '40'-'53'). 40 - 53
Found 'DD'-anomaly for variable 'matchKey' (lines '77'-'79'). 77 - 79
Found 'DD'-anomaly for variable 'matchKey' (lines '77'-'81'). 77 - 81

org/apache/jsieve/tests/AddressPartTags.java

Violation Line
Avoid modifiers which are implied by the context 27
Avoid modifiers which are implied by the context 29
Avoid modifiers which are implied by the context 31

org/apache/jsieve/tests/AllOf.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 38 - 40
Found 'DU'-anomaly for variable 'context' (lines '46'-'55'). 46 - 55
Found 'DU'-anomaly for variable 'mail' (lines '46'-'55'). 46 - 55

org/apache/jsieve/tests/AnyOf.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 38 - 40
Found 'DU'-anomaly for variable 'context' (lines '46'-'55'). 46 - 55
Found 'DU'-anomaly for variable 'mail' (lines '46'-'55'). 46 - 55

org/apache/jsieve/tests/ComparatorTags.java

Violation Line
Avoid modifiers which are implied by the context 27

org/apache/jsieve/tests/ExecutableTest.java

Violation Line
Avoid modifiers which are implied by the context 43 - 44
Found 'DU'-anomaly for variable 'mail' (lines '43'-'44'). 43 - 44
Found 'DU'-anomaly for variable 'arguments' (lines '43'-'44'). 43 - 44
Found 'DU'-anomaly for variable 'context' (lines '43'-'44'). 43 - 44

org/apache/jsieve/tests/Exists.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 39 - 41
Found 'DU'-anomaly for variable 'context' (lines '47'-'60'). 47 - 60
Found 'DU'-anomaly for variable 'mail' (lines '47'-'60'). 47 - 60

org/apache/jsieve/tests/False.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 34 - 36
Found 'DU'-anomaly for variable 'mail' (lines '42'-'45'). 42 - 45
Found 'DU'-anomaly for variable 'arguments' (lines '42'-'45'). 42 - 45
Found 'DU'-anomaly for variable 'context' (lines '42'-'45'). 42 - 45

org/apache/jsieve/tests/Header.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 46 - 48
Found 'UR'-anomaly for variable 'tag' (lines '67'-'67'). 67
Found 'DD'-anomaly for variable 'headerNames' (lines '71'-'118'). 71 - 118
Found 'DD'-anomaly for variable 'keys' (lines '72'-'128'). 72 - 128
Found 'DU'-anomaly for variable 'mail' (lines '154'-'165'). 154 - 165
Found 'DU'-anomaly for variable 'keys' (lines '154'-'165'). 154 - 165
Found 'DU'-anomaly for variable 'matchType' (lines '154'-'165'). 154 - 165
Found 'DU'-anomaly for variable 'comparator' (lines '154'-'165'). 154 - 165
Found 'DU'-anomaly for variable 'keys' (lines '177'-'200'). 177 - 200
Found 'DU'-anomaly for variable 'comparator' (lines '177'-'200'). 177 - 200
Found 'DU'-anomaly for variable 'matchType' (lines '177'-'200'). 177 - 200
A method should have only one exit point, and that should be the last statement in the method 190
Found 'DU'-anomaly for variable 'headerValue' (lines '212'-'222'). 212 - 222
Found 'DU'-anomaly for variable 'matchType' (lines '212'-'222'). 212 - 222
Found 'DU'-anomaly for variable 'comparator' (lines '212'-'222'). 212 - 222

org/apache/jsieve/tests/Not.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 39 - 41
Found 'UR'-anomaly for variable 'tests' (lines '47'-'47'). 47
Found 'DU'-anomaly for variable 'mail' (lines '47'-'61'). 47 - 61
Found 'DD'-anomaly for variable 'result' (lines '49'-'56'). 49 - 56

org/apache/jsieve/tests/Size.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 41 - 43
Found 'UR'-anomaly for variable 'tag' (lines '55'-'55'). 55
Found 'DD'-anomaly for variable 'comparator' (lines '57'-'67'). 57 - 67
Found 'DD'-anomaly for variable 'size' (lines '58'-'80'). 58 - 80
Found 'DU'-anomaly for variable 'mail' (lines '102'-'110'). 102 - 110
Found 'DU'-anomaly for variable 'size' (lines '102'-'110'). 102 - 110
Found 'DD'-anomaly for variable 'isTestPassed' (lines '104'-'106'). 104 - 106
Found 'DD'-anomaly for variable 'isTestPassed' (lines '104'-'108'). 104 - 108
Found 'DU'-anomaly for variable 'arguments' (lines '142'-'145'). 142 - 145
Found 'DU'-anomaly for variable 'context' (lines '142'-'145'). 142 - 145

org/apache/jsieve/tests/True.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 34 - 36
Found 'DU'-anomaly for variable 'mail' (lines '42'-'45'). 42 - 45
Found 'DU'-anomaly for variable 'arguments' (lines '42'-'45'). 42 - 45
Found 'DU'-anomaly for variable 'context' (lines '42'-'45'). 42 - 45

org/apache/jsieve/tests/optional/Body.java

Violation Line
Assigning an Object to null is a code smell. Consider refactoring. 45
Found 'DU'-anomaly for variable 'ctx' (lines '49'-'75'). 49 - 75
Found 'DU'-anomaly for variable 'args' (lines '79'-'98'). 79 - 98
Found 'DU'-anomaly for variable 'ctx' (lines '79'-'98'). 79 - 98
Found 'DD'-anomaly for variable 'body' (lines '86'-'87'). 86 - 87
A method should have only one exit point, and that should be the last statement in the method 94

org/apache/jsieve/tests/optional/Envelope.java

Violation Line
Avoid unnecessary constructors - the compiler will generate these for you 41 - 43
Found 'DD'-anomaly for variable 'matchAddress' (lines '70'-'72'). 70 - 72
Found 'DD'-anomaly for variable 'matchAddress' (lines '70'-'87'). 70 - 87
Found 'DD'-anomaly for variable 'matchAddress' (lines '72'-'96'). 72 - 96
Found 'DD'-anomaly for variable 'localEnd' (lines '75'-'81'). 75 - 81
Found 'DD'-anomaly for variable 'localEnd' (lines '75'-'84'). 75 - 84
Found 'DD'-anomaly for variable 'domainStart' (lines '76'-'82'). 76 - 82
Found 'DD'-anomaly for variable 'domainStart' (lines '76'-'85'). 76 - 85
Found 'DD'-anomaly for variable 'matchAddress' (lines '87'-'96'). 87 - 96
Found 'DD'-anomaly for variable 'matchKey' (lines '93'-'95'). 93 - 95
Found 'DD'-anomaly for variable 'matchKey' (lines '93'-'98'). 93 - 98
Found 'DU'-anomaly for variable 'matchType' (lines '105'-'116'). 105 - 116
Found 'DU'-anomaly for variable 'addressPart' (lines '105'-'116'). 105 - 116
Found 'DU'-anomaly for variable 'comparator' (lines '105'-'116'). 105 - 116
Found 'DU'-anomaly for variable 'key' (lines '105'-'116'). 105 - 116