Condition Coverage

blib/lib/Text/Shellwords/Cursor.pm
Criterion Covered Total %
condition 32 54 59.2


and 3 conditions

line !l l&&!r l&&r condition
155 0 10 55 defined $cursorpos && $cursorpos ne ''
164 10 54 1 $usingcp and $_ eq ''
178 32 10 12 $usingcp and pos $_ >= $cursorpos
180 7 1 4 pos $_ == $cursorpos and pos $_ < length $_
202 5 4 31 $usingcp and pos($_) - 1 < $cursorpos
217 0 0 0 $usingcp and pos $_ == $cursorpos
223 0 5 9 $usingcp and $ps < $cursorpos - $oldpos - $adjust
238 0 0 0 $usingcp and pos $_ == $cursorpos
244 0 5 7 $usingcp and $ps < $cursorpos - $oldpos - $adjust
252 3 27 8 $usingcp and pos $_ == $cursorpos
265 3 1 34 $usingcp and pos $_ >= $cursorpos
283 2 4 3 $usingcp and $ps < $cursorpos - $oldpos - $adjust
292 23 5 12 $usingcp and pos $_ >= $cursorpos
300 98 0 0 length $tchrs and /\G([\Q$tchrs\E])/cog
305 0 0 0 $usingcp and pos $_ == $cursorpos
428 2 0 0 $args{'messages'} and $$self{'error'}
457 0 0 0 $$self{'keep_quotes'} and /^(['"])(.*)\1$/
507 0 0 0 length $_ == 1 and index($tchrs, $_) >= 0