| line |
true |
false |
branch |
|
20
|
0 |
9 |
if ref $class |
|
25
|
0 |
9 |
unless ref $attributes eq 'HASH' |
|
26
|
0 |
1 |
unless (exists $$attributes{'SCALARS'} or exists $$attributes{'HASHES'} or exists $$attributes{'ARRAYS'} or exists $$attributes{'ORDERED_HASHES'}) |
|
32
|
0 |
9 |
if (exists $$attributes{'SCALARS'} and ref $$attributes{'SCALARS'} ne 'ARRAY') |
|
35
|
0 |
9 |
if (exists $$attributes{'HASHES'} and ref $$attributes{'HASHES'} ne 'ARRAY') |
|
38
|
0 |
9 |
if (exists $$attributes{'ORDERED_HASHES'} and ref $$attributes{'ORDERED_HASHES'} ne 'ARRAY') |
|
41
|
0 |
9 |
if (exists $$attributes{'ARRAYS'} and ref $$attributes{'ARRAYS'} ne 'ARRAY') |
|
74
|
9 |
0 |
unless ($self->can('my_attributes')) |
|
106
|
6 |
3 |
if (exists $$attributes{'HASHES'}) |
|
109
|
6 |
3 |
if (exists $$attributes{'ORDERED_HASHES'}) |
|
112
|
6 |
3 |
if (exists $$attributes{'ARRAYS'}) |
|
123
|
0 |
23 |
if ($$fields{$field}) |
|
213
|
0 |
24 |
if ($$fields{$field}) |
|
318
|
0 |
24 |
if ($$fields{$field}) |
|
419
|
8 |
1 |
defined $_[0] ? : |
|
421
|
0 |
9 |
unless ref $opt eq 'HASH' |
|
423
|
65 |
0 |
if ($self->can($field)) |
|
425
|
1 |
64 |
if ($self->can($validate)) |