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 807 268 if (defined $parent_id)
98 1 806 unless exists $kr_sessions{$parent_id}
104 1 805 if exists $kr_sessions{$sid}
124 805 268 if (defined $parent_id)
138 805 268 unless ($sid eq $self->ID)
171 59 545 if (defined $parent) { }
191 0 670 unless delete $kr_sessions{$parent_id}[3]{$sid}
361 211 8369 unless exists $kr_session_refs{$session}
370 4 1914 unless defined $session
391 1026 863 unless delete $temp_marked{$sid}
418 1212 1349 if (--$kr_sessions{$sid}[1] < 1)
420 378 3644 unless ($sid eq $self->ID)
453 2317 6094 if (++$kr_sessions{$sid}[1] > 0) { }
484 8209 3559 unless ($$ss[1] and $self->_data_sig_session_awaits_pids($sid))
533 0 761 if exists $already_stopping{$sid}
577 57 704 if (defined $parent)
591 537 223 unless (keys %kr_sessions)