MCPcopy Create free account
hub / github.com/python/cpython / cmd_analyze

Function cmd_analyze

Tools/c-analyzer/cpython/__main__.py:180–192  ·  view source on GitHub ↗
(filenames=None, **kwargs)

Source from the content-addressed store, hash-verified

178
179
180def cmd_analyze(filenames=None, **kwargs):
181 formats = dict(c_analyzer.FORMATS)
182 formats['summary'] = fmt_summary
183 filenames = _resolve_filenames(filenames)
184 kwargs['get_file_preprocessor'] = _parser.get_preprocessor(log_err=print)
185 c_analyzer.cmd_analyze(
186 filenames,
187 relroot=REPO_ROOT,
188 _analyze=_analyzer.analyze,
189 formats=formats,
190 file_maxsizes=_parser.MAX_SIZES,
191 **kwargs
192 )
193
194
195def _cli_data(parser):

Callers

nothing calls this directly

Calls 1

_resolve_filenamesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…