Condition Coverage

blib/lib/Music/Cadence.pm
Criterion Covered Total %
condition 31 38 81.5


and 3 conditions

line !l l&&!r l&&r condition
77 24 4 16 $type eq "imperfect" and $inversion
22 0 2 $type eq "evaded" and $self->seven
145 11 0 2 $inversion and $inversion->{'1'}
150 11 2 0 $inversion and $inversion->{'2'}
276 74 10 26 $octave and $self->format ne "midinum"

or 2 conditions

line l !l condition
68 44 16 $args{'type'} || 'perfect'
69 14 46 $args{'leading'} || 1
70 4 56 $args{'variation'} || 1
71 19 41 $args{'inversion'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
64 19 41 0 $args{'key'} || $self->key
65 6 54 0 $args{'scale'} || $self->scale
66 13 5 42 $args{'octave'} // $self->octave
67 3 0 57 $args{'picardy'} || $self->picardy
73 0 1 59 $leading < 1 or $leading > 7