line |
true |
false |
branch |
27
|
0 |
0 |
defined $args{'stdout'} ? : |
36
|
0 |
0 |
if (defined $args{'debug'}) |
37
|
0 |
0 |
if defined $args{'debug'} |
43
|
0 |
0 |
if ($self->{'logfile'}) |
47
|
0 |
0 |
if ($self->{'log_to_stdout'}) |
57
|
0 |
0 |
unless defined $args{$_} |
61
|
0 |
0 |
if ($arg_string) |
78
|
0 |
0 |
if ($existing_pid) |
79
|
0 |
0 |
if (kill 0, $existing_pid) { } |
94
|
0 |
0 |
unless unlink $self->_pid_file |
101
|
0 |
0 |
if ($^O =~ /MSWin/) { } |
107
|
0 |
0 |
if (-x "$_/perl.exe") |
113
|
0 |
0 |
if (-e "$_/bbtester") |
131
|
0 |
0 |
if (defined $self->{'auto'}) |
133
|
0 |
0 |
if defined $self->{'csum'} |
136
|
0 |
0 |
if (defined $self->{'debug'}) |
139
|
0 |
0 |
if ($self->{'logfile'}) |
143
|
0 |
0 |
unless -d $work_dir |
144
|
0 |
0 |
unless chdir $work_dir |
149
|
0 |
0 |
if ($^O =~ /MSWin/) { } |
166
|
0 |
0 |
unless open my $wfh, '>', $self->_pid_file |
172
|
0 |
0 |
if ($self->status) |
176
|
0 |
0 |
if ($existing_pid) |
177
|
0 |
0 |
if (not kill(0, $existing_pid)) |
194
|
0 |
0 |
unless ($self->status) |
214
|
0 |
0 |
if (defined $self->pid and $self->pid) { } |
215
|
0 |
0 |
if (not kill(0, $self->pid)) { } |
218
|
0 |
0 |
unless unlink $self->_pid_file |
236
|
0 |
0 |
if ($self->{'logfile'}) |
239
|
0 |
0 |
unless $self->{'log_to_stdout'} |
248
|
0 |
0 |
unless $sock |
259
|
0 |
0 |
unless -d $work_dir |
291
|
0 |
0 |
if ($args[0] ne 'brewbuild') |
301
|
0 |
0 |
if (grep /\Q$unsafe_arg\E/, @args) |
317
|
0 |
0 |
if ($repo) |
326
|
0 |
0 |
if (-d $repo_name) { } |
327
|
0 |
0 |
unless chdir $repo_name |
333
|
0 |
0 |
if (defined $self->{'auto'} and $self->{'auto'}) |
343
|
0 |
0 |
if $local_sum ne $remote_sum |
352
|
0 |
0 |
unless (defined $self->{'csum'}) |
355
|
0 |
0 |
unless ($status) |
365
|
0 |
0 |
if ($local_sum eq $remote_sum) |
379
|
0 |
0 |
if ($csums_differ) { } |
397
|
0 |
0 |
if (defined $opts{'error'}) |
407
|
0 |
0 |
if defined $opts{$_} |
409
|
0 |
0 |
if ($opt_str) { } |
418
|
0 |
0 |
unless $self->{'log_to_stdout'} |
420
|
0 |
0 |
if $opts{'remove'} |
421
|
0 |
0 |
if ($opts{'install'}) { } |
|
0 |
0 |
elsif ($opts{'new'}) { } |
428
|
0 |
0 |
if ($opts{'notest'}) |
435
|
0 |
0 |
if ($opts{'revdep'}) { } |
444
|
0 |
0 |
if (-d 'bblog') |
449
|
0 |
0 |
if (@entries) { } |
457
|
0 |
0 |
unless -f $_ and /\.bblog/ |
458
|
0 |
0 |
unless open my $fh, '<', $_ |
466
|
0 |
0 |
unless remove_tree('bblog') |
483
|
0 |
0 |
if $self->{'ip'} |
485
|
0 |
0 |
if (not $ip and $self->{'conf'}{'ip'}) |
488
|
0 |
0 |
unless $ip |
494
|
0 |
0 |
if $self->{'port'} |
496
|
0 |
0 |
if (not $port and $self->{'conf'}{'port'}) |
499
|
0 |
0 |
unless defined $port |
509
|
0 |
0 |
if (-f $conf_file) |
517
|
0 |
0 |
if (-f $_[0]->_pid_file) { } |
518
|
0 |
0 |
unless open my $fh, '<', $_[0]->_pid_file |
529
|
0 |
0 |
if defined $self->{'pid_file'} |