blib/lib/Error/Show.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 66 | 39.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
128 | 0 | 0 | 0 | not $pid and $@ |
250 | 14 | 0 | 0 | $counter >= $limit and $limit > 0 |
399 | 0 | 4 | 13 | defined $error and ref $error eq "" |
449 | 13 | 1 | 0 | $ref eq "ARRAY" and ref $opts{'error'}[0] eq "" |
0 | 0 | 1 | $ref eq "ARRAY" and ref $opts{'error'}[0] eq "ARRAY" | |
0 | 0 | 0 | $ref eq "ARRAY" and &blessed($opts{'error'}[0]) eq $dstf | |
476 | 13 | 0 | 1 | ref $opts{'error'} eq "ARRAY" and ref $opts{'error'}[0] |
500 | 0 | 0 | 4 | $e->[1] and $e->[2] |
539 | 0 | 0 | 0 | not $pid and $@ |
line | l | !l | condition |
---|---|---|---|
199 | 0 | 10 | $entry{$1} //= [] |
248 | 0 | 17 | $opts{'limit'} // 100 |
333 | 14 | 0 | $opts{'indent'} // "" |
389 | 0 | 17 | $opts{'pre_lines'} //= 5 |
390 | 0 | 17 | $opts{'post_lines'} //= 5 |
391 | 0 | 17 | $opts{'start_offset'} //= 0 |
392 | 0 | 17 | $opts{'end_offset'} //= 0 |
393 | 0 | 17 | $opts{'translation'} //= 0 |
394 | 4 | 13 | $opts{'indent'} //= "" |
395 | 0 | 17 | $opts{'file'} //= "" |
407 | 4 | 0 | $opts{'message'} // "" |
449 | 0 | 14 | &blessed($opts{'error'}) // "" |
478 | 0 | 1 | $opts{'indent'} //= " " |
484 | 0 | 4 | &blessed($e) // "" |
501 | 0 | 4 | $e->[11] //= "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
114 | 0 | 0 | 0 | $file eq "-e" or $file eq "-E" |
0 | 0 | 0 | $file eq "-e" or $file eq "-E" or $file eq "-" | |
192 | 10 | 0 | 0 | /at (.*?) line (\d+)/u or /Missing right curly or square bracket at (.*?) (\d+) at end of line/u |