blib/lib/Valiemon/Attributes/Pattern.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 6 | 100.0 |
line | true | false | branch |
---|---|---|---|
14 | 3 | 7 | unless $context->prims->is_string($data) |
19 | 2 | 5 | unless ($context->prims->is_string($pattern)) |
23 | 2 | 3 | $data =~ /$pattern/ ? : |