Branch Coverage

blib/lib/Text/Extract/Word.pm
Criterion Covered Total %
branch 32 48 66.6


line true false branch
34 0 10 if (@options)
37 0 10 if (&Scalar::Util::openhandle($value)) { }
10 0 elsif (-e $value) { }
41 0 10 unless $oIo->open($value, '<')
62 0 10 unless @pps
69 0 10 unless $magic == 42476
72 10 0 $flags & 512 ? :
76 0 10 unless @pps
141 8 2 if $lcbSttbfBkmk == 0
153 0 2 unless $fcExtend == 65535
188 8 9 if ($punicode) { }
266 0 0 if ($pstart < $end) { }
267 0 0 if ($start < $pend)
290 0 10 if (unpack('C', substr($$tableref, $pos, 1)) != 2) { }
304 8 9 if (($filePos & 1073741824) == 0) { }
330 8 9 $unicode ? :
338 0 172 unless defined $position
341 172 633 if $position <= $$piece{'endPosition'}
355 86 15 $i == $start_piece ? :
356 86 15 $i == $end_piece ? :
369 2 70 if exists $$bookmark{'value'}
373 1 69 if (substr($value, 0, 1) ne "\cS")
418 79 2 if (not defined $filter) { }
2 0 elsif ($filter eq ':raw') { }