blib/lib/Trace/Mask/Carp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 39 | 57 | 68.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
161 | 943 | 40 | 5836 | $stopped and not $mask->{'restart'} || $mask->{'lock'} |
171 | 619 | 114 | 53 | $skip and not --$skip |
733 | 13 | 40 | $skip and not --$skip and $shift | |
188 | 622 | 0 | 60 | $mask->{'no_start'} and not $out |
206 | 0 | 10 | 0 | $out and $out =~ /at \Q$last->{'file'}\E line $last->{'line'}/ |
line | l | !l | condition |
---|---|---|---|
56 | 0 | 3 | $SIG{'__DIE__'} || sub { die @_; } |
57 | 0 | 3 | $SIG{'__WARN__'} || sub { warn @_; } |
119 | 495 | 137 | $indent ||= '' |
122 | 6 | 131 | $msg ||= '' |
130 | 491 | 3 | $args ||= '' |
160 | 6819 | 0 | $fields->{'sub'} || '*' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
41 | 7 | 0 | 1 | $class->can($arg) || _my_croak("'${arg}' is not exported by $class") |
121 | 6 | 131 | 495 | $msg or not $sub |
156 | 0 | 137 | 0 | $fields->{'sub'} ||= $sub |
161 | 20 | 0 | 5856 | $mask->{'restart'} || $mask->{'lock'} |
163 | 147 | 0 | 836 | $mask->{'hide'} or $mask->{'shift'} |
50 | 0 | 786 | $mask->{'hide'} or $mask->{'shift'} or $mask->{'lock'} | |
172 | 0 | 50 | 0 | $shift ||= $fields |
173 | 0 | 0 | 50 | $skip || $mask->{'lock'} |
176 | 40 | 0 | 107 | $skip || $mask->{'lock'} |
188 | 301 | 0 | 682 | $skip or $mask->{'no_start'} and not $out |