Commit 949d663
Your Name
feat(store): Route→Function resolution + relaxed process detection
Two fixes to dramatically increase detected execution flows:
1. Route→Function resolution (step 1b): Route nodes have 0 outgoing edges
(only incoming HANDLES from Module nodes), so BFS from Routes went nowhere.
Now resolves each Route entry point through the HANDLES edge to find the
Module, then looks up Functions in the same file — those become the real
BFS starting points. This connects HTTP API routes to their handler logic.
2. Relaxed cross-community requirement: previously, flows were only created
when BFS crossed a Louvain community boundary. Now flows with ≥3 steps are
kept even within a single community, picking the deepest non-generic node
as terminal. This catches Express-style flat patterns (route → controller →
storage → db) that stay within one community.
Results:
- Express monorepo: 4 → 61 flows (route handlers now visible)
- C# service: 69 → 78 flows (+9 intra-community flows)
- JS service: 65 → 70 flows (+5 intra-community flows)
- TS monolith: 300 (capped, no change)1 parent 309780d commit 949d663
1 file changed
Lines changed: 79 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4647 | 4647 | | |
4648 | 4648 | | |
4649 | 4649 | | |
| 4650 | + | |
| 4651 | + | |
| 4652 | + | |
| 4653 | + | |
| 4654 | + | |
| 4655 | + | |
| 4656 | + | |
| 4657 | + | |
| 4658 | + | |
| 4659 | + | |
| 4660 | + | |
| 4661 | + | |
| 4662 | + | |
| 4663 | + | |
| 4664 | + | |
| 4665 | + | |
| 4666 | + | |
| 4667 | + | |
| 4668 | + | |
| 4669 | + | |
| 4670 | + | |
| 4671 | + | |
| 4672 | + | |
| 4673 | + | |
| 4674 | + | |
| 4675 | + | |
| 4676 | + | |
| 4677 | + | |
| 4678 | + | |
| 4679 | + | |
| 4680 | + | |
| 4681 | + | |
| 4682 | + | |
| 4683 | + | |
| 4684 | + | |
| 4685 | + | |
| 4686 | + | |
| 4687 | + | |
| 4688 | + | |
| 4689 | + | |
| 4690 | + | |
| 4691 | + | |
| 4692 | + | |
| 4693 | + | |
| 4694 | + | |
| 4695 | + | |
| 4696 | + | |
| 4697 | + | |
| 4698 | + | |
| 4699 | + | |
| 4700 | + | |
| 4701 | + | |
| 4702 | + | |
| 4703 | + | |
4650 | 4704 | | |
4651 | 4705 | | |
4652 | 4706 | | |
| |||
4815 | 4869 | | |
4816 | 4870 | | |
4817 | 4871 | | |
| 4872 | + | |
| 4873 | + | |
| 4874 | + | |
| 4875 | + | |
4818 | 4876 | | |
4819 | | - | |
4820 | | - | |
| 4877 | + | |
| 4878 | + | |
| 4879 | + | |
| 4880 | + | |
| 4881 | + | |
| 4882 | + | |
| 4883 | + | |
| 4884 | + | |
| 4885 | + | |
| 4886 | + | |
| 4887 | + | |
| 4888 | + | |
| 4889 | + | |
| 4890 | + | |
| 4891 | + | |
| 4892 | + | |
| 4893 | + | |
| 4894 | + | |
| 4895 | + | |
| 4896 | + | |
| 4897 | + | |
4821 | 4898 | | |
4822 | 4899 | | |
4823 | 4900 | | |
| |||
0 commit comments