Branch Coverage

lib/CPANPLUS/Shell.pm
Criterion Covered Total %
branch 2 44 4.5


line true false branch
60 1 0 $option ? :
66 0 0 unless my $conf = "CPANPLUS::Configure"->new
68 0 0 unless $conf->get_conf("shell")
76 0 1 if ($@)
79 0 0 if $CPANPLUS::Shell::SHELL eq $CPANPLUS::Shell::DEFAULT
140 0 0 if @_
149 0 0 unless my $self = check($CPANPLUS::Shell::_Base::ReadLine::TMPL, \%hash)
156 0 0 if ($self->_signals->{'INT'}{'count'}++) { }
175 0 0 $term->ReadLine ne 'Term::ReadLine::Stub' ? :
0 0 !$self->__is_bad_terminal($term) ? :
0 0 -t STDIN ? :
0 0 !$term->isa('CPANPLUS::Shell::_Faked') ? :
194 0 0 if length $rl_avail > 45
210 0 0 unless $^O eq "MSWin32"
220 0 0 unless my $cmd = $cpan->configure_object->get_program("pager")
226 0 0 unless ($fh->open("| $cmd"))
242 0 0 unless my $pager = $self->pager
244 0 0 if ref $pager and $pager->can("close")
272 0 0 unless check($tmpl, \%hash)
274 0 0 if ($^O eq 'MSWin32') { }
275 0 0 if (can_load("modules", {"Win32::Console", "0.0"}))
283 0 0 if (can_load("modules", {"Term::Size", "0.0"}))