Branch Coverage

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


line true false branch
63 0 1 unless $name or $format or $offset
71 5 3 if ($note->format('isobase') =~ /b/ or $note->format('isobase') =~ /#/)
73 0 5 $note->format('isobase') =~ /b/ ? :
76 0 0 $equiv ? :
0 8 if $self->verbose
81 0 8 if $self->verbose
84 5 3 if ($offset < 0)
91 30 6 unless $scale[$_] eq $note->format('isobase')
96 6 2 if (defined $posn) { }
97 0 6 if $self->verbose
108 5 1 if ($rev) { }
117 1 5 if ($flat and $note->format('isobase') =~ /#/)
121 0 6 if $self->verbose
136 0 6 unless $name
142 0 6 if $self->verbose
149 1 5 if ($flat and $note->format('isobase') =~ /#/)
153 0 6 if $self->verbose