| line |
true |
false |
branch |
|
51
|
0 |
0 |
if (defined $_[1]) |
|
65
|
0 |
0 |
unless (defined $args{'scm'}) |
|
74
|
0 |
0 |
if (ref $args{'scm'} ne 'Sys::Config::Manage') |
|
104
|
0 |
0 |
unless ($self->errorblank) |
|
109
|
0 |
0 |
unless (defined $configDir) |
|
111
|
0 |
0 |
if ($$self{'scm'}->error) |
|
121
|
0 |
0 |
unless (defined $item) |
|
129
|
0 |
0 |
if (not $item =~ m[^/] or $item =~ /\n/) |
|
142
|
0 |
0 |
if ($self->error) |
|
146
|
0 |
0 |
if ($exists) |
|
154
|
0 |
0 |
if ($self->error) |
|
190
|
0 |
0 |
unless ($self->errorblank) |
|
195
|
0 |
0 |
unless (defined $configDir) |
|
197
|
0 |
0 |
if ($$self{'scm'}->error) |
|
208
|
0 |
0 |
if ($self->error) |
|
215
|
0 |
0 |
if (-d $list[$int]) |
|
217
|
0 |
0 |
if (@$err) |
|
224
|
0 |
0 |
if (-f $list[$int]) |
|
225
|
0 |
0 |
unless (unlink $list[$int]) |
|
262
|
0 |
0 |
unless ($self->errorblank) |
|
267
|
0 |
0 |
unless (defined $item) |
|
275
|
0 |
0 |
if (not $item =~ m[^/] or $item =~ /\n/) |
|
286
|
0 |
0 |
unless (defined $configDir) |
|
288
|
0 |
0 |
if ($$self{'scm'}->error) |
|
299
|
0 |
0 |
if ($$self{'scm'}->error) |
|
306
|
0 |
0 |
if (defined $valid) |
|
314
|
0 |
0 |
unless (-d $$self{'scm'}{'baseDir'} . '/' . $configDir) |
|
324
|
0 |
0 |
if ($self->error) |
|
331
|
0 |
0 |
if ($list[$int] eq $item) |
|
360
|
0 |
0 |
unless ($self->errorblank) |
|
365
|
0 |
0 |
unless (defined $configDir) |
|
367
|
0 |
0 |
if ($$self{'scm'}->error) |
|
378
|
0 |
0 |
if ($$self{'scm'}->error) |
|
385
|
0 |
0 |
if (defined $valid) |
|
393
|
0 |
0 |
unless (-d $$self{'scm'}{'baseDir'} . '/' . $configDir) |
|
403
|
0 |
0 |
unless (-f $removefile) |
|
407
|
0 |
0 |
unless (open $fh, '<', $removefile) |
|
448
|
0 |
0 |
unless ($self->errorblank) |
|
453
|
0 |
0 |
unless (defined $configDir) |
|
455
|
0 |
0 |
if ($$self{'scm'}->error) |
|
465
|
0 |
0 |
unless (defined $item) |
|
473
|
0 |
0 |
if (not $item =~ m[^/] or $item =~ /\n/) |
|
486
|
0 |
0 |
if ($self->error) |
|
490
|
0 |
0 |
unless ($exists) |
|
498
|
0 |
0 |
if ($self->error) |
|
507
|
0 |
0 |
if ($list[$int] ne $item) |
|
515
|
0 |
0 |
if ($self->error) |
|
542
|
0 |
0 |
if (defined $_[2]) |
|
547
|
0 |
0 |
unless ($self->errorblank) |
|
552
|
0 |
0 |
unless (defined $configDir) |
|
554
|
0 |
0 |
if ($$self{'scm'}->error) |
|
565
|
0 |
0 |
if ($$self{'scm'}->error) |
|
572
|
0 |
0 |
if (defined $valid) |
|
583
|
0 |
0 |
if (not $list[$int] =~ m[^/] or $list[$int] =~ /\n/) |
|
599
|
0 |
0 |
unless (-d $$self{'scm'}{'baseDir'} . '/' . $configDir . '/.SysConfigManage/') |
|
600
|
0 |
0 |
unless (mkdir $$self{'scm'}{'baseDir'} . '/' . $configDir . '/.SysConfigManage/') |
|
607
|
0 |
0 |
unless (-d $$self{'scm'}{'baseDir'} . '/' . $configDir . '/.SysConfigManage/Remove') |
|
608
|
0 |
0 |
unless (mkdir $$self{'scm'}{'baseDir'} . '/' . $configDir . '/.SysConfigManage/Remove/') |
|
619
|
0 |
0 |
if (-f $removefile) |
|
623
|
0 |
0 |
unless (open $fh, '>', $removefile) |
|
632
|
0 |
0 |
unless ($exists) |
|
635
|
0 |
0 |
if (defined $command) |
|
641
|
0 |
0 |
if ($exit ne '0') |