Branch Coverage

lib/Convert/Braille.pm
Criterion Covered Total %
branch 26 44 59.0


line true false branch
116 0 20 unless defined $_[0]
120 20 0 exists $$hash{$token} ? :
127 0 2 unless defined $_[0]
138 0 2 unless defined $_[0]
145 0 2 if ($unicode =~ /\x{2840}-\x{28ff}/)
158 0 2 if not defined $string or $string eq ''
165 10 0 if (/[\x{2800}-\x{28ff}]/) { }
167 8 2 if $dots
169 10 0 if $char & 1
170 6 4 if $char & 2
171 6 4 if $char & 4
172 0 10 if $char & 8
173 6 4 if $char & 16
174 0 10 if $char & 32
175 0 10 if $char & 64
176 0 10 if $char & 128
193 0 2 if not defined $string or $string eq ''
201 28 0 if ($bit =~ /[1-8]/) { }
202 20 8 if ($bit > $lastBit) { }
208 8 0 if $char
215 0 0 if $char
220 2 0 if $char