line |
true |
false |
branch |
46
|
0 |
2 |
if ($CFG_PATH) { } |
|
2 |
0 |
elsif ($ENV{'PATH'}) { } |
47
|
0 |
0 |
if (ref $CFG_PATH eq 'ARRAY') { } |
|
0 |
0 |
elsif ($CFG_PATH =~ /:/) { } |
|
0 |
0 |
elsif (-d $CFG_PATH) { } |
56
|
0 |
2 |
if $ENV{'UI_DIALOGS'} |
59
|
0 |
2 |
if $ENV{'UI_DIALOG'} |
63
|
0 |
2 |
exists $cfg->{'trust-input'} && $cfg->{'trust-input'} == 1 ? : |
70
|
2 |
4 |
if ($try =~ /^(?:cdialog||dialog)$/i) { } |
|
0 |
4 |
elsif ($try =~ /^(?:gdialog||gdialog\.real)$/i) { } |
|
2 |
2 |
elsif ($try =~ /^whiptail$/i) { } |
|
2 |
0 |
elsif ($try =~ /^(?:ascii||native)$/i) { } |
72
|
0 |
2 |
if (eval 'require UI::Dialog::Backend::CDialog; 1' and $self->_has_variant('dialog')) { } |
80
|
0 |
0 |
if (eval 'require UI::Dialog::Backend::GDialog; 1' and $self->_has_variant('gdialog.real') || $self->_has_variant('gdialog')) { } |
89
|
0 |
2 |
if (eval 'require UI::Dialog::Backend::Whiptail; 1' and $self->_has_variant('Whiptail')) { } |
97
|
2 |
0 |
if (eval 'require UI::Dialog::Backend::ASCII; 1') { } |
105
|
0 |
0 |
if (eval 'require UI::Dialog; 1') { } |
114
|
0 |
2 |
unless ref $self->{'_ui_dialog'} |