depgraph-core 1.9.0 → 1.9.2
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/.vscode/depgraph-output.json +979 -143
- package/depgraph-mcp.js +447 -36
- package/depgraph.js +517 -8
- package/package.json +2 -1
- package/scripts/benchmark.js +138 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"timestamp": "2026-09-
|
|
5
|
-
"totalFiles":
|
|
6
|
-
"totalLines":
|
|
4
|
+
"timestamp": "2026-09-15T10:54:29.270Z",
|
|
5
|
+
"totalFiles": 96,
|
|
6
|
+
"totalLines": 16031
|
|
7
7
|
},
|
|
8
8
|
"summary": {
|
|
9
|
-
"totalNodes":
|
|
10
|
-
"totalEdges":
|
|
9
|
+
"totalNodes": 173,
|
|
10
|
+
"totalEdges": 544,
|
|
11
11
|
"entryPoints": [
|
|
12
12
|
"Calculator__dart_test",
|
|
13
13
|
"PublicClass__dart_test",
|
|
@@ -56,6 +56,8 @@
|
|
|
56
56
|
"extractImports__extractor",
|
|
57
57
|
"extractExports__extractor",
|
|
58
58
|
"extractDart__graphify",
|
|
59
|
+
"isScalar__extractor",
|
|
60
|
+
"baseType__extractor",
|
|
59
61
|
"stripAlias__extractor",
|
|
60
62
|
"registerParser__registry",
|
|
61
63
|
"EntityPattern__registry",
|
|
@@ -126,6 +128,8 @@
|
|
|
126
128
|
"printBanner__depgraph",
|
|
127
129
|
"printSummary__depgraph",
|
|
128
130
|
"printImpact__depgraph",
|
|
131
|
+
"call__benchmark",
|
|
132
|
+
"tokEst__benchmark",
|
|
129
133
|
"CSharpGraphNode__types",
|
|
130
134
|
"CSharpGraphEdge__types",
|
|
131
135
|
"CSharpGraphResult__types",
|
|
@@ -170,6 +174,8 @@
|
|
|
170
174
|
"writeOutput__output",
|
|
171
175
|
"parseFile__parser",
|
|
172
176
|
"parseFiles__parser",
|
|
177
|
+
"RawEntity__types",
|
|
178
|
+
"RawImport__types",
|
|
173
179
|
"DepNode__types",
|
|
174
180
|
"DepGraph__types",
|
|
175
181
|
"ImpactReport__types",
|
|
@@ -182,7 +188,7 @@
|
|
|
182
188
|
"name": "color",
|
|
183
189
|
"type": "function",
|
|
184
190
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
185
|
-
"line":
|
|
191
|
+
"line": 4668,
|
|
186
192
|
"lang": "js",
|
|
187
193
|
"complexity": "low",
|
|
188
194
|
"inDegree": 0,
|
|
@@ -195,7 +201,7 @@
|
|
|
195
201
|
"name": "getFlag",
|
|
196
202
|
"type": "function",
|
|
197
203
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
198
|
-
"line":
|
|
204
|
+
"line": 4679,
|
|
199
205
|
"lang": "js",
|
|
200
206
|
"complexity": "low",
|
|
201
207
|
"inDegree": 0,
|
|
@@ -208,7 +214,7 @@
|
|
|
208
214
|
"name": "printHelp",
|
|
209
215
|
"type": "function",
|
|
210
216
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
211
|
-
"line":
|
|
217
|
+
"line": 4683,
|
|
212
218
|
"lang": "js",
|
|
213
219
|
"complexity": "low",
|
|
214
220
|
"inDegree": 0,
|
|
@@ -221,7 +227,7 @@
|
|
|
221
227
|
"name": "printBanner",
|
|
222
228
|
"type": "function",
|
|
223
229
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
224
|
-
"line":
|
|
230
|
+
"line": 4731,
|
|
225
231
|
"lang": "js",
|
|
226
232
|
"complexity": "low",
|
|
227
233
|
"inDegree": 0,
|
|
@@ -234,7 +240,7 @@
|
|
|
234
240
|
"name": "printSummary",
|
|
235
241
|
"type": "function",
|
|
236
242
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
237
|
-
"line":
|
|
243
|
+
"line": 4738,
|
|
238
244
|
"lang": "js",
|
|
239
245
|
"complexity": "low",
|
|
240
246
|
"inDegree": 0,
|
|
@@ -247,7 +253,7 @@
|
|
|
247
253
|
"name": "printImpact",
|
|
248
254
|
"type": "function",
|
|
249
255
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
250
|
-
"line":
|
|
256
|
+
"line": 4751,
|
|
251
257
|
"lang": "js",
|
|
252
258
|
"complexity": "medium",
|
|
253
259
|
"inDegree": 0,
|
|
@@ -255,6 +261,32 @@
|
|
|
255
261
|
"centralityScore": 0,
|
|
256
262
|
"connections": []
|
|
257
263
|
},
|
|
264
|
+
{
|
|
265
|
+
"id": "call__benchmark",
|
|
266
|
+
"name": "call",
|
|
267
|
+
"type": "function",
|
|
268
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/scripts/benchmark.js",
|
|
269
|
+
"line": 17,
|
|
270
|
+
"lang": "js",
|
|
271
|
+
"complexity": "low",
|
|
272
|
+
"inDegree": 0,
|
|
273
|
+
"outDegree": 0,
|
|
274
|
+
"centralityScore": 0,
|
|
275
|
+
"connections": []
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"id": "tokEst__benchmark",
|
|
279
|
+
"name": "tokEst",
|
|
280
|
+
"type": "function",
|
|
281
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/scripts/benchmark.js",
|
|
282
|
+
"line": 43,
|
|
283
|
+
"lang": "js",
|
|
284
|
+
"complexity": "low",
|
|
285
|
+
"inDegree": 0,
|
|
286
|
+
"outDegree": 0,
|
|
287
|
+
"centralityScore": 0,
|
|
288
|
+
"connections": []
|
|
289
|
+
},
|
|
258
290
|
{
|
|
259
291
|
"id": "Calculator__dart_test",
|
|
260
292
|
"name": "Calculator",
|
|
@@ -807,7 +839,7 @@
|
|
|
807
839
|
"name": "buildPipeline",
|
|
808
840
|
"type": "function",
|
|
809
841
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
810
|
-
"line":
|
|
842
|
+
"line": 111,
|
|
811
843
|
"lang": "js",
|
|
812
844
|
"complexity": "low",
|
|
813
845
|
"inDegree": 0,
|
|
@@ -837,7 +869,7 @@
|
|
|
837
869
|
"name": "buildSubgraph",
|
|
838
870
|
"type": "function",
|
|
839
871
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
840
|
-
"line":
|
|
872
|
+
"line": 123,
|
|
841
873
|
"lang": "js",
|
|
842
874
|
"complexity": "high",
|
|
843
875
|
"inDegree": 0,
|
|
@@ -867,7 +899,7 @@
|
|
|
867
899
|
"name": "buildProseSummary",
|
|
868
900
|
"type": "function",
|
|
869
901
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
870
|
-
"line":
|
|
902
|
+
"line": 158,
|
|
871
903
|
"lang": "js",
|
|
872
904
|
"complexity": "medium",
|
|
873
905
|
"inDegree": 1,
|
|
@@ -898,7 +930,7 @@
|
|
|
898
930
|
"name": "analyzeProject",
|
|
899
931
|
"type": "function",
|
|
900
932
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
901
|
-
"line":
|
|
933
|
+
"line": 196,
|
|
902
934
|
"lang": "js",
|
|
903
935
|
"complexity": "low",
|
|
904
936
|
"inDegree": 1,
|
|
@@ -929,7 +961,7 @@
|
|
|
929
961
|
"name": "analyzeImpact",
|
|
930
962
|
"type": "function",
|
|
931
963
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
932
|
-
"line":
|
|
964
|
+
"line": 233,
|
|
933
965
|
"lang": "js",
|
|
934
966
|
"complexity": "low",
|
|
935
967
|
"inDegree": 1,
|
|
@@ -960,7 +992,7 @@
|
|
|
960
992
|
"name": "analyzeGitImpact",
|
|
961
993
|
"type": "function",
|
|
962
994
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
963
|
-
"line":
|
|
995
|
+
"line": 246,
|
|
964
996
|
"lang": "js",
|
|
965
997
|
"complexity": "low",
|
|
966
998
|
"inDegree": 1,
|
|
@@ -991,7 +1023,7 @@
|
|
|
991
1023
|
"name": "getGraphSummary",
|
|
992
1024
|
"type": "function",
|
|
993
1025
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
994
|
-
"line":
|
|
1026
|
+
"line": 271,
|
|
995
1027
|
"lang": "js",
|
|
996
1028
|
"complexity": "low",
|
|
997
1029
|
"inDegree": 1,
|
|
@@ -1022,7 +1054,7 @@
|
|
|
1022
1054
|
"name": "describeNode",
|
|
1023
1055
|
"type": "function",
|
|
1024
1056
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1025
|
-
"line":
|
|
1057
|
+
"line": 297,
|
|
1026
1058
|
"lang": "js",
|
|
1027
1059
|
"complexity": "high",
|
|
1028
1060
|
"inDegree": 1,
|
|
@@ -1053,7 +1085,7 @@
|
|
|
1053
1085
|
"name": "AnalyzeOptions",
|
|
1054
1086
|
"type": "interface",
|
|
1055
1087
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1056
|
-
"line":
|
|
1088
|
+
"line": 48,
|
|
1057
1089
|
"lang": "js",
|
|
1058
1090
|
"complexity": "low",
|
|
1059
1091
|
"inDegree": 0,
|
|
@@ -1083,7 +1115,7 @@
|
|
|
1083
1115
|
"name": "AnalyzeResult",
|
|
1084
1116
|
"type": "interface",
|
|
1085
1117
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1086
|
-
"line":
|
|
1118
|
+
"line": 68,
|
|
1087
1119
|
"lang": "js",
|
|
1088
1120
|
"complexity": "low",
|
|
1089
1121
|
"inDegree": 0,
|
|
@@ -1113,7 +1145,7 @@
|
|
|
1113
1145
|
"name": "GitImpactResult",
|
|
1114
1146
|
"type": "interface",
|
|
1115
1147
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1116
|
-
"line":
|
|
1148
|
+
"line": 76,
|
|
1117
1149
|
"lang": "js",
|
|
1118
1150
|
"complexity": "low",
|
|
1119
1151
|
"inDegree": 0,
|
|
@@ -1143,7 +1175,7 @@
|
|
|
1143
1175
|
"name": "GraphSummary",
|
|
1144
1176
|
"type": "interface",
|
|
1145
1177
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1146
|
-
"line":
|
|
1178
|
+
"line": 81,
|
|
1147
1179
|
"lang": "js",
|
|
1148
1180
|
"complexity": "low",
|
|
1149
1181
|
"inDegree": 0,
|
|
@@ -1173,7 +1205,7 @@
|
|
|
1173
1205
|
"name": "NodeDescription",
|
|
1174
1206
|
"type": "interface",
|
|
1175
1207
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1176
|
-
"line":
|
|
1208
|
+
"line": 91,
|
|
1177
1209
|
"lang": "js",
|
|
1178
1210
|
"complexity": "low",
|
|
1179
1211
|
"inDegree": 0,
|
|
@@ -1203,7 +1235,7 @@
|
|
|
1203
1235
|
"name": "Verbosity",
|
|
1204
1236
|
"type": "type",
|
|
1205
1237
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1206
|
-
"line":
|
|
1238
|
+
"line": 43,
|
|
1207
1239
|
"lang": "js",
|
|
1208
1240
|
"complexity": "low",
|
|
1209
1241
|
"inDegree": 0,
|
|
@@ -1237,8 +1269,8 @@
|
|
|
1237
1269
|
"lang": "js",
|
|
1238
1270
|
"complexity": "high",
|
|
1239
1271
|
"inDegree": 0,
|
|
1240
|
-
"outDegree":
|
|
1241
|
-
"centralityScore":
|
|
1272
|
+
"outDegree": 15,
|
|
1273
|
+
"centralityScore": 15,
|
|
1242
1274
|
"connections": [
|
|
1243
1275
|
"RawEntity__types",
|
|
1244
1276
|
"RawImport__types",
|
|
@@ -1246,7 +1278,15 @@
|
|
|
1246
1278
|
"cleanDartComments__helpers",
|
|
1247
1279
|
"_fileStem__helpers",
|
|
1248
1280
|
"sanitizeMethodName__helpers",
|
|
1249
|
-
"cleanRustComments__helpers"
|
|
1281
|
+
"cleanRustComments__helpers",
|
|
1282
|
+
"maskSqlComments__helpers",
|
|
1283
|
+
"lineOf__helpers",
|
|
1284
|
+
"collectCteNames__helpers",
|
|
1285
|
+
"collectTableRefs__helpers",
|
|
1286
|
+
"collectFkRefs__helpers",
|
|
1287
|
+
"normIdent__helpers",
|
|
1288
|
+
"findMatchingParen__helpers",
|
|
1289
|
+
"findStatementEnd__helpers"
|
|
1250
1290
|
]
|
|
1251
1291
|
},
|
|
1252
1292
|
{
|
|
@@ -1258,8 +1298,8 @@
|
|
|
1258
1298
|
"lang": "js",
|
|
1259
1299
|
"complexity": "low",
|
|
1260
1300
|
"inDegree": 0,
|
|
1261
|
-
"outDegree":
|
|
1262
|
-
"centralityScore":
|
|
1301
|
+
"outDegree": 15,
|
|
1302
|
+
"centralityScore": 15,
|
|
1263
1303
|
"connections": [
|
|
1264
1304
|
"RawEntity__types",
|
|
1265
1305
|
"RawImport__types",
|
|
@@ -1267,7 +1307,15 @@
|
|
|
1267
1307
|
"cleanDartComments__helpers",
|
|
1268
1308
|
"_fileStem__helpers",
|
|
1269
1309
|
"sanitizeMethodName__helpers",
|
|
1270
|
-
"cleanRustComments__helpers"
|
|
1310
|
+
"cleanRustComments__helpers",
|
|
1311
|
+
"maskSqlComments__helpers",
|
|
1312
|
+
"lineOf__helpers",
|
|
1313
|
+
"collectCteNames__helpers",
|
|
1314
|
+
"collectTableRefs__helpers",
|
|
1315
|
+
"collectFkRefs__helpers",
|
|
1316
|
+
"normIdent__helpers",
|
|
1317
|
+
"findMatchingParen__helpers",
|
|
1318
|
+
"findStatementEnd__helpers"
|
|
1271
1319
|
]
|
|
1272
1320
|
},
|
|
1273
1321
|
{
|
|
@@ -1279,8 +1327,8 @@
|
|
|
1279
1327
|
"lang": "js",
|
|
1280
1328
|
"complexity": "medium",
|
|
1281
1329
|
"inDegree": 0,
|
|
1282
|
-
"outDegree":
|
|
1283
|
-
"centralityScore":
|
|
1330
|
+
"outDegree": 15,
|
|
1331
|
+
"centralityScore": 15,
|
|
1284
1332
|
"connections": [
|
|
1285
1333
|
"RawEntity__types",
|
|
1286
1334
|
"RawImport__types",
|
|
@@ -1288,7 +1336,15 @@
|
|
|
1288
1336
|
"cleanDartComments__helpers",
|
|
1289
1337
|
"_fileStem__helpers",
|
|
1290
1338
|
"sanitizeMethodName__helpers",
|
|
1291
|
-
"cleanRustComments__helpers"
|
|
1339
|
+
"cleanRustComments__helpers",
|
|
1340
|
+
"maskSqlComments__helpers",
|
|
1341
|
+
"lineOf__helpers",
|
|
1342
|
+
"collectCteNames__helpers",
|
|
1343
|
+
"collectTableRefs__helpers",
|
|
1344
|
+
"collectFkRefs__helpers",
|
|
1345
|
+
"normIdent__helpers",
|
|
1346
|
+
"findMatchingParen__helpers",
|
|
1347
|
+
"findStatementEnd__helpers"
|
|
1292
1348
|
]
|
|
1293
1349
|
},
|
|
1294
1350
|
{
|
|
@@ -1707,6 +1763,38 @@
|
|
|
1707
1763
|
"centralityScore": 0,
|
|
1708
1764
|
"connections": []
|
|
1709
1765
|
},
|
|
1766
|
+
{
|
|
1767
|
+
"id": "isScalar__extractor",
|
|
1768
|
+
"name": "isScalar",
|
|
1769
|
+
"type": "function",
|
|
1770
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/prisma/extractor.ts",
|
|
1771
|
+
"line": 10,
|
|
1772
|
+
"lang": "js",
|
|
1773
|
+
"complexity": "low",
|
|
1774
|
+
"inDegree": 0,
|
|
1775
|
+
"outDegree": 2,
|
|
1776
|
+
"centralityScore": 2,
|
|
1777
|
+
"connections": [
|
|
1778
|
+
"RawEntity__types",
|
|
1779
|
+
"RawImport__types"
|
|
1780
|
+
]
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
"id": "baseType__extractor",
|
|
1784
|
+
"name": "baseType",
|
|
1785
|
+
"type": "function",
|
|
1786
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/prisma/extractor.ts",
|
|
1787
|
+
"line": 15,
|
|
1788
|
+
"lang": "js",
|
|
1789
|
+
"complexity": "low",
|
|
1790
|
+
"inDegree": 0,
|
|
1791
|
+
"outDegree": 2,
|
|
1792
|
+
"centralityScore": 2,
|
|
1793
|
+
"connections": [
|
|
1794
|
+
"RawEntity__types",
|
|
1795
|
+
"RawImport__types"
|
|
1796
|
+
]
|
|
1797
|
+
},
|
|
1710
1798
|
{
|
|
1711
1799
|
"id": "stripAlias__extractor",
|
|
1712
1800
|
"name": "stripAlias",
|
|
@@ -2024,6 +2112,150 @@
|
|
|
2024
2112
|
"extractRust__graphify"
|
|
2025
2113
|
]
|
|
2026
2114
|
},
|
|
2115
|
+
{
|
|
2116
|
+
"id": "lineOf__helpers",
|
|
2117
|
+
"name": "lineOf",
|
|
2118
|
+
"type": "function",
|
|
2119
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2120
|
+
"line": 23,
|
|
2121
|
+
"lang": "js",
|
|
2122
|
+
"complexity": "low",
|
|
2123
|
+
"inDegree": 3,
|
|
2124
|
+
"outDegree": 1,
|
|
2125
|
+
"centralityScore": 7,
|
|
2126
|
+
"connections": [
|
|
2127
|
+
"extractEntities__extractor",
|
|
2128
|
+
"extractImports__extractor",
|
|
2129
|
+
"extractExports__extractor",
|
|
2130
|
+
"RawEntity__types"
|
|
2131
|
+
]
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
"id": "normIdent__helpers",
|
|
2135
|
+
"name": "normIdent",
|
|
2136
|
+
"type": "function",
|
|
2137
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2138
|
+
"line": 32,
|
|
2139
|
+
"lang": "js",
|
|
2140
|
+
"complexity": "low",
|
|
2141
|
+
"inDegree": 3,
|
|
2142
|
+
"outDegree": 1,
|
|
2143
|
+
"centralityScore": 7,
|
|
2144
|
+
"connections": [
|
|
2145
|
+
"extractEntities__extractor",
|
|
2146
|
+
"extractImports__extractor",
|
|
2147
|
+
"extractExports__extractor",
|
|
2148
|
+
"RawEntity__types"
|
|
2149
|
+
]
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"id": "maskSqlComments__helpers",
|
|
2153
|
+
"name": "maskSqlComments",
|
|
2154
|
+
"type": "function",
|
|
2155
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2156
|
+
"line": 61,
|
|
2157
|
+
"lang": "js",
|
|
2158
|
+
"complexity": "high",
|
|
2159
|
+
"inDegree": 3,
|
|
2160
|
+
"outDegree": 1,
|
|
2161
|
+
"centralityScore": 7,
|
|
2162
|
+
"connections": [
|
|
2163
|
+
"extractEntities__extractor",
|
|
2164
|
+
"extractImports__extractor",
|
|
2165
|
+
"extractExports__extractor",
|
|
2166
|
+
"RawEntity__types"
|
|
2167
|
+
]
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"id": "collectCteNames__helpers",
|
|
2171
|
+
"name": "collectCteNames",
|
|
2172
|
+
"type": "function",
|
|
2173
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2174
|
+
"line": 146,
|
|
2175
|
+
"lang": "js",
|
|
2176
|
+
"complexity": "low",
|
|
2177
|
+
"inDegree": 3,
|
|
2178
|
+
"outDegree": 1,
|
|
2179
|
+
"centralityScore": 7,
|
|
2180
|
+
"connections": [
|
|
2181
|
+
"extractEntities__extractor",
|
|
2182
|
+
"extractImports__extractor",
|
|
2183
|
+
"extractExports__extractor",
|
|
2184
|
+
"RawEntity__types"
|
|
2185
|
+
]
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"id": "findMatchingParen__helpers",
|
|
2189
|
+
"name": "findMatchingParen",
|
|
2190
|
+
"type": "function",
|
|
2191
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2192
|
+
"line": 159,
|
|
2193
|
+
"lang": "js",
|
|
2194
|
+
"complexity": "medium",
|
|
2195
|
+
"inDegree": 3,
|
|
2196
|
+
"outDegree": 1,
|
|
2197
|
+
"centralityScore": 7,
|
|
2198
|
+
"connections": [
|
|
2199
|
+
"extractEntities__extractor",
|
|
2200
|
+
"extractImports__extractor",
|
|
2201
|
+
"extractExports__extractor",
|
|
2202
|
+
"RawEntity__types"
|
|
2203
|
+
]
|
|
2204
|
+
},
|
|
2205
|
+
{
|
|
2206
|
+
"id": "findStatementEnd__helpers",
|
|
2207
|
+
"name": "findStatementEnd",
|
|
2208
|
+
"type": "function",
|
|
2209
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2210
|
+
"line": 172,
|
|
2211
|
+
"lang": "js",
|
|
2212
|
+
"complexity": "low",
|
|
2213
|
+
"inDegree": 3,
|
|
2214
|
+
"outDegree": 1,
|
|
2215
|
+
"centralityScore": 7,
|
|
2216
|
+
"connections": [
|
|
2217
|
+
"extractEntities__extractor",
|
|
2218
|
+
"extractImports__extractor",
|
|
2219
|
+
"extractExports__extractor",
|
|
2220
|
+
"RawEntity__types"
|
|
2221
|
+
]
|
|
2222
|
+
},
|
|
2223
|
+
{
|
|
2224
|
+
"id": "collectTableRefs__helpers",
|
|
2225
|
+
"name": "collectTableRefs",
|
|
2226
|
+
"type": "function",
|
|
2227
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2228
|
+
"line": 187,
|
|
2229
|
+
"lang": "js",
|
|
2230
|
+
"complexity": "low",
|
|
2231
|
+
"inDegree": 3,
|
|
2232
|
+
"outDegree": 1,
|
|
2233
|
+
"centralityScore": 7,
|
|
2234
|
+
"connections": [
|
|
2235
|
+
"extractEntities__extractor",
|
|
2236
|
+
"extractImports__extractor",
|
|
2237
|
+
"extractExports__extractor",
|
|
2238
|
+
"RawEntity__types"
|
|
2239
|
+
]
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
"id": "collectFkRefs__helpers",
|
|
2243
|
+
"name": "collectFkRefs",
|
|
2244
|
+
"type": "function",
|
|
2245
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2246
|
+
"line": 214,
|
|
2247
|
+
"lang": "js",
|
|
2248
|
+
"complexity": "low",
|
|
2249
|
+
"inDegree": 3,
|
|
2250
|
+
"outDegree": 1,
|
|
2251
|
+
"centralityScore": 7,
|
|
2252
|
+
"connections": [
|
|
2253
|
+
"extractEntities__extractor",
|
|
2254
|
+
"extractImports__extractor",
|
|
2255
|
+
"extractExports__extractor",
|
|
2256
|
+
"RawEntity__types"
|
|
2257
|
+
]
|
|
2258
|
+
},
|
|
2027
2259
|
{
|
|
2028
2260
|
"id": "SwiftGraphNode__types",
|
|
2029
2261
|
"name": "SwiftGraphNode",
|
|
@@ -2068,7 +2300,7 @@
|
|
|
2068
2300
|
"name": "color",
|
|
2069
2301
|
"type": "function",
|
|
2070
2302
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2071
|
-
"line":
|
|
2303
|
+
"line": 39,
|
|
2072
2304
|
"lang": "js",
|
|
2073
2305
|
"complexity": "low",
|
|
2074
2306
|
"inDegree": 0,
|
|
@@ -2090,7 +2322,7 @@
|
|
|
2090
2322
|
"name": "getFlag",
|
|
2091
2323
|
"type": "function",
|
|
2092
2324
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2093
|
-
"line":
|
|
2325
|
+
"line": 59,
|
|
2094
2326
|
"lang": "js",
|
|
2095
2327
|
"complexity": "low",
|
|
2096
2328
|
"inDegree": 0,
|
|
@@ -2112,7 +2344,7 @@
|
|
|
2112
2344
|
"name": "printHelp",
|
|
2113
2345
|
"type": "function",
|
|
2114
2346
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2115
|
-
"line":
|
|
2347
|
+
"line": 67,
|
|
2116
2348
|
"lang": "js",
|
|
2117
2349
|
"complexity": "low",
|
|
2118
2350
|
"inDegree": 0,
|
|
@@ -2134,7 +2366,7 @@
|
|
|
2134
2366
|
"name": "printBanner",
|
|
2135
2367
|
"type": "function",
|
|
2136
2368
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2137
|
-
"line":
|
|
2369
|
+
"line": 119,
|
|
2138
2370
|
"lang": "js",
|
|
2139
2371
|
"complexity": "low",
|
|
2140
2372
|
"inDegree": 0,
|
|
@@ -2156,7 +2388,7 @@
|
|
|
2156
2388
|
"name": "printSummary",
|
|
2157
2389
|
"type": "function",
|
|
2158
2390
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2159
|
-
"line":
|
|
2391
|
+
"line": 135,
|
|
2160
2392
|
"lang": "js",
|
|
2161
2393
|
"complexity": "low",
|
|
2162
2394
|
"inDegree": 0,
|
|
@@ -2178,7 +2410,7 @@
|
|
|
2178
2410
|
"name": "printImpact",
|
|
2179
2411
|
"type": "function",
|
|
2180
2412
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2181
|
-
"line":
|
|
2413
|
+
"line": 159,
|
|
2182
2414
|
"lang": "js",
|
|
2183
2415
|
"complexity": "medium",
|
|
2184
2416
|
"inDegree": 0,
|
|
@@ -2200,7 +2432,7 @@
|
|
|
2200
2432
|
"name": "dim",
|
|
2201
2433
|
"type": "function",
|
|
2202
2434
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2203
|
-
"line":
|
|
2435
|
+
"line": 43,
|
|
2204
2436
|
"lang": "js",
|
|
2205
2437
|
"complexity": "low",
|
|
2206
2438
|
"inDegree": 0,
|
|
@@ -2222,7 +2454,7 @@
|
|
|
2222
2454
|
"name": "bold",
|
|
2223
2455
|
"type": "function",
|
|
2224
2456
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2225
|
-
"line":
|
|
2457
|
+
"line": 44,
|
|
2226
2458
|
"lang": "js",
|
|
2227
2459
|
"complexity": "low",
|
|
2228
2460
|
"inDegree": 0,
|
|
@@ -2244,7 +2476,7 @@
|
|
|
2244
2476
|
"name": "green",
|
|
2245
2477
|
"type": "function",
|
|
2246
2478
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2247
|
-
"line":
|
|
2479
|
+
"line": 45,
|
|
2248
2480
|
"lang": "js",
|
|
2249
2481
|
"complexity": "low",
|
|
2250
2482
|
"inDegree": 0,
|
|
@@ -2266,7 +2498,7 @@
|
|
|
2266
2498
|
"name": "yellow",
|
|
2267
2499
|
"type": "function",
|
|
2268
2500
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2269
|
-
"line":
|
|
2501
|
+
"line": 46,
|
|
2270
2502
|
"lang": "js",
|
|
2271
2503
|
"complexity": "low",
|
|
2272
2504
|
"inDegree": 0,
|
|
@@ -2288,7 +2520,7 @@
|
|
|
2288
2520
|
"name": "red",
|
|
2289
2521
|
"type": "function",
|
|
2290
2522
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2291
|
-
"line":
|
|
2523
|
+
"line": 47,
|
|
2292
2524
|
"lang": "js",
|
|
2293
2525
|
"complexity": "low",
|
|
2294
2526
|
"inDegree": 0,
|
|
@@ -2310,7 +2542,7 @@
|
|
|
2310
2542
|
"name": "cyan",
|
|
2311
2543
|
"type": "function",
|
|
2312
2544
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2313
|
-
"line":
|
|
2545
|
+
"line": 48,
|
|
2314
2546
|
"lang": "js",
|
|
2315
2547
|
"complexity": "low",
|
|
2316
2548
|
"inDegree": 0,
|
|
@@ -2610,7 +2842,7 @@
|
|
|
2610
2842
|
"name": "makeId",
|
|
2611
2843
|
"type": "function",
|
|
2612
2844
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/stages/graph.ts",
|
|
2613
|
-
"line":
|
|
2845
|
+
"line": 129,
|
|
2614
2846
|
"lang": "js",
|
|
2615
2847
|
"complexity": "low",
|
|
2616
2848
|
"inDegree": 0,
|
|
@@ -2628,7 +2860,7 @@
|
|
|
2628
2860
|
"name": "resolvePath",
|
|
2629
2861
|
"type": "function",
|
|
2630
2862
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/stages/graph.ts",
|
|
2631
|
-
"line":
|
|
2863
|
+
"line": 144,
|
|
2632
2864
|
"lang": "js",
|
|
2633
2865
|
"complexity": "high",
|
|
2634
2866
|
"inDegree": 0,
|
|
@@ -3156,18 +3388,28 @@
|
|
|
3156
3388
|
"line": 8,
|
|
3157
3389
|
"lang": "js",
|
|
3158
3390
|
"complexity": "low",
|
|
3159
|
-
"inDegree":
|
|
3391
|
+
"inDegree": 20,
|
|
3160
3392
|
"outDegree": 0,
|
|
3161
|
-
"centralityScore":
|
|
3393
|
+
"centralityScore": 40,
|
|
3162
3394
|
"connections": [
|
|
3163
3395
|
"extractEntities__extractor",
|
|
3164
3396
|
"extractImports__extractor",
|
|
3165
3397
|
"extractExports__extractor",
|
|
3398
|
+
"isScalar__extractor",
|
|
3399
|
+
"baseType__extractor",
|
|
3166
3400
|
"stripAlias__extractor",
|
|
3167
3401
|
"registerParser__registry",
|
|
3168
3402
|
"getLanguageParser__registry",
|
|
3169
3403
|
"EntityPattern__registry",
|
|
3170
3404
|
"LanguageParser__registry",
|
|
3405
|
+
"lineOf__helpers",
|
|
3406
|
+
"normIdent__helpers",
|
|
3407
|
+
"maskSqlComments__helpers",
|
|
3408
|
+
"collectCteNames__helpers",
|
|
3409
|
+
"findMatchingParen__helpers",
|
|
3410
|
+
"findStatementEnd__helpers",
|
|
3411
|
+
"collectTableRefs__helpers",
|
|
3412
|
+
"collectFkRefs__helpers",
|
|
3171
3413
|
"parseFile__parser",
|
|
3172
3414
|
"parseFiles__parser"
|
|
3173
3415
|
]
|
|
@@ -3180,13 +3422,15 @@
|
|
|
3180
3422
|
"line": 22,
|
|
3181
3423
|
"lang": "js",
|
|
3182
3424
|
"complexity": "low",
|
|
3183
|
-
"inDegree":
|
|
3425
|
+
"inDegree": 12,
|
|
3184
3426
|
"outDegree": 0,
|
|
3185
|
-
"centralityScore":
|
|
3427
|
+
"centralityScore": 24,
|
|
3186
3428
|
"connections": [
|
|
3187
3429
|
"extractEntities__extractor",
|
|
3188
3430
|
"extractImports__extractor",
|
|
3189
3431
|
"extractExports__extractor",
|
|
3432
|
+
"isScalar__extractor",
|
|
3433
|
+
"baseType__extractor",
|
|
3190
3434
|
"stripAlias__extractor",
|
|
3191
3435
|
"registerParser__registry",
|
|
3192
3436
|
"getLanguageParser__registry",
|
|
@@ -3201,7 +3445,7 @@
|
|
|
3201
3445
|
"name": "ParsedFile",
|
|
3202
3446
|
"type": "interface",
|
|
3203
3447
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3204
|
-
"line":
|
|
3448
|
+
"line": 47,
|
|
3205
3449
|
"lang": "js",
|
|
3206
3450
|
"complexity": "low",
|
|
3207
3451
|
"inDegree": 7,
|
|
@@ -3222,7 +3466,7 @@
|
|
|
3222
3466
|
"name": "DepNode",
|
|
3223
3467
|
"type": "interface",
|
|
3224
3468
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3225
|
-
"line":
|
|
3469
|
+
"line": 65,
|
|
3226
3470
|
"lang": "js",
|
|
3227
3471
|
"complexity": "low",
|
|
3228
3472
|
"inDegree": 24,
|
|
@@ -3260,7 +3504,7 @@
|
|
|
3260
3504
|
"name": "DepEdge",
|
|
3261
3505
|
"type": "interface",
|
|
3262
3506
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3263
|
-
"line":
|
|
3507
|
+
"line": 99,
|
|
3264
3508
|
"lang": "js",
|
|
3265
3509
|
"complexity": "low",
|
|
3266
3510
|
"inDegree": 3,
|
|
@@ -3277,7 +3521,7 @@
|
|
|
3277
3521
|
"name": "DepGraph",
|
|
3278
3522
|
"type": "interface",
|
|
3279
3523
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3280
|
-
"line":
|
|
3524
|
+
"line": 113,
|
|
3281
3525
|
"lang": "js",
|
|
3282
3526
|
"complexity": "low",
|
|
3283
3527
|
"inDegree": 35,
|
|
@@ -3326,7 +3570,7 @@
|
|
|
3326
3570
|
"name": "AffectedNode",
|
|
3327
3571
|
"type": "interface",
|
|
3328
3572
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3329
|
-
"line":
|
|
3573
|
+
"line": 123,
|
|
3330
3574
|
"lang": "js",
|
|
3331
3575
|
"complexity": "low",
|
|
3332
3576
|
"inDegree": 10,
|
|
@@ -3350,7 +3594,7 @@
|
|
|
3350
3594
|
"name": "ImpactReport",
|
|
3351
3595
|
"type": "interface",
|
|
3352
3596
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3353
|
-
"line":
|
|
3597
|
+
"line": 145,
|
|
3354
3598
|
"lang": "js",
|
|
3355
3599
|
"complexity": "low",
|
|
3356
3600
|
"inDegree": 25,
|
|
@@ -3389,7 +3633,7 @@
|
|
|
3389
3633
|
"name": "OutputJSON",
|
|
3390
3634
|
"type": "interface",
|
|
3391
3635
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3392
|
-
"line":
|
|
3636
|
+
"line": 167,
|
|
3393
3637
|
"lang": "js",
|
|
3394
3638
|
"complexity": "low",
|
|
3395
3639
|
"inDegree": 15,
|
|
@@ -5239,6 +5483,30 @@
|
|
|
5239
5483
|
"type": "imports",
|
|
5240
5484
|
"description": "extractDart imports _findMatchingBrace from helpers.ts"
|
|
5241
5485
|
},
|
|
5486
|
+
{
|
|
5487
|
+
"from": "isScalar__extractor",
|
|
5488
|
+
"to": "RawEntity__types",
|
|
5489
|
+
"type": "imports",
|
|
5490
|
+
"description": "isScalar imports RawEntity from types.ts"
|
|
5491
|
+
},
|
|
5492
|
+
{
|
|
5493
|
+
"from": "baseType__extractor",
|
|
5494
|
+
"to": "RawEntity__types",
|
|
5495
|
+
"type": "imports",
|
|
5496
|
+
"description": "baseType imports RawEntity from types.ts"
|
|
5497
|
+
},
|
|
5498
|
+
{
|
|
5499
|
+
"from": "isScalar__extractor",
|
|
5500
|
+
"to": "RawImport__types",
|
|
5501
|
+
"type": "imports",
|
|
5502
|
+
"description": "isScalar imports RawImport from types.ts"
|
|
5503
|
+
},
|
|
5504
|
+
{
|
|
5505
|
+
"from": "baseType__extractor",
|
|
5506
|
+
"to": "RawImport__types",
|
|
5507
|
+
"type": "imports",
|
|
5508
|
+
"description": "baseType imports RawImport from types.ts"
|
|
5509
|
+
},
|
|
5242
5510
|
{
|
|
5243
5511
|
"from": "stripAlias__extractor",
|
|
5244
5512
|
"to": "RawEntity__types",
|
|
@@ -5402,80 +5670,272 @@
|
|
|
5402
5670
|
"description": "extractRust imports _rustCollectTypeRefs from helpers.ts"
|
|
5403
5671
|
},
|
|
5404
5672
|
{
|
|
5405
|
-
"from": "
|
|
5406
|
-
"to": "
|
|
5673
|
+
"from": "extractEntities__extractor",
|
|
5674
|
+
"to": "maskSqlComments__helpers",
|
|
5407
5675
|
"type": "imports",
|
|
5408
|
-
"description": "
|
|
5676
|
+
"description": "extractEntities imports maskSqlComments from helpers.ts"
|
|
5409
5677
|
},
|
|
5410
5678
|
{
|
|
5411
|
-
"from": "
|
|
5412
|
-
"to": "
|
|
5679
|
+
"from": "extractImports__extractor",
|
|
5680
|
+
"to": "maskSqlComments__helpers",
|
|
5413
5681
|
"type": "imports",
|
|
5414
|
-
"description": "
|
|
5682
|
+
"description": "extractImports imports maskSqlComments from helpers.ts"
|
|
5415
5683
|
},
|
|
5416
5684
|
{
|
|
5417
|
-
"from": "
|
|
5418
|
-
"to": "
|
|
5685
|
+
"from": "extractExports__extractor",
|
|
5686
|
+
"to": "maskSqlComments__helpers",
|
|
5419
5687
|
"type": "imports",
|
|
5420
|
-
"description": "
|
|
5688
|
+
"description": "extractExports imports maskSqlComments from helpers.ts"
|
|
5421
5689
|
},
|
|
5422
5690
|
{
|
|
5423
|
-
"from": "
|
|
5424
|
-
"to": "
|
|
5691
|
+
"from": "extractEntities__extractor",
|
|
5692
|
+
"to": "lineOf__helpers",
|
|
5425
5693
|
"type": "imports",
|
|
5426
|
-
"description": "
|
|
5694
|
+
"description": "extractEntities imports lineOf from helpers.ts"
|
|
5427
5695
|
},
|
|
5428
5696
|
{
|
|
5429
|
-
"from": "
|
|
5430
|
-
"to": "
|
|
5697
|
+
"from": "extractImports__extractor",
|
|
5698
|
+
"to": "lineOf__helpers",
|
|
5431
5699
|
"type": "imports",
|
|
5432
|
-
"description": "
|
|
5700
|
+
"description": "extractImports imports lineOf from helpers.ts"
|
|
5433
5701
|
},
|
|
5434
5702
|
{
|
|
5435
|
-
"from": "
|
|
5436
|
-
"to": "
|
|
5703
|
+
"from": "extractExports__extractor",
|
|
5704
|
+
"to": "lineOf__helpers",
|
|
5437
5705
|
"type": "imports",
|
|
5438
|
-
"description": "
|
|
5706
|
+
"description": "extractExports imports lineOf from helpers.ts"
|
|
5439
5707
|
},
|
|
5440
5708
|
{
|
|
5441
|
-
"from": "
|
|
5442
|
-
"to": "
|
|
5709
|
+
"from": "extractEntities__extractor",
|
|
5710
|
+
"to": "collectCteNames__helpers",
|
|
5443
5711
|
"type": "imports",
|
|
5444
|
-
"description": "
|
|
5712
|
+
"description": "extractEntities imports collectCteNames from helpers.ts"
|
|
5445
5713
|
},
|
|
5446
5714
|
{
|
|
5447
|
-
"from": "
|
|
5448
|
-
"to": "
|
|
5715
|
+
"from": "extractImports__extractor",
|
|
5716
|
+
"to": "collectCteNames__helpers",
|
|
5449
5717
|
"type": "imports",
|
|
5450
|
-
"description": "
|
|
5718
|
+
"description": "extractImports imports collectCteNames from helpers.ts"
|
|
5451
5719
|
},
|
|
5452
5720
|
{
|
|
5453
|
-
"from": "
|
|
5454
|
-
"to": "
|
|
5721
|
+
"from": "extractExports__extractor",
|
|
5722
|
+
"to": "collectCteNames__helpers",
|
|
5455
5723
|
"type": "imports",
|
|
5456
|
-
"description": "
|
|
5724
|
+
"description": "extractExports imports collectCteNames from helpers.ts"
|
|
5457
5725
|
},
|
|
5458
5726
|
{
|
|
5459
|
-
"from": "
|
|
5460
|
-
"to": "
|
|
5727
|
+
"from": "extractEntities__extractor",
|
|
5728
|
+
"to": "collectTableRefs__helpers",
|
|
5461
5729
|
"type": "imports",
|
|
5462
|
-
"description": "
|
|
5730
|
+
"description": "extractEntities imports collectTableRefs from helpers.ts"
|
|
5463
5731
|
},
|
|
5464
5732
|
{
|
|
5465
|
-
"from": "
|
|
5466
|
-
"to": "
|
|
5733
|
+
"from": "extractImports__extractor",
|
|
5734
|
+
"to": "collectTableRefs__helpers",
|
|
5467
5735
|
"type": "imports",
|
|
5468
|
-
"description": "
|
|
5736
|
+
"description": "extractImports imports collectTableRefs from helpers.ts"
|
|
5469
5737
|
},
|
|
5470
5738
|
{
|
|
5471
|
-
"from": "
|
|
5472
|
-
"to": "
|
|
5739
|
+
"from": "extractExports__extractor",
|
|
5740
|
+
"to": "collectTableRefs__helpers",
|
|
5473
5741
|
"type": "imports",
|
|
5474
|
-
"description": "
|
|
5742
|
+
"description": "extractExports imports collectTableRefs from helpers.ts"
|
|
5475
5743
|
},
|
|
5476
5744
|
{
|
|
5477
|
-
"from": "
|
|
5478
|
-
"to": "
|
|
5745
|
+
"from": "extractEntities__extractor",
|
|
5746
|
+
"to": "collectFkRefs__helpers",
|
|
5747
|
+
"type": "imports",
|
|
5748
|
+
"description": "extractEntities imports collectFkRefs from helpers.ts"
|
|
5749
|
+
},
|
|
5750
|
+
{
|
|
5751
|
+
"from": "extractImports__extractor",
|
|
5752
|
+
"to": "collectFkRefs__helpers",
|
|
5753
|
+
"type": "imports",
|
|
5754
|
+
"description": "extractImports imports collectFkRefs from helpers.ts"
|
|
5755
|
+
},
|
|
5756
|
+
{
|
|
5757
|
+
"from": "extractExports__extractor",
|
|
5758
|
+
"to": "collectFkRefs__helpers",
|
|
5759
|
+
"type": "imports",
|
|
5760
|
+
"description": "extractExports imports collectFkRefs from helpers.ts"
|
|
5761
|
+
},
|
|
5762
|
+
{
|
|
5763
|
+
"from": "extractEntities__extractor",
|
|
5764
|
+
"to": "normIdent__helpers",
|
|
5765
|
+
"type": "imports",
|
|
5766
|
+
"description": "extractEntities imports normIdent from helpers.ts"
|
|
5767
|
+
},
|
|
5768
|
+
{
|
|
5769
|
+
"from": "extractImports__extractor",
|
|
5770
|
+
"to": "normIdent__helpers",
|
|
5771
|
+
"type": "imports",
|
|
5772
|
+
"description": "extractImports imports normIdent from helpers.ts"
|
|
5773
|
+
},
|
|
5774
|
+
{
|
|
5775
|
+
"from": "extractExports__extractor",
|
|
5776
|
+
"to": "normIdent__helpers",
|
|
5777
|
+
"type": "imports",
|
|
5778
|
+
"description": "extractExports imports normIdent from helpers.ts"
|
|
5779
|
+
},
|
|
5780
|
+
{
|
|
5781
|
+
"from": "extractEntities__extractor",
|
|
5782
|
+
"to": "findMatchingParen__helpers",
|
|
5783
|
+
"type": "imports",
|
|
5784
|
+
"description": "extractEntities imports findMatchingParen from helpers.ts"
|
|
5785
|
+
},
|
|
5786
|
+
{
|
|
5787
|
+
"from": "extractImports__extractor",
|
|
5788
|
+
"to": "findMatchingParen__helpers",
|
|
5789
|
+
"type": "imports",
|
|
5790
|
+
"description": "extractImports imports findMatchingParen from helpers.ts"
|
|
5791
|
+
},
|
|
5792
|
+
{
|
|
5793
|
+
"from": "extractExports__extractor",
|
|
5794
|
+
"to": "findMatchingParen__helpers",
|
|
5795
|
+
"type": "imports",
|
|
5796
|
+
"description": "extractExports imports findMatchingParen from helpers.ts"
|
|
5797
|
+
},
|
|
5798
|
+
{
|
|
5799
|
+
"from": "extractEntities__extractor",
|
|
5800
|
+
"to": "findStatementEnd__helpers",
|
|
5801
|
+
"type": "imports",
|
|
5802
|
+
"description": "extractEntities imports findStatementEnd from helpers.ts"
|
|
5803
|
+
},
|
|
5804
|
+
{
|
|
5805
|
+
"from": "extractImports__extractor",
|
|
5806
|
+
"to": "findStatementEnd__helpers",
|
|
5807
|
+
"type": "imports",
|
|
5808
|
+
"description": "extractImports imports findStatementEnd from helpers.ts"
|
|
5809
|
+
},
|
|
5810
|
+
{
|
|
5811
|
+
"from": "extractExports__extractor",
|
|
5812
|
+
"to": "findStatementEnd__helpers",
|
|
5813
|
+
"type": "imports",
|
|
5814
|
+
"description": "extractExports imports findStatementEnd from helpers.ts"
|
|
5815
|
+
},
|
|
5816
|
+
{
|
|
5817
|
+
"from": "lineOf__helpers",
|
|
5818
|
+
"to": "RawEntity__types",
|
|
5819
|
+
"type": "imports",
|
|
5820
|
+
"description": "lineOf imports RawEntity from types.ts"
|
|
5821
|
+
},
|
|
5822
|
+
{
|
|
5823
|
+
"from": "normIdent__helpers",
|
|
5824
|
+
"to": "RawEntity__types",
|
|
5825
|
+
"type": "imports",
|
|
5826
|
+
"description": "normIdent imports RawEntity from types.ts"
|
|
5827
|
+
},
|
|
5828
|
+
{
|
|
5829
|
+
"from": "maskSqlComments__helpers",
|
|
5830
|
+
"to": "RawEntity__types",
|
|
5831
|
+
"type": "imports",
|
|
5832
|
+
"description": "maskSqlComments imports RawEntity from types.ts"
|
|
5833
|
+
},
|
|
5834
|
+
{
|
|
5835
|
+
"from": "collectCteNames__helpers",
|
|
5836
|
+
"to": "RawEntity__types",
|
|
5837
|
+
"type": "imports",
|
|
5838
|
+
"description": "collectCteNames imports RawEntity from types.ts"
|
|
5839
|
+
},
|
|
5840
|
+
{
|
|
5841
|
+
"from": "findMatchingParen__helpers",
|
|
5842
|
+
"to": "RawEntity__types",
|
|
5843
|
+
"type": "imports",
|
|
5844
|
+
"description": "findMatchingParen imports RawEntity from types.ts"
|
|
5845
|
+
},
|
|
5846
|
+
{
|
|
5847
|
+
"from": "findStatementEnd__helpers",
|
|
5848
|
+
"to": "RawEntity__types",
|
|
5849
|
+
"type": "imports",
|
|
5850
|
+
"description": "findStatementEnd imports RawEntity from types.ts"
|
|
5851
|
+
},
|
|
5852
|
+
{
|
|
5853
|
+
"from": "collectTableRefs__helpers",
|
|
5854
|
+
"to": "RawEntity__types",
|
|
5855
|
+
"type": "imports",
|
|
5856
|
+
"description": "collectTableRefs imports RawEntity from types.ts"
|
|
5857
|
+
},
|
|
5858
|
+
{
|
|
5859
|
+
"from": "collectFkRefs__helpers",
|
|
5860
|
+
"to": "RawEntity__types",
|
|
5861
|
+
"type": "imports",
|
|
5862
|
+
"description": "collectFkRefs imports RawEntity from types.ts"
|
|
5863
|
+
},
|
|
5864
|
+
{
|
|
5865
|
+
"from": "color__main",
|
|
5866
|
+
"to": "collectFiles__collector",
|
|
5867
|
+
"type": "imports",
|
|
5868
|
+
"description": "color imports collectFiles from collector.ts"
|
|
5869
|
+
},
|
|
5870
|
+
{
|
|
5871
|
+
"from": "getFlag__main",
|
|
5872
|
+
"to": "collectFiles__collector",
|
|
5873
|
+
"type": "imports",
|
|
5874
|
+
"description": "getFlag imports collectFiles from collector.ts"
|
|
5875
|
+
},
|
|
5876
|
+
{
|
|
5877
|
+
"from": "printHelp__main",
|
|
5878
|
+
"to": "collectFiles__collector",
|
|
5879
|
+
"type": "imports",
|
|
5880
|
+
"description": "printHelp imports collectFiles from collector.ts"
|
|
5881
|
+
},
|
|
5882
|
+
{
|
|
5883
|
+
"from": "printBanner__main",
|
|
5884
|
+
"to": "collectFiles__collector",
|
|
5885
|
+
"type": "imports",
|
|
5886
|
+
"description": "printBanner imports collectFiles from collector.ts"
|
|
5887
|
+
},
|
|
5888
|
+
{
|
|
5889
|
+
"from": "printSummary__main",
|
|
5890
|
+
"to": "collectFiles__collector",
|
|
5891
|
+
"type": "imports",
|
|
5892
|
+
"description": "printSummary imports collectFiles from collector.ts"
|
|
5893
|
+
},
|
|
5894
|
+
{
|
|
5895
|
+
"from": "printImpact__main",
|
|
5896
|
+
"to": "collectFiles__collector",
|
|
5897
|
+
"type": "imports",
|
|
5898
|
+
"description": "printImpact imports collectFiles from collector.ts"
|
|
5899
|
+
},
|
|
5900
|
+
{
|
|
5901
|
+
"from": "dim__main",
|
|
5902
|
+
"to": "collectFiles__collector",
|
|
5903
|
+
"type": "imports",
|
|
5904
|
+
"description": "dim imports collectFiles from collector.ts"
|
|
5905
|
+
},
|
|
5906
|
+
{
|
|
5907
|
+
"from": "bold__main",
|
|
5908
|
+
"to": "collectFiles__collector",
|
|
5909
|
+
"type": "imports",
|
|
5910
|
+
"description": "bold imports collectFiles from collector.ts"
|
|
5911
|
+
},
|
|
5912
|
+
{
|
|
5913
|
+
"from": "green__main",
|
|
5914
|
+
"to": "collectFiles__collector",
|
|
5915
|
+
"type": "imports",
|
|
5916
|
+
"description": "green imports collectFiles from collector.ts"
|
|
5917
|
+
},
|
|
5918
|
+
{
|
|
5919
|
+
"from": "yellow__main",
|
|
5920
|
+
"to": "collectFiles__collector",
|
|
5921
|
+
"type": "imports",
|
|
5922
|
+
"description": "yellow imports collectFiles from collector.ts"
|
|
5923
|
+
},
|
|
5924
|
+
{
|
|
5925
|
+
"from": "red__main",
|
|
5926
|
+
"to": "collectFiles__collector",
|
|
5927
|
+
"type": "imports",
|
|
5928
|
+
"description": "red imports collectFiles from collector.ts"
|
|
5929
|
+
},
|
|
5930
|
+
{
|
|
5931
|
+
"from": "cyan__main",
|
|
5932
|
+
"to": "collectFiles__collector",
|
|
5933
|
+
"type": "imports",
|
|
5934
|
+
"description": "cyan imports collectFiles from collector.ts"
|
|
5935
|
+
},
|
|
5936
|
+
{
|
|
5937
|
+
"from": "color__main",
|
|
5938
|
+
"to": "parseFiles__parser",
|
|
5479
5939
|
"type": "imports",
|
|
5480
5940
|
"description": "color imports parseFiles from parser.ts"
|
|
5481
5941
|
},
|
|
@@ -6468,42 +6928,42 @@
|
|
|
6468
6928
|
{
|
|
6469
6929
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
6470
6930
|
"lang": "js",
|
|
6471
|
-
"lines":
|
|
6931
|
+
"lines": 4857,
|
|
6472
6932
|
"entities": [
|
|
6473
6933
|
{
|
|
6474
6934
|
"name": "color",
|
|
6475
6935
|
"type": "function",
|
|
6476
|
-
"line":
|
|
6936
|
+
"line": 4668,
|
|
6477
6937
|
"complexity": "low"
|
|
6478
6938
|
},
|
|
6479
6939
|
{
|
|
6480
6940
|
"name": "getFlag",
|
|
6481
6941
|
"type": "function",
|
|
6482
|
-
"line":
|
|
6942
|
+
"line": 4679,
|
|
6483
6943
|
"complexity": "low"
|
|
6484
6944
|
},
|
|
6485
6945
|
{
|
|
6486
6946
|
"name": "printHelp",
|
|
6487
6947
|
"type": "function",
|
|
6488
|
-
"line":
|
|
6948
|
+
"line": 4683,
|
|
6489
6949
|
"complexity": "low"
|
|
6490
6950
|
},
|
|
6491
6951
|
{
|
|
6492
6952
|
"name": "printBanner",
|
|
6493
6953
|
"type": "function",
|
|
6494
|
-
"line":
|
|
6954
|
+
"line": 4731,
|
|
6495
6955
|
"complexity": "low"
|
|
6496
6956
|
},
|
|
6497
6957
|
{
|
|
6498
6958
|
"name": "printSummary",
|
|
6499
6959
|
"type": "function",
|
|
6500
|
-
"line":
|
|
6960
|
+
"line": 4738,
|
|
6501
6961
|
"complexity": "low"
|
|
6502
6962
|
},
|
|
6503
6963
|
{
|
|
6504
6964
|
"name": "printImpact",
|
|
6505
6965
|
"type": "function",
|
|
6506
|
-
"line":
|
|
6966
|
+
"line": 4751,
|
|
6507
6967
|
"complexity": "medium"
|
|
6508
6968
|
}
|
|
6509
6969
|
],
|
|
@@ -6518,6 +6978,56 @@
|
|
|
6518
6978
|
],
|
|
6519
6979
|
"exports": []
|
|
6520
6980
|
},
|
|
6981
|
+
{
|
|
6982
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/scripts/benchmark.js",
|
|
6983
|
+
"lang": "js",
|
|
6984
|
+
"lines": 139,
|
|
6985
|
+
"entities": [
|
|
6986
|
+
{
|
|
6987
|
+
"name": "call",
|
|
6988
|
+
"type": "function",
|
|
6989
|
+
"line": 17,
|
|
6990
|
+
"complexity": "low"
|
|
6991
|
+
},
|
|
6992
|
+
{
|
|
6993
|
+
"name": "tokEst",
|
|
6994
|
+
"type": "function",
|
|
6995
|
+
"line": 43,
|
|
6996
|
+
"complexity": "low"
|
|
6997
|
+
}
|
|
6998
|
+
],
|
|
6999
|
+
"imports": [
|
|
7000
|
+
{
|
|
7001
|
+
"source": "child_process",
|
|
7002
|
+
"names": [
|
|
7003
|
+
"execSync"
|
|
7004
|
+
],
|
|
7005
|
+
"isLocal": false
|
|
7006
|
+
},
|
|
7007
|
+
{
|
|
7008
|
+
"source": "path",
|
|
7009
|
+
"names": [
|
|
7010
|
+
"path"
|
|
7011
|
+
],
|
|
7012
|
+
"isLocal": false
|
|
7013
|
+
},
|
|
7014
|
+
{
|
|
7015
|
+
"source": "os",
|
|
7016
|
+
"names": [
|
|
7017
|
+
"os"
|
|
7018
|
+
],
|
|
7019
|
+
"isLocal": false
|
|
7020
|
+
},
|
|
7021
|
+
{
|
|
7022
|
+
"source": "fs",
|
|
7023
|
+
"names": [
|
|
7024
|
+
"fs"
|
|
7025
|
+
],
|
|
7026
|
+
"isLocal": false
|
|
7027
|
+
}
|
|
7028
|
+
],
|
|
7029
|
+
"exports": []
|
|
7030
|
+
},
|
|
6521
7031
|
{
|
|
6522
7032
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/__tests__/collector.test.ts",
|
|
6523
7033
|
"lang": "js",
|
|
@@ -7401,6 +7911,34 @@
|
|
|
7401
7911
|
],
|
|
7402
7912
|
"exports": []
|
|
7403
7913
|
},
|
|
7914
|
+
{
|
|
7915
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/__tests__/sql.test.ts",
|
|
7916
|
+
"lang": "js",
|
|
7917
|
+
"lines": 117,
|
|
7918
|
+
"entities": [],
|
|
7919
|
+
"imports": [
|
|
7920
|
+
{
|
|
7921
|
+
"source": "vitest",
|
|
7922
|
+
"names": [
|
|
7923
|
+
"describe",
|
|
7924
|
+
"it",
|
|
7925
|
+
"expect",
|
|
7926
|
+
"beforeEach"
|
|
7927
|
+
],
|
|
7928
|
+
"isLocal": false
|
|
7929
|
+
},
|
|
7930
|
+
{
|
|
7931
|
+
"source": "../languages/sql/extractor",
|
|
7932
|
+
"names": [
|
|
7933
|
+
"extractEntities",
|
|
7934
|
+
"extractImports",
|
|
7935
|
+
"extractExports"
|
|
7936
|
+
],
|
|
7937
|
+
"isLocal": true
|
|
7938
|
+
}
|
|
7939
|
+
],
|
|
7940
|
+
"exports": []
|
|
7941
|
+
},
|
|
7404
7942
|
{
|
|
7405
7943
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/__tests__/swift.test.ts",
|
|
7406
7944
|
"lang": "js",
|
|
@@ -7452,90 +7990,90 @@
|
|
|
7452
7990
|
{
|
|
7453
7991
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
7454
7992
|
"lang": "js",
|
|
7455
|
-
"lines":
|
|
7993
|
+
"lines": 346,
|
|
7456
7994
|
"entities": [
|
|
7457
7995
|
{
|
|
7458
7996
|
"name": "buildPipeline",
|
|
7459
7997
|
"type": "function",
|
|
7460
|
-
"line":
|
|
7998
|
+
"line": 111,
|
|
7461
7999
|
"complexity": "low"
|
|
7462
8000
|
},
|
|
7463
8001
|
{
|
|
7464
8002
|
"name": "buildSubgraph",
|
|
7465
8003
|
"type": "function",
|
|
7466
|
-
"line":
|
|
8004
|
+
"line": 123,
|
|
7467
8005
|
"complexity": "high"
|
|
7468
8006
|
},
|
|
7469
8007
|
{
|
|
7470
8008
|
"name": "buildProseSummary",
|
|
7471
8009
|
"type": "function",
|
|
7472
|
-
"line":
|
|
8010
|
+
"line": 158,
|
|
7473
8011
|
"complexity": "medium"
|
|
7474
8012
|
},
|
|
7475
8013
|
{
|
|
7476
8014
|
"name": "analyzeProject",
|
|
7477
8015
|
"type": "function",
|
|
7478
|
-
"line":
|
|
8016
|
+
"line": 196,
|
|
7479
8017
|
"complexity": "low"
|
|
7480
8018
|
},
|
|
7481
8019
|
{
|
|
7482
8020
|
"name": "analyzeImpact",
|
|
7483
8021
|
"type": "function",
|
|
7484
|
-
"line":
|
|
8022
|
+
"line": 233,
|
|
7485
8023
|
"complexity": "low"
|
|
7486
8024
|
},
|
|
7487
8025
|
{
|
|
7488
8026
|
"name": "analyzeGitImpact",
|
|
7489
8027
|
"type": "function",
|
|
7490
|
-
"line":
|
|
8028
|
+
"line": 246,
|
|
7491
8029
|
"complexity": "low"
|
|
7492
8030
|
},
|
|
7493
8031
|
{
|
|
7494
8032
|
"name": "getGraphSummary",
|
|
7495
8033
|
"type": "function",
|
|
7496
|
-
"line":
|
|
8034
|
+
"line": 271,
|
|
7497
8035
|
"complexity": "low"
|
|
7498
8036
|
},
|
|
7499
8037
|
{
|
|
7500
8038
|
"name": "describeNode",
|
|
7501
8039
|
"type": "function",
|
|
7502
|
-
"line":
|
|
8040
|
+
"line": 297,
|
|
7503
8041
|
"complexity": "high"
|
|
7504
8042
|
},
|
|
7505
8043
|
{
|
|
7506
8044
|
"name": "AnalyzeOptions",
|
|
7507
8045
|
"type": "interface",
|
|
7508
|
-
"line":
|
|
8046
|
+
"line": 48,
|
|
7509
8047
|
"complexity": "low"
|
|
7510
8048
|
},
|
|
7511
8049
|
{
|
|
7512
8050
|
"name": "AnalyzeResult",
|
|
7513
8051
|
"type": "interface",
|
|
7514
|
-
"line":
|
|
8052
|
+
"line": 68,
|
|
7515
8053
|
"complexity": "low"
|
|
7516
8054
|
},
|
|
7517
8055
|
{
|
|
7518
8056
|
"name": "GitImpactResult",
|
|
7519
8057
|
"type": "interface",
|
|
7520
|
-
"line":
|
|
8058
|
+
"line": 76,
|
|
7521
8059
|
"complexity": "low"
|
|
7522
8060
|
},
|
|
7523
8061
|
{
|
|
7524
8062
|
"name": "GraphSummary",
|
|
7525
8063
|
"type": "interface",
|
|
7526
|
-
"line":
|
|
8064
|
+
"line": 81,
|
|
7527
8065
|
"complexity": "low"
|
|
7528
8066
|
},
|
|
7529
8067
|
{
|
|
7530
8068
|
"name": "NodeDescription",
|
|
7531
8069
|
"type": "interface",
|
|
7532
|
-
"line":
|
|
8070
|
+
"line": 91,
|
|
7533
8071
|
"complexity": "low"
|
|
7534
8072
|
},
|
|
7535
8073
|
{
|
|
7536
8074
|
"name": "Verbosity",
|
|
7537
8075
|
"type": "type",
|
|
7538
|
-
"line":
|
|
8076
|
+
"line": 43,
|
|
7539
8077
|
"complexity": "low"
|
|
7540
8078
|
}
|
|
7541
8079
|
],
|
|
@@ -8918,6 +9456,95 @@
|
|
|
8918
9456
|
"PhpGraphResult"
|
|
8919
9457
|
]
|
|
8920
9458
|
},
|
|
9459
|
+
{
|
|
9460
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/prisma/extractor.ts",
|
|
9461
|
+
"lang": "js",
|
|
9462
|
+
"lines": 94,
|
|
9463
|
+
"entities": [
|
|
9464
|
+
{
|
|
9465
|
+
"name": "isScalar",
|
|
9466
|
+
"type": "function",
|
|
9467
|
+
"line": 10,
|
|
9468
|
+
"complexity": "low"
|
|
9469
|
+
},
|
|
9470
|
+
{
|
|
9471
|
+
"name": "baseType",
|
|
9472
|
+
"type": "function",
|
|
9473
|
+
"line": 15,
|
|
9474
|
+
"complexity": "low"
|
|
9475
|
+
},
|
|
9476
|
+
{
|
|
9477
|
+
"name": "extractEntities",
|
|
9478
|
+
"type": "function",
|
|
9479
|
+
"line": 23,
|
|
9480
|
+
"complexity": "low"
|
|
9481
|
+
},
|
|
9482
|
+
{
|
|
9483
|
+
"name": "extractImports",
|
|
9484
|
+
"type": "function",
|
|
9485
|
+
"line": 46,
|
|
9486
|
+
"complexity": "medium"
|
|
9487
|
+
},
|
|
9488
|
+
{
|
|
9489
|
+
"name": "extractExports",
|
|
9490
|
+
"type": "function",
|
|
9491
|
+
"line": 89,
|
|
9492
|
+
"complexity": "low"
|
|
9493
|
+
}
|
|
9494
|
+
],
|
|
9495
|
+
"imports": [
|
|
9496
|
+
{
|
|
9497
|
+
"source": "../../types",
|
|
9498
|
+
"names": [
|
|
9499
|
+
"RawEntity",
|
|
9500
|
+
"RawImport"
|
|
9501
|
+
],
|
|
9502
|
+
"isLocal": true
|
|
9503
|
+
},
|
|
9504
|
+
{
|
|
9505
|
+
"source": "path",
|
|
9506
|
+
"names": [
|
|
9507
|
+
"path"
|
|
9508
|
+
],
|
|
9509
|
+
"isLocal": false
|
|
9510
|
+
}
|
|
9511
|
+
],
|
|
9512
|
+
"exports": [
|
|
9513
|
+
"extractEntities",
|
|
9514
|
+
"extractImports",
|
|
9515
|
+
"extractExports"
|
|
9516
|
+
]
|
|
9517
|
+
},
|
|
9518
|
+
{
|
|
9519
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/prisma/index.ts",
|
|
9520
|
+
"lang": "js",
|
|
9521
|
+
"lines": 21,
|
|
9522
|
+
"entities": [],
|
|
9523
|
+
"imports": [
|
|
9524
|
+
{
|
|
9525
|
+
"source": "../registry",
|
|
9526
|
+
"names": [
|
|
9527
|
+
"LanguageParser",
|
|
9528
|
+
"registerParser",
|
|
9529
|
+
"EntityPattern"
|
|
9530
|
+
],
|
|
9531
|
+
"isLocal": true
|
|
9532
|
+
},
|
|
9533
|
+
{
|
|
9534
|
+
"source": "./extractor",
|
|
9535
|
+
"names": [
|
|
9536
|
+
"extractEntities",
|
|
9537
|
+
"extractImports",
|
|
9538
|
+
"extractExports"
|
|
9539
|
+
],
|
|
9540
|
+
"isLocal": true
|
|
9541
|
+
}
|
|
9542
|
+
],
|
|
9543
|
+
"exports": [
|
|
9544
|
+
"prismaEntityPatterns",
|
|
9545
|
+
"PrismaParser"
|
|
9546
|
+
]
|
|
9547
|
+
},
|
|
8921
9548
|
{
|
|
8922
9549
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/python/extractor.ts",
|
|
8923
9550
|
"lang": "js",
|
|
@@ -9619,6 +10246,215 @@
|
|
|
9619
10246
|
"RustGraphResult"
|
|
9620
10247
|
]
|
|
9621
10248
|
},
|
|
10249
|
+
{
|
|
10250
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/extractor.ts",
|
|
10251
|
+
"lang": "js",
|
|
10252
|
+
"lines": 148,
|
|
10253
|
+
"entities": [
|
|
10254
|
+
{
|
|
10255
|
+
"name": "extractEntities",
|
|
10256
|
+
"type": "function",
|
|
10257
|
+
"line": 23,
|
|
10258
|
+
"complexity": "medium"
|
|
10259
|
+
},
|
|
10260
|
+
{
|
|
10261
|
+
"name": "extractImports",
|
|
10262
|
+
"type": "function",
|
|
10263
|
+
"line": 74,
|
|
10264
|
+
"complexity": "high"
|
|
10265
|
+
},
|
|
10266
|
+
{
|
|
10267
|
+
"name": "extractExports",
|
|
10268
|
+
"type": "function",
|
|
10269
|
+
"line": 131,
|
|
10270
|
+
"complexity": "low"
|
|
10271
|
+
}
|
|
10272
|
+
],
|
|
10273
|
+
"imports": [
|
|
10274
|
+
{
|
|
10275
|
+
"source": "../../types",
|
|
10276
|
+
"names": [
|
|
10277
|
+
"RawEntity",
|
|
10278
|
+
"RawImport"
|
|
10279
|
+
],
|
|
10280
|
+
"isLocal": true
|
|
10281
|
+
},
|
|
10282
|
+
{
|
|
10283
|
+
"source": "./patterns",
|
|
10284
|
+
"names": [
|
|
10285
|
+
"sqlEntityPatterns"
|
|
10286
|
+
],
|
|
10287
|
+
"isLocal": true
|
|
10288
|
+
},
|
|
10289
|
+
{
|
|
10290
|
+
"source": "./helpers",
|
|
10291
|
+
"names": [
|
|
10292
|
+
"maskSqlComments",
|
|
10293
|
+
"lineOf",
|
|
10294
|
+
"collectCteNames",
|
|
10295
|
+
"collectTableRefs",
|
|
10296
|
+
"collectFkRefs",
|
|
10297
|
+
"ROUTINE_RECOVERY_RX",
|
|
10298
|
+
"normIdent",
|
|
10299
|
+
"findMatchingParen",
|
|
10300
|
+
"findStatementEnd",
|
|
10301
|
+
"QUAL_NAME",
|
|
10302
|
+
""
|
|
10303
|
+
],
|
|
10304
|
+
"isLocal": true
|
|
10305
|
+
},
|
|
10306
|
+
{
|
|
10307
|
+
"source": "path",
|
|
10308
|
+
"names": [
|
|
10309
|
+
"path"
|
|
10310
|
+
],
|
|
10311
|
+
"isLocal": false
|
|
10312
|
+
}
|
|
10313
|
+
],
|
|
10314
|
+
"exports": [
|
|
10315
|
+
"extractEntities",
|
|
10316
|
+
"extractImports",
|
|
10317
|
+
"extractExports"
|
|
10318
|
+
]
|
|
10319
|
+
},
|
|
10320
|
+
{
|
|
10321
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
10322
|
+
"lang": "js",
|
|
10323
|
+
"lines": 229,
|
|
10324
|
+
"entities": [
|
|
10325
|
+
{
|
|
10326
|
+
"name": "lineOf",
|
|
10327
|
+
"type": "function",
|
|
10328
|
+
"line": 23,
|
|
10329
|
+
"complexity": "low"
|
|
10330
|
+
},
|
|
10331
|
+
{
|
|
10332
|
+
"name": "normIdent",
|
|
10333
|
+
"type": "function",
|
|
10334
|
+
"line": 32,
|
|
10335
|
+
"complexity": "low"
|
|
10336
|
+
},
|
|
10337
|
+
{
|
|
10338
|
+
"name": "maskSqlComments",
|
|
10339
|
+
"type": "function",
|
|
10340
|
+
"line": 61,
|
|
10341
|
+
"complexity": "high"
|
|
10342
|
+
},
|
|
10343
|
+
{
|
|
10344
|
+
"name": "collectCteNames",
|
|
10345
|
+
"type": "function",
|
|
10346
|
+
"line": 146,
|
|
10347
|
+
"complexity": "low"
|
|
10348
|
+
},
|
|
10349
|
+
{
|
|
10350
|
+
"name": "findMatchingParen",
|
|
10351
|
+
"type": "function",
|
|
10352
|
+
"line": 159,
|
|
10353
|
+
"complexity": "medium"
|
|
10354
|
+
},
|
|
10355
|
+
{
|
|
10356
|
+
"name": "findStatementEnd",
|
|
10357
|
+
"type": "function",
|
|
10358
|
+
"line": 172,
|
|
10359
|
+
"complexity": "low"
|
|
10360
|
+
},
|
|
10361
|
+
{
|
|
10362
|
+
"name": "collectTableRefs",
|
|
10363
|
+
"type": "function",
|
|
10364
|
+
"line": 187,
|
|
10365
|
+
"complexity": "low"
|
|
10366
|
+
},
|
|
10367
|
+
{
|
|
10368
|
+
"name": "collectFkRefs",
|
|
10369
|
+
"type": "function",
|
|
10370
|
+
"line": 214,
|
|
10371
|
+
"complexity": "low"
|
|
10372
|
+
}
|
|
10373
|
+
],
|
|
10374
|
+
"imports": [
|
|
10375
|
+
{
|
|
10376
|
+
"source": "../../types",
|
|
10377
|
+
"names": [
|
|
10378
|
+
"RawEntity"
|
|
10379
|
+
],
|
|
10380
|
+
"isLocal": true
|
|
10381
|
+
}
|
|
10382
|
+
],
|
|
10383
|
+
"exports": [
|
|
10384
|
+
"NAME_PART",
|
|
10385
|
+
"QUAL_NAME",
|
|
10386
|
+
"ROUTINE_RECOVERY_RX",
|
|
10387
|
+
"lineOf",
|
|
10388
|
+
"normIdent",
|
|
10389
|
+
"maskSqlComments",
|
|
10390
|
+
"collectCteNames",
|
|
10391
|
+
"findMatchingParen",
|
|
10392
|
+
"findStatementEnd",
|
|
10393
|
+
"collectTableRefs",
|
|
10394
|
+
"collectFkRefs",
|
|
10395
|
+
"NON_TABLES"
|
|
10396
|
+
]
|
|
10397
|
+
},
|
|
10398
|
+
{
|
|
10399
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/index.ts",
|
|
10400
|
+
"lang": "js",
|
|
10401
|
+
"lines": 19,
|
|
10402
|
+
"entities": [],
|
|
10403
|
+
"imports": [
|
|
10404
|
+
{
|
|
10405
|
+
"source": "../registry",
|
|
10406
|
+
"names": [
|
|
10407
|
+
"LanguageParser",
|
|
10408
|
+
"registerParser"
|
|
10409
|
+
],
|
|
10410
|
+
"isLocal": true
|
|
10411
|
+
},
|
|
10412
|
+
{
|
|
10413
|
+
"source": "./patterns",
|
|
10414
|
+
"names": [
|
|
10415
|
+
"sqlEntityPatterns"
|
|
10416
|
+
],
|
|
10417
|
+
"isLocal": true
|
|
10418
|
+
},
|
|
10419
|
+
{
|
|
10420
|
+
"source": "./extractor",
|
|
10421
|
+
"names": [
|
|
10422
|
+
"extractEntities",
|
|
10423
|
+
"extractImports",
|
|
10424
|
+
"extractExports"
|
|
10425
|
+
],
|
|
10426
|
+
"isLocal": true
|
|
10427
|
+
}
|
|
10428
|
+
],
|
|
10429
|
+
"exports": [
|
|
10430
|
+
"SqlParser"
|
|
10431
|
+
]
|
|
10432
|
+
},
|
|
10433
|
+
{
|
|
10434
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/patterns.ts",
|
|
10435
|
+
"lang": "js",
|
|
10436
|
+
"lines": 51,
|
|
10437
|
+
"entities": [],
|
|
10438
|
+
"imports": [
|
|
10439
|
+
{
|
|
10440
|
+
"source": "../registry",
|
|
10441
|
+
"names": [
|
|
10442
|
+
"EntityPattern"
|
|
10443
|
+
],
|
|
10444
|
+
"isLocal": true
|
|
10445
|
+
},
|
|
10446
|
+
{
|
|
10447
|
+
"source": "./helpers",
|
|
10448
|
+
"names": [
|
|
10449
|
+
"QUAL_NAME"
|
|
10450
|
+
],
|
|
10451
|
+
"isLocal": true
|
|
10452
|
+
}
|
|
10453
|
+
],
|
|
10454
|
+
"exports": [
|
|
10455
|
+
"sqlEntityPatterns"
|
|
10456
|
+
]
|
|
10457
|
+
},
|
|
9622
10458
|
{
|
|
9623
10459
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/swift/extractor.ts",
|
|
9624
10460
|
"lang": "js",
|
|
@@ -9792,78 +10628,78 @@
|
|
|
9792
10628
|
{
|
|
9793
10629
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
9794
10630
|
"lang": "js",
|
|
9795
|
-
"lines":
|
|
10631
|
+
"lines": 300,
|
|
9796
10632
|
"entities": [
|
|
9797
10633
|
{
|
|
9798
10634
|
"name": "color",
|
|
9799
10635
|
"type": "function",
|
|
9800
|
-
"line":
|
|
10636
|
+
"line": 39,
|
|
9801
10637
|
"complexity": "low"
|
|
9802
10638
|
},
|
|
9803
10639
|
{
|
|
9804
10640
|
"name": "getFlag",
|
|
9805
10641
|
"type": "function",
|
|
9806
|
-
"line":
|
|
10642
|
+
"line": 59,
|
|
9807
10643
|
"complexity": "low"
|
|
9808
10644
|
},
|
|
9809
10645
|
{
|
|
9810
10646
|
"name": "printHelp",
|
|
9811
10647
|
"type": "function",
|
|
9812
|
-
"line":
|
|
10648
|
+
"line": 67,
|
|
9813
10649
|
"complexity": "low"
|
|
9814
10650
|
},
|
|
9815
10651
|
{
|
|
9816
10652
|
"name": "printBanner",
|
|
9817
10653
|
"type": "function",
|
|
9818
|
-
"line":
|
|
10654
|
+
"line": 119,
|
|
9819
10655
|
"complexity": "low"
|
|
9820
10656
|
},
|
|
9821
10657
|
{
|
|
9822
10658
|
"name": "printSummary",
|
|
9823
10659
|
"type": "function",
|
|
9824
|
-
"line":
|
|
10660
|
+
"line": 135,
|
|
9825
10661
|
"complexity": "low"
|
|
9826
10662
|
},
|
|
9827
10663
|
{
|
|
9828
10664
|
"name": "printImpact",
|
|
9829
10665
|
"type": "function",
|
|
9830
|
-
"line":
|
|
10666
|
+
"line": 159,
|
|
9831
10667
|
"complexity": "medium"
|
|
9832
10668
|
},
|
|
9833
10669
|
{
|
|
9834
10670
|
"name": "dim",
|
|
9835
10671
|
"type": "function",
|
|
9836
|
-
"line":
|
|
10672
|
+
"line": 43,
|
|
9837
10673
|
"complexity": "low"
|
|
9838
10674
|
},
|
|
9839
10675
|
{
|
|
9840
10676
|
"name": "bold",
|
|
9841
10677
|
"type": "function",
|
|
9842
|
-
"line":
|
|
10678
|
+
"line": 44,
|
|
9843
10679
|
"complexity": "low"
|
|
9844
10680
|
},
|
|
9845
10681
|
{
|
|
9846
10682
|
"name": "green",
|
|
9847
10683
|
"type": "function",
|
|
9848
|
-
"line":
|
|
10684
|
+
"line": 45,
|
|
9849
10685
|
"complexity": "low"
|
|
9850
10686
|
},
|
|
9851
10687
|
{
|
|
9852
10688
|
"name": "yellow",
|
|
9853
10689
|
"type": "function",
|
|
9854
|
-
"line":
|
|
10690
|
+
"line": 46,
|
|
9855
10691
|
"complexity": "low"
|
|
9856
10692
|
},
|
|
9857
10693
|
{
|
|
9858
10694
|
"name": "red",
|
|
9859
10695
|
"type": "function",
|
|
9860
|
-
"line":
|
|
10696
|
+
"line": 47,
|
|
9861
10697
|
"complexity": "low"
|
|
9862
10698
|
},
|
|
9863
10699
|
{
|
|
9864
10700
|
"name": "cyan",
|
|
9865
10701
|
"type": "function",
|
|
9866
|
-
"line":
|
|
10702
|
+
"line": 48,
|
|
9867
10703
|
"complexity": "low"
|
|
9868
10704
|
}
|
|
9869
10705
|
],
|
|
@@ -10105,7 +10941,7 @@
|
|
|
10105
10941
|
{
|
|
10106
10942
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/stages/graph.ts",
|
|
10107
10943
|
"lang": "js",
|
|
10108
|
-
"lines":
|
|
10944
|
+
"lines": 204,
|
|
10109
10945
|
"entities": [
|
|
10110
10946
|
{
|
|
10111
10947
|
"name": "buildGraph",
|
|
@@ -10116,13 +10952,13 @@
|
|
|
10116
10952
|
{
|
|
10117
10953
|
"name": "makeId",
|
|
10118
10954
|
"type": "function",
|
|
10119
|
-
"line":
|
|
10955
|
+
"line": 129,
|
|
10120
10956
|
"complexity": "low"
|
|
10121
10957
|
},
|
|
10122
10958
|
{
|
|
10123
10959
|
"name": "resolvePath",
|
|
10124
10960
|
"type": "function",
|
|
10125
|
-
"line":
|
|
10961
|
+
"line": 144,
|
|
10126
10962
|
"complexity": "high"
|
|
10127
10963
|
}
|
|
10128
10964
|
],
|
|
@@ -10401,7 +11237,7 @@
|
|
|
10401
11237
|
{
|
|
10402
11238
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
10403
11239
|
"lang": "js",
|
|
10404
|
-
"lines":
|
|
11240
|
+
"lines": 202,
|
|
10405
11241
|
"entities": [
|
|
10406
11242
|
{
|
|
10407
11243
|
"name": "RawEntity",
|
|
@@ -10418,43 +11254,43 @@
|
|
|
10418
11254
|
{
|
|
10419
11255
|
"name": "ParsedFile",
|
|
10420
11256
|
"type": "interface",
|
|
10421
|
-
"line":
|
|
11257
|
+
"line": 47,
|
|
10422
11258
|
"complexity": "low"
|
|
10423
11259
|
},
|
|
10424
11260
|
{
|
|
10425
11261
|
"name": "DepNode",
|
|
10426
11262
|
"type": "interface",
|
|
10427
|
-
"line":
|
|
11263
|
+
"line": 65,
|
|
10428
11264
|
"complexity": "low"
|
|
10429
11265
|
},
|
|
10430
11266
|
{
|
|
10431
11267
|
"name": "DepEdge",
|
|
10432
11268
|
"type": "interface",
|
|
10433
|
-
"line":
|
|
11269
|
+
"line": 99,
|
|
10434
11270
|
"complexity": "low"
|
|
10435
11271
|
},
|
|
10436
11272
|
{
|
|
10437
11273
|
"name": "DepGraph",
|
|
10438
11274
|
"type": "interface",
|
|
10439
|
-
"line":
|
|
11275
|
+
"line": 113,
|
|
10440
11276
|
"complexity": "low"
|
|
10441
11277
|
},
|
|
10442
11278
|
{
|
|
10443
11279
|
"name": "AffectedNode",
|
|
10444
11280
|
"type": "interface",
|
|
10445
|
-
"line":
|
|
11281
|
+
"line": 123,
|
|
10446
11282
|
"complexity": "low"
|
|
10447
11283
|
},
|
|
10448
11284
|
{
|
|
10449
11285
|
"name": "ImpactReport",
|
|
10450
11286
|
"type": "interface",
|
|
10451
|
-
"line":
|
|
11287
|
+
"line": 145,
|
|
10452
11288
|
"complexity": "low"
|
|
10453
11289
|
},
|
|
10454
11290
|
{
|
|
10455
11291
|
"name": "OutputJSON",
|
|
10456
11292
|
"type": "interface",
|
|
10457
|
-
"line":
|
|
11293
|
+
"line": 167,
|
|
10458
11294
|
"complexity": "low"
|
|
10459
11295
|
}
|
|
10460
11296
|
],
|