Branch Coverage

blib/lib/MIDI/Drummer/Tiny.pm
Criterion Covered Total %
branch 31 90 34.4


line true false branch
104 0 6 unless $self->setup
615 0 122 $spec[0] =~ /^d(\d+)$/u ? :
658 0 556 $spec[0] =~ /^d(\d+)$/u ? :
687 0 0 if ($args_ref and ref $args_ref) { }
0 0 elsif ($args_ref) { }
688 0 0 if defined $args_ref->{'bars'}
689 0 0 if defined $args_ref->{'patch'}
690 0 0 if defined $args_ref->{'accent'}
698 0 0 if ($i == $self->beats * $j - $self->beats + 1) { }
741 0 0 if ($swing > 50) { }
778 0 0 if ($swing > 50) { }
786 0 0 if ($swing > 50) { }
824 0 0 if ($swing > 50) { }
832 0 0 if ($swing > 50) { }
839 0 0 if ($n % 2) { }
876 0 0 if ($swing > 50) { }
885 0 0 if ($swing > 50) { }
923 0 0 if ($swing > 50) { }
931 0 0 if ($swing > 50) { }
939 0 0 if ($swing > 50) { }
972 0 0 if ($n % 2 == 0) { }
976 0 0 if ($flag == 0) { }
980 0 0 if ($i % 2 == 0) { }
1024 0 0 if ($grace eq 'r') { }
1082 0 0 if ($k) { }
1097 0 0 if ($n == $z)
1098 0 0 if ($i < $j) { }
0 0 elsif ($i > $j) { }
1162 0 34 unless @{$args{'patterns'}}
1166 33 1 if ($args{'duration'}) { }
1182 0 34 if $args{'negate'}
1184 0 34 if $pattern =~ /^0+$/u
1220 33 0 $master_duration ? :
1264 1 11 if $self->verbose
1275 1 11 if $self->verbose
1281 1 11 if $self->verbose
1283 7 5 $fill_duration == $lcm ? :
1287 1 11 if $self->verbose
1297 29 4 @$pattern < $lcm ? :
1302 1 11 if $self->verbose
1313 15 21 @$pattern < $lcm ? :
1321 1 11 if $self->verbose
1332 0 33 if $self->verbose
1359 7 0 if $time_signature
1360 6 1 if ($set)