Condition Coverage

blib/lib/Timer/Milestones.pm
Criterion Covered Total %
condition 29 40 72.5


and 3 conditions

line !l l&&!r l&&r condition
184 13 1 150 &blessed($arguments[0]) and $arguments[0]->isa('Timer::Milestones')
523 6 82 56 $unit_spec->{'max'} and $elapsed_time >= $unit_spec->{'max'}

or 2 conditions

line l !l condition
407 11 2 $element->{'arguments_seen'} ||= []
434 23 5 $total_elapsed_time ||= 1e-06
669 36 26 $self->{'milestones'} ||= []
820 44 12 $self->{'milestones'}[-1]{'function_calls'} ||= []
869 7 7 $self->{'wrapped_functions'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
156 0 25 0 ref $invocant || $invocant
167 4 21 0 $self->{'get_time'} ||= $self->_default_get_time
168 5 20 0 $self->{'notify_report'} ||= $self->_default_notify_report
187 11 3 0 $singleton ||= 'Timer::Milestones'->new
233 38 1 0 $milestone_name || $self->_milestone_name
655 15 1 0 $self->{'notify_report'} ||= $self->_default_notify_report
685 177 0 0 $self->{'get_time'} ||= $self->_default_get_time
799 0 4 0 $args{'report_name_as'} ||= $function_name