Branch Coverage

lib/Cron/Toolkit/Pattern/Last.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
13 4 6 if ($args{'field_type'} eq 'dow') { }
6 0 elsif ($args{'field_type'} eq 'dom') { }
15 3 1 if ($args{'value'} =~ /^(\d+)L$/i) { }
22 6 0 if ($args{'value'} =~ /^L-?(\d*)$/i)
23 5 1 $1 eq '' ? :
33 55495 106 if ($self->field_type eq "dom")
38 106 0 if ($self->field_type eq "dow")
56 6 4 if ($self->field_type eq "dom")
57 5 1 if ($self->{'offset'} == 0) { }
64 4 0 if ($self->field_type eq "dow")