blib/lib/DateTimeX/strftimeq.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 11 | 63.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
26 | 6 | 0 | 6 | @time == 1 and &blessed($time[0]) |
6 | 0 | 6 | @time == 1 and &blessed($time[0]) and $time[0]->isa('DateTime') |
line | l | !l | condition |
---|---|---|---|
64 | 6 | 0 | $code_res //= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
46 | 3 | 3 | 0 | $dt //= 'DateTime'->new('second', $time[0], 'minute', $time[1], 'hour', $time[2], 'day', $time[3], 'month', $time[4] + 1, 'year', $time[5] + 1900) |