Condition Coverage

lib/Graph/Easy/As_vcg.pm
Criterion Covered Total %
condition 21 41 51.2


and 3 conditions

line !l l&&!r l&&r condition
217 0 5 1 defined $class and $class ne ''
348 6 6 1 @out == 0 and (scalar $n->predecessors || 0) == 0
424 0 0 0 defined $a->{$name} and $a->{$name} ne 'inherit'
435 0 5 1 defined $class and $class ne ''
445 6 13 0 not $self->isa('Graph::Easy::Edge') and exists $a->{'label'}
13 0 0 not $self->isa('Graph::Easy::Edge') and exists $a->{'label'} and $a->{'label'} eq $self->{'name'}
473 6 13 0 $class =~ /node/ and $shape eq 'plaintext'
498 19 0 0 $root ne '' and $root eq $self->{'name'}

or 2 conditions

line l !l condition
130 2 0 $vcg_shapes->{$shape} || 'box'
158 4 0 $vcg_flow->{$style} || 'top_to_bottom'
348 6 1 scalar $n->predecessors || 0
472 2 17 $a->{'shape'} || 'rect'

or 3 conditions

line l !l&&r !l&&!r condition
195 0 0 6 $e->{'from'}->isa('Graph::Easy::Group') or $e->{'to'}->isa('Graph::Easy::Group')
408 0 0 19 $vcg_remap->{'always'}{$class} || $vcg_remap->{'always'}{$base_class}
416 0 0 0 ref $vcg_remap->{$base_class}{$name} or ref $vcg_remap->{'all'}{$name}