Branch Coverage

blib/lib/Graph/Attribute.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
21 81 1 if (exists $attr{'array'}) { }
1 0 elsif (exists $attr{'hash'}) { }
27 2 621 if @_ == 2
37 1 0 if @_ == 2
45 80 2 if (exists $attr{'map'})
75 3 0 $p ? :
80 7 3 $g->_g_get_attributes ? :
87 15697 167 $p ? :
93 1 229 unless defined(my $p = $g->_g_get_attributes)
100 1 1 unless $g->_g_has_attributes
108 2 1 defined $p ? :
114 2 1 defined $p ? :