Branch Coverage

blib/lib/Palm/Doc.pm
Criterion Covered Total %
branch 39 58 67.2


line true false branch
105 0 3 unless exists $$record{'data'}
108 0 3 if length $$record{'data'} < 16
120 0 3 if $version != 1 and $version != 2
121 0 3 if $spare != 0
134 0 2 if $version == 1
148 528 42 if ($i > 10 and $lin - $i > 10)
160 8 4216 if $match >= 0 and $i - $match <= 2047
165 8 0 if ($match >= 0 and $n <= 10 and $n >= 3)
181 368 194 if ($i + 1 < $lin and $ch eq ' ')
185 0 368 if ($onch >= 64 and $onch < 128)
194 372 190 if ($och == 0 or $och >= 9 and $och < 128) { }
206 190 0 if ($next =~ /([\x01-\x08\x80-\xff]{1,8})/o)
223 0 1 if $version == 1
233 95 190 if ($och >= 1 and $och <= 8) { }
186 4 elsif ($och < 128) { }
0 4 elsif ($och >= 192) { }
255 0 12 unless $lo - $m >= 0
268 1 1 $prc ? :
270 0 2 unless (defined _parse_headerrec($header))
296 2 1 if (@_ > 0) { }
1 0 elsif (defined wantarray) { }
305 1 1 $prc ? :
313 1 1 $prc ? :
321 2 0 if $$header{'length'} < 4096
331 1 0 $prc ? :
334 1 0 if (defined _parse_headerrec($header))
340 0 1 $_[0] < $_[1] ? :
347 0 1 if $@
366 0 2 unless open IN, "< $filename"