Branch Coverage

blib/lib/Math/Zap/Color.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
85 0 16 if (ref $C) { }
86 0 0 if (ref $C eq 'ARRAY') { }
99 13 3 if ($$color{$c}) { }
2 1 elsif ($c =~ /^([[:xdigit:]][[:xdigit:]])([[:xdigit:]][[:xdigit:]])([[:xdigit:]][[:xdigit:]])/) { }
1 0 elsif ($c =~ /^(\d+),(\d+),(\d+)$/) { }
144 0 0 unless ref $t eq 'Math::Zap::Color'
161 0 11 unless ref $c eq 'Math::Zap::Color'
175 0 4 unless ref $c eq 'Math::Zap::Color'
189 0 2 unless ref $c eq 'Math::Zap::Color'
203 1 2 unless ref $c eq 'Math::Zap::Color'