Branch Coverage

blib/lib/MasonX/Request/WithMultiSession.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
33 1 14 if $self->is_subrequest
37 2 12 exists $p{'session_id'} ? :
40 2 12 exists $p{'sub_session_id'} ? :
44 1 13 if ($p{'clone'} or $p{'new'})
50 1 0 if ($p{'clone'})
74 8 7 unless (exists $$self{'sub_session_id'})
81 2 6 if (exists $p{'sub_session_id'}) { }
0 6 elsif (exists $$args{$args_key} and exists $$session{'sub_session_ids'}{$$args{$args_key}}) { }
83 1 1 unless (exists $$session{'sub_session_ids'}{$p{'sub_session_id'}})
140 1 1 $p{'sub_session_id'} ? :
159 8 0 unless defined $$self{'multi_session_expire'}
166 0 0 if ($$session{'sub_session_ids'}{$id} < $cutoff)