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
935 37 0 0 $bg eq '' and ref $self->{'edge'}{'group'}
940 46 0 8 $bg ne 'inherit' and $bg ne ''
1007 1 0 1 $bs =~ /^double/ and $s =~ /^(square|diamond|circle|star)\z/
1059 0 3 54 $shape ne 'none' and not $self->isa('Graph::Easy::Group::Cell')
1597 33 0 0 $s > 1 and $class eq 'ah'
1610 30 0 0 exists $DEF->{$key} and $DEF->{$key} eq $att->{$key}
1951 38 0 0 $cross and $type == 1
2082 0 0 0 $h > 1 and $stype & 512

or 2 conditions

line l !l condition
427 124 4 $att->{'stroke-width'} || 1
608 29 0 $self->attribute('borderwidth') || 1
618 0 29 $strokes->{$bs} || ''
661 9 0 $self->color_attribute('color') || 'black'
792 58 0 $self->attribute('border-style') || 'dashed'
795 58 0 $strokes->{$style} || '3, 1'
58 0 $self->attribute('borderwidth') || 1
935 0 0 $self->{'edge'}{'group'}->default_attribute('fill') || '#a0d0ff'
1116 57 0 $self->color_attribute('color') || 'black'
1154 0 60 $sub ||= 0
1174 60 0 $self->attribute('border-style') || ''
1347 60 0 $self->attribute('border-style') || 'solid'
1348 60 0 $self->color_attribute('border-color') || 'black'
1366 60 0 $self->color_attribute('fill') || 'white'
1398 6 207 $att->{'rotate'} || 0
1436 106 0 $self->attribute('borderstyle') || ''
1588 30 3 $s ||= 0
1590 33 0 $self->attribute('arrow-style') || ''
1614 0 0 $self->color_attribute('background') || 'inherit'
1615 0 0 $self->{'graph'}->color_attribute('graph', 'background') || 'inherit'
1702 38 3 $lw ||= 1
1771 0 0 $lw ||= 1
1804 35 0 $dimensions->{$type} || [3, 3]
1867 37 0 $self->color_attribute('color') || 'black'
1886 37 0 $self->attribute('arrow-style') || ''
1923 0 37 $att->{'stroke-width'} || 1
1961 0 0 $strokes->{$style} || '1 0'
2021 0 37 $att->{'stroke-width'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
284 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'}
351 1 1 0 $$aligns[$i + 1] || substr($align, 0, 1)
681 56 1 33 ref $n eq 'Graph::Easy::Node' or ref $n eq 'Graph::Easy::Node::Anon'
1020 0 0 2 $s eq 'dot' or $ps eq 'filled'
2023 7 0 30 $arrow == 0 or $self->{'edge'}->undirected
2086 0 0 0 $stype & 256 or $stype & 1024
2093 0 0 0 $stype & 2048 or $stype & 512