Branch Coverage

blib/lib/Convert/Color/ScaleModels.pm
Criterion Covered Total %
branch 30 34 88.2


line true false branch
74 0 6 unless _valid_man($man1) and _valid_man($man2)
77 0 6 if ($man1 eq $man2) { }
85 302 604 if ($man1 =~ /humbrol/i) { }
302 302 elsif ($man1 =~ /revell/i) { }
86 300 2 unless defined $$names_colors{$name}[0] and $colornum eq $$names_colors{$name}[0]
88 1 1 if ($man2 =~ /revell/i) { }
95 300 2 unless defined $$names_colors{$name}[1] and $colornum eq $$names_colors{$name}[1]
97 1 1 if ($man2 =~ /humbrol/i) { }
104 300 2 unless defined $$names_colors{$name}[2] and $colornum eq $$names_colors{$name}[2]
106 1 1 if ($man2 =~ /humbrol/i) { }
134 0 3 unless _valid_man($man)
137 136 216 if ($man =~ /humbrol/i) { }
146 70 elsif ($man =~ /revell/i) { }
138 1 135 if defined $$names_colors{$name}[0] and $cnum eq $$names_colors{$name}[0]
141 1 145 if defined $$names_colors{$name}[1] and $cnum eq $$names_colors{$name}[1]
144 1 69 if defined $$names_colors{$name}[2] and $cnum eq $$names_colors{$name}[2]
153 15 0 if ($man =~ /(humbrol|revell|tamiya)/i) { }