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
154 0 10 55 defined $cursorpos && $cursorpos ne ''
163 10 54 1 $usingcp and $_ eq ''
177 32 10 12 $usingcp and pos $_ >= $cursorpos
179 7 1 4 pos $_ == $cursorpos and pos $_ < length $_
201 5 4 31 $usingcp and pos($_) - 1 < $cursorpos
216 0 0 0 $usingcp and pos $_ == $cursorpos
222 0 5 9 $usingcp and $ps < $cursorpos - $oldpos - $adjust
237 0 0 0 $usingcp and pos $_ == $cursorpos
243 0 5 7 $usingcp and $ps < $cursorpos - $oldpos - $adjust
251 3 27 8 $usingcp and pos $_ == $cursorpos
264 3 1 34 $usingcp and pos $_ >= $cursorpos
282 2 4 3 $usingcp and $ps < $cursorpos - $oldpos - $adjust
291 23 5 12 $usingcp and pos $_ >= $cursorpos
299 98 0 0 length $tchrs and /\G([\Q$tchrs\E])/cog
304 0 0 0 $usingcp and pos $_ == $cursorpos
427 2 0 0 $args{'messages'} and $$self{'error'}
456 0 0 0 $$self{'keep_quotes'} and /^(['"])(.*)\1$/
506 0 0 0 length $_ == 1 and index($tchrs, $_) >= 0