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' ? :
143 0 23 if $chord =~ m[^(.+)/(\d+)$]
146 0 23 if $self->verbose
166 0 1 if $self->verbose
180 0 4 $self->format eq 'ISO' ? :
185 0 4 if $self->verbose
193 3 1 int rand 2 ? :
217 5 3 if (ref $self->transforms eq 'ARRAY') { }
3 0 elsif ($self->transforms =~ /^\d+$/) { }
223 3 0 if (grep {$_ eq "T";} @{$self->allowed;})
227 3 0 if (grep {$_ eq "N";} @{$self->allowed;})
228 0 3 if ($self->chord_quality eq 7) { }
262 2 25 if ($token =~ /^O$/) { }
4 21 elsif ($token =~ /^I$/) { }
8 13 elsif ($token =~ /^T(-?\d+)$/) { }
273 7 6 if length $token > 1 and not $token =~ /\d/
275 7 6 defined $task ? :