PMD Results

The following document contains the results of PMD 6.4.0.

Files

org/joda/beans/Bean.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 40
Avoid modifiers which are implied by the context 3 56–58
Avoid modifiers which are implied by the context 3 68–70

org/joda/beans/BeanBuilder.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 35
Avoid modifiers which are implied by the context 3 45
Avoid modifiers which are implied by the context 3 58
Avoid modifiers which are implied by the context 3 71
Avoid modifiers which are implied by the context 3 81

org/joda/beans/DynamicBean.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 36
Avoid modifiers which are implied by the context 3 49
Avoid modifiers which are implied by the context 3 60
Avoid modifiers which are implied by the context 3 67

org/joda/beans/DynamicMetaBean.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 38
Avoid modifiers which are implied by the context 3 46
Avoid modifiers which are implied by the context 3 59
Avoid modifiers which are implied by the context 3 71
Avoid modifiers which are implied by the context 3 78

org/joda/beans/JodaBeanUtils.java

Violation Priority Line
Useless parentheses. 4 207
Useless parentheses. 4 236
Useless parentheses. 4 548
These nested if statements could be combined 3 749–759
Useless parentheses. 4 939

org/joda/beans/MetaBean.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 47–49
Avoid modifiers which are implied by the context 3 60–62
Avoid modifiers which are implied by the context 3 74
Avoid modifiers which are implied by the context 3 89
Avoid modifiers which are implied by the context 3 99–101
Avoid modifiers which are implied by the context 3 111
Avoid modifiers which are implied by the context 3 122–124
Avoid modifiers which are implied by the context 3 135–137
Avoid modifiers which are implied by the context 3 154–160
Avoid modifiers which are implied by the context 3 171–173
Avoid modifiers which are implied by the context 3 182
Avoid modifiers which are implied by the context 3 199–201
Avoid modifiers which are implied by the context 3 216–224

org/joda/beans/MetaProperty.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 44–46
Avoid modifiers which are implied by the context 3 56
Avoid modifiers which are implied by the context 3 66
Avoid modifiers which are implied by the context 3 75
Avoid modifiers which are implied by the context 3 85
Avoid modifiers which are implied by the context 3 94
Avoid modifiers which are implied by the context 3 104
Avoid modifiers which are implied by the context 3 116
Avoid modifiers which are implied by the context 3 131–139
Avoid modifiers which are implied by the context 3 153
Avoid modifiers which are implied by the context 3 169
Avoid modifiers which are implied by the context 3 186–190
Avoid modifiers which are implied by the context 3 209–211
Avoid modifiers which are implied by the context 3 229–232
Avoid modifiers which are implied by the context 3 247–249
Avoid modifiers which are implied by the context 3 265–267
Avoid modifiers which are implied by the context 3 280
Avoid modifiers which are implied by the context 3 288

org/joda/beans/Property.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 37
Avoid modifiers which are implied by the context 3 45
Avoid modifiers which are implied by the context 3 55–57
Avoid modifiers which are implied by the context 3 69–71
Avoid modifiers which are implied by the context 3 86–88
Avoid modifiers which are implied by the context 3 102–104
Avoid modifiers which are implied by the context 3 117
Avoid modifiers which are implied by the context 3 125

org/joda/beans/TypedMetaBean.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 30
Avoid modifiers which are implied by the context 3 33

org/joda/beans/gen/BeanCodeGen.java

Violation Priority Line
Useless parentheses. 4 163
Useless parentheses. 4 228

org/joda/beans/gen/BeanData.java

Violation Priority Line
Useless parentheses. 4 210
Useless parentheses. 4 331
Useless parentheses. 4 674
Useless parentheses. 4 1022

org/joda/beans/gen/BeanGen.java

Violation Priority Line
Avoid empty catch blocks 3 75–77
Useless parentheses. 4 296
Useless parentheses. 4 296
Useless parentheses. 4 320
Useless parentheses. 4 322
Useless parentheses. 4 378
Useless parentheses. 4 775
Useless parentheses. 4 1058
Useless parentheses. 4 1165–1166
Useless parentheses. 4 1166
Useless parentheses. 4 1478

org/joda/beans/gen/BeanGenConfig.java

Violation Priority Line
Avoid empty catch blocks 3 123–125

org/joda/beans/gen/BeanParser.java

Violation Priority Line
Useless parentheses. 4 610
Useless parentheses. 4 616

org/joda/beans/gen/GetterGen.java

Violation Priority Line
Useless parentheses. 4 54–56
Useless parentheses. 4 74–76
Useless parentheses. 4 98–100
Useless parentheses. 4 118–120
Useless parentheses. 4 138–140
Useless parentheses. 4 158–160

org/joda/beans/gen/PropertyData.java

