Condition Coverage

lib/Badger/Logic.pm
Criterion Covered Total %
condition 15 30 50.0


and 3 conditions

line !l l&&!r l&&r condition
64 0 0 21 @_ && ref $_[0] eq 'HASH'
178 0 0 41 @_ && ref $_[0] eq 'HASH'
204 5 5 5 $self->[0]->evaluate(@_) && $self->[1]->evaluate(@_)

or 2 conditions

line l !l condition
87 22 0 $self->parse_expr($tref) || (return $self->error_msg('parse', $$tref))
99 73 0 $self->parse_unary($text) || (return)
106 35 0 $self->parse_expr($text) || (return $self->error_msg('no_rhs', $op))
111 0 0 $self->parse_expr($text) || (return $self->error_msg('no_rhs', '('))
129 13 0 $self->parse_term($text) || (return $self->error_msg('no_rhs', $op))
150 16 0 $self->parse_expr($text) || (return $self->error_msg('no_rhs', '('))

or 3 conditions

line l !l&&r !l&&!r condition
71 0 22 0 $self->{'tree'} ||= $self->parse($self->{'text'})
133 60 0 0 $self->parse_term($text) || $self->decline('Not a unary expression')
219 6 6 4 $self->[0]->evaluate(@_) || $self->[1]->evaluate(@_)