blib/lib/SVG/Graph/Kit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 56 | 46.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
64 | 0 | 0 | 0 | exists $args{'axis'} and $args{'axis'} |
97 | 1 | 1 | 0 | $data and $$self{'graph_data'}->xmax - $$self{'graph_data'}->xmin > $axis{'xticks'} |
101 | 1 | 1 | 0 | $data and $$self{'graph_data'}->ymax - $$self{'graph_data'}->ymin > $axis{'yticks'} |
115 | 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'} | |
124 | 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'} |
line | l | !l | condition |
---|---|---|---|
31 | 0 | 2 | $args{'width'} ||= 600 |
32 | 0 | 2 | $args{'height'} ||= 600 |
33 | 0 | 2 | $args{'margin'} ||= 35 |
54 | 0 | 1 | $args{'plot'}{'stroke'} || 'red' |
0 | 1 | $args{'plot'}{'fill'} || 'red' | |
0 | 1 | $args{'plot'}{'fill-opacity'} || 0.5 | |
59 | 0 | 1 | $args{'plot'}{'type'} ||= 'scatter' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
64 | 2 | 0 | 0 | not exists $args{'axis'} or exists $args{'axis'} and $args{'axis'} |
88 | 0 | 2 | 0 | $axis{'xticks'} ||= $axis{'ticks'} |
89 | 0 | 2 | 0 | $axis{'yticks'} ||= $axis{'ticks'} |
92 | 0 | 0 | 2 | $axis{'xlog'} ||= $axis{'log'} |
93 | 0 | 0 | 2 | $axis{'ylog'} ||= $axis{'log'} |
107 | 0 | 0 | 2 | defined $axis{'x_absolute_ticks'} or defined $axis{'x_fractional_ticks'} |
110 | 0 | 0 | 2 | defined $axis{'y_absolute_ticks'} or defined $axis{'y_fractional_ticks'} |