Branch Coverage

blib/lib/Verilog/Netlist/Port.pm
Criterion Covered Total %
branch 19 26 73.0


line true false branch
38 0 690 if defined $params{'type'}
39 690 0 if ($params{'direction'})
40 448 242 if $params{'direction'} eq "input"
41 233 457 if $params{'direction'} eq "output"
61 0 0 if ($#_ >= 0)
67 88 94 if (not $self->net)
69 2 86 unless ($net)
72 2 0 if (defined $self->data_type)
75 2 0 defined $3 ? :
86 0 88 if ($net and $net->port and $net->port != $self)
92 32 56 if $self->direction eq "out"
93 47 41 if $self->direction eq "in"
94 7 81 if $self->direction eq "inout"