Condition Coverage

blib/lib/Term/ExtendedColor.pm
Criterion Covered Total %
condition 7 9 77.7


and 3 conditions

line !l l&&!r l&&r condition
643 16 0 1 $color_str =~ /^\d+$/m and $color_str < 256
16 0 1 $color_str =~ /^\d+$/m and $color_str < 256 and $color_str > -1

or 3 conditions

line l !l&&r !l&&!r condition
582 13 1 7 exists $color_names{$color_str} or $color_str =~ /^[0-9]+$/m