blib/lib/Class/Accessor/Array/Glob.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 36 | 50.0 |
line | true | false | branch |
---|---|---|---|
18 | 4 | 4 | if not defined $max_idx or $max_idx < $_ |
27 | 8 | 0 | $is eq 'rw' ? : |
28 | 1 | 7 | if (defined $glob_attribute and $glob_attribute eq $meth) { } |
29 | 0 | 1 | unless $idx == $max_idx |
31 | 1 | 0 | if $is eq 'rw' |
35 | 7 | 0 | if $is eq 'rw' |
41 | 1 | 0 | if @_ > 1 |
1 | 0 | if @_ > 1 | |
1 | 0 | if @_ > 1 | |
0 | 0 | if @_ > 1 | |
1 | 0 | if @_ > 1 | |
1 | 0 | if @_ > 1 | |
0 | 0 | if @_ > 1 | |
0 | 0 | if @_ > 1 | |
42 | 0 | 8 | if $@ |
47 | 1 | 1 | if defined $glob_attribute |
52 | 2 | 0 | unless (*{"${caller}::$constructor";}{'CODE'}) |
54 | 0 | 2 | if $@ |