Branch Coverage

blib/lib/Text/Find/Scalar.pm
Criterion Covered Total %
branch 18 18 100.0


line true false branch
28 1 6 unless defined $text
29 1 5 if ref $text
40 1 4 wantarray ? :
55 1 3 unless defined $name
56 1 2 unless $name =~ /\A\$/
69 1 13 if $count > $#{$self->_elements;}
81 13 1 if ($count < scalar @$all)
93 26 28 if defined $count
101 5 36 if scalar @elements > 0