Condition Coverage

lib/Curses/UI.pm
Criterion Covered Total %
condition 6 46 13.0


and 3 conditions

line !l l&&!r l&&r condition
169 8 0 1 $Curses::UI::gpm_mouse and $args{-'mouse_support'}
249 0 0 0 defined $code and ref $code eq 'CODE'
470 0 0 0 defined $code and ref $code eq 'CODE'
558 0 0 0 $new_timeout != -1 and $new_timeout < $$config{-'time'}
562 0 0 0 $new_timeout < 0 and $new_timeout != -1
575 0 0 0 defined $callback and ref $callback eq 'CODE'
722 0 0 0 defined $return and $return ne 'DELEGATE'
757 0 0 0 defined $return and $return ne 'DELEGATE'
784 0 0 0 $x >= $$winp{-'x'} and $x < $$winp{-'x'} + $$winp{-'w'}
0 0 0 $x >= $$winp{-'x'} and $x < $$winp{-'x'} + $$winp{-'w'} and $y >= $$winp{-'y'}
0 0 0 $x >= $$winp{-'x'} and $x < $$winp{-'x'} + $$winp{-'w'} and $y >= $$winp{-'y'} and $y < $$winp{-'y'} + $$winp{-'h'}
789 0 0 0 $testobj->isa('Curses::UI::Container') and not $testobj->isa('Curses::UI::ContainerWidget')

or 2 conditions

line l !l condition
494 1 9 shift() || 0
573 0 0 shift() || 1

or 3 conditions

line l !l&&r !l&&!r condition
404 0 0 1 $ENV{'COLS'} != $cols or $ENV{'LINES'} != $lines
897 6 0 0 not $class =~ /\:\:/ or $class =~ /^Dialog\:\:[^\:]+$/