line |
true |
false |
branch |
44
|
0 |
2 |
if ($CFG_PATH) { } |
|
2 |
0 |
elsif ($ENV{'PATH'}) { } |
45
|
0 |
0 |
if (ref $CFG_PATH eq 'ARRAY') { } |
|
0 |
0 |
elsif ($CFG_PATH =~ /:/) { } |
|
0 |
0 |
elsif (-d $CFG_PATH) { } |
51
|
0 |
2 |
if (not $cfg->{'order'} and ($ENV{'DISPLAY'} and length $ENV{'DISPLAY'} > 0)) |
53
|
0 |
0 |
if ($ENV{'TERM'} =~ /^dumb$/i) { } |
63
|
0 |
2 |
$cfg->{'order'} ? : |
|
0 |
2 |
ref $cfg->{'order'} eq 'ARRAY' ? : |
67
|
0 |
2 |
if $ENV{'UI_DIALOGS'} |
70
|
0 |
2 |
if $ENV{'UI_DIALOG'} |
74
|
0 |
2 |
exists $cfg->{'trust-input'} && $cfg->{'trust-input'} == 1 ? : |
82
|
2 |
0 |
if (ref $cfg->{'order'} eq 'ARRAY') { } |
84
|
0 |
4 |
if ($try =~ /^zenity$/i) { } |
|
0 |
4 |
elsif ($try =~ /^(?:xdialog|X)$/i) { } |
|
2 |
2 |
elsif ($try =~ /^(?:dialog|cdialog)$/i) { } |
|
2 |
0 |
elsif ($try =~ /^whiptail$/i) { } |
86
|
0 |
0 |
if (eval 'require UI::Dialog::Backend::Zenity; 1' and $self->_has_variant('zenity')) { } |
94
|
0 |
0 |
if (eval 'require UI::Dialog::Backend::XDialog; 1' and $self->_has_variant('Xdialog')) { } |
102
|
0 |
2 |
if (eval 'require UI::Dialog::Backend::CDialog; 1' and $self->_has_variant('dialog')) { } |
110
|
2 |
0 |
if (eval 'require UI::Dialog::Backend::Whiptail; 1' and $self->_has_variant('whiptail')) { } |
118
|
0 |
0 |
if (eval 'require UI::Dialog; 1') { } |
130
|
0 |
2 |
unless ref $self->{'_ui_dialog'} |
143
|
12 |
0 |
unless $self->{'debug'} and $self->{'debug'} >= $rate |
152
|
0 |
0 |
$self->{'PATHS'} ? : |
|
4 |
0 |
ref $self->{'PATHS'} eq 'ARRAY' ? : |
155
|
2 |
24 |
if -x $PATH . '/' . $variant |