Branch Coverage

blib/lib/Graph/GML.pm
Criterion Covered Total %
branch 1 56 1.7


line true false branch
42 0 1 if (defined $args{'file'})
55 0 0 if ($string =~ /^Creator/u)
69 0 0 if ($string =~ /directed/u)
76 0 0 if ($val)
83 0 0 if ($wd eq 'graph') { }
0 0 elsif ($wd eq 'node') { }
0 0 elsif ($wd eq 'edge') { }
88 0 0 unless (defined $graph)
95 0 0 unless ($populated)
116 0 0 if (ref $$nodes{$el} eq 'HASH' and defined $$nodes{$el}{'label'}) { }
123 0 0 if (ref $$nodes{$el} eq 'HASH' and defined $$nodes{$el}{'value'})
142 0 0 if ($key eq 'id') { }
0 0 elsif ($key eq 'name') { }
0 0 elsif ($key eq 'label') { }
0 0 elsif ($key eq 'comment') { }
0 0 elsif ($key eq 'value') { }
161 0 0 unless (defined $id)
162 0 0 if (not defined $tmphash) { }
183 0 0 if ($key eq 'source') { }
0 0 elsif ($key eq 'target') { }
0 0 elsif ($key eq 'label') { }
0 0 elsif ($key eq 'comment') { }
0 0 elsif ($key eq 'value') { }
200 0 0 if (ref $$nodes{$source} eq 'HASH' and defined $$nodes{$source}{'label'})
203 0 0 if (ref $$nodes{$target} eq 'HASH' and defined $$nodes{$target}{'label'})
206 0 0 if (defined $value) { }
229 0 0 unless open IF, $file
243 0 0 if (defined $id)