Branch Coverage

blib/lib/RGB2HSI.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
19 3 15 if ($R == $G and $G == $B) { }
27 5 10 if ($r <= $g and $r <= $b) { }
6 4 elsif ($g <= $r and $g <= $b) { }
48 0 15 if $delta == 0
50 5 10 if ($r == $max) { }
5 5 elsif ($g == $max) { }
64 1 14 if ($h < 0)
68 16 14 if ($v <= $min)
69 14 16 if ($v >= $max)