Branch Coverage

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


line true false branch
59 128 0 if $length >= length $string
63 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)
66 0 1 unless $self->quiet
153 12 12 if "Code::Statistics::Metric::$metric"->is_insignificant
154 0 12 unless $$target_type{'list'} and @{$$target_type{'list'};}
155 0 12 unless exists $$target_type{'list'}[0]{$metric}
163 10 2 if $$metric_data{'avg'} and $$metric_data{'avg'} != 1
234 3 7 if @list < $self->table_length
241 3 4 if $bottom_size < $self->table_length