@callidescope/graph

中文文档
0.0.73发布于 2026/11/09MITTypeScriptES Module构建来源已验证近 30 天下载 9935

TypeScript AST call-graph builder and call-stack depth and breadth traversal engine for Callidescope

原始使用文档
文档目录18 节
  1. What This Package Owns
  2. Test
  3. 👔 Conformetry
  4. 🔭 Callidescope
  5. Limits
  6. Call stacks (depth)
  7. Breadth
  8. 🕸️ Codependix
  9. Nx Neighborhood
  10. NestJS Module Graph
  11. File Imports
  12. ⏲️ Codometer
  13. Project
  14. Measured Targets
  15. TypeScript
  16. JavaScript
  17. Python
  18. JSON

🔭 Callidescope Graph

npm

Builds the call graph from traced TypeScript source and measures its depth and breadth.

This package is the leaf of the @callidescope/cli package graph: it depends only on @callidescope/configuration and @codebase/observability, and nothing here reaches into @callidescope/output.

npm install --save-dev @callidescope/graph

What This Package Owns

  • program — compiles the traced TypeScript projects
  • workspace — resolves which projects and files are in scope
  • callables — discovers the callable declarations
  • entry-points — resolves configured entry points
  • class-hierarchy — resolves interface members to concrete implementations, capped by MAXIMUM_IMPLEMENTATION_CANDIDATES
  • signatures — reads callable signatures
  • documentation — reads a callable's documentation comment
  • edges — resolves call sites to callee declarations
  • graph — assembles the above into CallGraph/CondensedGraph and measures depth and breadth over it

Test

nx run callidescope-graph:vitest

👔 Conformetry

This project was generated from the nestjs-service-project conformetry template.

🔭 Callidescope

Call stacks traced through projects/ic-suite/callidescope/callidescope-graph, deepest first. Each frame shows what it takes, what it returns, and what its documentation says.

MeasureValue
Callables209
Files64
Calls traced201
Call stacks4
Deepest stack5
Stacks through recursion0
Unfollowable calls6

Limits

What this project is judged against, as declared in its own callidescope.config.ts.

LimitValue
maximumDepth11
maximumBreadth9

Call stacks (depth)

1. ProgramService.resolveProjectFiles — depth ≥ 5 · orphan-root

🚀 ProgramService.resolveProjectFiles(project: WorkspaceProject): readonly string[] [projects/ic-suite/callidescope/callidescope-graph/src/modules/program/program.service.ts:262]
  └─> ProgramService.buildProgram(args: { project: WorkspaceProject; workspaceRoot: string; }): ProjectProgram [projects/ic-suite/callidescope/callidescope-graph/src/modules/program/program.service.ts:115]
     ↳ Builds one project's program, checker, and owned-file set.
    └─> CompilerHostService.createHost(args: { options: ts.CompilerOptions; workspaceRoot: string; }): ts.CompilerHost [projects/ic-suite/callidescope/callidescope-graph/src/modules/program/compiler-host.service.ts:119]
       ↳ Creates a compiler host that reuses already-parsed source files. `setParentNodes` is on because the rest of the package…
      └─> CompilerHostService.resolveModuleCache(options: ts.CompilerOptions, workspaceRoot: string): ts.ModuleResolutionCache [projects/ic-suite/callidescope/callidescope-graph/src/modules/program/compiler-host.service.ts:79]
         ↳ Returns the module resolution cache for one working directory.
        └─> CompilerHostService.createModuleResolutionCache(…)(fileName: string): string [projects/ic-suite/callidescope/callidescope-graph/src/modules/program/compiler-host.service.ts:91]

2. CallablesService.visit — depth 5 · orphan-root

🚀 CallablesService.visit(node: ts.Node): void [projects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callables.service.ts:49]
  └─> CallablesService.describe(args: DescribeCallableArguments): DiscoveredCallable [projects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callables.service.ts:122]
     ↳ Turns one declaration into a fully described node.
    └─> CallableIdentityService.readDisplayName(declaration: CallableDeclaration): string [projects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callable-identity.service.ts:131]
       ↳ Builds the qualified name a report prints for a callable.
      └─> CallableIdentityService.readMemberName(declaration: CallableDeclaration): string [projects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callable-identity.service.ts:193]
         ↳ Reads the member name, falling back to the shape it was written in.
        └─> CallableIdentityService.readBindingName(node: ts.Node): string | undefined [projects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callable-identity.service.ts:50]
           ↳ Reads the name a property, variable, or parameter declaration binds.

3. FileFilterService.isExcluded — depth ≥ 4 · orphan-root

🚀 FileFilterService.isExcluded(workspaceRelativePath: string): boolean [projects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/file-filter.service.ts:206]
  └─> FileFilterService.isExcludedByOwningProject(…): boolean [projects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/file-filter.service.ts:60]
     ↳ True when the project owning a file excludes it with a glob of its own.
    └─> WorkspaceService.resolveOwningProject(…): WorkspaceProject | undefined [projects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/workspace.service.ts:271]
       ↳ Names the traced project whose root most narrowly contains a file. "Contains" means the deepest of `args.projects`…
      └─> WorkspaceService.isContainedByRoot(args: { root: string; workspaceRelativePath: string; }): boolean [projects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/workspace.service.ts:115]
         ↳ True when a project's root is a path-segment prefix of a file's path.
1 more call stacks

4. FileFilterService.isExcluded — depth 2 · orphan-root

🚀 FileFilterService.isExcluded(workspaceRelativePath: string): boolean [projects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/file-filter.service.ts:161]
  └─> FileFilterService.some(…)(glob: string): boolean [projects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/file-filter.service.ts:163]

Breadth

