Condition Coverage

blib/lib/SVG/Template/Graph.pm
Criterion Covered Total %
condition 9 89 10.1


or 2 conditions

line l !l condition
242 18 0 shift() || 'abc'
243 1 17 shift() || 'group'
451 0 0 shift() || ''
746 0 0 $$f{'labels'}{'y_ticks'}{'position'} || []
747 0 0 $$f{'labels'}{'x_ticks'}{'position'} || []
750 0 0 $$f{'labels'}{'x_ticks'}{'unit'} || ''
751 0 0 $$f{'labels'}{'y_ticks'}{'unit'} || ''
754 0 0 $$f{'labels'}{'y_ticks'}{'label'} || []
755 0 0 $$f{'labels'}{'x_ticks'}{'label'} || []
758 0 0 scalar @{$$self{'grid'}{'y_p'};} || 0
759 0 0 scalar @{$$self{'grid'}{'x_p'};} || 0
849 0 0 shift() || 'x'
887 0 0 shift() || 'x'
1071 1 0 shift() || 'rect'
1153 0 0 shift() || 'sprintf'
1154 0 0 shift() || '%.3f'

or 3 conditions

line l !l&&r !l&&!r condition
128 0 7 0 ref $proto || $proto
246 18 0 0 $self->D || confess('E1000: Supplied SVG input not properly parsed!!')
286 17 0 0 $tg->text(%attrs) || carp("Failed to generate an Axis text element within group '${id}'.")
394 0 0 0 $self->D->getElementByID($id) || croak("Could not find rectangle with id='${id}'")
453 0 0 0 $o eq 'x' or $o eq 'y'
0 0 0 not $o or ($o eq 'x' or $o eq 'y')
607 0 0 0 $type eq 'polyline' or $type eq 'polygon'
0 0 0 $type eq 'polyline' or $type eq 'polygon' or $type eq 'scatter'
627 0 0 0 $self->_gg($id_string) || confess("Failed to find required element \n\t\t\t\t\tid '${id_string}'")
660 0 0 0 $self->_gg("group.trace.data.$ti") || confess("Failed to find required element id group.trace.data.$ti")
719 0 0 0 $self->_gg($gid) || confess("Failed to find required element ID '${gid}'")
722 0 0 0 $self->_gg($gid) || confess("Failed to find required element ID '${gid}'")
726 0 0 0 $self->_gg($gid) || confess("Failed to find required element ID '${gid}'")
729 0 0 0 $self->_gg($gid) || confess("Failed to find required element ID '${gid}'")
733 0 0 0 $self->_gg($gid) || confess("Failed to find required element ID '${gid}'")
735 0 0 0 $self->_gg($gid) || confess("Failed to find required element ID '${gid}'")
810 0 0 0 $o eq 'x' or $o eq 'y'
1070 1 0 0 shift() || $self->mapTemplateId('rectangle.graph.data.space')
1193 17 0 0 $$self{'_IDMap_'}{$myid} || $myid