Branch Coverage

blib/lib/Zoidberg/Fish/ReadLine.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
21 0 0 unless ($ENV{'PERL_RL'} and not $ENV{'PERL_RL'} =~ /zoid/i)
23 0 0 if (not $@) { }
24 0 0 unless defined $ENV{'PERL_RL'}
39 0 0 if (not $$self{'rl_z'}) { }
41 0 0 if $@
46 0 0 if ($$self{'rl'}->can('GetHistory')) { }
52 0 0 wantarray ? :
53 0 0 if ($$self{'rl'}->can('SetHistory')) { }
0 0 elsif (my($s) = grep({$$self{'rl'}->can($_);} 'addhistory', 'AddHistory')) { }
56 0 0 if @hist == 1 and ref $hist[0]
63 0 0 if @hist == 1 and ref $hist[0]
72 0 0 if (my($s) = grep({$$self{'rl'}->can($_);} 'addhistory', 'AddHistory')) { }
85 0 0 unless ($$self{'no_real_hist'})
92 0 0 $$self{'rl_z'} ? :
98 0 0 unless $$self{'settings'}{'mode'}
105 0 0 $$self{'rl_z'} ? :
108 0 0 unless $$self{'shell'}{'settings'}{'login'}
118 0 0 if ($$self{'rl_z'}) { }
120 0 0 $$self{'rl_z'} ? :
133 0 0 if $_[0]{'settings'}{'notify'}
139 0 0 if ref $items[0]
145 0 0 unless $re
146 0 0 unless ($re =~ /^\d+([,\s]+\d+)*$/)
151 0 0 if (@re > 1 and not wantarray)
160 0 0 unless ($$self{'no_real_hist'})
170 0 0 if $Zoidberg::Fish::ReadLine::AUTOLOAD eq 'DESTROY'
171 0 0 if ($$self{'rl'}->can($Zoidberg::Fish::ReadLine::AUTOLOAD)) { }