Branch Coverage

blib/lib/Trace/Mask/Reference.pm
Criterion Covered Total %
branch 60 66 90.9


line true false branch
31 2 1 if $ok
46 211 3863 unless @call and defined $call[0]
58 79 119 unless $key =~ /^\d+$/
75 14 196 if ($ENV{'NO_TRACE_MASK'})
92 672 2959 if $paused and not $mask->{'restart'} || $lock
93 39 2920 if $mask->{'restart'}
95 1386 1573 if $stopped and not $lock
97 1261 99 unless $mask->{'hide'} or $mask->{'shift'} or $lock
99 1539 34 unless ($lock)
103 659 325 unless $idx =~ /^\d+$/
104 13 312 if $idx >= @$call
109 78 1495 if ($mask->{'shift'}) { }
213 1282 elsif ($mask->{'hide'}) { }
65 1375 elsif ($skip and not --$skip and $shift) { }
111 0 78 $skip || $lock ? :
114 79 134 $skip || $lock ? :
117 65 0 unless $lock
123 1057 516 if $push or $lock
125 144 1429 if $mask->{'stop'}
126 91 1482 if $mask->{'pause'}
129 13 183 if ($shift)
130 13 0 unless $last->[2]{'lock'}
131 13 0 unless @stack and $stack[-1] == $last
139 1 14 unless defined $level
142 0 15 unless $trace and @$trace
145 0 15 unless $frame
147 1 14 unless @_
153 2 1 unless defined $level
164 1 17 if ($call->[3] eq '(eval)') { }
177 1 18 unless defined $arg
179 2 16 if (ref $arg)
187 1 1 unless $class
191 2 14 if &looks_like_number($arg)