| line |
true |
false |
branch |
|
50
|
0 |
0 |
if (ref $name) { } |
|
68
|
0 |
0 |
if ($possible{$key}) { } |
|
75
|
0 |
0 |
unless $$self{'xsize'} != 0 |
|
76
|
0 |
0 |
unless $$self{'ysize'} != 0 |
|
77
|
0 |
0 |
unless $$self{'size'} != 0 |
|
78
|
0 |
0 |
unless $$self{'width'} != 0 |
|
79
|
0 |
0 |
unless $$self{'height'} != 0 |
|
81
|
0 |
0 |
if ($$self{'type'} ne 'bars' and $$self{'type'} ne 'totalbars' and $$self{'type'} ne 'percentbars' and $$self{'type'} ne 'lines' and $$self{'type'} ne 'area') |
|
86
|
0 |
0 |
if (substr($$self{'type'}, 0, 1) eq 't') { } |
|
|
0 |
0 |
elsif (substr($$self{'type'}, 0, 1) eq 'p') { } |
|
|
0 |
0 |
elsif (substr($$self{'type'}, 0, 1) eq 'l') { } |
|
|
0 |
0 |
elsif (substr($$self{'type'}, 0, 1) eq 'a') { } |
|
103
|
0 |
0 |
unless (defined $$self{'color'}) |
|
115
|
0 |
0 |
if ($possible{$key}) { } |
|
122
|
0 |
0 |
if ($$self{'type'} ne 'bars' and $$self{'type'} ne 'totalbars' and $$self{'type'} ne 'lines' and $$self{'type'} ne 'area') |
|
126
|
0 |
0 |
if (substr($$self{'type'}, 0, 1) eq 't') { } |
|
|
0 |
0 |
elsif (substr($$self{'type'}, 0, 1) eq 'l') { } |
|
|
0 |
0 |
elsif (substr($$self{'type'}, 0, 1) eq 'a') { } |
|
140
|
0 |
0 |
unless exists $$self{'xdensity'} |
|
141
|
0 |
0 |
unless exists $$self{'ydensity'} |
|
152
|
0 |
0 |
unless (defined $$self{'col'}) |
|
154
|
0 |
0 |
if (ref $_ eq 'ARRAY') |
|
157
|
0 |
0 |
if (defined $_ and $_ =~ /[A-Za-z]+/o and not $_ =~ /undef/io) |
|
167
|
0 |
0 |
unless (defined $ready) |
|
168
|
0 |
0 |
unless (exists $$self{'series'}{$name}) |
|
175
|
0 |
0 |
if (ref $_ eq 'ARRAY') { } |
|
|
0 |
0 |
elsif (defined $_ and $_ =~ /([\d\.\-]*)/o) { } |
|
178
|
0 |
0 |
if (defined $element and length $element) { } |
|
188
|
0 |
0 |
if (length $1) |
|
210
|
0 |
0 |
if ($vector[0] =~ /gray/io) { } |
|
|
0 |
0 |
elsif ($vector[0] =~ /light/io) { } |
|
|
0 |
0 |
elsif ($vector[0] =~ /dark/io) { } |
|
|
0 |
0 |
elsif ($vector[0] =~ /bright/io) { } |
|
240
|
0 |
0 |
unless defined $unit |
|
241
|
0 |
0 |
if (ref $unit eq 'ARRAY') { } |
|
244
|
0 |
0 |
if (not defined $_ or $_ eq '') |
|
248
|
0 |
0 |
if not defined $max or $_ > $max |
|
249
|
0 |
0 |
if not defined $min or $_ < $min |
|
251
|
0 |
0 |
if $_ > 0 |
|
252
|
0 |
0 |
if $_ < 0 |
|
257
|
0 |
0 |
if not defined $max or $unit > $max |
|
258
|
0 |
0 |
if not defined $min or $unit < $min |
|
260
|
0 |
0 |
if $unit > 0 |
|
261
|
0 |
0 |
if $unit < 0 |
|
264
|
0 |
0 |
if not defined $num or $i > $num |
|
267
|
0 |
0 |
defined $num ? : |
|
273
|
0 |
0 |
unless (defined $tot[$i]) |
|
276
|
0 |
0 |
if (ref $tot[$i] eq 'ARRAY') { } |
|
279
|
0 |
0 |
unless (defined $element) |
|
283
|
0 |
0 |
if not defined $maxSum or $element > $maxSum |
|
284
|
0 |
0 |
if not defined $minSum or $element < $minSum |
|
285
|
0 |
0 |
if (defined $neg[$i][$k] and $neg[$i][$k] * -1 < $minSum) |
|
288
|
0 |
0 |
if ($posPercent < 100 and defined $pos[$i][$k]) |
|
290
|
0 |
0 |
if $percent > $posPercent |
|
292
|
0 |
0 |
if ($negPercent < 100 and defined $neg[$i][$k]) |
|
294
|
0 |
0 |
if $percent > $posPercent |
|
300
|
0 |
0 |
if not defined $maxSum or $tot[$i] > $maxSum |
|
301
|
0 |
0 |
if not defined $minSum or $tot[$i] < $minSum |
|
302
|
0 |
0 |
if (defined $neg[$i] and $neg[$i] * -1 < $minSum) |
|
305
|
0 |
0 |
if ($posPercent < 100 and defined $pos[$i]) |
|
307
|
0 |
0 |
if $percent > $posPercent |
|
309
|
0 |
0 |
if ($negPercent < 100 and defined $neg[$i]) |
|
311
|
0 |
0 |
if $percent > $negPercent |
|
316
|
0 |
0 |
defined $max ? : |
|
317
|
0 |
0 |
defined $min ? : |
|
318
|
0 |
0 |
defined $maxSum ? : |
|
319
|
0 |
0 |
defined $minSum ? : |
|
351
|
0 |
0 |
if (ref $_ eq 'ARRAY') { } |
|
364
|
0 |
0 |
if ($namn) |
|
373
|
0 |
0 |
if (not $str =~ /\"/so) { } |
|
|
0 |
0 |
elsif (not $str =~ /\'/so) { } |
|
393
|
0 |
0 |
if (ref $_ eq 'ARRAY') { } |
|
405
|
0 |
0 |
if ($namn) |
|
416
|
0 |
0 |
if (ref $_ eq 'ARRAY') { } |
|
437
|
0 |
0 |
if (ref $_ eq 'ARRAY') { } |
|
499
|
0 |
0 |
if ($possible{$key}) { } |
|
513
|
0 |
0 |
if ($$self{'type'} eq 'totalbars' or $$self{'type'} eq 'area') { } |
|
522
|
0 |
0 |
if (defined $$self{'initialmaxy'} and $$self{'initialmaxy'} > $chartMax) |
|
527
|
0 |
0 |
if (defined $$self{'initialminy'} and $$self{'initialminy'} < $chartMin) |
|
533
|
0 |
0 |
if (exists $param{'merge'} and $$self{'type'} ne 'percentbars') |
|
535
|
0 |
0 |
if ($$_{'type'} ne 'percentbars') |
|
541
|
0 |
0 |
if ($$overlay{'type'} eq 'totalbars' or $$overlay{'type'} eq 'area') { } |
|
545
|
0 |
0 |
if $tmaxSum > $chartMax |
|
546
|
0 |
0 |
if $tminSum < $chartMin |
|
552
|
0 |
0 |
if $tmax > $chartMax |
|
553
|
0 |
0 |
if $tmin < $chartMin |
|
556
|
0 |
0 |
if $tnum > $num |
|
558
|
0 |
0 |
if $tnum > $num |
|
559
|
0 |
0 |
if (defined $$overlay{'rightscale'} and not defined $rightScale) |
|
563
|
0 |
0 |
if (defined $$overlay{'topscale'} and not defined $topScale) |
|
575
|
0 |
0 |
if $num > $xSteps |
|
578
|
0 |
0 |
if ($$self{'type'} ne 'percentbars') { } |
|
579
|
0 |
0 |
if ($chartMin > 0) { } |
|
|
0 |
0 |
elsif ($chartMax < 0) { } |
|
601
|
0 |
0 |
if ($num < 1) |
|
607
|
0 |
0 |
unless (defined $max and defined $min) |
|
614
|
0 |
0 |
length $tal1 > length $tal2 ? : |
|
643
|
0 |
0 |
if ($chartMax < 0) { } |
|
|
0 |
0 |
elsif ($chartMin < 0) { } |
|
657
|
0 |
0 |
if (defined $$self{'background'}) |
|
693
|
0 |
0 |
if (not defined $$self{'nounits'} and defined $$self{'yunit'}) |
|
695
|
0 |
0 |
if $xT < 1 |
|
706
|
0 |
0 |
if ($$self{'title'}) |
|
708
|
0 |
0 |
if ($xT < $xT2 + 10) |
|
735
|
0 |
0 |
if (not defined $$self{'nounits'} and defined $$self{'xunit'}) |
|
750
|
0 |
0 |
if ($$self{'type'} eq 'area' or $$self{'type'} eq 'lines') |
|
759
|
0 |
0 |
if ($$self{'type'} eq 'area' or $$self{'type'} eq 'lines') |
|
768
|
0 |
0 |
if (defined $$self{'iparam'} and defined $$self{'columnsActions'}[$i]) |
|
791
|
0 |
0 |
if (scalar @{$$self{'col'};} and $labelStep > 5 and not $$self{'nounits'}) |
|
798
|
0 |
0 |
if (exists $$self{'col'}[$i]) |
|
809
|
0 |
0 |
if (defined $topScale) |
|
826
|
0 |
0 |
if (defined $$self{'iparam'} and defined $$topScale{'columnsActions'}[$i]) |
|
849
|
0 |
0 |
if (exists $$topScale{'col'} and scalar @{$$topScale{'col'};} and $tLabelStep > 5 and not $$self{'nounits'}) |
|
859
|
0 |
0 |
if (exists $$topScale{'col'}[$i]) |
|
872
|
0 |
0 |
if ($iStep > 20) |
|
876
|
0 |
0 |
if ($tal < 0) |
|
881
|
0 |
0 |
if ($langd > 1) |
|
883
|
0 |
0 |
if ($langd > 1 or $langd == 1 and substr($tal, 0, 1) le '5') |
|
900
|
0 |
0 |
if ($yPos - $last > 13) |
|
901
|
0 |
0 |
unless ($$self{'nounits'}) |
|
920
|
0 |
0 |
if ($last - $yPos > 13) |
|
921
|
0 |
0 |
unless ($$self{'nounits'}) |
|
923
|
0 |
0 |
if $xT < 1 |
|
938
|
0 |
0 |
if (defined $$self{'marginAction'} and defined $$self{'iparam'}) |
|
950
|
0 |
0 |
if (defined $rightScale) |
|
957
|
0 |
0 |
length $tal1 > length $tal2 ? : |
|
970
|
0 |
0 |
if ($tal < 0) |
|
975
|
0 |
0 |
if ($langd > 1) |
|
977
|
0 |
0 |
if ($langd > 1 or $langd == 1 and substr($tal, 0, 1) le '5') |
|
990
|
0 |
0 |
if ($yPos - $last > 13) |
|
991
|
0 |
0 |
unless ($$self{'nounits'}) |
|
1009
|
0 |
0 |
if ($last - $yPos > 13) |
|
1010
|
0 |
0 |
unless ($$self{'nounits'}) |
|
1024
|
0 |
0 |
if (defined $$rightScale{'marginAction'} and defined $$self{'iparam'}) |
|
1048
|
0 |
0 |
if (defined $$overlay{'groupstitle'}) |
|
1050
|
0 |
0 |
if ($yTemp < $y0 + 20) |
|
1063
|
0 |
0 |
if (defined $$overlay{'groupstext'}) |
|
1065
|
0 |
0 |
if ($yTemp < $y0 + 20) |
|
1078
|
0 |
0 |
defined $$overlay{'color'} ? : |
|
1081
|
0 |
0 |
unless (defined $color[$i]) |
|
1085
|
0 |
0 |
abs $col2 - $col3 > abs 1 - $col3 ? : |
|
1086
|
0 |
0 |
abs $col3 - $alt1 > abs $col3 - $alt2 ? : |
|
1089
|
0 |
0 |
if (defined $$overlay{'nogroups'} and $$overlay{'nogroups'}) |
|
1094
|
0 |
0 |
if ($yStart < $y0 + 13 and $yStart > $y0 - 18) |
|
1103
|
0 |
0 |
if ($name) { } |
|
1111
|
0 |
0 |
if (defined $$self{'iparam'} and defined $$overlay{'boxAction'}{$name}) |
|
1129
|
0 |
0 |
if ($$overlay{'type'} eq 'bars') { } |
|
|
0 |
0 |
elsif ($$overlay{'type'} eq 'totalbars') { } |
|
|
0 |
0 |
elsif ($$overlay{'type'} eq 'lines') { } |
|
|
0 |
0 |
elsif ($$overlay{'type'} eq 'percentbars') { } |
|
|
0 |
0 |
elsif ($$overlay{'type'} eq 'area') { } |
|
1154
|
0 |
0 |
if ($$self{'level'} ne 'top') |
|
1155
|
0 |
0 |
if ($$self{'ydensity'} != 1) |
|
1158
|
0 |
0 |
if ($$self{'xdensity'} != 1) |
|
1173
|
0 |
0 |
if (defined $$self{'series'}{$namn}[$j]) { } |
|
1174
|
0 |
0 |
if (ref $$self{'series'}{$namn}[$j] eq 'ARRAY') { } |
|
1178
|
0 |
0 |
ref $$self{'barAction'}{$namn}[$j] eq 'ARRAY' ? : |
|
1180
|
0 |
0 |
ref $$self{'barToolTip'}{$namn}[$j] eq 'ARRAY' ? : |
|
1183
|
0 |
0 |
unless (defined $_) |
|
1192
|
0 |
0 |
if (defined $$self{'iparam'} and defined $actions[$i]) |
|
1211
|
0 |
0 |
if (defined $$self{'iparam'} and defined $$self{'barAction'}{$namn}[$j]) |
|
1236
|
0 |
0 |
if ($$self{'level'} ne 'top') |
|
1237
|
0 |
0 |
if ($$self{'ydensity'} != 1) |
|
1240
|
0 |
0 |
if ($$self{'xdensity'} != 1) |
|
1251
|
0 |
0 |
unless (defined $$self{'tot'}[$j]) |
|
1254
|
0 |
0 |
if (ref $$self{'tot'}[$j] eq 'ARRAY') { } |
|
1263
|
0 |
0 |
ref $$self{'barAction'}{$namn}[$j] eq 'ARRAY' ? : |
|
1265
|
0 |
0 |
ref $$self{'barToolTip'}{$namn}[$j] eq 'ARRAY' ? : |
|
1267
|
0 |
0 |
unless (defined $value) |
|
1271
|
0 |
0 |
if ($value > 0) { } |
|
|
0 |
0 |
elsif ($value < 0) { } |
|
1276
|
0 |
0 |
if (defined $$self{'iparam'} and defined $actions[$i]) |
|
1294
|
0 |
0 |
if (defined $$self{'iparam'} and defined $actions[$i]) |
|
1321
|
0 |
0 |
unless (defined $value) |
|
1325
|
0 |
0 |
if ($value > 0) { } |
|
|
0 |
0 |
elsif ($value < 0) { } |
|
1330
|
0 |
0 |
if (defined $$self{'iparam'} and defined $$self{'barAction'}{$namn}[$j]) |
|
1349
|
0 |
0 |
if (defined $$self{'iparam'} and defined $$self{'barAction'}{$namn}[$j]) |
|
1372
|
0 |
0 |
if ($$self{'level'} ne 'top') |
|
1373
|
0 |
0 |
if ($$self{'ydensity'} != 1) |
|
1376
|
0 |
0 |
if ($$self{'xdensity'} != 1) |
|
1383
|
0 |
0 |
$min < 0 ? : |
|
1396
|
0 |
0 |
if (defined $$self{'series'}{$namn}[$j]) { } |
|
1397
|
0 |
0 |
if (ref $$self{'series'}{$namn}[$j] eq 'ARRAY') { } |
|
1401
|
0 |
0 |
ref $$self{'barAction'}{$namn}[$j] eq 'ARRAY' ? : |
|
1403
|
0 |
0 |
ref $$self{'barToolTip'}{$namn}[$j] eq 'ARRAY' ? : |
|
1408
|
0 |
0 |
unless (defined $_) |
|
1409
|
0 |
0 |
if ($move) |
|
1421
|
0 |
0 |
if ($move) |
|
1422
|
0 |
0 |
if $move |
|
1425
|
0 |
0 |
unless (defined $$self{'nomarker'}) |
|
1427
|
0 |
0 |
if (defined $$self{'iparam'} and defined $actions[$i]) |
|
1449
|
0 |
0 |
if ($move) |
|
1450
|
0 |
0 |
if $move |
|
1453
|
0 |
0 |
unless (defined $$self{'nomarker'}) |
|
1455
|
0 |
0 |
if (defined $$self{'iparam'} and defined $$self{'barAction'}{$namn}[$j]) |
|
1485
|
0 |
0 |
if ($$self{'level'} ne 'top') |
|
1486
|
0 |
0 |
if ($$self{'ydensity'} != 1) |
|
1489
|
0 |
0 |
if ($$self{'xdensity'} != 1) |
|
1501
|
0 |
0 |
unless (defined $$self{'tot'}[$j]) |
|
1504
|
0 |
0 |
if (ref $$self{'tot'}[$j] eq 'ARRAY') { } |
|
1513
|
0 |
0 |
ref $$self{'barAction'}{$namn}[$j] eq 'ARRAY' ? : |
|
1515
|
0 |
0 |
ref $$self{'barToolTip'}{$namn}[$j] eq 'ARRAY' ? : |
|
1517
|
0 |
0 |
unless (defined $value) |
|
1521
|
0 |
0 |
if ($value > 0) { } |
|
|
0 |
0 |
elsif ($value < 0) { } |
|
1527
|
0 |
0 |
if (defined $$self{'iparam'} and defined $actions[$i]) |
|
1546
|
0 |
0 |
if (defined $$self{'iparam'} and defined $actions[$i]) |
|
1573
|
0 |
0 |
unless (defined $value) |
|
1577
|
0 |
0 |
if ($value > 0) { } |
|
|
0 |
0 |
elsif ($value < 0) { } |
|
1583
|
0 |
0 |
if (defined $$self{'iparam'} and defined $$self{'barAction'}{$namn}[$j]) |
|
1603
|
0 |
0 |
if (defined $$self{'iparam'} and defined $$self{'barAction'}{$namn}[$j]) |
|
1626
|
0 |
0 |
if ($$self{'level'} ne 'top') |
|
1627
|
0 |
0 |
if ($$self{'ydensity'} != 1) |
|
1630
|
0 |
0 |
if ($$self{'xdensity'} != 1) |
|
1648
|
0 |
0 |
if (defined $$self{'series'}{$namn}[$j]) { } |
|
1650
|
0 |
0 |
if (ref $value eq 'ARRAY') { } |
|
1655
|
0 |
0 |
if (not defined $_) { } |
|
|
0 |
0 |
elsif ($_ > 0) { } |
|
|
0 |
0 |
elsif ($_ < 0) { } |
|
1656
|
0 |
0 |
if ($move) |
|
1666
|
0 |
0 |
unless (defined $move) |
|
1676
|
0 |
0 |
unless defined $neg[$j][$k] |
|
1678
|
0 |
0 |
unless (defined $move) |
|
1696
|
0 |
0 |
if ($value > 0) { } |
|
|
0 |
0 |
elsif ($value < 0) { } |
|
1698
|
0 |
0 |
unless (defined $move) |
|
1708
|
0 |
0 |
unless defined $neg[$j] |
|
1710
|
0 |
0 |
unless (defined $move) |
|
1726
|
0 |
0 |
if ($move) |
|
1736
|
0 |
0 |
if ($move) |
|
1756
|
0 |
0 |
if ($mess) { } |