Branch Coverage

blib/lib/HTML/Feature.pm
Criterion Covered Total %
branch 14 34 41.1


line true false branch
32 0 8 unless ($obj)
37 8 0 unless ($pkg)
38 8 0 if (my $ref = ref $obj)
41 8 0 if ($ref eq 'SCALAR')
55 0 0 if ($pkg->isa('URI')) { }
0 0 elsif ($pkg->isa('HTTP::Response')) { }
82 8 0 ref $html ? :
91 6 2 unless ($engine)
92 0 6 $self->{'engine'} ? :
94 0 6 unless $class->require
106 1 7 exists $opts->{'element_flag'} ? :
107 0 8 exists $opts->{'cache'} ? :
124 0 0 if defined $_
137 8 0 if (ref $guess) { }
148 0 0 if $self->{'http_proxy'}
161 3 0 wantarray ? :
169 0 0 $args{'string'} ? :