blib/lib/Class/Accessor/Lite.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 20 | 90.0 |
line | true | false | branch |
---|---|---|---|
19 | 4 | 10 | if (defined $args{$key}) |
20 | 1 | 3 | unless ref $args{$key} eq 'ARRAY' |
25 | 1 | 3 | if $args{'new'} |
96 | 0 | 2 | @_ == 1 && ref $_[0] eq 'HASH' ? : |
104 | 9 | 3 | if @_ == 1 |
105 | 2 | 1 | if @_ == 2 |
113 | 2 | 1 | if (@_ == 1) { } |
114 | 2 | 0 | if @_ == 1 |
125 | 1 | 3 | if (@_ == 1) { } |
129 | 2 | 1 | if @_ == 2 |