(n: Node)
| 2707 | const isTestPath = (p: string) => /(^|\/)(tests?|specs?|__tests__|testdata|mocks?|fixtures?)\//i.test(p) || /\.(test|spec)\.[a-z]+$/i.test(p); |
| 2708 | const bodyLines = (n: Node) => Math.max(0, (n.endLine ?? n.startLine) - n.startLine); |
| 2709 | const callerCount = (n: Node) => { try { return cg.getCallers(n.id).length; } catch { return 0; } }; |
| 2710 | const tokens = [...new Set( |
| 2711 | query.split(/[\s,()[\]]+/) |
| 2712 | .map((t) => t.replace(FILE_EXT, '').trim()) |
nothing calls this directly
no test coverage detected