(n: Node)
| 4747 | const isTestPath = (p: string) => /(^|\/)(tests?|specs?|__tests__|testdata|mocks?|fixtures?)\//i.test(p) || /\.(test|spec)\.[a-z]+$/i.test(p); |
| 4748 | const bodyLines = (n: Node) => Math.max(0, (n.endLine ?? n.startLine) - n.startLine); |
| 4749 | const callerCount = (n: Node) => { try { return cg.getCallers(n.id).length; } catch { return 0; } }; |
| 4750 | const tokens = exploreQueryTokens(matchQuery); |
| 4751 | // PascalCase tokens in the query are type/file disambiguators — when the |
| 4752 | // agent writes "DataRequest task validate", the `task`/`validate` it wants |
nothing calls this directly
no test coverage detected