Branch Coverage

blib/lib/Time/DeltaString.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
96 3 1 if (($H, $M, $S) = $time =~ /^(\d+):(\d{2}):(\d{2})$/) { }
1 0 elsif (($M, $S) = $time =~ /^(\d+):(\d{2})$/) { }
0 0 elsif ($time =~ /^\d+$/) { }
115 4 25 if ($s =~ /:/)
118 0 4 if $@
124 78 97 if (my $v = int $s / $$_[1])
132 29 0 @res ? :
142 0 1 unless $td =~ /^(?:\d+$conversions)*$/