Branch Coverage

blib/lib/Graph/Reader/TGF.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
26 1 2 if (exists $param_hr->{'edge_callback'} and defined $param_hr->{'edge_callback'} and ref $param_hr->{'edge_callback'} ne 'CODE')
33 1 2 if (exists $param_hr->{'vertex_callback'} and defined $param_hr->{'vertex_callback'} and ref $param_hr->{'vertex_callback'} ne 'CODE')
51 6 18 if ($line =~ /^#/ms)
57 12 6 if ($vertexes) { }
59 6 6 unless (defined $vertex_label)
63 2 10 if ($self->{'vertex_callback'}) { }
75 1 5 if ($self->{'edge_callback'}) { }