Condition Coverage

blib/lib/Encode/Locale.pm
Criterion Covered Total %
condition 8 25 32.0


and 3 conditions

line !l l&&!r l&&r condition
50 0 0 0 not $ENCODING_CONSOLE_IN and (`chcp` || '') =~ /^Active code page: (\d+)/
68 2 0 0 $^O eq 'hpux' and $ENCODING_LOCALE eq 'roman8'

or 2 conditions

line l !l condition
50 0 0 `chcp` || ''
74 0 0 $ENCODING_LOCALE_FS ||= 'UTF-8'

or 3 conditions

line l !l&&r !l&&!r condition
70 2 0 0 $ENCODING_LOCALE ||= $ENCODING_CONSOLE_IN
78 3 0 0 $ENCODING_LOCALE ||= $^O eq 'MSWin32' ? 'cp1252' : 'UTF-8'
79 0 3 0 $ENCODING_LOCALE_FS ||= $ENCODING_LOCALE
80 1 2 0 $ENCODING_CONSOLE_IN ||= $ENCODING_LOCALE
81 1 2 0 $ENCODING_CONSOLE_OUT ||= $ENCODING_CONSOLE_IN