Branch Coverage

blib/lib/Tk/ForDummies/Graph.pm
Criterion Covered Total %
branch 0 162 0.0


line true false branch
191 0 0 if (defined $data and not $data =~ /^\d+$/)
198 0 0 if (defined $xvaluesregex and not ref($xvaluesregex) =~ /^Regexp$/i)
209 0 0 if (defined $gradient and not ref($gradient) =~ /^hash$/i)
216 0 0 if (defined $Colors and ref $Colors ne 'ARRAY')
226 0 0 if (defined $Markers and ref $Markers ne 'ARRAY')
237 0 0 if (defined $Typemixed and ref $Typemixed ne 'ARRAY')
248 0 0 if (my $xtickheight = $CompositeWidget->cget(-'xtickheight'))
253 0 0 if (my $smoothline = $CompositeWidget->cget(-'smoothline'))
257 0 0 if (my $xvaluespace = $CompositeWidget->cget(-'xvaluespace'))
261 0 0 if (my $noaxis = $CompositeWidget->cget(-'noaxis') and $CompositeWidget->cget(-'noaxis') == 1)
268 0 0 if (my $title = $CompositeWidget->cget(-'title')) { }
269 0 0 if (my $titleheight = $CompositeWidget->cget(-'titleheight'))
277 0 0 if (my $xlabel = $CompositeWidget->cget(-'xlabel')) { }
278 0 0 if (my $xlabelheight = $CompositeWidget->cget(-'xlabelheight'))
286 0 0 if (my $ylabel = $CompositeWidget->cget(-'ylabel')) { }
287 0 0 if (my $ylabelWidth = $CompositeWidget->cget(-'ylabelWidth'))
295 0 0 if (my $ytickwidth = $CompositeWidget->cget(-'ytickwidth'))
299 0 0 if (my $valuescolor = $CompositeWidget->cget(-'valuescolor'))
304 0 0 if (my $textcolor = $CompositeWidget->cget(-'textcolor')) { }
0 0 elsif (my $labelscolor = $CompositeWidget->cget(-'labelscolor')) { }
314 0 0 if (my $textfont = $CompositeWidget->cget(-'textfont'))
319 0 0 if (my $startangle = $CompositeWidget->cget(-'startangle'))
320 0 0 if ($startangle < 0 or $startangle > 360)
324 0 0 if (my $longticks = $CompositeWidget->cget(-'longticks'))
325 0 0 if ($longticks == 1)
336 0 0 if (my $borderwidth = $CompositeWidget->cget(-'borderwidth'))
348 0 0 unless (defined $RefLegend)
356 0 0 unless ($SizeLegend == $SizeData)
367 0 0 if (defined $ZoomX and not _isANumber($ZoomX) || $ZoomX > 0 or defined $ZoomY and not _isANumber($ZoomY) || $ZoomY > 0 or not defined $ZoomX || defined $ZoomY)
380 0 0 if defined $ZoomX
382 0 0 if defined $ZoomY
385 0 0 if defined $ZoomX
387 0 0 if defined $ZoomY
397 0 0 if ($$CompositeWidget{'RefInfoDummies'}{'Balloon'}{'Obj'} and $CompositeWidget->Tk::Exists->{'RefInfoDummies'}{'Balloon'}{'Obj'})
414 0 0 if (defined $Croak and $Croak == 1) { }
441 0 0 unless defined $MarkerType{$Number}
464 0 0 if ($Refcoord{'type'} eq 'circle' or $Refcoord{'type'} eq 'square') { }
0 0 elsif ($Refcoord{'type'} eq 'horizontal cross') { }
0 0 elsif ($Refcoord{'type'} eq 'diagonal cross') { }
0 0 elsif ($Refcoord{'type'} eq 'diamond') { }
0 0 elsif ($Refcoord{'type'} eq 'vertical line') { }
0 0 elsif ($Refcoord{'type'} eq 'horizontal line') { }
470 0 0 if ($Refcoord{'type'} eq 'circle') { }
551 0 0 unless defined $RefDataToDisplay and defined $$RefDataToDisplay[$LineNumber]
556 0 0 if defined $font
557 0 0 if defined $color
563 0 0 if (defined $value)
573 0 0 unless defined $$RefPoints[$indice_point]
644 0 0 if $Value == 0
647 0 0 if (defined $longticks and $longticks == 1)
653 0 0 if ($Value > 1000000 or length $Value > 7)
678 0 0 unless ($$CompositeWidget{'RefInfoDummies'}{'Data'}{'MinYValue'} == 0)
709 0 0 unless (defined $longticks and $longticks == 1)
736 0 0 unless ($Title)
760 0 0 if ($titleposition eq 'left') { }
0 0 elsif ($titleposition eq 'right') { }
782 0 0 if $anchor =~ /^left|right$/
791 0 0 if ($$CompositeWidget{'RefInfoDummies'}{'Title'}{'Ctitrey'} < $$CompositeWidget{'RefInfoDummies'}{'Canvas'}{'HeightEmptySpace'})
830 0 0 unless (defined $xlabel)
868 0 0 if ($$CompositeWidget{'RefInfoDummies'}{'Axis'}{'Xaxis'}{'CxlabelY'} < $BeforexlabelY)
902 0 0 unless (defined $ylabel)
939 0 0 unless (defined $$CompositeWidget{'RefInfoDummies'}{'Data'}{'PlotDefined'})
950 0 0 if ($CompositeWidget->class eq 'Pie')
956 0 0 if ($$CompositeWidget{'RefInfoDummies'}{'Data'}{'RefAllData'})
974 0 0 if ($CompositeWidget->class eq 'Lines') { }
975 0 0 if ($CompositeWidget->cget(-'pointline') == 1) { }
987 0 0 unless ($CompositeWidget->cget(-'noaxis') == 1)
992 0 0 if ($$CompositeWidget{'RefInfoDummies'}{'Legend'}{'NbrLegend'} > 0)
998 0 0 if ($$CompositeWidget{'RefInfoDummies'}{'Data'}{'MaxYValue'} < 0)
1004 0 0 if ($CompositeWidget->cget(-'boxaxis') == 0)
1007 0 0 if ($CompositeWidget->cget(-'noaxis') == 1)
1012 0 0 if ($CompositeWidget->cget(-'zeroaxisonly') == 1 and $$CompositeWidget{'RefInfoDummies'}{'Data'}{'MaxYValue'} > 0 and $$CompositeWidget{'RefInfoDummies'}{'Data'}{'MinYValue'} < 0)
1018 0 0 if ($CompositeWidget->cget(-'zeroaxis') == 1)
1023 0 0 if ($CompositeWidget->cget(-'xvalueview') == 0)
1026 0 0 if ($CompositeWidget->cget(-'yvalueview') == 0)
1032 0 0 if (defined $alltickview) { }
1033 0 0 if ($alltickview == 0) { }
1042 0 0 if ($CompositeWidget->cget(-'xtickview') == 0)
1045 0 0 if ($CompositeWidget->cget(-'ytickview') == 0)
1051 0 0 if ($$CompositeWidget{'RefInfoDummies'}{'Legend'}{'box'} == 0)
1055 0 0 if ($CompositeWidget->class eq 'Mixed')