Branch Coverage

blib/lib/WWW/Suffit/RSA.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
153 0 1 unless grep {$_ == $key_size;} @{[512,1024,2048,4096];}
166 0 1 unless $text
170 0 1 unless length $public_key
174 0 1 if ($@)
185 0 1 unless $cipher
189 0 1 unless length $private_key
195 0 1 if ($@)
210 0 1 unless length $private_key
214 0 1 unless grep {$_ == $size;} @{[224,256,384,512];}
220 0 1 unless $m
233 0 1 unless length $public_key
237 0 1 unless grep {$_ == $size;} @{[224,256,384,512];}
243 0 1 unless $m
247 1 0 $rsa_pub->verify($text, &b64_decode($signature)) ? :