Branch Coverage

lib/Test/Pod/Links.pm
Criterion Covered Total %
branch 55 56 98.2


line true false branch
30 1 5 unless (@files)
36 2 3 unless (@pod_files)
43 1 3 unless ($self->pod_file_ok($file))
50 2 1 if $rc
57 1 36 if @_ % 2
70 7 28 if (exists $args{'ignore'})
72 2 5 if (ref $ignore eq ref []) { }
82 8 27 if (exists $args{'ignore_match'})
84 4 4 if (ref $ignore_match eq ref []) { }
96 12 23 $ignore_regex ne '' ? :
101 7 22 if $key eq 'ignore'
102 8 14 if $key eq 'ignore_match'
103 13 1 if $key eq 'ua'
114 3 13 if @_ != 2 or not defined $file
118 1 12 unless (-f $file)
127 1 11 if ($pod->any_errata_seen)
137 32 0 if defined $_
142 3 8 if (defined $ignore_regex)
152 2 24 if exists $url_checked_in_this_file{$link}
155 21 3 unless (exists $self->{'_cache'}{$link})
162 2 22 unless ($res->{'success'})
170 9 2 if $rc
177 2 138 if @_ != 2 or ref $node_ref ne ref [] or scalar @{$node_ref;} < 2
182 48 90 if ($elem_name eq 'L')
188 161 124 if ref $subnode ne ref []
199 37 51 if (@_)
210 40 13 if (@_)
212 3 37 unless &Scalar::Util::blessed($ua) and $ua->can('head')