Condition Coverage

blib/lib/IO/Prompt/Timeout.pm
Criterion Covered Total %
condition 5 15 33.3


and 3 conditions

line !l l&&!r l&&r condition
31 2 0 0 -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT))
41 0 0 1 not $isa_tty and eof STDIN

or 3 conditions

line l !l&&r !l&&!r condition
41 1 0 1 $ENV{'PERL_IOPT_USE_DEFAULT'} or not $isa_tty and eof STDIN
46 0 0 0 $opt{'timeout'} || $DEFAULT_TIMEOUT_SEC
69 0 2 0 $answer || $default_answer