Condition Coverage

blib/lib/Tk/Chart.pm
Criterion Covered Total %
condition 0 141 0.0


and 3 conditions

line !l l&&!r l&&r condition
291 0 0 0 defined $data and not _isainteger($data)
298 0 0 0 defined $xvaluesregex and ref $xvaluesregex ne 'Regexp'
307 0 0 0 defined $gradient and ref $gradient ne 'HASH'
314 0 0 0 defined $colors and ref $colors ne 'ARRAY'
322 0 0 0 defined $markers and ref $markers ne 'ARRAY'
329 0 0 0 defined $type_mixed and ref $type_mixed ne 'ARRAY'
351 0 0 0 my $noaxis = $cw->cget('-noaxis') and $cw->cget('-noaxis') == 1
428 0 0 0 defined $yminvalue and not _isanumber($yminvalue)
433 0 0 0 defined $ymaxvalue and not _isanumber($ymaxvalue)
438 0 0 0 defined $yminvalue and defined $ymaxvalue
471 0 0 0 defined $zoomx and _isanumber($zoomx)
0 0 0 defined $zoomx and _isanumber($zoomx) and $zoomx > 0
0 0 0 defined $zoomy and _isanumber($zoomy)
0 0 0 defined $zoomy and _isanumber($zoomy) and $zoomy > 0
499 0 0 0 $cw->{'RefChart'}{'Balloon'}{'Obj'} and $cw->Tk::Exists->{'RefChart'}{'Balloon'}{'Obj'}
514 0 0 0 defined $croak and $croak == 1
518 0 0 0 defined $verbose and $verbose == 1
651 0 0 0 defined $ref_data_to_display and defined $ref_data_to_display->[$line_number]
743 0 0 0 defined $longticks and $longticks == 1
0 0 0 defined $xlongticks and $xlongticks == 1
786 0 0 0 defined $longticks and $longticks == 1
0 0 0 defined $ylongticks and $ylongticks == 1
853 0 0 0 defined $yminvalue and $yminvalue > 0
954 0 0 0 $anchor eq 'left' and $anchor eq 'right'
1102 0 0 0 defined $cumulatepercent and $cumulatepercent == 1
1114 0 0 0 defined $yminvalue and defined $ymaxvalue
1115 0 0 0 $ymaxvalue >= $cw->{'RefChart'}{'Data'}{'MaxYValue'} and $yminvalue <= $cw->{'RefChart'}{'Data'}{'MinYValue'}
0 0 0 defined $interval and $interval == 1
1127 0 0 0 defined $cumulate and $cumulate == 1
0 0 0 defined $cumulate and $cumulate == 1 and $cw->{'RefChart'}{'Data'}{'MinYValue'} > 0
1131 0 0 0 defined $interval and $interval == 1
1139 0 0 0 defined $yminvalue and $yminvalue != 0
1142 0 0 0 defined $ymaxvalue and $ymaxvalue != 0
1223 0 0 0 $cw->cget('-zeroaxisonly') == 1 and $cw->{'RefChart'}{'Data'}{'MaxYValue'} > 0
0 0 0 $cw->cget('-zeroaxisonly') == 1 and $cw->{'RefChart'}{'Data'}{'MaxYValue'} > 0 and $cw->{'RefChart'}{'Data'}{'MinYValue'} < 0
1277 0 0 0 defined $showvalues and $showvalues == 1

or 3 conditions

line l !l&&r !l&&!r condition
410 0 0 0 $startangle < $MIN_ANGLE or $startangle > $MAX_ANGLE
471 0 0 0 defined $zoomx and _isanumber($zoomx) and $zoomx > 0 or defined $zoomy and _isanumber($zoomy) and $zoomy > 0
564 0 0 0 $ref_coord{'type'} eq 'circle' or $ref_coord{'type'} eq 'square'
743 0 0 0 defined $longticks and $longticks == 1 or defined $xlongticks and $xlongticks == 1
754 0 0 0 $longtickscolor || $xlongtickscolor
786 0 0 0 defined $longticks and $longticks == 1 or defined $ylongticks and $ylongticks == 1
797 0 0 0 $longtickscolor || $ylongtickscolor
853 0 0 0 $cw->{'RefChart'}{'Data'}{'MinYValue'} == 0 or defined $yminvalue and $yminvalue > 0
0 0 0 $cw->{'RefChart'}{'Data'}{'MinYValue'} == 0 or defined $yminvalue and $yminvalue > 0 or $cw->{'RefChart'}{'Data'}{'MinYValue'} > 0
888 0 0 0 not defined $longticks or $longticks != 1
1115 0 0 0 $ymaxvalue >= $cw->{'RefChart'}{'Data'}{'MaxYValue'} and $yminvalue <= $cw->{'RefChart'}{'Data'}{'MinYValue'} or defined $interval and $interval == 1