Branch Coverage

blib/lib/HTML/ResolveLink.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
18 0 2 unless ($p{'base'})
22 2 0 unless ref $p{'base'}
24 1 1 if $p{'callback'}
32 2 9 if ($tagname eq 'base' and defined $$attr{'href'})
39 0 11 unless ref $links
42 3 10 unless exists $$attr{$a}
48 6 4 unless (defined $uri->scheme)
52 5 1 if ($$self{'resolvelink_callback'})
61 2 12 if $a eq '/'
64 2 9 if $$attr{'/'}