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
519 0 0 0 not $value =~ s/^\s*($RE_REAL)// and $value <= 0
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)$// and $value > 0
1279 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
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
873 0 0 12 $n < 0 or $n > 255
874 0 0 12 $n < 32 or $n == 127
905 0 0 0 not $value =~ /^$RE_INT$/ or $value < 0
0 0 0 not $value =~ /^$RE_INT$/ or $value < 0 or $value > 2
925 0 0 0 $value == -1 or $value == -2