line |
true |
false |
branch |
86
|
0 |
68 |
unless $self->has_validations
|
93
|
1 |
43 |
unless (exists $components{$validation})
|
106
|
35 |
43 |
if $self->is_component_variable($_)
|
118
|
27 |
29 |
if $self->is_component_variable($_)
|
159
|
8 |
6 |
unless @$parts >= $self->length_without_optionals and @$parts <= $self->length
|
165
|
6 |
0 |
$self->has_defaults ? :
|
168
|
0 |
15 |
unless (@parts)
|
169
|
0 |
0 |
unless $self->is_component_optional($c)
|
176
|
7 |
8 |
if ($self->is_component_variable($c)) { }
|
178
|
7 |
0 |
if (my $v = $self->has_validation_for($name))
|
179
|
0 |
7 |
unless $v->check($part)
|
183
|
0 |
8 |
unless $c eq $part
|
202
|
53 |
65 |
if ($self->is_component_variable($c)) { }
|
210
|
9 |
109 |
if ($self->is_component_optional($c))
|
217
|
3 |
51 |
unless defined $regexp[0]
|
239
|
32 |
22 |
if (@variables)
|
260
|
54 |
0 |
if ($self->has_defaults) { }
|
270
|
32 |
22 |
if (@variables)
|
279
|
39 |
14 |
if ($self->has_validation_for($v))
|
319
|
5 |
0 |
if ($self->has_defaults)
|
323
|
5 |
0 |
if ($self->has_validations)
|