blib/lib/Data/Phrasebook/Loader/JSON.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 12 | 91.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
119 | 2 | 6 | 4 | exists $$class{'json'}{$_} and exists $$class{'json'}{$_}{$key} |
124 | 1 | 7 | 5 | ref $$class{'default'} eq 'HASH' and exists $$class{'default'}{$key} |
184 | 2 | 0 | 21 | exists $$class{'json'}{$d} and ref $$class{'json'}{$d} eq 'HASH' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
90 | 2 | 4 | 2 | $$class{'defaultname'} || ($class->dicts)[0] |