Condition Coverage

blib/lib/Music/Chord/Progression.pm
Criterion Covered Total %
condition 12 26 46.1


and 3 conditions

line !l l&&!r l&&r condition
197 7 0 0 $substitute eq $chord and $i < @progression
7 0 0 $substitute eq $chord and $i < @progression and $self->sub_cond->()
337 10 0 0 $self->verbose and $substitute ne $chord

or 2 conditions

line l !l condition
244 36 6 $v //= 1

or 3 conditions

line l !l&&r !l&&!r condition
261 1 0 0 $self->graph->random_successor($v) || $self->_full_keys
295 0 0 0 $ftritone{$self->scale->[$n - 1]} || $stritone{$self->scale->[$n - 1]}
314 4 4 2 $chord eq "" or $chord eq "m"
1 0 1 $chord eq "dim" or $chord eq "aug"
0 0 1 $chord eq -5 or $chord eq -9