blib/lib/App/PAIA/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 19 | 63.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
79 | 4 | 0 | 0 | defined $self->file and -e $self->file |
line | l | !l | condition |
---|---|---|---|
42 | 9 | 5 | $$self{'data'} //= {} |
50 | 16 | 12 | $self->file // (return $$self{'data'} = {}) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
18 | 2 | 14 | 0 | $$self{'file'} //= $DEFAULT{$$self{'type'}} |
30 | 57 | 18 | 0 | $$self{'data'} //= $self->load |
36 | 1 | 0 | 0 | $$self{'data'} //= $self->load |
66 | 5 | 5 | 0 | $self->file // $DEFAULT{$type} |