Branch Coverage

blib/lib/Music/ScaleNote.pm
Criterion Covered Total %
branch 23 34 67.6


line true false branch
62 0 1 unless $name or $format or $offset
70 5 3 if ($note->format("isobase") =~ /b/ or $note->format("isobase") =~ /#/)
72 0 5 $note->format('isobase') =~ /b/ ? :
75 0 0 $equiv ? :
0 8 if $self->verbose
80 0 8 if $self->verbose
83 5 3 if ($offset < 0)
90 30 6 unless $scale[$_] eq $note->format("isobase")
95 6 2 if (defined $posn) { }
96 0 6 if $self->verbose
107 5 1 if ($rev) { }
116 1 5 if ($flat and $note->format("isobase") =~ /#/)
120 0 6 if $self->verbose
135 0 6 unless $name
141 0 6 if $self->verbose
148 1 5 if ($flat and $note->format("isobase") =~ /#/)
152 0 6 if $self->verbose