Branch Coverage

blib/lib/MIDI/Drummer/Tiny.pm
Criterion Covered Total %
branch 25 74 33.7


line true false branch
144 0 122 $spec[0] =~ /^d(\d+)$/ ? :
163 0 556 $spec[0] =~ /^d(\d+)$/ ? :
177 0 0 if ($args and ref $args) { }
0 0 elsif ($args) { }
178 0 0 if defined $args->{'bars'}
179 0 0 if defined $args->{'patch'}
180 0 0 if defined $args->{'accent'}
188 0 0 if ($i == $self->beats * $j - $self->beats + 1) { }
231 0 0 if ($n % 2 == 0) { }
236 0 0 if ($flag == 0) { }
242 0 0 if ($i % 2 == 0) { }
284 0 0 if ($n % 2) { }
361 0 0 if ($grace eq 'r') { }
388 0 0 if ($k) { }
405 0 0 if ($n == $z)
406 0 0 if ($i < $j) { }
0 0 elsif ($i > $j) { }
430 0 34 unless @{$args{'patterns'};}
434 33 1 if ($args{'duration'}) { }
450 0 34 if $args{'negate'}
452 0 34 if $pattern =~ /^0+$/
473 33 0 $master_duration ? :
495 0 11 if $self->verbose
505 0 11 if $self->verbose
510 0 11 if $self->verbose
512 6 5 $fill_duration == $lcm ? :
515 0 11 if $self->verbose
523 29 4 @$pattern < $lcm ? :
526 0 11 if $self->verbose
534 15 18 @$pattern < $lcm ? :
539 0 11 if $self->verbose
548 0 33 if $self->verbose
564 6 0 if $signature
566 5 1 if ($set)
612 0 2 unless $self->soundfont
622 0 0 if ($self->soundfont) { }
630 0 0 unless system(@cmd) == 0