line |
true |
false |
branch |
17
|
0 |
0 |
unless $model |
18
|
0 |
0 |
unless $$self{'type'} eq $$model{'type'} |
19
|
0 |
0 |
if $self->name and lc $self->name ne $$model{'name'} |
21
|
0 |
0 |
if ($$model{'text'}) |
22
|
0 |
0 |
unless _compare($self->text, $$model{'text'}) |
24
|
0 |
0 |
if ($self->attr and scalar keys %{$self->attr;} > 0) { } |
|
0 |
0 |
elsif ($$model{'attr'}) { } |
25
|
0 |
0 |
unless $$model{'attr'} |
26
|
0 |
0 |
if scalar keys %{$self->attr;} != scalar keys %{$$model{'attr'};} |
28
|
0 |
0 |
unless defined $$model{'attr'}{$attr} |
29
|
0 |
0 |
unless _compare($self->attr->{$attr}, $$model{'attr'}{$attr}) |
39
|
0 |
0 |
if (ref $model eq 'Regexp') { } |
|
0 |
0 |
elsif (defined $model) { } |
40
|
0 |
0 |
$text =~ /^(?:$model)$/is ? : |
42
|
0 |
0 |
lc $text eq lc $model ? : |