blib/lib/Class/Accessor/Lite/Lazy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 24 | 87.5 |
line | true | false | branch |
---|---|---|---|
19 | 3 | 5 | if (defined(my $value = delete $args{$key})) |
20 | 0 | 3 | unless ref($value) =~ /^(ARRAY|HASH)$/ |
22 | 1 | 2 | if ref $value eq 'HASH' |
44 | 2 | 1 | ref $_ eq 'HASH' ? : |
53 | 1 | 3 | ref $_ eq 'HASH' ? : |
62 | 1 | 3 | unless defined $builder |
64 | 5 | 0 | if (@_ == 1) { } |
65 | 1 | 4 | if exists $_[0]{$name} |
76 | 3 | 1 | unless defined $builder |
78 | 8 | 2 | if (@_ == 1) { } |
2 | 0 | elsif (@_ == 2) { } | |
79 | 4 | 4 | if exists $_[0]{$name} |