depgraph-core 1.9.0 → 1.9.1
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 +659 -84
- package/depgraph-mcp.js +300 -33
- package/depgraph.js +323 -4
- 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:10:23.339Z",
|
|
5
|
+
"totalFiles": 94,
|
|
6
|
+
"totalLines": 15631
|
|
7
7
|
},
|
|
8
8
|
"summary": {
|
|
9
|
-
"totalNodes":
|
|
10
|
-
"totalEdges":
|
|
9
|
+
"totalNodes": 169,
|
|
10
|
+
"totalEdges": 532,
|
|
11
11
|
"entryPoints": [
|
|
12
12
|
"Calculator__dart_test",
|
|
13
13
|
"PublicClass__dart_test",
|
|
@@ -126,6 +126,8 @@
|
|
|
126
126
|
"printBanner__depgraph",
|
|
127
127
|
"printSummary__depgraph",
|
|
128
128
|
"printImpact__depgraph",
|
|
129
|
+
"call__benchmark",
|
|
130
|
+
"tokEst__benchmark",
|
|
129
131
|
"CSharpGraphNode__types",
|
|
130
132
|
"CSharpGraphEdge__types",
|
|
131
133
|
"CSharpGraphResult__types",
|
|
@@ -170,6 +172,7 @@
|
|
|
170
172
|
"writeOutput__output",
|
|
171
173
|
"parseFile__parser",
|
|
172
174
|
"parseFiles__parser",
|
|
175
|
+
"RawEntity__types",
|
|
173
176
|
"DepNode__types",
|
|
174
177
|
"DepGraph__types",
|
|
175
178
|
"ImpactReport__types",
|
|
@@ -182,7 +185,7 @@
|
|
|
182
185
|
"name": "color",
|
|
183
186
|
"type": "function",
|
|
184
187
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
185
|
-
"line":
|
|
188
|
+
"line": 4478,
|
|
186
189
|
"lang": "js",
|
|
187
190
|
"complexity": "low",
|
|
188
191
|
"inDegree": 0,
|
|
@@ -195,7 +198,7 @@
|
|
|
195
198
|
"name": "getFlag",
|
|
196
199
|
"type": "function",
|
|
197
200
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
198
|
-
"line":
|
|
201
|
+
"line": 4489,
|
|
199
202
|
"lang": "js",
|
|
200
203
|
"complexity": "low",
|
|
201
204
|
"inDegree": 0,
|
|
@@ -208,7 +211,7 @@
|
|
|
208
211
|
"name": "printHelp",
|
|
209
212
|
"type": "function",
|
|
210
213
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
211
|
-
"line":
|
|
214
|
+
"line": 4493,
|
|
212
215
|
"lang": "js",
|
|
213
216
|
"complexity": "low",
|
|
214
217
|
"inDegree": 0,
|
|
@@ -221,7 +224,7 @@
|
|
|
221
224
|
"name": "printBanner",
|
|
222
225
|
"type": "function",
|
|
223
226
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
224
|
-
"line":
|
|
227
|
+
"line": 4541,
|
|
225
228
|
"lang": "js",
|
|
226
229
|
"complexity": "low",
|
|
227
230
|
"inDegree": 0,
|
|
@@ -234,7 +237,7 @@
|
|
|
234
237
|
"name": "printSummary",
|
|
235
238
|
"type": "function",
|
|
236
239
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
237
|
-
"line":
|
|
240
|
+
"line": 4548,
|
|
238
241
|
"lang": "js",
|
|
239
242
|
"complexity": "low",
|
|
240
243
|
"inDegree": 0,
|
|
@@ -247,7 +250,7 @@
|
|
|
247
250
|
"name": "printImpact",
|
|
248
251
|
"type": "function",
|
|
249
252
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
250
|
-
"line":
|
|
253
|
+
"line": 4561,
|
|
251
254
|
"lang": "js",
|
|
252
255
|
"complexity": "medium",
|
|
253
256
|
"inDegree": 0,
|
|
@@ -255,6 +258,32 @@
|
|
|
255
258
|
"centralityScore": 0,
|
|
256
259
|
"connections": []
|
|
257
260
|
},
|
|
261
|
+
{
|
|
262
|
+
"id": "call__benchmark",
|
|
263
|
+
"name": "call",
|
|
264
|
+
"type": "function",
|
|
265
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/scripts/benchmark.js",
|
|
266
|
+
"line": 17,
|
|
267
|
+
"lang": "js",
|
|
268
|
+
"complexity": "low",
|
|
269
|
+
"inDegree": 0,
|
|
270
|
+
"outDegree": 0,
|
|
271
|
+
"centralityScore": 0,
|
|
272
|
+
"connections": []
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"id": "tokEst__benchmark",
|
|
276
|
+
"name": "tokEst",
|
|
277
|
+
"type": "function",
|
|
278
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/scripts/benchmark.js",
|
|
279
|
+
"line": 43,
|
|
280
|
+
"lang": "js",
|
|
281
|
+
"complexity": "low",
|
|
282
|
+
"inDegree": 0,
|
|
283
|
+
"outDegree": 0,
|
|
284
|
+
"centralityScore": 0,
|
|
285
|
+
"connections": []
|
|
286
|
+
},
|
|
258
287
|
{
|
|
259
288
|
"id": "Calculator__dart_test",
|
|
260
289
|
"name": "Calculator",
|
|
@@ -807,7 +836,7 @@
|
|
|
807
836
|
"name": "buildPipeline",
|
|
808
837
|
"type": "function",
|
|
809
838
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
810
|
-
"line":
|
|
839
|
+
"line": 110,
|
|
811
840
|
"lang": "js",
|
|
812
841
|
"complexity": "low",
|
|
813
842
|
"inDegree": 0,
|
|
@@ -837,7 +866,7 @@
|
|
|
837
866
|
"name": "buildSubgraph",
|
|
838
867
|
"type": "function",
|
|
839
868
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
840
|
-
"line":
|
|
869
|
+
"line": 122,
|
|
841
870
|
"lang": "js",
|
|
842
871
|
"complexity": "high",
|
|
843
872
|
"inDegree": 0,
|
|
@@ -867,7 +896,7 @@
|
|
|
867
896
|
"name": "buildProseSummary",
|
|
868
897
|
"type": "function",
|
|
869
898
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
870
|
-
"line":
|
|
899
|
+
"line": 157,
|
|
871
900
|
"lang": "js",
|
|
872
901
|
"complexity": "medium",
|
|
873
902
|
"inDegree": 1,
|
|
@@ -898,7 +927,7 @@
|
|
|
898
927
|
"name": "analyzeProject",
|
|
899
928
|
"type": "function",
|
|
900
929
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
901
|
-
"line":
|
|
930
|
+
"line": 195,
|
|
902
931
|
"lang": "js",
|
|
903
932
|
"complexity": "low",
|
|
904
933
|
"inDegree": 1,
|
|
@@ -929,7 +958,7 @@
|
|
|
929
958
|
"name": "analyzeImpact",
|
|
930
959
|
"type": "function",
|
|
931
960
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
932
|
-
"line":
|
|
961
|
+
"line": 232,
|
|
933
962
|
"lang": "js",
|
|
934
963
|
"complexity": "low",
|
|
935
964
|
"inDegree": 1,
|
|
@@ -960,7 +989,7 @@
|
|
|
960
989
|
"name": "analyzeGitImpact",
|
|
961
990
|
"type": "function",
|
|
962
991
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
963
|
-
"line":
|
|
992
|
+
"line": 245,
|
|
964
993
|
"lang": "js",
|
|
965
994
|
"complexity": "low",
|
|
966
995
|
"inDegree": 1,
|
|
@@ -991,7 +1020,7 @@
|
|
|
991
1020
|
"name": "getGraphSummary",
|
|
992
1021
|
"type": "function",
|
|
993
1022
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
994
|
-
"line":
|
|
1023
|
+
"line": 270,
|
|
995
1024
|
"lang": "js",
|
|
996
1025
|
"complexity": "low",
|
|
997
1026
|
"inDegree": 1,
|
|
@@ -1022,7 +1051,7 @@
|
|
|
1022
1051
|
"name": "describeNode",
|
|
1023
1052
|
"type": "function",
|
|
1024
1053
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1025
|
-
"line":
|
|
1054
|
+
"line": 296,
|
|
1026
1055
|
"lang": "js",
|
|
1027
1056
|
"complexity": "high",
|
|
1028
1057
|
"inDegree": 1,
|
|
@@ -1053,7 +1082,7 @@
|
|
|
1053
1082
|
"name": "AnalyzeOptions",
|
|
1054
1083
|
"type": "interface",
|
|
1055
1084
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1056
|
-
"line":
|
|
1085
|
+
"line": 47,
|
|
1057
1086
|
"lang": "js",
|
|
1058
1087
|
"complexity": "low",
|
|
1059
1088
|
"inDegree": 0,
|
|
@@ -1083,7 +1112,7 @@
|
|
|
1083
1112
|
"name": "AnalyzeResult",
|
|
1084
1113
|
"type": "interface",
|
|
1085
1114
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1086
|
-
"line":
|
|
1115
|
+
"line": 67,
|
|
1087
1116
|
"lang": "js",
|
|
1088
1117
|
"complexity": "low",
|
|
1089
1118
|
"inDegree": 0,
|
|
@@ -1113,7 +1142,7 @@
|
|
|
1113
1142
|
"name": "GitImpactResult",
|
|
1114
1143
|
"type": "interface",
|
|
1115
1144
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1116
|
-
"line":
|
|
1145
|
+
"line": 75,
|
|
1117
1146
|
"lang": "js",
|
|
1118
1147
|
"complexity": "low",
|
|
1119
1148
|
"inDegree": 0,
|
|
@@ -1143,7 +1172,7 @@
|
|
|
1143
1172
|
"name": "GraphSummary",
|
|
1144
1173
|
"type": "interface",
|
|
1145
1174
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1146
|
-
"line":
|
|
1175
|
+
"line": 80,
|
|
1147
1176
|
"lang": "js",
|
|
1148
1177
|
"complexity": "low",
|
|
1149
1178
|
"inDegree": 0,
|
|
@@ -1173,7 +1202,7 @@
|
|
|
1173
1202
|
"name": "NodeDescription",
|
|
1174
1203
|
"type": "interface",
|
|
1175
1204
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1176
|
-
"line":
|
|
1205
|
+
"line": 90,
|
|
1177
1206
|
"lang": "js",
|
|
1178
1207
|
"complexity": "low",
|
|
1179
1208
|
"inDegree": 0,
|
|
@@ -1203,7 +1232,7 @@
|
|
|
1203
1232
|
"name": "Verbosity",
|
|
1204
1233
|
"type": "type",
|
|
1205
1234
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1206
|
-
"line":
|
|
1235
|
+
"line": 42,
|
|
1207
1236
|
"lang": "js",
|
|
1208
1237
|
"complexity": "low",
|
|
1209
1238
|
"inDegree": 0,
|
|
@@ -1237,8 +1266,8 @@
|
|
|
1237
1266
|
"lang": "js",
|
|
1238
1267
|
"complexity": "high",
|
|
1239
1268
|
"inDegree": 0,
|
|
1240
|
-
"outDegree":
|
|
1241
|
-
"centralityScore":
|
|
1269
|
+
"outDegree": 13,
|
|
1270
|
+
"centralityScore": 13,
|
|
1242
1271
|
"connections": [
|
|
1243
1272
|
"RawEntity__types",
|
|
1244
1273
|
"RawImport__types",
|
|
@@ -1246,7 +1275,13 @@
|
|
|
1246
1275
|
"cleanDartComments__helpers",
|
|
1247
1276
|
"_fileStem__helpers",
|
|
1248
1277
|
"sanitizeMethodName__helpers",
|
|
1249
|
-
"cleanRustComments__helpers"
|
|
1278
|
+
"cleanRustComments__helpers",
|
|
1279
|
+
"maskSqlComments__helpers",
|
|
1280
|
+
"lineOf__helpers",
|
|
1281
|
+
"collectCteNames__helpers",
|
|
1282
|
+
"collectTableRefs__helpers",
|
|
1283
|
+
"collectFkRefs__helpers",
|
|
1284
|
+
"normIdent__helpers"
|
|
1250
1285
|
]
|
|
1251
1286
|
},
|
|
1252
1287
|
{
|
|
@@ -1258,8 +1293,8 @@
|
|
|
1258
1293
|
"lang": "js",
|
|
1259
1294
|
"complexity": "low",
|
|
1260
1295
|
"inDegree": 0,
|
|
1261
|
-
"outDegree":
|
|
1262
|
-
"centralityScore":
|
|
1296
|
+
"outDegree": 13,
|
|
1297
|
+
"centralityScore": 13,
|
|
1263
1298
|
"connections": [
|
|
1264
1299
|
"RawEntity__types",
|
|
1265
1300
|
"RawImport__types",
|
|
@@ -1267,7 +1302,13 @@
|
|
|
1267
1302
|
"cleanDartComments__helpers",
|
|
1268
1303
|
"_fileStem__helpers",
|
|
1269
1304
|
"sanitizeMethodName__helpers",
|
|
1270
|
-
"cleanRustComments__helpers"
|
|
1305
|
+
"cleanRustComments__helpers",
|
|
1306
|
+
"maskSqlComments__helpers",
|
|
1307
|
+
"lineOf__helpers",
|
|
1308
|
+
"collectCteNames__helpers",
|
|
1309
|
+
"collectTableRefs__helpers",
|
|
1310
|
+
"collectFkRefs__helpers",
|
|
1311
|
+
"normIdent__helpers"
|
|
1271
1312
|
]
|
|
1272
1313
|
},
|
|
1273
1314
|
{
|
|
@@ -1279,8 +1320,8 @@
|
|
|
1279
1320
|
"lang": "js",
|
|
1280
1321
|
"complexity": "medium",
|
|
1281
1322
|
"inDegree": 0,
|
|
1282
|
-
"outDegree":
|
|
1283
|
-
"centralityScore":
|
|
1323
|
+
"outDegree": 13,
|
|
1324
|
+
"centralityScore": 13,
|
|
1284
1325
|
"connections": [
|
|
1285
1326
|
"RawEntity__types",
|
|
1286
1327
|
"RawImport__types",
|
|
@@ -1288,7 +1329,13 @@
|
|
|
1288
1329
|
"cleanDartComments__helpers",
|
|
1289
1330
|
"_fileStem__helpers",
|
|
1290
1331
|
"sanitizeMethodName__helpers",
|
|
1291
|
-
"cleanRustComments__helpers"
|
|
1332
|
+
"cleanRustComments__helpers",
|
|
1333
|
+
"maskSqlComments__helpers",
|
|
1334
|
+
"lineOf__helpers",
|
|
1335
|
+
"collectCteNames__helpers",
|
|
1336
|
+
"collectTableRefs__helpers",
|
|
1337
|
+
"collectFkRefs__helpers",
|
|
1338
|
+
"normIdent__helpers"
|
|
1292
1339
|
]
|
|
1293
1340
|
},
|
|
1294
1341
|
{
|
|
@@ -2024,6 +2071,114 @@
|
|
|
2024
2071
|
"extractRust__graphify"
|
|
2025
2072
|
]
|
|
2026
2073
|
},
|
|
2074
|
+
{
|
|
2075
|
+
"id": "lineOf__helpers",
|
|
2076
|
+
"name": "lineOf",
|
|
2077
|
+
"type": "function",
|
|
2078
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2079
|
+
"line": 23,
|
|
2080
|
+
"lang": "js",
|
|
2081
|
+
"complexity": "low",
|
|
2082
|
+
"inDegree": 3,
|
|
2083
|
+
"outDegree": 1,
|
|
2084
|
+
"centralityScore": 7,
|
|
2085
|
+
"connections": [
|
|
2086
|
+
"extractEntities__extractor",
|
|
2087
|
+
"extractImports__extractor",
|
|
2088
|
+
"extractExports__extractor",
|
|
2089
|
+
"RawEntity__types"
|
|
2090
|
+
]
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
"id": "normIdent__helpers",
|
|
2094
|
+
"name": "normIdent",
|
|
2095
|
+
"type": "function",
|
|
2096
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2097
|
+
"line": 32,
|
|
2098
|
+
"lang": "js",
|
|
2099
|
+
"complexity": "low",
|
|
2100
|
+
"inDegree": 3,
|
|
2101
|
+
"outDegree": 1,
|
|
2102
|
+
"centralityScore": 7,
|
|
2103
|
+
"connections": [
|
|
2104
|
+
"extractEntities__extractor",
|
|
2105
|
+
"extractImports__extractor",
|
|
2106
|
+
"extractExports__extractor",
|
|
2107
|
+
"RawEntity__types"
|
|
2108
|
+
]
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"id": "maskSqlComments__helpers",
|
|
2112
|
+
"name": "maskSqlComments",
|
|
2113
|
+
"type": "function",
|
|
2114
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2115
|
+
"line": 61,
|
|
2116
|
+
"lang": "js",
|
|
2117
|
+
"complexity": "high",
|
|
2118
|
+
"inDegree": 3,
|
|
2119
|
+
"outDegree": 1,
|
|
2120
|
+
"centralityScore": 7,
|
|
2121
|
+
"connections": [
|
|
2122
|
+
"extractEntities__extractor",
|
|
2123
|
+
"extractImports__extractor",
|
|
2124
|
+
"extractExports__extractor",
|
|
2125
|
+
"RawEntity__types"
|
|
2126
|
+
]
|
|
2127
|
+
},
|
|
2128
|
+
{
|
|
2129
|
+
"id": "collectCteNames__helpers",
|
|
2130
|
+
"name": "collectCteNames",
|
|
2131
|
+
"type": "function",
|
|
2132
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2133
|
+
"line": 146,
|
|
2134
|
+
"lang": "js",
|
|
2135
|
+
"complexity": "low",
|
|
2136
|
+
"inDegree": 3,
|
|
2137
|
+
"outDegree": 1,
|
|
2138
|
+
"centralityScore": 7,
|
|
2139
|
+
"connections": [
|
|
2140
|
+
"extractEntities__extractor",
|
|
2141
|
+
"extractImports__extractor",
|
|
2142
|
+
"extractExports__extractor",
|
|
2143
|
+
"RawEntity__types"
|
|
2144
|
+
]
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
"id": "collectTableRefs__helpers",
|
|
2148
|
+
"name": "collectTableRefs",
|
|
2149
|
+
"type": "function",
|
|
2150
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2151
|
+
"line": 159,
|
|
2152
|
+
"lang": "js",
|
|
2153
|
+
"complexity": "low",
|
|
2154
|
+
"inDegree": 3,
|
|
2155
|
+
"outDegree": 1,
|
|
2156
|
+
"centralityScore": 7,
|
|
2157
|
+
"connections": [
|
|
2158
|
+
"extractEntities__extractor",
|
|
2159
|
+
"extractImports__extractor",
|
|
2160
|
+
"extractExports__extractor",
|
|
2161
|
+
"RawEntity__types"
|
|
2162
|
+
]
|
|
2163
|
+
},
|
|
2164
|
+
{
|
|
2165
|
+
"id": "collectFkRefs__helpers",
|
|
2166
|
+
"name": "collectFkRefs",
|
|
2167
|
+
"type": "function",
|
|
2168
|
+
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2169
|
+
"line": 186,
|
|
2170
|
+
"lang": "js",
|
|
2171
|
+
"complexity": "low",
|
|
2172
|
+
"inDegree": 3,
|
|
2173
|
+
"outDegree": 1,
|
|
2174
|
+
"centralityScore": 7,
|
|
2175
|
+
"connections": [
|
|
2176
|
+
"extractEntities__extractor",
|
|
2177
|
+
"extractImports__extractor",
|
|
2178
|
+
"extractExports__extractor",
|
|
2179
|
+
"RawEntity__types"
|
|
2180
|
+
]
|
|
2181
|
+
},
|
|
2027
2182
|
{
|
|
2028
2183
|
"id": "SwiftGraphNode__types",
|
|
2029
2184
|
"name": "SwiftGraphNode",
|
|
@@ -2068,7 +2223,7 @@
|
|
|
2068
2223
|
"name": "color",
|
|
2069
2224
|
"type": "function",
|
|
2070
2225
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2071
|
-
"line":
|
|
2226
|
+
"line": 38,
|
|
2072
2227
|
"lang": "js",
|
|
2073
2228
|
"complexity": "low",
|
|
2074
2229
|
"inDegree": 0,
|
|
@@ -2090,7 +2245,7 @@
|
|
|
2090
2245
|
"name": "getFlag",
|
|
2091
2246
|
"type": "function",
|
|
2092
2247
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2093
|
-
"line":
|
|
2248
|
+
"line": 58,
|
|
2094
2249
|
"lang": "js",
|
|
2095
2250
|
"complexity": "low",
|
|
2096
2251
|
"inDegree": 0,
|
|
@@ -2112,7 +2267,7 @@
|
|
|
2112
2267
|
"name": "printHelp",
|
|
2113
2268
|
"type": "function",
|
|
2114
2269
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2115
|
-
"line":
|
|
2270
|
+
"line": 66,
|
|
2116
2271
|
"lang": "js",
|
|
2117
2272
|
"complexity": "low",
|
|
2118
2273
|
"inDegree": 0,
|
|
@@ -2134,7 +2289,7 @@
|
|
|
2134
2289
|
"name": "printBanner",
|
|
2135
2290
|
"type": "function",
|
|
2136
2291
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2137
|
-
"line":
|
|
2292
|
+
"line": 118,
|
|
2138
2293
|
"lang": "js",
|
|
2139
2294
|
"complexity": "low",
|
|
2140
2295
|
"inDegree": 0,
|
|
@@ -2156,7 +2311,7 @@
|
|
|
2156
2311
|
"name": "printSummary",
|
|
2157
2312
|
"type": "function",
|
|
2158
2313
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2159
|
-
"line":
|
|
2314
|
+
"line": 134,
|
|
2160
2315
|
"lang": "js",
|
|
2161
2316
|
"complexity": "low",
|
|
2162
2317
|
"inDegree": 0,
|
|
@@ -2178,7 +2333,7 @@
|
|
|
2178
2333
|
"name": "printImpact",
|
|
2179
2334
|
"type": "function",
|
|
2180
2335
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2181
|
-
"line":
|
|
2336
|
+
"line": 158,
|
|
2182
2337
|
"lang": "js",
|
|
2183
2338
|
"complexity": "medium",
|
|
2184
2339
|
"inDegree": 0,
|
|
@@ -2200,7 +2355,7 @@
|
|
|
2200
2355
|
"name": "dim",
|
|
2201
2356
|
"type": "function",
|
|
2202
2357
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2203
|
-
"line":
|
|
2358
|
+
"line": 42,
|
|
2204
2359
|
"lang": "js",
|
|
2205
2360
|
"complexity": "low",
|
|
2206
2361
|
"inDegree": 0,
|
|
@@ -2222,7 +2377,7 @@
|
|
|
2222
2377
|
"name": "bold",
|
|
2223
2378
|
"type": "function",
|
|
2224
2379
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2225
|
-
"line":
|
|
2380
|
+
"line": 43,
|
|
2226
2381
|
"lang": "js",
|
|
2227
2382
|
"complexity": "low",
|
|
2228
2383
|
"inDegree": 0,
|
|
@@ -2244,7 +2399,7 @@
|
|
|
2244
2399
|
"name": "green",
|
|
2245
2400
|
"type": "function",
|
|
2246
2401
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2247
|
-
"line":
|
|
2402
|
+
"line": 44,
|
|
2248
2403
|
"lang": "js",
|
|
2249
2404
|
"complexity": "low",
|
|
2250
2405
|
"inDegree": 0,
|
|
@@ -2266,7 +2421,7 @@
|
|
|
2266
2421
|
"name": "yellow",
|
|
2267
2422
|
"type": "function",
|
|
2268
2423
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2269
|
-
"line":
|
|
2424
|
+
"line": 45,
|
|
2270
2425
|
"lang": "js",
|
|
2271
2426
|
"complexity": "low",
|
|
2272
2427
|
"inDegree": 0,
|
|
@@ -2288,7 +2443,7 @@
|
|
|
2288
2443
|
"name": "red",
|
|
2289
2444
|
"type": "function",
|
|
2290
2445
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2291
|
-
"line":
|
|
2446
|
+
"line": 46,
|
|
2292
2447
|
"lang": "js",
|
|
2293
2448
|
"complexity": "low",
|
|
2294
2449
|
"inDegree": 0,
|
|
@@ -2310,7 +2465,7 @@
|
|
|
2310
2465
|
"name": "cyan",
|
|
2311
2466
|
"type": "function",
|
|
2312
2467
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2313
|
-
"line":
|
|
2468
|
+
"line": 47,
|
|
2314
2469
|
"lang": "js",
|
|
2315
2470
|
"complexity": "low",
|
|
2316
2471
|
"inDegree": 0,
|
|
@@ -3156,9 +3311,9 @@
|
|
|
3156
3311
|
"line": 8,
|
|
3157
3312
|
"lang": "js",
|
|
3158
3313
|
"complexity": "low",
|
|
3159
|
-
"inDegree":
|
|
3314
|
+
"inDegree": 16,
|
|
3160
3315
|
"outDegree": 0,
|
|
3161
|
-
"centralityScore":
|
|
3316
|
+
"centralityScore": 32,
|
|
3162
3317
|
"connections": [
|
|
3163
3318
|
"extractEntities__extractor",
|
|
3164
3319
|
"extractImports__extractor",
|
|
@@ -3168,6 +3323,12 @@
|
|
|
3168
3323
|
"getLanguageParser__registry",
|
|
3169
3324
|
"EntityPattern__registry",
|
|
3170
3325
|
"LanguageParser__registry",
|
|
3326
|
+
"lineOf__helpers",
|
|
3327
|
+
"normIdent__helpers",
|
|
3328
|
+
"maskSqlComments__helpers",
|
|
3329
|
+
"collectCteNames__helpers",
|
|
3330
|
+
"collectTableRefs__helpers",
|
|
3331
|
+
"collectFkRefs__helpers",
|
|
3171
3332
|
"parseFile__parser",
|
|
3172
3333
|
"parseFiles__parser"
|
|
3173
3334
|
]
|
|
@@ -5401,6 +5562,150 @@
|
|
|
5401
5562
|
"type": "imports",
|
|
5402
5563
|
"description": "extractRust imports _rustCollectTypeRefs from helpers.ts"
|
|
5403
5564
|
},
|
|
5565
|
+
{
|
|
5566
|
+
"from": "extractEntities__extractor",
|
|
5567
|
+
"to": "maskSqlComments__helpers",
|
|
5568
|
+
"type": "imports",
|
|
5569
|
+
"description": "extractEntities imports maskSqlComments from helpers.ts"
|
|
5570
|
+
},
|
|
5571
|
+
{
|
|
5572
|
+
"from": "extractImports__extractor",
|
|
5573
|
+
"to": "maskSqlComments__helpers",
|
|
5574
|
+
"type": "imports",
|
|
5575
|
+
"description": "extractImports imports maskSqlComments from helpers.ts"
|
|
5576
|
+
},
|
|
5577
|
+
{
|
|
5578
|
+
"from": "extractExports__extractor",
|
|
5579
|
+
"to": "maskSqlComments__helpers",
|
|
5580
|
+
"type": "imports",
|
|
5581
|
+
"description": "extractExports imports maskSqlComments from helpers.ts"
|
|
5582
|
+
},
|
|
5583
|
+
{
|
|
5584
|
+
"from": "extractEntities__extractor",
|
|
5585
|
+
"to": "lineOf__helpers",
|
|
5586
|
+
"type": "imports",
|
|
5587
|
+
"description": "extractEntities imports lineOf from helpers.ts"
|
|
5588
|
+
},
|
|
5589
|
+
{
|
|
5590
|
+
"from": "extractImports__extractor",
|
|
5591
|
+
"to": "lineOf__helpers",
|
|
5592
|
+
"type": "imports",
|
|
5593
|
+
"description": "extractImports imports lineOf from helpers.ts"
|
|
5594
|
+
},
|
|
5595
|
+
{
|
|
5596
|
+
"from": "extractExports__extractor",
|
|
5597
|
+
"to": "lineOf__helpers",
|
|
5598
|
+
"type": "imports",
|
|
5599
|
+
"description": "extractExports imports lineOf from helpers.ts"
|
|
5600
|
+
},
|
|
5601
|
+
{
|
|
5602
|
+
"from": "extractEntities__extractor",
|
|
5603
|
+
"to": "collectCteNames__helpers",
|
|
5604
|
+
"type": "imports",
|
|
5605
|
+
"description": "extractEntities imports collectCteNames from helpers.ts"
|
|
5606
|
+
},
|
|
5607
|
+
{
|
|
5608
|
+
"from": "extractImports__extractor",
|
|
5609
|
+
"to": "collectCteNames__helpers",
|
|
5610
|
+
"type": "imports",
|
|
5611
|
+
"description": "extractImports imports collectCteNames from helpers.ts"
|
|
5612
|
+
},
|
|
5613
|
+
{
|
|
5614
|
+
"from": "extractExports__extractor",
|
|
5615
|
+
"to": "collectCteNames__helpers",
|
|
5616
|
+
"type": "imports",
|
|
5617
|
+
"description": "extractExports imports collectCteNames from helpers.ts"
|
|
5618
|
+
},
|
|
5619
|
+
{
|
|
5620
|
+
"from": "extractEntities__extractor",
|
|
5621
|
+
"to": "collectTableRefs__helpers",
|
|
5622
|
+
"type": "imports",
|
|
5623
|
+
"description": "extractEntities imports collectTableRefs from helpers.ts"
|
|
5624
|
+
},
|
|
5625
|
+
{
|
|
5626
|
+
"from": "extractImports__extractor",
|
|
5627
|
+
"to": "collectTableRefs__helpers",
|
|
5628
|
+
"type": "imports",
|
|
5629
|
+
"description": "extractImports imports collectTableRefs from helpers.ts"
|
|
5630
|
+
},
|
|
5631
|
+
{
|
|
5632
|
+
"from": "extractExports__extractor",
|
|
5633
|
+
"to": "collectTableRefs__helpers",
|
|
5634
|
+
"type": "imports",
|
|
5635
|
+
"description": "extractExports imports collectTableRefs from helpers.ts"
|
|
5636
|
+
},
|
|
5637
|
+
{
|
|
5638
|
+
"from": "extractEntities__extractor",
|
|
5639
|
+
"to": "collectFkRefs__helpers",
|
|
5640
|
+
"type": "imports",
|
|
5641
|
+
"description": "extractEntities imports collectFkRefs from helpers.ts"
|
|
5642
|
+
},
|
|
5643
|
+
{
|
|
5644
|
+
"from": "extractImports__extractor",
|
|
5645
|
+
"to": "collectFkRefs__helpers",
|
|
5646
|
+
"type": "imports",
|
|
5647
|
+
"description": "extractImports imports collectFkRefs from helpers.ts"
|
|
5648
|
+
},
|
|
5649
|
+
{
|
|
5650
|
+
"from": "extractExports__extractor",
|
|
5651
|
+
"to": "collectFkRefs__helpers",
|
|
5652
|
+
"type": "imports",
|
|
5653
|
+
"description": "extractExports imports collectFkRefs from helpers.ts"
|
|
5654
|
+
},
|
|
5655
|
+
{
|
|
5656
|
+
"from": "extractEntities__extractor",
|
|
5657
|
+
"to": "normIdent__helpers",
|
|
5658
|
+
"type": "imports",
|
|
5659
|
+
"description": "extractEntities imports normIdent from helpers.ts"
|
|
5660
|
+
},
|
|
5661
|
+
{
|
|
5662
|
+
"from": "extractImports__extractor",
|
|
5663
|
+
"to": "normIdent__helpers",
|
|
5664
|
+
"type": "imports",
|
|
5665
|
+
"description": "extractImports imports normIdent from helpers.ts"
|
|
5666
|
+
},
|
|
5667
|
+
{
|
|
5668
|
+
"from": "extractExports__extractor",
|
|
5669
|
+
"to": "normIdent__helpers",
|
|
5670
|
+
"type": "imports",
|
|
5671
|
+
"description": "extractExports imports normIdent from helpers.ts"
|
|
5672
|
+
},
|
|
5673
|
+
{
|
|
5674
|
+
"from": "lineOf__helpers",
|
|
5675
|
+
"to": "RawEntity__types",
|
|
5676
|
+
"type": "imports",
|
|
5677
|
+
"description": "lineOf imports RawEntity from types.ts"
|
|
5678
|
+
},
|
|
5679
|
+
{
|
|
5680
|
+
"from": "normIdent__helpers",
|
|
5681
|
+
"to": "RawEntity__types",
|
|
5682
|
+
"type": "imports",
|
|
5683
|
+
"description": "normIdent imports RawEntity from types.ts"
|
|
5684
|
+
},
|
|
5685
|
+
{
|
|
5686
|
+
"from": "maskSqlComments__helpers",
|
|
5687
|
+
"to": "RawEntity__types",
|
|
5688
|
+
"type": "imports",
|
|
5689
|
+
"description": "maskSqlComments imports RawEntity from types.ts"
|
|
5690
|
+
},
|
|
5691
|
+
{
|
|
5692
|
+
"from": "collectCteNames__helpers",
|
|
5693
|
+
"to": "RawEntity__types",
|
|
5694
|
+
"type": "imports",
|
|
5695
|
+
"description": "collectCteNames imports RawEntity from types.ts"
|
|
5696
|
+
},
|
|
5697
|
+
{
|
|
5698
|
+
"from": "collectTableRefs__helpers",
|
|
5699
|
+
"to": "RawEntity__types",
|
|
5700
|
+
"type": "imports",
|
|
5701
|
+
"description": "collectTableRefs imports RawEntity from types.ts"
|
|
5702
|
+
},
|
|
5703
|
+
{
|
|
5704
|
+
"from": "collectFkRefs__helpers",
|
|
5705
|
+
"to": "RawEntity__types",
|
|
5706
|
+
"type": "imports",
|
|
5707
|
+
"description": "collectFkRefs imports RawEntity from types.ts"
|
|
5708
|
+
},
|
|
5404
5709
|
{
|
|
5405
5710
|
"from": "color__main",
|
|
5406
5711
|
"to": "collectFiles__collector",
|
|
@@ -6468,42 +6773,42 @@
|
|
|
6468
6773
|
{
|
|
6469
6774
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
6470
6775
|
"lang": "js",
|
|
6471
|
-
"lines":
|
|
6776
|
+
"lines": 4667,
|
|
6472
6777
|
"entities": [
|
|
6473
6778
|
{
|
|
6474
6779
|
"name": "color",
|
|
6475
6780
|
"type": "function",
|
|
6476
|
-
"line":
|
|
6781
|
+
"line": 4478,
|
|
6477
6782
|
"complexity": "low"
|
|
6478
6783
|
},
|
|
6479
6784
|
{
|
|
6480
6785
|
"name": "getFlag",
|
|
6481
6786
|
"type": "function",
|
|
6482
|
-
"line":
|
|
6787
|
+
"line": 4489,
|
|
6483
6788
|
"complexity": "low"
|
|
6484
6789
|
},
|
|
6485
6790
|
{
|
|
6486
6791
|
"name": "printHelp",
|
|
6487
6792
|
"type": "function",
|
|
6488
|
-
"line":
|
|
6793
|
+
"line": 4493,
|
|
6489
6794
|
"complexity": "low"
|
|
6490
6795
|
},
|
|
6491
6796
|
{
|
|
6492
6797
|
"name": "printBanner",
|
|
6493
6798
|
"type": "function",
|
|
6494
|
-
"line":
|
|
6799
|
+
"line": 4541,
|
|
6495
6800
|
"complexity": "low"
|
|
6496
6801
|
},
|
|
6497
6802
|
{
|
|
6498
6803
|
"name": "printSummary",
|
|
6499
6804
|
"type": "function",
|
|
6500
|
-
"line":
|
|
6805
|
+
"line": 4548,
|
|
6501
6806
|
"complexity": "low"
|
|
6502
6807
|
},
|
|
6503
6808
|
{
|
|
6504
6809
|
"name": "printImpact",
|
|
6505
6810
|
"type": "function",
|
|
6506
|
-
"line":
|
|
6811
|
+
"line": 4561,
|
|
6507
6812
|
"complexity": "medium"
|
|
6508
6813
|
}
|
|
6509
6814
|
],
|
|
@@ -6518,6 +6823,56 @@
|
|
|
6518
6823
|
],
|
|
6519
6824
|
"exports": []
|
|
6520
6825
|
},
|
|
6826
|
+
{
|
|
6827
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/scripts/benchmark.js",
|
|
6828
|
+
"lang": "js",
|
|
6829
|
+
"lines": 139,
|
|
6830
|
+
"entities": [
|
|
6831
|
+
{
|
|
6832
|
+
"name": "call",
|
|
6833
|
+
"type": "function",
|
|
6834
|
+
"line": 17,
|
|
6835
|
+
"complexity": "low"
|
|
6836
|
+
},
|
|
6837
|
+
{
|
|
6838
|
+
"name": "tokEst",
|
|
6839
|
+
"type": "function",
|
|
6840
|
+
"line": 43,
|
|
6841
|
+
"complexity": "low"
|
|
6842
|
+
}
|
|
6843
|
+
],
|
|
6844
|
+
"imports": [
|
|
6845
|
+
{
|
|
6846
|
+
"source": "child_process",
|
|
6847
|
+
"names": [
|
|
6848
|
+
"execSync"
|
|
6849
|
+
],
|
|
6850
|
+
"isLocal": false
|
|
6851
|
+
},
|
|
6852
|
+
{
|
|
6853
|
+
"source": "path",
|
|
6854
|
+
"names": [
|
|
6855
|
+
"path"
|
|
6856
|
+
],
|
|
6857
|
+
"isLocal": false
|
|
6858
|
+
},
|
|
6859
|
+
{
|
|
6860
|
+
"source": "os",
|
|
6861
|
+
"names": [
|
|
6862
|
+
"os"
|
|
6863
|
+
],
|
|
6864
|
+
"isLocal": false
|
|
6865
|
+
},
|
|
6866
|
+
{
|
|
6867
|
+
"source": "fs",
|
|
6868
|
+
"names": [
|
|
6869
|
+
"fs"
|
|
6870
|
+
],
|
|
6871
|
+
"isLocal": false
|
|
6872
|
+
}
|
|
6873
|
+
],
|
|
6874
|
+
"exports": []
|
|
6875
|
+
},
|
|
6521
6876
|
{
|
|
6522
6877
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/__tests__/collector.test.ts",
|
|
6523
6878
|
"lang": "js",
|
|
@@ -7401,6 +7756,34 @@
|
|
|
7401
7756
|
],
|
|
7402
7757
|
"exports": []
|
|
7403
7758
|
},
|
|
7759
|
+
{
|
|
7760
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/__tests__/sql.test.ts",
|
|
7761
|
+
"lang": "js",
|
|
7762
|
+
"lines": 117,
|
|
7763
|
+
"entities": [],
|
|
7764
|
+
"imports": [
|
|
7765
|
+
{
|
|
7766
|
+
"source": "vitest",
|
|
7767
|
+
"names": [
|
|
7768
|
+
"describe",
|
|
7769
|
+
"it",
|
|
7770
|
+
"expect",
|
|
7771
|
+
"beforeEach"
|
|
7772
|
+
],
|
|
7773
|
+
"isLocal": false
|
|
7774
|
+
},
|
|
7775
|
+
{
|
|
7776
|
+
"source": "../languages/sql/extractor",
|
|
7777
|
+
"names": [
|
|
7778
|
+
"extractEntities",
|
|
7779
|
+
"extractImports",
|
|
7780
|
+
"extractExports"
|
|
7781
|
+
],
|
|
7782
|
+
"isLocal": true
|
|
7783
|
+
}
|
|
7784
|
+
],
|
|
7785
|
+
"exports": []
|
|
7786
|
+
},
|
|
7404
7787
|
{
|
|
7405
7788
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/__tests__/swift.test.ts",
|
|
7406
7789
|
"lang": "js",
|
|
@@ -7452,90 +7835,90 @@
|
|
|
7452
7835
|
{
|
|
7453
7836
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
7454
7837
|
"lang": "js",
|
|
7455
|
-
"lines":
|
|
7838
|
+
"lines": 345,
|
|
7456
7839
|
"entities": [
|
|
7457
7840
|
{
|
|
7458
7841
|
"name": "buildPipeline",
|
|
7459
7842
|
"type": "function",
|
|
7460
|
-
"line":
|
|
7843
|
+
"line": 110,
|
|
7461
7844
|
"complexity": "low"
|
|
7462
7845
|
},
|
|
7463
7846
|
{
|
|
7464
7847
|
"name": "buildSubgraph",
|
|
7465
7848
|
"type": "function",
|
|
7466
|
-
"line":
|
|
7849
|
+
"line": 122,
|
|
7467
7850
|
"complexity": "high"
|
|
7468
7851
|
},
|
|
7469
7852
|
{
|
|
7470
7853
|
"name": "buildProseSummary",
|
|
7471
7854
|
"type": "function",
|
|
7472
|
-
"line":
|
|
7855
|
+
"line": 157,
|
|
7473
7856
|
"complexity": "medium"
|
|
7474
7857
|
},
|
|
7475
7858
|
{
|
|
7476
7859
|
"name": "analyzeProject",
|
|
7477
7860
|
"type": "function",
|
|
7478
|
-
"line":
|
|
7861
|
+
"line": 195,
|
|
7479
7862
|
"complexity": "low"
|
|
7480
7863
|
},
|
|
7481
7864
|
{
|
|
7482
7865
|
"name": "analyzeImpact",
|
|
7483
7866
|
"type": "function",
|
|
7484
|
-
"line":
|
|
7867
|
+
"line": 232,
|
|
7485
7868
|
"complexity": "low"
|
|
7486
7869
|
},
|
|
7487
7870
|
{
|
|
7488
7871
|
"name": "analyzeGitImpact",
|
|
7489
7872
|
"type": "function",
|
|
7490
|
-
"line":
|
|
7873
|
+
"line": 245,
|
|
7491
7874
|
"complexity": "low"
|
|
7492
7875
|
},
|
|
7493
7876
|
{
|
|
7494
7877
|
"name": "getGraphSummary",
|
|
7495
7878
|
"type": "function",
|
|
7496
|
-
"line":
|
|
7879
|
+
"line": 270,
|
|
7497
7880
|
"complexity": "low"
|
|
7498
7881
|
},
|
|
7499
7882
|
{
|
|
7500
7883
|
"name": "describeNode",
|
|
7501
7884
|
"type": "function",
|
|
7502
|
-
"line":
|
|
7885
|
+
"line": 296,
|
|
7503
7886
|
"complexity": "high"
|
|
7504
7887
|
},
|
|
7505
7888
|
{
|
|
7506
7889
|
"name": "AnalyzeOptions",
|
|
7507
7890
|
"type": "interface",
|
|
7508
|
-
"line":
|
|
7891
|
+
"line": 47,
|
|
7509
7892
|
"complexity": "low"
|
|
7510
7893
|
},
|
|
7511
7894
|
{
|
|
7512
7895
|
"name": "AnalyzeResult",
|
|
7513
7896
|
"type": "interface",
|
|
7514
|
-
"line":
|
|
7897
|
+
"line": 67,
|
|
7515
7898
|
"complexity": "low"
|
|
7516
7899
|
},
|
|
7517
7900
|
{
|
|
7518
7901
|
"name": "GitImpactResult",
|
|
7519
7902
|
"type": "interface",
|
|
7520
|
-
"line":
|
|
7903
|
+
"line": 75,
|
|
7521
7904
|
"complexity": "low"
|
|
7522
7905
|
},
|
|
7523
7906
|
{
|
|
7524
7907
|
"name": "GraphSummary",
|
|
7525
7908
|
"type": "interface",
|
|
7526
|
-
"line":
|
|
7909
|
+
"line": 80,
|
|
7527
7910
|
"complexity": "low"
|
|
7528
7911
|
},
|
|
7529
7912
|
{
|
|
7530
7913
|
"name": "NodeDescription",
|
|
7531
7914
|
"type": "interface",
|
|
7532
|
-
"line":
|
|
7915
|
+
"line": 90,
|
|
7533
7916
|
"complexity": "low"
|
|
7534
7917
|
},
|
|
7535
7918
|
{
|
|
7536
7919
|
"name": "Verbosity",
|
|
7537
7920
|
"type": "type",
|
|
7538
|
-
"line":
|
|
7921
|
+
"line": 42,
|
|
7539
7922
|
"complexity": "low"
|
|
7540
7923
|
}
|
|
7541
7924
|
],
|
|
@@ -9619,6 +10002,198 @@
|
|
|
9619
10002
|
"RustGraphResult"
|
|
9620
10003
|
]
|
|
9621
10004
|
},
|
|
10005
|
+
{
|
|
10006
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/extractor.ts",
|
|
10007
|
+
"lang": "js",
|
|
10008
|
+
"lines": 102,
|
|
10009
|
+
"entities": [
|
|
10010
|
+
{
|
|
10011
|
+
"name": "extractEntities",
|
|
10012
|
+
"type": "function",
|
|
10013
|
+
"line": 20,
|
|
10014
|
+
"complexity": "medium"
|
|
10015
|
+
},
|
|
10016
|
+
{
|
|
10017
|
+
"name": "extractImports",
|
|
10018
|
+
"type": "function",
|
|
10019
|
+
"line": 57,
|
|
10020
|
+
"complexity": "low"
|
|
10021
|
+
},
|
|
10022
|
+
{
|
|
10023
|
+
"name": "extractExports",
|
|
10024
|
+
"type": "function",
|
|
10025
|
+
"line": 85,
|
|
10026
|
+
"complexity": "low"
|
|
10027
|
+
}
|
|
10028
|
+
],
|
|
10029
|
+
"imports": [
|
|
10030
|
+
{
|
|
10031
|
+
"source": "../../types",
|
|
10032
|
+
"names": [
|
|
10033
|
+
"RawEntity",
|
|
10034
|
+
"RawImport"
|
|
10035
|
+
],
|
|
10036
|
+
"isLocal": true
|
|
10037
|
+
},
|
|
10038
|
+
{
|
|
10039
|
+
"source": "./patterns",
|
|
10040
|
+
"names": [
|
|
10041
|
+
"sqlEntityPatterns"
|
|
10042
|
+
],
|
|
10043
|
+
"isLocal": true
|
|
10044
|
+
},
|
|
10045
|
+
{
|
|
10046
|
+
"source": "./helpers",
|
|
10047
|
+
"names": [
|
|
10048
|
+
"maskSqlComments",
|
|
10049
|
+
"lineOf",
|
|
10050
|
+
"collectCteNames",
|
|
10051
|
+
"collectTableRefs",
|
|
10052
|
+
"collectFkRefs",
|
|
10053
|
+
"ROUTINE_RECOVERY_RX",
|
|
10054
|
+
"normIdent",
|
|
10055
|
+
""
|
|
10056
|
+
],
|
|
10057
|
+
"isLocal": true
|
|
10058
|
+
},
|
|
10059
|
+
{
|
|
10060
|
+
"source": "path",
|
|
10061
|
+
"names": [
|
|
10062
|
+
"path"
|
|
10063
|
+
],
|
|
10064
|
+
"isLocal": false
|
|
10065
|
+
}
|
|
10066
|
+
],
|
|
10067
|
+
"exports": [
|
|
10068
|
+
"extractEntities",
|
|
10069
|
+
"extractImports",
|
|
10070
|
+
"extractExports"
|
|
10071
|
+
]
|
|
10072
|
+
},
|
|
10073
|
+
{
|
|
10074
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
10075
|
+
"lang": "js",
|
|
10076
|
+
"lines": 201,
|
|
10077
|
+
"entities": [
|
|
10078
|
+
{
|
|
10079
|
+
"name": "lineOf",
|
|
10080
|
+
"type": "function",
|
|
10081
|
+
"line": 23,
|
|
10082
|
+
"complexity": "low"
|
|
10083
|
+
},
|
|
10084
|
+
{
|
|
10085
|
+
"name": "normIdent",
|
|
10086
|
+
"type": "function",
|
|
10087
|
+
"line": 32,
|
|
10088
|
+
"complexity": "low"
|
|
10089
|
+
},
|
|
10090
|
+
{
|
|
10091
|
+
"name": "maskSqlComments",
|
|
10092
|
+
"type": "function",
|
|
10093
|
+
"line": 61,
|
|
10094
|
+
"complexity": "high"
|
|
10095
|
+
},
|
|
10096
|
+
{
|
|
10097
|
+
"name": "collectCteNames",
|
|
10098
|
+
"type": "function",
|
|
10099
|
+
"line": 146,
|
|
10100
|
+
"complexity": "low"
|
|
10101
|
+
},
|
|
10102
|
+
{
|
|
10103
|
+
"name": "collectTableRefs",
|
|
10104
|
+
"type": "function",
|
|
10105
|
+
"line": 159,
|
|
10106
|
+
"complexity": "low"
|
|
10107
|
+
},
|
|
10108
|
+
{
|
|
10109
|
+
"name": "collectFkRefs",
|
|
10110
|
+
"type": "function",
|
|
10111
|
+
"line": 186,
|
|
10112
|
+
"complexity": "low"
|
|
10113
|
+
}
|
|
10114
|
+
],
|
|
10115
|
+
"imports": [
|
|
10116
|
+
{
|
|
10117
|
+
"source": "../../types",
|
|
10118
|
+
"names": [
|
|
10119
|
+
"RawEntity"
|
|
10120
|
+
],
|
|
10121
|
+
"isLocal": true
|
|
10122
|
+
}
|
|
10123
|
+
],
|
|
10124
|
+
"exports": [
|
|
10125
|
+
"NAME_PART",
|
|
10126
|
+
"QUAL_NAME",
|
|
10127
|
+
"ROUTINE_RECOVERY_RX",
|
|
10128
|
+
"lineOf",
|
|
10129
|
+
"normIdent",
|
|
10130
|
+
"maskSqlComments",
|
|
10131
|
+
"collectCteNames",
|
|
10132
|
+
"collectTableRefs",
|
|
10133
|
+
"collectFkRefs",
|
|
10134
|
+
"NON_TABLES"
|
|
10135
|
+
]
|
|
10136
|
+
},
|
|
10137
|
+
{
|
|
10138
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/index.ts",
|
|
10139
|
+
"lang": "js",
|
|
10140
|
+
"lines": 19,
|
|
10141
|
+
"entities": [],
|
|
10142
|
+
"imports": [
|
|
10143
|
+
{
|
|
10144
|
+
"source": "../registry",
|
|
10145
|
+
"names": [
|
|
10146
|
+
"LanguageParser",
|
|
10147
|
+
"registerParser"
|
|
10148
|
+
],
|
|
10149
|
+
"isLocal": true
|
|
10150
|
+
},
|
|
10151
|
+
{
|
|
10152
|
+
"source": "./patterns",
|
|
10153
|
+
"names": [
|
|
10154
|
+
"sqlEntityPatterns"
|
|
10155
|
+
],
|
|
10156
|
+
"isLocal": true
|
|
10157
|
+
},
|
|
10158
|
+
{
|
|
10159
|
+
"source": "./extractor",
|
|
10160
|
+
"names": [
|
|
10161
|
+
"extractEntities",
|
|
10162
|
+
"extractImports",
|
|
10163
|
+
"extractExports"
|
|
10164
|
+
],
|
|
10165
|
+
"isLocal": true
|
|
10166
|
+
}
|
|
10167
|
+
],
|
|
10168
|
+
"exports": [
|
|
10169
|
+
"SqlParser"
|
|
10170
|
+
]
|
|
10171
|
+
},
|
|
10172
|
+
{
|
|
10173
|
+
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/patterns.ts",
|
|
10174
|
+
"lang": "js",
|
|
10175
|
+
"lines": 51,
|
|
10176
|
+
"entities": [],
|
|
10177
|
+
"imports": [
|
|
10178
|
+
{
|
|
10179
|
+
"source": "../registry",
|
|
10180
|
+
"names": [
|
|
10181
|
+
"EntityPattern"
|
|
10182
|
+
],
|
|
10183
|
+
"isLocal": true
|
|
10184
|
+
},
|
|
10185
|
+
{
|
|
10186
|
+
"source": "./helpers",
|
|
10187
|
+
"names": [
|
|
10188
|
+
"QUAL_NAME"
|
|
10189
|
+
],
|
|
10190
|
+
"isLocal": true
|
|
10191
|
+
}
|
|
10192
|
+
],
|
|
10193
|
+
"exports": [
|
|
10194
|
+
"sqlEntityPatterns"
|
|
10195
|
+
]
|
|
10196
|
+
},
|
|
9622
10197
|
{
|
|
9623
10198
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/swift/extractor.ts",
|
|
9624
10199
|
"lang": "js",
|
|
@@ -9792,78 +10367,78 @@
|
|
|
9792
10367
|
{
|
|
9793
10368
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
9794
10369
|
"lang": "js",
|
|
9795
|
-
"lines":
|
|
10370
|
+
"lines": 299,
|
|
9796
10371
|
"entities": [
|
|
9797
10372
|
{
|
|
9798
10373
|
"name": "color",
|
|
9799
10374
|
"type": "function",
|
|
9800
|
-
"line":
|
|
10375
|
+
"line": 38,
|
|
9801
10376
|
"complexity": "low"
|
|
9802
10377
|
},
|
|
9803
10378
|
{
|
|
9804
10379
|
"name": "getFlag",
|
|
9805
10380
|
"type": "function",
|
|
9806
|
-
"line":
|
|
10381
|
+
"line": 58,
|
|
9807
10382
|
"complexity": "low"
|
|
9808
10383
|
},
|
|
9809
10384
|
{
|
|
9810
10385
|
"name": "printHelp",
|
|
9811
10386
|
"type": "function",
|
|
9812
|
-
"line":
|
|
10387
|
+
"line": 66,
|
|
9813
10388
|
"complexity": "low"
|
|
9814
10389
|
},
|
|
9815
10390
|
{
|
|
9816
10391
|
"name": "printBanner",
|
|
9817
10392
|
"type": "function",
|
|
9818
|
-
"line":
|
|
10393
|
+
"line": 118,
|
|
9819
10394
|
"complexity": "low"
|
|
9820
10395
|
},
|
|
9821
10396
|
{
|
|
9822
10397
|
"name": "printSummary",
|
|
9823
10398
|
"type": "function",
|
|
9824
|
-
"line":
|
|
10399
|
+
"line": 134,
|
|
9825
10400
|
"complexity": "low"
|
|
9826
10401
|
},
|
|
9827
10402
|
{
|
|
9828
10403
|
"name": "printImpact",
|
|
9829
10404
|
"type": "function",
|
|
9830
|
-
"line":
|
|
10405
|
+
"line": 158,
|
|
9831
10406
|
"complexity": "medium"
|
|
9832
10407
|
},
|
|
9833
10408
|
{
|
|
9834
10409
|
"name": "dim",
|
|
9835
10410
|
"type": "function",
|
|
9836
|
-
"line":
|
|
10411
|
+
"line": 42,
|
|
9837
10412
|
"complexity": "low"
|
|
9838
10413
|
},
|
|
9839
10414
|
{
|
|
9840
10415
|
"name": "bold",
|
|
9841
10416
|
"type": "function",
|
|
9842
|
-
"line":
|
|
10417
|
+
"line": 43,
|
|
9843
10418
|
"complexity": "low"
|
|
9844
10419
|
},
|
|
9845
10420
|
{
|
|
9846
10421
|
"name": "green",
|
|
9847
10422
|
"type": "function",
|
|
9848
|
-
"line":
|
|
10423
|
+
"line": 44,
|
|
9849
10424
|
"complexity": "low"
|
|
9850
10425
|
},
|
|
9851
10426
|
{
|
|
9852
10427
|
"name": "yellow",
|
|
9853
10428
|
"type": "function",
|
|
9854
|
-
"line":
|
|
10429
|
+
"line": 45,
|
|
9855
10430
|
"complexity": "low"
|
|
9856
10431
|
},
|
|
9857
10432
|
{
|
|
9858
10433
|
"name": "red",
|
|
9859
10434
|
"type": "function",
|
|
9860
|
-
"line":
|
|
10435
|
+
"line": 46,
|
|
9861
10436
|
"complexity": "low"
|
|
9862
10437
|
},
|
|
9863
10438
|
{
|
|
9864
10439
|
"name": "cyan",
|
|
9865
10440
|
"type": "function",
|
|
9866
|
-
"line":
|
|
10441
|
+
"line": 47,
|
|
9867
10442
|
"complexity": "low"
|
|
9868
10443
|
}
|
|
9869
10444
|
],
|
|
@@ -10105,7 +10680,7 @@
|
|
|
10105
10680
|
{
|
|
10106
10681
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/stages/graph.ts",
|
|
10107
10682
|
"lang": "js",
|
|
10108
|
-
"lines":
|
|
10683
|
+
"lines": 198,
|
|
10109
10684
|
"entities": [
|
|
10110
10685
|
{
|
|
10111
10686
|
"name": "buildGraph",
|