Branch Coverage

blib/lib/MIDI/Drummer/Tiny.pm
Criterion Covered Total %
branch 25 64 39.0


line true false branch
26 0 4 if ($self->kit)
144 0 122 $spec[0] =~ /^d(\d+)$/ ? :
163 0 556 $spec[0] =~ /^d(\d+)$/ ? :
176 0 0 if ($args and ref $args) { }
177 0 0 if defined $args->{'bars'}
178 0 0 if defined $args->{'patch'}
222 0 0 if ($n % 2 == 0) { }
227 0 0 if ($flag == 0) { }
233 0 0 if ($i % 2 == 0) { }
275 0 0 if ($n % 2) { }
352 0 0 if ($grace eq 'r') { }
379 0 0 if ($k) { }
396 0 0 if ($n == $z)
397 0 0 if ($i < $j) { }
0 0 elsif ($i > $j) { }
421 0 34 unless @{$args{'patterns'};}
425 33 1 if ($args{'duration'}) { }
443 0 34 if $pattern =~ /^0+$/
445 0 34 if $args{'negate'}
466 33 0 $master_duration ? :
488 0 11 if $self->verbose
498 0 11 if $self->verbose
503 0 11 if $self->verbose
505 6 5 $fill_duration == $lcm ? :
508 0 11 if $self->verbose
516 29 4 @$pattern < $lcm ? :
519 0 11 if $self->verbose
527 15 18 @$pattern < $lcm ? :
532 0 11 if $self->verbose
541 0 33 if $self->verbose
557 5 0 if $signature
559 4 1 if ($set)