Condition Coverage

blib/lib/HTML/FormatText/WithLinks.pm
Criterion Covered Total %
condition 33 38 86.8


and 3 conditions

line !l l&&!r l&&r condition
76 24 1 4 $$self{'base'} and not $$self{'doc_overrides_base'}
109 4 29 1 $href and $$self{'anchor_links'} == 0
33 0 1 $href and $$self{'anchor_links'} == 0 and $href =~ /^#/o
4 24 5 $href and $$self{'skip_linked_urls'}
28 2 3 $href and $$self{'skip_linked_urls'} and $href eq $node->as_text
143 29 2 3 $$self{'skip_linked_urls'} and $node->attr('href') eq $node->as_text
190 0 11 18 $$self{'_links'} and @{$$self{'_links'};}
11 2 16 $$self{'_links'} and @{$$self{'_links'};} and $$self{'footnote'}
217 0 5 72 $$self{'_links'} and @{$$self{'_links'};}
218 36 0 36 defined $num and defined $href
246 1 1 1 -e $file and -f $file

or 2 conditions

line l !l condition
108 30 4 $node->attr('href') || ''

or 3 conditions

line l !l&&r !l&&!r condition
14 1 32 0 ref $proto || $proto