main (scripts/mutate.py)¶
Overview · 7 steps, 1 lane
All 7 steps
| # | caller | callee | what it does | frames | call site |
|---|---|---|---|---|---|
| 1 | main | require_clean | Refuse to run on a dirty tree. | — | scripts/mutate.py:125 |
| 2 | main | run_test | Run one test selector and report whether it passed. | — | scripts/mutate.py:128 |
| 3 | run_test | purge_cache | Delete every pycache under the repository. | — | scripts/mutate.py:52 |
| 4 | run_test | purge_cache | Delete every pycache under the repository. | — | scripts/mutate.py:60 |
| 5 | main | mutate | Apply one substitution, run one test, restore the file. | — | scripts/mutate.py:130 |
| 6 | mutate | run_test | Run one test selector and report whether it passed. | try (line 103) | scripts/mutate.py:103 |
| 7 | mutate | purge_cache | Delete every pycache under the repository. | finally (line 104) | scripts/mutate.py:106 |
Functions¶
5 functions
mainscripts/mutate.pymutatescripts/mutate.pypurge_cachescripts/mutate.pyrequire_cleanscripts/mutate.pyrun_testscripts/mutate.py
This diagram as Mermaid · PlantUML · Graphviz DOT
Quick views¶
5 functions, each with its quick view
- main
CLI.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/mutate.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- mutate
Apply one substitution, run one test, restore the file.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/mutate.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- purge_cache
Delete every pycache under the repository.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/mutate.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- require_clean
Refuse to run on a dirty tree.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/mutate.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.
- run_test
Run one test selector and report whether it passed.
Map
Show it on the map, in its block's wedge.
Block
Tooling: scripts is the block holding
scripts/mutate.py.Flow
Replay
No recorded run reaches this function.
Source
Its page: signature, body, callers and callees. Its activity diagram.
Tests
No test calls this function directly.
Reqs
No requirement names this function as an implementer.