Branch Coverage

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


line true false branch
90 1 0 @_ ? :
92 0 1 if (@_) { }
94 0 0 if ($tzoffset =~ /^-?[0-9]+\.[0-9]+$/s) { }
0 0 elsif ($tzoffset =~ /^(-?)([0-9]+):([0-9]+)$/s) { }
106 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') { }
108 1 0 $times[3] < 10 ? :
110 0 1 $times[2] > 12 ? :
0 1 $times[2] == 0 ? :
111 0 1 $times[1] < 10 ? :
112 0 1 $times[2] >= 12 ? :
130 1 0 @_ ? :
138 1 0 if (wantarray) { }
154 0 1 (localtime time)[8] ? :
156 0 1 if (wantarray) { }
175 0 12 unless @_