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
90 15 15 0 $equiv and $scale[$_] eq $equiv->format("isobase")
116 5 0 1 $flat and $note->format("isobase") =~ /#/
148 4 1 1 $flat and $note->format("isobase") =~ /#/

or 2 conditions

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

or 3 conditions

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