Branch Coverage

blib/lib/Convert/Color/RGB.pm
Criterion Covered Total %
branch 10 16 62.5


line true false branch
76 2 60 if (@_ == 1) { }
60 0 elsif (@_ == 3) { }
78 2 0 if (/^(\d+(?:\.\d+)?),(\d+(?:\.\d+)?),(\d+(?:\.\d+)?)$/u) { }
94 0 186 if $_ < 0
95 0 186 if $_ > 1
163 1 3 unless defined $alpha
165 0 4 if $alpha < 0
166 0 4 if $alpha > 1