Condition Coverage

lib/Pod/Xhtml.pm
Criterion Covered Total %
condition 50 71 70.4


and 2 conditions

line l !l condition
116 0 7 @{$$self{'sections'};} > 1 && ''
546 1 4 $previous_section ne 'over' && "\n"

and 3 conditions

line !l l&&!r l&&r condition
169 217 2 2 $in_dsection && $$self{'dataSections'}[-1] =~ /(?:pod2)?xhtml/
170 217 2 2 $in_dsection && !$p2x_region
211 93 0 29 /^head1/ and not $data_para
228 69 0 24 /^head([234])/ and not $data_para
243 33 0 36 /^item/ and not $data_para
253 0 22 14 @{$$self{'listKind'};} and $$self{'listKind'}[-1] == 0
255 8 5 1 $parent_list and $parent_list == 1
8 0 5 $parent_list and $parent_list == 2
283 0 16 20 @{$$self{'listKind'};} and $$self{'listKind'}[-1] == 2
284 0 8 12 @{$$self{'tagStack'};} and $$self{'tagStack'}[-1] eq 'dd'
304 19 0 14 /^over/ and not $data_para
311 19 0 14 /^back/ and not $data_para
313 0 8 6 @{$$self{'listKind'};} and $$self{'listKind'}[-1] == 1
328 0 8 8 @{$$self{'tagStack'};} and $$self{'tagStack'}[-1] eq 'dd'
339 8 5 1 $parent_list and $parent_list == 1
346 8 1 5 $parent_list and $parent_list == 2
370 18 0 1 /^for/ and not $data_para
375 17 0 2 /^begin/ and not $data_para
406 0 22 20 @{$$self{'listKind'};} and $$self{'listKind'}[-1] == 1

or 2 conditions

line l !l condition
64 0 7 $$self{'TopHeading'} ||= 1
522 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
63 7 0 0 $$self{'LinkParser'} ||= 'Pod::Hyperlink'->new
406 56 0 42 not @{$$self{'listKind'};} or $$self{'listKind'}[-1] == 0