Branch Coverage

blib/lib/Object/Dependency.pm
Criterion Covered Total %
branch 45 80 56.2


line true false branch
44 0 33 if wantarray
60 0 0 unless $$self{'addrmap'}{$addr} or $$self{'stuck'}{$addr}
68 0 1 unless my $dao = $$self{'addrmap'}{$da} || $$self{'stuck'}{$da}
77 59 35 if $$self{'addrmap'}{$addr}
78 2 33 if $$self{'stuck'}{$addr}
81 0 33 if $debug
85 39 3 if @depends_upon
92 1 51 if $$self{'stuck'}{$addr}
109 0 0 if keys %{$$unblock{'dg_depends'};}
110 0 0 if $$unblock{'dg_stuck'}
114 0 0 unless $$self{'addrmap'}{refaddr $_ or $_}
129 0 20 if ($debug)
131 0 0 $$i{'trace'} ? :
0 0 $$i{'desc'} ? :
136 0 20 unless my $o = delete $$self{'addrmap'}{$addr} || delete $$self{'stuck'}{$addr}
138 0 20 if (keys %{$$o{'dg_depends'};})
148 13 19 if keys %{$$unblock{'dg_depends'};}
149 1 18 if $$unblock{'dg_stuck'}
160 0 6 if $$o{'dg_stuck'}
161 0 6 unless blessed $o
181 2 26 $stuck ? :
182 1 46 if $active and $$o{'dg_active'}
183 2 44 if $$o{'dg_lock'}
187 0 44 if $count and @ind == $count
189 22 6 if @ind
190 3 3 if keys %{$$self{'independent'};}
191 3 0 unless keys %{$$self{'addrmap'};}
198 2 3 if keys %{$$self{'independent'};}
199 0 3 if keys %{$$self{'addrmap'};}
207 1 3 if (ref $addr) { }
213 0 4 unless $o
215 0 4 if defined $desc
218 0 4 if $$self{'independent'}{$addr}
219 0 4 if $$o{'dg_lock'}
220 0 4 if $$o{'dg_lock'}
222 0 4 if ($$o{'dg_desc'}) { }
0 4 elsif (blessed $node) { }
225 0 0 if ($node->isa('Proc::JobQueue::Job')) { }
0 0 elsif ($node->isa('Proc::JobQueue::DependencyTask')) { }
236 4 0 if $$o{'dg_stuck'}