line |
true |
false |
branch |
141
|
0 |
0 |
unless defined $self->{'shade'} |
143
|
0 |
0 |
if ($self->{'shade'} < 1 or $self->{'shade'} > 4) |
148
|
0 |
0 |
if ($self->{'hue'} == 360) { } |
150
|
0 |
0 |
if ($self->{'shade'} == 1) { } |
|
0 |
0 |
elsif ($self->{'shade'} == 2) { } |
|
0 |
0 |
elsif ($self->{'shade'} == 3) { } |
|
0 |
0 |
elsif ($self->{'shade'} == 4) { } |
205
|
0 |
0 |
if ($self->{'shade'} == 1) { } |
|
0 |
0 |
elsif ($self->{'shade'} == 2) { } |
|
0 |
0 |
elsif ($self->{'shade'} == 3) { } |
|
0 |
0 |
elsif ($self->{'shade'} == 4) { } |
243
|
0 |
0 |
if ($self->{'hue'} > 220 and $self->{'hue'} < 280) { } |
368
|
0 |
0 |
if (defined $args{'shades'}) |
382
|
0 |
0 |
if (defined $args{'hues'}) |
400
|
0 |
0 |
if ($num_colsets <= @{$intervals{'mono'};}) |
408
|
0 |
0 |
if ($style eq 'mono') |
418
|
0 |
0 |
defined $hues[0] ? : |
425
|
0 |
0 |
if $shades[$ind] == 0 |
433
|
0 |
0 |
unless (defined $hue) |
435
|
0 |
0 |
if ($ind < $num_intervals) { } |
444
|
0 |
0 |
if $hue < 0 |
445
|
0 |
0 |
if $hue > 360 |
449
|
0 |
0 |
if ($ind > 0 and $next_cs->is_ugly($colsets[$ind - 1])) |
526
|
0 |
0 |
if ($colset1->{'hue'} == 360 and $colset2->{'hue'} >= 50 and $colset2->{'hue'} <= 80 or $colset2->{'hue'} == 360 and $colset1->{'hue'} >= 50 and $colset1->{'hue'} <= 80) { } |
|
0 |
0 |
elsif ($colset1->{'hue'} == 360 and $colset2->{'hue'} > 10 and $colset2->{'hue'} < 50 and $colset2->{'shade'} > 1 or $colset2->{'hue'} == 360 and $colset1->{'hue'} > 10 and $colset1->{'hue'} < 50 and $colset1->{'shade'} > 1) { } |
|
0 |
0 |
elsif ($colset1->{'hue'} == 360 or $colset2->{'hue'} == 360) { } |
556
|
0 |
0 |
if ($hdiff <= 30) |
561
|
0 |
0 |
if ($colset1->{'hue'} >= 0 and $colset1->{'hue'} < 10 and $colset1->{'shade'} == 4 and $colset2->{'hue'} >= 60 and $colset2->{'hue'} < 70 and $colset2->{'shade'} != 4 or $colset2->{'hue'} >= 0 and $colset2->{'hue'} < 10 and $colset2->{'shade'} == 4 and $colset1->{'hue'} >= 60 and $colset1->{'hue'} < 70 and $colset1->{'shade'} != 4) |
577
|
0 |
0 |
if ($colset1->{'hue'} > 10 and $colset1->{'hue'} <= 40 and $colset1->{'shade'} > 1 and $colset1->{'shade'} < 4 and $colset2->{'hue'} > 60 and $colset2->{'hue'} <= 100 or $colset2->{'hue'} > 10 and $colset2->{'hue'} <= 40 and $colset2->{'shade'} > 1 and $colset2->{'shade'} < 4 and $colset1->{'hue'} > 60 and $colset1->{'hue'} <= 100) |
593
|
0 |
0 |
if ($colset1->{'hue'} >= 270 and $colset1->{'hue'} < 280 and $colset2->{'hue'} >= 330 and $colset2->{'hue'} < 340 and $colset2->{'shade'} > 1 or $colset2->{'hue'} >= 270 and $colset2->{'hue'} < 280 and $colset1->{'hue'} >= 330 and $colset1->{'hue'} < 340 and $colset1->{'shade'} > 1) |
607
|
0 |
0 |
if ($colset1->{'hue'} >= 280 and $colset1->{'hue'} < 360 and $colset2->{'hue'} >= 340 && $colset2->{'hue'} < 360 || $colset2->{'hue'} >= 0 && $colset2->{'hue'} < 50 or $colset2->{'hue'} >= 280 and $colset2->{'hue'} < 360 and $colset1->{'hue'} >= 340 && $colset1->{'hue'} < 360 || $colset1->{'hue'} >= 0 && $colset1->{'hue'} < 50) |
626
|
0 |
0 |
if ($colset1->{'hue'} > 10 and $colset1->{'hue'} <= 40 and $colset1->{'shade'} == 2 || $colset1->{'shade'} == 3 and $colset2->{'hue'} > 100 and $colset2->{'hue'} <= 130 or $colset2->{'hue'} > 10 and $colset2->{'hue'} <= 40 and $colset2->{'shade'} == 2 || $colset2->{'shade'} == 3 and $colset1->{'hue'} > 100 and $colset1->{'hue'} <= 130) |
642
|
0 |
0 |
if ($colset1->{'hue'} >= 260 and $colset1->{'hue'} < 280 and $colset2->{'hue'} >= 350 && $colset2->{'hue'} < 360 || $colset2->{'hue'} >= 0 && $colset2->{'hue'} <= 10 or $colset2->{'hue'} >= 260 and $colset2->{'hue'} < 280 and $colset1->{'hue'} >= 350 && $colset1->{'hue'} < 360 || $colset1->{'hue'} >= 0 && $colset1->{'hue'} <= 10) |
658
|
0 |
0 |
if ($colset1->{'hue'} >= 280 and $colset1->{'hue'} < 350 and $colset2->{'hue'} >= 10 and $colset2->{'hue'} < 80 or $colset2->{'hue'} >= 280 and $colset2->{'hue'} < 350 and $colset1->{'hue'} >= 10 and $colset1->{'hue'} < 80) |
670
|
0 |
0 |
if ($colset1->{'hue'} > 10 and $colset1->{'hue'} < 90 and $colset1->{'shade'} != 1 and $colset2->{'hue'} > 130 and $colset2->{'hue'} < 210 and $colset2->{'shade'} != 1 or $colset2->{'hue'} > 10 and $colset2->{'hue'} < 90 and $colset2->{'shade'} != 1 and $colset1->{'hue'} > 130 and $colset1->{'hue'} < 210 and $colset1->{'shade'} != 1) |
686
|
0 |
0 |
if ($colset1->{'hue'} > 50 and $colset1->{'hue'} < 70 and $colset1->{'shade'} == 1 and $colset2->{'hue'} > 130 and $colset2->{'hue'} < 210 and $colset2->{'shade'} != 1 or $colset2->{'hue'} > 50 and $colset2->{'hue'} < 70 and $colset2->{'shade'} == 1 and $colset1->{'hue'} > 130 and $colset1->{'hue'} < 210 and $colset1->{'shade'} != 1) |
702
|
0 |
0 |
if ($colset1->{'hue'} > 150 and $colset1->{'hue'} < 200 and $colset2->{'hue'} > 270 and $colset2->{'hue'} < 320 or $colset2->{'hue'} > 150 and $colset2->{'hue'} < 200 and $colset1->{'hue'} > 270 and $colset1->{'hue'} < 320) |
714
|
0 |
0 |
if ($colset1->{'hue'} > 240 and $colset1->{'hue'} < 290 and $colset2->{'hue'} > 0 and $colset2->{'hue'} < 50 or $colset2->{'hue'} > 240 and $colset2->{'hue'} < 290 and $colset1->{'hue'} > 0 and $colset1->{'hue'} < 50) |
726
|
0 |
0 |
if ($colset1->{'hue'} >= 290 and $colset1->{'hue'} < 350 and $colset2->{'hue'} >= 50 and $colset2->{'hue'} < 110) |
737
|
0 |
0 |
if ($colset1->{'shade'} == 3 && ($colset1->{'hue'} < 200 || $colset1->{'hue'} > 280) && ($colset2->{'shade'} == 2 || $colset2->{'shade'} == 4) || $colset2->{'shade'} == 3 && ($colset2->{'hue'} < 200 || $colset2->{'hue'} > 280) && ($colset1->{'shade'} == 2 || $colset1->{'shade'} == 4) and $colset1->{'hue'} != $colset2->{'hue'}) |
752
|
0 |
0 |
if ($colset1->{'hue'} >= 0 and $colset1->{'hue'} < 30 and $colset1->{'shade'} == 4 and $colset2->{'hue'} > 60 and $colset2->{'hue'} <= 120 and $colset2->{'shade'} != 4 or $colset2->{'hue'} >= 0 and $colset2->{'hue'} < 30 and $colset2->{'shade'} == 4 and $colset1->{'hue'} > 60 and $colset1->{'hue'} <= 120 and $colset1->{'shade'} != 4) |
768
|
0 |
0 |
if ($colset1->{'hue'} >= 30 and $colset1->{'hue'} < 50 and $colset1->{'shade'} == 4 and $colset2->{'hue'} > 90 and $colset2->{'hue'} <= 130 and $colset2->{'shade'} != 4 or $colset2->{'hue'} >= 30 and $colset2->{'hue'} < 50 and $colset2->{'shade'} == 4 and $colset1->{'hue'} > 90 and $colset1->{'hue'} <= 130 and $colset1->{'shade'} != 4) |
784
|
0 |
0 |
if ($colset1->{'hue'} >= 0 and $colset1->{'hue'} < 30 and $colset1->{'shade'} == 3 and $colset2->{'hue'} > 50 and $colset2->{'hue'} < 70 and $colset2->{'shade'} != 3 or $colset2->{'hue'} >= 0 and $colset2->{'hue'} < 30 and $colset2->{'shade'} == 3 and $colset1->{'hue'} > 50 and $colset1->{'hue'} < 70 and $colset1->{'shade'} != 3) |