blib/lib/SVG/Graph/Kit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 50 | 36.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
64 | 0 | 0 | 0 | exists $args{'axis'} and $args{'axis'} |
92 | 0 | 1 | 0 | $data and $self->{'graph_data'}->xmax - $self->{'graph_data'}->xmin > $axis{'xticks'} |
96 | 0 | 1 | 0 | $data and $self->{'graph_data'}->ymax - $self->{'graph_data'}->ymin > $axis{'yticks'} |
110 | 0 | 0 | 1 | $data and not defined $axis{'x_tick_labels'} |
0 | 0 | 1 | $data and not defined $axis{'x_tick_labels'} and not defined $axis{'x_intertick_labels'} | |
121 | 0 | 0 | 1 | $data and not defined $axis{'y_tick_labels'} |
0 | 0 | 1 | $data and not defined $axis{'y_tick_labels'} and not defined $axis{'y_intertick_labels'} |
line | l | !l | condition |
---|---|---|---|
31 | 0 | 1 | $args{'width'} ||= 600 |
32 | 0 | 1 | $args{'height'} ||= 600 |
33 | 0 | 1 | $args{'margin'} ||= 35 |
57 | 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 | 1 | 0 | 0 | not exists $args{'axis'} or exists $args{'axis'} and $args{'axis'} |
87 | 0 | 1 | 0 | $axis{'xticks'} ||= $axis{'ticks'} |
88 | 0 | 1 | 0 | $axis{'yticks'} ||= $axis{'ticks'} |
102 | 0 | 0 | 1 | defined $axis{'x_absolute_ticks'} or defined $axis{'x_fractional_ticks'} |
105 | 0 | 0 | 1 | defined $axis{'y_absolute_ticks'} or defined $axis{'y_fractional_ticks'} |