blib/lib/App/Open/Backend/YAML.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 17 | 52.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
81 | 0 | 10 | 0 | $def_file and !ref($def_file) || !ref($def_file) eq 'ARRAY' |
119 | 0 | 2 | 6 | $config and ref $config eq 'HASH' |
121 | 0 | 0 | 18 | $value and not ref $value |
line | l | !l | condition |
---|---|---|---|
79 | 9 | 1 | $def_file ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
81 | 0 | 0 | 10 | !ref($def_file) || !ref($def_file) eq 'ARRAY' |
83 | 9 | 0 | 1 | $$def_file[0] || "$ENV{'HOME'}/.mimeyaml" |