Branch Coverage

blib/lib/Chart/Gnuplot/Pie.pm
Criterion Covered Total %
branch 9 32 28.1


line true false branch
43 0 0 unless open CHT, ">>$$self{'_script'}"
64 0 0 unless open CHT, ">>$$self{'_script'}"
88 0 1 defined $$self{'rotate'} ? :
106 1 3 if $s + $e > 1 and $s + $e < 2
107 3 1 if $s + $e < 1 or $s + $e > 2
108 1 3 if $s + $e > 0.5 and $s + $e < 1.5
127 0 4 if (not defined $$self{'colors'} or ${$$self{'colors'};}[$i] eq '') { }
146 0 1 if (defined $$self{'border'} and $$self{'border'} ne 'off')
152 0 0 if (ref $border eq 'HASH')
154 0 0 if defined $$border{'color'}
155 0 0 if defined $$border{'width'}
180 0 0 defined $$self{'rotate'} ? :
199 0 0 if $s + $e > 1 and $s + $e < 2
200 0 0 if $s + $e < 1 or $s + $e > 2
201 0 0 if $s + $e > 0.5 and $s + $e < 1.5
211 0 0 if (not defined $$self{'colors'} or ${$$self{'colors'};}[$i] eq '') { }