Branch Coverage

blib/lib/Graphviz/DSL/Node.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
14 1 355 unless (exists $args{'id'})
20 0 355 unless (ref $attrs eq 'ARRAY')
27 21 334 if (defined $compass)
43 2 64 if ($$self{'port'})
47 0 66 if ($$self{'compass'})
63 2 5 if ($key eq $old_key)
76 0 756 unless (blessed $node and $node->isa('Graphviz::DSL::Node'))
80 654 102 unless ($$self{'id'} eq $$node{'id'})
84 6 198 defined $_ ? :
85 0 102 unless ($port1 eq $port2)
89 6 198 defined $_ ? :
90 1 101 unless ($comp1 eq $comp2)