Branch Coverage

blib/lib/MIDI/Praxis/Variation.pm
Criterion Covered Total %
branch 35 38 92.1


line true false branch
58 1 51 unless $in
62 50 1 if ($in =~ /^([A-Za-z]+)(\d+)/s)
64 50 0 if exists $MIDI::Simple::Note{$1}
77 1 12 unless @notes
91 1 1 unless @notes
103 1 9 unless defined $delta and @notes
107 9 0 if ($notes[0] =~ /[A-G]/) { }
126 1 6 unless $axis and @notes
144 1 3 unless $axis and @notes
161 1 23 unless $arg
165 3 20 if ($arg =~ /^d(\d+)$/) { }
20 0 elsif (exists $MIDI::Simple::Length{$arg}) { }
182 1 3 unless @dur_or_len
198 1 7 unless $ratio and 1 < $ratio and @dur_or_len
214 1 7 unless $ratio and 1 < $ratio and @dur_or_len
230 1 2 unless @dur_or_len
248 1 2 unless @dur_or_len
266 1 4 unless defined $n and @notes
270 3 1 if (@notes >= $n)