blib/lib/Trace/Mask/Carp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 39 | 57 | 68.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
161 | 943 | 171 | 6098 | $stopped and not $mask->{'restart'} || $mask->{'lock'} |
171 | 659 | 134 | 124 | $skip and not --$skip |
793 | 84 | 40 | $skip and not --$skip and $shift | |
188 | 733 | 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 | 606 | 137 | $indent ||= '' |
122 | 6 | 131 | $msg ||= '' |
130 | 491 | 114 | $args ||= '' |
160 | 7212 | 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 | 606 | $msg or not $sub |
156 | 0 | 137 | 0 | $fields->{'sub'} ||= $sub |
161 | 151 | 0 | 6118 | $mask->{'restart'} || $mask->{'lock'} |
163 | 147 | 0 | 967 | $mask->{'hide'} or $mask->{'shift'} |
50 | 0 | 917 | $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 | 321 | 0 | 793 | $skip or $mask->{'no_start'} and not $out |