blib/lib/PHP/DateTime.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 26 | 42 | 61.9 |
line | true | false | branch |
---|---|---|---|
91 | 1 | 0 | @_ ? : |
93 | 0 | 1 | if (@_) { } |
95 | 0 | 0 | if ($tzoffset =~ /^-?[0-9]+\.[0-9]+$/s) { } |
0 | 0 | elsif ($tzoffset =~ /^(-?)([0-9]+):([0-9]+)$/s) { } | |
107 | 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') { } | |
109 | 1 | 0 | $times[3] < 10 ? : |
111 | 0 | 1 | $times[2] > 12 ? : |
0 | 1 | $times[2] == 0 ? : | |
112 | 0 | 1 | $times[1] < 10 ? : |
113 | 0 | 1 | $times[2] >= 12 ? : |
131 | 1 | 0 | @_ ? : |
139 | 1 | 0 | if (wantarray) { } |
155 | 0 | 1 | (localtime time)[8] ? : |
157 | 0 | 1 | if (wantarray) { } |
176 | 0 | 12 | unless @_ |