Branch Coverage

blib/lib/HEAT/Crypto.pm
Criterion Covered Total %
branch 18 34 52.9


line true false branch
35 0 0 unless defined $_[0]
41 0 0 unless defined $_[0]
61 4 2 defined $_[0] ? :
97 1 0 if (_sign($v, $h, $x, $r->{'s'}))
109 0 1 do { $s =~ /^[[:xdigit:]]{128}$/ } ? :
1 0 defined $s ? :
130 0 0 do { $spec =~ /^[[:xdigit:]]{64}$/ } ? :
18 0 do { length $spec == 32 } ? :
0 18 do { $spec =~ /^([a-z]{3,12}( |\Z)){12}$/ if $is_private } ? :
18 0 defined $spec ? :
132 7 11 if $is_private
170 1 1 @_ == 3 ? :
180 0 2 if $@
182 0 2 wantarray ? :
189 1 1 @_ == 3 ? :
192 0 2 ref $data eq 'ARRAY' ? :
199 0 2 if $@