Condition Coverage

blib/lib/Pcore/Util/Text.pm
Criterion Covered Total %
condition 4 17 23.5


and 3 conditions

line !l l&&!r l&&r condition
203 0 0 3 defined $_ and not utf8::is_utf8($_)
0 0 5 defined $_ and not utf8::is_utf8($_)
319 0 0 0 $ansi and $word =~ /\e.+?m/msu

or 2 conditions

line l !l condition
276 0 0 $args{'esc_color'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
203 3 0 0 $$ENC_CACHE{$args{'encoding'}} // do { $$ENC_CACHE{$args{'encoding'}} = &Encode::find_encoding($args{'encoding'}) }
0 5 0 $$ENC_CACHE{$args{'encoding'}} // do { $$ENC_CACHE{$args{'encoding'}} = &Encode::find_encoding($args{'encoding'}) }