Condition Coverage

blib/lib/JSON/Streaming/Reader.pm
Criterion Covered Total %
condition 57 81 70.3


and 3 conditions

line !l l&&!r l&&r condition
88 558 192 20 $self->_state == {} and $$self{'used'}
90 613 2 135 $char eq ',' and not $self->done_comma
117 94 427 94 $char ne '}' and $self->in_object
174 64 5 0 $need_comma and not $self->done_comma
179 11 2 0 $need_comma and not $self->done_comma
188 12 1 1 $need_comma and not $self->done_comma
197 14 2 0 $need_comma and not $self->done_comma
206 92 30 2 $need_comma and not $self->done_comma
215 78 0 88 ref $@ && $@ == {}
259 0 0 0 $start_chars < 1 and grep {$_ eq $peek;} @end_chars
260 0 0 0 $self->in_property and $peek eq '}'
449 0 0 88 ref $err and $err == {}
480 5 9 724 defined $char and $char eq $required
519 27 107 212 defined $self->_peek_char and $self->_peek_char =~ /\d/
524 0 10 124 defined $accum and $accum ne ''
540 9 78 18 defined $self->_peek_char and $self->_peek_char eq '.'
547 13 75 10 defined $self->_peek_char and $self->_peek_char =~ /e/i
552 1 9 0 defined $peek and $peek eq '+' || $peek eq '-'
663 103 110 0 $self->_state == {} and $$self{'used'}
724 284 82 1 $_[0]->in_property and $_[0]->made_value

or 3 conditions

line l !l&&r !l&&!r condition
91 44 45 46 $self->in_array or $self->in_object
263 0 0 0 $self->in_object || $self->in_array
269 0 0 0 $peek eq '[' or $peek eq '{'
270 0 0 0 $peek eq ']' or $peek eq '}'
299 2 6 8 $type eq ADD_STRING() or $type eq ADD_NUMBER()
351 12 4 15 $item_type eq 'SCALAR' or $item_type eq 'REF'
552 1 3 5 $peek eq '+' || $peek eq '-'