Condition Coverage

blib/lib/PDF/Reuse/OverlayChart.pm
Criterion Covered Total %
condition 0 216 0.0


and 2 conditions

line l !l condition
849 0 0 exists $$topScale{'col'} and scalar @{$$topScale{'col'};}

and 3 conditions

line !l l&&!r l&&r condition
81 0 0 0 $$self{'type'} ne 'bars' and $$self{'type'} ne 'totalbars'
0 0 0 $$self{'type'} ne 'bars' and $$self{'type'} ne 'totalbars' and $$self{'type'} ne 'percentbars'
0 0 0 $$self{'type'} ne 'bars' and $$self{'type'} ne 'totalbars' and $$self{'type'} ne 'percentbars' and $$self{'type'} ne 'lines'
0 0 0 $$self{'type'} ne 'bars' and $$self{'type'} ne 'totalbars' and $$self{'type'} ne 'percentbars' and $$self{'type'} ne 'lines' and $$self{'type'} ne 'area'
122 0 0 0 $$self{'type'} ne 'bars' and $$self{'type'} ne 'totalbars'
0 0 0 $$self{'type'} ne 'bars' and $$self{'type'} ne 'totalbars' and $$self{'type'} ne 'lines'
0 0 0 $$self{'type'} ne 'bars' and $$self{'type'} ne 'totalbars' and $$self{'type'} ne 'lines' and $$self{'type'} ne 'area'
157 0 0 0 defined $_ and $_ =~ /[A-Za-z]+/o
0 0 0 defined $_ and $_ =~ /[A-Za-z]+/o and not $_ =~ /undef/io
175 0 0 0 defined $_ and $_ =~ /([\d\.\-]*)/o
178 0 0 0 defined $element and length $element
285 0 0 0 defined $neg[$i][$k] and $neg[$i][$k] * -1 < $minSum
288 0 0 0 $posPercent < 100 and defined $pos[$i][$k]
292 0 0 0 $negPercent < 100 and defined $neg[$i][$k]
302 0 0 0 defined $neg[$i] and $neg[$i] * -1 < $minSum
305 0 0 0 $posPercent < 100 and defined $pos[$i]
309 0 0 0 $negPercent < 100 and defined $neg[$i]
522 0 0 0 defined $$self{'initialmaxy'} and $$self{'initialmaxy'} > $chartMax
527 0 0 0 defined $$self{'initialminy'} and $$self{'initialminy'} < $chartMin
533 0 0 0 exists $param{'merge'} and $$self{'type'} ne 'percentbars'
559 0 0 0 defined $$overlay{'rightscale'} and not defined $rightScale
563 0 0 0 defined $$overlay{'topscale'} and not defined $topScale
607 0 0 0 defined $max and defined $min
693 0 0 0 not defined $$self{'nounits'} and defined $$self{'yunit'}
735 0 0 0 not defined $$self{'nounits'} and defined $$self{'xunit'}
768 0 0 0 defined $$self{'iparam'} and defined $$self{'columnsActions'}[$i]
791 0 0 0 scalar @{$$self{'col'};} and $labelStep > 5
0 0 0 scalar @{$$self{'col'};} and $labelStep > 5 and not $$self{'nounits'}
826 0 0 0 defined $$self{'iparam'} and defined $$topScale{'columnsActions'}[$i]
849 0 0 0 exists $$topScale{'col'} and scalar @{$$topScale{'col'};} and $tLabelStep > 5
0 0 0 exists $$topScale{'col'} and scalar @{$$topScale{'col'};} and $tLabelStep > 5 and not $$self{'nounits'}
883 0 0 0 $langd == 1 and substr($tal, 0, 1) le '5'
938 0 0 0 defined $$self{'marginAction'} and defined $$self{'iparam'}
977 0 0 0 $langd == 1 and substr($tal, 0, 1) le '5'
1024 0 0 0 defined $$rightScale{'marginAction'} and defined $$self{'iparam'}
1089 0 0 0 defined $$overlay{'nogroups'} and $$overlay{'nogroups'}
1094 0 0 0 $yStart < $y0 + 13 and $yStart > $y0 - 18
1111 0 0 0 defined $$self{'iparam'} and defined $$overlay{'boxAction'}{$name}
1192 0 0 0 defined $$self{'iparam'} and defined $actions[$i]
1211 0 0 0 defined $$self{'iparam'} and defined $$self{'barAction'}{$namn}[$j]
1276 0 0 0 defined $$self{'iparam'} and defined $actions[$i]
1294 0 0 0 defined $$self{'iparam'} and defined $actions[$i]
1330 0 0 0 defined $$self{'iparam'} and defined $$self{'barAction'}{$namn}[$j]
1349 0 0 0 defined $$self{'iparam'} and defined $$self{'barAction'}{$namn}[$j]
1427 0 0 0 defined $$self{'iparam'} and defined $actions[$i]
1455 0 0 0 defined $$self{'iparam'} and defined $$self{'barAction'}{$namn}[$j]
1527 0 0 0 defined $$self{'iparam'} and defined $actions[$i]
1546 0 0 0 defined $$self{'iparam'} and defined $actions[$i]
1583 0 0 0 defined $$self{'iparam'} and defined $$self{'barAction'}{$namn}[$j]
1603 0 0 0 defined $$self{'iparam'} and defined $$self{'barAction'}{$namn}[$j]

or 2 conditions

line l !l condition
149 0 0 shift @values || ' '
580 0 0 $chartMax || 1
583 0 0 $chartMin * -1 || 1
586 0 0 $chartMax - $chartMin || 1
617 0 0 $langd * 7.5 || 25
890 0 0 $langd || 1
969 0 0 $langd * 7.5 || 25
984 0 0 $langd || 1

or 3 conditions

line l !l&&r !l&&!r condition
244 0 0 0 not defined $_ or $_ eq ''
248 0 0 0 not defined $max or $_ > $max
249 0 0 0 not defined $min or $_ < $min
257 0 0 0 not defined $max or $unit > $max
258 0 0 0 not defined $min or $unit < $min
264 0 0 0 not defined $num or $i > $num
283 0 0 0 not defined $maxSum or $element > $maxSum
284 0 0 0 not defined $minSum or $element < $minSum
300 0 0 0 not defined $maxSum or $tot[$i] > $maxSum
301 0 0 0 not defined $minSum or $tot[$i] < $minSum
513 0 0 0 $$self{'type'} eq 'totalbars' or $$self{'type'} eq 'area'
541 0 0 0 $$overlay{'type'} eq 'totalbars' or $$overlay{'type'} eq 'area'
750 0 0 0 $$self{'type'} eq 'area' or $$self{'type'} eq 'lines'
759 0 0 0 $$self{'type'} eq 'area' or $$self{'type'} eq 'lines'
883 0 0 0 $langd > 1 or $langd == 1 and substr($tal, 0, 1) le '5'
977 0 0 0 $langd > 1 or $langd == 1 and substr($tal, 0, 1) le '5'