Branch Coverage

blib/lib/Trace/Mask/Reference.pm
Criterion Covered Total %
branch 56 62 90.3


line true false branch
31 2 1 if $ok
46 211 8093 unless @call and defined $call[0]
58 79 119 unless $key =~ /^\d+$/
75 14 196 if ($ENV{'NO_TRACE_MASK'})
91 6232 1573 if $stopped and not $mask->{'restart'} || $lock
92 39 1534 if $mask->{'restart'}
94 1261 99 unless $mask->{'hide'} or $mask->{'shift'} or $lock
96 1539 34 unless ($lock)
100 659 325 unless $idx =~ /^\d+$/
101 13 312 if $idx >= @$call
106 78 1495 if ($mask->{'shift'}) { }
213 1282 elsif ($mask->{'hide'}) { }
65 1375 elsif ($skip and not --$skip and $shift) { }
108 0 78 $skip || $lock ? :
111 79 134 $skip || $lock ? :
114 65 0 unless $lock
120 1057 516 if $push or $lock
122 235 1338 if $mask->{'stop'}
125 13 183 if ($shift)
126 13 0 unless $last->[2]{'lock'}
127 13 0 unless @stack and $stack[-1] == $last
135 1 14 unless defined $level
138 0 15 unless $trace and @$trace
141 0 15 unless $frame
143 1 14 unless @_
149 2 1 unless defined $level
160 1 17 if ($call->[3] eq '(eval)') { }
173 1 18 unless defined $arg
175 2 16 if (ref $arg)
183 1 1 unless $class
187 2 14 if &looks_like_number($arg)