Branch Coverage

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


line true false branch
41 0 0 if (is_file($to)) { }
43 0 0 unless ($tmp_to =~ m[^/])
58 0 0 if (exists $option->{'extract'})
62 0 0 if ($^O =~ /^MSWin/i)
81 0 0 if (exists $option->{'pre_pack_hook'})
87 0 0 if (exists $option->{'post_pack_hook'})
102 0 0 if (is_file($to))
105 0 0 if (exists $option->{'pre_pack_hook'})
110 0 0 if ($? != 0)
117 0 0 if (exists $option->{'post_pack_hook'})
124 0 0 if (is_file($to))
134 0 0 if ($^O =~ /^MSWin/i)
139 0 0 if $file =~ m[\.svn/]
140 0 0 if $file =~ m[\.git/]
153 0 0 if ($content =~ /\@$key\@/gm)
159 0 0 $Rex::Apache::Inject::Template::real_name_from_template ? :
161 0 0 unless open my $fh, '>', $new_file_name
187 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$/) { }
209 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$/) { }
234 0 0 if ($template_file =~ m[^/]) { }
241 0 0 if (-f "$t_file." . 'Rex::Config'->get_environment)
245 0 0 unless open my $fh, '<', $t_file
252 0 0 if $line =~ /^#/
253 0 0 if $line =~ /^\s*?$/
270 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$/) { }