Branch Coverage

blib/lib/SystemC/Vregs/File.pm
Criterion Covered Total %
branch 19 56 33.9


line true false branch
25 0 1 unless $params{'language'}
33 0 1 if $SystemC::Vregs::Debug
34 0 1 if (-r $template_filename)
38 1 0 unless ($$self{'noheader'})
39 0 1 if $$self{'CPP'}
40 0 1 if $$self{'XML'}
42 1 0 if ($$self{'C'} or $$self{'CPP'}) { }
51 1 0 if ($$self{'rules'})
60 1 0 if $$self{'rules'}
71 1 0 if $$self{'rules'}
73 1 0 unless ($$self{'noheader'})
87 0 0 defined $$pack{'rules'}{'protect_rdwr_only'} ? :
90 0 0 unless $enabled
91 0 0 if ($$self{'CPP'})
92 0 0 if ($private and not $$self{'private'})
95 0 0 if (not $private and $$self{'private'})
114 0 0 if ($$self{'CPP'}) { }
117 0 0 $proto =~ s/const\s*$// ? :
121 0 0 if $suffix
122 0 0 if ($$self{'private'})
141 0 0 if ($$self{'CPP'}) { }
146 0 0 if $suffix
147 0 0 if $$self{'func_private'}{$fname}
149 0 0 unless $call =~ s/\(/(thisp,/
186 108 2638 if ($c eq "\n") { }
76 2562 elsif ($c eq "\t") { }
463 2099 elsif ($c eq ' ') { }
200 201 1898 if ($spaces)