Branch Coverage

blib/lib/SystemC/Vregs/Subclass.pm
Criterion Covered Total %
branch 7 40 17.5


line true false branch
15 0 53 unless defined $$self{'name'}
27 0 48 unless $flags =~ /^\s*$/
35 0 0 if $text ne ''
36 0 0 if ($val eq '1') { }
46 0 16 unless my $from = shift()
49 0 0 unless (defined $$self{'attributes'}{$key})
57 0 0 if (ref $_[0])
60 0 0 if ($self)
62 0 0 if ($typeref)
68 0 0 unless ($at =~ /^[\w\-\:]+$/)
75 0 0 if $SystemC::Vregs::Debug
82 0 0 if ($n >= 33 and $n <= 126)
83 0 0 if $c eq q[']
84 0 0 if $c eq '\\'
92 0 0 if (ref $_[0])
104 0 0 if (ref $_[0])
116 0 0 if $SystemC::Vregs::Subclass::Errors
130 3 48 if ($out =~ /[.,;]/)
140 0 3 if $SystemC::Vregs::Subclass::Errors
141 0 3 if $?