| line |
true |
false |
branch |
|
41
|
422 |
10 |
unless *{$sym;}{'HASH'} |
|
68
|
1 |
523 |
if (@_ == 1 and ref $_[0] eq 'CODE') { } |
|
72
|
114 |
2406 |
ref $item ? : |
|
83
|
71 |
713 |
if (ref $item) { } |
|
84
|
0 |
71 |
unless (UNIVERSAL::isa($item, 'YATT::Lite::MFields')) |
|
89
|
71 |
0 |
if $self->{'known_parent'}{$class}++ |
|
93
|
248 |
465 |
if $self->{'known_parent'}{$class}++ |
|
94
|
39 |
426 |
unless my $sym = look_for_globref($class, 'FIELDS') |
|
97
|
0 |
426 |
unless $fields = *{$sym;}{'HASH'} |
|
102
|
0 |
5753 |
unless (UNIVERSAL::isa($importing, $self->Decl)) |
|
106
|
5714 |
39 |
if (not my YATT::Lite::MFields::Decl $existing = $self->{'fields'}{$name}) { } |
|
|
0 |
39 |
elsif (not UNIVERSAL::isa($existing, $self->Decl)) { } |
|
|
0 |
39 |
elsif ($importing != $existing) { } |
|
123
|
0 |
0 |
wantarray ? : |
|
129
|
0 |
2524 |
if (my $old = $self->{'fields'}{$attName}) |
|
132
|
0 |
2524 |
unless (@atts % 2 == 0) |
|
138
|
22 |
2502 |
if ($field->{'cf_getter'}) |
|
140
|
13 |
9 |
if (not defined $code) { } |
|
|
9 |
0 |
elsif (not ref $code) { } |
|
|
0 |
0 |
elsif (ref $code ne 'CODE') { } |
|
154
|
0 |
9 |
unless my $builder = $self->can("make_accessor_type_$type") |
|
171
|
13 |
2511 |
if ($_[0] =~ /^(\w*)\^(\w+)$/) { } |
|
|
1861 |
650 |
elsif ($_[0] =~ /^cf_(\w+)$/) { } |
|
172
|
13 |
0 |
$1 ? : |
|
184
|
0 |
485 |
unless ($isa = *{$sym;}{'ARRAY'}) |
|
189
|
64 |
506 |
if grep {$_ eq $base;} @$isa |