blib/lib/Imager/Graph/Horizontal.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 59 | 33.9 |
line | l | !l | condition |
---|---|---|---|
400 | 6 | 0 | $$style{'features'}{'legend'} and scalar @labels |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
254 | 6 | 0 | 0 | defined $config_max and $config_max < $max_value |
257 | 6 | 0 | 0 | defined $config_min and $config_min > $min_value |
269 | 6 | 0 | 0 | $range_padding and $min_value < 0 |
271 | 0 | 0 | 0 | $min_value < -1 and $difference > -1 |
281 | 6 | 0 | 0 | $range_padding and $max_value > 0 |
283 | 0 | 0 | 0 | $max_value > 1 and $difference < 1 |
854 | 0 | 0 | 0 | $show_gridlines and $x1 != $$graph_box[0] |
0 | 0 | 0 | $show_gridlines and $x1 != $$graph_box[0] and $x1 != $$graph_box[2] | |
866 | 0 | 6 | 0 | defined $self->_get_data_series and keys %{$self->_get_data_series;} |
871 | 5 | 1 | 0 | defined $$data{'line'} and not scalar @{$$data{'line'}[0]{'data'};} |
874 | 6 | 0 | 0 | defined $$data{'column'} and not scalar @{$$data{'column'}[0]{'data'};} |
877 | 6 | 0 | 0 | defined $$data{'stacked_column'} and not scalar @{$$data{'stacked_column'}[0]{'data'};} |
line | l | !l | condition |
---|---|---|---|
430 | 0 | 1 | $self->_get_series_counter || 0 |
523 | 0 | 5 | $self->_get_series_counter || 0 |
525 | 0 | 5 | $self->_get_number('column_padding') || 0 |
581 | 0 | 6 | $$self{'graph_data'} || {} |
583 | 0 | 6 | $$graph_data{$series_type} || [] |
616 | 0 | 0 | $$self{'custom_style'}{'vgrid'} ||= {} |
671 | 0 | 18 | $_[0]{'x_tics'} || 0 |
678 | 4 | 2 | $self->_get_y_tic_width($opts) || 10 |
682 | 0 | 6 | $self->_get_x_tic_height || 10 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
432 | 0 | 0 | 1 | defined $self->_get_data_series->{'column'} || $self->_get_data_series->{'stacked_column'} |