Branch Coverage

blib/lib/Protocol/TLS/Protection.pm
Criterion Covered Total %
branch 23 30 76.6


line true false branch
26 0 9 $sp->{'connectionEnd'} == 1 ? :
11 9 !defined($sp) ? :
28 9 11 if (defined $ckey and length $ckey)
29 0 9 if ($length < $sp->{'fixed_iv_length'} + $sp->{'block_length'})
42 0 9 if ($pad_len >= $length + 1 + $sp->{'mac_length'})
51 9 11 if (defined $mkey and length $mkey)
52 0 9 unless (defined $res)
65 0 9 if ($mac ne $mac_orig)
80 9 11 $res ? :
100 9 0 $sp->{'connectionEnd'} == 0 ? :
11 9 !defined($sp) ? :
104 9 11 if (defined $mkey and length $mkey)
111 9 11 if (defined $ckey and length $ckey)
112 9 0 if ($sp->{'CipherType'} eq 'block') { }
127 9 11 $res ? :