Branch Coverage

blib/lib/GraphViz2/Marpa/Renderer/Graphviz.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
62 0 0 if (not defined $self->logger)
87 0 0 defined $attributes->{'value'} ? :
98 0 0 if ($name eq 'attribute') { }
0 0 elsif ($name eq 'class') { }
0 0 elsif ($name eq 'edge_id') { }
0 0 elsif ($name eq 'literal') { }
0 0 elsif ($name =~ /(?:graph_id|node_id)/) { }
0 0 elsif ($name eq 'subgraph_id') { }
0 0 elsif (not $ignore{$name}) { }
102 0 0 unless $value =~ /^<.+>$/s or $value =~ /^".*"/
106 0 0 if ($opts->{'previous'}{'name'} eq 'node_id')
111 0 0 if ($opts->{'previous'}{'value'} eq '[') { }
0 0 elsif ($opts->{'previous'}{'name'} eq 'attribute') { }
129 0 0 if $opts->{'previous'}{'name'} eq 'node_id'
130 0 0 if $opts->{'previous'}{'name'} =~ /(?:attribute|class)/
139 0 0 if $value =~ /[{}]/
141 0 0 if ($value =~ /[{}]/) { }
0 0 elsif ($value =~ /[\[\]]/) { }
0 0 elsif ($type =~ /^(?:digraph|graph|strict)_literal$/) { }
0 0 elsif ($type eq 'subgraph_literal') { }
144 0 0 if $opts->{'previous'}{'name'} eq 'edge_id'
149 0 0 if $value eq '['
153 0 0 if $value eq ']'
162 0 0 if $opts->{'previous'}{'name'} eq 'attribute'
173 0 0 if $opts->{'previous'}{'name'} =~ /(?:attribute|class)/
175 0 0 if ($opts->{'previous'}{'name'} eq 'edge_id') { }
0 0 elsif ($opts->{'previous'}{'type'} =~ /(?:digraph|graph)_literal/) { }
0 0 elsif ($opts->{'previous'}{'name'} ne 'literal') { }
212 0 0 if $self->logger
250 0 0 if ($output_file)
252 0 0 unless open my $fh, '> :encoding(utf-8)', $output_file