Condition Coverage

blib/lib/App/Iptables2Dot.pm
Criterion Covered Total %
condition 30 43 69.7


and 3 conditions

line !l l&&!r l&&r condition
131 99 0 0 $opt->{'edgelabel'} and $edge->[2]
250 0 37 19 not $have_node{$node} and $node =~ /$re_in/

or 2 conditions

line l !l condition
296 25 101 $opt{'in-interface'} || ''
297 0 0 $opt{'jump'} || $opt{'goto'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
57 0 6 0 ref $self || $self
140 3 0 0 $self->{'nodemap'}{$edge->[0]} || $edge->[0]
141 1 2 0 $self->{'nodemap'}{$edge->[1]} || $edge->[1]
160 7 0 3 $opt->{'showrules'} or $opt->{'edgelabel'}
182 1 1 8 $opt->{'showunusednodes'} or $opt->{'use-numbered-nodes'}
188 49 4 44 $used{$node} or $opt->{'showunusednodes'}
4 3 41 $used{$node} or $opt->{'showunusednodes'} or $opt->{'use-numbered-nodes'}
243 1 1 8 $opt->{'showunusednodes'} or $opt->{'use-numbered-nodes'}
249 49 4 44 $used{$node} or $opt->{'showunusednodes'}
4 3 41 $used{$node} or $opt->{'showunusednodes'} or $opt->{'use-numbered-nodes'}
252 1 0 0 $self->{'nodemap'}{$node} || qq["$node"]