| blib/lib/IO/Prompt/Tiny.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 10 | 20 | 50.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 17 | 0 | 4 | unless defined $mess | 
| 20 | 4 | 0 | defined $def ? : | 
| 21 | 4 | 0 | defined $def ? : | 
| 28 | 2 | 2 | if ($ENV{'PERL_MM_USE_DEFAULT'} or not _is_interactive()) { } | 
| 33 | 1 | 1 | if (defined $ans) { } | 
| 41 | 3 | 1 | !defined($ans) || $ans eq '' ? : | 
| 48 | 1 | 0 | unless -t $out_handle | 
| 49 | 0 | 0 | if (tied *ARGV or defined fileno ARGV) { } | 
| 50 | 0 | 0 | if defined $ARGV and $ARGV eq '-' | 
| 51 | 0 | 0 | if eof ARGV |