line |
true |
false |
branch |
26
|
0 |
16 |
unless my $name = $args{'name'} |
28
|
0 |
16 |
unless my $attrs = $args{'attrs'} |
29
|
0 |
16 |
unless ref $attrs eq 'ARRAY' |
34
|
0 |
16 |
unless my $storage = $args{'storage'} |
47
|
48 |
0 |
unless $a->{'transient'} |
55
|
4 |
12 |
if $args{'commands'} |
61
|
8 |
8 |
if (ref $storage eq 'HASH') { } |
|
4 |
4 |
elsif ($storage eq 'methods') { } |
|
4 |
0 |
elsif ($storage eq 'array') { } |
101
|
0 |
0 |
unless defined $idx |
113
|
16 |
0 |
unless (exists $commands{'list'}) |
114
|
0 |
16 |
unless defined $method_list |
126
|
0 |
0 |
unless (@items) |
137
|
0 |
0 |
exists $attrs{$attr}{'show'} ? : |
152
|
16 |
32 |
if $_ eq $keyattr |
156
|
4 |
28 |
if exists $attrs{$_}{'default'} |
161
|
24 |
8 |
unless $attrs{$_}{'nomod'} |
164
|
12 |
4 |
unless (exists $commands{'add'}) |
165
|
0 |
12 |
unless defined $method_add |
176
|
0 |
2 |
if ($self->$method_get($key)) |
186
|
0 |
2 |
unless (eval {
do {
$self->$method_add($key, $item);
1
}
}) |
198
|
12 |
4 |
unless (exists $commands{'mod'}) |
199
|
0 |
12 |
unless defined $method_get |
212
|
0 |
0 |
unless ($item) |
221
|
0 |
0 |
if ($method_set) { } |
234
|
12 |
4 |
unless (exists $commands{'del'}) |
235
|
0 |
12 |
unless defined $method_del |
247
|
0 |
0 |
unless ($item) |
252
|
0 |
0 |
unless (eval {
do {
$self->$method_del($key, $item);
1
}
}) |
282
|
12 |
4 |
if (not defined $config or $config) |
286
|
0 |
12 |
unless $type_array or $type_hash |
298
|
0 |
0 |
unless my $ynodes = $ynode->{$name} |
300
|
0 |
0 |
$type_array ? : |
302
|
0 |
0 |
$type_array ? : |
305
|
0 |
0 |
if $type_hash |
309
|
0 |
0 |
if (ref $method_load or $method_load and $self->can($method_load)) |
319
|
0 |
0 |
$type_array ? : |
320
|
0 |
0 |
$type_array ? : |
327
|
0 |
0 |
if (ref $method_store or $method_store and $self->can($method_store)) |
333
|
0 |
0 |
$type_array ? : |