Branch Coverage

lib/Crypt/RSA/Key/Public.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
27 1 17 if ($params{'Filename'}) { }
41 4498 20 if ($key =~ /^n|e$/) { }
20 0 elsif ($key =~ /^Identity$/) { }
42 14 4484 if (ref $value eq 'Math::Pari') { }
20 4464 elsif ($value and not ref $value) { }
45 1 19 if ($value =~ /^0x/) { }
50 4497 1 if $return =~ /^\d+$/
53 12 8 if $value
71 0 1092 unless $self->n and $self->e
93 0 1 unless open DISK, $params{'Filename'}