Condition Coverage

blib/lib/SVG/Graph/Kit.pm
Criterion Covered Total %
condition 26 56 46.4


and 3 conditions

line !l l&&!r l&&r condition
63 0 0 0 exists $args{'axis'} and $args{'axis'}
96 1 1 0 $data and $self->{'graph_data'}->xmax - $self->{'graph_data'}->xmin > $axis{'xticks'}
100 1 1 0 $data and $self->{'graph_data'}->ymax - $self->{'graph_data'}->ymin > $axis{'yticks'}
114 1 0 1 $data and not defined $axis{'x_tick_labels'}
1 0 1 $data and not defined $axis{'x_tick_labels'} and not defined $axis{'x_intertick_labels'}
123 1 0 1 $data and not defined $axis{'y_tick_labels'}
1 0 1 $data and not defined $axis{'y_tick_labels'} and not defined $axis{'y_intertick_labels'}

or 2 conditions

line l !l condition
30 0 2 $args{'width'} ||= 600
31 0 2 $args{'height'} ||= 600
32 0 2 $args{'margin'} ||= 35
56 0 1 $args{'plot'}{'stroke'} || 'red'
0 1 $args{'plot'}{'fill'} || 'red'
0 1 $args{'plot'}{'fill-opacity'} || 0.5
58 0 1 $args{'plot'}{'type'} ||= 'scatter'

or 3 conditions

line l !l&&r !l&&!r condition
63 2 0 0 not exists $args{'axis'} or exists $args{'axis'} and $args{'axis'}
87 0 2 0 $axis{'xticks'} ||= $axis{'ticks'}
88 0 2 0 $axis{'yticks'} ||= $axis{'ticks'}
91 0 0 2 $axis{'xlog'} ||= $axis{'log'}
92 0 0 2 $axis{'ylog'} ||= $axis{'log'}
106 0 0 2 defined $axis{'x_absolute_ticks'} or defined $axis{'x_fractional_ticks'}
109 0 0 2 defined $axis{'y_absolute_ticks'} or defined $axis{'y_fractional_ticks'}