Branch Coverage

blib/lib/MIDI/Tab.pm
Criterion Covered Total %
branch 30 38 78.9


line true false branch
92 0 6 unless $base_note_number or $line eq "CTL"
100 6 0 unless $line eq "CTL"
106 0 6 if exists $lines{'CTL'}
115 0 192 if @control
118 16 176 if (defined $n) { }
146 0 2 if (/^(c\d+)$/)
165 0 7 unless $drum_notes{$line} or $line eq "CTL"
170 6 1 unless $line eq "CTL"
176 2 5 if exists $lines{'CTL'}
185 24 160 if @control
188 59 125 if (defined $n) { }
233 0 2 if exists $lines{'CTL'}
242 0 16 if @control
245 8 8 if (defined $n) { }
274 2 2 if $type and $type eq "drum"
296 48 392 if ($line eq 'CTL') { }
83 309 elsif ($n =~ /^[0-9]$/) { }
297 8 40 if ($n eq '3') { }
306 16 67 if ($base) { }