blib/lib/Term/ReadLine/Zoid/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 41 | 2.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
131 | 0 | 0 | 0 | exists $chr_map{$chr} and $$self{'config'}{'low_latency'} || ($n_chr = ReadKey(0.05, $$self{'IN'})) |
291 | 0 | 0 | 0 | $max and $max =~ /^\d+$/ |
0 | 0 | 0 | $max and $max =~ /^\d+$/ and $cnt > $max | |
297 | 0 | 0 | 0 | $max and $max eq 'pager' |
321 | 0 | 0 | 0 | $_ > $len and $len = $_ |
370 | 0 | 0 | 0 | -t $$self{'OUT'} and -t $$self{'IN'} |
line | l | !l | condition |
---|---|---|---|
169 | 176 | 0 | $$self{'keymaps'}{$$map{'_isa'}} || (return warn("$$map{'_isa'}: no such keymap\n\n")) |
258 | 0 | 0 | $$self{'keymaps'}{$$map{'_isa'}} || (return warn("$$map{'_isa'}: no such keymap\n\n")) |
291 | 0 | 0 | $self->_ask($cnt) or return |
297 | 0 | 0 | $self->_ask($cnt) or return |
298 | 0 | 0 | $ENV{'PAGER'} || 'more' |
301 | 0 | 0 | "| $pager" || die() |
375 | 0 | 0 | ReadKey(-1, $$self{'IN'}) || (return print({$$self{'OUT'};} "\n")) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
131 | 0 | 0 | 0 | $$self{'config'}{'low_latency'} || ($n_chr = ReadKey(0.05, $$self{'IN'})) |
252 | 0 | 0 | 0 | $mode ||= $$self{'mode'} |
278 | 0 | 0 | 0 | $pos ||= $$self{'pos'} |