blib/lib/Text/Snippet/TabStop/Cursor.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 19 | 68.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
25 | 0 | 0 | 5 | @$stops && $$self{'i'} > 0 |
36 | 0 | 2 | 18 | @$stops && $$self{'i'} < $#{$stops;} |
58 | 30 | 52 | 0 | blessed $tab_stop && (refaddr $tab_stop == refaddr $current || $tab_stop->has_parent && refaddr($tab_stop->parent) == refaddr $current) |
69 | 15 | 0 | 19 | blessed $c && $c->can('to_string') |
89 | 15 | 0 | 19 | blessed $c && $c->can('to_string') |
line | l | !l | condition |
---|---|---|---|
69 | 9 | 10 | $c->to_string || '' |
89 | 9 | 10 | $c->to_string || '' |