Condition Coverage

blib/lib/Test/CPAN/Meta/Version.pm
Criterion Covered Total %
condition 45 48 93.7


and 3 conditions

line !l l&&!r l&&r condition
367 2 0 21 $$data{'meta-spec'} && $$data{'meta-spec'}{'version'}
570 1 1 1 $value and $value =~ /^--- #YAML:1.0/
604 1 7 35 $value and $known_specs{$$self{'spec'}} eq $value
605 1 1 6 $value and $known_urls{$value}
640 2 311 0 defined $value and $value || $value =~ /0/
694 1 3 60 $value and exists $licenses{$value}
708 1 0 5 $key and $key =~ /^[a-z]+$/i
1 1 4 $key and $key =~ /^[a-z]+$/i and $key =~ /[A-Z]/
719 1 5 75 $key and $key =~ /^([a-z][-_a-z]*)$/
720 1 4 1 $key and $key =~ /^x_([a-z][-_a-z]*)$/i
731 1 3 8 $key and $key =~ /^([a-z][_a-z]+)$/i
742 1 7 373 $key and $key =~ /^[A-Za-z0-9_]+(::[A-Za-z0-9_]+)*$/

or 3 conditions

line l !l&&r !l&&!r condition
617 296 1 1 $value or $value =~ /^0$/
626 1 1 1 $value or $value =~ /^0$/
640 256 54 1 $value || $value =~ /0/
653 421 55 1 $value or $value =~ /0/