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
380 1 1 unless $data
413 76 1 if exists $AUTO_METHODS{$_[1]}
499 8 8 wantarray ? :
523 1 1 wantarray ? :
548 1 1 wantarray ? :
590 0 181 unless ref $arrayref eq ref []