Branch Coverage

blib/lib/SVG/TT/Graph/TimeSeries.pm
Criterion Covered Total %
branch 29 52 55.7


line true false branch
475 0 2 unless defined $conf->{'data'} and ref $conf->{'data'} eq 'ARRAY'
478 1 1 unless (defined $self->{'data'})
490 4 2 if (ref $conf->{'data'}[$i] eq 'ARRAY') { }
501 0 6 if (not defined $time and $pair[0] =~ /^\w*(\d+:\d+:\d+)|(\d+:\d+)\w*$/)
506 0 6 unless defined $time
518 0 2 if ($self->{'config'}{'stacked'} and @{$self->{'data'};})
523 0 0 unless scalar @sorted == scalar @$prev
529 0 0 unless $sorted[$i][0] == $prev->[$i][0]
542 2 0 if defined $conf->{'title'}
567 0 0 if ($_TIME_ZONE)
582 0 1 if $] lt '5.008009'
588 1 1 if not defined $max_key_size or $max_key_size < length $dataset->{'title'}
591 6 0 if not defined $max_time or $max_time < $pair->[0]
592 1 5 if not defined $min_time or $min_time > $pair->[0]
593 3 3 if $pair->[1] ne '' and !defined($max_value) || $max_value < $pair->[1]
594 3 3 if $pair->[1] ne '' and !defined($min_value) || $min_value > $pair->[1]
597 1 5 if not defined $max_x_label_length or $max_x_label_length < length $x_label
608 0 1 $self->_is_valid_config('min_timescale_value') ? :
609 0 1 $self->_is_valid_config('max_timescale_value') ? :
613 1 0 $self->_is_valid_config('min_scale_value') ? :
614 0 1 $self->_is_valid_config('max_scale_value') ? :
619 0 1 if ($self->_is_valid_config('scale_divisions')) { }
622 0 0 if ($division >= 1) { }
634 1 0 unless ($self->_is_valid_config('max_scale_value'))
641 0 1 $self->_is_valid_config('y_label_format') ? :
642 0 1 $self->_is_valid_config('data_value_format') ? :