Branch Coverage

blib/lib/IPC/Run/Timer.pm
Criterion Covered Total %
branch 53 80 66.2


line true false branch
202 22 294 if (not defined $_) { }
207 2 292 if (scalar @f > 4)
211 6 314 unless (&Scalar::Util::looks_like_number($_))
225 26 0 if $interval
287 14 0 unless defined $t->exception
316 0 16 if ($arg eq 'exception') { }
0 16 elsif ($arg eq 'name') { }
0 16 elsif ($arg eq 'debug') { }
331 0 16 if $self->{'DEBUG'} or &_debugging_details()
363 6 192 unless $self->is_running
364 0 192 if $self->is_expired
368 0 192 unless defined $now
370 0 192 if $self->{'DEBUG'} or &_debugging_details()
373 176 16 if $left > 0
388 0 0 if @_
415 40 218 if (@_)
418 0 40 if $self->{'DEBUG'} > 2 or &_debugging_details()
437 14 40 if (@_)
440 0 14 if $self->{'DEBUG'} or &_debugging_details()
458 56 84 if (@_)
461 0 48 if $self->{'DEBUG'} > 2 or &_debugging_details()
463 0 48 if $self->state
482 16 0 if (defined $self->state)
484 0 16 if $self->{'DEBUG'} or &_debugging()
487 10 6 if $self->exception
498 391 30 $self->state ? :
529 0 14 if @_
532 0 0 defined $self->{'EXCEPTION'} ? :
14 0 defined $self->{'NAME'} ? :
551 0 2 if $self->{'DEBUG'} or &_debugging()
587 18 8 unless defined $now
589 4 22 if defined $interval
593 12 14 if not $self->is_reset or $interval
595 0 26 unless defined $self->interval or defined $self->end_time
602 26 0 unless defined $self->end_time
608 0 26 if $self->{'DEBUG'} or &_debugging()
621 26 26 if (@_)
624 0 26 if $self->{'DEBUG'} > 2 or &_debugging()
649 44 849 if (@_)
652 0 44 if $self->{'DEBUG'} > 2 or &_debugging()