Branch Coverage

blib/lib/PHP/DateTime.pm
Criterion Covered Total %
branch 26 42 61.9


line true false branch
92 1 0 @_ ? :
94 0 1 if (@_) { }
96 0 0 if ($tzoffset =~ /^-?[0-9]+\.[0-9]+$/s) { }
0 0 elsif ($tzoffset =~ /^(-?)([0-9]+):([0-9]+)$/s) { }
108 1 62 if ($_ eq 'D') { }
1 61 elsif ($_ eq 'M') { }
1 60 elsif ($_ eq 'd') { }
1 59 elsif ($_ eq 'Y') { }
1 58 elsif ($_ eq 'g') { }
1 57 elsif ($_ eq 'i') { }
1 56 elsif ($_ eq 'a') { }
110 1 0 $times[3] < 10 ? :
112 0 1 $times[2] > 12 ? :
0 1 $times[2] == 0 ? :
113 0 1 $times[1] < 10 ? :
114 0 1 $times[2] >= 12 ? :
132 1 0 @_ ? :
140 1 0 if (wantarray) { }
156 0 1 (localtime time)[8] ? :
158 0 1 if (wantarray) { }
177 0 12 unless @_