Condition Coverage

blib/lib/UI/Dialog/Backend/XOSD.pm
Criterion Covered Total %
condition 14 75 18.6


and 3 conditions

line !l l&&!r l&&r condition
82 0 0 0 exists $cfg->{'trust-input'} && $cfg->{'trust-input'} == 1
194 0 0 0 $percent <= 100 && $percent >= 0
220 0 0 0 $rv and $rv >= 1
243 0 0 0 $percent <= 100 && $percent >= 0

or 2 conditions

line l !l condition
62 0 1 $cfg->{'pos'} || undef()
63 0 1 $cfg->{'offset'} || 0
64 0 1 $cfg->{'align'} || undef()
65 0 1 $cfg->{'indent'} || 0
66 0 1 $cfg->{'font'} || undef()
67 0 1 $cfg->{'colour'} || $cfg->{'color'} || undef()
68 0 1 $cfg->{'delay'} || 0
69 0 1 $cfg->{'lines'} || 0
70 0 1 $cfg->{'shadow'} || 0
71 0 1 $cfg->{'age'} || 0
73 0 1 $cfg->{'wait'} || 40
74 0 1 $cfg->{'bar'} || '-'
75 0 1 $cfg->{'mark'} || '|'
121 0 0 $args->{'font'} || '-*-fixed-*-*-*-*-*-*-*-*-*-*-*-*'
125 0 0 $args->{'colour'} || 'green'
148 0 0 $string || ' '
160 0 0 $args->{'text'} || ''
178 0 0 $text || ''
191 0 0 $args->{'length'} || 40
192 0 0 $args->{'bar'} || '-'
193 0 0 $args->{'percent'} || '0'
196 0 0 $perc || 0
0 0 $args->{'mark'} || '|'
211 0 0 $self->{'_DISPLAY'} ||= {}
229 0 0 $_[0] || (return 0)
240 0 0 $args->{'length'} || 40
241 0 0 $args->{'bar'} || '-'
242 0 0 $_[1] || 0
245 0 0 $perc || 0
0 0 $args->{'mark'} || '|'

or 3 conditions

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