Condition Coverage

blib/lib/Term/DBPrompt.pm
Criterion Covered Total %
condition 8 33 24.2


and 3 conditions

line !l l&&!r l&&r condition
64 1 0 0 defined $opt_argv and $opt_argv =~ /\S/msx
123 0 0 0 $inp_typ eq 'i' and $tty_in
193 23 1 0 $inp_ctr == 1 and $inp_typ eq 'i'
24 0 0 $inp_ctr == 1 and $inp_typ eq 'i' and $tty_in
223 0 0 0 $tty_in and not $tty_out
236 0 0 0 not $tty_in and $opt_prompt
283 0 0 0 $inp_typ eq 'i' and not $tty_in
346 0 0 0 $inp_typ eq 'i' and $tty_in

or 3 conditions

line l !l&&r !l&&!r condition
67 0 0 1 not @pipe or $opt_interact
114 0 26 24 $inp_eof or @commands
283 19 0 0 $inp_typ eq 'f' or $inp_typ eq 'i' and not $tty_in