MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / executed_functions

Function executed_functions

scripts/test-impact/coverage-map.py:70–82  ·  view source on GitHub ↗

Names of the functions `profile` counted at least once, or None when the profile cannot be read.

(profdata, profile)

Source from the content-addressed store, hash-verified

68
69
70def executed_functions(profdata, profile):
71 """Names of the functions `profile` counted at least once, or None when the
72 profile cannot be read."""
73 proc = subprocess.run([profdata, "show", "--all-functions", "--value-cutoff=1", profile],
74 capture_output=True, text=True)
75 if proc.returncode != 0:
76 return None
77 names = set()
78 for line in proc.stdout.splitlines():
79 match = FUNCTION_LINE.match(line)
80 if match:
81 names.add(match.group("name"))
82 return names
83
84
85def source_table(llvm_cov, profdata_tool, runner, profile, root, work):

Callers 1

reduce_suiteFunction · 0.85

Calls 2

setFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected