Branch Coverage

blib/lib/App/timecalc.pm
Criterion Covered Total %
branch 17 22 77.2


line true false branch
47 3 12 if (defined $+{'h1_colon'} or defined $+{'h1_nocolon'}) { }
8 4 elsif (defined $+{'hplus_colon'} or defined $+{'hplus_nocolon'}) { }
4 0 elsif (defined $+{'hminus_colon'} or defined $+{'hminus_nocolon'}) { }
50 1 2 defined $+{'h1_colon'} ? :
53 1 2 defined $+{'h2_colon'} ? :
54 0 3 if ($h1 > 24)
55 0 3 if ($h2 > 24)
56 0 3 if ($h2 < $h1 or $h2 <= $h1 and $m2 <= $m1)
61 6 2 if (defined $+{'hplus_colon'}) { }
71 2 2 if (defined $+{'hminus_colon'}) { }
85 0 11 if length $str