Condition Coverage

blib/lib/Protocol/HTTP2/Upgrade.pm
Criterion Covered Total %
condition 15 21 71.4


and 3 conditions

line !l l&&!r l&&r condition
63 1 0 4 $success != 7 and $$buf_ref =~ /$header_re/cg
66 2 0 1 $header eq 'upgrade' and grep {$_ eq Protocol::HTTP2::ident_plain();} split(/\s*,\s*/, $value, 0)
1 0 1 $header eq 'http2-settings' and defined $con->frame_decode(\decode_base64url($value), 0)
68 0 0 1 exists $h{'upgrade'} and exists $h{'http2-settings'}
114 1 1 6 $success != 3 and $$buf_ref =~ /$header_re/cg
117 4 0 2 $header eq 'connection' and lc $value eq 'upgrade'
2 1 1 $header eq 'upgrade' and $value eq Protocol::HTTP2::ident_plain()