Branch Coverage

blib/lib/Term/ExtendedColor/Xresources.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
33 0 0 exists $arg->{'index'} ? :
37 0 0 if (ref $index eq 'ARRAY') { }
0 0 elsif (ref $index eq '') { }
44 0 0 if (grep {$_ < 0;} @indexes)
48 0 0 unless open my $tty, '<', '/dev/tty'
52 0 0 unless defined $i
61 0 0 if ($response =~ m[ rgb: (.{4}) / (.{4}) / (.{4}) ]x) { }
74 0 0 if ($arg->{'type'} eq 'hex') { }
100 0 0 if (ref $old_colors ne 'HASH')
107 0 0 if ($index < 0 or $index > 255)
110 0 0 unless ($old_colors->{$index} =~ /^[A-Fa-f0-9]{6}$/)
126 0 0 if ($term =~ /^screen/) { }
133 0 0 if (not defined wantarray) { }
147 0 0 if (not defined wantarray) { }
161 0 0 if (not defined wantarray) { }