Branch Coverage

blib/lib/Graphviz/DSL/Util.pm
Criterion Covered Total %
branch 7 8 87.5


line true false branch
17 12 319 if ($id =~ /:/)
20 6 6 if (defined $port and not defined $compass)
21 6 0 if (grep {$port eq $_;} @valid_compasses)
34 1 20 unless (grep {$compass eq $_;} @valid_compasses)