depgraph-core 1.9.1 → 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 +376 -115
- package/depgraph-mcp.js +188 -44
- package/depgraph.js +206 -16
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"timestamp": "2026-09-15T10:
|
|
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",
|
|
@@ -173,6 +175,7 @@
|
|
|
173
175
|
"parseFile__parser",
|
|
174
176
|
"parseFiles__parser",
|
|
175
177
|
"RawEntity__types",
|
|
178
|
+
"RawImport__types",
|
|
176
179
|
"DepNode__types",
|
|
177
180
|
"DepGraph__types",
|
|
178
181
|
"ImpactReport__types",
|
|
@@ -185,7 +188,7 @@
|
|
|
185
188
|
"name": "color",
|
|
186
189
|
"type": "function",
|
|
187
190
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
188
|
-
"line":
|
|
191
|
+
"line": 4668,
|
|
189
192
|
"lang": "js",
|
|
190
193
|
"complexity": "low",
|
|
191
194
|
"inDegree": 0,
|
|
@@ -198,7 +201,7 @@
|
|
|
198
201
|
"name": "getFlag",
|
|
199
202
|
"type": "function",
|
|
200
203
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
201
|
-
"line":
|
|
204
|
+
"line": 4679,
|
|
202
205
|
"lang": "js",
|
|
203
206
|
"complexity": "low",
|
|
204
207
|
"inDegree": 0,
|
|
@@ -211,7 +214,7 @@
|
|
|
211
214
|
"name": "printHelp",
|
|
212
215
|
"type": "function",
|
|
213
216
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
214
|
-
"line":
|
|
217
|
+
"line": 4683,
|
|
215
218
|
"lang": "js",
|
|
216
219
|
"complexity": "low",
|
|
217
220
|
"inDegree": 0,
|
|
@@ -224,7 +227,7 @@
|
|
|
224
227
|
"name": "printBanner",
|
|
225
228
|
"type": "function",
|
|
226
229
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
227
|
-
"line":
|
|
230
|
+
"line": 4731,
|
|
228
231
|
"lang": "js",
|
|
229
232
|
"complexity": "low",
|
|
230
233
|
"inDegree": 0,
|
|
@@ -237,7 +240,7 @@
|
|
|
237
240
|
"name": "printSummary",
|
|
238
241
|
"type": "function",
|
|
239
242
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
240
|
-
"line":
|
|
243
|
+
"line": 4738,
|
|
241
244
|
"lang": "js",
|
|
242
245
|
"complexity": "low",
|
|
243
246
|
"inDegree": 0,
|
|
@@ -250,7 +253,7 @@
|
|
|
250
253
|
"name": "printImpact",
|
|
251
254
|
"type": "function",
|
|
252
255
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
253
|
-
"line":
|
|
256
|
+
"line": 4751,
|
|
254
257
|
"lang": "js",
|
|
255
258
|
"complexity": "medium",
|
|
256
259
|
"inDegree": 0,
|
|
@@ -836,7 +839,7 @@
|
|
|
836
839
|
"name": "buildPipeline",
|
|
837
840
|
"type": "function",
|
|
838
841
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
839
|
-
"line":
|
|
842
|
+
"line": 111,
|
|
840
843
|
"lang": "js",
|
|
841
844
|
"complexity": "low",
|
|
842
845
|
"inDegree": 0,
|
|
@@ -866,7 +869,7 @@
|
|
|
866
869
|
"name": "buildSubgraph",
|
|
867
870
|
"type": "function",
|
|
868
871
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
869
|
-
"line":
|
|
872
|
+
"line": 123,
|
|
870
873
|
"lang": "js",
|
|
871
874
|
"complexity": "high",
|
|
872
875
|
"inDegree": 0,
|
|
@@ -896,7 +899,7 @@
|
|
|
896
899
|
"name": "buildProseSummary",
|
|
897
900
|
"type": "function",
|
|
898
901
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
899
|
-
"line":
|
|
902
|
+
"line": 158,
|
|
900
903
|
"lang": "js",
|
|
901
904
|
"complexity": "medium",
|
|
902
905
|
"inDegree": 1,
|
|
@@ -927,7 +930,7 @@
|
|
|
927
930
|
"name": "analyzeProject",
|
|
928
931
|
"type": "function",
|
|
929
932
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
930
|
-
"line":
|
|
933
|
+
"line": 196,
|
|
931
934
|
"lang": "js",
|
|
932
935
|
"complexity": "low",
|
|
933
936
|
"inDegree": 1,
|
|
@@ -958,7 +961,7 @@
|
|
|
958
961
|
"name": "analyzeImpact",
|
|
959
962
|
"type": "function",
|
|
960
963
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
961
|
-
"line":
|
|
964
|
+
"line": 233,
|
|
962
965
|
"lang": "js",
|
|
963
966
|
"complexity": "low",
|
|
964
967
|
"inDegree": 1,
|
|
@@ -989,7 +992,7 @@
|
|
|
989
992
|
"name": "analyzeGitImpact",
|
|
990
993
|
"type": "function",
|
|
991
994
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
992
|
-
"line":
|
|
995
|
+
"line": 246,
|
|
993
996
|
"lang": "js",
|
|
994
997
|
"complexity": "low",
|
|
995
998
|
"inDegree": 1,
|
|
@@ -1020,7 +1023,7 @@
|
|
|
1020
1023
|
"name": "getGraphSummary",
|
|
1021
1024
|
"type": "function",
|
|
1022
1025
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1023
|
-
"line":
|
|
1026
|
+
"line": 271,
|
|
1024
1027
|
"lang": "js",
|
|
1025
1028
|
"complexity": "low",
|
|
1026
1029
|
"inDegree": 1,
|
|
@@ -1051,7 +1054,7 @@
|
|
|
1051
1054
|
"name": "describeNode",
|
|
1052
1055
|
"type": "function",
|
|
1053
1056
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1054
|
-
"line":
|
|
1057
|
+
"line": 297,
|
|
1055
1058
|
"lang": "js",
|
|
1056
1059
|
"complexity": "high",
|
|
1057
1060
|
"inDegree": 1,
|
|
@@ -1082,7 +1085,7 @@
|
|
|
1082
1085
|
"name": "AnalyzeOptions",
|
|
1083
1086
|
"type": "interface",
|
|
1084
1087
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1085
|
-
"line":
|
|
1088
|
+
"line": 48,
|
|
1086
1089
|
"lang": "js",
|
|
1087
1090
|
"complexity": "low",
|
|
1088
1091
|
"inDegree": 0,
|
|
@@ -1112,7 +1115,7 @@
|
|
|
1112
1115
|
"name": "AnalyzeResult",
|
|
1113
1116
|
"type": "interface",
|
|
1114
1117
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1115
|
-
"line":
|
|
1118
|
+
"line": 68,
|
|
1116
1119
|
"lang": "js",
|
|
1117
1120
|
"complexity": "low",
|
|
1118
1121
|
"inDegree": 0,
|
|
@@ -1142,7 +1145,7 @@
|
|
|
1142
1145
|
"name": "GitImpactResult",
|
|
1143
1146
|
"type": "interface",
|
|
1144
1147
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1145
|
-
"line":
|
|
1148
|
+
"line": 76,
|
|
1146
1149
|
"lang": "js",
|
|
1147
1150
|
"complexity": "low",
|
|
1148
1151
|
"inDegree": 0,
|
|
@@ -1172,7 +1175,7 @@
|
|
|
1172
1175
|
"name": "GraphSummary",
|
|
1173
1176
|
"type": "interface",
|
|
1174
1177
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1175
|
-
"line":
|
|
1178
|
+
"line": 81,
|
|
1176
1179
|
"lang": "js",
|
|
1177
1180
|
"complexity": "low",
|
|
1178
1181
|
"inDegree": 0,
|
|
@@ -1202,7 +1205,7 @@
|
|
|
1202
1205
|
"name": "NodeDescription",
|
|
1203
1206
|
"type": "interface",
|
|
1204
1207
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1205
|
-
"line":
|
|
1208
|
+
"line": 91,
|
|
1206
1209
|
"lang": "js",
|
|
1207
1210
|
"complexity": "low",
|
|
1208
1211
|
"inDegree": 0,
|
|
@@ -1232,7 +1235,7 @@
|
|
|
1232
1235
|
"name": "Verbosity",
|
|
1233
1236
|
"type": "type",
|
|
1234
1237
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
1235
|
-
"line":
|
|
1238
|
+
"line": 43,
|
|
1236
1239
|
"lang": "js",
|
|
1237
1240
|
"complexity": "low",
|
|
1238
1241
|
"inDegree": 0,
|
|
@@ -1266,8 +1269,8 @@
|
|
|
1266
1269
|
"lang": "js",
|
|
1267
1270
|
"complexity": "high",
|
|
1268
1271
|
"inDegree": 0,
|
|
1269
|
-
"outDegree":
|
|
1270
|
-
"centralityScore":
|
|
1272
|
+
"outDegree": 15,
|
|
1273
|
+
"centralityScore": 15,
|
|
1271
1274
|
"connections": [
|
|
1272
1275
|
"RawEntity__types",
|
|
1273
1276
|
"RawImport__types",
|
|
@@ -1281,7 +1284,9 @@
|
|
|
1281
1284
|
"collectCteNames__helpers",
|
|
1282
1285
|
"collectTableRefs__helpers",
|
|
1283
1286
|
"collectFkRefs__helpers",
|
|
1284
|
-
"normIdent__helpers"
|
|
1287
|
+
"normIdent__helpers",
|
|
1288
|
+
"findMatchingParen__helpers",
|
|
1289
|
+
"findStatementEnd__helpers"
|
|
1285
1290
|
]
|
|
1286
1291
|
},
|
|
1287
1292
|
{
|
|
@@ -1293,8 +1298,8 @@
|
|
|
1293
1298
|
"lang": "js",
|
|
1294
1299
|
"complexity": "low",
|
|
1295
1300
|
"inDegree": 0,
|
|
1296
|
-
"outDegree":
|
|
1297
|
-
"centralityScore":
|
|
1301
|
+
"outDegree": 15,
|
|
1302
|
+
"centralityScore": 15,
|
|
1298
1303
|
"connections": [
|
|
1299
1304
|
"RawEntity__types",
|
|
1300
1305
|
"RawImport__types",
|
|
@@ -1308,7 +1313,9 @@
|
|
|
1308
1313
|
"collectCteNames__helpers",
|
|
1309
1314
|
"collectTableRefs__helpers",
|
|
1310
1315
|
"collectFkRefs__helpers",
|
|
1311
|
-
"normIdent__helpers"
|
|
1316
|
+
"normIdent__helpers",
|
|
1317
|
+
"findMatchingParen__helpers",
|
|
1318
|
+
"findStatementEnd__helpers"
|
|
1312
1319
|
]
|
|
1313
1320
|
},
|
|
1314
1321
|
{
|
|
@@ -1320,8 +1327,8 @@
|
|
|
1320
1327
|
"lang": "js",
|
|
1321
1328
|
"complexity": "medium",
|
|
1322
1329
|
"inDegree": 0,
|
|
1323
|
-
"outDegree":
|
|
1324
|
-
"centralityScore":
|
|
1330
|
+
"outDegree": 15,
|
|
1331
|
+
"centralityScore": 15,
|
|
1325
1332
|
"connections": [
|
|
1326
1333
|
"RawEntity__types",
|
|
1327
1334
|
"RawImport__types",
|
|
@@ -1335,7 +1342,9 @@
|
|
|
1335
1342
|
"collectCteNames__helpers",
|
|
1336
1343
|
"collectTableRefs__helpers",
|
|
1337
1344
|
"collectFkRefs__helpers",
|
|
1338
|
-
"normIdent__helpers"
|
|
1345
|
+
"normIdent__helpers",
|
|
1346
|
+
"findMatchingParen__helpers",
|
|
1347
|
+
"findStatementEnd__helpers"
|
|
1339
1348
|
]
|
|
1340
1349
|
},
|
|
1341
1350
|
{
|
|
@@ -1754,6 +1763,38 @@
|
|
|
1754
1763
|
"centralityScore": 0,
|
|
1755
1764
|
"connections": []
|
|
1756
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
|
+
},
|
|
1757
1798
|
{
|
|
1758
1799
|
"id": "stripAlias__extractor",
|
|
1759
1800
|
"name": "stripAlias",
|
|
@@ -2143,12 +2184,48 @@
|
|
|
2143
2184
|
"RawEntity__types"
|
|
2144
2185
|
]
|
|
2145
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
|
+
},
|
|
2146
2223
|
{
|
|
2147
2224
|
"id": "collectTableRefs__helpers",
|
|
2148
2225
|
"name": "collectTableRefs",
|
|
2149
2226
|
"type": "function",
|
|
2150
2227
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2151
|
-
"line":
|
|
2228
|
+
"line": 187,
|
|
2152
2229
|
"lang": "js",
|
|
2153
2230
|
"complexity": "low",
|
|
2154
2231
|
"inDegree": 3,
|
|
@@ -2166,7 +2243,7 @@
|
|
|
2166
2243
|
"name": "collectFkRefs",
|
|
2167
2244
|
"type": "function",
|
|
2168
2245
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
2169
|
-
"line":
|
|
2246
|
+
"line": 214,
|
|
2170
2247
|
"lang": "js",
|
|
2171
2248
|
"complexity": "low",
|
|
2172
2249
|
"inDegree": 3,
|
|
@@ -2223,7 +2300,7 @@
|
|
|
2223
2300
|
"name": "color",
|
|
2224
2301
|
"type": "function",
|
|
2225
2302
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2226
|
-
"line":
|
|
2303
|
+
"line": 39,
|
|
2227
2304
|
"lang": "js",
|
|
2228
2305
|
"complexity": "low",
|
|
2229
2306
|
"inDegree": 0,
|
|
@@ -2245,7 +2322,7 @@
|
|
|
2245
2322
|
"name": "getFlag",
|
|
2246
2323
|
"type": "function",
|
|
2247
2324
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2248
|
-
"line":
|
|
2325
|
+
"line": 59,
|
|
2249
2326
|
"lang": "js",
|
|
2250
2327
|
"complexity": "low",
|
|
2251
2328
|
"inDegree": 0,
|
|
@@ -2267,7 +2344,7 @@
|
|
|
2267
2344
|
"name": "printHelp",
|
|
2268
2345
|
"type": "function",
|
|
2269
2346
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2270
|
-
"line":
|
|
2347
|
+
"line": 67,
|
|
2271
2348
|
"lang": "js",
|
|
2272
2349
|
"complexity": "low",
|
|
2273
2350
|
"inDegree": 0,
|
|
@@ -2289,7 +2366,7 @@
|
|
|
2289
2366
|
"name": "printBanner",
|
|
2290
2367
|
"type": "function",
|
|
2291
2368
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2292
|
-
"line":
|
|
2369
|
+
"line": 119,
|
|
2293
2370
|
"lang": "js",
|
|
2294
2371
|
"complexity": "low",
|
|
2295
2372
|
"inDegree": 0,
|
|
@@ -2311,7 +2388,7 @@
|
|
|
2311
2388
|
"name": "printSummary",
|
|
2312
2389
|
"type": "function",
|
|
2313
2390
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2314
|
-
"line":
|
|
2391
|
+
"line": 135,
|
|
2315
2392
|
"lang": "js",
|
|
2316
2393
|
"complexity": "low",
|
|
2317
2394
|
"inDegree": 0,
|
|
@@ -2333,7 +2410,7 @@
|
|
|
2333
2410
|
"name": "printImpact",
|
|
2334
2411
|
"type": "function",
|
|
2335
2412
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2336
|
-
"line":
|
|
2413
|
+
"line": 159,
|
|
2337
2414
|
"lang": "js",
|
|
2338
2415
|
"complexity": "medium",
|
|
2339
2416
|
"inDegree": 0,
|
|
@@ -2355,7 +2432,7 @@
|
|
|
2355
2432
|
"name": "dim",
|
|
2356
2433
|
"type": "function",
|
|
2357
2434
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2358
|
-
"line":
|
|
2435
|
+
"line": 43,
|
|
2359
2436
|
"lang": "js",
|
|
2360
2437
|
"complexity": "low",
|
|
2361
2438
|
"inDegree": 0,
|
|
@@ -2377,7 +2454,7 @@
|
|
|
2377
2454
|
"name": "bold",
|
|
2378
2455
|
"type": "function",
|
|
2379
2456
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2380
|
-
"line":
|
|
2457
|
+
"line": 44,
|
|
2381
2458
|
"lang": "js",
|
|
2382
2459
|
"complexity": "low",
|
|
2383
2460
|
"inDegree": 0,
|
|
@@ -2399,7 +2476,7 @@
|
|
|
2399
2476
|
"name": "green",
|
|
2400
2477
|
"type": "function",
|
|
2401
2478
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2402
|
-
"line":
|
|
2479
|
+
"line": 45,
|
|
2403
2480
|
"lang": "js",
|
|
2404
2481
|
"complexity": "low",
|
|
2405
2482
|
"inDegree": 0,
|
|
@@ -2421,7 +2498,7 @@
|
|
|
2421
2498
|
"name": "yellow",
|
|
2422
2499
|
"type": "function",
|
|
2423
2500
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2424
|
-
"line":
|
|
2501
|
+
"line": 46,
|
|
2425
2502
|
"lang": "js",
|
|
2426
2503
|
"complexity": "low",
|
|
2427
2504
|
"inDegree": 0,
|
|
@@ -2443,7 +2520,7 @@
|
|
|
2443
2520
|
"name": "red",
|
|
2444
2521
|
"type": "function",
|
|
2445
2522
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2446
|
-
"line":
|
|
2523
|
+
"line": 47,
|
|
2447
2524
|
"lang": "js",
|
|
2448
2525
|
"complexity": "low",
|
|
2449
2526
|
"inDegree": 0,
|
|
@@ -2465,7 +2542,7 @@
|
|
|
2465
2542
|
"name": "cyan",
|
|
2466
2543
|
"type": "function",
|
|
2467
2544
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
2468
|
-
"line":
|
|
2545
|
+
"line": 48,
|
|
2469
2546
|
"lang": "js",
|
|
2470
2547
|
"complexity": "low",
|
|
2471
2548
|
"inDegree": 0,
|
|
@@ -2765,7 +2842,7 @@
|
|
|
2765
2842
|
"name": "makeId",
|
|
2766
2843
|
"type": "function",
|
|
2767
2844
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/stages/graph.ts",
|
|
2768
|
-
"line":
|
|
2845
|
+
"line": 129,
|
|
2769
2846
|
"lang": "js",
|
|
2770
2847
|
"complexity": "low",
|
|
2771
2848
|
"inDegree": 0,
|
|
@@ -2783,7 +2860,7 @@
|
|
|
2783
2860
|
"name": "resolvePath",
|
|
2784
2861
|
"type": "function",
|
|
2785
2862
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/stages/graph.ts",
|
|
2786
|
-
"line":
|
|
2863
|
+
"line": 144,
|
|
2787
2864
|
"lang": "js",
|
|
2788
2865
|
"complexity": "high",
|
|
2789
2866
|
"inDegree": 0,
|
|
@@ -3311,13 +3388,15 @@
|
|
|
3311
3388
|
"line": 8,
|
|
3312
3389
|
"lang": "js",
|
|
3313
3390
|
"complexity": "low",
|
|
3314
|
-
"inDegree":
|
|
3391
|
+
"inDegree": 20,
|
|
3315
3392
|
"outDegree": 0,
|
|
3316
|
-
"centralityScore":
|
|
3393
|
+
"centralityScore": 40,
|
|
3317
3394
|
"connections": [
|
|
3318
3395
|
"extractEntities__extractor",
|
|
3319
3396
|
"extractImports__extractor",
|
|
3320
3397
|
"extractExports__extractor",
|
|
3398
|
+
"isScalar__extractor",
|
|
3399
|
+
"baseType__extractor",
|
|
3321
3400
|
"stripAlias__extractor",
|
|
3322
3401
|
"registerParser__registry",
|
|
3323
3402
|
"getLanguageParser__registry",
|
|
@@ -3327,6 +3406,8 @@
|
|
|
3327
3406
|
"normIdent__helpers",
|
|
3328
3407
|
"maskSqlComments__helpers",
|
|
3329
3408
|
"collectCteNames__helpers",
|
|
3409
|
+
"findMatchingParen__helpers",
|
|
3410
|
+
"findStatementEnd__helpers",
|
|
3330
3411
|
"collectTableRefs__helpers",
|
|
3331
3412
|
"collectFkRefs__helpers",
|
|
3332
3413
|
"parseFile__parser",
|
|
@@ -3341,13 +3422,15 @@
|
|
|
3341
3422
|
"line": 22,
|
|
3342
3423
|
"lang": "js",
|
|
3343
3424
|
"complexity": "low",
|
|
3344
|
-
"inDegree":
|
|
3425
|
+
"inDegree": 12,
|
|
3345
3426
|
"outDegree": 0,
|
|
3346
|
-
"centralityScore":
|
|
3427
|
+
"centralityScore": 24,
|
|
3347
3428
|
"connections": [
|
|
3348
3429
|
"extractEntities__extractor",
|
|
3349
3430
|
"extractImports__extractor",
|
|
3350
3431
|
"extractExports__extractor",
|
|
3432
|
+
"isScalar__extractor",
|
|
3433
|
+
"baseType__extractor",
|
|
3351
3434
|
"stripAlias__extractor",
|
|
3352
3435
|
"registerParser__registry",
|
|
3353
3436
|
"getLanguageParser__registry",
|
|
@@ -3362,7 +3445,7 @@
|
|
|
3362
3445
|
"name": "ParsedFile",
|
|
3363
3446
|
"type": "interface",
|
|
3364
3447
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3365
|
-
"line":
|
|
3448
|
+
"line": 47,
|
|
3366
3449
|
"lang": "js",
|
|
3367
3450
|
"complexity": "low",
|
|
3368
3451
|
"inDegree": 7,
|
|
@@ -3383,7 +3466,7 @@
|
|
|
3383
3466
|
"name": "DepNode",
|
|
3384
3467
|
"type": "interface",
|
|
3385
3468
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3386
|
-
"line":
|
|
3469
|
+
"line": 65,
|
|
3387
3470
|
"lang": "js",
|
|
3388
3471
|
"complexity": "low",
|
|
3389
3472
|
"inDegree": 24,
|
|
@@ -3421,7 +3504,7 @@
|
|
|
3421
3504
|
"name": "DepEdge",
|
|
3422
3505
|
"type": "interface",
|
|
3423
3506
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3424
|
-
"line":
|
|
3507
|
+
"line": 99,
|
|
3425
3508
|
"lang": "js",
|
|
3426
3509
|
"complexity": "low",
|
|
3427
3510
|
"inDegree": 3,
|
|
@@ -3438,7 +3521,7 @@
|
|
|
3438
3521
|
"name": "DepGraph",
|
|
3439
3522
|
"type": "interface",
|
|
3440
3523
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3441
|
-
"line":
|
|
3524
|
+
"line": 113,
|
|
3442
3525
|
"lang": "js",
|
|
3443
3526
|
"complexity": "low",
|
|
3444
3527
|
"inDegree": 35,
|
|
@@ -3487,7 +3570,7 @@
|
|
|
3487
3570
|
"name": "AffectedNode",
|
|
3488
3571
|
"type": "interface",
|
|
3489
3572
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3490
|
-
"line":
|
|
3573
|
+
"line": 123,
|
|
3491
3574
|
"lang": "js",
|
|
3492
3575
|
"complexity": "low",
|
|
3493
3576
|
"inDegree": 10,
|
|
@@ -3511,7 +3594,7 @@
|
|
|
3511
3594
|
"name": "ImpactReport",
|
|
3512
3595
|
"type": "interface",
|
|
3513
3596
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3514
|
-
"line":
|
|
3597
|
+
"line": 145,
|
|
3515
3598
|
"lang": "js",
|
|
3516
3599
|
"complexity": "low",
|
|
3517
3600
|
"inDegree": 25,
|
|
@@ -3550,7 +3633,7 @@
|
|
|
3550
3633
|
"name": "OutputJSON",
|
|
3551
3634
|
"type": "interface",
|
|
3552
3635
|
"file": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
3553
|
-
"line":
|
|
3636
|
+
"line": 167,
|
|
3554
3637
|
"lang": "js",
|
|
3555
3638
|
"complexity": "low",
|
|
3556
3639
|
"inDegree": 15,
|
|
@@ -5400,6 +5483,30 @@
|
|
|
5400
5483
|
"type": "imports",
|
|
5401
5484
|
"description": "extractDart imports _findMatchingBrace from helpers.ts"
|
|
5402
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
|
+
},
|
|
5403
5510
|
{
|
|
5404
5511
|
"from": "stripAlias__extractor",
|
|
5405
5512
|
"to": "RawEntity__types",
|
|
@@ -5670,6 +5777,42 @@
|
|
|
5670
5777
|
"type": "imports",
|
|
5671
5778
|
"description": "extractExports imports normIdent from helpers.ts"
|
|
5672
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
|
+
},
|
|
5673
5816
|
{
|
|
5674
5817
|
"from": "lineOf__helpers",
|
|
5675
5818
|
"to": "RawEntity__types",
|
|
@@ -5694,6 +5837,18 @@
|
|
|
5694
5837
|
"type": "imports",
|
|
5695
5838
|
"description": "collectCteNames imports RawEntity from types.ts"
|
|
5696
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
|
+
},
|
|
5697
5852
|
{
|
|
5698
5853
|
"from": "collectTableRefs__helpers",
|
|
5699
5854
|
"to": "RawEntity__types",
|
|
@@ -6773,42 +6928,42 @@
|
|
|
6773
6928
|
{
|
|
6774
6929
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/depgraph.js",
|
|
6775
6930
|
"lang": "js",
|
|
6776
|
-
"lines":
|
|
6931
|
+
"lines": 4857,
|
|
6777
6932
|
"entities": [
|
|
6778
6933
|
{
|
|
6779
6934
|
"name": "color",
|
|
6780
6935
|
"type": "function",
|
|
6781
|
-
"line":
|
|
6936
|
+
"line": 4668,
|
|
6782
6937
|
"complexity": "low"
|
|
6783
6938
|
},
|
|
6784
6939
|
{
|
|
6785
6940
|
"name": "getFlag",
|
|
6786
6941
|
"type": "function",
|
|
6787
|
-
"line":
|
|
6942
|
+
"line": 4679,
|
|
6788
6943
|
"complexity": "low"
|
|
6789
6944
|
},
|
|
6790
6945
|
{
|
|
6791
6946
|
"name": "printHelp",
|
|
6792
6947
|
"type": "function",
|
|
6793
|
-
"line":
|
|
6948
|
+
"line": 4683,
|
|
6794
6949
|
"complexity": "low"
|
|
6795
6950
|
},
|
|
6796
6951
|
{
|
|
6797
6952
|
"name": "printBanner",
|
|
6798
6953
|
"type": "function",
|
|
6799
|
-
"line":
|
|
6954
|
+
"line": 4731,
|
|
6800
6955
|
"complexity": "low"
|
|
6801
6956
|
},
|
|
6802
6957
|
{
|
|
6803
6958
|
"name": "printSummary",
|
|
6804
6959
|
"type": "function",
|
|
6805
|
-
"line":
|
|
6960
|
+
"line": 4738,
|
|
6806
6961
|
"complexity": "low"
|
|
6807
6962
|
},
|
|
6808
6963
|
{
|
|
6809
6964
|
"name": "printImpact",
|
|
6810
6965
|
"type": "function",
|
|
6811
|
-
"line":
|
|
6966
|
+
"line": 4751,
|
|
6812
6967
|
"complexity": "medium"
|
|
6813
6968
|
}
|
|
6814
6969
|
],
|
|
@@ -7835,90 +7990,90 @@
|
|
|
7835
7990
|
{
|
|
7836
7991
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/api.ts",
|
|
7837
7992
|
"lang": "js",
|
|
7838
|
-
"lines":
|
|
7993
|
+
"lines": 346,
|
|
7839
7994
|
"entities": [
|
|
7840
7995
|
{
|
|
7841
7996
|
"name": "buildPipeline",
|
|
7842
7997
|
"type": "function",
|
|
7843
|
-
"line":
|
|
7998
|
+
"line": 111,
|
|
7844
7999
|
"complexity": "low"
|
|
7845
8000
|
},
|
|
7846
8001
|
{
|
|
7847
8002
|
"name": "buildSubgraph",
|
|
7848
8003
|
"type": "function",
|
|
7849
|
-
"line":
|
|
8004
|
+
"line": 123,
|
|
7850
8005
|
"complexity": "high"
|
|
7851
8006
|
},
|
|
7852
8007
|
{
|
|
7853
8008
|
"name": "buildProseSummary",
|
|
7854
8009
|
"type": "function",
|
|
7855
|
-
"line":
|
|
8010
|
+
"line": 158,
|
|
7856
8011
|
"complexity": "medium"
|
|
7857
8012
|
},
|
|
7858
8013
|
{
|
|
7859
8014
|
"name": "analyzeProject",
|
|
7860
8015
|
"type": "function",
|
|
7861
|
-
"line":
|
|
8016
|
+
"line": 196,
|
|
7862
8017
|
"complexity": "low"
|
|
7863
8018
|
},
|
|
7864
8019
|
{
|
|
7865
8020
|
"name": "analyzeImpact",
|
|
7866
8021
|
"type": "function",
|
|
7867
|
-
"line":
|
|
8022
|
+
"line": 233,
|
|
7868
8023
|
"complexity": "low"
|
|
7869
8024
|
},
|
|
7870
8025
|
{
|
|
7871
8026
|
"name": "analyzeGitImpact",
|
|
7872
8027
|
"type": "function",
|
|
7873
|
-
"line":
|
|
8028
|
+
"line": 246,
|
|
7874
8029
|
"complexity": "low"
|
|
7875
8030
|
},
|
|
7876
8031
|
{
|
|
7877
8032
|
"name": "getGraphSummary",
|
|
7878
8033
|
"type": "function",
|
|
7879
|
-
"line":
|
|
8034
|
+
"line": 271,
|
|
7880
8035
|
"complexity": "low"
|
|
7881
8036
|
},
|
|
7882
8037
|
{
|
|
7883
8038
|
"name": "describeNode",
|
|
7884
8039
|
"type": "function",
|
|
7885
|
-
"line":
|
|
8040
|
+
"line": 297,
|
|
7886
8041
|
"complexity": "high"
|
|
7887
8042
|
},
|
|
7888
8043
|
{
|
|
7889
8044
|
"name": "AnalyzeOptions",
|
|
7890
8045
|
"type": "interface",
|
|
7891
|
-
"line":
|
|
8046
|
+
"line": 48,
|
|
7892
8047
|
"complexity": "low"
|
|
7893
8048
|
},
|
|
7894
8049
|
{
|
|
7895
8050
|
"name": "AnalyzeResult",
|
|
7896
8051
|
"type": "interface",
|
|
7897
|
-
"line":
|
|
8052
|
+
"line": 68,
|
|
7898
8053
|
"complexity": "low"
|
|
7899
8054
|
},
|
|
7900
8055
|
{
|
|
7901
8056
|
"name": "GitImpactResult",
|
|
7902
8057
|
"type": "interface",
|
|
7903
|
-
"line":
|
|
8058
|
+
"line": 76,
|
|
7904
8059
|
"complexity": "low"
|
|
7905
8060
|
},
|
|
7906
8061
|
{
|
|
7907
8062
|
"name": "GraphSummary",
|
|
7908
8063
|
"type": "interface",
|
|
7909
|
-
"line":
|
|
8064
|
+
"line": 81,
|
|
7910
8065
|
"complexity": "low"
|
|
7911
8066
|
},
|
|
7912
8067
|
{
|
|
7913
8068
|
"name": "NodeDescription",
|
|
7914
8069
|
"type": "interface",
|
|
7915
|
-
"line":
|
|
8070
|
+
"line": 91,
|
|
7916
8071
|
"complexity": "low"
|
|
7917
8072
|
},
|
|
7918
8073
|
{
|
|
7919
8074
|
"name": "Verbosity",
|
|
7920
8075
|
"type": "type",
|
|
7921
|
-
"line":
|
|
8076
|
+
"line": 43,
|
|
7922
8077
|
"complexity": "low"
|
|
7923
8078
|
}
|
|
7924
8079
|
],
|
|
@@ -9301,6 +9456,95 @@
|
|
|
9301
9456
|
"PhpGraphResult"
|
|
9302
9457
|
]
|
|
9303
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
|
+
},
|
|
9304
9548
|
{
|
|
9305
9549
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/python/extractor.ts",
|
|
9306
9550
|
"lang": "js",
|
|
@@ -10005,24 +10249,24 @@
|
|
|
10005
10249
|
{
|
|
10006
10250
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/extractor.ts",
|
|
10007
10251
|
"lang": "js",
|
|
10008
|
-
"lines":
|
|
10252
|
+
"lines": 148,
|
|
10009
10253
|
"entities": [
|
|
10010
10254
|
{
|
|
10011
10255
|
"name": "extractEntities",
|
|
10012
10256
|
"type": "function",
|
|
10013
|
-
"line":
|
|
10257
|
+
"line": 23,
|
|
10014
10258
|
"complexity": "medium"
|
|
10015
10259
|
},
|
|
10016
10260
|
{
|
|
10017
10261
|
"name": "extractImports",
|
|
10018
10262
|
"type": "function",
|
|
10019
|
-
"line":
|
|
10020
|
-
"complexity": "
|
|
10263
|
+
"line": 74,
|
|
10264
|
+
"complexity": "high"
|
|
10021
10265
|
},
|
|
10022
10266
|
{
|
|
10023
10267
|
"name": "extractExports",
|
|
10024
10268
|
"type": "function",
|
|
10025
|
-
"line":
|
|
10269
|
+
"line": 131,
|
|
10026
10270
|
"complexity": "low"
|
|
10027
10271
|
}
|
|
10028
10272
|
],
|
|
@@ -10052,6 +10296,9 @@
|
|
|
10052
10296
|
"collectFkRefs",
|
|
10053
10297
|
"ROUTINE_RECOVERY_RX",
|
|
10054
10298
|
"normIdent",
|
|
10299
|
+
"findMatchingParen",
|
|
10300
|
+
"findStatementEnd",
|
|
10301
|
+
"QUAL_NAME",
|
|
10055
10302
|
""
|
|
10056
10303
|
],
|
|
10057
10304
|
"isLocal": true
|
|
@@ -10073,7 +10320,7 @@
|
|
|
10073
10320
|
{
|
|
10074
10321
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/languages/sql/helpers.ts",
|
|
10075
10322
|
"lang": "js",
|
|
10076
|
-
"lines":
|
|
10323
|
+
"lines": 229,
|
|
10077
10324
|
"entities": [
|
|
10078
10325
|
{
|
|
10079
10326
|
"name": "lineOf",
|
|
@@ -10100,15 +10347,27 @@
|
|
|
10100
10347
|
"complexity": "low"
|
|
10101
10348
|
},
|
|
10102
10349
|
{
|
|
10103
|
-
"name": "
|
|
10350
|
+
"name": "findMatchingParen",
|
|
10104
10351
|
"type": "function",
|
|
10105
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,
|
|
10106
10365
|
"complexity": "low"
|
|
10107
10366
|
},
|
|
10108
10367
|
{
|
|
10109
10368
|
"name": "collectFkRefs",
|
|
10110
10369
|
"type": "function",
|
|
10111
|
-
"line":
|
|
10370
|
+
"line": 214,
|
|
10112
10371
|
"complexity": "low"
|
|
10113
10372
|
}
|
|
10114
10373
|
],
|
|
@@ -10129,6 +10388,8 @@
|
|
|
10129
10388
|
"normIdent",
|
|
10130
10389
|
"maskSqlComments",
|
|
10131
10390
|
"collectCteNames",
|
|
10391
|
+
"findMatchingParen",
|
|
10392
|
+
"findStatementEnd",
|
|
10132
10393
|
"collectTableRefs",
|
|
10133
10394
|
"collectFkRefs",
|
|
10134
10395
|
"NON_TABLES"
|
|
@@ -10367,78 +10628,78 @@
|
|
|
10367
10628
|
{
|
|
10368
10629
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/main.ts",
|
|
10369
10630
|
"lang": "js",
|
|
10370
|
-
"lines":
|
|
10631
|
+
"lines": 300,
|
|
10371
10632
|
"entities": [
|
|
10372
10633
|
{
|
|
10373
10634
|
"name": "color",
|
|
10374
10635
|
"type": "function",
|
|
10375
|
-
"line":
|
|
10636
|
+
"line": 39,
|
|
10376
10637
|
"complexity": "low"
|
|
10377
10638
|
},
|
|
10378
10639
|
{
|
|
10379
10640
|
"name": "getFlag",
|
|
10380
10641
|
"type": "function",
|
|
10381
|
-
"line":
|
|
10642
|
+
"line": 59,
|
|
10382
10643
|
"complexity": "low"
|
|
10383
10644
|
},
|
|
10384
10645
|
{
|
|
10385
10646
|
"name": "printHelp",
|
|
10386
10647
|
"type": "function",
|
|
10387
|
-
"line":
|
|
10648
|
+
"line": 67,
|
|
10388
10649
|
"complexity": "low"
|
|
10389
10650
|
},
|
|
10390
10651
|
{
|
|
10391
10652
|
"name": "printBanner",
|
|
10392
10653
|
"type": "function",
|
|
10393
|
-
"line":
|
|
10654
|
+
"line": 119,
|
|
10394
10655
|
"complexity": "low"
|
|
10395
10656
|
},
|
|
10396
10657
|
{
|
|
10397
10658
|
"name": "printSummary",
|
|
10398
10659
|
"type": "function",
|
|
10399
|
-
"line":
|
|
10660
|
+
"line": 135,
|
|
10400
10661
|
"complexity": "low"
|
|
10401
10662
|
},
|
|
10402
10663
|
{
|
|
10403
10664
|
"name": "printImpact",
|
|
10404
10665
|
"type": "function",
|
|
10405
|
-
"line":
|
|
10666
|
+
"line": 159,
|
|
10406
10667
|
"complexity": "medium"
|
|
10407
10668
|
},
|
|
10408
10669
|
{
|
|
10409
10670
|
"name": "dim",
|
|
10410
10671
|
"type": "function",
|
|
10411
|
-
"line":
|
|
10672
|
+
"line": 43,
|
|
10412
10673
|
"complexity": "low"
|
|
10413
10674
|
},
|
|
10414
10675
|
{
|
|
10415
10676
|
"name": "bold",
|
|
10416
10677
|
"type": "function",
|
|
10417
|
-
"line":
|
|
10678
|
+
"line": 44,
|
|
10418
10679
|
"complexity": "low"
|
|
10419
10680
|
},
|
|
10420
10681
|
{
|
|
10421
10682
|
"name": "green",
|
|
10422
10683
|
"type": "function",
|
|
10423
|
-
"line":
|
|
10684
|
+
"line": 45,
|
|
10424
10685
|
"complexity": "low"
|
|
10425
10686
|
},
|
|
10426
10687
|
{
|
|
10427
10688
|
"name": "yellow",
|
|
10428
10689
|
"type": "function",
|
|
10429
|
-
"line":
|
|
10690
|
+
"line": 46,
|
|
10430
10691
|
"complexity": "low"
|
|
10431
10692
|
},
|
|
10432
10693
|
{
|
|
10433
10694
|
"name": "red",
|
|
10434
10695
|
"type": "function",
|
|
10435
|
-
"line":
|
|
10696
|
+
"line": 47,
|
|
10436
10697
|
"complexity": "low"
|
|
10437
10698
|
},
|
|
10438
10699
|
{
|
|
10439
10700
|
"name": "cyan",
|
|
10440
10701
|
"type": "function",
|
|
10441
|
-
"line":
|
|
10702
|
+
"line": 48,
|
|
10442
10703
|
"complexity": "low"
|
|
10443
10704
|
}
|
|
10444
10705
|
],
|
|
@@ -10680,7 +10941,7 @@
|
|
|
10680
10941
|
{
|
|
10681
10942
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/stages/graph.ts",
|
|
10682
10943
|
"lang": "js",
|
|
10683
|
-
"lines":
|
|
10944
|
+
"lines": 204,
|
|
10684
10945
|
"entities": [
|
|
10685
10946
|
{
|
|
10686
10947
|
"name": "buildGraph",
|
|
@@ -10691,13 +10952,13 @@
|
|
|
10691
10952
|
{
|
|
10692
10953
|
"name": "makeId",
|
|
10693
10954
|
"type": "function",
|
|
10694
|
-
"line":
|
|
10955
|
+
"line": 129,
|
|
10695
10956
|
"complexity": "low"
|
|
10696
10957
|
},
|
|
10697
10958
|
{
|
|
10698
10959
|
"name": "resolvePath",
|
|
10699
10960
|
"type": "function",
|
|
10700
|
-
"line":
|
|
10961
|
+
"line": 144,
|
|
10701
10962
|
"complexity": "high"
|
|
10702
10963
|
}
|
|
10703
10964
|
],
|
|
@@ -10976,7 +11237,7 @@
|
|
|
10976
11237
|
{
|
|
10977
11238
|
"filePath": "/Users/betopia/Desktop/Arafat/depgraph/src/types.ts",
|
|
10978
11239
|
"lang": "js",
|
|
10979
|
-
"lines":
|
|
11240
|
+
"lines": 202,
|
|
10980
11241
|
"entities": [
|
|
10981
11242
|
{
|
|
10982
11243
|
"name": "RawEntity",
|
|
@@ -10993,43 +11254,43 @@
|
|
|
10993
11254
|
{
|
|
10994
11255
|
"name": "ParsedFile",
|
|
10995
11256
|
"type": "interface",
|
|
10996
|
-
"line":
|
|
11257
|
+
"line": 47,
|
|
10997
11258
|
"complexity": "low"
|
|
10998
11259
|
},
|
|
10999
11260
|
{
|
|
11000
11261
|
"name": "DepNode",
|
|
11001
11262
|
"type": "interface",
|
|
11002
|
-
"line":
|
|
11263
|
+
"line": 65,
|
|
11003
11264
|
"complexity": "low"
|
|
11004
11265
|
},
|
|
11005
11266
|
{
|
|
11006
11267
|
"name": "DepEdge",
|
|
11007
11268
|
"type": "interface",
|
|
11008
|
-
"line":
|
|
11269
|
+
"line": 99,
|
|
11009
11270
|
"complexity": "low"
|
|
11010
11271
|
},
|
|
11011
11272
|
{
|
|
11012
11273
|
"name": "DepGraph",
|
|
11013
11274
|
"type": "interface",
|
|
11014
|
-
"line":
|
|
11275
|
+
"line": 113,
|
|
11015
11276
|
"complexity": "low"
|
|
11016
11277
|
},
|
|
11017
11278
|
{
|
|
11018
11279
|
"name": "AffectedNode",
|
|
11019
11280
|
"type": "interface",
|
|
11020
|
-
"line":
|
|
11281
|
+
"line": 123,
|
|
11021
11282
|
"complexity": "low"
|
|
11022
11283
|
},
|
|
11023
11284
|
{
|
|
11024
11285
|
"name": "ImpactReport",
|
|
11025
11286
|
"type": "interface",
|
|
11026
|
-
"line":
|
|
11287
|
+
"line": 145,
|
|
11027
11288
|
"complexity": "low"
|
|
11028
11289
|
},
|
|
11029
11290
|
{
|
|
11030
11291
|
"name": "OutputJSON",
|
|
11031
11292
|
"type": "interface",
|
|
11032
|
-
"line":
|
|
11293
|
+
"line": 167,
|
|
11033
11294
|
"complexity": "low"
|
|
11034
11295
|
}
|
|
11035
11296
|
],
|