Condition Coverage

lib/Graph/Easy/Parser/Graphviz.pm
Criterion Covered Total %
condition 62 99 62.6


and 3 conditions

line !l l&&!r l&&r condition
337 2 39 5 $html_like == 0 and $val =~ /\s*<(.*)>\s*\z/
728 5 0 0 $scope->{'_is_group'} and @{$self->{'group_stack'};}
753 7 102 7 $scope->{'_is_group'} and @{$self->{'group_stack'};}
1297 4 1 5 ref $class and not $class->isa('Graph::Easy::Group')
1298 6 0 4 not ref $class and defined $class
6 0 4 not ref $class and defined $class and $class eq 'node'
1317 0 1 1 $width >= 3 and $width < 5
1318 1 0 1 $width >= 5 and $width < 11
1444 1 2 3 $width >= 3 and $width < 5
1445 4 1 1 $width >= 5 and $width < 11
1841 21 236 2 $shape ne 'record' and $label =~ /^<\s*<.*>\z/
1859 236 6 15 $shape eq 'record' and $label =~ /\|/
1961 120 206 0 exists $na->{'autosplit_portname'} and exists $na->{'autosplit_basename'}
2005 10 0 0 $self->{'debug'} and $p
2013 10 0 0 $self->{'debug'} and $p

or 2 conditions

line l !l condition
856 39 0 $1 || ''
857 37 2 $2 || ''
904 6 0 $self->{'scope_stack'}[-1] || {}
905 0 6 $scope->{'edge'} || {}
984 0 179 $4 || ''
990 38 141 $5 || ''
1015 0 117 $4 || $5 || ''
1019 118 0 $self->{'scope_stack'}[-1] || {}
1022 25 93 $6 || ''
11 107 $scope->{'edge'} || {}
1256 3 0 $rankdir->{$dir} || 'east'
1313 2 0 $1 || 1
1354 1 0 $$port_remap{substr lc $compass, 0, 1} || 'east'
1368 1 0 $$port_remap{substr lc $compass, 0, 1} || 'east'
1441 6 0 $1 || 1
1489 3 0 'Graph::Easy'->color_value($color, $colorscheme) || 'black'
1638 0 3 $attr->{'colspan'} || 1
1641 0 3 $attr->{'rowspan'} || 1
1685 2 0 $1 || ''
1687 2 0 $1 || ''
1839 47 212 $n->{'att'}{'shape'} || 'rect'

or 3 conditions

line l !l&&r !l&&!r condition
1285 5 14 0 $shapes->{$s} || $s
1458 0 0 0 $shape eq 'normal' or $shape eq 'normalnormal'
1459 0 0 0 $shape eq 'vee' or $shape eq 'veevee'
1460 0 0 0 $shape eq 'none' or $shape eq 'nonenone'