Condition Coverage

blib/lib/Time/DoAfter.pm
Criterion Covered Total %
condition 14 24 58.3


and 3 conditions

line !l l&&!r l&&r condition
26 0 0 10 !ref($thing) && defined $thing && !($thing =~ /^[\d\.]+$/)

or 2 conditions

line l !l condition
20 10 3 $set->{'label'} or '_label'
66 3 2 $self->{$label}{'wait'} // 0
67 3 1 $self->{$label}{'do'} || sub { }
72 0 0 $self->{$label}{'wait'}[0] // 0
73 0 0 $self->{$label}{'wait'}[1] // 0
119 4 0 $self->{'history'} || []

or 3 conditions

line l !l&&r !l&&!r condition
26 1 2 10 ref $thing eq 'ARRAY' || !ref($thing) && defined $thing && $thing =~ /^[\d\.]+$/
66 0 0 5 $input->{$label}{'wait'} //= $self->{$label}{'wait'} // 0
67 1 4 0 $input->{$label}{'do'} ||= $self->{$label}{'do'} || sub { }