Branch Coverage

blib/lib/CGI/Session/Flash.pm
Criterion Covered Total %
branch 26 38 68.4


line true false branch
22 0 3 unless defined $session and ref $session and $session->isa('CGI::Session')
71 0 2 unless defined $key
72 0 2 unless @vals
88 0 5 unless defined $key
91 5 0 if $self->has_key($key)
93 0 5 unless defined $vals
94 1 4 if ref $vals eq 'ARRAY' and @$vals == 1
95 1 3 wantarray ? :
106 0 0 unless defined $key
107 0 0 unless @vals
135 1 7 wantarray ? :
144 5 0 wantarray ? :
153 0 8 unless defined $key
155 7 1 if exists $$self{'_data'}{$key}
164 2 4 if scalar CORE::keys %{$$self{'_data'};} > 0
191 1 3 unless @_
208 1 1 unless @_
230 4 4 if $self->cleanup_done and not $force
234 2 5 if ($$self{'_keep'}{$key}) { }