CallableBreadthCalls directlyLocation
CallablesService.describe8CallableIdentityService.readDisplayName, CallableIdentityService.readEnclosingTypeName, CallableIdentityService.buildId, CallableIdentityService.isExported, CallableIdentityService.readKind, CallableIdentityService.readLocation, CallableIdentityService.readMemberName, CallableIdentityService.countStatementsprojects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callables.service.ts:122
EdgesService.buildSiteEdges7EdgesService.collectCallbackEdges, EdgesService.resolveSite, EdgesService.filter(…), EdgesService.filter(…), EdgesService.map(…), EdgesService.filter(…), EdgesService.readLocationprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:59
SymbolResolutionService.resolveSymbol6SymbolResolutionService.unwrapAlias, SymbolResolutionService.every(…), SymbolResolutionService.readBodied, SymbolResolutionService.readResolution, SymbolResolutionService.find(…), SymbolResolutionService.resolveThroughHierarchyprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:165
96 more callables
CallableBreadthCalls directlyLocation
WorkspaceService.discoverProjects5WorkspaceService.map(…), WorkspaceService.findAllProjectDirectories, WorkspaceService.isExcludedProject, ProgramConfigurationError.constructor, WorkspaceService.toSorted(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/workspace.service.ts:186
ProgramService.assignOwnership5ProgramService.toRealPath, ProgramService.map(…), WorkspaceService.toWorkspaceRelative, WorkspaceService.resolveOwningProject, ProgramService.find(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/program/program.service.ts:64
EntriesService.resolve5EntriesService.toRules, EntriesService.map(…), EntriesService.classifyEveryCallable, EntriesService.rootDeclaredAddresses, EntriesService.promoteOrphansprojects/ic-suite/callidescope/callidescope-graph/src/modules/entries/entries.service.ts:312
GraphAssemblyService.assemble5GraphService.assemble, EdgesService.build, ComponentsService.condense, BreadthService.measure, GraphDepthService.measureprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph-assembly.service.ts:43
AddressService.resolve4AddressService.parseAddress, AddressService.describeInvalidAddress, AddressService.findMatches, AddressService.toCandidatesprojects/ic-suite/callidescope/callidescope-graph/src/modules/callables/address.service.ts:235
ClassesService.resolveImplementations4ClassesService.collectDerived, ClassesService.filter(…), ClassesService.filterAssignable, ClassesService.flatMap(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:204
DocumentationService.read4DocumentationService.readSymbol, DocumentationService.readSummary, DocumentationService.filter(…), DocumentationService.map(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/documentation/documentation.service.ts:78
AddressService.describeCandidates3AddressService.countCandidatesByLine, AddressService.some(…), AddressService.map(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/callables/address.service.ts:181
AddressService.listAddresses3AddressService.toAddress, AddressService.map(…), AddressService.toSorted(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/callables/address.service.ts:212
ProgramService.buildProgram3ProgramService.parseConfiguration, CompilerHostService.createHost, ProgramService.map(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/program/program.service.ts:115
ProgramService.parseConfiguration3ProgramService.readJsonConfigFile(…), ProgramConfigurationError.constructor, ProgramService.map(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/program/program.service.ts:147
ProgramService.buildPrograms3WorkspaceService.walkImportedProjectClosure, ProgramService.toSorted(…), ProgramService.assignOwnershipprojects/ic-suite/callidescope/callidescope-graph/src/modules/program/program.service.ts:254
CallablesService.collectFromProgram3CallablesService.readOwnedPath, WorkspaceService.isTestFile, CallablesService.collectFromFileprojects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callables.service.ts:77
ClassesService.indexProgram3ExternalService.isExternal, ClassesService.indexMembers, ClassesService.indexHeritageprojects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:178
EdgesService.collectCallbackEdges3EdgesService.map(…), EdgesService.filter(…), EdgesService.map(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:127
EntriesService.classify3EntriesService.hasConfiguredDecorator, EntriesService.isCommandRunnerMethod, EntriesService.isBootstrapFunctionprojects/ic-suite/callidescope/callidescope-graph/src/modules/entries/entries.service.ts:67
ComponentsService.condense3ComponentsService.openNode, ComponentsService.step, ComponentsService.buildSuccessorsprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/components.service.ts:183
AddressService.parseAddress2AddressService.parseSymbolPath, AddressService.toWorkspaceRelativeprojects/ic-suite/callidescope/callidescope-graph/src/modules/callables/address.service.ts:89
CallableIdentityService.readDisplayName2CallableIdentityService.readMemberName, CallableIdentityService.readEnclosingTypeNameprojects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callable-identity.service.ts:131
CallableIdentityService.readMemberName2CallableIdentityService.readBindingName, CallableIdentityService.describeCallbackArgumentprojects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callable-identity.service.ts:193
WorkspaceService.findProjectDirectories2WorkspaceService.toWorkspaceRelative, WorkspaceService.isExcludedFromScanprojects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/workspace.service.ts:66
WorkspaceService.walkImportedProjectClosure2WorkspaceService.resolveOwningProject, WorkspaceService.isClosureDestinationprojects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/workspace.service.ts:342
FileFilterService.isExcludedByOwningProject2WorkspaceService.resolveOwningProject, FileFilterService.some(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/file-filter.service.ts:60
CompilerHostService.createHost2CompilerHostService.resolveModuleCache, CompilerHostService.memoizeprojects/ic-suite/callidescope/callidescope-graph/src/modules/program/compiler-host.service.ts:119
ProgramService.readPulledInPaths2ProgramService.toRealPath, WorkspaceService.toWorkspaceRelativeprojects/ic-suite/callidescope/callidescope-graph/src/modules/program/program.service.ts:195
ProgramService.resolveProjectFiles2ProgramService.buildProgram, ProgramService.readPulledInPathsprojects/ic-suite/callidescope/callidescope-graph/src/modules/program/program.service.ts:262
CallablesService.visit2CallablesService.isCallableDeclaration, CallablesService.describeprojects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callables.service.ts:49
CallablesService.readOwnedPath2ProgramService.toRealPath, WorkspaceService.toWorkspaceRelativeprojects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callables.service.ts:164
ClassesService.readMemberDeclarations2ClassesService.filter(…), ClassesService.filter(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:148
CallSitesService.visit2CallSitesService.isNestedBody, CallSitesService.readFunctionArgumentsprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/call-sites.service.ts:62
SymbolResolutionService.resolveThroughHierarchy2SymbolResolutionService.readOwner, ClassesService.resolveImplementationsprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:217
SymbolResolutionService.resolve2SymbolResolutionService.readCalleeName, SymbolResolutionService.resolveSymbolprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:267
EdgesService.readLocation2WorkspaceService.toWorkspaceRelative, ProgramService.toRealPathprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:176
EdgesService.resolveCallableId2WorkspaceService.toWorkspaceRelative, ProgramService.toRealPathprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:202
EdgesService.resolveSite2SymbolResolutionService.resolveConstructor, SymbolResolutionService.resolveprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:226
EdgesService.build2CallSitesService.collect, EdgesService.buildSiteEdgesprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:251
EntriesService.classifyEveryCallable2EntriesService.classify, EntriesService.readRulesprojects/ic-suite/callidescope/callidescope-graph/src/modules/entries/entries.service.ts:102
EntriesService.hasConfiguredDecorator2EntriesService.some(…), EntriesService.readDecoratorNamesprojects/ic-suite/callidescope/callidescope-graph/src/modules/entries/entries.service.ts:117
EntriesService.rootDeclaredAddresses2EntriesService.listDeclaringConfigurations, EntriesService.rootDeclaredAddressprojects/ic-suite/callidescope/callidescope-graph/src/modules/entries/entries.service.ts:262
PathsService.buildDeepestPath2PathsService.orderMembers, PathsService.buildFrameprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/paths.service.ts:59
PathsService.buildFrame2DocumentationService.read, SignaturesService.readprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/paths.service.ts:103
AddressDepthService.toStack2PathsService.buildFrame, AddressDepthService.isLowerBoundprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/address-depth.service.ts:105
AddressDepthService.buildDownwardStacks2AddressDepthService.traverse, AddressDepthService.map(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/graph/address-depth.service.ts:172
AddressDepthService.buildUpwardStacks2AddressDepthService.traverse, AddressDepthService.map(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/graph/address-depth.service.ts:195
ComponentsService.finishFrame2ComponentsService.closeNode, ComponentsService.liftLowLinkprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/components.service.ts:72
ComponentsService.step2ComponentsService.finishFrame, ComponentsService.visitSuccessorprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/components.service.ts:116
ComponentsService.visitSuccessor2ComponentsService.openNode, ComponentsService.liftLowLinkprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/components.service.ts:139
GraphDepthService.measure2GraphDepthService.combine, GraphDepthService.hasUnresolvedprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph-depth.service.ts:95
GraphService.assemble2GraphService.append, GraphService.map(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph.service.ts:44
AddressService.toCandidates1AddressService.map(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/callables/address.service.ts:137
AddressService.map(…)1AddressService.toAddressprojects/ic-suite/callidescope/callidescope-graph/src/modules/callables/address.service.ts:223
CallableIdentityService.isExported1CallableIdentityService.findAncestor(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callable-identity.service.ts:111
CallableIdentityService.readEnclosingTypeName1CallableIdentityService.findAncestor(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callable-identity.service.ts:139
CallableIdentityService.readKind1CallableIdentityService.readBoundKindprojects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callable-identity.service.ts:152
WorkspaceService.findAllProjectDirectories1WorkspaceService.findProjectDirectoriesprojects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/workspace.service.ts:44
WorkspaceService.isExcludedProject1WorkspaceService.toWorkspaceRelativeprojects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/workspace.service.ts:145
WorkspaceService.map(…)1WorkspaceService.toWorkspaceRelativeprojects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/workspace.service.ts:189
WorkspaceService.resolveOwningProject1WorkspaceService.isContainedByRootprojects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/workspace.service.ts:271
FileFilterService.buildFileFilter1FileFilterService.listIgnoredFilesprojects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/file-filter.service.ts:137
FileFilterService.isExcluded1FileFilterService.some(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/file-filter.service.ts:161
FileFilterService.isExcluded1FileFilterService.isExcludedByOwningProjectprojects/ic-suite/callidescope/callidescope-graph/src/modules/workspace/file-filter.service.ts:206
CompilerHostService.resolveModuleCache1CompilerHostService.createModuleResolutionCache(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/program/compiler-host.service.ts:79
ProgramService.map(…)1ProgramService.toRealPathprojects/ic-suite/callidescope/callidescope-graph/src/modules/program/program.service.ts:133
CallablesService.collect1CallablesService.collectFromProgramprojects/ic-suite/callidescope/callidescope-graph/src/modules/callables/callables.service.ts:191
ExternalService.isExternal1ExternalService.computeVerdictprojects/ic-suite/callidescope/callidescope-graph/src/modules/classes/external.service.ts:64
ClassesService.filterAssignable1ClassesService.filter(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:86
ClassesService.build1ClassesService.indexProgramprojects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:171
ClassesService.flatMap(…)1ClassesService.readMemberDeclarationsprojects/ic-suite/callidescope/callidescope-graph/src/modules/classes/classes.service.ts:232
CallSitesService.readFunctionArguments1CallSitesService.filter(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/call-sites.service.ts:42
CallSitesService.collect1CallSitesService.visitprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/call-sites.service.ts:54
SymbolResolutionService.readBodied1SymbolResolutionService.filter(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:88
SymbolResolutionService.filter(…)1SymbolResolutionService.isBodyCarryingprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:91
SymbolResolutionService.every(…)1ExternalService.isExternalprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:183
SymbolResolutionService.find(…)1SymbolResolutionService.isAbstractMemberprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/symbol-resolution.service.ts:203
EdgesService.filter(…)1ExternalService.isExternalprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:77
EdgesService.map(…)1EdgesService.resolveCallableIdprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:80
EdgesService.filter(…)1EdgesService.isExcludedCalleeprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:89
EdgesService.map(…)1EdgesService.resolveCallableIdprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:134
EdgesService.map(…)1EdgesService.readLocationprojects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:142
EdgesService.isExcludedCallee1EdgesService.some(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/edges/edges.service.ts:162
EntriesService.isCommandRunnerMethod1EntriesService.hasConfiguredDecoratorprojects/ic-suite/callidescope/callidescope-graph/src/modules/entries/entries.service.ts:135
EntriesService.promoteOrphans1EntriesService.readRulesprojects/ic-suite/callidescope/callidescope-graph/src/modules/entries/entries.service.ts:171
EntriesService.readDecoratorNames1EntriesService.map(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/entries/entries.service.ts:192
EntriesService.rootDeclaredAddress1AddressService.resolveprojects/ic-suite/callidescope/callidescope-graph/src/modules/entries/entries.service.ts:233
EntriesService.map(…)1EntriesService.toRulesprojects/ic-suite/callidescope/callidescope-graph/src/modules/entries/entries.service.ts:320
SignaturesService.read1SignaturesService.map(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/signatures/signatures.service.ts:62
SignaturesService.map(…)1SignaturesService.readParameterprojects/ic-suite/callidescope/callidescope-graph/src/modules/signatures/signatures.service.ts:72
AddressDepthService.isLowerBound1AddressDepthService.some(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/graph/address-depth.service.ts:71
AddressDepthService.step1AddressDepthService.followprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/address-depth.service.ts:79
AddressDepthService.traverse1AddressDepthService.stepprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/address-depth.service.ts:143
AddressDepthService.map(…)1AddressDepthService.toStackprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/address-depth.service.ts:182
AddressDepthService.map(…)1AddressDepthService.toStackprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/address-depth.service.ts:205
BreadthService.describeDirectCalls1BreadthService.toReferencesprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/breadth.service.ts:59
ComponentsService.buildSuccessors1ComponentsService.map(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/graph/components.service.ts:160
GraphDepthService.combine1GraphDepthService.foldSuccessorsprojects/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph-depth.service.ts:30
GraphDepthService.hasUnresolved1GraphDepthService.some(…)projects/ic-suite/callidescope/callidescope-graph/src/modules/graph/graph-depth.service.ts:83

🕸️ Codependix

Dependency graphs exported by codependix, regenerated by nx run configuration:codependix:write.

Nx Neighborhood

graph LR
  callidescope_cli["callidescope-cli"]
  callidescope_configuration["callidescope-configuration"]
  callidescope_core["callidescope-core"]
  callidescope_graph["callidescope-graph"]
  callidescope_nx["callidescope-nx"]
  callidescope_output["callidescope-output"]
  observability["observability"]
  callidescope_cli --> callidescope_graph
  callidescope_graph --> callidescope_configuration
  callidescope_graph --> callidescope_core
  callidescope_graph --> observability
  callidescope_nx --> callidescope_graph
  callidescope_output --> callidescope_graph
  classDef subject fill:#7c3aed,color:#fff,stroke:#4c1d95,stroke-width:2px
  class callidescope_graph subject

NestJS Module Graph

flowchart LR
  CallablesModule
  ClassesModule
  DocumentationModule
  EdgesModule
  EntriesModule
  GraphModule
  LoggerModule([LoggerModule])
  ProgramModule
  SignaturesModule
  WorkspaceModule
  CallablesModule --> ProgramModule
  CallablesModule --> WorkspaceModule
  EdgesModule --> CallablesModule
  EdgesModule --> ClassesModule
  EdgesModule --> ProgramModule
  EdgesModule --> WorkspaceModule
  EntriesModule --> CallablesModule
  GraphModule --> DocumentationModule
  GraphModule --> EdgesModule
  GraphModule --> SignaturesModule
  ProgramModule --> WorkspaceModule

Rounded modules are global: every module can inject them, so their edges are left out.

File Imports

graph LR
  file_callidescope_config_ts["callidescope.config.ts"]
  file_codependix_config_ts["codependix.config.ts"]
  file_codometer_config_ts["codometer.config.ts"]
  file_coinagerie_config_ts["coinagerie.config.ts"]
  file_eslint_config_ts["eslint.config.ts"]
  file_src_index_ts["src/index.ts"]
  file_src_modules_callables_address_constants_ts["src/modules/callables/address.constants.ts"]
  file_src_modules_callables_address_service_ts["src/modules/callables/address.service.ts"]
  file_src_modules_callables_address_service_unit_test_ts["src/modules/callables/address.service.unit.test.ts"]
  file_src_modules_callables_address_types_ts["src/modules/callables/address.types.ts"]
  file_src_modules_callables_callable_identity_service_ts["src/modules/callables/callable-identity.service.ts"]
  file_src_modules_callables_callable_identity_service_unit_test_ts["src/modules/callables/callable-identity.service.unit.test.ts"]
  file_src_modules_callables_callables_constants_ts["src/modules/callables/callables.constants.ts"]
  file_src_modules_callables_callables_module_ts["src/modules/callables/callables.module.ts"]
  file_src_modules_callables_callables_service_ts["src/modules/callables/callables.service.ts"]
  file_src_modules_callables_callables_service_unit_test_ts["src/modules/callables/callables.service.unit.test.ts"]
  file_src_modules_callables_callables_types_ts["src/modules/callables/callables.types.ts"]
  file_src_modules_classes_classes_constants_ts["src/modules/classes/classes.constants.ts"]
  file_src_modules_classes_classes_module_ts["src/modules/classes/classes.module.ts"]
  file_src_modules_classes_classes_service_ts["src/modules/classes/classes.service.ts"]
  file_src_modules_classes_classes_service_unit_test_ts["src/modules/classes/classes.service.unit.test.ts"]
  file_src_modules_classes_classes_types_ts["src/modules/classes/classes.types.ts"]
  file_src_modules_classes_external_service_ts["src/modules/classes/external.service.ts"]
  file_src_modules_classes_external_service_unit_test_ts["src/modules/classes/external.service.unit.test.ts"]
  file_src_modules_documentation_documentation_constants_ts["src/modules/documentation/documentation.constants.ts"]
  file_src_modules_documentation_documentation_module_ts["src/modules/documentation/documentation.module.ts"]
  file_src_modules_documentation_documentation_service_ts["src/modules/documentation/documentation.service.ts"]
  file_src_modules_documentation_documentation_service_unit_test_ts["src/modules/documentation/documentation.service.unit.test.ts"]
  file_src_modules_documentation_documentation_types_ts["src/modules/documentation/documentation.types.ts"]
  file_src_modules_edges_call_sites_service_ts["src/modules/edges/call-sites.service.ts"]
  file_src_modules_edges_call_sites_service_unit_test_ts["src/modules/edges/call-sites.service.unit.test.ts"]
  file_src_modules_edges_edges_constants_ts["src/modules/edges/edges.constants.ts"]
  file_src_modules_edges_edges_module_ts["src/modules/edges/edges.module.ts"]
  file_src_modules_edges_edges_service_ts["src/modules/edges/edges.service.ts"]
  file_src_modules_edges_edges_service_unit_test_ts["src/modules/edges/edges.service.unit.test.ts"]
  file_src_modules_edges_edges_types_ts["src/modules/edges/edges.types.ts"]
  file_src_modules_edges_symbol_resolution_service_ts["src/modules/edges/symbol-resolution.service.ts"]
  file_src_modules_edges_symbol_resolution_service_unit_test_ts["src/modules/edges/symbol-resolution.service.unit.test.ts"]
  file_src_modules_entries_entries_constants_ts["src/modules/entries/entries.constants.ts"]
  file_src_modules_entries_entries_module_ts["src/modules/entries/entries.module.ts"]
  file_src_modules_entries_entries_service_ts["src/modules/entries/entries.service.ts"]
  file_src_modules_entries_entries_service_unit_test_ts["src/modules/entries/entries.service.unit.test.ts"]
  file_src_modules_entries_entries_types_ts["src/modules/entries/entries.types.ts"]
  file_src_modules_graph_address_depth_constants_ts["src/modules/graph/address-depth.constants.ts"]
  file_src_modules_graph_address_depth_service_ts["src/modules/graph/address-depth.service.ts"]
  file_src_modules_graph_address_depth_service_unit_test_ts["src/modules/graph/address-depth.service.unit.test.ts"]
  file_src_modules_graph_address_depth_types_ts["src/modules/graph/address-depth.types.ts"]
  file_src_modules_graph_breadth_service_ts["src/modules/graph/breadth.service.ts"]
  file_src_modules_graph_breadth_service_unit_test_ts["src/modules/graph/breadth.service.unit.test.ts"]
  file_src_modules_graph_components_constants_ts["src/modules/graph/components.constants.ts"]
  file_src_modules_graph_components_service_ts["src/modules/graph/components.service.ts"]
  file_src_modules_graph_components_service_unit_test_ts["src/modules/graph/components.service.unit.test.ts"]
  file_src_modules_graph_components_types_ts["src/modules/graph/components.types.ts"]
  file_src_modules_graph_graph_assembly_service_ts["src/modules/graph/graph-assembly.service.ts"]
  file_src_modules_graph_graph_assembly_service_unit_test_ts["src/modules/graph/graph-assembly.service.unit.test.ts"]
  file_src_modules_graph_graph_assembly_types_ts["src/modules/graph/graph-assembly.types.ts"]
  file_src_modules_graph_graph_depth_service_ts["src/modules/graph/graph-depth.service.ts"]
  file_src_modules_graph_graph_depth_service_unit_test_ts["src/modules/graph/graph-depth.service.unit.test.ts"]
  file_src_modules_graph_graph_constants_ts["src/modules/graph/graph.constants.ts"]
  file_src_modules_graph_graph_module_ts["src/modules/graph/graph.module.ts"]
  file_src_modules_graph_graph_service_ts["src/modules/graph/graph.service.ts"]
  file_src_modules_graph_graph_service_unit_test_ts["src/modules/graph/graph.service.unit.test.ts"]
  file_src_modules_graph_graph_types_ts["src/modules/graph/graph.types.ts"]
  file_src_modules_graph_paths_service_ts["src/modules/graph/paths.service.ts"]
  file_src_modules_graph_paths_service_unit_test_ts["src/modules/graph/paths.service.unit.test.ts"]
  file_src_modules_program_compiler_host_service_ts["src/modules/program/compiler-host.service.ts"]
  file_src_modules_program_compiler_host_service_unit_test_ts["src/modules/program/compiler-host.service.unit.test.ts"]
  file_src_modules_program_program_constants_ts["src/modules/program/program.constants.ts"]
  file_src_modules_program_program_module_ts["src/modules/program/program.module.ts"]
  file_src_modules_program_program_service_ts["src/modules/program/program.service.ts"]
  file_src_modules_program_program_service_unit_test_ts["src/modules/program/program.service.unit.test.ts"]
  file_src_modules_program_program_types_ts["src/modules/program/program.types.ts"]
  file_src_modules_signatures_signatures_constants_ts["src/modules/signatures/signatures.constants.ts"]
  file_src_modules_signatures_signatures_module_ts["src/modules/signatures/signatures.module.ts"]
  file_src_modules_signatures_signatures_service_ts["src/modules/signatures/signatures.service.ts"]
  file_src_modules_signatures_signatures_service_unit_test_ts["src/modules/signatures/signatures.service.unit.test.ts"]
  file_src_modules_signatures_signatures_types_ts["src/modules/signatures/signatures.types.ts"]
  file_src_modules_workspace_file_filter_service_ts["src/modules/workspace/file-filter.service.ts"]
  file_src_modules_workspace_file_filter_service_unit_test_ts["src/modules/workspace/file-filter.service.unit.test.ts"]
  file_src_modules_workspace_workspace_constants_ts["src/modules/workspace/workspace.constants.ts"]
  file_src_modules_workspace_workspace_module_ts["src/modules/workspace/workspace.module.ts"]
  file_src_modules_workspace_workspace_service_ts["src/modules/workspace/workspace.service.ts"]
  file_src_modules_workspace_workspace_service_unit_test_ts["src/modules/workspace/workspace.service.unit.test.ts"]
  file_src_modules_workspace_workspace_types_ts["src/modules/workspace/workspace.types.ts"]
  file_testing_mocks_ts["testing/mocks.ts"]
  file_testing_modules_ts["testing/modules.ts"]
  file_testing_programs_ts["testing/programs.ts"]
  file_testing_setup_ts["testing/setup.ts"]
  file_vite_config_ts["vite.config.ts"]
  file_vitest_config_ts["vitest.config.ts"]
  file_src_modules_callables_address_service_ts --> file_src_modules_callables_address_constants_ts
  file_src_modules_callables_address_service_ts --> file_src_modules_callables_address_types_ts
  file_src_modules_callables_address_service_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_callables_address_service_unit_test_ts --> file_src_modules_callables_address_service_ts
  file_src_modules_callables_address_service_unit_test_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_callables_address_service_unit_test_ts --> file_testing_mocks_ts
  file_src_modules_callables_address_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_callables_address_types_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_callables_callable_identity_service_ts --> file_src_modules_callables_callables_constants_ts
  file_src_modules_callables_callable_identity_service_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_callables_callable_identity_service_unit_test_ts --> file_src_modules_callables_callable_identity_service_ts
  file_src_modules_callables_callable_identity_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_callables_callable_identity_service_unit_test_ts --> file_testing_programs_ts
  file_src_modules_callables_callables_module_ts --> file_src_modules_callables_address_service_ts
  file_src_modules_callables_callables_module_ts --> file_src_modules_callables_callable_identity_service_ts
  file_src_modules_callables_callables_module_ts --> file_src_modules_callables_callables_service_ts
  file_src_modules_callables_callables_module_ts --> file_src_modules_program_program_module_ts
  file_src_modules_callables_callables_module_ts --> file_src_modules_workspace_workspace_module_ts
  file_src_modules_callables_callables_service_ts --> file_src_modules_callables_callable_identity_service_ts
  file_src_modules_callables_callables_service_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_callables_callables_service_ts --> file_src_modules_program_program_service_ts
  file_src_modules_callables_callables_service_ts --> file_src_modules_program_program_types_ts
  file_src_modules_callables_callables_service_ts --> file_src_modules_workspace_workspace_service_ts
  file_src_modules_callables_callables_service_unit_test_ts --> file_src_modules_callables_callables_service_ts
  file_src_modules_callables_callables_service_unit_test_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_callables_callables_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_callables_callables_service_unit_test_ts --> file_testing_programs_ts
  file_src_modules_callables_callables_types_ts --> file_src_modules_program_program_types_ts
  file_src_modules_callables_callables_types_ts --> file_src_modules_workspace_workspace_types_ts
  file_src_modules_classes_classes_module_ts --> file_src_modules_classes_classes_service_ts
  file_src_modules_classes_classes_module_ts --> file_src_modules_classes_external_service_ts
  file_src_modules_classes_classes_service_ts --> file_src_modules_classes_classes_constants_ts
  file_src_modules_classes_classes_service_ts --> file_src_modules_classes_classes_types_ts
  file_src_modules_classes_classes_service_ts --> file_src_modules_classes_external_service_ts
  file_src_modules_classes_classes_service_ts --> file_src_modules_program_program_types_ts
  file_src_modules_classes_classes_service_unit_test_ts --> file_src_modules_classes_classes_constants_ts
  file_src_modules_classes_classes_service_unit_test_ts --> file_src_modules_classes_classes_service_ts
  file_src_modules_classes_classes_service_unit_test_ts --> file_src_modules_classes_classes_types_ts
  file_src_modules_classes_classes_service_unit_test_ts --> file_src_modules_classes_external_service_ts
  file_src_modules_classes_classes_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_classes_classes_service_unit_test_ts --> file_testing_programs_ts
  file_src_modules_classes_classes_types_ts --> file_src_modules_program_program_types_ts
  file_src_modules_classes_external_service_unit_test_ts --> file_src_modules_classes_external_service_ts
  file_src_modules_classes_external_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_documentation_documentation_module_ts --> file_src_modules_documentation_documentation_service_ts
  file_src_modules_documentation_documentation_service_ts --> file_src_modules_documentation_documentation_constants_ts
  file_src_modules_documentation_documentation_service_ts --> file_src_modules_documentation_documentation_types_ts
  file_src_modules_documentation_documentation_service_unit_test_ts --> file_src_modules_documentation_documentation_service_ts
  file_src_modules_documentation_documentation_service_unit_test_ts --> file_src_modules_documentation_documentation_types_ts
  file_src_modules_documentation_documentation_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_documentation_documentation_service_unit_test_ts --> file_testing_programs_ts
  file_src_modules_documentation_documentation_types_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_edges_call_sites_service_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_edges_call_sites_service_ts --> file_src_modules_edges_edges_types_ts
  file_src_modules_edges_call_sites_service_unit_test_ts --> file_src_modules_edges_call_sites_service_ts
  file_src_modules_edges_call_sites_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_edges_call_sites_service_unit_test_ts --> file_testing_programs_ts
  file_src_modules_edges_edges_constants_ts --> file_src_modules_edges_edges_types_ts
  file_src_modules_edges_edges_module_ts --> file_src_modules_callables_callables_module_ts
  file_src_modules_edges_edges_module_ts --> file_src_modules_classes_classes_module_ts
  file_src_modules_edges_edges_module_ts --> file_src_modules_edges_call_sites_service_ts
  file_src_modules_edges_edges_module_ts --> file_src_modules_edges_edges_service_ts
  file_src_modules_edges_edges_module_ts --> file_src_modules_edges_symbol_resolution_service_ts
  file_src_modules_edges_edges_module_ts --> file_src_modules_program_program_module_ts
  file_src_modules_edges_edges_module_ts --> file_src_modules_workspace_workspace_module_ts
  file_src_modules_edges_edges_service_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_edges_edges_service_ts --> file_src_modules_classes_external_service_ts
  file_src_modules_edges_edges_service_ts --> file_src_modules_edges_call_sites_service_ts
  file_src_modules_edges_edges_service_ts --> file_src_modules_edges_edges_types_ts
  file_src_modules_edges_edges_service_ts --> file_src_modules_edges_symbol_resolution_service_ts
  file_src_modules_edges_edges_service_ts --> file_src_modules_program_program_service_ts
  file_src_modules_edges_edges_service_ts --> file_src_modules_workspace_workspace_service_ts
  file_src_modules_edges_edges_service_unit_test_ts --> file_src_modules_classes_classes_constants_ts
  file_src_modules_edges_edges_service_unit_test_ts --> file_src_modules_edges_call_sites_service_ts
  file_src_modules_edges_edges_service_unit_test_ts --> file_src_modules_edges_edges_service_ts
  file_src_modules_edges_edges_service_unit_test_ts --> file_src_modules_edges_symbol_resolution_service_ts
  file_src_modules_edges_edges_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_edges_edges_service_unit_test_ts --> file_testing_programs_ts
  file_src_modules_edges_edges_types_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_edges_symbol_resolution_service_ts --> file_src_modules_classes_classes_service_ts
  file_src_modules_edges_symbol_resolution_service_ts --> file_src_modules_classes_external_service_ts
  file_src_modules_edges_symbol_resolution_service_ts --> file_src_modules_edges_edges_constants_ts
  file_src_modules_edges_symbol_resolution_service_ts --> file_src_modules_edges_edges_types_ts
  file_src_modules_edges_symbol_resolution_service_unit_test_ts --> file_src_modules_classes_classes_service_ts
  file_src_modules_edges_symbol_resolution_service_unit_test_ts --> file_src_modules_classes_external_service_ts
  file_src_modules_edges_symbol_resolution_service_unit_test_ts --> file_src_modules_edges_edges_constants_ts
  file_src_modules_edges_symbol_resolution_service_unit_test_ts --> file_src_modules_edges_edges_types_ts
  file_src_modules_edges_symbol_resolution_service_unit_test_ts --> file_src_modules_edges_symbol_resolution_service_ts
  file_src_modules_edges_symbol_resolution_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_edges_symbol_resolution_service_unit_test_ts --> file_testing_programs_ts
  file_src_modules_entries_entries_module_ts --> file_src_modules_callables_callables_module_ts
  file_src_modules_entries_entries_module_ts --> file_src_modules_entries_entries_service_ts
  file_src_modules_entries_entries_service_ts --> file_src_modules_callables_address_service_ts
  file_src_modules_entries_entries_service_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_entries_entries_service_ts --> file_src_modules_entries_entries_constants_ts
  file_src_modules_entries_entries_service_ts --> file_src_modules_entries_entries_types_ts
  file_src_modules_entries_entries_service_unit_test_ts --> file_src_modules_callables_address_service_ts
  file_src_modules_entries_entries_service_unit_test_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_entries_entries_service_unit_test_ts --> file_src_modules_entries_entries_service_ts
  file_src_modules_entries_entries_service_unit_test_ts --> file_src_modules_entries_entries_types_ts
  file_src_modules_entries_entries_service_unit_test_ts --> file_src_modules_graph_graph_service_ts
  file_src_modules_entries_entries_service_unit_test_ts --> file_src_modules_graph_graph_types_ts
  file_src_modules_entries_entries_service_unit_test_ts --> file_testing_mocks_ts
  file_src_modules_entries_entries_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_entries_entries_service_unit_test_ts --> file_testing_programs_ts
  file_src_modules_entries_entries_types_ts --> file_src_modules_callables_address_types_ts
  file_src_modules_entries_entries_types_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_entries_entries_types_ts --> file_src_modules_graph_graph_types_ts
  file_src_modules_graph_address_depth_service_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_graph_address_depth_service_ts --> file_src_modules_graph_address_depth_constants_ts
  file_src_modules_graph_address_depth_service_ts --> file_src_modules_graph_address_depth_types_ts
  file_src_modules_graph_address_depth_service_ts --> file_src_modules_graph_paths_service_ts
  file_src_modules_graph_address_depth_service_unit_test_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_graph_address_depth_service_unit_test_ts --> file_src_modules_documentation_documentation_service_ts
  file_src_modules_graph_address_depth_service_unit_test_ts --> file_src_modules_graph_address_depth_service_ts
  file_src_modules_graph_address_depth_service_unit_test_ts --> file_src_modules_graph_graph_service_ts
  file_src_modules_graph_address_depth_service_unit_test_ts --> file_src_modules_graph_paths_service_ts
  file_src_modules_graph_address_depth_service_unit_test_ts --> file_src_modules_signatures_signatures_service_ts
  file_src_modules_graph_address_depth_service_unit_test_ts --> file_testing_mocks_ts
  file_src_modules_graph_address_depth_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_graph_address_depth_types_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_graph_address_depth_types_ts --> file_src_modules_graph_graph_types_ts
  file_src_modules_graph_breadth_service_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_graph_breadth_service_ts --> file_src_modules_graph_graph_types_ts
  file_src_modules_graph_breadth_service_unit_test_ts --> file_src_modules_graph_breadth_service_ts
  file_src_modules_graph_breadth_service_unit_test_ts --> file_src_modules_graph_graph_service_ts
  file_src_modules_graph_breadth_service_unit_test_ts --> file_src_modules_graph_graph_types_ts
  file_src_modules_graph_breadth_service_unit_test_ts --> file_testing_mocks_ts
  file_src_modules_graph_breadth_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_graph_components_service_ts --> file_src_modules_graph_components_constants_ts
  file_src_modules_graph_components_service_ts --> file_src_modules_graph_components_types_ts
  file_src_modules_graph_components_service_ts --> file_src_modules_graph_graph_types_ts
  file_src_modules_graph_components_service_unit_test_ts --> file_src_modules_graph_components_service_ts
  file_src_modules_graph_components_service_unit_test_ts --> file_src_modules_graph_graph_service_ts
  file_src_modules_graph_components_service_unit_test_ts --> file_src_modules_graph_graph_types_ts
  file_src_modules_graph_components_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_graph_graph_assembly_service_ts --> file_src_modules_edges_edges_service_ts
  file_src_modules_graph_graph_assembly_service_ts --> file_src_modules_graph_breadth_service_ts
  file_src_modules_graph_graph_assembly_service_ts --> file_src_modules_graph_components_service_ts
  file_src_modules_graph_graph_assembly_service_ts --> file_src_modules_graph_graph_assembly_types_ts
  file_src_modules_graph_graph_assembly_service_ts --> file_src_modules_graph_graph_depth_service_ts
  file_src_modules_graph_graph_assembly_service_ts --> file_src_modules_graph_graph_service_ts
  file_src_modules_graph_graph_assembly_service_unit_test_ts --> file_src_modules_graph_breadth_service_ts
  file_src_modules_graph_graph_assembly_service_unit_test_ts --> file_src_modules_graph_components_service_ts
  file_src_modules_graph_graph_assembly_service_unit_test_ts --> file_src_modules_graph_graph_assembly_service_ts
  file_src_modules_graph_graph_assembly_service_unit_test_ts --> file_src_modules_graph_graph_assembly_types_ts
  file_src_modules_graph_graph_assembly_service_unit_test_ts --> file_src_modules_graph_graph_depth_service_ts
  file_src_modules_graph_graph_assembly_service_unit_test_ts --> file_src_modules_graph_graph_service_ts
  file_src_modules_graph_graph_assembly_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_graph_graph_assembly_service_unit_test_ts --> file_testing_programs_ts
  file_src_modules_graph_graph_assembly_types_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_graph_graph_assembly_types_ts --> file_src_modules_graph_graph_types_ts
  file_src_modules_graph_graph_depth_service_ts --> file_src_modules_graph_graph_types_ts
  file_src_modules_graph_graph_depth_service_unit_test_ts --> file_src_modules_graph_components_service_ts
  file_src_modules_graph_graph_depth_service_unit_test_ts --> file_src_modules_graph_graph_depth_service_ts
  file_src_modules_graph_graph_depth_service_unit_test_ts --> file_src_modules_graph_graph_service_ts
  file_src_modules_graph_graph_depth_service_unit_test_ts --> file_src_modules_graph_graph_types_ts
  file_src_modules_graph_graph_depth_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_graph_graph_module_ts --> file_src_modules_documentation_documentation_module_ts
  file_src_modules_graph_graph_module_ts --> file_src_modules_edges_edges_module_ts
  file_src_modules_graph_graph_module_ts --> file_src_modules_graph_address_depth_service_ts
  file_src_modules_graph_graph_module_ts --> file_src_modules_graph_breadth_service_ts
  file_src_modules_graph_graph_module_ts --> file_src_modules_graph_components_service_ts
  file_src_modules_graph_graph_module_ts --> file_src_modules_graph_graph_assembly_service_ts
  file_src_modules_graph_graph_module_ts --> file_src_modules_graph_graph_depth_service_ts
  file_src_modules_graph_graph_module_ts --> file_src_modules_graph_graph_service_ts
  file_src_modules_graph_graph_module_ts --> file_src_modules_graph_paths_service_ts
  file_src_modules_graph_graph_module_ts --> file_src_modules_signatures_signatures_module_ts
  file_src_modules_graph_graph_service_ts --> file_src_modules_edges_edges_types_ts
  file_src_modules_graph_graph_service_ts --> file_src_modules_graph_graph_types_ts
  file_src_modules_graph_graph_service_unit_test_ts --> file_src_modules_graph_graph_service_ts
  file_src_modules_graph_graph_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_graph_paths_service_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_graph_paths_service_ts --> file_src_modules_documentation_documentation_service_ts
  file_src_modules_graph_paths_service_ts --> file_src_modules_graph_graph_types_ts
  file_src_modules_graph_paths_service_ts --> file_src_modules_signatures_signatures_service_ts
  file_src_modules_graph_paths_service_unit_test_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_graph_paths_service_unit_test_ts --> file_src_modules_documentation_documentation_service_ts
  file_src_modules_graph_paths_service_unit_test_ts --> file_src_modules_graph_components_service_ts
  file_src_modules_graph_paths_service_unit_test_ts --> file_src_modules_graph_graph_depth_service_ts
  file_src_modules_graph_paths_service_unit_test_ts --> file_src_modules_graph_graph_service_ts
  file_src_modules_graph_paths_service_unit_test_ts --> file_src_modules_graph_paths_service_ts
  file_src_modules_graph_paths_service_unit_test_ts --> file_src_modules_signatures_signatures_service_ts
  file_src_modules_graph_paths_service_unit_test_ts --> file_testing_mocks_ts
  file_src_modules_graph_paths_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_program_compiler_host_service_unit_test_ts --> file_src_modules_program_compiler_host_service_ts
  file_src_modules_program_compiler_host_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_program_program_module_ts --> file_src_modules_program_compiler_host_service_ts
  file_src_modules_program_program_module_ts --> file_src_modules_program_program_service_ts
  file_src_modules_program_program_module_ts --> file_src_modules_workspace_workspace_module_ts
  file_src_modules_program_program_service_ts --> file_src_modules_program_compiler_host_service_ts
  file_src_modules_program_program_service_ts --> file_src_modules_program_program_constants_ts
  file_src_modules_program_program_service_ts --> file_src_modules_program_program_types_ts
  file_src_modules_program_program_service_ts --> file_src_modules_workspace_workspace_service_ts
  file_src_modules_program_program_service_ts --> file_src_modules_workspace_workspace_types_ts
  file_src_modules_program_program_service_unit_test_ts --> file_src_modules_program_compiler_host_service_ts
  file_src_modules_program_program_service_unit_test_ts --> file_src_modules_program_program_constants_ts
  file_src_modules_program_program_service_unit_test_ts --> file_src_modules_program_program_service_ts
  file_src_modules_program_program_service_unit_test_ts --> file_src_modules_workspace_workspace_service_ts
  file_src_modules_program_program_service_unit_test_ts --> file_src_modules_workspace_workspace_types_ts
  file_src_modules_program_program_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_program_program_types_ts --> file_src_modules_workspace_workspace_types_ts
  file_src_modules_signatures_signatures_module_ts --> file_src_modules_signatures_signatures_service_ts
  file_src_modules_signatures_signatures_service_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_signatures_signatures_service_ts --> file_src_modules_signatures_signatures_constants_ts
  file_src_modules_signatures_signatures_service_ts --> file_src_modules_signatures_signatures_types_ts
  file_src_modules_signatures_signatures_service_unit_test_ts --> file_src_modules_signatures_signatures_service_ts
  file_src_modules_signatures_signatures_service_unit_test_ts --> file_src_modules_signatures_signatures_types_ts
  file_src_modules_signatures_signatures_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_signatures_signatures_service_unit_test_ts --> file_testing_programs_ts
  file_src_modules_signatures_signatures_types_ts --> file_src_modules_callables_callables_types_ts
  file_src_modules_workspace_file_filter_service_ts --> file_src_modules_workspace_workspace_service_ts
  file_src_modules_workspace_file_filter_service_ts --> file_src_modules_workspace_workspace_types_ts
  file_src_modules_workspace_file_filter_service_unit_test_ts --> file_src_modules_workspace_file_filter_service_ts
  file_src_modules_workspace_file_filter_service_unit_test_ts --> file_src_modules_workspace_workspace_service_ts
  file_src_modules_workspace_file_filter_service_unit_test_ts --> file_src_modules_workspace_workspace_types_ts
  file_src_modules_workspace_file_filter_service_unit_test_ts --> file_testing_modules_ts
  file_src_modules_workspace_workspace_module_ts --> file_src_modules_workspace_file_filter_service_ts
  file_src_modules_workspace_workspace_module_ts --> file_src_modules_workspace_workspace_service_ts
  file_src_modules_workspace_workspace_service_ts --> file_src_modules_program_program_constants_ts
  file_src_modules_workspace_workspace_service_ts --> file_src_modules_workspace_workspace_constants_ts
  file_src_modules_workspace_workspace_service_ts --> file_src_modules_workspace_workspace_types_ts
  file_src_modules_workspace_workspace_service_unit_test_ts --> file_src_modules_program_program_constants_ts
  file_src_modules_workspace_workspace_service_unit_test_ts --> file_src_modules_workspace_workspace_service_ts
  file_src_modules_workspace_workspace_service_unit_test_ts --> file_src_modules_workspace_workspace_types_ts
  file_src_modules_workspace_workspace_service_unit_test_ts --> file_testing_modules_ts
  file_testing_mocks_ts --> file_src_modules_callables_callables_types_ts
  file_testing_modules_ts --> file_src_modules_callables_callables_module_ts
  file_testing_modules_ts --> file_src_modules_classes_classes_module_ts
  file_testing_modules_ts --> file_src_modules_documentation_documentation_module_ts
  file_testing_modules_ts --> file_src_modules_edges_edges_module_ts
  file_testing_modules_ts --> file_src_modules_entries_entries_module_ts
  file_testing_modules_ts --> file_src_modules_graph_graph_module_ts
  file_testing_modules_ts --> file_src_modules_program_program_module_ts
  file_testing_modules_ts --> file_src_modules_signatures_signatures_module_ts
  file_testing_modules_ts --> file_src_modules_workspace_workspace_module_ts
  file_testing_programs_ts --> file_src_modules_callables_callable_identity_service_ts
  file_testing_programs_ts --> file_src_modules_callables_callables_service_ts
  file_testing_programs_ts --> file_src_modules_classes_classes_service_ts
  file_testing_programs_ts --> file_src_modules_classes_external_service_ts
  file_testing_programs_ts --> file_src_modules_edges_call_sites_service_ts
  file_testing_programs_ts --> file_src_modules_edges_edges_service_ts
  file_testing_programs_ts --> file_src_modules_edges_symbol_resolution_service_ts
  file_testing_programs_ts --> file_src_modules_program_compiler_host_service_ts
  file_testing_programs_ts --> file_src_modules_program_program_service_ts
  file_testing_programs_ts --> file_src_modules_program_program_types_ts
  file_testing_programs_ts --> file_src_modules_workspace_workspace_service_ts

⏲️ Codometer

Project

Lines of Code Repository Size Folders Source Files

Measured Targets

Compiled JavaScript Size

TypeScript

TypeScript Files Interfaces Generic Declarations Enums Decorators Doc Comments Static Methods

JavaScript

JavaScript Files Test Files External Packages Classes Functions Methods Sync Functions Async Functions Constants Imports Exported Symbols Comments Comment Lines TODO Comments

Python

Python Files Python Lines Python Classes Python Functions Python Protocols Python Constants Python Imports Python Decorators Docstrings Docstring Lines Python Comments Python Comment Lines

JSON

JSON Files JSON Lines JSON Objects JSON Arrays JSON Properties JSON Strings JSON Numbers JSON Booleans JSON Nulls JSON Items ![JSO

版本与发布记录

@callidescope/graph 共发布 71 个版本,首次发布于 2026/10/05;过去 12 个月发布了 71 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.0.73latest2026/11/09今天
0.0.722026/11/09今天
0.0.712026/11/09今天
0.0.702026/11/081 天前
0.0.692026/11/072 天前
0.0.682026/11/072 天前

关于 @callidescope/graph 的常见问题

@callidescope/graph 是什么?

TypeScript AST call-graph builder and call-stack depth and breadth traversal engine for Callidescope

如何安装 @callidescope/graph?

在项目目录运行 npm install @callidescope/graph,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:typescript(^6.0.3)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@callidescope/graph 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@callidescope/graph 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@callidescope/graph 可以商用吗?

@callidescope/graph 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@callidescope/graph 的下载量有多少?

根据 npm 官方下载统计,@callidescope/graph 在 2026/10/09 – 2026/11/07 这 30 天内被下载 9,935 次,日均约 331 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@callidescope/graph 还在维护吗?

最新版本 0.0.73 发布于 2026/11/09(今天);至今共发布 71 个版本,其中过去 12 个月发布了 71 个;首次发布于 2026/10/05。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。