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
57 0 0 0 -f $f and is_image_path($f)
74 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
90 11 0 shift() // 1
144 3 0 chardet($text) // "ASCII"
187 2 0 chardet($r) // "ASCII"

or 3 conditions

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