Branch Coverage

blib/lib/POE/Resource/Sessions.pm
Criterion Covered Total %
branch 34 40 85.0


line true false branch
46 0 8 if exists $$children{$old_id}
50 4 0 if exists $kr_sessions{$old_id}
80 0 0 if $stringy ne "$blessed"
97 821 269 if (defined $parent_id)
98 1 820 unless exists $kr_sessions{$parent_id}
104 1 819 if exists $kr_sessions{$sid}
124 819 269 if (defined $parent_id)
138 819 269 unless ($sid eq $self->ID)
171 59 559 if (defined $parent) { }
191 0 685 unless delete $kr_sessions{$parent_id}[3]{$sid}
361 212 8705 unless exists $kr_session_refs{$session}
370 4 1966 unless defined $session
391 1040 891 unless delete $temp_marked{$sid}
418 1240 1353 if (--$kr_sessions{$sid}[1] < 1)
420 378 3764 unless ($sid eq $self->ID)
453 2334 6315 if (++$kr_sessions{$sid}[1] > 0) { }
484 8513 3735 unless ($$ss[1] and $self->_data_sig_session_awaits_pids($sid))
533 0 788 if exists $already_stopping{$sid}
577 60 728 if (defined $parent)
591 560 227 unless (keys %kr_sessions)