line |
true |
false |
branch |
75
|
1 |
5 |
if ($name) { } |
103
|
0 |
1 |
unless $self->setup |
104
|
0 |
1 |
unless $self->create_package |
105
|
0 |
1 |
unless $self->cleanup |
126
|
1 |
0 |
unless (-d $package_build_dir) |
128
|
0 |
1 |
unless mkpath($package_build_dir, 0, 493) |
141
|
0 |
0 |
unless (-d $destination) |
143
|
0 |
0 |
unless mkpath($destination, 0, $mode) |
155
|
4 |
10 |
unless (-d $dir) |
157
|
0 |
4 |
unless mkpath($dir, 0, 493) |
160
|
0 |
14 |
unless copy($source, $destination) |
165
|
0 |
14 |
unless $user_id =~ /\d/ |
166
|
0 |
14 |
unless $group_id =~ /\d/ |
167
|
0 |
14 |
unless chown $user_id, $group_id, $destination |
171
|
0 |
14 |
unless chmod $mode, $destination |
183
|
1 |
1 |
if ($type =~ /hard/i) { } |
|
1 |
0 |
elsif ($type =~ /soft/i) { } |
186
|
0 |
1 |
if $@ |
191
|
0 |
1 |
if $@ |
225
|
0 |
1 |
unless $tar->add_files(@files) |