Violation Priority Line
Useless parentheses. 4 381
Useless parentheses. 4 455
Useless parentheses. 4 489
Useless parentheses. 4 672
Useless parentheses. 4 681
These nested if statements could be combined 3 974–976
Useless parentheses. 4 1050

org/joda/beans/gen/PropertyParser.java

Violation Priority Line
Avoid using a branching statement as the last in a loop. 2 154
Useless parentheses. 4 165
Useless parentheses. 4 296

org/joda/beans/gen/SetterGen.java

Violation Priority Line
Useless parentheses. 4 66–68
An empty statement (semicolon) not part of a loop 3 112
Useless parentheses. 4 112

org/joda/beans/impl/BasicPropertyMap.java

Violation Priority Line
Ternary operators that can be simplified with || or && 3 72

org/joda/beans/impl/reflection/ReflectiveMetaProperty.java

Violation Priority Line
Useless parentheses. 4 87
Useless parentheses. 4 164–165
Useless parentheses. 4 165

org/joda/beans/ser/CollectSerIteratorFactory.java

Violation Priority Line
Useless parentheses. 4 200

org/joda/beans/ser/SerDeserializer.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 101
Avoid modifiers which are implied by the context 3 112
Avoid modifiers which are implied by the context 3 129
Avoid modifiers which are implied by the context 3 138
Avoid modifiers which are implied by the context 3 151

org/joda/beans/ser/SerDeserializerProvider.java

Violation Priority Line
Avoid modifiers which are implied by the context 3 42

org/joda/beans/ser/SerIteratorFactory.java

Violation Priority Line
Useless parentheses. 4 181

org/joda/beans/ser/SerOptional.java

Violation Priority Line
Avoid empty catch blocks 3 45–47
Avoid empty catch blocks 3 55–57
Avoid empty catch blocks 3 65–67
Avoid empty catch blocks 3 75–77
Avoid empty catch blocks 3 85–87
Useless parentheses. 4 135

org/joda/beans/ser/SerTypeMapper.java

Violation Priority Line
Avoid unused method parameters such as 'settings'. 3 197

org/joda/beans/ser/bin/JodaBeanBinReader.java

Violation Priority Line
Useless parentheses. 4 323
Useless parentheses. 4 323
Useless parentheses. 4 425
Useless parentheses. 4 442
Useless parentheses. 4 459

org/joda/beans/ser/bin/JodaBeanBinWriter.java

Violation Priority Line
Useless parentheses. 4 173
Useless parentheses. 4 181

org/joda/beans/ser/bin/MsgPack.java

Violation Priority Line
Useless parentheses. 4 217
Useless parentheses. 4 221
Useless parentheses. 4 225
Useless parentheses. 4 229

org/joda/beans/ser/bin/MsgPackVisualizer.java

Violation Priority Line
An empty statement (semicolon) not part of a loop 3 139

org/joda/beans/ser/json/AbstractJsonReader.java

Violation Priority Line
Useless parentheses. 4 129

org/joda/beans/ser/json/JodaBeanJsonWriter.java

Violation Priority Line
Useless parentheses. 4 176
Useless parentheses. 4 185

org/joda/beans/ser/json/JodaBeanSimpleJsonWriter.java

Violation Priority Line
Avoid unused method parameters such as 'declaredType'. 3 107
Useless parentheses. 4 111

org/joda/beans/ser/json/JsonInput.java

Violation Priority Line
Avoid unused private fields such as 'REPLACE'. 3 27
Useless parentheses. 4 258

org/joda/beans/ser/map/JodaBeanSimpleMapWriter.java

Violation Priority Line
Avoid unused method parameters such as 'declaredType'. 3 83
Useless parentheses. 4 87

org/joda/beans/ser/xml/JodaBeanXmlReader.java

Violation Priority Line
Too many static imports may lead to messy code 3 16–515
Useless parentheses. 4 475
Avoid unused method parameters such as 'location'. 3 509

org/joda/beans/ser/xml/JodaBeanXmlWriter.java

Violation Priority Line
Too many static imports may lead to messy code 3 16–507
Useless parentheses. 4 199
Useless parentheses. 4 219
Useless parentheses. 4 228

org/joda/beans/test/BeanAssert.java

Violation Priority Line
Avoid unnecessary return statements 3 312

org/joda/beans/test/JodaBeanTests.java

Violation Priority Line
Avoid empty catch blocks 3 152–154
Avoid unused method parameters such as 'metaPropMap'. 3 229
Avoid empty catch blocks 3 319–321
Avoid empty catch blocks 3 431–433
Avoid empty catch blocks 3 438–440
Avoid empty catch blocks 3 445–447
Avoid empty catch blocks 3 452–454
Avoid empty catch blocks 3 529–531

Back to top

Version: 2.4.1-SNAPSHOT. Last Published: 2019-01-20.

Reflow Maven skin.