Branch Coverage

blib/lib/DTL/Fast/Tag/Url.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
16 4 0 if ($self->{'parameter'} =~ /^\s*(.+?)(?:\s+as\s+([^\s]+))?\s*$/s) { }
22 3 1 if (scalar @params)
24 2 1 if ($params[0] =~ /\=/) { }
51 4 0 if (defined $url_source and ref $url_source eq 'CODE') { }
60 4 0 if ($url_template) { }
81 2 2 if (ref $arguments eq 'ARRAY') { }
126 3 1 if ($self->{'arguments'})
128 1 2 if (ref $self->{'arguments'} eq 'ARRAY') { }
157 4 0 if ($param =~ /^(.+)\=(.+)$/) { }
177 0 2 if $param =~ /\=/