Branch Coverage

blib/lib/Convert/Color/XTerm.pm
Criterion Covered Total %
branch 7 10 70.0


line true false branch
80 0 1 if (eval { do { require Convert::Color::X11; 'Convert::Color::X11'->colors } }) { }
112 540 108 $_ ? :
151 2 0 if (@_ == 1) { }
154 1 1 unless @color
156 0 2 unless $index >= 0 and $index < 256