Branch Coverage

blib/lib/Convert/Color/RGB16.pm
Criterion Covered Total %
branch 16 24 66.6


line true false branch
83 2 28 if (@_ == 1) { }
28 0 elsif (@_ == 3) { }
85 1 1 if (/^([[:xdigit:]]{4})([[:xdigit:]]{4})([[:xdigit:]]{4})$/u) { }
1 0 elsif (/^(\d+),(\d+),(\d+)$/u) { }
104 0 90 if $_ < 0
105 0 90 if $_ > 65535
197 1 3 unless defined $alpha
199 0 4 if $alpha < 0
200 0 4 if $alpha > 1
229 1 3 unless defined $alpha
231 0 4 if $alpha < 0
232 0 4 if $alpha > 65535