Branch Coverage

blib/lib/Music/Chord/Progression/Transform.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
125 0 7 if $self->verbose
141 1 22 $self->format eq 'ISO' ? :
146 0 23 if $self->verbose
169 0 1 if $self->verbose
185 0 4 $self->format eq 'ISO' ? :
190 0 4 if $self->verbose
200 2 2 int rand 2 ? :
220 0 27 if $chord =~ m[^(.+)/(\d+)$]
244 5 3 if (ref $self->transforms eq 'ARRAY') { }
3 0 elsif ($self->transforms =~ /^\d+$/) { }
250 3 0 if (grep {$_ eq "T";} @{$self->allowed;})
254 3 0 if (grep {$_ eq "N";} @{$self->allowed;})
255 0 3 if ($self->chord_quality eq 7) { }
289 2 25 if ($token =~ /^O$/) { }
4 21 elsif ($token =~ /^I$/) { }
14 7 elsif ($token =~ /^T(-?\d+)$/) { }
300 1 6 if length $token > 1 and not $token =~ /\d/
302 1 6 defined $task ? :