blib/lib/UI/Dialog/Console.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 28 | 32.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
63 | 2 | 0 | 0 | exists $cfg->{'trust-input'} && $cfg->{'trust-input'} == 1 |
72 | 0 | 2 | 0 | eval 'require UI::Dialog::Backend::CDialog; 1' and $self->_has_variant('dialog') |
80 | 0 | 0 | 0 | eval 'require UI::Dialog::Backend::GDialog; 1' and $self->_has_variant('gdialog.real') || $self->_has_variant('gdialog') |
89 | 0 | 2 | 0 | eval 'require UI::Dialog::Backend::Whiptail; 1' and $self->_has_variant('Whiptail') |
line | l | !l | condition |
---|---|---|---|
38 | 2 | 0 | {@_} || {} |
42 | 0 | 2 | $cfg->{'debug'} || 0 |
53 | 0 | 2 | $cfg->{'order'} ||= ['dialog', 'whiptail', 'ascii'] |
55 | 0 | 2 | $ENV{'UI_DIALOGS'} || 'NULL' |
58 | 0 | 2 | $ENV{'UI_DIALOG'} || 'NULL' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
37 | 0 | 2 | 0 | ref $proto || $proto |
80 | 0 | 0 | 0 | $self->_has_variant('gdialog.real') || $self->_has_variant('gdialog') |