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
75 24 4 16 $type eq "imperfect" and $inversion
22 0 2 $type eq "evaded" and $self->seven
143 11 0 2 $inversion and $inversion->{'1'}
148 11 2 0 $inversion and $inversion->{'2'}
274 74 10 26 $octave and $self->format ne "midinum"

or 2 conditions

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

or 3 conditions

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