blib/lib/Clustericious/Client/Object.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 20 | 80.0 |
line | true | false | branch |
---|---|---|---|
15 | 0 | 17 | unless ref $self |
17 | 5 | 12 | if (ref $self eq 'ARRAY') |
21 | 3 | 8 | if ref $_ eq 'HASH' |
30 | 2 | 0 | if (exists $$self{$attr}) |
52 | 1 | 12 | $client ? : |
72 | 1 | 13 | if defined $value |
76 | 4 | 10 | if (ref $value eq 'HASH' or ref $value eq 'ARRAY') |
81 | 0 | 13 | wantarray && ref $value ? : |
1 | 13 | wantarray && ref $value eq 'ARRAY' ? : | |
0 | 14 | wantarray && !defined($value) ? : |