Branch Coverage

blib/lib/Rex/Apache/Inject/YAML.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
56 0 0 if ($^O =~ /^MSWin/i)
75 0 0 if $is_w
78 0 0 if $is_w
81 0 0 if ($@)
90 0 0 unless open my $fh, '>', $file
95 0 0 if (exists $option->{'pre_pack_hook'})
100 0 0 if ($? != 0)
106 0 0 if (exists $option->{'post_pack_hook'})
129 0 0 if ($file =~ /\.tar\.gz$/) { }
0 0 elsif ($file =~ /\.zip$/) { }
0 0 elsif ($file =~ /\.tar\.bz2$/) { }
145 0 0 if ($file =~ /\.tar\.gz$/) { }
0 0 elsif ($file =~ /\.zip$/) { }
0 0 elsif ($file =~ /\.tar\.bz2$/) { }
162 0 0 if (-f "$template_file." . 'Rex::Config'->get_environment)
181 0 0 if ($file =~ /\.tar\.gz$/) { }
0 0 elsif ($file =~ /\.zip$/) { }
0 0 elsif ($file =~ /\.tar\.bz2$/) { }
196 0 0 unless ref $_[0]
199 0 0 if defined $_[1]{$_}
200 0 0 if ref $_[0] eq 'HASH'
201 0 0 if (ref $_[0] eq 'ARRAY')