Branch Coverage

lib/ExtUtils/MakeMaker/Locale.pm
Criterion Covered Total %
branch 11 72 15.2


line true false branch
26 0 104 if ($^O eq "MSWin32")
27 0 0 unless ($ENCODING_LOCALE)
30 0 0 unless (defined &ExtUtils::MakeMaker::Locale::GetConsoleCP)
33 0 0 if defined &Win32::GetConsoleCP
35 0 0 unless (defined &ExtUtils::MakeMaker::Locale::GetConsoleCP)
39 0 0 if (defined &ExtUtils::MakeMaker::Locale::GetConsoleCP)
41 0 0 if $cp
46 0 0 unless ($ENCODING_CONSOLE_IN)
48 0 0 unless (defined &ExtUtils::MakeMaker::Locale::GetInputCP)
52 0 0 if "$]" < "5.014"
56 0 0 if defined &Win32::GetConsoleCP
57 0 0 if defined &Win32::GetConsoleOutputCP
59 0 0 unless (defined &ExtUtils::MakeMaker::Locale::GetInputCP)
64 0 0 if defined &Win32::Console::InputCP
66 0 0 if defined &Win32::Console::OutputCP
69 0 0 unless (defined &ExtUtils::MakeMaker::Locale::GetInputCP)
74 0 0 (`chcp` || '') =~ /^Active code page: (\d+)/ ? :
80 0 0 if $cp
82 0 0 if $cp
86 52 52 unless ($ENCODING_LOCALE)
95 0 52 if $ENCODING_LOCALE eq 646
98 0 52 if $^O eq "hpux" and $ENCODING_LOCALE eq "roman8"
107 0 104 if $ENCODING_LOCALE and lc $ENCODING_LOCALE eq "cp65000"
108 0 104 if $ENCODING_LOCALE and lc $ENCODING_LOCALE eq "cp65001"
110 0 104 if ($^O eq "darwin")
115 0 0 $^O eq 'MSWin32' ? :
120 0 104 unless (&Encode::find_encoding($ENCODING_LOCALE))
122 0 0 if (lc $ENCODING_LOCALE eq "gb18030")
126 0 0 if ($@)
129 0 0 if &Encode::find_encoding($ENCODING_LOCALE)
131 0 0 unless $foundit
149 52 156 if (defined ${"ENCODING_" . uc($a);})
166 0 0 if defined wantarray
175 0 0 if (@_)
177 0 0 if (defined $v) { }
184 0 0 if defined wantarray