Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
370 2 0 19 $$data{'meta-spec'} && $$data{'meta-spec'}{'version'}
573 1 1 1 $value and $value =~ /^--- #YAML:1.0/
607 1 7 31 $value and $known_specs{$$self{'spec'}} eq $value
608 1 1 6 $value and $known_urls{$value}
643 2 299 0 defined $value and $value || $value =~ /0/
697 1 3 56 $value and exists $licenses{$value}
711 1 0 5 $key and $key =~ /^[a-z]+$/i
1 1 4 $key and $key =~ /^[a-z]+$/i and $key =~ /[A-Z]/
722 1 5 73 $key and $key =~ /^([a-z][-_a-z]*)$/
723 1 4 1 $key and $key =~ /^x_([a-z][-_a-z]*)$/i
734 1 3 8 $key and $key =~ /^([a-z][_a-z]+)$/i
745 1 7 361 $key and $key =~ /^[A-Za-z0-9_]+(::[A-Za-z0-9_]+)*$/

or 3 conditions

line l !l&&r !l&&!r condition
620 268 1 1 $value or $value =~ /^0$/
629 1 1 1 $value or $value =~ /^0$/
643 252 46 1 $value || $value =~ /0/
656 409 47 1 $value or $value =~ /0/