Branch Coverage

blib/lib/Object/Pluggable/Pipeline.pm
Criterion Covered Total %
branch 15 92 16.3


line true false branch
32 0 1 if ($$self{'PLUGS'}{$alias})
38 0 1 unless $return
47 0 0 unless @{$$self{'PIPELINE'};}
53 0 0 wantarray ? :
59 0 0 if ($$self{'PLUGS'}{$alias})
65 0 0 unless $return
74 0 0 unless @{$$self{'PIPELINE'};}
80 0 0 wantarray ? :
86 0 0 ref $old ? :
91 0 0 unless ($old_p)
97 0 0 ref $unregister_args eq 'ARRAY' ? :
105 0 0 if ($$self{'PLUGS'}{$new_a})
110 0 0 ref $register_args eq 'ARRAY' ? :
118 0 0 unless $return
121 0 0 if ($plugin == $old_p)
132 0 1 ref $old ? :
137 0 1 unless ($old_p)
144 1 0 if ($plugin == $old_p)
153 0 1 wantarray ? :
159 4 0 ref $old ? :
165 0 4 unless ($old_p)
170 4 0 wantarray ? :
176 0 0 ref $old ? :
181 0 0 unless ($old_p)
188 0 0 if $plugin == $old_p
198 0 0 ref $old ? :
203 0 0 unless ($old_p)
208 0 0 if ($$self{'PLUGS'}{$new_a})
214 0 0 unless $return
218 0 0 if ($plugin == $old_p)
230 0 0 ref $old ? :
235 0 0 unless ($old_p)
240 0 0 if ($$self{'PLUGS'}{$new_a})
246 0 0 unless $return
250 0 0 if ($plugin == $old_p)
264 0 0 if $idx < 0
271 0 0 if ($pos < 0)
283 0 0 if $idx < 0
290 0 0 if ($pos >= @$pipeline)
300 0 1 unless defined $$self{'OBJECT'}
307 0 1 if ($@) { }
0 1 elsif (not $return) { }
330 0 1 unless defined $$self{'OBJECT'}
337 0 1 if ($@) { }
0 1 elsif (not $return) { }
362 0 0 if $$self{'OBJECT'}{'_pluggable_debug'}