Branch Coverage

blib/lib/MIDI/Drummer/Tiny.pm
Criterion Covered Total %
branch 25 58 43.1


line true false branch
26 0 4 if ($self->kit)
144 0 122 $spec[0] =~ /^d(\d+)$/ ? :
163 0 556 $spec[0] =~ /^d(\d+)$/ ? :
211 0 0 if ($n % 2 == 0) { }
216 0 0 if ($flag == 0) { }
222 0 0 if ($i % 2 == 0) { }
264 0 0 if ($n % 2) { }
341 0 0 if ($grace eq 'r') { }
368 0 0 if ($k) { }
385 0 0 if ($n == $z)
386 0 0 if ($i < $j) { }
0 0 elsif ($i > $j) { }
410 0 34 unless @{$args{'patterns'};}
414 33 1 if ($args{'duration'}) { }
432 0 34 if $pattern =~ /^0+$/
434 0 34 if $args{'negate'}
455 33 0 $master_duration ? :
477 0 11 if $self->verbose
487 0 11 if $self->verbose
492 0 11 if $self->verbose
494 6 5 $fill_duration == $lcm ? :
497 0 11 if $self->verbose
505 29 4 @$pattern < $lcm ? :
508 0 11 if $self->verbose
516 15 18 @$pattern < $lcm ? :
521 0 11 if $self->verbose
530 0 33 if $self->verbose
546 5 0 if $signature
548 4 1 if ($set)