Branch Coverage

blib/lib/Music/NeoRiemannianTonnetz.pm
Criterion Covered Total %
branch 24 40 60.0


line true false branch
81 1 49 unless (exists $$self{'op'}{$token}{$pset_str})
108 0 1 if ($$self{'_DEG_IN_SCALE'} < 2)
122 50 0 ref $_[0] eq 'ARRAY' ? :
124 0 50 unless @$pset
130 0 50 if (keys %origmap == 1)
131 0 0 wantarray ? :
151 80 88 if ($span < $min_span) { }
9 79 elsif ($span == $min_span) { }
159 50 0 if (@min_span_idx == 1) { }
167 0 50 unless (@normal)
176 40 10 if ($normal[0] != 0)
188 50 0 wantarray ? :
198 42 0 unless defined reftype($tokens)
205 61 0 if (exists $$self{'x'}{$t}) { }
206 54 7 if (ref $$self{'x'}{$t} eq 'CODE') { }
7 0 elsif (not defined reftype($$self{'x'}{$t}) or ref $$self{'x'}{$t} eq 'ARRAY') { }
227 0 33 unless defined $tokens
228 33 0 ref $_[0] eq 'ARRAY' ? :
229 0 33 unless @$pset
234 0 33 if (ref $tokens eq 'ARRAY') { }