Branch Coverage

blib/lib/HTTP/Session.pm
Criterion Covered Total %
branch 25 30 83.3


line true false branch
18 0 73 ref $_[0] ? :
21 1 216 unless $args{$key}
29 0 72 unless ($args{'sid_length'} =~ /\A[1-9][0-9]*\z/)
35 0 72 unless $self->{'request'}
43 44 28 if ($session_id) { }
45 35 9 if ($data) { }
49 2 7 if ($self->state->permissive) { }
68 0 41 unless &Module::Runtime::require_module($self->{'id'})
74 1 28 unless ref $response
82 38 34 if ($self->is_fresh) { }
83 37 1 if ($self->is_changed or not $self->save_modified_session_only)
87 2 32 if ($self->is_changed)
99 67 0 if ($self->{'store'}) { }
150 1 2 if ($delete_old)
164 4 2 if ($self->state->can($meth)) { }