Condition Coverage

lib/Graph/Easy/As_svg.pm
Criterion Covered Total %
condition 50 109 45.8


and 2 conditions

line l !l condition
122 0 104 push @rc, undef and next

and 3 conditions

line !l l&&!r l&&r condition
942 37 0 0 $bg eq '' and ref $self->{'edge'}{'group'}
947 46 0 8 $bg ne 'inherit' and $bg ne ''
1014 1 0 1 $bs =~ /^double/ and $s =~ /^(square|diamond|circle|star)\z/
1066 0 3 54 $shape ne 'none' and not $self->isa('Graph::Easy::Group::Cell')
1605 33 0 0 $s > 1 and $class eq 'ah'
1618 30 0 0 exists $DEF->{$key} and $DEF->{$key} eq $att->{$key}
1959 38 0 0 $cross and $type == 1
2090 0 0 0 $h > 1 and $stype & 512

or 2 conditions

line l !l condition
428 124 4 $att->{'stroke-width'} || 1
609 29 0 $self->attribute('borderwidth') || 1
619 0 29 $strokes->{$bs} || ''
662 9 0 $self->color_attribute('color') || 'black'
795 58 0 $self->attribute('border-style') || 'dashed'
798 58 0 $strokes->{$style} || '3, 1'
58 0 $self->attribute('borderwidth') || 1
942 0 0 $self->{'edge'}{'group'}->default_attribute('fill') || '#a0d0ff'
1123 57 0 $self->color_attribute('color') || 'black'
1161 0 60 $sub ||= 0
1181 60 0 $self->attribute('border-style') || ''
1354 60 0 $self->attribute('border-style') || 'solid'
1355 60 0 $self->color_attribute('border-color') || 'black'
1373 60 0 $self->color_attribute('fill') || 'white'
1405 6 207 $att->{'rotate'} || 0
1443 106 0 $self->attribute('borderstyle') || ''
1596 30 3 $s ||= 0
1598 33 0 $self->attribute('arrow-style') || ''
1622 0 0 $self->color_attribute('background') || 'inherit'
1623 0 0 $self->{'graph'}->color_attribute('graph', 'background') || 'inherit'
1710 38 3 $lw ||= 1
1779 0 0 $lw ||= 1
1812 35 0 $dimensions->{$type} || [3, 3]
1875 37 0 $self->color_attribute('color') || 'black'
1894 37 0 $self->attribute('arrow-style') || ''
1931 0 37 $att->{'stroke-width'} || 1
1969 0 0 $strokes->{$style} || '1 0'
2029 0 37 $att->{'stroke-width'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
285 12 0 67 $ts->{'underline'} or $ts->{'none'}
0 0 67 $ts->{'underline'} or $ts->{'none'} or $ts->{'overline'}
0 0 67 $ts->{'underline'} or $ts->{'none'} or $ts->{'overline'} or $ts->{'line-through'}
352 1 1 0 $$aligns[$i + 1] || substr($align, 0, 1)
682 56 1 33 ref $n eq 'Graph::Easy::Node' or ref $n eq 'Graph::Easy::Node::Anon'
1027 0 0 2 $s eq 'dot' or $ps eq 'filled'
2031 7 0 30 $arrow == 0 or $self->{'edge'}->undirected
2094 0 0 0 $stype & 256 or $stype & 1024
2101 0 0 0 $stype & 2048 or $stype & 512