lib/LEOCHARRE/Class2.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 31 | 58 | 53.4 |
line | l | !l | condition |
---|---|---|---|
231 | 4 | 1 | @_ and scalar @_ |
317 | 0 | 0 | warn "cant resolve $val" and return |
320 | 0 | 1 | warn "not file on disk '${a}'" and return |
351 | 0 | 0 | warn "cannot revolve '${val}' with Cwd::abs_path()" and return |
354 | 0 | 2 | warn "'${abs}' is not a directory" and return |
665 | 0 | 0 | warn q[Can't load conf, missing abs_conf path.] and return |
668 | 0 | 2 | warn "Can't load conf, not on disk '${a}'\n" and return |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
32 | 0 | 0 | 23 | defined $self and ref $self |
0 | 0 | 23 | defined $self and ref $self and ref $self eq 'HASH' | |
47 | 0 | 0 | 1 | defined $self and ref $self |
0 | 0 | 1 | defined $self and ref $self and ref $self eq 'HASH' | |
191 | 68 | 14 | 13 | not exists $$self{$_name} and defined $_default_value |
234 | 3 | 0 | 1 | not exists $$self{$_name} and defined $_default_value |
308 | 2 | 1 | 0 | not exists $$self{$_name} and defined $_default_value |
342 | 2 | 1 | 1 | not exists $$self{$_name} and defined $_default_value |
452 | 0 | 0 | 1 | ref $_default_value and ref $_default_value eq 'ARRAY' |
530 | 0 | 0 | 1 | ref $$self{$_name} and ref $$self{$_name} eq 'ARRAY' |
631 | 0 | 2 | 19 | $ref and $ref eq 'ARRAY' |
0 | 0 | 2 | $ref and $ref eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
30 | 12 | 11 | $self ||= {} |
45 | 0 | 1 | $self ||= {} |
277 | 3 | 2 | $$self{$datspace} ||= 0 |
661 | 3 | 2 | $_[0]{'conf'} ||= {} |