blib/lib/Valiemon/Attributes/Format.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 8 | 100.0 |
line | true | false | branch |
---|---|---|---|
15 | 1 | 40 | unless $context->prims->is_string($data) |
20 | 10 | 30 | if ($format eq 'date-time') |
24 | 16 | 14 | if ($format eq 'uri') |
37 | 5 | 5 | $data =~ /\A\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})/ ? : |