Condition Coverage

blib/lib/Term/Prompt.pm
Criterion Covered Total %
condition 0 74 0.0


and 3 conditions

line !l l&&!r l&&r condition
96 0 0 0 defined $prompt_options and length $prompt_options
219 0 0 0 defined $prompt_options and length $prompt_options
231 0 0 0 defined $default and $default ne ''
261 0 0 0 not $menu and $repl eq ''
0 0 0 not $menu and $repl eq '' and not $uc
271 0 0 0 $uc and $repl eq ''
291 0 0 0 defined $prompt_options and length $prompt_options
319 0 0 0 $low <= $repl and $repl <= $high
424 0 0 0 scalar @repls > 1 and not $menu{'accept_multiple_selections'}
457 0 0 0 $uc && defined $prompt_options && length $prompt_options
472 0 0 0 $uc && defined $prompt_options && length $prompt_options
510 0 0 0 defined $width and $width

or 2 conditions

line l !l condition
165 0 0 $num_cols ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
50 0 0 0 length $mopt == 1 or $mopt =~ /\-n/i
0 0 0 length $mopt == 1 or $mopt =~ /\-n/i or $mopt =~ /\+-n/i
73 0 0 0 $mopt eq 'x' or $mopt eq 'a'
0 0 0 $mopt eq 'x' or $mopt eq 'a' or $mopt =~ /n$/
0 0 0 $mopt eq 'x' or $mopt eq 'a' or $mopt =~ /n$/ or $mopt eq 'f'
0 0 0 $mopt eq 'c' or $mopt eq 'i'
227 0 0 0 $before or $uc
0 0 0 $before or $uc or $prompt_options eq ''
271 0 0 0 $type or $passwd
362 0 0 0 $mopt eq 'x' or $mopt eq 'p'
424 0 0 0 scalar @repls || $menu{'accept_empty_selection'}
556 0 0 0 eval { do { local $SIG{'__DIE__'}; (GetTerminalSize(select))[0] } } || eval { do { if (-T STDOUT) { local $SIG{'__DIE__'}; return ('STDOUT'->GetTerminalSize)[0]; } else { return 0; } } } || eval { do { if (-T STDERR) { local $SIG{'__DIE__'}; return ('STDERR'->GetTerminalSize)[0]; } else { return 0; } } } || eval { do { local $SIG{'__DIE__'}; ('STDOUT'->GetTerminalSize)[0] } } || eval { do { local $SIG{'__DIE__'}; ('STDERR'->GetTerminalSize)[0] } }