Condition Coverage

lib/Hypersonic/Session.pm
Criterion Covered Total %
condition 28 73 38.3


and 3 conditions

line !l l&&!r l&&r condition
335 6 0 0 $COMPILED and defined &Hypersonic::Session::_jit_generate_session_id
360 4 0 0 $COMPILED and defined &Hypersonic::Session::_jit_hmac_sha256_hex
375 5 0 0 $COMPILED and defined &Hypersonic::Session::_jit_verify_signature
380 0 1 4 $signed_cookie and $signed_cookie =~ /^([a-f0-9]{32})\.([a-f0-9]{16})$/
398 0 0 0 $COMPILED and defined &Hypersonic::Session::_jit_constant_time_compare
403 0 0 0 defined $s1 and defined $s2
420 1 1 5 $opts{'secret'} and length $opts{'secret'} >= 16
457 0 0 1 $session_id and exists $SESSION_STORE{$session_id}
463 3 0 1 $session_id and $data
488 0 0 2 $data && $data->{'_new'}
491 0 2 0 $session_id and $is_new || $modified
524 5 0 0 $COMPILED and defined &Hypersonic::Session::_jit_session_get_set
550 1 0 0 $COMPILED and defined &Hypersonic::Session::_jit_session_get_all
597 0 0 1 $data and $data->{'_created'}
0 0 1 $data and $data->{'_created'} and $data->{'_created'} < $cutoff

or 2 conditions

line l !l condition
69 0 0 Hypersonic::TLS::get_extra_cflags() // ""
70 0 0 Hypersonic::TLS::get_extra_ldflags() // ""
78 0 0 $opts{'cache_dir'} // "_hypersonic_cache/session"
432 3 2 $opts{'cookie_name'} // "hsid"
3 2 $opts{'max_age'} // 86400
0 5 $opts{'path'} // "/"
0 5 $opts{'httponly'} // 1
0 5 $opts{'secure'} // 0
0 5 $opts{'samesite'} // "Lax"
573 1 0 $req->[12] || {}
591 0 0 $SESSION_CONFIG->{'max_age'} // 86400

or 3 conditions

line l !l&&r !l&&!r condition
491 2 0 0 $is_new || $modified
591 1 0 0 $max_age //= $SESSION_CONFIG->{'max_age'} // 86400