Condition Coverage

blib/lib/EBook/MOBI/Driver/POD.pm
Criterion Covered Total %
condition 26 39 66.6


and 3 conditions

line !l l&&!r l&&r condition
221 5 4 0 exists $parser->{'EBook_MOBI_Pod2Mhtml_firstH1passed'} and exists $parser->{'EBook_MOBI_Pod2Mhtml_pages'}
1 3 0 exists $parser->{'EBook_MOBI_Pod2Mhtml_firstH1passed'} and exists $parser->{'EBook_MOBI_Pod2Mhtml_pages'} and $parser->{'EBook_MOBI_Pod2Mhtml_pages'}
245 23 6 0 exists $parser->{'EBook_MOBI_Pod2Mhtml_firstH1passed'} and exists $parser->{'EBook_MOBI_Pod2Mhtml_pages'}
4 2 0 exists $parser->{'EBook_MOBI_Pod2Mhtml_firstH1passed'} and exists $parser->{'EBook_MOBI_Pod2Mhtml_pages'} and $parser->{'EBook_MOBI_Pod2Mhtml_pages'}
306 0 13 7 $parser->{'EBook_MOBI_Pod2Mhtml_list'}[$lvl]{'state'} eq 'over' and $lvl > 0
13 1 6 $parser->{'EBook_MOBI_Pod2Mhtml_list'}[$lvl]{'state'} eq 'over' and $lvl > 0 and $parser->{'EBook_MOBI_Pod2Mhtml_list'}[$lvl - 1]{'items'} > 0
472 15 12 2 $parser->{'EBook_MOBI_Pod2Mhtml_list'}[$lvl]{'items'} > 0 and $parser->{'EBook_MOBI_Pod2Mhtml_list'}[$lvl]{'contentInCmd'} == 1
498 10 3 2 $parser->{'EBook_MOBI_Pod2Mhtml_list'}[$lvl]{'blockquotes'} == 1 and $lvl > 0
13 1 1 $parser->{'EBook_MOBI_Pod2Mhtml_list'}[$lvl]{'blockquotes'} == 1 and $lvl > 0 and $parser->{'EBook_MOBI_Pod2Mhtml_list'}[$lvl - 1]{'items'} > 0
594 0 0 2 $module and $section
0 0 0 $module and not $section
0 0 0 $module && $section

or 3 conditions

line l !l&&r !l&&!r condition
570 2 3 4 $link =~ /^http.*$/ or $link =~ /^.*\.{1}\w{2,5}$/