Condition Coverage

blib/lib/Pod/MultiLang/Pod.pm
Criterion Covered Total %
condition 40 85 47.0


and 3 conditions

line !l l&&!r l&&r condition
101 0 0 0 defined $_ and $$parser{'langs'}[$i]
0 0 0 defined $_ and $$parser{'langs'}[$i] and $$parser{'langs'}[$i] eq 'en'
131 0 0 35 @_ && ref $_[0] eq 'HASH'
194 0 35 35 defined $_ and not m[/$]
365 4 1 1 $cmd_name ne 'J' and $cmd_name ne 'L'
377 0 1 0 not defined $child[$idx_default_lang] and grep {defined $_;} @child[0 .. $#{$$parser{'langs'};}]
403 1 0 0 not $section and $name =~ / /
431 0 1 0 defined $idx_default_lang and not defined $child[$idx_default_lang]
1 0 0 defined $idx_default_lang and not defined $child[$idx_default_lang] and grep {defined $_;} @child[0 .. $#{$$parser{'langs'};}]
456 2 0 1 defined $text1 and $text1 ne ''
2 0 0 defined $text2 and $text2 ne ''
628 0 0 0 $paratype == 8 and $$_[2] eq $blockstack[-1][0][2]
642 2 78 0 $paratype != 8 and $blk
80 0 0 $paratype != 8 and $blk and $$blk[1] eq 'verbatim'

or 2 conditions

line l !l condition
145 0 35 $arg{'default_lang'} || 'en'
146 20 15 $arg{'in_charset'} || 'utf-8'
147 20 15 $arg{'out_charset'} || 'utf-8'
189 35 0 'File::Spec'->abs2rel(cwd(), $outdir) || ''
348 0 42 $parser->_find_lang_index($$parser{'_default_lang'}) || 0
492 4 0 ($iseq->parse_tree->children)[0] || ''
564 2 0 ($paraobj->cmd_name =~ /(\d)/)[0] || 0
641 0 0 ref $_ || ''

or 3 conditions

line l !l&&r !l&&!r condition
449 1 0 0 $$parser{'_langstack'}[-1] || $$parser{'_default_lang'}
456 0 0 2 defined $text1 or defined $text2
642 0 0 80 $paratype == 1 or $paratype != 8 and $blk and $$blk[1] eq 'verbatim'
666 2 2 40 $paratype == 7 or $paratype == 8
4 2 38 $paratype == 7 or $paratype == 8 or $paratype == 9
4 2 36 $paratype == 7 or $paratype == 8 or $paratype == 9 or $paratype == 10
4 36 0 $paratype == 7 or $paratype == 8 or $paratype == 9 or $paratype == 10 or $paratype == 11
38 0 0 $paratype == 7 or $paratype == 8 or $paratype == 9 or $paratype == 10 or $paratype == 11 or $paratype == 12
711 0 0 0 $type eq 'ul' or $type eq 'ol'