PMD Results

The following document contains the results of PMD 3.9.

Files

com/jamesbryangraves/bob/BobApplication.java

ViolationLine
Each class should declare at least one constructor11 - 71
Use explicit scoping instead of the default package private level13

com/jamesbryangraves/bob/BobEngine.java

ViolationLine
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/BobEngine.java0
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/BobEngine.java0

com/jamesbryangraves/bob/midi/BobGenericReceiver.java

ViolationLine
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/midi/BobGenericReceiver.java0
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/midi/BobGenericReceiver.java0

com/jamesbryangraves/bob/midi/BobMidiDevice.java

ViolationLine
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/midi/BobMidiDevice.java0
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/midi/BobMidiDevice.java0

com/jamesbryangraves/bob/midi/BobMidiReceiver.java

ViolationLine
Each class should declare at least one constructor5 - 17

com/jamesbryangraves/bob/midi/BobMidiSequence.java

ViolationLine
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/midi/BobMidiSequence.java0
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/midi/BobMidiSequence.java0

com/jamesbryangraves/bob/midi/BobMidiSequencer.java

ViolationLine
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/midi/BobMidiSequencer.java0
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/midi/BobMidiSequencer.java0

com/jamesbryangraves/bob/midi/BobMidiTrack.java

ViolationLine
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/midi/BobMidiTrack.java0
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/midi/BobMidiTrack.java0

com/jamesbryangraves/bob/midi/BobMidiTransmitter.java

ViolationLine
Each class should declare at least one constructor6 - 22

com/jamesbryangraves/bob/midi/BobTextReceiver.java

ViolationLine
Each class should declare at least one constructor6 - 16
Found 'DU'-anomaly for variable 'ts' (lines '8'-'10').8 - 10
Found 'DU'-anomaly for variable 'message' (lines '8'-'10').8 - 10

com/jamesbryangraves/bob/music/ChordProgression.java

ViolationLine
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/ChordProgression.java0
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/ChordProgression.java0

com/jamesbryangraves/bob/music/Composer.java

ViolationLine
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/Composer.java0
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/Composer.java0

com/jamesbryangraves/bob/music/DiatonicMusicEventGenerator.java

ViolationLine
Each class should declare at least one constructor5 - 22

com/jamesbryangraves/bob/music/Melody.java

ViolationLine
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/Melody.java0
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/Melody.java0

com/jamesbryangraves/bob/music/MusicContext.java

ViolationLine
Each class should declare at least one constructor4 - 87

com/jamesbryangraves/bob/music/MusicEventGenerator.java

ViolationLine
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/MusicEventGenerator.java0
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/MusicEventGenerator.java0

com/jamesbryangraves/bob/music/MusicEventListener.java

ViolationLine
Avoid modifiers which are implied by the context5
Found 'DU'-anomaly for variable 'index' (lines '5'-'5').5
Found 'DU'-anomaly for variable 'musicEvent' (lines '5'-'5').5

com/jamesbryangraves/bob/music/Percussion.java

ViolationLine
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/Percussion.java0
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/Percussion.java0

com/jamesbryangraves/bob/music/Phrase.java

ViolationLine
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/Phrase.java0
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/Phrase.java0

com/jamesbryangraves/bob/music/Scale.java

ViolationLine
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/Scale.java0
Error while parsing /Users/bgraves/Development/bob/Bob/src/main/java/com/jamesbryangraves/bob/music/Scale.java0

com/jamesbryangraves/bob/util/BobUtils.java

ViolationLine
Each class should declare at least one constructor7 - 19
A method should have only one exit point, and that should be the last statement in the method12

com/jamesbryangraves/bob/util/Translator.java

ViolationLine
Each class should declare at least one constructor3 - 61
A method should have only one exit point, and that should be the last statement in the method7
A method should have only one exit point, and that should be the last statement in the method8
A method should have only one exit point, and that should be the last statement in the method9
A method should have only one exit point, and that should be the last statement in the method10
A method should have only one exit point, and that should be the last statement in the method11
A method should have only one exit point, and that should be the last statement in the method12
A method should have only one exit point, and that should be the last statement in the method13
A method should have only one exit point, and that should be the last statement in the method14
A method should have only one exit point, and that should be the last statement in the method15
A method should have only one exit point, and that should be the last statement in the method16
A method should have only one exit point, and that should be the last statement in the method17
A method should have only one exit point, and that should be the last statement in the method24
A method should have only one exit point, and that should be the last statement in the method26
A method should have only one exit point, and that should be the last statement in the method28
A method should have only one exit point, and that should be the last statement in the method30
A method should have only one exit point, and that should be the last statement in the method32
A method should have only one exit point, and that should be the last statement in the method34
A method should have only one exit point, and that should be the last statement in the method36
A method should have only one exit point, and that should be the last statement in the method38
A method should have only one exit point, and that should be the last statement in the method40
A method should have only one exit point, and that should be the last statement in the method42
A method should have only one exit point, and that should be the last statement in the method44
A method should have only one exit point, and that should be the last statement in the method46
A method should have only one exit point, and that should be the last statement in the method48
A method should have only one exit point, and that should be the last statement in the method50
A method should have only one exit point, and that should be the last statement in the method52
A method should have only one exit point, and that should be the last statement in the method54