Condition Coverage

blib/lib/EBook/Ishmael/EBook/Zip.pm
Criterion Covered Total %
condition 9 24 37.5


and 3 conditions

line !l l&&!r l&&r condition
49 0 0 0 -f $f and is_image_path($f)
66 0 22 11 -f $f and is_image_path($f)
0 0 22 -f $f and $f =~ /\.(x?html?|txt)$/u

or 2 conditions

line l !l condition
82 11 0 shift() // 1
136 3 0 chardet($text) // "ASCII"
178 2 0 chardet($r) // "ASCII"

or 3 conditions

line l !l&&r !l&&!r condition
111 0 11 0 $self->{'_cover'} //= $self->{'_images'}[0]
146 3 0 0 $body //= $dom->documentElement
188 3 0 0 $body //= $dom->documentElement