MCPcopy Create free account
hub / github.com/anse1/sqlsmith / matched

Function matched

impedance.cc:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41namespace impedance {
42
43bool matched(const char *name)
44{
45 if (100 > occurances_in_failed_query[name])
46 return true;
47 double error_rate = (double)occurances_in_failed_query[name]
48 / (occurances_in_failed_query[name] + occurances_in_ok_query[name]);
49 if (error_rate > 0.99)
50 return false;
51 return true;
52}
53
54void report()
55{

Callers 3

reportFunction · 0.70
from_clauseMethod · 0.70
matchMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected