Branch Coverage

blib/lib/HTML/SimpleLinkExtor.pm
Criterion Covered Total %
branch 34 36 94.4


line true false branch
45 3 16 unless (exists $AUTO_METHODS{$method})
57 6 8 unless $self->_can($method)
66 3 11 if exists $AUTO_METHODS{$_[1]}
67 5 6 if defined &{"$_[1]";}
75 10 10 unless (ref $links eq ref [])
95 33 9 if (ref $self->{'_SimpleLinkExtor_links'}) { }
106 19 23 unless (defined $self->{'_SimpleLinkExtor_base'})
111 391 2 unless $link->[0] eq 'base' and $link->[1] eq 'href'
130 13 3 $AUTO_METHODS{$type} eq 'tag' ? :
144 17 25 unless $base
148 702 606 unless exists $AUTO_METHODS{$tuple->[$index]}
151 0 606 unless ref $url
377 1 1 unless $data
410 76 1 if exists $AUTO_METHODS{$_[1]}
496 8 8 wantarray ? :
520 1 1 wantarray ? :
545 1 1 wantarray ? :
587 0 181 unless ref $arrayref eq ref []