Condition Coverage

blib/lib/Zoidberg/StringParser.pm
Criterion Covered Total %
condition 32 41 78.0


and 3 conditions

line !l l&&!r l&&r condition
74 479 0 2639 not $token and $string =~ s/\A(.*?)($expr\z)//s
102 0 1291 12 exists $$slice{'s_esc'} and $1 =~ /$$slice{'s_esc'}$/
104 7 4 1 $type eq 'tokens' and not $$self{'settings'}{'no_esc_rm'}
169 1546 409 84 $token and $token ne '_CUT'
172 1 2038 0 $s_i || ++$i != $int and length $string || scalar @$input
189 1364 1 184 $$gram[-1]{'was_regexp'} and not $$self{'settings'}{'no_split_intel'}
206 17 3 636 not exists $$ref{'s_esc'} and exists $index{'s_esc'}

or 2 conditions

line l !l condition
28 23 0 shift() || {}
22 1 shift() || {}
19 4 shift() || {}
172 478 1560 length $string || scalar @$input

or 3 conditions

line l !l&&r !l&&!r condition
50 0 0 0 $$self{'collection'}{$_} || $error++
66 1550 0 1 length $string or @$input
82 1312 0 1327 length $sign or length $string
172 2 2036 1 $s_i || ++$i != $int