Condition Coverage

blib/lib/String/Util.pm
Criterion Covered Total %
condition 10 20 50.0


and 3 conditions

line !l l&&!r l&&r condition
375 4 0 0 $opts{'braces'} and not $found
440 2 2 4 defined $str1 and defined $str2
540 0 0 0 not $opts{'convert_spaces'} and $char =~ /^\s$/su

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
371 0 1 3 my $found = $val =~ s/^\`(.*)\`$/$1/su or $val =~ s/^\"(.*)\"$/$1/su
376 0 0 0 $val =~ s/^\[(.*)\]$/$1/su or $val =~ s/^\((.*)\)$/$1/su
445 2 0 2 defined $str1 or defined $str2