| line |
true |
false |
branch |
|
74
|
0 |
19 |
if defined $id and defined $$this{-'id2object'}{$id} |
|
80
|
3 |
16 |
unless (defined $id) |
|
90
|
13 |
6 |
if not $class =~ /\:\:/ or $class =~ /^Dialog\:\:[^\:]+$/ |
|
106
|
12 |
7 |
if (defined $$object{-'bg'}) |
|
107
|
12 |
0 |
if ($$object{-'bg'} eq '-1') |
|
108
|
7 |
5 |
if (defined $$this{-'bg'}) |
|
115
|
12 |
7 |
if (defined $$object{-'fg'}) |
|
116
|
12 |
0 |
if ($$object{-'fg'} eq '-1') |
|
117
|
7 |
5 |
if (defined $$this{-'fg'}) |
|
140
|
0 |
0 |
unless defined $$this{-'id2object'}{$id} |
|
156
|
0 |
0 |
if defined $idx |
|
160
|
0 |
0 |
if ($current_focused_id eq $id) |
|
163
|
0 |
0 |
if $new_focused_id |
|
165
|
0 |
0 |
if $new_focused_obj |
|
191
|
0 |
12 |
unless $this->SUPER::draw(1) |
|
199
|
0 |
12 |
unless $no_doupdate |
|
207
|
4 |
9 |
unless $this->SUPER::layout |
|
236
|
0 |
0 |
if ref $obj eq $class |
|
247
|
0 |
0 |
if @{$$this{-'draworder'};} == 0 |
|
250
|
0 |
0 |
if (ref $win) |
|
267
|
0 |
0 |
unless defined $return and $return eq 'DELEGATE' |
|
274
|
0 |
0 |
if (defined $obj) { } |
|
287
|
0 |
0 |
unless @{$$this{-'focusorder'};} |
|
300
|
0 |
0 |
if ($idx < 0) |
|
305
|
0 |
0 |
if defined $new_obj and $new_obj->focusable |
|
310
|
0 |
0 |
if ($circle_flag and $$this{-'releasefocus'}) |
|
321
|
0 |
0 |
unless @{$$this{-'focusorder'};} |
|
333
|
0 |
0 |
if ($idx >= scalar @{$$this{-'focusorder'};}) |
|
338
|
0 |
0 |
if defined $new_obj and $new_obj->focusable |
|
344
|
0 |
0 |
if ($circle_flag and $$this{-'releasefocus'}) |
|
358
|
0 |
2 |
$direction < 0 ? : |
|
362
|
2 |
0 |
ref $focus_to ? : |
|
366
|
0 |
2 |
if ($forced and not defined $new_id) |
|
371
|
2 |
0 |
if (defined $new_id) |
|
379
|
0 |
2 |
unless defined $new_obj |
|
386
|
0 |
2 |
unless ($new_obj->focusable) |
|
396
|
0 |
0 |
if $idx > @{$$this{-'focusorder'};} - 1 |
|
397
|
0 |
0 |
if $idx < 0 |
|
398
|
0 |
0 |
if $idx == $start_idx |
|
403
|
0 |
0 |
if ($test_obj->focusable) |
|
414
|
0 |
2 |
if ($forced or defined $new_obj and $new_obj ne $cur_obj) |
|
420
|
0 |
0 |
unless ($$new_obj{-'has_modal_focus'}) |
|
440
|
0 |
0 |
unless ($this->isa('Curses::UI::ContainerWidget')) |
|
442
|
0 |
0 |
if (defined $focused_object) |
|
459
|
0 |
0 |
unless $id |
|
463
|
0 |
0 |
unless $obj |
|
502
|
0 |
0 |
defined $id ? : |
|
522
|
0 |
0 |
if ($win_id eq $id) |