Condition Coverage

blib/lib/Imager/Graph/Vertical.pm
Criterion Covered Total %
condition 47 78 60.2


and 2 conditions

line l !l condition
567 10 2 $$style{'features'}{'legend'} and scalar @labels

and 3 conditions

line !l l&&!r l&&r condition
348 12 0 0 defined $config_max and $config_max < $max_value
351 12 0 0 defined $config_min and $config_min > $min_value
363 12 0 0 $range_padding and $min_value < 0
365 0 0 0 $min_value < -1 and $difference > -1
375 12 0 0 $range_padding and $max_value > 0
377 0 0 0 $max_value > 1 and $difference < 1
1288 5 1 9 $show_gridlines and $y1 != $$graph_box[1]
6 1 8 $show_gridlines and $y1 != $$graph_box[1] and $y1 != $$graph_box[3]
1373 0 12 0 defined $self->_get_data_series and keys %{$self->_get_data_series;}
1378 7 5 0 defined $$data{'line'} and not scalar @{$$data{'line'}[0]{'data'};}
1381 9 3 0 defined $$data{'column'} and not scalar @{$$data{'column'}[0]{'data'};}
1384 10 2 0 defined $$data{'stacked_column'} and not scalar @{$$data{'stacked_column'}[0]{'data'};}

or 2 conditions

line l !l condition
527 4 14 $max_entries[$i] || 0
532 0 3 $min_entries[$i] || 0
597 0 5 $self->_get_series_counter || 0
704 0 2 $self->_get_series_counter || 0
795 0 3 $self->_get_series_counter || 0
797 0 3 $self->_get_number('column_padding') || 0
877 1 1 $self->_get_number('column_padding') || 0
893 0 2 $self->_get_series_counter || 0
938 4 12 $$self{'graph_data'} || {}
940 4 12 $$graph_data{$series_type} || []
988 0 0 $$self{'custom_style'}{'hgrid'} ||= {}
1138 8 30 $_[0]{'y_tics'} || 0
1145 2 10 $self->_get_y_tic_width || 10
1149 5 7 $self->_get_x_tic_height($opts) || 10

or 3 conditions

line l !l&&r !l&&!r condition
599 0 0 5 defined $self->_get_data_series->{'column'} || $self->_get_data_series->{'stacked_column'}
1197 0 3 12 $interval < 1 or $value != int $value
1270 0 3 12 $interval < 1 or $value != int $value
1309 3 2 7 defined $self->_get_data_series->{'column'} || defined $self->_get_data_series->{'stacked_column'}