| line |
true |
false |
branch |
|
45
|
1 |
0 |
@_ ? : |
|
|
0 |
1 |
ref $_[0] eq 'HASH' ? : |
|
52
|
0 |
1 |
if ($CFG_PATH) { } |
|
|
1 |
0 |
elsif ($ENV{'PATH'}) { } |
|
53
|
0 |
0 |
if (ref $CFG_PATH eq 'ARRAY') { } |
|
|
0 |
0 |
elsif ($CFG_PATH =~ /:/) { } |
|
|
0 |
0 |
elsif (-d $CFG_PATH) { } |
|
72
|
0 |
1 |
$cfg->{'wait'} ? : |
|
76
|
1 |
0 |
unless (-x $self->{'_opts'}{'bin'}) |
|
82
|
0 |
0 |
exists $cfg->{'trust-input'} && $cfg->{'trust-input'} == 1 ? : |
|
95
|
0 |
0 |
unless (not ref $CODE) |
|
104
|
0 |
0 |
if ($args->{'pos'}) |
|
105
|
0 |
0 |
$args->{'pos'} =~ /^top|middle|bottom$/i ? : |
|
108
|
0 |
0 |
if ($args->{'offset'}) |
|
109
|
0 |
0 |
$args->{'offset'} =~ /^\d+$/ ? : |
|
112
|
0 |
0 |
if ($args->{'align'}) |
|
113
|
0 |
0 |
$args->{'align'} =~ /^left|center|right$/i ? : |
|
116
|
0 |
0 |
if ($args->{'indent'}) |
|
117
|
0 |
0 |
$args->{'indent'} =~ /^\d+$/ ? : |
|
120
|
0 |
0 |
if ($args->{'font'}) |
|
124
|
0 |
0 |
if ($args->{'colour'}) |
|
128
|
0 |
0 |
if ($args->{'delay'}) |
|
129
|
0 |
0 |
$args->{'delay'} =~ /^\d+$/ ? : |
|
132
|
0 |
0 |
if ($args->{'lines'}) |
|
133
|
0 |
0 |
$args->{'lines'} =~ /^\d+$/ ? : |
|
136
|
0 |
0 |
if ($args->{'shadow'}) |
|
137
|
0 |
0 |
$args->{'shadow'} =~ /^\d+$/ ? : |
|
140
|
0 |
0 |
if ($args->{'age'}) |
|
141
|
0 |
0 |
$args->{'age'} =~ /^\d+$/ ? : |
|
144
|
0 |
0 |
if ($args->{'wait'}) |
|
159
|
0 |
0 |
if (open XOSD, '| ' . $self->{'_opts'}{'bin'} . $opts . ' -') { } |
|
171
|
0 |
0 |
if (-r $args->{'file'}) |
|
172
|
0 |
0 |
if (open FILE, '<' . $args->{'file'}) |
|
177
|
0 |
0 |
if (open XOSD, '| ' . $self->{'_opts'}{'bin'} . $opts . ' -') { } |
|
194
|
0 |
0 |
$percent <= 100 && $percent >= 0 ? : |
|
197
|
0 |
0 |
$args->{'text'} ? : |
|
199
|
0 |
0 |
if (open XOSD, '| ' . $self->{'_opts'}{'bin'} . $opts . ' -') { } |
|
213
|
0 |
0 |
if defined $self->{'_DISPLAY'}{'FH'} |
|
220
|
0 |
0 |
if ($rv and $rv >= 1) { } |
|
227
|
0 |
0 |
if (@_ > 1) { } |
|
|
0 |
0 |
elsif (ref $_[0] eq 'ARRAY') { } |
|
230
|
0 |
0 |
unless $self->{'_DISPLAY'}{'FH'} |
|
234
|
0 |
0 |
defined $self->{'_DISPLAY'}{'FH'} ? : |
|
238
|
0 |
0 |
unless $self->{'_DISPLAY'}{'FH'} |
|
243
|
0 |
0 |
$percent <= 100 && $percent >= 0 ? : |
|
246
|
0 |
0 |
$_[2] ? : |
|
251
|
0 |
0 |
defined $self->{'_DISPLAY'}{'FH'} ? : |
|
255
|
0 |
0 |
unless $self->{'_DISPLAY'}{'FH'} |