Branch Coverage

bin/ncustom
Criterion Covered Total %
branch 25 50 50.0


line true false branch
69 0 1 unless ok -d $input
72 0 1 unless -d $input
78 1 0 if (-f './bin/ncustom')
79 0 1 unless ok $ncustom ne ''
94 0 7 if $_STDOUT_
95 0 7 if $_STDERR_
143 0 1 unless ok $rc != 0
146 0 1 unless like $o, qr/Usage:/m
149 0 1 unless ok $rc != 0
152 0 1 unless like $o, qr/Usage:/m
173 0 1 unless ok !(-d "$output/.ncustom/save/all")
178 0 1 unless ok $rc == 0
182 0 1 unless ok -d "$output/.ncustom/save/all"
186 0 1 unless ok -f "$output/.ncustom/save/dummydir/dummyfile"
189 0 1 unless ok $rc == 0
191 0 1 unless ok !(-f "$output/.ncustom/save/dummydir/dummyfile")
257 0 1 unless eq_array(\, \)
318 0 1 unless ok grep(/ncustom test1.ncus/, @stubslog) > 0
320 0 1 unless ok grep(/ncustom test2.ncus/, @stubslog) > 0
322 1 0 unless ok grep(/ncustom test3.ncus/, @stubslog) > 0
324 1 0 unless ok grep(/ncustom test4.ncus/, @stubslog) > 0
349 0 1 unless ok $rc == 0
351 0 1 unless is compare("$output/.ncustom/NCustom/MyConfig.pm", "$input/Global.pm"), 0
411 0 1 unless ok grep(/src_fqdn.*"install.baneharbinger.com"/, @lines) > 0
413 0 1 unless ok grep(m[test_url1.*"install.baneharbinger.com/index.html"], @lines) > 0