| line |
true |
false |
branch |
|
38
|
0 |
0 |
if (@_) |
|
41
|
0 |
0 |
if (exists $pids{$job->pid}) { } |
|
55
|
0 |
0 |
if (@_) |
|
58
|
0 |
0 |
if (exists $pids{$reader}) { } |
|
89
|
0 |
0 |
if (defined $readFromFile) { } |
|
90
|
0 |
0 |
defined $alternateFromFile ? : |
|
91
|
0 |
0 |
unless open PIPE, "<$file" |
|
93
|
0 |
0 |
if ('NBU'->debug) |
|
101
|
0 |
0 |
defined $logFile ? : |
|
105
|
0 |
0 |
unless (<$jobPipe> =~ /^C([\d]+)[\s]*$/) |
|
112
|
0 |
0 |
unless ($jobDescription = <$jobPipe>) |
|
126
|
0 |
0 |
unless defined $jobPipe |
|
128
|
0 |
0 |
if defined $refreshPipe |
|
130
|
0 |
0 |
unless (<$jobPipe> =~ /^C([\d]+)[\s]*$/) |
|
137
|
0 |
0 |
unless ($jobDescription = <$jobPipe>) |
|
156
|
0 |
0 |
if ($jobDescription =~ /^\-/) |
|
166
|
0 |
0 |
if ($jobDescription =~ s/([^\\])\\,/$1 -/g) |
|
187
|
0 |
0 |
unless ($job = 'NBU::Job'->byID($jobID)) |
|
194
|
0 |
0 |
if $jobType ne '' |
|
195
|
0 |
0 |
if ('NBU'->debug) |
|
196
|
0 |
0 |
unless defined $$job{'TYPE'} |
|
199
|
0 |
0 |
if defined $stUnit and not $stUnit =~ /^[\s]*$/ |
|
209
|
0 |
0 |
if (not defined $job->mediaServer and defined $serverName) |
|
211
|
0 |
0 |
if defined $stUnit and not $stUnit =~ /^[\s]*$/ |
|
215
|
0 |
0 |
$currentTry ne '' ? : |
|
229
|
0 |
0 |
if (defined $pathListCount) |
|
244
|
0 |
0 |
if (defined(my $tryCount = shift @rest)) |
|
261
|
0 |
0 |
if ($tryProgress =~ /\.\.\./) |
|
266
|
0 |
0 |
if ($tryProgress =~ /[\s][AP]M[\s]/) { } |
|
274
|
0 |
0 |
if ($dt =~ m[([\d]{1,2})/([\d]{1,2})/([\d]{4})]) { } |
|
|
0 |
0 |
elsif ($dt =~ m[([\d]{1,2})/([\d]{1,2})/([\d]{2})]) { } |
|
287
|
0 |
0 |
$3 eq '' ? : |
|
288
|
0 |
0 |
if ($AMPM =~ /PM/ and $h != 12) { } |
|
|
0 |
0 |
elsif ($AMPM =~ /AM/ and $h == 12) { } |
|
303
|
0 |
0 |
if ($msg =~ /connecting/) { } |
|
|
0 |
0 |
elsif ($msg =~ /connected/) { } |
|
|
0 |
0 |
elsif ($msg =~ /^using ([\S]+)/) { } |
|
|
0 |
0 |
elsif ($msg =~ /^mounting ([\S]+)/) { } |
|
|
0 |
0 |
elsif ($msg =~ /mounted/) { } |
|
|
0 |
0 |
elsif ($msg =~ /positioning ([\S]+) to file ([\S]+)/) { } |
|
|
0 |
0 |
elsif ($msg =~ /positioned/) { } |
|
|
0 |
0 |
elsif ($msg =~ /begin writing/) { } |
|
|
0 |
0 |
elsif ($msg =~ /end writing/) { } |
|
|
0 |
0 |
elsif ($msg =~ /begin reading/) { } |
|
|
0 |
0 |
elsif ($msg =~ /end reading/) { } |
|
|
0 |
0 |
elsif ($msg =~ /Critical bp/) { } |
|
|
0 |
0 |
elsif ($msg =~ /Critical vlt/) { } |
|
|
0 |
0 |
elsif ($msg =~ /Error bp/) { } |
|
|
0 |
0 |
elsif ($msg =~ /Error vlt/) { } |
|
|
0 |
0 |
elsif ($msg =~ /Info bp/) { } |
|
|
0 |
0 |
elsif ($msg =~ /Info vlt/) { } |
|
|
0 |
0 |
elsif ($msg =~ /Info nbdelete/) { } |
|
|
0 |
0 |
elsif ($msg =~ /Warning bp/) { } |
|
|
0 |
0 |
elsif ($msg =~ /Warning vlt/) { } |
|
|
0 |
0 |
elsif ($msg =~ /begin Catalog/) { } |
|
|
0 |
0 |
elsif ($msg =~ /begin Eject and Report/) { } |
|
|
0 |
0 |
elsif ($msg =~ /begin Restore/) { } |
|
|
0 |
0 |
elsif ($msg =~ /begin Choosing Images/) { } |
|
|
0 |
0 |
elsif ($msg =~ /begin Duplicating Images/) { } |
|
|
0 |
0 |
elsif ($msg =~ /begin Duplicate/) { } |
|
|
0 |
0 |
elsif ($msg =~ /begin Import/) { } |
|
|
0 |
0 |
elsif ($msg =~ /end Catalog/) { } |
|
|
0 |
0 |
elsif ($msg =~ /end Eject and Report/) { } |
|
|
0 |
0 |
elsif ($msg =~ /end Restore/) { } |
|
|
0 |
0 |
elsif ($msg =~ /end Duplicate/) { } |
|
|
0 |
0 |
elsif ($msg =~ /end Choosing Images/) { } |
|
|
0 |
0 |
elsif ($msg =~ /end Duplicating Images/) { } |
|
|
0 |
0 |
elsif ($msg =~ /end Import/) { } |
|
|
0 |
0 |
elsif ($msg =~ /images required/) { } |
|
|
0 |
0 |
elsif ($msg =~ /media/) { } |
|
|
0 |
0 |
elsif ($msg =~ /started process/) { } |
|
|
0 |
0 |
elsif ($msg =~ /restarted as job/) { } |
|
|
0 |
0 |
elsif ($msg =~ /restoring image ([\S]+)/) { } |
|
|
0 |
0 |
elsif ($msg =~ /restored image ([\S]+) -/) { } |
|
|
0 |
0 |
elsif ($msg =~ /Error nbjm/) { } |
|
|
0 |
0 |
elsif ($msg =~ /begin operation/) { } |
|
|
0 |
0 |
elsif ($msg =~ /end operation/) { } |
|
|
0 |
0 |
elsif ($msg =~ /begin operation/) { } |
|
|
0 |
0 |
elsif ($msg =~ /end operation/) { } |
|
|
0 |
0 |
elsif ($msg =~ /requesting resource/) { } |
|
|
0 |
0 |
elsif ($msg =~ /granted resource/) { } |
|
|
0 |
0 |
elsif ($msg =~ /writing to path/) { } |
|
|
0 |
0 |
elsif ($msg =~ /ended process ([\d]+) \(([\d]+)\)/) { } |
|
|
0 |
0 |
elsif ($msg =~ /snapshot client is ([\S]+) - snapshot method is ([\S]+)/) { } |
|
|
0 |
0 |
elsif ($msg =~ /collecting BMR information/) { } |
|
|
0 |
0 |
elsif ($msg =~ /transferring BMR information to the master server/) { } |
|
|
0 |
0 |
elsif ($msg =~ /BMR information transfer successful/) { } |
|
|
0 |
0 |
elsif ($msg =~ /path is /) { } |
|
|
0 |
0 |
elsif ($msg =~ /estimated ([-]?[\d]+) kbytes needed/) { } |
|
|
0 |
0 |
elsif ($msg =~ /([\d]+) KB written/) { } |
|
|
0 |
0 |
elsif ($msg =~ /number of files written/) { } |
|
|
0 |
0 |
elsif ($msg =~ /waiting for vault session ID lock/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault session ID lock acquired/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault session ID lock released/) { } |
|
|
0 |
0 |
elsif ($msg =~ /waiting for vault duplication lock/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault duplication lock acquired/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault duplication lock released/) { } |
|
|
0 |
0 |
elsif ($msg =~ /waiting for vault assign slot lock/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault assign slot lock acquired/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault assign slot lock released/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault catalog backup started using policy "(.*)" and schedule "(.*)"/) { } |
|
|
0 |
0 |
elsif ($msg =~ /waiting for vault assign slot lock/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault assign slot lock acquired/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault assign slot lock released/) { } |
|
|
0 |
0 |
elsif ($msg =~ /waiting for vault eject lock/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault eject lock acquired/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault eject lock released/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault job lock released/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault duplication started - batch ([\d]+) of ([\d]+) for ([\d]+) images/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault duplication batch ([\d]+) of ([\d]+) completed. ([\d]+) o. ([\d]+) images duplicated/) { } |
|
|
0 |
0 |
elsif ($msg =~ /vault catalog backup skipped/) { } |
|
322
|
0 |
0 |
unless (defined $job->mount) |
|
424
|
0 |
0 |
unless (defined $job->state) |
|
427
|
0 |
0 |
if ($job->state eq 'active') { } |
|
|
0 |
0 |
elsif ($job->state eq 'done') { } |
|
428
|
0 |
0 |
if defined $$job{'SIZE'} |
|
429
|
0 |
0 |
if defined $$job{'ELAPSED'} |
|
433
|
0 |
0 |
if $KBWritten > 0 |
|
435
|
0 |
0 |
if $KBytesWritten ne '' |
|
436
|
0 |
0 |
if $filesWritten ne '' |
|
438
|
0 |
0 |
if $operation ne '' |
|
439
|
0 |
0 |
if $elapsed ne '' |
|
441
|
0 |
0 |
if ($job->type eq 'Backup' or $job->type eq 'Restore') |
|
442
|
0 |
0 |
if (defined $lastSize and defined $size and (defined $lastElapsed and $elapsed ne '')) |
|
448
|
0 |
0 |
if $KBytesWritten ne '' |
|
449
|
0 |
0 |
if $filesWritten ne '' |
|
451
|
0 |
0 |
if $elapsed ne '' |
|
460
|
0 |
0 |
if (@_) |
|
463
|
0 |
0 |
if exists $jobs{$id} |
|
474
|
0 |
0 |
if (my $pidArray = $pids{$pid}) |
|
476
|
0 |
0 |
unless (defined $job) |
|
489
|
0 |
0 |
if (my $pidArray = $pids{$self->pid}) |
|
492
|
0 |
0 |
unless $job eq $self |
|
494
|
0 |
0 |
if (@newArray < 0) { } |
|
501
|
0 |
0 |
if ($self->id) |
|
517
|
0 |
0 |
if (@_) |
|
526
|
0 |
0 |
if (@_) |
|
538
|
0 |
0 |
if (@_) |
|
549
|
0 |
0 |
if (@_) |
|
552
|
0 |
0 |
if (not defined($image = $$self{'IMAGE'}) or $image->id ne $backupid) |
|
566
|
0 |
0 |
if (@_) |
|
570
|
0 |
0 |
if (not defined $$self{'CLIENT'} and defined $$self{'IMAGE'}) |
|
582
|
0 |
0 |
if (@_) |
|
586
|
0 |
0 |
if (not defined $$self{'CLASS'} and defined $$self{'IMAGE'}) |
|
601
|
0 |
0 |
if (@_) |
|
610
|
0 |
0 |
if (@_) |
|
612
|
0 |
0 |
if ($self->mount) |
|
634
|
0 |
0 |
if $self->state ne 'done' |
|
643
|
0 |
0 |
if 'NBU'->me->NBUVersion ne '3.2.0' |
|
646
|
0 |
0 |
unless (not defined $self->status && $self->status) |
|
668
|
0 |
0 |
if ($$self{'ELAPSED'}) { } |
|
673
|
0 |
0 |
unless $stop |
|
682
|
0 |
0 |
if (@_) |
|
702
|
0 |
0 |
if (not $states) { } |
|
|
0 |
0 |
elsif (defined(my $lastState = pop @$states)) { } |
|
710
|
0 |
0 |
if ($lastState eq $newState) { } |
|
728
|
0 |
0 |
if (defined(my $lastState = pop @$states)) |
|
790
|
0 |
0 |
if (defined(my $volume = $$self{'SELECTED'})) { } |
|
811
|
0 |
0 |
if (defined $mount) |
|
823
|
0 |
0 |
if (defined $mount) |
|
848
|
0 |
0 |
if (@_) |
|
859
|
0 |
0 |
if (@_) |
|
886
|
0 |
0 |
if (not $$self{'STARTOP'}) { } |
|
898
|
0 |
0 |
if (defined(my $fileListR = $$self{'FILES'})) { } |
|
921
|
0 |
0 |
if $self->state ne 'active' |
|
923
|
0 |
0 |
if (@_) |
|
925
|
0 |
0 |
unless $opCode == 0 |
|
928
|
0 |
0 |
if (not defined $$self{'OPERATION'}) { } |
|
|
0 |
0 |
elsif (not defined($opCode = $opCodes{$$self{'OPERATION'}})) { } |
|
941
|
0 |
0 |
$self->state eq 'active' ? : |
|
947
|
0 |
0 |
if (@_) |
|
950
|
0 |
0 |
if ($$self{'TRY'} and $$self{'TRY'} != $try) |
|
962
|
0 |
0 |
if (@_) |
|
964
|
0 |
0 |
if (defined(my $currentMount = $$self{'MOUNT'})) |
|
966
|
0 |
0 |
if (defined $newMount) { } |
|
970
|
0 |
0 |
unless $currentMount->stop |
|
1001
|
0 |
0 |
if (@_) |
|
1015
|
0 |
0 |
if (@_) |
|
1029
|
0 |
0 |
if (@_) |
|
1041
|
0 |
0 |
if (@_) |
|
1053
|
0 |
0 |
if (@_) |
|
1072
|
0 |
0 |
if ($self->success) |
|
1081
|
0 |
0 |
if $self->state eq 'done' |
|
1108
|
0 |
0 |
if (@_) |
|
1117
|
0 |
0 |
if (@_) |