blib/lib/Error/Show.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 66 | 40.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
128 | 0 | 0 | 0 | not $pid and $@ |
251 | 20 | 0 | 0 | $counter >= $limit and $limit > 0 |
400 | 0 | 10 | 13 | defined $error and ref $error eq "" |
449 | 13 | 3 | 0 | $ref eq "ARRAY" and ref $opts{'error'}[0] eq "" |
0 | 0 | 3 | $ref eq "ARRAY" and ref $opts{'error'}[0] eq "ARRAY" | |
0 | 0 | 0 | $ref eq "ARRAY" and &blessed($opts{'error'}[0]) eq $dstf | |
480 | 13 | 0 | 3 | ref $opts{'error'} eq "ARRAY" and ref $opts{'error'}[0] |
507 | 0 | 0 | 10 | $e->[1] and $e->[2] |
548 | 0 | 0 | 0 | not $pid and $@ |
line | l | !l | condition |
---|---|---|---|
199 | 0 | 10 | $entry{$1} //= [] |
249 | 0 | 23 | $opts{'limit'} // 100 |
334 | 20 | 0 | $opts{'indent'} // "" |
390 | 0 | 23 | $opts{'pre_lines'} //= 5 |
391 | 0 | 23 | $opts{'post_lines'} //= 5 |
392 | 0 | 23 | $opts{'start_offset'} //= 0 |
393 | 0 | 23 | $opts{'end_offset'} //= 0 |
394 | 0 | 23 | $opts{'translation'} //= 0 |
395 | 10 | 13 | $opts{'indent'} //= "" |
396 | 0 | 23 | $opts{'file'} //= "" |
408 | 4 | 6 | $opts{'message'} // "" |
449 | 0 | 16 | &blessed($opts{'error'}) // "" |
482 | 0 | 3 | $opts{'indent'} //= " " |
489 | 0 | 10 | &blessed($e) // "" |
508 | 0 | 10 | $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 |