Branch Coverage

blib/lib/HTML/TreeBuilder/Select.pm
Criterion Covered Total %
branch 5 38 13.1


line true false branch
22 0 0 unless @_
23 0 0 unless @_
45 0 0 unless my $container = $self->container
47 0 0 $self->__fake_container ? :
48 0 0 if (ref $_)
60 0 0 if $container
62 0 0 if (1 == @content and ref $content[0]) { }
69 0 0 unless $container
103 0 2 unless my $query = shift()
107 0 2 if ($query =~ s/^~//) { }
2 0 elsif (not ref $query) { }
116 2 0 wantarray ? :
2 0 unless $operation
118 0 0 if (ref $operation eq 'CODE') { }
0 0 elsif ($operation =~ /^#$/i) { }
123 0 0 if (not $directive or $directive eq 'keep') { }
0 0 elsif ($directive eq 'replace') { }
0 0 elsif ($directive eq 'delete') { }
127 0 0 if (ref $replacement eq 'ARRAY')