Branch Coverage

blib/lib/CHI/Stats.pm
Criterion Covered Total %
branch 3 22 13.6


line true false branch
26 2 0 if (%$namespace_stats)
45 4 19 /_ms$/ ? :
77 0 0 if (ref $log_file) { }
81 0 0 unless open $logfh, '<', $log_file
86 0 0 if (my($json) = $line =~ /CHI stats: (\{.*\})$/)
93 0 0 unless (%$results_set)
100 0 0 if $key =~ /_time$/
111 0 0 if (grep {$$rs{$_};} @fields)
112 0 0 unless $$rs{$_}
122 0 0 unless $$_{$field}
128 0 0 if ($$rs{$top} and $$rs{$bottom})