Expand description
The Python static scan: an ast-walker executed out-of-process via
python3 -.
Parsing Python with Python’s own ast is exact where a regex would guess:
it sees real imports and string-literal constants with true line numbers.
The walker script is embedded and fed on stdin; it prints one JSON object.
If python3 is absent the pass yields nothing and reports
available= false so the caller can say so out loud
rather than silently under-reporting coverage.
Structs§
- PyScan
- The Python pass result.
Functions§
- scan
- Run the walker over
project. A missingpython3, or a walker that fails, yields an empty unavailable result — never a panic.