Branch Coverage

blib/lib/SWF/Builder/Gradient.pm
Criterion Covered Total %
branch 9 26 34.6


line true false branch
28 0 2 if @$g >= 8
55 0 1 if (@rect == 1) { }
0 1 elsif ($rect[0] =~ /^[XY]m/) { }
56 0 0 if (ref $param[0] eq 'ARRAY') { }
0 0 elsif (UNIVERSAL::isa($rect[0], 'SWF::Element::RECT')) { }
69 0 1 unless defined $x1
74 0 1 if (/^fit$/)
78 0 1 if (/^width$/)
82 0 1 if (/^height$/)
86 1 0 if (/^longer$/)
87 1 0 $sx >= $sy ? :
90 0 0 if (/^shorter$/)
91 0 0 $sx >= $sy ? :