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 8483 unless @call and defined $call[0]
58 79 119 unless $key =~ /^\d+$/
75 14 196 if ($ENV{'NO_TRACE_MASK'})
91 6492 1703 if $stopped and not $mask->{'restart'} || $lock
92 169 1534 if $mask->{'restart'}
94 1391 99 unless $mask->{'hide'} or $mask->{'shift'} or $lock
96 1669 34 unless ($lock)
100 789 325 unless $idx =~ /^\d+$/
101 13 312 if $idx >= @$call
106 78 1625 if ($mask->{'shift'}) { }
213 1412 elsif ($mask->{'hide'}) { }
65 1525 elsif ($skip and not --$skip and $shift) { }
108 0 78 $skip || $lock ? :
111 79 134 $skip || $lock ? :
114 65 0 unless $lock
120 1167 536 if $push or $lock
122 235 1468 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)