Branch Coverage

blib/lib/POE/Component/Pluggable/Pipeline.pm
Criterion Covered Total %
branch 15 88 17.0


line true false branch
28 0 1 if ($self->{'PLUGS'}{$alias})
34 0 1 unless $return
43 0 0 unless @{$self->{'PIPELINE'};}
49 0 0 wantarray ? :
55 0 0 if ($self->{'PLUGS'}{$alias})
61 0 0 unless $return
70 0 0 unless @{$self->{'PIPELINE'};}
76 0 0 wantarray ? :
84 0 0 ref $old ? :
87 0 0 unless ($old_p)
94 0 0 if ($self->{'PLUGS'}{$new_a})
100 0 0 unless $return
103 0 0 if ($plugin == $old_p)
116 0 1 ref $old ? :
119 0 1 unless ($old_p)
126 1 0 if ($plugin == $old_p)
135 0 1 wantarray ? :
143 4 0 ref $old ? :
147 0 4 unless ($old_p)
152 4 0 wantarray ? :
160 0 0 ref $old ? :
163 0 0 unless ($old_p)
170 0 0 if $plugin == $old_p
182 0 0 ref $old ? :
185 0 0 unless ($old_p)
190 0 0 if ($self->{'PLUGS'}{$new_a})
196 0 0 unless $return
200 0 0 if ($plugin == $old_p)
214 0 0 ref $old ? :
217 0 0 unless ($old_p)
222 0 0 if ($self->{'PLUGS'}{$new_a})
228 0 0 unless $return
232 0 0 if ($plugin == $old_p)
246 0 0 if $idx < 0
253 0 0 if ($pos < 0)
265 0 0 if $idx < 0
272 0 0 if ($pos >= @$pipeline)
282 0 1 unless defined $self->{'OBJECT'}
288 0 1 if ($@) { }
0 1 elsif (not $return) { }
311 0 1 unless defined $self->{'OBJECT'}
317 0 1 if ($@) { }
0 1 elsif (not $return) { }
342 0 0 if $self->{'OBJECT'}{'_pluggable_debug'}