blib/lib/Error/Show.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 29 | 69 | 42.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
118 | 0 | 0 | 0 | not $pid and $@ |
240 | 21 | 0 | 0 | $counter >= $limit and $limit > 0 |
388 | 0 | 11 | 13 | defined $error and ref $error eq "" |
415 | 4 | 13 | 0 | defined $_[0] and $_[0] eq "Error::Show" |
452 | 13 | 4 | 0 | $ref eq "ARRAY" and ref $opts{'error'}[0] eq "" |
0 | 0 | 4 | $ref eq "ARRAY" and ref $opts{'error'}[0] eq "ARRAY" | |
0 | 0 | 0 | $ref eq "ARRAY" and &Scalar::Util::blessed($opts{'error'}[0]) eq $dstf | |
483 | 13 | 0 | 4 | ref $opts{'error'} eq "ARRAY" and ref $opts{'error'}[0] |
510 | 0 | 0 | 11 | $e->[1] and $e->[2] |
552 | 0 | 0 | 0 | not $pid and $@ |
line | l | !l | condition |
---|---|---|---|
188 | 0 | 10 | $entry{$1} //= [] |
238 | 0 | 24 | $opts{'limit'} // 100 |
323 | 21 | 0 | $opts{'indent'} // "" |
378 | 0 | 24 | $opts{'pre_lines'} //= 5 |
379 | 0 | 24 | $opts{'post_lines'} //= 5 |
380 | 0 | 24 | $opts{'start_offset'} //= 0 |
381 | 0 | 24 | $opts{'end_offset'} //= 0 |
382 | 0 | 24 | $opts{'translation'} //= 0 |
383 | 11 | 13 | $opts{'indent'} //= "" |
384 | 0 | 24 | $opts{'file'} //= "" |
395 | 4 | 7 | $opts{'message'} // "" |
452 | 0 | 17 | &Scalar::Util::blessed($opts{'error'}) // "" |
485 | 0 | 4 | $opts{'indent'} //= " " |
492 | 0 | 11 | &Scalar::Util::blessed($e) // "" |
511 | 0 | 11 | $e->[11] //= "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
104 | 0 | 0 | 0 | $file eq "-e" or $file eq "-E" |
0 | 0 | 0 | $file eq "-e" or $file eq "-E" or $file eq "-" | |
181 | 10 | 0 | 0 | /at (.*?) line (\d+)/u or /Missing right curly or square bracket at (.*?) (\d+) at end of line/u |