Condition Coverage

blib/lib/String/Util.pm
Criterion Covered Total %
condition 23 35 65.7


and 3 conditions

line !l l&&!r l&&r condition
377 4 0 0 $opts{'braces'} and not $found
442 2 2 4 defined $str1 and defined $str2
542 0 0 0 not $opts{'convert_spaces'} and $char =~ /^\s$/su
629 3 2 7 defined $str and defined $substr
663 3 2 7 defined $str and defined $substr
697 3 2 7 defined $str and defined $substr
837 1 1 5 defined $needle and defined $haystack

or 2 conditions

line l !l condition
759 1 3 shift() // "_"

or 3 conditions

line l !l&&r !l&&!r condition
373 0 1 3 my $found = $val =~ s/^\`(.*)\`$/$1/su or $val =~ s/^\"(.*)\"$/$1/su
378 0 0 0 $val =~ s/^\[(.*)\]$/$1/su or $val =~ s/^\((.*)\)$/$1/su
447 2 0 2 defined $str1 or defined $str2
838 0 0 5 $haystack eq "" or $needle eq ""