| blib/lib/Class/Business/DK/Phonenumber.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 22 | 86.3 |
| line | true | false | branch |
|---|---|---|---|
| 25 | 6 | 1 | if ($$params{'phonenumber'}) { } |
| 26 | 1 | 5 | unless $self->phonenumber($$params{'phonenumber'}) |
| 33 | 1 | 4 | if ($$params{'template'}) |
| 34 | 0 | 1 | unless $self->template($$params{'template'}) |
| 47 | 8 | 4 | if ($phonenumber) { } |
| 51 | 7 | 1 | if (validate($phonenumber)) { } |
| 54 | 7 | 0 | if ($self->template($template)) { } |
| 67 | 1 | 3 | if ($template) { } |
| 68 | 1 | 0 | if ($self->validate_template($template)) { } |
| 82 | 4 | 8 | if ($template) { } |
| 83 | 3 | 1 | if ($self->validate_template($template)) { } |