Condition Coverage

lib/Graphics/Fig/Parameters.pm
Criterion Covered Total %
condition 27 87 31.0


and 3 conditions

line !l l&&!r l&&r condition
316 7 0 0 ref $value eq "ARRAY" and scalar @{$value;} == 2
752 23 40 19 scalar @{$value;} == 2 and ref do { $value }->[0] eq ""
63 0 19 scalar @{$value;} == 2 and ref do { $value }->[0] eq "" and ref do { $value }->[1] eq ""
777 0 0 0 $value =~ /^\s*($RE_REAL)\s*$/ and $value > 0
1281 39 154 200 $last >= 0 and ref $_[$last] eq "HASH"

or 3 conditions

line l !l&&r !l&&!r condition
257 0 0 0 $val < 1 or $val > 19
265 0 0 1 $val < 1 or $val > 19
290 27 0 3 $value eq "forw" or $value eq "forward"
293 1 0 2 $value eq "back" or $value eq "backward"
338 0 0 5 $value eq "false" or $value eq 0
341 0 5 0 $value eq "true" or $value eq 1
407 0 0 12 not $value =~ /^$RE_INT$/ or $value < 0
0 0 12 not $value =~ /^$RE_INT$/ or $value < 0 or $value > 999
519 0 0 0 not $value =~ /^\s*($RE_REAL)\s*$/ or $value <= 0
724 0 0 280 ref $value ne "ARRAY" or scalar @{$value;} != 2
0 0 280 ref $value ne "ARRAY" or scalar @{$value;} != 2 or not defined do { $value }->[0]
0 0 280 ref $value ne "ARRAY" or scalar @{$value;} != 2 or not defined do { $value }->[0] or not defined do { $value }->[1]
799 0 0 7 scalar @{$value;} != 2 or not defined($u = do { $value }->[0])
0 0 7 scalar @{$value;} != 2 or not defined($u = do { $value }->[0]) or not defined($v = do { $value }->[1])
0 0 7 scalar @{$value;} != 2 or not defined($u = do { $value }->[0]) or not defined($v = do { $value }->[1]) or not $u =~ /^$RE_REAL/
0 0 7 scalar @{$value;} != 2 or not defined($u = do { $value }->[0]) or not defined($v = do { $value }->[1]) or not $u =~ /^$RE_REAL/ or not $v =~ /^\s*$RE_REAL/
805 0 0 0 not defined $value or !ref($value) eq ""
0 0 0 not defined $value or !ref($value) eq "" or not $value =~ /$RE_REAL/
847 0 0 0 $value < 0 or $value > 5
876 0 0 12 $n < 32 or $n == 127
0 0 12 $n < 32 or $n == 127 or $n > 255
907 0 0 0 not $value =~ /^$RE_INT$/ or $value < 0
0 0 0 not $value =~ /^$RE_INT$/ or $value < 0 or $value > 2
927 0 0 0 $value == -1 or $value == -2