The following document contains the results of PMD 4.2.2.
| Violation | Line |
|---|---|
| An operation on an Immutable object (BigDecimal or BigInteger) won't change the object itself | 91 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 179 - 184 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 65 - 69 |
| These nested if statements could be combined | 80 - 82 |
| These nested if statements could be combined | 325 - 330 |
| These nested if statements could be combined | 439 - 443 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'it'. | 252 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'reader'. | 48 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'removed'. | 394 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 170 - 176 |
| These nested if statements could be combined | 545 - 551 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.util.Enumeration' | 25 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 36 - 40 |
| Avoid empty catch blocks | 61 - 65 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 219 - 223 |
| Avoid empty catch blocks | 237 - 241 |
| Avoid empty catch blocks | 262 - 266 |
| These nested if statements could be combined | 479 - 485 |
| These nested if statements could be combined | 481 - 484 |
| Violation | Line |
|---|---|
| Avoid unused private methods such as 'readLyrics3Tag(File,RandomAccessFile,int)'. | 256 |
| Avoid unused method parameters such as 'loadOptions'. | 256 - 279 |
| Avoid unused method parameters such as 'file'. | 256 - 279 |
| Avoid unused method parameters such as 'newFile'. | 256 - 279 |
| These nested if statements could be combined | 798 - 801 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'VBRI_DELAY_BUFFER_SIZE'. | 43 |
| Avoid unused private fields such as 'VBRI_QUALITY_BUFFER_SIZE'. | 44 |
| Avoid unused private fields such as 'VBRI_TOC_ENTRY_BUFFER_SIZE'. | 47 |
| Avoid unused private fields such as 'lameFrame'. | 66 |
| Avoid unused local variables such as 'audioSizeEnabled'. | 87 |
| Avoid unused local variables such as 'frameCountEnabled'. | 98 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'SECTION_SIX'. | 94 |
| Avoid unused local variables such as 'sectionThreeLength'. | 132 |
| Avoid unused local variables such as 'sectionFourLength'. | 133 |
| Avoid unused local variables such as 'sectionFiveLength'. | 134 |
| Avoid unused local variables such as 'sectionSixLength'. | 135 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'MAJOR_BRAND_POS'. | 23 |
| Avoid unused private fields such as 'MAJOR_BRAND_VERSION_POS'. | 25 |
| Avoid empty catch blocks | 46 - 50 |
| Avoid empty catch blocks | 69 - 72 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'reserved'. | 44 |
| Avoid unused private fields such as 'name'. | 46 |
| Avoid empty catch blocks | 83 - 87 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'timeLength'. | 48 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'mvhd'. | 172 |
| Avoid unused local variables such as 'endOfFirstTrackInBuffer'. | 177 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'java.nio.ByteBuffer' | 3 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 320 - 323 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'atomTree'. | 317 |
| Violation | Line |
|---|---|
| Avoid unused private methods such as 'createMetadataAtoms(Mp4BoxHeader,ByteBuffer,int,Mp4BoxHeader,Mp4BoxHeader)'. | 152 - 157 |
| Avoid unused method parameters such as 'udtaHeader'. | 152 - 162 |
| Avoid unused method parameters such as 'metaHeader'. | 152 - 162 |
| Avoid unused method parameters such as 'moovBuffer'. | 152 - 162 |
| Avoid unused local variables such as 'boxHeader'. | 187 |
| Avoid unused local variables such as 'level1SearchPosition'. | 197 |
| Avoid unused local variables such as 'hdlrMdiaHeader'. | 224 |
| These nested if statements could be combined | 539 - 542 |
| These nested if statements could be combined | 576 - 579 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'fix1'. | 55 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'fix1'. | 59 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'pageSegments'. | 185 |
| These nested if statements could be combined | 208 - 212 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'maxPacketSize'. | 32 |
| Avoid unused local variables such as 'avgPacketSize'. | 33 |
| Avoid unused local variables such as 'packetCnt'. | 34 |
| Avoid unused local variables such as 'preroll'. | 36 |
| Avoid unused local variables such as 'indexOffset'. | 37 |
| Avoid unused local variables such as 'dataOffset'. | 38 |
| Avoid unused local variables such as 'numStreams'. | 39 |
| Avoid unused local variables such as 'flags'. | 40 |
| Avoid unused local variables such as 'rmf'. | 50 |
| Avoid unused local variables such as 'rmf'. | 57 |
| Avoid unused local variables such as 'prop'. | 58 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.jaudiotagger.audio.generic.GenericTag' | 24 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package | 5 |
| Avoid unused local variables such as 'test'. | 18 |
| Avoid unused local variables such as 'audioFile'. | 54 |
| Avoid empty catch blocks | 61 - 64 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'isObsfucated'. | 20 |
| Unnecessary final modifier in final class | 36 - 80 |
| Avoid empty catch blocks | 75 - 77 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'formatter'. | 34 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package | 4 |
| No need to import a type that lives in the same package | 5 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package | 4 |
| No need to import a type that lives in the same package | 5 |
| No need to import a type that lives in the same package | 6 |
| No need to import a type that lives in the same package | 10 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package | 7 |
| No need to import a type that lives in the same package | 8 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package | 7 |
| No need to import a type that lives in the same package | 8 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package | 23 |
| No need to import a type that lives in the same package | 24 |
| Violation | Line |
|---|---|
| No need to import a type that lives in the same package | 7 |
| No need to import a type that lives in the same package | 8 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 268 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 84 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 55 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 62 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 92 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 135 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 138 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 127 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 42 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 104 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 182 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 136 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 43 |
| These nested if statements could be combined | 108 - 114 |
| These nested if statements could be combined | 110 - 113 |
| Avoid empty catch blocks | 251 - 254 |
| Avoid empty catch blocks | 263 - 266 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 76 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 76 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 72 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 132 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 52 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 59 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 47 |
| Avoid empty if statements | 119 - 122 |
| These nested if statements could be combined | 141 - 144 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 50 |
| These nested if statements could be combined | 116 - 120 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.jaudiotagger.tag.vorbiscomment.VorbisCommentTagField' | 12 |
| Violation | Line |
|---|---|
| Avoid unused constructor parameters such as 'copyObject'. | 122 - 124 |
| Ensure you override both equals() and hashCode() | 699 |
| These nested if statements could be combined | 743 - 747 |
| These nested if statements could be combined | 1074 - 1077 |
| These nested if statements could be combined | 1082 - 1085 |
| These nested if statements could be combined | 1102 - 1105 |
| These nested if statements could be combined | 1110 - 1113 |
| These nested if statements could be combined | 1585 - 1588 |
| These nested if statements could be combined | 1614 - 1617 |
| Avoid empty catch blocks | 1649 - 1652 |
| Avoid unused local variables such as 'frameid'. | 1991 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 81 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 115 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 256 - 259 |
| Ensure you override both equals() and hashCode() | 274 |
| Violation | Line |
|---|---|
| Avoid unused constructor parameters such as 'copyObject'. | 52 - 55 |
| Ensure you override both equals() and hashCode() | 99 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 131 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 60 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 91 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 283 - 286 |
| Avoid empty catch blocks | 324 - 327 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 128 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 285 - 288 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 72 - 96 |
| These nested if statements could be combined | 131 - 140 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 374 - 377 |
| Ensure you override both equals() and hashCode() | 416 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 573 - 576 |
| Ensure you override both equals() and hashCode() | 804 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 85 - 87 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 240 |
| Avoid unused local variables such as 'flags'. | 285 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 283 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 352 |
| Avoid unused local variables such as 'flags'. | 389 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 225 - 227 |
| Ensure you override both equals() and hashCode() | 313 |
| Avoid empty if statements | 441 - 443 |
| Avoid empty if statements | 445 - 448 |
| Avoid empty if statements | 491 - 492 |
| Avoid empty if statements | 507 - 508 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 649 |
| Avoid unused method parameters such as 'size'. | 774 - 831 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'filePointer'. | 49 |
| Avoid unused local variables such as 'id3v1tag'. | 50 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 170 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 228 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 107 |
| Violation | Line |
|---|---|
| Ensure you override both equals() and hashCode() | 148 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 111 - 114 |
| Ensure you override both equals() and hashCode() | 199 |
| Avoid unused local variables such as 'filePointer'. | 245 |
| Avoid empty catch blocks | 273 - 276 |
| Avoid empty if statements | 443 - 447 |
| Avoid unused method parameters such as 'byteBuffer'. | 487 - 529 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'filePointer'. | 171 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'NONE_VALUE_INDEX'. | 24 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.jaudiotagger.tag.mp4.Mp4FieldKey' | 3 |
| Violation | Line |
|---|---|
| Avoid empty catch blocks | 42 - 45 |
| These nested if statements could be combined | 51 - 54 |
| Avoid empty catch blocks | 83 - 86 |
| These nested if statements could be combined | 92 - 97 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.jaudiotagger.tag.reference.PictureTypes' | 25 |
| Violation | Line |
|---|---|
| Avoid unused private fields such as 'NONE_VALUE_INDEX'. | 25 |
| Avoid unused private fields such as 'NONE_END_VALUE_INDEX'. | 28 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 94 - 96 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 67 - 70 |
| These nested if statements could be combined | 80 - 83 |
| These nested if statements could be combined | 88 - 91 |
| Violation | Line |
|---|---|
| Avoid empty if statements | 68 - 70 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.jaudiotagger.tag.mp4.field.Mp4FieldType' | 4 |
| Avoid unused imports such as 'java.util.List' | 6 |
| Violation | Line |
|---|---|
| These nested if statements could be combined | 149 - 152 |
| Violation | Line |
|---|---|
| Avoid unused imports such as 'org.jaudiotagger.tag.vorbiscomment.VorbisCommentFieldKey.ALBUM' | 29 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'test2'. | 19 |
| Violation | Line |
|---|---|
| Avoid unused local variables such as 'test'. | 16 |
| Unnecessary final modifier in final class | 83 - 86 |
| Unnecessary final modifier in final class | 93 - 96 |
| Violation | Line |
|---|---|
| Unnecessary final modifier in final class | 147 - 150 |
| Unnecessary final modifier in final class | 157 - 160 |
| Unnecessary final modifier in final class | 179 - 182 |
| Avoid unused local variables such as 'result'. | 190 |
| Violation | Line |
|---|---|
| Unnecessary final modifier in final class | 130 - 133 |