Branch Coverage

blib/lib/Rex/Apache/Inject/Properties.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
46 0 0 unless ($tmp_to =~ m[^/])
57 0 0 if (exists $option->{'extract'})
61 0 0 if ($^O =~ /^MSWin/i)
80 0 0 if (exists $option->{'pre_pack_hook'})
86 0 0 if (exists $option->{'post_pack_hook'})
99 0 0 if (exists $option->{'pre_pack_hook'})
104 0 0 if ($? != 0)
110 0 0 if (exists $option->{'post_pack_hook'})
123 0 0 if ($^O =~ /^MSWin/i)
132 0 0 unless open my $fh, "<$file"
137 0 0 if $line =~ /^#/
138 0 0 if $line =~ /^$/
143 0 0 unless ($key)
148 0 0 unless $val
155 0 0 if (exists $con{$k})
166 0 0 $Rex::Apache::Inject::Properties::real_name_from_template ? :
169 0 0 unless open $fh, '>', $new_file_name
197 0 0 if ($file =~ /\.tar\.gz$/) { }
0 0 elsif ($file =~ /\.zip$/) { }
0 0 elsif ($file =~ /\.tar\.bz2$/) { }
0 0 elsif ($file =~ /\.war$/) { }
0 0 elsif ($file =~ /\.jar$/) { }
219 0 0 if ($file =~ /\.tar\.gz$/) { }
0 0 elsif ($file =~ /\.zip$/) { }
0 0 elsif ($file =~ /\.tar\.bz2$/) { }
0 0 elsif ($file =~ /\.war$/) { }
0 0 elsif ($file =~ /\.jar$/) { }
244 0 0 if ($Rex::Apache::Inject::Properties::template_file =~ m[^/]) { }
251 0 0 if (-f "$t_file." . 'Rex::Config'->get_environment)
255 0 0 unless open my $fh, '<', $t_file
259 0 0 if $line =~ /^#/
260 0 0 if $line =~ /^$/
274 0 0 if ($file =~ /\.tar\.gz$/) { }
0 0 elsif ($file =~ /\.zip$/) { }
0 0 elsif ($file =~ /\.tar\.bz2$/) { }
0 0 elsif ($file =~ /\.war$/) { }
0 0 elsif ($file =~ /\.jar$/) { }