Branch Coverage

blib/lib/Tk/Chart/Utils.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
53 0 0 unless _isanumber($chiffre)
65 0 0 unless _isanumber($chiffre)
75 0 0 unless (defined $a)
76 0 0 unless (defined $b)
77 0 0 unless (defined $a or defined $b)
79 0 0 if ($a >= $b) { }
87 0 0 unless (defined $a)
88 0 0 unless (defined $b)
89 0 0 unless (defined $a or defined $b)
91 0 0 if ($a <= $b) { }
102 0 0 if $total_values == 0
117 0 0 unless (_isainteger($number))
121 0 0 if ($number % 2 == 0)
131 0 0 if (defined $number and $number =~ /^\d+$/)
147 0 0 if (_ispair($total_values)) { }
169 0 0 unless (defined $quantile_number)
171 0 0 if ($quantile_number == 0)
175 0 0 if ($quantile_number == 4)
204 0 0 if ($value > $low_boundary)
211 0 0 if ($value < $up_boundary)
222 0 0 if ($value > 10000)
232 0 0 unless (defined $value)
235 0 0 if ($value =~ /^(?:(?i)(?:[+-]?)(?:(?=[0123456789]|[.])(?:[0123456789]*)(?:(?:[.])(?:[0123456789]{0,}))?)(?:(?:[E])(?:(?:[+-]?)(?:[0123456789]+))|))$/)
250 0 0 if ($nbrelt <= 4)
262 0 0 unless $$ref_array[$i + 5]
323 0 0 if ($ref_data->[$index_data][$index_value])
328 0 0 unless $ref_data->[$index_data][$index_value]
357 0 0 if ($cw->class eq 'Pie')
366 0 0 if (defined $cumulatepercent and $cumulatepercent == 1)
371 0 0 if ($cw->{'RefChart'}{'Legend'}{'NbrLegend'} > 0)
385 0 0 if (defined $options{-'colordatamouse'})
386 0 0 if (scalar @{$options{-'colordatamouse'};} < 2) { }
394 0 0 if (defined $options{-'morepixelselected'})
397 0 0 if (defined $options{-'background'})
450 0 0 if ($cw->class eq 'Pie') { }
0 0 elsif ($cw->class eq 'Bars') { }
459 0 0 unless (defined $ref_data and ref $ref_data eq 'ARRAY')
466 0 0 if ($cw->class eq 'Areas')
472 0 0 if (defined $cw->{'RefChart'}{'Data'}{'PlotDefined'})