Branch Coverage

blib/lib/MySQL/SlowLog/Filter.pm
Criterion Covered Total %
branch 11 62 17.7


line true false branch
37 0 0 scalar @_ == 1 ? :
58 0 0 if ($incremental)
66 0 0 unless $line
68 0 0 if ($line =~ /^\# /) { }
0 0 elsif ($in_query) { }
69 0 0 if ($query)
70 0 0 if ($in_query)
78 0 0 if ($line =~ /^\# T/) { }
0 0 elsif ($timestamp and $line =~ /^\# U/) { }
0 0 elsif ($in_query and $line =~ /^\# Q/) { }
81 0 0 if ($t < $date_first or $t > $date_last)
89 0 0 if (not scalar @$include_hosts) { }
92 0 0 if ($host =~ /$eh/)
100 0 0 if ($host =~ /$ih/)
106 0 0 unless $in_query
108 0 0 if (not scalar @$include_users) { }
111 0 0 if ($user =~ /$eu/)
119 0 0 if ($user =~ /$iu/)
132 0 0 if /(\d+)/
134 0 0 $query_time[0] >= $min_query_time || $min_rows_examined && $query_time[3] >= $min_rows_examined ? :
141 0 0 if ($query)
152 0 0 if ($no_duplicates) { }
155 0 0 $^O eq 'darwin' ? :
0 0 $^O eq 'MSWin32' ? :
165 1 8 unless $date
181 0 8 unless scalar @parts
184 3 5 if ($date =~ /^([\>\<\-])/) { }
3 2 elsif (scalar @parts > 1) { }
185 2 1 if ($1 eq '<' or $1 eq '-') { }
193 3 0 if $parts[1] ne '-'
214 0 14 if $@