Condition Coverage

blib/lib/VOMS/Lite/PROXY.pm
Criterion Covered Total %
condition 18 54 33.3


and 3 conditions

line !l l&&!r l&&r condition
51 0 0 1 defined $context{'Type'} && $context{'Type'} =~ /^(Lega[cs]y|Limited|Pre-RFC|RFC)$/
53 1 0 0 defined $context{'PathLength'} && $context{'PathLength'} =~ /^([0-9]+)$/s
54 1 0 0 defined $context{'Bits'} && $context{'Bits'} =~ /^(512|1024|2048|4096)$/s
55 0 0 1 defined $context{'Lifetime'} && $context{'Lifetime'} =~ /^([0-9]+)$/s
56 1 0 0 defined $context{'Start'} && $context{'Start'} =~ /^([0-9]+)$/s
57 1 0 0 defined $context{'AC'} && $context{'AC'} =~ /^(\060.+)$/s
64 1 0 0 defined $context{'KeypublicExponent'} && $context{'KeypublicExponent'} =~ /^([\x00-\x7f].+)$/s
65 1 0 0 defined $context{'KeypublicModulus'} && $context{'KeypublicModulus'} =~ /^([\x00-\x7f].+)$/s
68 0 1 0 defined $context{'Type'} and not defined $type
69 1 0 0 defined $context{'PathLength'} and not defined $pathlen
70 1 0 0 defined $context{'Bits'} and not defined $bits
71 0 1 0 defined $context{'Lifetime'} and not defined $lifetime
72 1 0 0 defined $context{'Start'} and not defined $start
73 1 0 0 defined $context{'AC'} and not defined $AC
90 0 1 0 $type =~ /Legacy/ and defined $pathlen
106 1 0 0 defined $KeypublicE && defined $KeypublicM
158 1 0 0 $type ne 'Legacy' and $type ne 'Limited'
208 1 0 0 defined $KeypublicE and defined $KeypublicM