Branch Coverage

blib/lib/Math/Expression/Evaluator/Parser.pm
Criterion Covered Total %
branch 48 50 96.0


line true false branch
138 499 4079 if (defined $next and $$next[0] eq $cmp)
149 25 1397 unless $$self{'tokens'}[$$self{'token_pointer'} + $i]
151 1136 261 unless $ref eq $v
185 4 0 if (scalar @_ > 1) { }
201 6 1025 unless ref $next
202 1021 4 if ($$next[0] eq $m) { }
216 85 623 if ($self->_lookahead('Name', 'OpenParen')) { }
79 544 elsif ($self->_is_next_token('Name')) { }
6 538 elsif ($self->_lookahead('AddOp', 'Float')) { }
234 8 77 if ($self->_is_next_token('ClosingParen'))
241 2 2 if $self->_is_next_token('ClosingParen')
261 10 286 if ($self->_is_next_token('AssignmentOp'))
265 4 289 if ($$self{'config'}{'force_semicolon'}) { }
268 3 1 if ($self->_next_token)
273 7 282 if ($self->_is_next_token('Colon'))
287 7 3 if (is_lvalue($e)) { }
305 87 70 if ($op eq '*') { }
37 33 elsif ($op eq '/') { }
33 0 elsif ($op eq '%') { }
327 21 425 if (my $op = $self->_is_next_token('AddOp')) { }
330 4 17 if ($op eq '+') { }
339 95 27 if ($op eq '+') { }
355 53 708 if ($self->_is_next_token('OpenParen')) { }
370 36 682 if ($self->_is_next_token('ExpOp')) { }
379 1070 205 if @_ == 2