Branch Coverage

blib/lib/DBIx/Fast/Profiler.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
11 0 0 if @_
12 0 0 if @_
13 0 0 if @_
14 0 0 if @_
16 0 0 if @_
17 0 0 unless $enabled
30 0 0 if (@{$queries;} >= $max_queries)
36 0 0 if $auto_print
42 0 0 $query_info->{'duration'} >= $slow_query / 2 ? :
0 0 $query_info->{'duration'} >= $slow_query ? :
57 0 0 if (@{$query_info->{'params'};})
62 0 0 if ($query_info->{'duration'} >= $slow_query)
89 0 0 if (not defined $stats{$type}{'min_time'} or $query->{'duration'} < $stats{$type}{'min_time'})
95 0 0 if (not defined $stats{$type}{'max_time'} or $query->{'duration'} > $stats{$type}{'max_time'})
106 0 0 if $sql =~ /^\s*SELECT/iu
107 0 0 if $sql =~ /^\s*INSERT/iu
108 0 0 if $sql =~ /^\s*UPDATE/iu
109 0 0 if $sql =~ /^\s*DELETE/iu
110 0 0 if $sql =~ /^\s*CREATE/iu
111 0 0 if $sql =~ /^\s*ALTER/iu
112 0 0 if $sql =~ /^\s*DROP/iu
138 0 0 if $caller[0] =~ /^DBIx::Fast/u
158 0 0 unless @{$queries;}
167 0 0 if (not defined $stats->{'min_time'} or $query->{'duration'} < $stats->{'min_time'})
173 0 0 if ($query->{'duration'} > $stats->{'max_time'})
177 0 0 if $query->{'duration'} > $slow_query
192 0 0 if (not defined $type_stats->{'min_time'} or $query->{'duration'} < $type_stats->{'min_time'})
198 0 0 if ($query->{'duration'} > $type_stats->{'max_time'})
209 0 0 if ($total_elapsed > 0)
257 0 0 if $limit > scalar @sorted