Condition Coverage

blib/lib/Music/ScaleNote.pm
Criterion Covered Total %
condition 22 32 68.7


and 3 conditions

line !l l&&!r l&&r condition
91 15 15 0 $equiv and $scale[$_] eq $equiv->format('isobase')
117 5 0 1 $flat and $note->format('isobase') =~ /#/
149 4 1 1 $flat and $note->format('isobase') =~ /#/

or 2 conditions

line l !l condition
133 5 1 $args{'steps'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
59 4 4 0 $args{'note_format'} || $self->note_format
60 5 3 0 $args{'offset'} || $self->offset
61 1 0 7 $args{'flat'} || $self->flat
63 7 1 0 $name or $format
8 0 0 $name or $format or $offset
71 0 5 3 $note->format('isobase') =~ /b/ or $note->format('isobase') =~ /#/
134 2 0 4 $args{'flat'} || $self->flat