blib/lib/DTL/Fast/Tag/Url.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 20 | 75.0 |
line | true | false | branch |
---|---|---|---|
14 | 4 | 0 | if ($self->{'parameter'} =~ /^\s*(.+?)(?:\s+as\s+([^\s]+))?\s*$/s) { } |
20 | 3 | 1 | if (scalar @params) |
22 | 2 | 1 | if ($params[0] =~ /\=/) { } |
49 | 4 | 0 | if (defined $url_source and ref $url_source eq 'CODE') { } |
58 | 4 | 0 | if ($url_template) { } |
79 | 2 | 2 | if (ref $arguments eq 'ARRAY') { } |
124 | 3 | 1 | if ($self->{'arguments'}) |
126 | 1 | 2 | if (ref $self->{'arguments'} eq 'ARRAY') { } |
155 | 4 | 0 | if ($param =~ /^(.+)\=(.+)$/) { } |
175 | 0 | 2 | if $param =~ /\=/ |