Condition Coverage

blib/lib/EBook/Ishmael/EBook/Zip.pm
Criterion Covered Total %
condition 9 22 40.9


and 3 conditions

line !l l&&!r l&&r condition
48 0 0 0 -f $f and is_image_path($f)
65 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
80 1 10 shift() // "UTF-8"
81 11 0 shift() // 1

or 3 conditions

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