Branch Coverage

blib/lib/POE/Session/PlainCall.pm
Criterion Covered Total %
branch 37 60 61.6


line true false branch
35 5 0 if ('POE::Session'->can('SE_ID')) { }
61 0 0 unless $$self[4]
69 0 6 if ($$self[4] or $$self[5])
82 0 6 if $self->can('SUPER::__init')
90 0 6 if (@params & 1)
96 6 0 unless ($obj)
98 5 1 if ($package)
105 5 1 if ($obj)
108 0 5 unless defined $events
129 5 7 unless $$args{$f}
133 4 4 if ('HASH' eq ref $states) { }
4 0 elsif ('ARRAY' eq ref $states) { }
141 5 1 unless $$args{'inline_states'}
158 5 32 unless ($$self[5]{$state} or $$self[5]{'_default'})
159 0 5 if ($$self[1]{'trace'})
174 0 32 if ($$self[1]{'trace'})
183 2 30 unless (exists $$self[2]{$state})
189 0 2 unless (exists $$self[2]{'_default'})
190 0 0 exists &Errno::ENOSYS ? :
191 0 0 if ($$self[1]{'default'} and $state ne '_signal')
205 0 2 if ($$self[1]{'trace'})
228 1 31 if (ref $handler eq 'CODE')
271 28 6 if ($$self[5]{$name}) { }
276 6 0 if (@definition) { }
277 0 6 if ($$self[1]{'trace'})
293 0 30 if (not $$self[5]{$name} and $$self[2]{$name})
298 30 0 if (@definition) { }
299 0 30 if ($$self[1]{'trace'})
323 0 1 blessed $r ? :
337 1 1 wantarray ? :