@codependix/file-imports 0.0.0-stage β 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +469 -2
- package/dist/src/index.d.ts +504 -0
- package/dist/src/index.js +461 -0
- package/package.json +61 -3
package/CHANGELOG.md
ADDED
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Jimmy Paolini
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,470 @@
|
|
|
1
|
-
#
|
|
1
|
+
# πΈοΈ Codependix File Imports
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@codependix/file-imports)
|
|
4
|
+
|
|
5
|
+
**TypeScript and JavaScript file-level import graph extraction and circularity detection for Codependix.**
|
|
6
|
+
|
|
7
|
+
## Test
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
nx run codependix-file-imports:vitest
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## πΈοΈ Codependix
|
|
14
|
+
|
|
15
|
+
Dependency graphs exported by [codependix](https://github.com/Organizzolini/codebase/tree/main/packages/ic-suite/codependix/codependix-cli), regenerated by `nx run codebase:codependix:write`.
|
|
16
|
+
|
|
17
|
+
### Nx Neighborhood
|
|
18
|
+
|
|
19
|
+
<!-- codependix:start name="codependix-nx-projects" -->
|
|
20
|
+
```mermaid
|
|
21
|
+
graph LR
|
|
22
|
+
codependix_boundaries["codependix-boundaries"]
|
|
23
|
+
codependix_examples["codependix-examples"]
|
|
24
|
+
codependix_file_imports["codependix-file-imports"]
|
|
25
|
+
codependix_output["codependix-output"]
|
|
26
|
+
codependix_boundaries --> codependix_file_imports
|
|
27
|
+
codependix_examples --> codependix_file_imports
|
|
28
|
+
codependix_output --> codependix_file_imports
|
|
29
|
+
classDef subject fill:#7c3aed,color:#fff,stroke:#4c1d95,stroke-width:2px
|
|
30
|
+
class codependix_file_imports subject
|
|
31
|
+
```
|
|
32
|
+
<!-- codependix:end name="codependix-nx-projects" -->
|
|
33
|
+
|
|
34
|
+
### NestJS Module Graph
|
|
35
|
+
|
|
36
|
+
<!-- codependix:start name="codependix-nestjs-modules" -->
|
|
37
|
+
```mermaid
|
|
38
|
+
flowchart LR
|
|
39
|
+
FileImportsWorkspaceGraphModule
|
|
40
|
+
PythonModule
|
|
41
|
+
TypescriptModule
|
|
42
|
+
```
|
|
43
|
+
<!-- codependix:end name="codependix-nestjs-modules" -->
|
|
44
|
+
|
|
45
|
+
### File Imports
|
|
46
|
+
|
|
47
|
+
<!-- codependix:start name="codependix-file-imports" -->
|
|
48
|
+
```mermaid
|
|
49
|
+
graph LR
|
|
50
|
+
file_callidescope_config_ts["callidescope.config.ts"]
|
|
51
|
+
file_codependix_config_ts["codependix.config.ts"]
|
|
52
|
+
file_codometer_config_ts["codometer.config.ts"]
|
|
53
|
+
file_eslint_config_ts["eslint.config.ts"]
|
|
54
|
+
file_src_index_ts["src/index.ts"]
|
|
55
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_constants_ts["src/modules/file-imports-workspace-graph/file-imports-workspace-graph.constants.ts"]
|
|
56
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_module_ts["src/modules/file-imports-workspace-graph/file-imports-workspace-graph.module.ts"]
|
|
57
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_module_unit_test_ts["src/modules/file-imports-workspace-graph/file-imports-workspace-graph.module.unit.test.ts"]
|
|
58
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_service_ts["src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts"]
|
|
59
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_service_unit_test_ts["src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.unit.test.ts"]
|
|
60
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_types_ts["src/modules/file-imports-workspace-graph/file-imports-workspace-graph.types.ts"]
|
|
61
|
+
file_src_modules_python_python_import_graph_service_ts["src/modules/python/python-import-graph.service.ts"]
|
|
62
|
+
file_src_modules_python_python_import_graph_service_unit_test_ts["src/modules/python/python-import-graph.service.unit.test.ts"]
|
|
63
|
+
file_src_modules_python_python_import_parser_constants_ts["src/modules/python/python-import-parser.constants.ts"]
|
|
64
|
+
file_src_modules_python_python_import_parser_service_ts["src/modules/python/python-import-parser.service.ts"]
|
|
65
|
+
file_src_modules_python_python_import_parser_service_unit_test_ts["src/modules/python/python-import-parser.service.unit.test.ts"]
|
|
66
|
+
file_src_modules_python_python_import_parser_types_ts["src/modules/python/python-import-parser.types.ts"]
|
|
67
|
+
file_src_modules_python_python_project_service_ts["src/modules/python/python-project.service.ts"]
|
|
68
|
+
file_src_modules_python_python_project_service_unit_test_ts["src/modules/python/python-project.service.unit.test.ts"]
|
|
69
|
+
file_src_modules_python_python_constants_ts["src/modules/python/python.constants.ts"]
|
|
70
|
+
file_src_modules_python_python_module_ts["src/modules/python/python.module.ts"]
|
|
71
|
+
file_src_modules_python_python_module_unit_test_ts["src/modules/python/python.module.unit.test.ts"]
|
|
72
|
+
file_src_modules_python_python_service_ts["src/modules/python/python.service.ts"]
|
|
73
|
+
file_src_modules_python_python_service_unit_test_ts["src/modules/python/python.service.unit.test.ts"]
|
|
74
|
+
file_src_modules_python_python_types_ts["src/modules/python/python.types.ts"]
|
|
75
|
+
file_src_modules_typescript_typescript_import_graph_service_ts["src/modules/typescript/typescript-import-graph.service.ts"]
|
|
76
|
+
file_src_modules_typescript_typescript_import_graph_service_unit_test_ts["src/modules/typescript/typescript-import-graph.service.unit.test.ts"]
|
|
77
|
+
file_src_modules_typescript_typescript_project_service_ts["src/modules/typescript/typescript-project.service.ts"]
|
|
78
|
+
file_src_modules_typescript_typescript_project_service_unit_test_ts["src/modules/typescript/typescript-project.service.unit.test.ts"]
|
|
79
|
+
file_src_modules_typescript_typescript_constants_ts["src/modules/typescript/typescript.constants.ts"]
|
|
80
|
+
file_src_modules_typescript_typescript_module_ts["src/modules/typescript/typescript.module.ts"]
|
|
81
|
+
file_src_modules_typescript_typescript_module_unit_test_ts["src/modules/typescript/typescript.module.unit.test.ts"]
|
|
82
|
+
file_src_modules_typescript_typescript_service_ts["src/modules/typescript/typescript.service.ts"]
|
|
83
|
+
file_src_modules_typescript_typescript_service_unit_test_ts["src/modules/typescript/typescript.service.unit.test.ts"]
|
|
84
|
+
file_src_modules_typescript_typescript_types_ts["src/modules/typescript/typescript.types.ts"]
|
|
85
|
+
file_testing_mocks_ts["testing/mocks.ts"]
|
|
86
|
+
file_testing_programs_ts["testing/programs.ts"]
|
|
87
|
+
file_testing_setup_ts["testing/setup.ts"]
|
|
88
|
+
file_vite_config_ts["vite.config.ts"]
|
|
89
|
+
file_vitest_config_ts["vitest.config.ts"]
|
|
90
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_module_ts --> file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_service_ts
|
|
91
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_module_unit_test_ts --> file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_module_ts
|
|
92
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_module_unit_test_ts --> file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_service_ts
|
|
93
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_service_ts --> file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_constants_ts
|
|
94
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_service_ts --> file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_types_ts
|
|
95
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_service_ts --> file_src_modules_python_python_types_ts
|
|
96
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_service_ts --> file_src_modules_typescript_typescript_types_ts
|
|
97
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_service_unit_test_ts --> file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_service_ts
|
|
98
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_service_unit_test_ts --> file_src_modules_python_python_types_ts
|
|
99
|
+
file_src_modules_file_imports_workspace_graph_file_imports_workspace_graph_service_unit_test_ts --> file_src_modules_typescript_typescript_types_ts
|
|
100
|
+
file_src_modules_python_python_import_graph_service_ts --> file_src_modules_python_python_import_parser_service_ts
|
|
101
|
+
file_src_modules_python_python_import_graph_service_ts --> file_src_modules_python_python_import_parser_types_ts
|
|
102
|
+
file_src_modules_python_python_import_graph_service_ts --> file_src_modules_python_python_project_service_ts
|
|
103
|
+
file_src_modules_python_python_import_graph_service_ts --> file_src_modules_python_python_constants_ts
|
|
104
|
+
file_src_modules_python_python_import_graph_service_ts --> file_src_modules_python_python_types_ts
|
|
105
|
+
file_src_modules_python_python_import_graph_service_unit_test_ts --> file_src_modules_python_python_import_graph_service_ts
|
|
106
|
+
file_src_modules_python_python_import_graph_service_unit_test_ts --> file_src_modules_python_python_import_parser_service_ts
|
|
107
|
+
file_src_modules_python_python_import_graph_service_unit_test_ts --> file_src_modules_python_python_project_service_ts
|
|
108
|
+
file_src_modules_python_python_import_graph_service_unit_test_ts --> file_src_modules_python_python_constants_ts
|
|
109
|
+
file_src_modules_python_python_import_graph_service_unit_test_ts --> file_src_modules_python_python_types_ts
|
|
110
|
+
file_src_modules_python_python_import_parser_service_ts --> file_src_modules_python_python_import_parser_constants_ts
|
|
111
|
+
file_src_modules_python_python_import_parser_service_ts --> file_src_modules_python_python_import_parser_types_ts
|
|
112
|
+
file_src_modules_python_python_import_parser_service_unit_test_ts --> file_src_modules_python_python_import_parser_service_ts
|
|
113
|
+
file_src_modules_python_python_project_service_ts --> file_src_modules_python_python_constants_ts
|
|
114
|
+
file_src_modules_python_python_project_service_ts --> file_src_modules_python_python_types_ts
|
|
115
|
+
file_src_modules_python_python_project_service_unit_test_ts --> file_src_modules_python_python_project_service_ts
|
|
116
|
+
file_src_modules_python_python_module_ts --> file_src_modules_python_python_import_graph_service_ts
|
|
117
|
+
file_src_modules_python_python_module_ts --> file_src_modules_python_python_import_parser_service_ts
|
|
118
|
+
file_src_modules_python_python_module_ts --> file_src_modules_python_python_project_service_ts
|
|
119
|
+
file_src_modules_python_python_module_ts --> file_src_modules_python_python_service_ts
|
|
120
|
+
file_src_modules_python_python_module_unit_test_ts --> file_src_modules_python_python_module_ts
|
|
121
|
+
file_src_modules_python_python_module_unit_test_ts --> file_src_modules_python_python_service_ts
|
|
122
|
+
file_src_modules_python_python_service_ts --> file_src_modules_python_python_import_graph_service_ts
|
|
123
|
+
file_src_modules_python_python_service_ts --> file_src_modules_python_python_project_service_ts
|
|
124
|
+
file_src_modules_python_python_service_ts --> file_src_modules_python_python_types_ts
|
|
125
|
+
file_src_modules_python_python_service_unit_test_ts --> file_src_modules_python_python_import_graph_service_ts
|
|
126
|
+
file_src_modules_python_python_service_unit_test_ts --> file_src_modules_python_python_project_service_ts
|
|
127
|
+
file_src_modules_python_python_service_unit_test_ts --> file_src_modules_python_python_service_ts
|
|
128
|
+
file_src_modules_python_python_service_unit_test_ts --> file_src_modules_python_python_types_ts
|
|
129
|
+
file_src_modules_typescript_typescript_import_graph_service_ts --> file_src_modules_typescript_typescript_project_service_ts
|
|
130
|
+
file_src_modules_typescript_typescript_import_graph_service_ts --> file_src_modules_typescript_typescript_constants_ts
|
|
131
|
+
file_src_modules_typescript_typescript_import_graph_service_ts --> file_src_modules_typescript_typescript_types_ts
|
|
132
|
+
file_src_modules_typescript_typescript_import_graph_service_unit_test_ts --> file_src_modules_typescript_typescript_import_graph_service_ts
|
|
133
|
+
file_src_modules_typescript_typescript_import_graph_service_unit_test_ts --> file_src_modules_typescript_typescript_project_service_ts
|
|
134
|
+
file_src_modules_typescript_typescript_import_graph_service_unit_test_ts --> file_src_modules_typescript_typescript_constants_ts
|
|
135
|
+
file_src_modules_typescript_typescript_import_graph_service_unit_test_ts --> file_testing_programs_ts
|
|
136
|
+
file_src_modules_typescript_typescript_project_service_ts --> file_src_modules_typescript_typescript_constants_ts
|
|
137
|
+
file_src_modules_typescript_typescript_project_service_ts --> file_src_modules_typescript_typescript_types_ts
|
|
138
|
+
file_src_modules_typescript_typescript_project_service_unit_test_ts --> file_src_modules_typescript_typescript_project_service_ts
|
|
139
|
+
file_src_modules_typescript_typescript_project_service_unit_test_ts --> file_src_modules_typescript_typescript_constants_ts
|
|
140
|
+
file_src_modules_typescript_typescript_project_service_unit_test_ts --> file_src_modules_typescript_typescript_types_ts
|
|
141
|
+
file_src_modules_typescript_typescript_module_ts --> file_src_modules_typescript_typescript_import_graph_service_ts
|
|
142
|
+
file_src_modules_typescript_typescript_module_ts --> file_src_modules_typescript_typescript_project_service_ts
|
|
143
|
+
file_src_modules_typescript_typescript_module_ts --> file_src_modules_typescript_typescript_service_ts
|
|
144
|
+
file_src_modules_typescript_typescript_module_unit_test_ts --> file_src_modules_typescript_typescript_module_ts
|
|
145
|
+
file_src_modules_typescript_typescript_module_unit_test_ts --> file_src_modules_typescript_typescript_service_ts
|
|
146
|
+
file_src_modules_typescript_typescript_service_ts --> file_src_modules_typescript_typescript_import_graph_service_ts
|
|
147
|
+
file_src_modules_typescript_typescript_service_ts --> file_src_modules_typescript_typescript_project_service_ts
|
|
148
|
+
file_src_modules_typescript_typescript_service_ts --> file_src_modules_typescript_typescript_types_ts
|
|
149
|
+
file_src_modules_typescript_typescript_service_unit_test_ts --> file_src_modules_typescript_typescript_import_graph_service_ts
|
|
150
|
+
file_src_modules_typescript_typescript_service_unit_test_ts --> file_src_modules_typescript_typescript_project_service_ts
|
|
151
|
+
file_src_modules_typescript_typescript_service_unit_test_ts --> file_src_modules_typescript_typescript_service_ts
|
|
152
|
+
file_src_modules_typescript_typescript_service_unit_test_ts --> file_src_modules_typescript_typescript_types_ts
|
|
153
|
+
file_testing_programs_ts --> file_src_modules_typescript_typescript_types_ts
|
|
154
|
+
```
|
|
155
|
+
<!-- codependix:end name="codependix-file-imports" -->
|
|
156
|
+
|
|
157
|
+
<!-- callidescope:start -->
|
|
158
|
+
|
|
159
|
+
## π Callidescope
|
|
160
|
+
|
|
161
|
+
Call stacks traced through `packages/ic-suite/codependix/codependix-file-imports`, deepest first. Each frame shows what it takes, what it returns, and what its documentation says.
|
|
162
|
+
|
|
163
|
+
| Measure | Value |
|
|
164
|
+
| --- | --- |
|
|
165
|
+
| Callables | 100 |
|
|
166
|
+
| Files | 26 |
|
|
167
|
+
| Calls traced | 100 |
|
|
168
|
+
| Call stacks | 0 |
|
|
169
|
+
| Deepest stack | 0 |
|
|
170
|
+
| Stacks through recursion | 0 |
|
|
171
|
+
| Unfollowable calls | 1 |
|
|
172
|
+
|
|
173
|
+
### Limits
|
|
174
|
+
|
|
175
|
+
What this project is judged against, as declared in its own `callidescope.config.ts`.
|
|
176
|
+
|
|
177
|
+
| Limit | Value |
|
|
178
|
+
| --- | --- |
|
|
179
|
+
| `maximumDepth` | 8 |
|
|
180
|
+
| `maximumBreadth` | 8 |
|
|
181
|
+
|
|
182
|
+
### Call stacks (depth)
|
|
183
|
+
|
|
184
|
+
None.
|
|
185
|
+
|
|
186
|
+
### Breadth
|
|
187
|
+
|
|
188
|
+
| Callable | Breadth | Calls directly | Location |
|
|
189
|
+
| --- | --- | --- | --- |
|
|
190
|
+
| `TypescriptImportGraphService.buildGraph` | 8 | `TypescriptImportGraphService.resolveOwnedFileNames`, `TypescriptImportGraphService.listOwnedSourceFileNames`, `TypescriptImportGraphService.dedupeEdges`, `TypescriptImportGraphService.flatMap(β¦)`, `TypescriptImportGraphService.flatMap(β¦)`, `TypescriptImportGraphService.toSorted(β¦)`, `TypescriptImportGraphService.map(β¦)`, `TypescriptImportGraphService.filter(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:185` |
|
|
191
|
+
| `PythonImportGraphService.buildGraph` | 7 | `PythonProjectService.listSourceFileNames`, `PythonImportGraphService.dedupeEdges`, `PythonImportGraphService.flatMap(β¦)`, `PythonImportGraphService.flatMap(β¦)`, `PythonImportGraphService.toSorted(β¦)`, `PythonImportGraphService.map(β¦)`, `PythonImportGraphService.filter(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:180` |
|
|
192
|
+
| `FileImportsWorkspaceGraphService.buildWorkspaceGraph` | 4 | `FileImportsWorkspaceGraphService.sortNames`, `FileImportsWorkspaceGraphService.flatMap(β¦)`, `FileImportsWorkspaceGraphService.toSorted(β¦)`, `FileImportsWorkspaceGraphService.flatMap(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:84` |
|
|
193
|
+
|
|
194
|
+
<details>
|
|
195
|
+
<summary>53 more callables</summary>
|
|
196
|
+
|
|
197
|
+
| Callable | Breadth | Calls directly | Location |
|
|
198
|
+
| --- | --- | --- | --- |
|
|
199
|
+
| `PythonImportParserService.parseImportStatement` | 3 | `PythonImportParserService.map(β¦)`, `PythonImportParserService.filter(β¦)`, `PythonImportParserService.map(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-parser.service.ts:105` |
|
|
200
|
+
| `PythonImportParserService.parseImportSpecifiers` | 3 | `PythonImportParserService.isTopLevelImportStart`, `PythonImportParserService.collectStatement`, `PythonImportParserService.parseStatement` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-parser.service.ts:158` |
|
|
201
|
+
| `PythonImportGraphService.collectEdgesForFile` | 3 | `PythonImportParserService.parseImportSpecifiers`, `PythonImportGraphService.resolveSpecifierPath`, `PythonImportGraphService.toRelativePath` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:64` |
|
|
202
|
+
| `TypescriptProjectService.parseConfiguration` | 3 | `TypescriptProjectService.readJsonConfigFile(β¦)`, `TypescriptProjectConfigurationError.constructor`, `TypescriptProjectService.map(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-project.service.ts:51` |
|
|
203
|
+
| `TypescriptImportGraphService.listOwnedSourceFileNames` | 3 | `TypescriptImportGraphService.toSorted(β¦)`, `TypescriptImportGraphService.filter(β¦)`, `TypescriptImportGraphService.resolveOwnedFileNames` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:122` |
|
|
204
|
+
| `FileImportsWorkspaceGraphService.renderMermaid` | 2 | `FileImportsWorkspaceGraphService.map(β¦)`, `FileImportsWorkspaceGraphService.map(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:109` |
|
|
205
|
+
| `PythonImportParserService.collectStatement` | 2 | `PythonImportParserService.stripComment`, `PythonImportParserService.countCharacter` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-parser.service.ts:42` |
|
|
206
|
+
| `PythonImportParserService.isTopLevelImportStart` | 2 | `PythonImportParserService.measureIndent`, `PythonImportParserService.stripComment` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-parser.service.ts:79` |
|
|
207
|
+
| `PythonImportParserService.parseStatement` | 2 | `PythonImportParserService.parseFromStatement`, `PythonImportParserService.parseImportStatement` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-parser.service.ts:126` |
|
|
208
|
+
| `PythonProjectService.discoverProjects` | 2 | `PythonProjectService.map(β¦)`, `PythonProjectService.filter(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-project.service.ts:69` |
|
|
209
|
+
| `PythonProjectService.listSourceFileNames` | 2 | `PythonProjectService.toSorted(β¦)`, `PythonProjectService.listSourceFilesInDirectory` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-project.service.ts:85` |
|
|
210
|
+
| `PythonImportGraphService.renderMermaid` | 2 | `PythonImportGraphService.map(β¦)`, `PythonImportGraphService.map(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:207` |
|
|
211
|
+
| `TypescriptProjectService.discoverProjects` | 2 | `TypescriptProjectService.map(β¦)`, `TypescriptProjectService.filter(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-project.service.ts:107` |
|
|
212
|
+
| `TypescriptImportGraphService.collectEdgesForFile` | 2 | `TypescriptImportGraphService.resolveImportTarget`, `TypescriptImportGraphService.toRelativePath` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:49` |
|
|
213
|
+
| `TypescriptImportGraphService.renderMermaid` | 2 | `TypescriptImportGraphService.map(β¦)`, `TypescriptImportGraphService.map(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:215` |
|
|
214
|
+
| `FileImportsWorkspaceGraphService.renderNode` | 1 | `FileImportsWorkspaceGraphService.toNodeIdentifier` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:64` |
|
|
215
|
+
| `FileImportsWorkspaceGraphService.sortNames` | 1 | `FileImportsWorkspaceGraphService.toSorted(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:69` |
|
|
216
|
+
| `FileImportsWorkspaceGraphService.flatMap(β¦)` | 1 | `FileImportsWorkspaceGraphService.map(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:90` |
|
|
217
|
+
| `FileImportsWorkspaceGraphService.map(β¦)` | 1 | `FileImportsWorkspaceGraphService.qualifyFileName` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:91` |
|
|
218
|
+
| `FileImportsWorkspaceGraphService.flatMap(β¦)` | 1 | `FileImportsWorkspaceGraphService.map(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:97` |
|
|
219
|
+
| `FileImportsWorkspaceGraphService.map(β¦)` | 1 | `FileImportsWorkspaceGraphService.qualifyFileName` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:98` |
|
|
220
|
+
| `FileImportsWorkspaceGraphService.toSorted(β¦)` | 1 | `FileImportsWorkspaceGraphService.compareEdges` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:103` |
|
|
221
|
+
| `FileImportsWorkspaceGraphService.map(β¦)` | 1 | `FileImportsWorkspaceGraphService.renderNode` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:117` |
|
|
222
|
+
| `FileImportsWorkspaceGraphService.map(β¦)` | 1 | `FileImportsWorkspaceGraphService.toNodeIdentifier` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/file-imports-workspace-graph/file-imports-workspace-graph.service.ts:119` |
|
|
223
|
+
| `PythonProjectService.filter(β¦)` | 1 | `PythonProjectService.isPythonProject` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-project.service.ts:73` |
|
|
224
|
+
| `PythonProjectService.map(β¦)` | 1 | `PythonProjectService.describeProject` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-project.service.ts:74` |
|
|
225
|
+
| `PythonImportGraphService.dedupeEdges` | 1 | `PythonImportGraphService.toSorted(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:107` |
|
|
226
|
+
| `PythonImportGraphService.toSorted(β¦)` | 1 | `PythonImportGraphService.compareEdges` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:114` |
|
|
227
|
+
| `PythonImportGraphService.renderNode` | 1 | `PythonImportGraphService.toNodeIdentifier` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:120` |
|
|
228
|
+
| `PythonImportGraphService.resolveSpecifierPath` | 1 | `PythonImportGraphService.ascendDirectories` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:133` |
|
|
229
|
+
| `PythonImportGraphService.flatMap(β¦)` | 1 | `PythonImportGraphService.collectEdgesForFile` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:185` |
|
|
230
|
+
| `PythonImportGraphService.map(β¦)` | 1 | `PythonImportGraphService.toRelativePath` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:193` |
|
|
231
|
+
| `PythonImportGraphService.map(β¦)` | 1 | `PythonImportGraphService.renderNode` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:215` |
|
|
232
|
+
| `PythonImportGraphService.map(β¦)` | 1 | `PythonImportGraphService.toNodeIdentifier` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python-import-graph.service.ts:217` |
|
|
233
|
+
| `PythonService.buildGraph` | 1 | `PythonImportGraphService.buildGraph` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python.service.ts:39` |
|
|
234
|
+
| `PythonService.discoverProjects` | 1 | `PythonProjectService.discoverProjects` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python.service.ts:47` |
|
|
235
|
+
| `PythonService.renderMermaid` | 1 | `PythonImportGraphService.renderMermaid` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/python/python.service.ts:54` |
|
|
236
|
+
| `TypescriptProjectService.buildProgram` | 1 | `TypescriptProjectService.parseConfiguration` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-project.service.ts:78` |
|
|
237
|
+
| `TypescriptProjectService.map(β¦)` | 1 | `TypescriptProjectService.describeProject` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-project.service.ts:116` |
|
|
238
|
+
| `TypescriptImportGraphService.dedupeEdges` | 1 | `TypescriptImportGraphService.toSorted(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:100` |
|
|
239
|
+
| `TypescriptImportGraphService.toSorted(β¦)` | 1 | `TypescriptImportGraphService.compareEdges` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:109` |
|
|
240
|
+
| `TypescriptImportGraphService.renderNode` | 1 | `TypescriptImportGraphService.toNodeIdentifier` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:131` |
|
|
241
|
+
| `TypescriptImportGraphService.resolveImportTarget` | 1 | `TypescriptProjectService.toRealPath` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:136` |
|
|
242
|
+
| `TypescriptImportGraphService.resolveOwnedFileNames` | 1 | `TypescriptImportGraphService.map(β¦)` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:156` |
|
|
243
|
+
| `TypescriptImportGraphService.map(β¦)` | 1 | `TypescriptProjectService.toRealPath` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:162` |
|
|
244
|
+
| `TypescriptImportGraphService.flatMap(β¦)` | 1 | `TypescriptImportGraphService.collectEdgesForFile` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:189` |
|
|
245
|
+
| `TypescriptImportGraphService.map(β¦)` | 1 | `TypescriptImportGraphService.toRelativePath` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:201` |
|
|
246
|
+
| `TypescriptImportGraphService.map(β¦)` | 1 | `TypescriptImportGraphService.renderNode` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:223` |
|
|
247
|
+
| `TypescriptImportGraphService.map(β¦)` | 1 | `TypescriptImportGraphService.toNodeIdentifier` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript-import-graph.service.ts:225` |
|
|
248
|
+
| `TypescriptService.buildGraph` | 1 | `TypescriptImportGraphService.buildGraph` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.service.ts:44` |
|
|
249
|
+
| `TypescriptService.buildProgram` | 1 | `TypescriptProjectService.buildProgram` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.service.ts:49` |
|
|
250
|
+
| `TypescriptService.discoverProjects` | 1 | `TypescriptProjectService.discoverProjects` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.service.ts:57` |
|
|
251
|
+
| `TypescriptService.renderMermaid` | 1 | `TypescriptImportGraphService.renderMermaid` | `packages/ic-suite/codependix/codependix-file-imports/src/modules/typescript/typescript.service.ts:64` |
|
|
252
|
+
|
|
253
|
+
</details>
|
|
254
|
+
<!-- callidescope:end -->
|
|
255
|
+
|
|
256
|
+
<!-- codometer:start -->
|
|
257
|
+
|
|
258
|
+
## β²οΈ Codometer
|
|
259
|
+
|
|
260
|
+
### Project
|
|
261
|
+
|
|
262
|
+

|
|
263
|
+

|
|
264
|
+

|
|
265
|
+

|
|
266
|
+
|
|
267
|
+
### Measured Targets
|
|
268
|
+
|
|
269
|
+

|
|
270
|
+
|
|
271
|
+
### TypeScript
|
|
272
|
+
|
|
273
|
+

|
|
274
|
+

|
|
275
|
+

|
|
276
|
+

|
|
277
|
+

|
|
278
|
+

|
|
279
|
+

|
|
280
|
+
|
|
281
|
+
### JavaScript
|
|
282
|
+
|
|
283
|
+

|
|
284
|
+

|
|
285
|
+

|
|
286
|
+

|
|
287
|
+

|
|
288
|
+

|
|
289
|
+

|
|
290
|
+

|
|
291
|
+

|
|
292
|
+

|
|
293
|
+

|
|
294
|
+

|
|
295
|
+

|
|
296
|
+

|
|
297
|
+
|
|
298
|
+
### Python
|
|
299
|
+
|
|
300
|
+

|
|
301
|
+

|
|
302
|
+

|
|
303
|
+

|
|
304
|
+

|
|
305
|
+

|
|
306
|
+

|
|
307
|
+

|
|
308
|
+

|
|
309
|
+

|
|
310
|
+

|
|
311
|
+

|
|
312
|
+
|
|
313
|
+
### JSON
|
|
314
|
+
|
|
315
|
+

|
|
316
|
+

|
|
317
|
+

|
|
318
|
+

|
|
319
|
+

|
|
320
|
+

|
|
321
|
+

|
|
322
|
+

|
|
323
|
+

|
|
324
|
+

|
|
325
|
+

|
|
326
|
+

|
|
327
|
+
|
|
328
|
+
### YAML
|
|
329
|
+
|
|
330
|
+

|
|
331
|
+

|
|
332
|
+

|
|
333
|
+

|
|
334
|
+

|
|
335
|
+

|
|
336
|
+

|
|
337
|
+

|
|
338
|
+

|
|
339
|
+

|
|
340
|
+

|
|
341
|
+
|
|
342
|
+
### TOML
|
|
343
|
+
|
|
344
|
+

|
|
345
|
+

|
|
346
|
+

|
|
347
|
+

|
|
348
|
+

|
|
349
|
+

|
|
350
|
+

|
|
351
|
+
|
|
352
|
+
### Shell
|
|
353
|
+
|
|
354
|
+

|
|
355
|
+

|
|
356
|
+

|
|
357
|
+

|
|
358
|
+

|
|
359
|
+

|
|
360
|
+

|
|
361
|
+

|
|
362
|
+

|
|
363
|
+

|
|
364
|
+

|
|
365
|
+
|
|
366
|
+
### SQL
|
|
367
|
+
|
|
368
|
+

|
|
369
|
+

|
|
370
|
+

|
|
371
|
+

|
|
372
|
+

|
|
373
|
+

|
|
374
|
+

|
|
375
|
+

|
|
376
|
+

|
|
377
|
+

|
|
378
|
+

|
|
379
|
+
|
|
380
|
+
### HCL
|
|
381
|
+
|
|
382
|
+

|
|
383
|
+

|
|
384
|
+

|
|
385
|
+

|
|
386
|
+

|
|
387
|
+

|
|
388
|
+

|
|
389
|
+

|
|
390
|
+

|
|
391
|
+
|
|
392
|
+
### CSS
|
|
393
|
+
|
|
394
|
+

|
|
395
|
+

|
|
396
|
+

|
|
397
|
+

|
|
398
|
+

|
|
399
|
+

|
|
400
|
+

|
|
401
|
+

|
|
402
|
+

|
|
403
|
+
|
|
404
|
+
### Conventions
|
|
405
|
+
|
|
406
|
+

|
|
407
|
+

|
|
408
|
+

|
|
409
|
+

|
|
410
|
+

|
|
411
|
+

|
|
412
|
+

|
|
413
|
+

|
|
414
|
+

|
|
415
|
+

|
|
416
|
+

|
|
417
|
+

|
|
418
|
+

|
|
419
|
+

|
|
420
|
+

|
|
421
|
+

|
|
422
|
+

|
|
423
|
+

|
|
424
|
+
|
|
425
|
+
### Jupyter
|
|
426
|
+
|
|
427
|
+

|
|
428
|
+

|
|
429
|
+

|
|
430
|
+

|
|
431
|
+

|
|
432
|
+

|
|
433
|
+

|
|
434
|
+

|
|
435
|
+

|
|
436
|
+

|
|
437
|
+

|
|
438
|
+

|
|
439
|
+

|
|
440
|
+

|
|
441
|
+

|
|
442
|
+

|
|
443
|
+

|
|
444
|
+

|
|
445
|
+

|
|
446
|
+

|
|
447
|
+
|
|
448
|
+
### Markdown
|
|
449
|
+
|
|
450
|
+

|
|
451
|
+

|
|
452
|
+

|
|
453
|
+

|
|
454
|
+

|
|
455
|
+

|
|
456
|
+

|
|
457
|
+

|
|
458
|
+

|
|
459
|
+

|
|
460
|
+

|
|
461
|
+

|
|
462
|
+

|
|
463
|
+

|
|
464
|
+

|
|
465
|
+

|
|
466
|
+

|
|
467
|
+

|
|
468
|
+

|
|
469
|
+

|
|
470
|
+
<!-- codometer:end -->
|