Branch Coverage

lib/RTG/Report.pm
Criterion Covered Total %
branch 20 86 23.2


line true false branch
23 0 0 $report_units == 1000000000 ? :
0 0 $report_units == 1000000 ? :
0 0 $report_units == 1000 ? :
36 0 0 $report_units == 1000000000 ? :
0 0 $report_units == 1000000 ? :
0 0 $report_units == 1000 ? :
41 0 0 unless ($no_rates)
49 0 0 if ($utilization)
57 0 0 unless ($no_95th)
82 0 0 unless my(@rows) = $db->query($query)->hashes
83 0 0 if ($db_err)
84 0 0 if $debug
86 0 0 if $debug
101 0 0 if ($timestamp == $last_timestamp)
112 0 0 if ($last_timestamp == 0)
121 0 0 if ($rate_cur > $rate_peak)
125 0 0 if $debug
128 0 0 if ($num_rate_samples)
134 0 0 if ($num_rate_samples and $num_rate_samples != 0)
153 0 0 $bump ? :
159 0 0 unless ($RTG::Report::EVAL_ERROR)
182 0 6 unless defined $should_be_arrayref
186 5 0 if ($$should_be_arrayref[0])
187 0 5 if $debug
190 1 5 $@ ? :
201 2 0 if ($skip_desc)
202 2 0 if ($self->is_arrayref($skip_desc)) { }
204 0 2 if $desc eq 'blank' and $if_desc eq ''
205 0 2 if $desc eq $if_desc
209 0 0 if $skip_desc eq 'blank' and $if_desc eq ''
210 0 0 if $skip_desc eq $if_desc
214 2 0 if ($skip_name)
215 2 0 if ($self->is_arrayref($skip_name)) { }
217 0 3 if $name eq 'blank' and $if_name eq ''
218 1 2 if $if_name =~ /$name/i
222 0 0 if $skip_name eq 'blank' and $if_name eq ''
223 0 0 if $skip_name eq $if_name
232 0 1 if ($debug)
234 0 0 unless $nocr
236 0 1 $nocr ? :
244 1 1 if ($last_timestamp > $timestamp)
250 0 1 if ($timestamp - $last_timestamp < 0)
254 0 1 if ($counter < 0)