Branch Coverage

blib/lib/Audio/Beep.pm
Criterion Covered Total %
branch 6 62 9.6


line true false branch
41 0 0 if @_ % 2 and $^W
43 0 1 if ($h{'player'}) { }
44 0 0 unless ref $h{'player'}
48 0 1 unless $h{'player'}
56 0 0 ref $player ? :
0 1 if $player
64 0 0 if defined $rest
84 0 0 unless local $_ = $1
86 0 0 if (/^\\(.+)/)
89 0 0 if (/^(?:bpm|tempo)(\d+)/)
90 0 0 if (/^rel/)
91 0 0 if (/^norel/)
92 0 0 if (/^transpose([',]+)/)
97 0 0 if $^W
105 0 0 unless ($note)
106 0 0 if $^W
110 0 0 if $dur
113 0 0 if ($dot)
115 0 0 if ($note eq 'r') { }
118 0 0 if ($p{'relative'}) { }
120 0 0 $diff < 0 ? :
0 0 if abs $diff > 5
125 0 0 if ($octave)
128 0 0 $mod eq 'is' ? :
0 0 if $mod
134 0 0 if $$self{'rest'}
150 0 0 if ($$p{'dot'})
175 2 0 if (eval "require $mod")
177 1 1 if defined $player
188 0 0 unless eval "require $mod"
203 0 0 unless $player ||= _best_player()