Branch Coverage

blib/lib/Text/Snippet/TabStop/Cursor.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
18 0 3 unless blessed($args{'snippet'}) eq 'Text::Snippet'
30 5 0 $self->has_prev ? :
41 12 0 $self->has_next ? :
46 2 100 unless $$self{'i'} >= 0
48 100 0 if (exists $$stops[$$self{'i'}])
65 1 7 unless defined $current
68 7 34 if $self->_is_current($c)
69 19 15 blessed $c && $c->can('to_string') ? :
71 8 32 if ($char eq "\n") { }
86 1 7 unless defined $current
88 7 34 if $self->_is_current($c)
89 19 15 blessed $c && $c->can('to_string') ? :
97 0 2 unless defined $self->current