Condition Coverage

blib/lib/Color/Theme/Role/ANSI.pm
Criterion Covered Total %
condition 5 37 13.5


and 3 conditions

line !l l&&!r l&&r condition
17 0 2 0 defined $c and length $c

or 2 conditions

line l !l condition
21 0 0 $args //= {}
32 0 0 $ansifg //= ''
36 0 0 $ansibg //= ''
47 0 0 $ansifg //= ''
51 0 0 $ansibg //= ''
62 1 0 $ansifg //= ''
66 1 0 $ansibg //= ''
78 0 0 $args // {}

or 3 conditions

line l !l&&r !l&&!r condition
30 0 0 0 $ansifg //= Color::ANSI::Util::ansi24bfg($$c{'fg'})
34 0 0 0 $ansibg //= Color::ANSI::Util::ansi24bbg($$c{'bg'})
45 0 0 0 $ansifg //= Color::ANSI::Util::ansi256fg($$c{'fg'})
49 0 0 0 $ansibg //= Color::ANSI::Util::ansi256bg($$c{'bg'})
60 0 1 0 $ansifg //= Color::ANSI::Util::ansi16fg($$c{'fg'})
64 0 1 0 $ansibg //= Color::ANSI::Util::ansi16bg($$c{'bg'})