Branch Coverage

blib/lib/Dancer2/Core/Time.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
16 0 32 if $seconds =~ /^\d+$/
30 6 25 unless $self->seconds =~ /^[\-\+]?\d+$/
43 6 54 unless $epoch =~ /^\d+$/
66 47 32 if $args{'expression'} =~ /^\d+$/
92 2 30 if ($timespec =~ /^\s*([-+]?\d+(?:[.,]\d+)?)\s*$/)
105 25 12 unless length $unit == 1
107 34 3 if (my $value = $Units{$unit}) { }
116 3 26 if ($timespec =~ /\S/)