Condition Coverage

blib/lib/Encode/X11.pm
Criterion Covered Total %
condition 18 23 78.2


and 3 conditions

line !l l&&!r l&&r condition
325 24 0 4 $in_utf8 and length $part_bytes
24 2 2 $in_utf8 and length $part_bytes and not pos $part_bytes
405 6 0 0 $coding =~ /^cns/ and not eval { do { require Encode::HanExtra; 1 } }

or 2 conditions

line l !l condition
306 10 8 pos $bytes || 0

or 3 conditions

line l !l&&r !l&&!r condition
392 3 1 10 $esc =~ s/\x1B\x29/\e(/ or $esc =~ s/\x1B\x24[\x29\x2D]/\e\$(/
4 0 10 $esc =~ s/\x1B\x29/\e(/ or $esc =~ s/\x1B\x24[\x29\x2D]/\e\$(/ or $esc =~ /\x1B\x2D/
404 5 1 8 $coding ||= $esc_to_coding{$esc}
405 8 0 6 not defined $coding or $coding =~ /^cns/ and not eval { do { require Encode::HanExtra; 1 } }