Condition Coverage

blib/lib/Timer/Milestones.pm
Criterion Covered Total %
condition 27 37 72.9


and 3 conditions

line !l l&&!r l&&r condition
152 7 1 123 &blessed($arguments[0]) and $arguments[0]->isa('Timer::Milestones')
450 6 62 56 $unit_spec->{'max'} and $elapsed_time >= $unit_spec->{'max'}

or 2 conditions

line l !l condition
372 11 2 $element->{'arguments_seen'} ||= []
399 17 5 $total_elapsed_time ||= 1e-06
535 30 21 $self->{'milestones'} ||= []
627 36 7 $self->{'milestones'}[-1]{'function_calls'} ||= []
675 6 4 $self->{'wrapped_functions'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
124 0 20 0 ref $invocant || $invocant
135 4 16 0 $self->{'get_time'} ||= $self->_default_get_time
136 4 16 0 $self->{'notify_report'} ||= $self->_default_notify_report
155 6 2 0 $singleton ||= 'Timer::Milestones'->new
201 32 1 0 $milestone_name || $self->_milestone_name
521 13 0 0 $self->{'notify_report'} ||= $self->_default_notify_report
551 140 0 0 $self->{'get_time'} ||= $self->_default_get_time