Condition Coverage

blib/lib/Verilog/Netlist/File.pm
Criterion Covered Total %
condition 38 60 63.3


and 3 conditions

line !l l&&!r l&&r condition
264 12107 22 459 $data_type and $data_type =~ /\[(.*):(.*)\]/
12107 22 0 $data_type and $data_type =~ /\[(.*)\]/

or 2 conditions

line l !l condition
69 0 0 $params{'netlist'}{'keep_comments'} || 1
203 204 0 shift() || ''
208 0 0 $3 || ''
346 430 419 $pin || ''
457 0 239 $params{'is_libcell'} || 0
493 0 0 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
163 0 0 246 $fileref->is_libcell || $in_celldefine
232 722 2 208 $objof eq "module" or $objof eq "interface"
724 4 204 $objof eq "module" or $objof eq "interface" or $objof eq "modport"
234 4 724 0 $self->{'_modportref'} || $self->{'modref'}
260 12574 6 216 $objof eq "module" or $objof eq "interface"
12580 4 212 $objof eq "module" or $objof eq "interface" or $objof eq "modport"
10 4 208 $objof eq "module" or $objof eq "interface" or $objof eq "modport" or $objof eq "netlist"
270 4 12580 4 $self->{'_modportref'} || $self->{'modref'}
460 0 28 211 $params{'keep_comments'} || $netlist->{'keep_comments'}
461 0 239 0 $params{'parser'} || $netlist->{'parser'}
471 0 0 239 $params{'metacomment'} || $netlist->{'metacomment'}
0 239 0 $params{'use_vars'} || $netlist->{'use_vars'}
0 7 232 $params{'use_pinselects'} || $netlist->{'use_pinselects'}
0 239 0 $params{'preproc'} || $netlist->{'preproc'}