Branch Coverage

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


line true false branch
123 0 7 if $self->verbose
137 1 22 $self->format eq 'ISO' ? :
142 0 23 if $self->verbose
162 0 1 if $self->verbose
176 0 4 $self->format eq 'ISO' ? :
181 0 4 if $self->verbose
189 1 3 int rand 2 ? :
209 0 27 if $chord =~ m[^(.+)/(\d+)$]
233 5 3 if (ref $self->transforms eq 'ARRAY') { }
3 0 elsif ($self->transforms =~ /^\d+$/) { }
239 3 0 if (grep {$_ eq "T";} @{$self->allowed;})
243 3 0 if (grep {$_ eq "N";} @{$self->allowed;})
244 0 3 if ($self->chord_quality eq 7) { }
278 2 25 if ($token =~ /^O$/) { }
4 21 elsif ($token =~ /^I$/) { }
11 10 elsif ($token =~ /^T(-?\d+)$/) { }
289 5 5 if length $token > 1 and not $token =~ /\d/
291 5 5 defined $task ? :