blib/lib/MVC/Neaf/Exception.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 29 | 82.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
211 | 1 | 0 | 22 | $self->{'-file'} && $self->{'-line'} |
line | l | !l | condition |
---|---|---|---|
81 | 55 | 1 | $opt{'-status'} || '' |
85 | 45 | 11 | $1 || 500 |
86 | 27 | 1 | $2 || $1 || 'unknown error' |
198 | 21 | 0 | $self->{'-reason'} || 'Unknown error' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
86 | 5 | 51 | 0 | $opt{'-reason'} ||= $2 || $1 || 'unknown error' |
87 | 1 | 11 | 44 | $opt{'-sudden'} ||= !$1 |
89 | 11 | 16 | 29 | $3 || $caller[1] |
0 | 27 | 29 | $opt{'-file'} ||= $3 || $caller[1] | |
90 | 11 | 16 | 29 | $4 || $caller[2] |
0 | 27 | 29 | $opt{'-line'} ||= $4 || $caller[2] |