Branch Coverage

blib/lib/Encode/Bootstring.pm
Criterion Covered Total %
branch 46 70 65.7


line true false branch
110 26 36 if not exists $$self{'maxord'} or $$self{'maxord'} < ord $_
116 61 62 if (not exists $$self{'ord'}{$c}) { }
133 2 12 $c > $$self{'maxord'} ? :
141 20 2 exists $$self{'ord'}{$c} ? :
165 2 2 $firsttime ? :
192 0 1 if (exists $$self{'DEBUG'})
202 1 0 unless (exists $$self{'BasicRE'})
208 0 1 if (exists $$self{'DEBUG'})
219 1 0 if $b > 0
221 0 1 if (exists $$self{'DEBUG'})
222 0 0 if (@basic) { }
236 0 2 if (exists $$self{'DEBUG'})
243 17 3 if $c < $n
244 2 18 if ($c == $n)
248 2 1 $k >= $bias + $$self{'TMAX'} ? :
1 3 $k <= $bias ? :
250 2 2 if $q < $t
261 0 2 if (exists $$self{'DEBUG'})
271 0 1 if (exists $$self{'DEBUG'})
281 1 0 if $_ <= $min
299 0 1 if (exists $$self{'DEBUG'})
312 0 1 if (exists $$self{'DEBUG'})
317 1 0 if ($code =~ s/(.*)$$self{'DELIMITER'}//o) { }
319 0 1 if (exists $$self{'DEBUG'})
326 0 8 unless $bas =~ /$_/o
329 0 0 if (exists $$self{'DEBUG'})
338 0 2 if (exists $$self{'DEBUG'})
345 0 4 if (exists $$self{'DEBUG'})
348 0 4 unless defined $digit
350 2 1 $k >= $bias + $$self{'TMAX'} ? :
1 3 $k <= $bias ? :
355 2 2 if $digit < $t
358 0 2 if (exists $$self{'DEBUG'})
362 0 2 if (exists $$self{'DEBUG'})
368 0 2 if (exists $$self{'DEBUG'})