blib/lib/WARC/Date.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 12 | 100.0 |
line | true | false | branch |
---|---|---|---|
70 | 2 | 4 | unless $timestamp =~ /^([0123456789]+)$/ |
89 | 2 | 296 | unless $timestamp =~ /^[-T:Z0123456789]+$/ |
91 | 5 | 291 | unless $timestamp =~ /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})Z$/ |
93 | 2 | 286 | unless $2 <= 12 and $3 < 32 and $4 < 24 and $5 < 60 and $6 <= 60 |
109 | 176 | 5 | if ($$self =~ /T/) { } |
129 | 61 | 6 | if ($$self =~ /T/) { } |