Condition Coverage

blib/lib/UI/Dialog/KDE.pm
Criterion Covered Total %
condition 9 22 40.9


and 3 conditions

line !l l&&!r l&&r condition
63 1 0 0 exists $cfg->{'trust-input'} && $cfg->{'trust-input'} == 1
72 0 1 0 eval 'require UI::Dialog::Backend::KDialog; 1' and $self->_has_variant('kdialog')
80 0 1 0 eval 'require UI::Dialog::Backend::XDialog; 1' and $self->_has_variant('Xdialog')

or 2 conditions

line l !l condition
38 1 0 {@_} || {}
42 0 1 $cfg->{'debug'} || 0
53 0 1 $cfg->{'order'} ||= ['kdialog', 'xdialog']
55 0 1 $ENV{'UI_DIALOGS'} || 'NULL'
58 0 1 $ENV{'UI_DIALOG'} || 'NULL'

or 3 conditions

line l !l&&r !l&&!r condition
37 0 1 0 ref $proto || $proto