Condition Coverage

blib/lib/Data/FeatureFactory.pm
Criterion Covered Total %
condition 106 133 79.7


and 3 conditions

line !l l&&!r l&&r condition
94 97 6 4 exists $$feature{'postproc'} and ref $$feature{'postproc'} ne 'CODE'
103 1 0 2 defined $package_name and length $package_name > 0
295 7 0 1 not exists $$feature{'values'} and $format eq 'binary'
303 47 1 1 %{$class . '::features';} and exists ${$class . '::features';}{$name}
342 50 39 105 not ref $featnames and exists $$self{'expand_names_cache'}{$featnames}
349 25 0 10 not $featnames =~ /[[:lower:]]/ and $featnames =~ /[[:upper:]]/
361 7 0 3 @plus_labels == 0 and @minus_labels > 0
372 40 25 62 $included and not $excluded
424 521 4 145 not defined $normrv and exists $$self{'N/A'}
426 34 70 41 exists $$feature{'type'} and $$feature{'type'} eq 'boo'
447 1 0 4 ref $@ and $@->isa('Data::FeatureFactory::SoftError')
527 271 0 143 exists $$feature{'type'} and $$feature{'type'} =~ /^( num | int | boo )$/x
559 175 29 39 exists $$feature{'type'} and $$feature{'type'} eq 'boo'
587 203 0 41 exists $$feature{'default'} and not exists $$feature{'values'}{$$feature{'default'}}
596 838 0 211 exists $$feature{'format'} and $format ne 'postprocd'
603 140 122 17 exists $$feature{'type'} and $$feature{'type'} eq 'num'
604 140 53 69 exists $$feature{'type'} and $$feature{'type'} eq 'int'
605 140 0 53 exists $$feature{'type'} and $$feature{'type'} eq 'boo'
667 168 63 42 exists $$feature{'type'} and $$feature{'type'} eq 'boo'
714 144 72 52 exists $$feature{'type'} and $$feature{'type'} eq 'boo'
759 27 3 2 exists $$options{'from_NA'} and exists $$options{'to_NA'}
27 0 3 exists $$options{'from_NA'} and exists $$self{'N/A'}
24 0 3 exists $$options{'to_NA'} and exists $$self{'N/A'}
777 29 3 0 exists $$options{'header'} and not $$options{'header'}
822 101 65 15 $from_format eq 'normal' and exists $$feature{'postproc'}
838 133 24 24 exists $$feature{'format'} and $$feature{'format'} eq 'binary'
889 30 685 235 defined $from_NA and $value eq $from_NA
30 685 0 defined $to_NA and not defined $value
715 0 0 defined $to_NA and not defined $value and not defined $from_NA
897 15 332 0 defined $to_NA and not grep({defined $_;} @value)
347 0 0 defined $to_NA and not grep({defined $_;} @value) and not defined $from_NA
15 199 133 defined $from_NA and not grep({$_ ne $from_NA;} @value)
919 288 171 102 $from_format eq 'normal' and exists $$feature{'postproc'}
922 249 92 49 $from_format eq 'numeric' and exists $$feature{'type'}
341 0 49 $from_format eq 'numeric' and exists $$feature{'type'} and $$feature{'type'} =~ /^(int|num|boo)$/
194 102 45 $from_format eq 'binary' and exists $$feature{'type'}
296 18 27 $from_format eq 'binary' and exists $$feature{'type'} and $$feature{'type'} eq 'boo'
989 0 0 3 exists $$options{'header'} and $$options{'header'}

or 3 conditions

line l !l&&r !l&&!r condition
196 13 0 1 exists $$feature{'values'} or exists $$feature{'range_l'}
471 27 158 189 $type eq 'num' or $type eq 'int'
670 15 0 3 exists $$feature{'values_ordered'} or exists $$feature{'values'}
823 0 1 3 exists $$feature{'format'} or $to_format eq 'normal'
1015 1 3 11 exists $$feature{'format'} && $$feature{'format'} eq 'binary' || $globbin

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
249 1 0 0 0 $def xor $vals[0]