Branch Coverage

lib/Code/Statistics/Reporter.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
56 128 0 if $length >= length $string
60 0 1 unless $tt->process($tmpl, {'targets', $stats->{'target_types'}, 'truncate_front', sub { my($string, $length) = @_; return $string if $length >= length $string; return substr($string, 0 - $length, $length); } }, \$output)
63 0 1 unless $self->quiet
154 12 12 if "Code::Statistics::Metric::$metric"->is_insignificant
155 0 12 unless $target_type->{'list'} and @{$target_type->{'list'};}
156 0 12 unless exists $$target_type{'list'}[0]{$metric}
164 10 2 if $metric_data->{'avg'} and $metric_data->{'avg'} != 1
235 3 7 if @list < $self->table_length
242 3 4 if $bottom_size < $self->table_length