Condition Coverage

blib/lib/EBook/MOBI/MobiPerl/Util.pm
Criterion Covered Total %
condition 0 54 0.0


and 3 conditions

line !l l&&!r l&&r condition
57 0 0 0 $x == 510 and $y == 680
61 0 0 0 $x == 600 and $y == 800
185 0 0 0 $tochref and $config->toc_first
484 0 0 0 defined $text and $text
538 0 0 0 $filesize < $maxsize and !$rescale_large_images || $x <= $maxwidth && $y <= $maxheight
0 0 0 $filesize < $maxsize and !$rescale_large_images || $x <= $maxwidth && $y <= $maxheight and $type ne 'PNG'
0 0 0 $filesize < $maxsize and !$rescale_large_images || $x <= $maxwidth && $y <= $maxheight and $type ne 'PNG' and !defined($scale_factor) || $scale_factor == 1
593 0 0 0 defined $scale_factor and $scale_factor != 1
627 0 0 0 length MobiPerl::Util::get_gd_image_data($p, $filename, $quality) > $maxsize and $quality >= 0
722 0 0 0 $c and ref $c eq 'HTML::Element'
724 0 0 0 $tag eq 'br' and ref $c eq 'HTML::Element'
0 0 0 $tag eq 'br' and ref $c eq 'HTML::Element' and defined $content[$i + 1]
0 0 0 $tag eq 'br' and ref $c eq 'HTML::Element' and defined $content[$i + 1] and ref $content[$i + 1]
0 0 0 $tag eq 'br' and ref $c eq 'HTML::Element' and defined $content[$i + 1] and ref $content[$i + 1] and $content[$i + 1]->tag eq 'br'

or 3 conditions

line l !l&&r !l&&!r condition
110 0 0 0 $f =~ /\.jpg/ or $f =~ /\.JPG/
0 0 0 $f =~ /\.jpg/ or $f =~ /\.JPG/ or $f =~ /\.gif/
538 0 0 0 !$rescale_large_images || $x <= $maxwidth && $y <= $maxheight
0 0 0 !defined($scale_factor) || $scale_factor == 1