Condition Coverage

lib/Curses/UI/Common.pm
Criterion Covered Total %
condition 5 52 9.6


and 3 conditions

line !l l&&!r l&&r condition
166 0 0 0 $wordwrap == 0 and $wrap =~ /^(.*)([\s])(\S+)$/
323 0 0 0 defined $type and $type eq '/'
390 0 0 0 $key lt ' ' and $key ne "\n"
0 0 0 $key lt ' ' and $key ne "\n" and $key ne "\t"
493 0 0 0 $digit >= 11 and $digit <= 15
0 0 0 $digit >= 17 and $digit <= 21
533 1 0 0 $Curses::UI::debug and $key ne '-1'

or 2 conditions

line l !l condition
277 0 0 $1 || 1
446 0 1 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
205 0 0 0 $space_idx == -1 or $space_idx == 0
454 0 0 1 ord $key == 127 or $key eq "\cH"
459 0 0 1 $key eq "\177" or $key eq "\cD"
464 0 0 1 $key eq "\n" or $key eq "\r"
476 0 0 0 $key eq "$ESC-1" or $key eq "$ESC$ESC"
500 0 0 0 $key eq $ESC . 'OH' or $key eq $ESC . '[7~'
0 0 0 $key eq $ESC . 'OH' or $key eq $ESC . '[7~' or $key eq $ESC . '[1~'
506 0 0 0 $key eq $ESC . 'OI' or $key eq $ESC . '[Z'
515 0 0 0 $key eq $ESC . 'OF' or $key eq $ESC . '[4~'