Branch Coverage

blib/lib/Devel/TrackObjects.pm
Criterion Covered Total %
branch 33 86 38.3


line true false branch
31 2 2 if (not ref $_ and /^-(\w+)$/) { }
1 1 elsif ($_ eq 'track_object') { }
0 1 elsif (not ref $_ and m[^/]) { }
41 0 0 if $@
48 0 2 if ($_ eq 'debug') { }
0 2 elsif ($_ eq 'verbose') { }
0 2 elsif ($_ eq 'timestamp') { }
2 0 elsif ($_ eq 'noend') { }
0 0 elsif ($_ eq 'size') { }
0 0 elsif ($_ eq 'sizediff') { }
58 0 0 unless $with_size = eval { do { require Devel::Size } }
62 0 0 unless $with_size
67 1 1 if @conditions
74 2 0 if $no_end
75 0 0 if $is_redefined
84 0 4 $verbose ? :
97 0 1 if (defined wantarray) { }
100 1 0 if (@weak_objects) { }
102 0 1 $with_tstamp ? :
108 0 1 if ($with_size)
111 0 0 if ($with_sizediff) { }
116 0 0 unless defined $o->[4]
117 0 0 unless defined $o->[5]
124 1 0 defined $o->[3] ? :
131 0 0 $with_tstamp ? :
148 4 0 if (defined wantarray)
149 4 0 %count4class ? :
153 0 0 if (%count4class) { }
171 9 0 if (ref $_[0])
173 5 0 if $_->[0]
175 0 9 $old_bless ? :
178 9 0 if (@conditions) { }
180 0 9 if (not ref $c) { }
9 0 elsif (UNIVERSAL::isa($c, 'Regexp')) { }
0 0 elsif (UNIVERSAL::isa($c, 'CODE')) { }
181 0 0 if $c eq $pkg or $c eq $class
183 3 6 if $pkg =~ /$c/ or $class =~ /$c/
185 0 0 if &$c($pkg) or &$c($class)
191 3 6 if $track
207 0 1 if $is_redefined
212 1 0 if $@
226 0 0 defined $info ? :
0 4 if $debug