Branch Coverage

blib/lib/Ym/ymgen.pl
Criterion Covered Total %
branch 0 30 0.0


line true false branch
17 0 0 if (ref $$leaf{$k})
26 0 0 if ($i == 0)
51 0 0 unless $tree and $dst_dir
54 0 0 unless $opts
58 0 0 unless (defined $$tree{'config'})
64 0 0 unless defined $$m[1]
70 0 0 unless open NAGIOS_MAIN, ">$dst_dir/$nagios_main.$pid"
74 0 0 if ("$def" eq 'cfg_file') { }
76 0 0 $$opts{'target_base'} ? :
89 0 0 unless defined $Ym::BRANCHES{$def}[0] and defined $Ym::BRANCHES{$def}[1]
93 0 0 unless open OUT, ">$cfg_out.$pid"
97 0 0 if $verbose
104 0 0 unless rename "$dst_dir/$nagios_main.$pid", "$dst_dir/$nagios_main"
108 0 0 unless defined $Ym::BRANCHES{$def}[0] and defined $Ym::BRANCHES{$def}[1]
113 0 0 unless rename "$cfg_out.$pid", $cfg_out