depgraph-core 1.0.2 → 1.5.0
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 +4634 -0
- package/README.md +208 -105
- package/depgraph-output.json +1609 -212
- package/depgraph.js +1666 -162
- package/docs/README.md +56 -0
- package/docs/architecture.md +89 -0
- package/docs/data-types.md +218 -0
- package/docs/language-registry.md +205 -0
- package/docs/stage-collector.md +109 -0
- package/docs/stage-graph.md +157 -0
- package/docs/stage-impact.md +154 -0
- package/docs/stage-metrics.md +113 -0
- package/docs/stage-output.md +144 -0
- package/docs/stage-parser.md +144 -0
- package/package.json +4 -1
package/depgraph-output.json
CHANGED
|
@@ -1,23 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"timestamp": "2026-07-
|
|
5
|
-
"totalFiles":
|
|
6
|
-
"totalLines":
|
|
4
|
+
"timestamp": "2026-07-22T08:19:09.268Z",
|
|
5
|
+
"totalFiles": 28,
|
|
6
|
+
"totalLines": 4451
|
|
7
7
|
},
|
|
8
8
|
"summary": {
|
|
9
|
-
"totalNodes":
|
|
10
|
-
"totalEdges":
|
|
9
|
+
"totalNodes": 77,
|
|
10
|
+
"totalEdges": 253,
|
|
11
11
|
"entryPoints": [
|
|
12
|
+
"GET__users__gitdiff_test",
|
|
12
13
|
"makeId__graph_test",
|
|
13
14
|
"createMockNode__impact_test",
|
|
14
15
|
"createMockNode__metrics_test",
|
|
15
16
|
"activeFunc__parser_test",
|
|
17
|
+
"extractEntities__go",
|
|
18
|
+
"extractImports__go",
|
|
19
|
+
"extractExports__go",
|
|
16
20
|
"estimateComplexity__javascript",
|
|
17
21
|
"slugify__javascript",
|
|
18
22
|
"extractEntities__javascript",
|
|
19
23
|
"extractImports__javascript",
|
|
20
24
|
"extractExports__javascript",
|
|
25
|
+
"estimateComplexity__python",
|
|
26
|
+
"extractEntities__python",
|
|
27
|
+
"extractImports__python",
|
|
28
|
+
"extractExports__python",
|
|
21
29
|
"color__main",
|
|
22
30
|
"getFlag__main",
|
|
23
31
|
"printHelp__main",
|
|
@@ -30,6 +38,12 @@
|
|
|
30
38
|
"yellow__main",
|
|
31
39
|
"red__main",
|
|
32
40
|
"cyan__main",
|
|
41
|
+
"runGitDiff__gitdiff",
|
|
42
|
+
"parseDiff__gitdiff",
|
|
43
|
+
"extractEntityFromContext__gitdiff",
|
|
44
|
+
"buildDescription__gitdiff",
|
|
45
|
+
"ChangedEntity__gitdiff",
|
|
46
|
+
"GitDiffOptions__gitdiff",
|
|
33
47
|
"makeId__graph",
|
|
34
48
|
"resolvePath__graph",
|
|
35
49
|
"getDirectDependents__impact",
|
|
@@ -54,20 +68,126 @@
|
|
|
54
68
|
"ImpactReport__types",
|
|
55
69
|
"OutputJSON__types"
|
|
56
70
|
],
|
|
57
|
-
"isolatedNodes": [
|
|
71
|
+
"isolatedNodes": [
|
|
72
|
+
"color__depgraph",
|
|
73
|
+
"getFlag__depgraph",
|
|
74
|
+
"printHelp__depgraph",
|
|
75
|
+
"printBanner__depgraph",
|
|
76
|
+
"printSummary__depgraph",
|
|
77
|
+
"printImpact__depgraph"
|
|
78
|
+
],
|
|
58
79
|
"criticalNodes": [
|
|
80
|
+
"registerParser__registry",
|
|
81
|
+
"EntityPattern__registry",
|
|
82
|
+
"LanguageParser__registry",
|
|
59
83
|
"collectFiles__collector",
|
|
84
|
+
"getChangedEntities__gitdiff",
|
|
60
85
|
"buildGraph__graph",
|
|
61
86
|
"simulateImpact__impact",
|
|
62
87
|
"computeMetrics__metrics",
|
|
63
88
|
"getCriticalNodes__metrics",
|
|
64
89
|
"writeOutput__output",
|
|
65
90
|
"parseFiles__parser",
|
|
91
|
+
"RawEntity__types",
|
|
92
|
+
"RawImport__types",
|
|
66
93
|
"DepGraph__types",
|
|
67
94
|
"ImpactReport__types"
|
|
68
95
|
]
|
|
69
96
|
},
|
|
70
97
|
"nodes": [
|
|
98
|
+
{
|
|
99
|
+
"id": "color__depgraph",
|
|
100
|
+
"name": "color",
|
|
101
|
+
"type": "function",
|
|
102
|
+
"file": "depgraph.js",
|
|
103
|
+
"line": 1070,
|
|
104
|
+
"lang": "js",
|
|
105
|
+
"complexity": "low",
|
|
106
|
+
"inDegree": 0,
|
|
107
|
+
"outDegree": 0,
|
|
108
|
+
"centralityScore": 0,
|
|
109
|
+
"connections": []
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "getFlag__depgraph",
|
|
113
|
+
"name": "getFlag",
|
|
114
|
+
"type": "function",
|
|
115
|
+
"file": "depgraph.js",
|
|
116
|
+
"line": 1081,
|
|
117
|
+
"lang": "js",
|
|
118
|
+
"complexity": "low",
|
|
119
|
+
"inDegree": 0,
|
|
120
|
+
"outDegree": 0,
|
|
121
|
+
"centralityScore": 0,
|
|
122
|
+
"connections": []
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"id": "printHelp__depgraph",
|
|
126
|
+
"name": "printHelp",
|
|
127
|
+
"type": "function",
|
|
128
|
+
"file": "depgraph.js",
|
|
129
|
+
"line": 1085,
|
|
130
|
+
"lang": "js",
|
|
131
|
+
"complexity": "low",
|
|
132
|
+
"inDegree": 0,
|
|
133
|
+
"outDegree": 0,
|
|
134
|
+
"centralityScore": 0,
|
|
135
|
+
"connections": []
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "printBanner__depgraph",
|
|
139
|
+
"name": "printBanner",
|
|
140
|
+
"type": "function",
|
|
141
|
+
"file": "depgraph.js",
|
|
142
|
+
"line": 1134,
|
|
143
|
+
"lang": "js",
|
|
144
|
+
"complexity": "low",
|
|
145
|
+
"inDegree": 0,
|
|
146
|
+
"outDegree": 0,
|
|
147
|
+
"centralityScore": 0,
|
|
148
|
+
"connections": []
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "printSummary__depgraph",
|
|
152
|
+
"name": "printSummary",
|
|
153
|
+
"type": "function",
|
|
154
|
+
"file": "depgraph.js",
|
|
155
|
+
"line": 1141,
|
|
156
|
+
"lang": "js",
|
|
157
|
+
"complexity": "low",
|
|
158
|
+
"inDegree": 0,
|
|
159
|
+
"outDegree": 0,
|
|
160
|
+
"centralityScore": 0,
|
|
161
|
+
"connections": []
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "printImpact__depgraph",
|
|
165
|
+
"name": "printImpact",
|
|
166
|
+
"type": "function",
|
|
167
|
+
"file": "depgraph.js",
|
|
168
|
+
"line": 1154,
|
|
169
|
+
"lang": "js",
|
|
170
|
+
"complexity": "medium",
|
|
171
|
+
"inDegree": 0,
|
|
172
|
+
"outDegree": 0,
|
|
173
|
+
"centralityScore": 0,
|
|
174
|
+
"connections": []
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"id": "GET__users__gitdiff_test",
|
|
178
|
+
"name": "GET /users",
|
|
179
|
+
"type": "api",
|
|
180
|
+
"file": "src/__tests__/gitdiff.test.ts",
|
|
181
|
+
"line": 181,
|
|
182
|
+
"lang": "js",
|
|
183
|
+
"complexity": "low",
|
|
184
|
+
"inDegree": 0,
|
|
185
|
+
"outDegree": 1,
|
|
186
|
+
"centralityScore": 1,
|
|
187
|
+
"connections": [
|
|
188
|
+
"getChangedEntities__gitdiff"
|
|
189
|
+
]
|
|
190
|
+
},
|
|
71
191
|
{
|
|
72
192
|
"id": "makeId__graph_test",
|
|
73
193
|
"name": "makeId",
|
|
@@ -137,20 +257,78 @@
|
|
|
137
257
|
"parseFile__parser"
|
|
138
258
|
]
|
|
139
259
|
},
|
|
260
|
+
{
|
|
261
|
+
"id": "extractEntities__go",
|
|
262
|
+
"name": "extractEntities",
|
|
263
|
+
"type": "function",
|
|
264
|
+
"file": "src/languages/go.ts",
|
|
265
|
+
"line": 26,
|
|
266
|
+
"lang": "js",
|
|
267
|
+
"complexity": "low",
|
|
268
|
+
"inDegree": 0,
|
|
269
|
+
"outDegree": 5,
|
|
270
|
+
"centralityScore": 5,
|
|
271
|
+
"connections": [
|
|
272
|
+
"RawEntity__types",
|
|
273
|
+
"RawImport__types",
|
|
274
|
+
"EntityPattern__registry",
|
|
275
|
+
"LanguageParser__registry",
|
|
276
|
+
"registerParser__registry"
|
|
277
|
+
]
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"id": "extractImports__go",
|
|
281
|
+
"name": "extractImports",
|
|
282
|
+
"type": "function",
|
|
283
|
+
"file": "src/languages/go.ts",
|
|
284
|
+
"line": 49,
|
|
285
|
+
"lang": "js",
|
|
286
|
+
"complexity": "medium",
|
|
287
|
+
"inDegree": 0,
|
|
288
|
+
"outDegree": 5,
|
|
289
|
+
"centralityScore": 5,
|
|
290
|
+
"connections": [
|
|
291
|
+
"RawEntity__types",
|
|
292
|
+
"RawImport__types",
|
|
293
|
+
"EntityPattern__registry",
|
|
294
|
+
"LanguageParser__registry",
|
|
295
|
+
"registerParser__registry"
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"id": "extractExports__go",
|
|
300
|
+
"name": "extractExports",
|
|
301
|
+
"type": "function",
|
|
302
|
+
"file": "src/languages/go.ts",
|
|
303
|
+
"line": 76,
|
|
304
|
+
"lang": "js",
|
|
305
|
+
"complexity": "low",
|
|
306
|
+
"inDegree": 0,
|
|
307
|
+
"outDegree": 5,
|
|
308
|
+
"centralityScore": 5,
|
|
309
|
+
"connections": [
|
|
310
|
+
"RawEntity__types",
|
|
311
|
+
"RawImport__types",
|
|
312
|
+
"EntityPattern__registry",
|
|
313
|
+
"LanguageParser__registry",
|
|
314
|
+
"registerParser__registry"
|
|
315
|
+
]
|
|
316
|
+
},
|
|
140
317
|
{
|
|
141
318
|
"id": "estimateComplexity__javascript",
|
|
142
319
|
"name": "estimateComplexity",
|
|
143
320
|
"type": "function",
|
|
144
321
|
"file": "src/languages/javascript.ts",
|
|
145
|
-
"line":
|
|
322
|
+
"line": 14,
|
|
146
323
|
"lang": "js",
|
|
147
324
|
"complexity": "high",
|
|
148
325
|
"inDegree": 0,
|
|
149
|
-
"outDegree":
|
|
150
|
-
"centralityScore":
|
|
326
|
+
"outDegree": 5,
|
|
327
|
+
"centralityScore": 5,
|
|
151
328
|
"connections": [
|
|
152
329
|
"RawEntity__types",
|
|
153
330
|
"RawImport__types",
|
|
331
|
+
"EntityPattern__registry",
|
|
154
332
|
"LanguageParser__registry",
|
|
155
333
|
"registerParser__registry"
|
|
156
334
|
]
|
|
@@ -160,15 +338,16 @@
|
|
|
160
338
|
"name": "slugify",
|
|
161
339
|
"type": "function",
|
|
162
340
|
"file": "src/languages/javascript.ts",
|
|
163
|
-
"line":
|
|
341
|
+
"line": 34,
|
|
164
342
|
"lang": "js",
|
|
165
343
|
"complexity": "low",
|
|
166
344
|
"inDegree": 0,
|
|
167
|
-
"outDegree":
|
|
168
|
-
"centralityScore":
|
|
345
|
+
"outDegree": 5,
|
|
346
|
+
"centralityScore": 5,
|
|
169
347
|
"connections": [
|
|
170
348
|
"RawEntity__types",
|
|
171
349
|
"RawImport__types",
|
|
350
|
+
"EntityPattern__registry",
|
|
172
351
|
"LanguageParser__registry",
|
|
173
352
|
"registerParser__registry"
|
|
174
353
|
]
|
|
@@ -178,15 +357,16 @@
|
|
|
178
357
|
"name": "extractEntities",
|
|
179
358
|
"type": "function",
|
|
180
359
|
"file": "src/languages/javascript.ts",
|
|
181
|
-
"line":
|
|
360
|
+
"line": 97,
|
|
182
361
|
"lang": "js",
|
|
183
362
|
"complexity": "medium",
|
|
184
363
|
"inDegree": 0,
|
|
185
|
-
"outDegree":
|
|
186
|
-
"centralityScore":
|
|
364
|
+
"outDegree": 5,
|
|
365
|
+
"centralityScore": 5,
|
|
187
366
|
"connections": [
|
|
188
367
|
"RawEntity__types",
|
|
189
368
|
"RawImport__types",
|
|
369
|
+
"EntityPattern__registry",
|
|
190
370
|
"LanguageParser__registry",
|
|
191
371
|
"registerParser__registry"
|
|
192
372
|
]
|
|
@@ -196,15 +376,16 @@
|
|
|
196
376
|
"name": "extractImports",
|
|
197
377
|
"type": "function",
|
|
198
378
|
"file": "src/languages/javascript.ts",
|
|
199
|
-
"line":
|
|
379
|
+
"line": 143,
|
|
200
380
|
"lang": "js",
|
|
201
381
|
"complexity": "low",
|
|
202
382
|
"inDegree": 0,
|
|
203
|
-
"outDegree":
|
|
204
|
-
"centralityScore":
|
|
383
|
+
"outDegree": 5,
|
|
384
|
+
"centralityScore": 5,
|
|
205
385
|
"connections": [
|
|
206
386
|
"RawEntity__types",
|
|
207
387
|
"RawImport__types",
|
|
388
|
+
"EntityPattern__registry",
|
|
208
389
|
"LanguageParser__registry",
|
|
209
390
|
"registerParser__registry"
|
|
210
391
|
]
|
|
@@ -214,15 +395,92 @@
|
|
|
214
395
|
"name": "extractExports",
|
|
215
396
|
"type": "function",
|
|
216
397
|
"file": "src/languages/javascript.ts",
|
|
217
|
-
"line":
|
|
398
|
+
"line": 189,
|
|
218
399
|
"lang": "js",
|
|
219
400
|
"complexity": "low",
|
|
220
401
|
"inDegree": 0,
|
|
221
|
-
"outDegree":
|
|
222
|
-
"centralityScore":
|
|
402
|
+
"outDegree": 5,
|
|
403
|
+
"centralityScore": 5,
|
|
404
|
+
"connections": [
|
|
405
|
+
"RawEntity__types",
|
|
406
|
+
"RawImport__types",
|
|
407
|
+
"EntityPattern__registry",
|
|
408
|
+
"LanguageParser__registry",
|
|
409
|
+
"registerParser__registry"
|
|
410
|
+
]
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"id": "estimateComplexity__python",
|
|
414
|
+
"name": "estimateComplexity",
|
|
415
|
+
"type": "function",
|
|
416
|
+
"file": "src/languages/python.ts",
|
|
417
|
+
"line": 13,
|
|
418
|
+
"lang": "js",
|
|
419
|
+
"complexity": "high",
|
|
420
|
+
"inDegree": 0,
|
|
421
|
+
"outDegree": 5,
|
|
422
|
+
"centralityScore": 5,
|
|
423
|
+
"connections": [
|
|
424
|
+
"RawEntity__types",
|
|
425
|
+
"RawImport__types",
|
|
426
|
+
"EntityPattern__registry",
|
|
427
|
+
"LanguageParser__registry",
|
|
428
|
+
"registerParser__registry"
|
|
429
|
+
]
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"id": "extractEntities__python",
|
|
433
|
+
"name": "extractEntities",
|
|
434
|
+
"type": "function",
|
|
435
|
+
"file": "src/languages/python.ts",
|
|
436
|
+
"line": 58,
|
|
437
|
+
"lang": "js",
|
|
438
|
+
"complexity": "medium",
|
|
439
|
+
"inDegree": 0,
|
|
440
|
+
"outDegree": 5,
|
|
441
|
+
"centralityScore": 5,
|
|
223
442
|
"connections": [
|
|
224
443
|
"RawEntity__types",
|
|
225
444
|
"RawImport__types",
|
|
445
|
+
"EntityPattern__registry",
|
|
446
|
+
"LanguageParser__registry",
|
|
447
|
+
"registerParser__registry"
|
|
448
|
+
]
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"id": "extractImports__python",
|
|
452
|
+
"name": "extractImports",
|
|
453
|
+
"type": "function",
|
|
454
|
+
"file": "src/languages/python.ts",
|
|
455
|
+
"line": 98,
|
|
456
|
+
"lang": "js",
|
|
457
|
+
"complexity": "low",
|
|
458
|
+
"inDegree": 0,
|
|
459
|
+
"outDegree": 5,
|
|
460
|
+
"centralityScore": 5,
|
|
461
|
+
"connections": [
|
|
462
|
+
"RawEntity__types",
|
|
463
|
+
"RawImport__types",
|
|
464
|
+
"EntityPattern__registry",
|
|
465
|
+
"LanguageParser__registry",
|
|
466
|
+
"registerParser__registry"
|
|
467
|
+
]
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"id": "extractExports__python",
|
|
471
|
+
"name": "extractExports",
|
|
472
|
+
"type": "function",
|
|
473
|
+
"file": "src/languages/python.ts",
|
|
474
|
+
"line": 142,
|
|
475
|
+
"lang": "js",
|
|
476
|
+
"complexity": "low",
|
|
477
|
+
"inDegree": 0,
|
|
478
|
+
"outDegree": 5,
|
|
479
|
+
"centralityScore": 5,
|
|
480
|
+
"connections": [
|
|
481
|
+
"RawEntity__types",
|
|
482
|
+
"RawImport__types",
|
|
483
|
+
"EntityPattern__registry",
|
|
226
484
|
"LanguageParser__registry",
|
|
227
485
|
"registerParser__registry"
|
|
228
486
|
]
|
|
@@ -232,18 +490,25 @@
|
|
|
232
490
|
"name": "registerParser",
|
|
233
491
|
"type": "function",
|
|
234
492
|
"file": "src/languages/registry.ts",
|
|
235
|
-
"line":
|
|
493
|
+
"line": 60,
|
|
236
494
|
"lang": "js",
|
|
237
495
|
"complexity": "low",
|
|
238
|
-
"inDegree":
|
|
496
|
+
"inDegree": 12,
|
|
239
497
|
"outDegree": 2,
|
|
240
|
-
"centralityScore":
|
|
498
|
+
"centralityScore": 26,
|
|
241
499
|
"connections": [
|
|
500
|
+
"extractEntities__go",
|
|
501
|
+
"extractImports__go",
|
|
502
|
+
"extractExports__go",
|
|
242
503
|
"estimateComplexity__javascript",
|
|
243
504
|
"slugify__javascript",
|
|
244
505
|
"extractEntities__javascript",
|
|
245
506
|
"extractImports__javascript",
|
|
246
507
|
"extractExports__javascript",
|
|
508
|
+
"estimateComplexity__python",
|
|
509
|
+
"extractEntities__python",
|
|
510
|
+
"extractImports__python",
|
|
511
|
+
"extractExports__python",
|
|
247
512
|
"RawEntity__types",
|
|
248
513
|
"RawImport__types"
|
|
249
514
|
]
|
|
@@ -253,36 +518,78 @@
|
|
|
253
518
|
"name": "getLanguageParser",
|
|
254
519
|
"type": "function",
|
|
255
520
|
"file": "src/languages/registry.ts",
|
|
256
|
-
"line":
|
|
521
|
+
"line": 69,
|
|
257
522
|
"lang": "js",
|
|
258
523
|
"complexity": "low",
|
|
259
|
-
"inDegree":
|
|
524
|
+
"inDegree": 9,
|
|
260
525
|
"outDegree": 2,
|
|
261
|
-
"centralityScore":
|
|
526
|
+
"centralityScore": 20,
|
|
262
527
|
"connections": [
|
|
263
528
|
"RawEntity__types",
|
|
264
529
|
"RawImport__types",
|
|
530
|
+
"getChangedEntities__gitdiff",
|
|
531
|
+
"runGitDiff__gitdiff",
|
|
532
|
+
"parseDiff__gitdiff",
|
|
533
|
+
"extractEntityFromContext__gitdiff",
|
|
534
|
+
"buildDescription__gitdiff",
|
|
535
|
+
"ChangedEntity__gitdiff",
|
|
536
|
+
"GitDiffOptions__gitdiff",
|
|
265
537
|
"parseFile__parser",
|
|
266
538
|
"parseFiles__parser"
|
|
267
539
|
]
|
|
268
540
|
},
|
|
541
|
+
{
|
|
542
|
+
"id": "EntityPattern__registry",
|
|
543
|
+
"name": "EntityPattern",
|
|
544
|
+
"type": "interface",
|
|
545
|
+
"file": "src/languages/registry.ts",
|
|
546
|
+
"line": 8,
|
|
547
|
+
"lang": "js",
|
|
548
|
+
"complexity": "low",
|
|
549
|
+
"inDegree": 12,
|
|
550
|
+
"outDegree": 2,
|
|
551
|
+
"centralityScore": 26,
|
|
552
|
+
"connections": [
|
|
553
|
+
"extractEntities__go",
|
|
554
|
+
"extractImports__go",
|
|
555
|
+
"extractExports__go",
|
|
556
|
+
"estimateComplexity__javascript",
|
|
557
|
+
"slugify__javascript",
|
|
558
|
+
"extractEntities__javascript",
|
|
559
|
+
"extractImports__javascript",
|
|
560
|
+
"extractExports__javascript",
|
|
561
|
+
"estimateComplexity__python",
|
|
562
|
+
"extractEntities__python",
|
|
563
|
+
"extractImports__python",
|
|
564
|
+
"extractExports__python",
|
|
565
|
+
"RawEntity__types",
|
|
566
|
+
"RawImport__types"
|
|
567
|
+
]
|
|
568
|
+
},
|
|
269
569
|
{
|
|
270
570
|
"id": "LanguageParser__registry",
|
|
271
571
|
"name": "LanguageParser",
|
|
272
572
|
"type": "interface",
|
|
273
573
|
"file": "src/languages/registry.ts",
|
|
274
|
-
"line":
|
|
574
|
+
"line": 19,
|
|
275
575
|
"lang": "js",
|
|
276
576
|
"complexity": "low",
|
|
277
|
-
"inDegree":
|
|
577
|
+
"inDegree": 12,
|
|
278
578
|
"outDegree": 2,
|
|
279
|
-
"centralityScore":
|
|
579
|
+
"centralityScore": 26,
|
|
280
580
|
"connections": [
|
|
581
|
+
"extractEntities__go",
|
|
582
|
+
"extractImports__go",
|
|
583
|
+
"extractExports__go",
|
|
281
584
|
"estimateComplexity__javascript",
|
|
282
585
|
"slugify__javascript",
|
|
283
586
|
"extractEntities__javascript",
|
|
284
587
|
"extractImports__javascript",
|
|
285
588
|
"extractExports__javascript",
|
|
589
|
+
"estimateComplexity__python",
|
|
590
|
+
"extractEntities__python",
|
|
591
|
+
"extractImports__python",
|
|
592
|
+
"extractExports__python",
|
|
286
593
|
"RawEntity__types",
|
|
287
594
|
"RawImport__types"
|
|
288
595
|
]
|
|
@@ -292,12 +599,12 @@
|
|
|
292
599
|
"name": "color",
|
|
293
600
|
"type": "function",
|
|
294
601
|
"file": "src/main.ts",
|
|
295
|
-
"line":
|
|
602
|
+
"line": 34,
|
|
296
603
|
"lang": "js",
|
|
297
604
|
"complexity": "low",
|
|
298
605
|
"inDegree": 0,
|
|
299
|
-
"outDegree":
|
|
300
|
-
"centralityScore":
|
|
606
|
+
"outDegree": 8,
|
|
607
|
+
"centralityScore": 8,
|
|
301
608
|
"connections": [
|
|
302
609
|
"collectFiles__collector",
|
|
303
610
|
"parseFiles__parser",
|
|
@@ -305,7 +612,8 @@
|
|
|
305
612
|
"computeMetrics__metrics",
|
|
306
613
|
"getCriticalNodes__metrics",
|
|
307
614
|
"simulateImpact__impact",
|
|
308
|
-
"writeOutput__output"
|
|
615
|
+
"writeOutput__output",
|
|
616
|
+
"getChangedEntities__gitdiff"
|
|
309
617
|
]
|
|
310
618
|
},
|
|
311
619
|
{
|
|
@@ -313,12 +621,12 @@
|
|
|
313
621
|
"name": "getFlag",
|
|
314
622
|
"type": "function",
|
|
315
623
|
"file": "src/main.ts",
|
|
316
|
-
"line":
|
|
624
|
+
"line": 54,
|
|
317
625
|
"lang": "js",
|
|
318
626
|
"complexity": "low",
|
|
319
627
|
"inDegree": 0,
|
|
320
|
-
"outDegree":
|
|
321
|
-
"centralityScore":
|
|
628
|
+
"outDegree": 8,
|
|
629
|
+
"centralityScore": 8,
|
|
322
630
|
"connections": [
|
|
323
631
|
"collectFiles__collector",
|
|
324
632
|
"parseFiles__parser",
|
|
@@ -326,7 +634,8 @@
|
|
|
326
634
|
"computeMetrics__metrics",
|
|
327
635
|
"getCriticalNodes__metrics",
|
|
328
636
|
"simulateImpact__impact",
|
|
329
|
-
"writeOutput__output"
|
|
637
|
+
"writeOutput__output",
|
|
638
|
+
"getChangedEntities__gitdiff"
|
|
330
639
|
]
|
|
331
640
|
},
|
|
332
641
|
{
|
|
@@ -334,12 +643,12 @@
|
|
|
334
643
|
"name": "printHelp",
|
|
335
644
|
"type": "function",
|
|
336
645
|
"file": "src/main.ts",
|
|
337
|
-
"line":
|
|
646
|
+
"line": 62,
|
|
338
647
|
"lang": "js",
|
|
339
648
|
"complexity": "low",
|
|
340
649
|
"inDegree": 0,
|
|
341
|
-
"outDegree":
|
|
342
|
-
"centralityScore":
|
|
650
|
+
"outDegree": 8,
|
|
651
|
+
"centralityScore": 8,
|
|
343
652
|
"connections": [
|
|
344
653
|
"collectFiles__collector",
|
|
345
654
|
"parseFiles__parser",
|
|
@@ -347,7 +656,8 @@
|
|
|
347
656
|
"computeMetrics__metrics",
|
|
348
657
|
"getCriticalNodes__metrics",
|
|
349
658
|
"simulateImpact__impact",
|
|
350
|
-
"writeOutput__output"
|
|
659
|
+
"writeOutput__output",
|
|
660
|
+
"getChangedEntities__gitdiff"
|
|
351
661
|
]
|
|
352
662
|
},
|
|
353
663
|
{
|
|
@@ -355,12 +665,12 @@
|
|
|
355
665
|
"name": "printBanner",
|
|
356
666
|
"type": "function",
|
|
357
667
|
"file": "src/main.ts",
|
|
358
|
-
"line":
|
|
668
|
+
"line": 115,
|
|
359
669
|
"lang": "js",
|
|
360
670
|
"complexity": "low",
|
|
361
671
|
"inDegree": 0,
|
|
362
|
-
"outDegree":
|
|
363
|
-
"centralityScore":
|
|
672
|
+
"outDegree": 8,
|
|
673
|
+
"centralityScore": 8,
|
|
364
674
|
"connections": [
|
|
365
675
|
"collectFiles__collector",
|
|
366
676
|
"parseFiles__parser",
|
|
@@ -368,7 +678,8 @@
|
|
|
368
678
|
"computeMetrics__metrics",
|
|
369
679
|
"getCriticalNodes__metrics",
|
|
370
680
|
"simulateImpact__impact",
|
|
371
|
-
"writeOutput__output"
|
|
681
|
+
"writeOutput__output",
|
|
682
|
+
"getChangedEntities__gitdiff"
|
|
372
683
|
]
|
|
373
684
|
},
|
|
374
685
|
{
|
|
@@ -376,12 +687,12 @@
|
|
|
376
687
|
"name": "printSummary",
|
|
377
688
|
"type": "function",
|
|
378
689
|
"file": "src/main.ts",
|
|
379
|
-
"line":
|
|
690
|
+
"line": 131,
|
|
380
691
|
"lang": "js",
|
|
381
692
|
"complexity": "low",
|
|
382
693
|
"inDegree": 0,
|
|
383
|
-
"outDegree":
|
|
384
|
-
"centralityScore":
|
|
694
|
+
"outDegree": 8,
|
|
695
|
+
"centralityScore": 8,
|
|
385
696
|
"connections": [
|
|
386
697
|
"collectFiles__collector",
|
|
387
698
|
"parseFiles__parser",
|
|
@@ -389,7 +700,8 @@
|
|
|
389
700
|
"computeMetrics__metrics",
|
|
390
701
|
"getCriticalNodes__metrics",
|
|
391
702
|
"simulateImpact__impact",
|
|
392
|
-
"writeOutput__output"
|
|
703
|
+
"writeOutput__output",
|
|
704
|
+
"getChangedEntities__gitdiff"
|
|
393
705
|
]
|
|
394
706
|
},
|
|
395
707
|
{
|
|
@@ -397,12 +709,12 @@
|
|
|
397
709
|
"name": "printImpact",
|
|
398
710
|
"type": "function",
|
|
399
711
|
"file": "src/main.ts",
|
|
400
|
-
"line":
|
|
712
|
+
"line": 155,
|
|
401
713
|
"lang": "js",
|
|
402
714
|
"complexity": "medium",
|
|
403
715
|
"inDegree": 0,
|
|
404
|
-
"outDegree":
|
|
405
|
-
"centralityScore":
|
|
716
|
+
"outDegree": 8,
|
|
717
|
+
"centralityScore": 8,
|
|
406
718
|
"connections": [
|
|
407
719
|
"collectFiles__collector",
|
|
408
720
|
"parseFiles__parser",
|
|
@@ -410,7 +722,8 @@
|
|
|
410
722
|
"computeMetrics__metrics",
|
|
411
723
|
"getCriticalNodes__metrics",
|
|
412
724
|
"simulateImpact__impact",
|
|
413
|
-
"writeOutput__output"
|
|
725
|
+
"writeOutput__output",
|
|
726
|
+
"getChangedEntities__gitdiff"
|
|
414
727
|
]
|
|
415
728
|
},
|
|
416
729
|
{
|
|
@@ -418,12 +731,12 @@
|
|
|
418
731
|
"name": "dim",
|
|
419
732
|
"type": "function",
|
|
420
733
|
"file": "src/main.ts",
|
|
421
|
-
"line":
|
|
734
|
+
"line": 38,
|
|
422
735
|
"lang": "js",
|
|
423
736
|
"complexity": "low",
|
|
424
737
|
"inDegree": 0,
|
|
425
|
-
"outDegree":
|
|
426
|
-
"centralityScore":
|
|
738
|
+
"outDegree": 8,
|
|
739
|
+
"centralityScore": 8,
|
|
427
740
|
"connections": [
|
|
428
741
|
"collectFiles__collector",
|
|
429
742
|
"parseFiles__parser",
|
|
@@ -431,7 +744,8 @@
|
|
|
431
744
|
"computeMetrics__metrics",
|
|
432
745
|
"getCriticalNodes__metrics",
|
|
433
746
|
"simulateImpact__impact",
|
|
434
|
-
"writeOutput__output"
|
|
747
|
+
"writeOutput__output",
|
|
748
|
+
"getChangedEntities__gitdiff"
|
|
435
749
|
]
|
|
436
750
|
},
|
|
437
751
|
{
|
|
@@ -439,12 +753,12 @@
|
|
|
439
753
|
"name": "bold",
|
|
440
754
|
"type": "function",
|
|
441
755
|
"file": "src/main.ts",
|
|
442
|
-
"line":
|
|
756
|
+
"line": 39,
|
|
443
757
|
"lang": "js",
|
|
444
758
|
"complexity": "low",
|
|
445
759
|
"inDegree": 0,
|
|
446
|
-
"outDegree":
|
|
447
|
-
"centralityScore":
|
|
760
|
+
"outDegree": 8,
|
|
761
|
+
"centralityScore": 8,
|
|
448
762
|
"connections": [
|
|
449
763
|
"collectFiles__collector",
|
|
450
764
|
"parseFiles__parser",
|
|
@@ -452,7 +766,8 @@
|
|
|
452
766
|
"computeMetrics__metrics",
|
|
453
767
|
"getCriticalNodes__metrics",
|
|
454
768
|
"simulateImpact__impact",
|
|
455
|
-
"writeOutput__output"
|
|
769
|
+
"writeOutput__output",
|
|
770
|
+
"getChangedEntities__gitdiff"
|
|
456
771
|
]
|
|
457
772
|
},
|
|
458
773
|
{
|
|
@@ -460,12 +775,12 @@
|
|
|
460
775
|
"name": "green",
|
|
461
776
|
"type": "function",
|
|
462
777
|
"file": "src/main.ts",
|
|
463
|
-
"line":
|
|
778
|
+
"line": 40,
|
|
464
779
|
"lang": "js",
|
|
465
780
|
"complexity": "low",
|
|
466
781
|
"inDegree": 0,
|
|
467
|
-
"outDegree":
|
|
468
|
-
"centralityScore":
|
|
782
|
+
"outDegree": 8,
|
|
783
|
+
"centralityScore": 8,
|
|
469
784
|
"connections": [
|
|
470
785
|
"collectFiles__collector",
|
|
471
786
|
"parseFiles__parser",
|
|
@@ -473,7 +788,8 @@
|
|
|
473
788
|
"computeMetrics__metrics",
|
|
474
789
|
"getCriticalNodes__metrics",
|
|
475
790
|
"simulateImpact__impact",
|
|
476
|
-
"writeOutput__output"
|
|
791
|
+
"writeOutput__output",
|
|
792
|
+
"getChangedEntities__gitdiff"
|
|
477
793
|
]
|
|
478
794
|
},
|
|
479
795
|
{
|
|
@@ -481,12 +797,12 @@
|
|
|
481
797
|
"name": "yellow",
|
|
482
798
|
"type": "function",
|
|
483
799
|
"file": "src/main.ts",
|
|
484
|
-
"line":
|
|
800
|
+
"line": 41,
|
|
485
801
|
"lang": "js",
|
|
486
802
|
"complexity": "low",
|
|
487
803
|
"inDegree": 0,
|
|
488
|
-
"outDegree":
|
|
489
|
-
"centralityScore":
|
|
804
|
+
"outDegree": 8,
|
|
805
|
+
"centralityScore": 8,
|
|
490
806
|
"connections": [
|
|
491
807
|
"collectFiles__collector",
|
|
492
808
|
"parseFiles__parser",
|
|
@@ -494,7 +810,8 @@
|
|
|
494
810
|
"computeMetrics__metrics",
|
|
495
811
|
"getCriticalNodes__metrics",
|
|
496
812
|
"simulateImpact__impact",
|
|
497
|
-
"writeOutput__output"
|
|
813
|
+
"writeOutput__output",
|
|
814
|
+
"getChangedEntities__gitdiff"
|
|
498
815
|
]
|
|
499
816
|
},
|
|
500
817
|
{
|
|
@@ -502,12 +819,12 @@
|
|
|
502
819
|
"name": "red",
|
|
503
820
|
"type": "function",
|
|
504
821
|
"file": "src/main.ts",
|
|
505
|
-
"line":
|
|
822
|
+
"line": 42,
|
|
506
823
|
"lang": "js",
|
|
507
824
|
"complexity": "low",
|
|
508
825
|
"inDegree": 0,
|
|
509
|
-
"outDegree":
|
|
510
|
-
"centralityScore":
|
|
826
|
+
"outDegree": 8,
|
|
827
|
+
"centralityScore": 8,
|
|
511
828
|
"connections": [
|
|
512
829
|
"collectFiles__collector",
|
|
513
830
|
"parseFiles__parser",
|
|
@@ -515,7 +832,8 @@
|
|
|
515
832
|
"computeMetrics__metrics",
|
|
516
833
|
"getCriticalNodes__metrics",
|
|
517
834
|
"simulateImpact__impact",
|
|
518
|
-
"writeOutput__output"
|
|
835
|
+
"writeOutput__output",
|
|
836
|
+
"getChangedEntities__gitdiff"
|
|
519
837
|
]
|
|
520
838
|
},
|
|
521
839
|
{
|
|
@@ -523,12 +841,12 @@
|
|
|
523
841
|
"name": "cyan",
|
|
524
842
|
"type": "function",
|
|
525
843
|
"file": "src/main.ts",
|
|
526
|
-
"line":
|
|
844
|
+
"line": 43,
|
|
527
845
|
"lang": "js",
|
|
528
846
|
"complexity": "low",
|
|
529
847
|
"inDegree": 0,
|
|
530
|
-
"outDegree":
|
|
531
|
-
"centralityScore":
|
|
848
|
+
"outDegree": 8,
|
|
849
|
+
"centralityScore": 8,
|
|
532
850
|
"connections": [
|
|
533
851
|
"collectFiles__collector",
|
|
534
852
|
"parseFiles__parser",
|
|
@@ -536,7 +854,8 @@
|
|
|
536
854
|
"computeMetrics__metrics",
|
|
537
855
|
"getCriticalNodes__metrics",
|
|
538
856
|
"simulateImpact__impact",
|
|
539
|
-
"writeOutput__output"
|
|
857
|
+
"writeOutput__output",
|
|
858
|
+
"getChangedEntities__gitdiff"
|
|
540
859
|
]
|
|
541
860
|
},
|
|
542
861
|
{
|
|
@@ -544,7 +863,7 @@
|
|
|
544
863
|
"name": "collectFiles",
|
|
545
864
|
"type": "function",
|
|
546
865
|
"file": "src/stages/collector.ts",
|
|
547
|
-
"line":
|
|
866
|
+
"line": 13,
|
|
548
867
|
"lang": "js",
|
|
549
868
|
"complexity": "medium",
|
|
550
869
|
"inDegree": 12,
|
|
@@ -565,12 +884,130 @@
|
|
|
565
884
|
"cyan__main"
|
|
566
885
|
]
|
|
567
886
|
},
|
|
887
|
+
{
|
|
888
|
+
"id": "getChangedEntities__gitdiff",
|
|
889
|
+
"name": "getChangedEntities",
|
|
890
|
+
"type": "function",
|
|
891
|
+
"file": "src/stages/gitdiff.ts",
|
|
892
|
+
"line": 35,
|
|
893
|
+
"lang": "js",
|
|
894
|
+
"complexity": "low",
|
|
895
|
+
"inDegree": 13,
|
|
896
|
+
"outDegree": 1,
|
|
897
|
+
"centralityScore": 27,
|
|
898
|
+
"connections": [
|
|
899
|
+
"GET__users__gitdiff_test",
|
|
900
|
+
"color__main",
|
|
901
|
+
"getFlag__main",
|
|
902
|
+
"printHelp__main",
|
|
903
|
+
"printBanner__main",
|
|
904
|
+
"printSummary__main",
|
|
905
|
+
"printImpact__main",
|
|
906
|
+
"dim__main",
|
|
907
|
+
"bold__main",
|
|
908
|
+
"green__main",
|
|
909
|
+
"yellow__main",
|
|
910
|
+
"red__main",
|
|
911
|
+
"cyan__main",
|
|
912
|
+
"getLanguageParser__registry"
|
|
913
|
+
]
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"id": "runGitDiff__gitdiff",
|
|
917
|
+
"name": "runGitDiff",
|
|
918
|
+
"type": "function",
|
|
919
|
+
"file": "src/stages/gitdiff.ts",
|
|
920
|
+
"line": 43,
|
|
921
|
+
"lang": "js",
|
|
922
|
+
"complexity": "high",
|
|
923
|
+
"inDegree": 0,
|
|
924
|
+
"outDegree": 1,
|
|
925
|
+
"centralityScore": 1,
|
|
926
|
+
"connections": [
|
|
927
|
+
"getLanguageParser__registry"
|
|
928
|
+
]
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"id": "parseDiff__gitdiff",
|
|
932
|
+
"name": "parseDiff",
|
|
933
|
+
"type": "function",
|
|
934
|
+
"file": "src/stages/gitdiff.ts",
|
|
935
|
+
"line": 85,
|
|
936
|
+
"lang": "js",
|
|
937
|
+
"complexity": "high",
|
|
938
|
+
"inDegree": 0,
|
|
939
|
+
"outDegree": 1,
|
|
940
|
+
"centralityScore": 1,
|
|
941
|
+
"connections": [
|
|
942
|
+
"getLanguageParser__registry"
|
|
943
|
+
]
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
"id": "extractEntityFromContext__gitdiff",
|
|
947
|
+
"name": "extractEntityFromContext",
|
|
948
|
+
"type": "function",
|
|
949
|
+
"file": "src/stages/gitdiff.ts",
|
|
950
|
+
"line": 167,
|
|
951
|
+
"lang": "js",
|
|
952
|
+
"complexity": "medium",
|
|
953
|
+
"inDegree": 0,
|
|
954
|
+
"outDegree": 1,
|
|
955
|
+
"centralityScore": 1,
|
|
956
|
+
"connections": [
|
|
957
|
+
"getLanguageParser__registry"
|
|
958
|
+
]
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"id": "buildDescription__gitdiff",
|
|
962
|
+
"name": "buildDescription",
|
|
963
|
+
"type": "function",
|
|
964
|
+
"file": "src/stages/gitdiff.ts",
|
|
965
|
+
"line": 204,
|
|
966
|
+
"lang": "js",
|
|
967
|
+
"complexity": "medium",
|
|
968
|
+
"inDegree": 0,
|
|
969
|
+
"outDegree": 1,
|
|
970
|
+
"centralityScore": 1,
|
|
971
|
+
"connections": [
|
|
972
|
+
"getLanguageParser__registry"
|
|
973
|
+
]
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"id": "ChangedEntity__gitdiff",
|
|
977
|
+
"name": "ChangedEntity",
|
|
978
|
+
"type": "interface",
|
|
979
|
+
"file": "src/stages/gitdiff.ts",
|
|
980
|
+
"line": 7,
|
|
981
|
+
"lang": "js",
|
|
982
|
+
"complexity": "low",
|
|
983
|
+
"inDegree": 0,
|
|
984
|
+
"outDegree": 1,
|
|
985
|
+
"centralityScore": 1,
|
|
986
|
+
"connections": [
|
|
987
|
+
"getLanguageParser__registry"
|
|
988
|
+
]
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"id": "GitDiffOptions__gitdiff",
|
|
992
|
+
"name": "GitDiffOptions",
|
|
993
|
+
"type": "interface",
|
|
994
|
+
"file": "src/stages/gitdiff.ts",
|
|
995
|
+
"line": 14,
|
|
996
|
+
"lang": "js",
|
|
997
|
+
"complexity": "low",
|
|
998
|
+
"inDegree": 0,
|
|
999
|
+
"outDegree": 1,
|
|
1000
|
+
"centralityScore": 1,
|
|
1001
|
+
"connections": [
|
|
1002
|
+
"getLanguageParser__registry"
|
|
1003
|
+
]
|
|
1004
|
+
},
|
|
568
1005
|
{
|
|
569
1006
|
"id": "buildGraph__graph",
|
|
570
1007
|
"name": "buildGraph",
|
|
571
1008
|
"type": "function",
|
|
572
1009
|
"file": "src/stages/graph.ts",
|
|
573
|
-
"line":
|
|
1010
|
+
"line": 11,
|
|
574
1011
|
"lang": "js",
|
|
575
1012
|
"complexity": "high",
|
|
576
1013
|
"inDegree": 13,
|
|
@@ -601,7 +1038,7 @@
|
|
|
601
1038
|
"name": "makeId",
|
|
602
1039
|
"type": "function",
|
|
603
1040
|
"file": "src/stages/graph.ts",
|
|
604
|
-
"line":
|
|
1041
|
+
"line": 124,
|
|
605
1042
|
"lang": "js",
|
|
606
1043
|
"complexity": "low",
|
|
607
1044
|
"inDegree": 0,
|
|
@@ -619,7 +1056,7 @@
|
|
|
619
1056
|
"name": "resolvePath",
|
|
620
1057
|
"type": "function",
|
|
621
1058
|
"file": "src/stages/graph.ts",
|
|
622
|
-
"line":
|
|
1059
|
+
"line": 139,
|
|
623
1060
|
"lang": "js",
|
|
624
1061
|
"complexity": "low",
|
|
625
1062
|
"inDegree": 0,
|
|
@@ -637,7 +1074,7 @@
|
|
|
637
1074
|
"name": "simulateImpact",
|
|
638
1075
|
"type": "function",
|
|
639
1076
|
"file": "src/stages/impact.ts",
|
|
640
|
-
"line":
|
|
1077
|
+
"line": 14,
|
|
641
1078
|
"lang": "js",
|
|
642
1079
|
"complexity": "medium",
|
|
643
1080
|
"inDegree": 13,
|
|
@@ -667,7 +1104,7 @@
|
|
|
667
1104
|
"name": "getDirectDependents",
|
|
668
1105
|
"type": "function",
|
|
669
1106
|
"file": "src/stages/impact.ts",
|
|
670
|
-
"line":
|
|
1107
|
+
"line": 110,
|
|
671
1108
|
"lang": "js",
|
|
672
1109
|
"complexity": "low",
|
|
673
1110
|
"inDegree": 0,
|
|
@@ -684,7 +1121,7 @@
|
|
|
684
1121
|
"name": "getImpactLevel",
|
|
685
1122
|
"type": "function",
|
|
686
1123
|
"file": "src/stages/impact.ts",
|
|
687
|
-
"line":
|
|
1124
|
+
"line": 123,
|
|
688
1125
|
"lang": "js",
|
|
689
1126
|
"complexity": "low",
|
|
690
1127
|
"inDegree": 0,
|
|
@@ -701,7 +1138,7 @@
|
|
|
701
1138
|
"name": "computeRiskScore",
|
|
702
1139
|
"type": "function",
|
|
703
1140
|
"file": "src/stages/impact.ts",
|
|
704
|
-
"line":
|
|
1141
|
+
"line": 138,
|
|
705
1142
|
"lang": "js",
|
|
706
1143
|
"complexity": "low",
|
|
707
1144
|
"inDegree": 0,
|
|
@@ -718,7 +1155,7 @@
|
|
|
718
1155
|
"name": "getRiskLevel",
|
|
719
1156
|
"type": "function",
|
|
720
1157
|
"file": "src/stages/impact.ts",
|
|
721
|
-
"line":
|
|
1158
|
+
"line": 155,
|
|
722
1159
|
"lang": "js",
|
|
723
1160
|
"complexity": "low",
|
|
724
1161
|
"inDegree": 0,
|
|
@@ -735,7 +1172,7 @@
|
|
|
735
1172
|
"name": "getReason",
|
|
736
1173
|
"type": "function",
|
|
737
1174
|
"file": "src/stages/impact.ts",
|
|
738
|
-
"line":
|
|
1175
|
+
"line": 170,
|
|
739
1176
|
"lang": "js",
|
|
740
1177
|
"complexity": "low",
|
|
741
1178
|
"inDegree": 0,
|
|
@@ -752,7 +1189,7 @@
|
|
|
752
1189
|
"name": "getChangeRequired",
|
|
753
1190
|
"type": "function",
|
|
754
1191
|
"file": "src/stages/impact.ts",
|
|
755
|
-
"line":
|
|
1192
|
+
"line": 184,
|
|
756
1193
|
"lang": "js",
|
|
757
1194
|
"complexity": "medium",
|
|
758
1195
|
"inDegree": 0,
|
|
@@ -769,7 +1206,7 @@
|
|
|
769
1206
|
"name": "buildTestingPlan",
|
|
770
1207
|
"type": "function",
|
|
771
1208
|
"file": "src/stages/impact.ts",
|
|
772
|
-
"line":
|
|
1209
|
+
"line": 198,
|
|
773
1210
|
"lang": "js",
|
|
774
1211
|
"complexity": "low",
|
|
775
1212
|
"inDegree": 0,
|
|
@@ -786,7 +1223,7 @@
|
|
|
786
1223
|
"name": "buildRecommendations",
|
|
787
1224
|
"type": "function",
|
|
788
1225
|
"file": "src/stages/impact.ts",
|
|
789
|
-
"line":
|
|
1226
|
+
"line": 227,
|
|
790
1227
|
"lang": "js",
|
|
791
1228
|
"complexity": "medium",
|
|
792
1229
|
"inDegree": 0,
|
|
@@ -803,7 +1240,7 @@
|
|
|
803
1240
|
"name": "emptyReport",
|
|
804
1241
|
"type": "function",
|
|
805
1242
|
"file": "src/stages/impact.ts",
|
|
806
|
-
"line":
|
|
1243
|
+
"line": 261,
|
|
807
1244
|
"lang": "js",
|
|
808
1245
|
"complexity": "low",
|
|
809
1246
|
"inDegree": 0,
|
|
@@ -820,7 +1257,7 @@
|
|
|
820
1257
|
"name": "computeMetrics",
|
|
821
1258
|
"type": "function",
|
|
822
1259
|
"file": "src/stages/metrics.ts",
|
|
823
|
-
"line":
|
|
1260
|
+
"line": 10,
|
|
824
1261
|
"lang": "js",
|
|
825
1262
|
"complexity": "medium",
|
|
826
1263
|
"inDegree": 13,
|
|
@@ -849,7 +1286,7 @@
|
|
|
849
1286
|
"name": "getEntryPoints",
|
|
850
1287
|
"type": "function",
|
|
851
1288
|
"file": "src/stages/metrics.ts",
|
|
852
|
-
"line":
|
|
1289
|
+
"line": 43,
|
|
853
1290
|
"lang": "js",
|
|
854
1291
|
"complexity": "low",
|
|
855
1292
|
"inDegree": 2,
|
|
@@ -867,7 +1304,7 @@
|
|
|
867
1304
|
"name": "getLeafNodes",
|
|
868
1305
|
"type": "function",
|
|
869
1306
|
"file": "src/stages/metrics.ts",
|
|
870
|
-
"line":
|
|
1307
|
+
"line": 58,
|
|
871
1308
|
"lang": "js",
|
|
872
1309
|
"complexity": "low",
|
|
873
1310
|
"inDegree": 2,
|
|
@@ -885,7 +1322,7 @@
|
|
|
885
1322
|
"name": "getIsolatedNodes",
|
|
886
1323
|
"type": "function",
|
|
887
1324
|
"file": "src/stages/metrics.ts",
|
|
888
|
-
"line":
|
|
1325
|
+
"line": 73,
|
|
889
1326
|
"lang": "js",
|
|
890
1327
|
"complexity": "low",
|
|
891
1328
|
"inDegree": 2,
|
|
@@ -903,7 +1340,7 @@
|
|
|
903
1340
|
"name": "getCriticalNodes",
|
|
904
1341
|
"type": "function",
|
|
905
1342
|
"file": "src/stages/metrics.ts",
|
|
906
|
-
"line":
|
|
1343
|
+
"line": 88,
|
|
907
1344
|
"lang": "js",
|
|
908
1345
|
"complexity": "low",
|
|
909
1346
|
"inDegree": 14,
|
|
@@ -933,7 +1370,7 @@
|
|
|
933
1370
|
"name": "writeOutput",
|
|
934
1371
|
"type": "function",
|
|
935
1372
|
"file": "src/stages/output.ts",
|
|
936
|
-
"line":
|
|
1373
|
+
"line": 21,
|
|
937
1374
|
"lang": "js",
|
|
938
1375
|
"complexity": "low",
|
|
939
1376
|
"inDegree": 12,
|
|
@@ -967,7 +1404,7 @@
|
|
|
967
1404
|
"name": "parseFile",
|
|
968
1405
|
"type": "function",
|
|
969
1406
|
"file": "src/stages/parser.ts",
|
|
970
|
-
"line":
|
|
1407
|
+
"line": 13,
|
|
971
1408
|
"lang": "js",
|
|
972
1409
|
"complexity": "low",
|
|
973
1410
|
"inDegree": 1,
|
|
@@ -986,7 +1423,7 @@
|
|
|
986
1423
|
"name": "parseFiles",
|
|
987
1424
|
"type": "function",
|
|
988
1425
|
"file": "src/stages/parser.ts",
|
|
989
|
-
"line":
|
|
1426
|
+
"line": 55,
|
|
990
1427
|
"lang": "js",
|
|
991
1428
|
"complexity": "low",
|
|
992
1429
|
"inDegree": 12,
|
|
@@ -1016,20 +1453,28 @@
|
|
|
1016
1453
|
"name": "RawEntity",
|
|
1017
1454
|
"type": "interface",
|
|
1018
1455
|
"file": "src/types.ts",
|
|
1019
|
-
"line":
|
|
1456
|
+
"line": 8,
|
|
1020
1457
|
"lang": "js",
|
|
1021
1458
|
"complexity": "low",
|
|
1022
|
-
"inDegree":
|
|
1459
|
+
"inDegree": 18,
|
|
1023
1460
|
"outDegree": 0,
|
|
1024
|
-
"centralityScore":
|
|
1461
|
+
"centralityScore": 36,
|
|
1025
1462
|
"connections": [
|
|
1463
|
+
"extractEntities__go",
|
|
1464
|
+
"extractImports__go",
|
|
1465
|
+
"extractExports__go",
|
|
1026
1466
|
"estimateComplexity__javascript",
|
|
1027
1467
|
"slugify__javascript",
|
|
1028
1468
|
"extractEntities__javascript",
|
|
1029
1469
|
"extractImports__javascript",
|
|
1030
1470
|
"extractExports__javascript",
|
|
1471
|
+
"estimateComplexity__python",
|
|
1472
|
+
"extractEntities__python",
|
|
1473
|
+
"extractImports__python",
|
|
1474
|
+
"extractExports__python",
|
|
1031
1475
|
"registerParser__registry",
|
|
1032
1476
|
"getLanguageParser__registry",
|
|
1477
|
+
"EntityPattern__registry",
|
|
1033
1478
|
"LanguageParser__registry",
|
|
1034
1479
|
"parseFile__parser",
|
|
1035
1480
|
"parseFiles__parser"
|
|
@@ -1040,20 +1485,28 @@
|
|
|
1040
1485
|
"name": "RawImport",
|
|
1041
1486
|
"type": "interface",
|
|
1042
1487
|
"file": "src/types.ts",
|
|
1043
|
-
"line":
|
|
1488
|
+
"line": 22,
|
|
1044
1489
|
"lang": "js",
|
|
1045
1490
|
"complexity": "low",
|
|
1046
|
-
"inDegree":
|
|
1491
|
+
"inDegree": 18,
|
|
1047
1492
|
"outDegree": 0,
|
|
1048
|
-
"centralityScore":
|
|
1493
|
+
"centralityScore": 36,
|
|
1049
1494
|
"connections": [
|
|
1495
|
+
"extractEntities__go",
|
|
1496
|
+
"extractImports__go",
|
|
1497
|
+
"extractExports__go",
|
|
1050
1498
|
"estimateComplexity__javascript",
|
|
1051
1499
|
"slugify__javascript",
|
|
1052
1500
|
"extractEntities__javascript",
|
|
1053
1501
|
"extractImports__javascript",
|
|
1054
1502
|
"extractExports__javascript",
|
|
1503
|
+
"estimateComplexity__python",
|
|
1504
|
+
"extractEntities__python",
|
|
1505
|
+
"extractImports__python",
|
|
1506
|
+
"extractExports__python",
|
|
1055
1507
|
"registerParser__registry",
|
|
1056
1508
|
"getLanguageParser__registry",
|
|
1509
|
+
"EntityPattern__registry",
|
|
1057
1510
|
"LanguageParser__registry",
|
|
1058
1511
|
"parseFile__parser",
|
|
1059
1512
|
"parseFiles__parser"
|
|
@@ -1064,7 +1517,7 @@
|
|
|
1064
1517
|
"name": "ParsedFile",
|
|
1065
1518
|
"type": "interface",
|
|
1066
1519
|
"file": "src/types.ts",
|
|
1067
|
-
"line":
|
|
1520
|
+
"line": 34,
|
|
1068
1521
|
"lang": "js",
|
|
1069
1522
|
"complexity": "low",
|
|
1070
1523
|
"inDegree": 7,
|
|
@@ -1085,7 +1538,7 @@
|
|
|
1085
1538
|
"name": "DepNode",
|
|
1086
1539
|
"type": "interface",
|
|
1087
1540
|
"file": "src/types.ts",
|
|
1088
|
-
"line":
|
|
1541
|
+
"line": 52,
|
|
1089
1542
|
"lang": "js",
|
|
1090
1543
|
"complexity": "low",
|
|
1091
1544
|
"inDegree": 10,
|
|
@@ -1109,7 +1562,7 @@
|
|
|
1109
1562
|
"name": "DepEdge",
|
|
1110
1563
|
"type": "interface",
|
|
1111
1564
|
"file": "src/types.ts",
|
|
1112
|
-
"line":
|
|
1565
|
+
"line": 86,
|
|
1113
1566
|
"lang": "js",
|
|
1114
1567
|
"complexity": "low",
|
|
1115
1568
|
"inDegree": 3,
|
|
@@ -1126,7 +1579,7 @@
|
|
|
1126
1579
|
"name": "DepGraph",
|
|
1127
1580
|
"type": "interface",
|
|
1128
1581
|
"file": "src/types.ts",
|
|
1129
|
-
"line":
|
|
1582
|
+
"line": 100,
|
|
1130
1583
|
"lang": "js",
|
|
1131
1584
|
"complexity": "low",
|
|
1132
1585
|
"inDegree": 21,
|
|
@@ -1161,7 +1614,7 @@
|
|
|
1161
1614
|
"name": "AffectedNode",
|
|
1162
1615
|
"type": "interface",
|
|
1163
1616
|
"file": "src/types.ts",
|
|
1164
|
-
"line":
|
|
1617
|
+
"line": 110,
|
|
1165
1618
|
"lang": "js",
|
|
1166
1619
|
"complexity": "low",
|
|
1167
1620
|
"inDegree": 10,
|
|
@@ -1185,7 +1638,7 @@
|
|
|
1185
1638
|
"name": "ImpactReport",
|
|
1186
1639
|
"type": "interface",
|
|
1187
1640
|
"file": "src/types.ts",
|
|
1188
|
-
"line":
|
|
1641
|
+
"line": 132,
|
|
1189
1642
|
"lang": "js",
|
|
1190
1643
|
"complexity": "low",
|
|
1191
1644
|
"inDegree": 11,
|
|
@@ -1210,7 +1663,7 @@
|
|
|
1210
1663
|
"name": "OutputJSON",
|
|
1211
1664
|
"type": "interface",
|
|
1212
1665
|
"file": "src/types.ts",
|
|
1213
|
-
"line":
|
|
1666
|
+
"line": 154,
|
|
1214
1667
|
"lang": "js",
|
|
1215
1668
|
"complexity": "low",
|
|
1216
1669
|
"inDegree": 1,
|
|
@@ -1222,6 +1675,12 @@
|
|
|
1222
1675
|
}
|
|
1223
1676
|
],
|
|
1224
1677
|
"edges": [
|
|
1678
|
+
{
|
|
1679
|
+
"from": "GET__users__gitdiff_test",
|
|
1680
|
+
"to": "getChangedEntities__gitdiff",
|
|
1681
|
+
"type": "imports",
|
|
1682
|
+
"description": "GET /users imports getChangedEntities from gitdiff.ts"
|
|
1683
|
+
},
|
|
1225
1684
|
{
|
|
1226
1685
|
"from": "makeId__graph_test",
|
|
1227
1686
|
"to": "buildGraph__graph",
|
|
@@ -1262,43 +1721,133 @@
|
|
|
1262
1721
|
"from": "createMockNode__metrics_test",
|
|
1263
1722
|
"to": "getEntryPoints__metrics",
|
|
1264
1723
|
"type": "imports",
|
|
1265
|
-
"description": "createMockNode imports getEntryPoints from metrics.ts"
|
|
1724
|
+
"description": "createMockNode imports getEntryPoints from metrics.ts"
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"from": "createMockNode__metrics_test",
|
|
1728
|
+
"to": "getLeafNodes__metrics",
|
|
1729
|
+
"type": "imports",
|
|
1730
|
+
"description": "createMockNode imports getLeafNodes from metrics.ts"
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"from": "createMockNode__metrics_test",
|
|
1734
|
+
"to": "getIsolatedNodes__metrics",
|
|
1735
|
+
"type": "imports",
|
|
1736
|
+
"description": "createMockNode imports getIsolatedNodes from metrics.ts"
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
"from": "createMockNode__metrics_test",
|
|
1740
|
+
"to": "getCriticalNodes__metrics",
|
|
1741
|
+
"type": "imports",
|
|
1742
|
+
"description": "createMockNode imports getCriticalNodes from metrics.ts"
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"from": "createMockNode__metrics_test",
|
|
1746
|
+
"to": "DepGraph__types",
|
|
1747
|
+
"type": "imports",
|
|
1748
|
+
"description": "createMockNode imports DepGraph from types.ts"
|
|
1749
|
+
},
|
|
1750
|
+
{
|
|
1751
|
+
"from": "createMockNode__metrics_test",
|
|
1752
|
+
"to": "DepNode__types",
|
|
1753
|
+
"type": "imports",
|
|
1754
|
+
"description": "createMockNode imports DepNode from types.ts"
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
"from": "activeFunc__parser_test",
|
|
1758
|
+
"to": "parseFile__parser",
|
|
1759
|
+
"type": "imports",
|
|
1760
|
+
"description": "activeFunc imports parseFile from parser.ts"
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
"from": "extractEntities__go",
|
|
1764
|
+
"to": "RawEntity__types",
|
|
1765
|
+
"type": "imports",
|
|
1766
|
+
"description": "extractEntities imports RawEntity from types.ts"
|
|
1767
|
+
},
|
|
1768
|
+
{
|
|
1769
|
+
"from": "extractImports__go",
|
|
1770
|
+
"to": "RawEntity__types",
|
|
1771
|
+
"type": "imports",
|
|
1772
|
+
"description": "extractImports imports RawEntity from types.ts"
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
"from": "extractExports__go",
|
|
1776
|
+
"to": "RawEntity__types",
|
|
1777
|
+
"type": "imports",
|
|
1778
|
+
"description": "extractExports imports RawEntity from types.ts"
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
"from": "extractEntities__go",
|
|
1782
|
+
"to": "RawImport__types",
|
|
1783
|
+
"type": "imports",
|
|
1784
|
+
"description": "extractEntities imports RawImport from types.ts"
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
"from": "extractImports__go",
|
|
1788
|
+
"to": "RawImport__types",
|
|
1789
|
+
"type": "imports",
|
|
1790
|
+
"description": "extractImports imports RawImport from types.ts"
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"from": "extractExports__go",
|
|
1794
|
+
"to": "RawImport__types",
|
|
1795
|
+
"type": "imports",
|
|
1796
|
+
"description": "extractExports imports RawImport from types.ts"
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
"from": "extractEntities__go",
|
|
1800
|
+
"to": "EntityPattern__registry",
|
|
1801
|
+
"type": "imports",
|
|
1802
|
+
"description": "extractEntities imports EntityPattern from registry.ts"
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"from": "extractImports__go",
|
|
1806
|
+
"to": "EntityPattern__registry",
|
|
1807
|
+
"type": "imports",
|
|
1808
|
+
"description": "extractImports imports EntityPattern from registry.ts"
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
"from": "extractExports__go",
|
|
1812
|
+
"to": "EntityPattern__registry",
|
|
1813
|
+
"type": "imports",
|
|
1814
|
+
"description": "extractExports imports EntityPattern from registry.ts"
|
|
1266
1815
|
},
|
|
1267
1816
|
{
|
|
1268
|
-
"from": "
|
|
1269
|
-
"to": "
|
|
1817
|
+
"from": "extractEntities__go",
|
|
1818
|
+
"to": "LanguageParser__registry",
|
|
1270
1819
|
"type": "imports",
|
|
1271
|
-
"description": "
|
|
1820
|
+
"description": "extractEntities imports LanguageParser from registry.ts"
|
|
1272
1821
|
},
|
|
1273
1822
|
{
|
|
1274
|
-
"from": "
|
|
1275
|
-
"to": "
|
|
1823
|
+
"from": "extractImports__go",
|
|
1824
|
+
"to": "LanguageParser__registry",
|
|
1276
1825
|
"type": "imports",
|
|
1277
|
-
"description": "
|
|
1826
|
+
"description": "extractImports imports LanguageParser from registry.ts"
|
|
1278
1827
|
},
|
|
1279
1828
|
{
|
|
1280
|
-
"from": "
|
|
1281
|
-
"to": "
|
|
1829
|
+
"from": "extractExports__go",
|
|
1830
|
+
"to": "LanguageParser__registry",
|
|
1282
1831
|
"type": "imports",
|
|
1283
|
-
"description": "
|
|
1832
|
+
"description": "extractExports imports LanguageParser from registry.ts"
|
|
1284
1833
|
},
|
|
1285
1834
|
{
|
|
1286
|
-
"from": "
|
|
1287
|
-
"to": "
|
|
1835
|
+
"from": "extractEntities__go",
|
|
1836
|
+
"to": "registerParser__registry",
|
|
1288
1837
|
"type": "imports",
|
|
1289
|
-
"description": "
|
|
1838
|
+
"description": "extractEntities imports registerParser from registry.ts"
|
|
1290
1839
|
},
|
|
1291
1840
|
{
|
|
1292
|
-
"from": "
|
|
1293
|
-
"to": "
|
|
1841
|
+
"from": "extractImports__go",
|
|
1842
|
+
"to": "registerParser__registry",
|
|
1294
1843
|
"type": "imports",
|
|
1295
|
-
"description": "
|
|
1844
|
+
"description": "extractImports imports registerParser from registry.ts"
|
|
1296
1845
|
},
|
|
1297
1846
|
{
|
|
1298
|
-
"from": "
|
|
1299
|
-
"to": "
|
|
1847
|
+
"from": "extractExports__go",
|
|
1848
|
+
"to": "registerParser__registry",
|
|
1300
1849
|
"type": "imports",
|
|
1301
|
-
"description": "
|
|
1850
|
+
"description": "extractExports imports registerParser from registry.ts"
|
|
1302
1851
|
},
|
|
1303
1852
|
{
|
|
1304
1853
|
"from": "estimateComplexity__javascript",
|
|
@@ -1360,6 +1909,36 @@
|
|
|
1360
1909
|
"type": "imports",
|
|
1361
1910
|
"description": "extractExports imports RawImport from types.ts"
|
|
1362
1911
|
},
|
|
1912
|
+
{
|
|
1913
|
+
"from": "estimateComplexity__javascript",
|
|
1914
|
+
"to": "EntityPattern__registry",
|
|
1915
|
+
"type": "imports",
|
|
1916
|
+
"description": "estimateComplexity imports EntityPattern from registry.ts"
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"from": "slugify__javascript",
|
|
1920
|
+
"to": "EntityPattern__registry",
|
|
1921
|
+
"type": "imports",
|
|
1922
|
+
"description": "slugify imports EntityPattern from registry.ts"
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"from": "extractEntities__javascript",
|
|
1926
|
+
"to": "EntityPattern__registry",
|
|
1927
|
+
"type": "imports",
|
|
1928
|
+
"description": "extractEntities imports EntityPattern from registry.ts"
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"from": "extractImports__javascript",
|
|
1932
|
+
"to": "EntityPattern__registry",
|
|
1933
|
+
"type": "imports",
|
|
1934
|
+
"description": "extractImports imports EntityPattern from registry.ts"
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"from": "extractExports__javascript",
|
|
1938
|
+
"to": "EntityPattern__registry",
|
|
1939
|
+
"type": "imports",
|
|
1940
|
+
"description": "extractExports imports EntityPattern from registry.ts"
|
|
1941
|
+
},
|
|
1363
1942
|
{
|
|
1364
1943
|
"from": "estimateComplexity__javascript",
|
|
1365
1944
|
"to": "LanguageParser__registry",
|
|
@@ -1420,6 +1999,126 @@
|
|
|
1420
1999
|
"type": "imports",
|
|
1421
2000
|
"description": "extractExports imports registerParser from registry.ts"
|
|
1422
2001
|
},
|
|
2002
|
+
{
|
|
2003
|
+
"from": "estimateComplexity__python",
|
|
2004
|
+
"to": "RawEntity__types",
|
|
2005
|
+
"type": "imports",
|
|
2006
|
+
"description": "estimateComplexity imports RawEntity from types.ts"
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
"from": "extractEntities__python",
|
|
2010
|
+
"to": "RawEntity__types",
|
|
2011
|
+
"type": "imports",
|
|
2012
|
+
"description": "extractEntities imports RawEntity from types.ts"
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"from": "extractImports__python",
|
|
2016
|
+
"to": "RawEntity__types",
|
|
2017
|
+
"type": "imports",
|
|
2018
|
+
"description": "extractImports imports RawEntity from types.ts"
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
"from": "extractExports__python",
|
|
2022
|
+
"to": "RawEntity__types",
|
|
2023
|
+
"type": "imports",
|
|
2024
|
+
"description": "extractExports imports RawEntity from types.ts"
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
"from": "estimateComplexity__python",
|
|
2028
|
+
"to": "RawImport__types",
|
|
2029
|
+
"type": "imports",
|
|
2030
|
+
"description": "estimateComplexity imports RawImport from types.ts"
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
"from": "extractEntities__python",
|
|
2034
|
+
"to": "RawImport__types",
|
|
2035
|
+
"type": "imports",
|
|
2036
|
+
"description": "extractEntities imports RawImport from types.ts"
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
"from": "extractImports__python",
|
|
2040
|
+
"to": "RawImport__types",
|
|
2041
|
+
"type": "imports",
|
|
2042
|
+
"description": "extractImports imports RawImport from types.ts"
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
"from": "extractExports__python",
|
|
2046
|
+
"to": "RawImport__types",
|
|
2047
|
+
"type": "imports",
|
|
2048
|
+
"description": "extractExports imports RawImport from types.ts"
|
|
2049
|
+
},
|
|
2050
|
+
{
|
|
2051
|
+
"from": "estimateComplexity__python",
|
|
2052
|
+
"to": "EntityPattern__registry",
|
|
2053
|
+
"type": "imports",
|
|
2054
|
+
"description": "estimateComplexity imports EntityPattern from registry.ts"
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
"from": "extractEntities__python",
|
|
2058
|
+
"to": "EntityPattern__registry",
|
|
2059
|
+
"type": "imports",
|
|
2060
|
+
"description": "extractEntities imports EntityPattern from registry.ts"
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
"from": "extractImports__python",
|
|
2064
|
+
"to": "EntityPattern__registry",
|
|
2065
|
+
"type": "imports",
|
|
2066
|
+
"description": "extractImports imports EntityPattern from registry.ts"
|
|
2067
|
+
},
|
|
2068
|
+
{
|
|
2069
|
+
"from": "extractExports__python",
|
|
2070
|
+
"to": "EntityPattern__registry",
|
|
2071
|
+
"type": "imports",
|
|
2072
|
+
"description": "extractExports imports EntityPattern from registry.ts"
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
"from": "estimateComplexity__python",
|
|
2076
|
+
"to": "LanguageParser__registry",
|
|
2077
|
+
"type": "imports",
|
|
2078
|
+
"description": "estimateComplexity imports LanguageParser from registry.ts"
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"from": "extractEntities__python",
|
|
2082
|
+
"to": "LanguageParser__registry",
|
|
2083
|
+
"type": "imports",
|
|
2084
|
+
"description": "extractEntities imports LanguageParser from registry.ts"
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
"from": "extractImports__python",
|
|
2088
|
+
"to": "LanguageParser__registry",
|
|
2089
|
+
"type": "imports",
|
|
2090
|
+
"description": "extractImports imports LanguageParser from registry.ts"
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
"from": "extractExports__python",
|
|
2094
|
+
"to": "LanguageParser__registry",
|
|
2095
|
+
"type": "imports",
|
|
2096
|
+
"description": "extractExports imports LanguageParser from registry.ts"
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"from": "estimateComplexity__python",
|
|
2100
|
+
"to": "registerParser__registry",
|
|
2101
|
+
"type": "imports",
|
|
2102
|
+
"description": "estimateComplexity imports registerParser from registry.ts"
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
"from": "extractEntities__python",
|
|
2106
|
+
"to": "registerParser__registry",
|
|
2107
|
+
"type": "imports",
|
|
2108
|
+
"description": "extractEntities imports registerParser from registry.ts"
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"from": "extractImports__python",
|
|
2112
|
+
"to": "registerParser__registry",
|
|
2113
|
+
"type": "imports",
|
|
2114
|
+
"description": "extractImports imports registerParser from registry.ts"
|
|
2115
|
+
},
|
|
2116
|
+
{
|
|
2117
|
+
"from": "extractExports__python",
|
|
2118
|
+
"to": "registerParser__registry",
|
|
2119
|
+
"type": "imports",
|
|
2120
|
+
"description": "extractExports imports registerParser from registry.ts"
|
|
2121
|
+
},
|
|
1423
2122
|
{
|
|
1424
2123
|
"from": "registerParser__registry",
|
|
1425
2124
|
"to": "RawEntity__types",
|
|
@@ -1432,6 +2131,12 @@
|
|
|
1432
2131
|
"type": "imports",
|
|
1433
2132
|
"description": "getLanguageParser imports RawEntity from types.ts"
|
|
1434
2133
|
},
|
|
2134
|
+
{
|
|
2135
|
+
"from": "EntityPattern__registry",
|
|
2136
|
+
"to": "RawEntity__types",
|
|
2137
|
+
"type": "imports",
|
|
2138
|
+
"description": "EntityPattern imports RawEntity from types.ts"
|
|
2139
|
+
},
|
|
1435
2140
|
{
|
|
1436
2141
|
"from": "LanguageParser__registry",
|
|
1437
2142
|
"to": "RawEntity__types",
|
|
@@ -1450,6 +2155,12 @@
|
|
|
1450
2155
|
"type": "imports",
|
|
1451
2156
|
"description": "getLanguageParser imports RawImport from types.ts"
|
|
1452
2157
|
},
|
|
2158
|
+
{
|
|
2159
|
+
"from": "EntityPattern__registry",
|
|
2160
|
+
"to": "RawImport__types",
|
|
2161
|
+
"type": "imports",
|
|
2162
|
+
"description": "EntityPattern imports RawImport from types.ts"
|
|
2163
|
+
},
|
|
1453
2164
|
{
|
|
1454
2165
|
"from": "LanguageParser__registry",
|
|
1455
2166
|
"to": "RawImport__types",
|
|
@@ -1960,6 +2671,120 @@
|
|
|
1960
2671
|
"type": "imports",
|
|
1961
2672
|
"description": "cyan imports writeOutput from output.ts"
|
|
1962
2673
|
},
|
|
2674
|
+
{
|
|
2675
|
+
"from": "color__main",
|
|
2676
|
+
"to": "getChangedEntities__gitdiff",
|
|
2677
|
+
"type": "imports",
|
|
2678
|
+
"description": "color imports getChangedEntities from gitdiff.ts"
|
|
2679
|
+
},
|
|
2680
|
+
{
|
|
2681
|
+
"from": "getFlag__main",
|
|
2682
|
+
"to": "getChangedEntities__gitdiff",
|
|
2683
|
+
"type": "imports",
|
|
2684
|
+
"description": "getFlag imports getChangedEntities from gitdiff.ts"
|
|
2685
|
+
},
|
|
2686
|
+
{
|
|
2687
|
+
"from": "printHelp__main",
|
|
2688
|
+
"to": "getChangedEntities__gitdiff",
|
|
2689
|
+
"type": "imports",
|
|
2690
|
+
"description": "printHelp imports getChangedEntities from gitdiff.ts"
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
"from": "printBanner__main",
|
|
2694
|
+
"to": "getChangedEntities__gitdiff",
|
|
2695
|
+
"type": "imports",
|
|
2696
|
+
"description": "printBanner imports getChangedEntities from gitdiff.ts"
|
|
2697
|
+
},
|
|
2698
|
+
{
|
|
2699
|
+
"from": "printSummary__main",
|
|
2700
|
+
"to": "getChangedEntities__gitdiff",
|
|
2701
|
+
"type": "imports",
|
|
2702
|
+
"description": "printSummary imports getChangedEntities from gitdiff.ts"
|
|
2703
|
+
},
|
|
2704
|
+
{
|
|
2705
|
+
"from": "printImpact__main",
|
|
2706
|
+
"to": "getChangedEntities__gitdiff",
|
|
2707
|
+
"type": "imports",
|
|
2708
|
+
"description": "printImpact imports getChangedEntities from gitdiff.ts"
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
"from": "dim__main",
|
|
2712
|
+
"to": "getChangedEntities__gitdiff",
|
|
2713
|
+
"type": "imports",
|
|
2714
|
+
"description": "dim imports getChangedEntities from gitdiff.ts"
|
|
2715
|
+
},
|
|
2716
|
+
{
|
|
2717
|
+
"from": "bold__main",
|
|
2718
|
+
"to": "getChangedEntities__gitdiff",
|
|
2719
|
+
"type": "imports",
|
|
2720
|
+
"description": "bold imports getChangedEntities from gitdiff.ts"
|
|
2721
|
+
},
|
|
2722
|
+
{
|
|
2723
|
+
"from": "green__main",
|
|
2724
|
+
"to": "getChangedEntities__gitdiff",
|
|
2725
|
+
"type": "imports",
|
|
2726
|
+
"description": "green imports getChangedEntities from gitdiff.ts"
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
"from": "yellow__main",
|
|
2730
|
+
"to": "getChangedEntities__gitdiff",
|
|
2731
|
+
"type": "imports",
|
|
2732
|
+
"description": "yellow imports getChangedEntities from gitdiff.ts"
|
|
2733
|
+
},
|
|
2734
|
+
{
|
|
2735
|
+
"from": "red__main",
|
|
2736
|
+
"to": "getChangedEntities__gitdiff",
|
|
2737
|
+
"type": "imports",
|
|
2738
|
+
"description": "red imports getChangedEntities from gitdiff.ts"
|
|
2739
|
+
},
|
|
2740
|
+
{
|
|
2741
|
+
"from": "cyan__main",
|
|
2742
|
+
"to": "getChangedEntities__gitdiff",
|
|
2743
|
+
"type": "imports",
|
|
2744
|
+
"description": "cyan imports getChangedEntities from gitdiff.ts"
|
|
2745
|
+
},
|
|
2746
|
+
{
|
|
2747
|
+
"from": "getChangedEntities__gitdiff",
|
|
2748
|
+
"to": "getLanguageParser__registry",
|
|
2749
|
+
"type": "imports",
|
|
2750
|
+
"description": "getChangedEntities imports getLanguageParser from registry.ts"
|
|
2751
|
+
},
|
|
2752
|
+
{
|
|
2753
|
+
"from": "runGitDiff__gitdiff",
|
|
2754
|
+
"to": "getLanguageParser__registry",
|
|
2755
|
+
"type": "imports",
|
|
2756
|
+
"description": "runGitDiff imports getLanguageParser from registry.ts"
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
"from": "parseDiff__gitdiff",
|
|
2760
|
+
"to": "getLanguageParser__registry",
|
|
2761
|
+
"type": "imports",
|
|
2762
|
+
"description": "parseDiff imports getLanguageParser from registry.ts"
|
|
2763
|
+
},
|
|
2764
|
+
{
|
|
2765
|
+
"from": "extractEntityFromContext__gitdiff",
|
|
2766
|
+
"to": "getLanguageParser__registry",
|
|
2767
|
+
"type": "imports",
|
|
2768
|
+
"description": "extractEntityFromContext imports getLanguageParser from registry.ts"
|
|
2769
|
+
},
|
|
2770
|
+
{
|
|
2771
|
+
"from": "buildDescription__gitdiff",
|
|
2772
|
+
"to": "getLanguageParser__registry",
|
|
2773
|
+
"type": "imports",
|
|
2774
|
+
"description": "buildDescription imports getLanguageParser from registry.ts"
|
|
2775
|
+
},
|
|
2776
|
+
{
|
|
2777
|
+
"from": "ChangedEntity__gitdiff",
|
|
2778
|
+
"to": "getLanguageParser__registry",
|
|
2779
|
+
"type": "imports",
|
|
2780
|
+
"description": "ChangedEntity imports getLanguageParser from registry.ts"
|
|
2781
|
+
},
|
|
2782
|
+
{
|
|
2783
|
+
"from": "GitDiffOptions__gitdiff",
|
|
2784
|
+
"to": "getLanguageParser__registry",
|
|
2785
|
+
"type": "imports",
|
|
2786
|
+
"description": "GitDiffOptions imports getLanguageParser from registry.ts"
|
|
2787
|
+
},
|
|
1963
2788
|
{
|
|
1964
2789
|
"from": "buildGraph__graph",
|
|
1965
2790
|
"to": "ParsedFile__types",
|
|
@@ -2362,14 +3187,67 @@
|
|
|
2362
3187
|
"type": "imports",
|
|
2363
3188
|
"description": "parseFile imports getLanguageParser from registry.ts"
|
|
2364
3189
|
},
|
|
2365
|
-
{
|
|
2366
|
-
"from": "parseFiles__parser",
|
|
2367
|
-
"to": "getLanguageParser__registry",
|
|
2368
|
-
"type": "imports",
|
|
2369
|
-
"description": "parseFiles imports getLanguageParser from registry.ts"
|
|
2370
|
-
}
|
|
2371
|
-
],
|
|
2372
|
-
"files": [
|
|
3190
|
+
{
|
|
3191
|
+
"from": "parseFiles__parser",
|
|
3192
|
+
"to": "getLanguageParser__registry",
|
|
3193
|
+
"type": "imports",
|
|
3194
|
+
"description": "parseFiles imports getLanguageParser from registry.ts"
|
|
3195
|
+
}
|
|
3196
|
+
],
|
|
3197
|
+
"files": [
|
|
3198
|
+
{
|
|
3199
|
+
"filePath": "depgraph.js",
|
|
3200
|
+
"lang": "js",
|
|
3201
|
+
"lines": 1268,
|
|
3202
|
+
"entities": [
|
|
3203
|
+
{
|
|
3204
|
+
"name": "color",
|
|
3205
|
+
"type": "function",
|
|
3206
|
+
"line": 1070,
|
|
3207
|
+
"complexity": "low"
|
|
3208
|
+
},
|
|
3209
|
+
{
|
|
3210
|
+
"name": "getFlag",
|
|
3211
|
+
"type": "function",
|
|
3212
|
+
"line": 1081,
|
|
3213
|
+
"complexity": "low"
|
|
3214
|
+
},
|
|
3215
|
+
{
|
|
3216
|
+
"name": "printHelp",
|
|
3217
|
+
"type": "function",
|
|
3218
|
+
"line": 1085,
|
|
3219
|
+
"complexity": "low"
|
|
3220
|
+
},
|
|
3221
|
+
{
|
|
3222
|
+
"name": "printBanner",
|
|
3223
|
+
"type": "function",
|
|
3224
|
+
"line": 1134,
|
|
3225
|
+
"complexity": "low"
|
|
3226
|
+
},
|
|
3227
|
+
{
|
|
3228
|
+
"name": "printSummary",
|
|
3229
|
+
"type": "function",
|
|
3230
|
+
"line": 1141,
|
|
3231
|
+
"complexity": "low"
|
|
3232
|
+
},
|
|
3233
|
+
{
|
|
3234
|
+
"name": "printImpact",
|
|
3235
|
+
"type": "function",
|
|
3236
|
+
"line": 1154,
|
|
3237
|
+
"complexity": "medium"
|
|
3238
|
+
}
|
|
3239
|
+
],
|
|
3240
|
+
"imports": [
|
|
3241
|
+
{
|
|
3242
|
+
"source": "child_process",
|
|
3243
|
+
"names": [
|
|
3244
|
+
"child_process_1"
|
|
3245
|
+
],
|
|
3246
|
+
"isLocal": false
|
|
3247
|
+
}
|
|
3248
|
+
],
|
|
3249
|
+
"exports": []
|
|
3250
|
+
},
|
|
2373
3251
|
{
|
|
2374
3252
|
"filePath": "src/__tests__/collector.test.ts",
|
|
2375
3253
|
"lang": "js",
|
|
@@ -2411,6 +3289,47 @@
|
|
|
2411
3289
|
],
|
|
2412
3290
|
"exports": []
|
|
2413
3291
|
},
|
|
3292
|
+
{
|
|
3293
|
+
"filePath": "src/__tests__/gitdiff.test.ts",
|
|
3294
|
+
"lang": "js",
|
|
3295
|
+
"lines": 208,
|
|
3296
|
+
"entities": [
|
|
3297
|
+
{
|
|
3298
|
+
"name": "GET /users",
|
|
3299
|
+
"type": "api",
|
|
3300
|
+
"line": 181,
|
|
3301
|
+
"complexity": "low"
|
|
3302
|
+
}
|
|
3303
|
+
],
|
|
3304
|
+
"imports": [
|
|
3305
|
+
{
|
|
3306
|
+
"source": "vitest",
|
|
3307
|
+
"names": [
|
|
3308
|
+
"describe",
|
|
3309
|
+
"it",
|
|
3310
|
+
"expect",
|
|
3311
|
+
"vi",
|
|
3312
|
+
"beforeEach"
|
|
3313
|
+
],
|
|
3314
|
+
"isLocal": false
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
"source": "child_process",
|
|
3318
|
+
"names": [
|
|
3319
|
+
"execSync"
|
|
3320
|
+
],
|
|
3321
|
+
"isLocal": false
|
|
3322
|
+
},
|
|
3323
|
+
{
|
|
3324
|
+
"source": "../stages/gitdiff",
|
|
3325
|
+
"names": [
|
|
3326
|
+
"getChangedEntities"
|
|
3327
|
+
],
|
|
3328
|
+
"isLocal": true
|
|
3329
|
+
}
|
|
3330
|
+
],
|
|
3331
|
+
"exports": []
|
|
3332
|
+
},
|
|
2414
3333
|
{
|
|
2415
3334
|
"filePath": "src/__tests__/graph.test.ts",
|
|
2416
3335
|
"lang": "js",
|
|
@@ -2635,7 +3554,7 @@
|
|
|
2635
3554
|
{
|
|
2636
3555
|
"filePath": "src/constants.ts",
|
|
2637
3556
|
"lang": "js",
|
|
2638
|
-
"lines":
|
|
3557
|
+
"lines": 53,
|
|
2639
3558
|
"entities": [],
|
|
2640
3559
|
"imports": [],
|
|
2641
3560
|
"exports": [
|
|
@@ -2658,10 +3577,49 @@
|
|
|
2658
3577
|
{
|
|
2659
3578
|
"filePath": "src/languages/go.ts",
|
|
2660
3579
|
"lang": "js",
|
|
2661
|
-
"lines":
|
|
2662
|
-
"entities": [
|
|
2663
|
-
|
|
2664
|
-
|
|
3580
|
+
"lines": 102,
|
|
3581
|
+
"entities": [
|
|
3582
|
+
{
|
|
3583
|
+
"name": "extractEntities",
|
|
3584
|
+
"type": "function",
|
|
3585
|
+
"line": 26,
|
|
3586
|
+
"complexity": "low"
|
|
3587
|
+
},
|
|
3588
|
+
{
|
|
3589
|
+
"name": "extractImports",
|
|
3590
|
+
"type": "function",
|
|
3591
|
+
"line": 49,
|
|
3592
|
+
"complexity": "medium"
|
|
3593
|
+
},
|
|
3594
|
+
{
|
|
3595
|
+
"name": "extractExports",
|
|
3596
|
+
"type": "function",
|
|
3597
|
+
"line": 76,
|
|
3598
|
+
"complexity": "low"
|
|
3599
|
+
}
|
|
3600
|
+
],
|
|
3601
|
+
"imports": [
|
|
3602
|
+
{
|
|
3603
|
+
"source": "../types",
|
|
3604
|
+
"names": [
|
|
3605
|
+
"RawEntity",
|
|
3606
|
+
"RawImport"
|
|
3607
|
+
],
|
|
3608
|
+
"isLocal": true
|
|
3609
|
+
},
|
|
3610
|
+
{
|
|
3611
|
+
"source": "./registry",
|
|
3612
|
+
"names": [
|
|
3613
|
+
"EntityPattern",
|
|
3614
|
+
"LanguageParser",
|
|
3615
|
+
"registerParser"
|
|
3616
|
+
],
|
|
3617
|
+
"isLocal": true
|
|
3618
|
+
}
|
|
3619
|
+
],
|
|
3620
|
+
"exports": [
|
|
3621
|
+
"goEntityPatterns"
|
|
3622
|
+
]
|
|
2665
3623
|
},
|
|
2666
3624
|
{
|
|
2667
3625
|
"filePath": "src/languages/java.ts",
|
|
@@ -2674,36 +3632,36 @@
|
|
|
2674
3632
|
{
|
|
2675
3633
|
"filePath": "src/languages/javascript.ts",
|
|
2676
3634
|
"lang": "js",
|
|
2677
|
-
"lines":
|
|
3635
|
+
"lines": 223,
|
|
2678
3636
|
"entities": [
|
|
2679
3637
|
{
|
|
2680
3638
|
"name": "estimateComplexity",
|
|
2681
3639
|
"type": "function",
|
|
2682
|
-
"line":
|
|
3640
|
+
"line": 14,
|
|
2683
3641
|
"complexity": "high"
|
|
2684
3642
|
},
|
|
2685
3643
|
{
|
|
2686
3644
|
"name": "slugify",
|
|
2687
3645
|
"type": "function",
|
|
2688
|
-
"line":
|
|
3646
|
+
"line": 34,
|
|
2689
3647
|
"complexity": "low"
|
|
2690
3648
|
},
|
|
2691
3649
|
{
|
|
2692
3650
|
"name": "extractEntities",
|
|
2693
3651
|
"type": "function",
|
|
2694
|
-
"line":
|
|
3652
|
+
"line": 97,
|
|
2695
3653
|
"complexity": "medium"
|
|
2696
3654
|
},
|
|
2697
3655
|
{
|
|
2698
3656
|
"name": "extractImports",
|
|
2699
3657
|
"type": "function",
|
|
2700
|
-
"line":
|
|
3658
|
+
"line": 143,
|
|
2701
3659
|
"complexity": "low"
|
|
2702
3660
|
},
|
|
2703
3661
|
{
|
|
2704
3662
|
"name": "extractExports",
|
|
2705
3663
|
"type": "function",
|
|
2706
|
-
"line":
|
|
3664
|
+
"line": 189,
|
|
2707
3665
|
"complexity": "low"
|
|
2708
3666
|
}
|
|
2709
3667
|
],
|
|
@@ -2719,6 +3677,7 @@
|
|
|
2719
3677
|
{
|
|
2720
3678
|
"source": "./registry",
|
|
2721
3679
|
"names": [
|
|
3680
|
+
"EntityPattern",
|
|
2722
3681
|
"LanguageParser",
|
|
2723
3682
|
"registerParser"
|
|
2724
3683
|
],
|
|
@@ -2739,7 +3698,9 @@
|
|
|
2739
3698
|
"isLocal": false
|
|
2740
3699
|
}
|
|
2741
3700
|
],
|
|
2742
|
-
"exports": [
|
|
3701
|
+
"exports": [
|
|
3702
|
+
"jsEntityPatterns"
|
|
3703
|
+
]
|
|
2743
3704
|
},
|
|
2744
3705
|
{
|
|
2745
3706
|
"filePath": "src/languages/kotlin.ts",
|
|
@@ -2760,32 +3721,90 @@
|
|
|
2760
3721
|
{
|
|
2761
3722
|
"filePath": "src/languages/python.ts",
|
|
2762
3723
|
"lang": "js",
|
|
2763
|
-
"lines":
|
|
2764
|
-
"entities": [
|
|
2765
|
-
|
|
2766
|
-
|
|
3724
|
+
"lines": 168,
|
|
3725
|
+
"entities": [
|
|
3726
|
+
{
|
|
3727
|
+
"name": "estimateComplexity",
|
|
3728
|
+
"type": "function",
|
|
3729
|
+
"line": 13,
|
|
3730
|
+
"complexity": "high"
|
|
3731
|
+
},
|
|
3732
|
+
{
|
|
3733
|
+
"name": "extractEntities",
|
|
3734
|
+
"type": "function",
|
|
3735
|
+
"line": 58,
|
|
3736
|
+
"complexity": "medium"
|
|
3737
|
+
},
|
|
3738
|
+
{
|
|
3739
|
+
"name": "extractImports",
|
|
3740
|
+
"type": "function",
|
|
3741
|
+
"line": 98,
|
|
3742
|
+
"complexity": "low"
|
|
3743
|
+
},
|
|
3744
|
+
{
|
|
3745
|
+
"name": "extractExports",
|
|
3746
|
+
"type": "function",
|
|
3747
|
+
"line": 142,
|
|
3748
|
+
"complexity": "low"
|
|
3749
|
+
}
|
|
3750
|
+
],
|
|
3751
|
+
"imports": [
|
|
3752
|
+
{
|
|
3753
|
+
"source": "../types",
|
|
3754
|
+
"names": [
|
|
3755
|
+
"RawEntity",
|
|
3756
|
+
"RawImport"
|
|
3757
|
+
],
|
|
3758
|
+
"isLocal": true
|
|
3759
|
+
},
|
|
3760
|
+
{
|
|
3761
|
+
"source": "./registry",
|
|
3762
|
+
"names": [
|
|
3763
|
+
"EntityPattern",
|
|
3764
|
+
"LanguageParser",
|
|
3765
|
+
"registerParser"
|
|
3766
|
+
],
|
|
3767
|
+
"isLocal": true
|
|
3768
|
+
},
|
|
3769
|
+
{
|
|
3770
|
+
"source": "../constants",
|
|
3771
|
+
"names": [
|
|
3772
|
+
"COMPLEXITY_THRESHOLDS"
|
|
3773
|
+
],
|
|
3774
|
+
"isLocal": true
|
|
3775
|
+
}
|
|
3776
|
+
],
|
|
3777
|
+
"exports": [
|
|
3778
|
+
"pyEntityPatterns"
|
|
3779
|
+
]
|
|
2767
3780
|
},
|
|
2768
3781
|
{
|
|
2769
3782
|
"filePath": "src/languages/registry.ts",
|
|
2770
3783
|
"lang": "js",
|
|
2771
|
-
"lines":
|
|
3784
|
+
"lines": 71,
|
|
2772
3785
|
"entities": [
|
|
2773
3786
|
{
|
|
2774
3787
|
"name": "registerParser",
|
|
2775
3788
|
"type": "function",
|
|
2776
|
-
"line":
|
|
3789
|
+
"line": 60,
|
|
2777
3790
|
"complexity": "low"
|
|
2778
3791
|
},
|
|
2779
3792
|
{
|
|
2780
3793
|
"name": "getLanguageParser",
|
|
2781
3794
|
"type": "function",
|
|
2782
|
-
"line":
|
|
3795
|
+
"line": 69,
|
|
3796
|
+
"complexity": "low"
|
|
3797
|
+
},
|
|
3798
|
+
{
|
|
3799
|
+
"name": "EntityPattern",
|
|
3800
|
+
"type": "interface",
|
|
3801
|
+
"line": 8,
|
|
2783
3802
|
"complexity": "low"
|
|
2784
3803
|
},
|
|
2785
3804
|
{
|
|
2786
3805
|
"name": "LanguageParser",
|
|
2787
3806
|
"type": "interface",
|
|
2788
|
-
"line":
|
|
3807
|
+
"line": 19,
|
|
2789
3808
|
"complexity": "low"
|
|
2790
3809
|
}
|
|
2791
3810
|
],
|
|
@@ -2800,6 +3819,7 @@
|
|
|
2800
3819
|
}
|
|
2801
3820
|
],
|
|
2802
3821
|
"exports": [
|
|
3822
|
+
"EntityPattern",
|
|
2803
3823
|
"LanguageParser",
|
|
2804
3824
|
"registerParser",
|
|
2805
3825
|
"getLanguageParser"
|
|
@@ -2824,78 +3844,78 @@
|
|
|
2824
3844
|
{
|
|
2825
3845
|
"filePath": "src/main.ts",
|
|
2826
3846
|
"lang": "js",
|
|
2827
|
-
"lines":
|
|
3847
|
+
"lines": 305,
|
|
2828
3848
|
"entities": [
|
|
2829
3849
|
{
|
|
2830
3850
|
"name": "color",
|
|
2831
3851
|
"type": "function",
|
|
2832
|
-
"line":
|
|
3852
|
+
"line": 34,
|
|
2833
3853
|
"complexity": "low"
|
|
2834
3854
|
},
|
|
2835
3855
|
{
|
|
2836
3856
|
"name": "getFlag",
|
|
2837
3857
|
"type": "function",
|
|
2838
|
-
"line":
|
|
3858
|
+
"line": 54,
|
|
2839
3859
|
"complexity": "low"
|
|
2840
3860
|
},
|
|
2841
3861
|
{
|
|
2842
3862
|
"name": "printHelp",
|
|
2843
3863
|
"type": "function",
|
|
2844
|
-
"line":
|
|
3864
|
+
"line": 62,
|
|
2845
3865
|
"complexity": "low"
|
|
2846
3866
|
},
|
|
2847
3867
|
{
|
|
2848
3868
|
"name": "printBanner",
|
|
2849
3869
|
"type": "function",
|
|
2850
|
-
"line":
|
|
3870
|
+
"line": 115,
|
|
2851
3871
|
"complexity": "low"
|
|
2852
3872
|
},
|
|
2853
3873
|
{
|
|
2854
3874
|
"name": "printSummary",
|
|
2855
3875
|
"type": "function",
|
|
2856
|
-
"line":
|
|
3876
|
+
"line": 131,
|
|
2857
3877
|
"complexity": "low"
|
|
2858
3878
|
},
|
|
2859
3879
|
{
|
|
2860
3880
|
"name": "printImpact",
|
|
2861
3881
|
"type": "function",
|
|
2862
|
-
"line":
|
|
3882
|
+
"line": 155,
|
|
2863
3883
|
"complexity": "medium"
|
|
2864
3884
|
},
|
|
2865
3885
|
{
|
|
2866
3886
|
"name": "dim",
|
|
2867
3887
|
"type": "function",
|
|
2868
|
-
"line":
|
|
3888
|
+
"line": 38,
|
|
2869
3889
|
"complexity": "low"
|
|
2870
3890
|
},
|
|
2871
3891
|
{
|
|
2872
3892
|
"name": "bold",
|
|
2873
3893
|
"type": "function",
|
|
2874
|
-
"line":
|
|
3894
|
+
"line": 39,
|
|
2875
3895
|
"complexity": "low"
|
|
2876
3896
|
},
|
|
2877
3897
|
{
|
|
2878
3898
|
"name": "green",
|
|
2879
3899
|
"type": "function",
|
|
2880
|
-
"line":
|
|
3900
|
+
"line": 40,
|
|
2881
3901
|
"complexity": "low"
|
|
2882
3902
|
},
|
|
2883
3903
|
{
|
|
2884
3904
|
"name": "yellow",
|
|
2885
3905
|
"type": "function",
|
|
2886
|
-
"line":
|
|
3906
|
+
"line": 41,
|
|
2887
3907
|
"complexity": "low"
|
|
2888
3908
|
},
|
|
2889
3909
|
{
|
|
2890
3910
|
"name": "red",
|
|
2891
3911
|
"type": "function",
|
|
2892
|
-
"line":
|
|
3912
|
+
"line": 42,
|
|
2893
3913
|
"complexity": "low"
|
|
2894
3914
|
},
|
|
2895
3915
|
{
|
|
2896
3916
|
"name": "cyan",
|
|
2897
3917
|
"type": "function",
|
|
2898
|
-
"line":
|
|
3918
|
+
"line": 43,
|
|
2899
3919
|
"complexity": "low"
|
|
2900
3920
|
}
|
|
2901
3921
|
],
|
|
@@ -2943,6 +3963,13 @@
|
|
|
2943
3963
|
],
|
|
2944
3964
|
"isLocal": true
|
|
2945
3965
|
},
|
|
3966
|
+
{
|
|
3967
|
+
"source": "./stages/gitdiff",
|
|
3968
|
+
"names": [
|
|
3969
|
+
"getChangedEntities"
|
|
3970
|
+
],
|
|
3971
|
+
"isLocal": true
|
|
3972
|
+
},
|
|
2946
3973
|
{
|
|
2947
3974
|
"source": "fs",
|
|
2948
3975
|
"names": [
|
|
@@ -2956,12 +3983,12 @@
|
|
|
2956
3983
|
{
|
|
2957
3984
|
"filePath": "src/stages/collector.ts",
|
|
2958
3985
|
"lang": "js",
|
|
2959
|
-
"lines":
|
|
3986
|
+
"lines": 60,
|
|
2960
3987
|
"entities": [
|
|
2961
3988
|
{
|
|
2962
3989
|
"name": "collectFiles",
|
|
2963
3990
|
"type": "function",
|
|
2964
|
-
"line":
|
|
3991
|
+
"line": 13,
|
|
2965
3992
|
"complexity": "medium"
|
|
2966
3993
|
}
|
|
2967
3994
|
],
|
|
@@ -2994,27 +4021,104 @@
|
|
|
2994
4021
|
"collectFiles"
|
|
2995
4022
|
]
|
|
2996
4023
|
},
|
|
4024
|
+
{
|
|
4025
|
+
"filePath": "src/stages/gitdiff.ts",
|
|
4026
|
+
"lang": "js",
|
|
4027
|
+
"lines": 239,
|
|
4028
|
+
"entities": [
|
|
4029
|
+
{
|
|
4030
|
+
"name": "getChangedEntities",
|
|
4031
|
+
"type": "function",
|
|
4032
|
+
"line": 35,
|
|
4033
|
+
"complexity": "low"
|
|
4034
|
+
},
|
|
4035
|
+
{
|
|
4036
|
+
"name": "runGitDiff",
|
|
4037
|
+
"type": "function",
|
|
4038
|
+
"line": 43,
|
|
4039
|
+
"complexity": "high"
|
|
4040
|
+
},
|
|
4041
|
+
{
|
|
4042
|
+
"name": "parseDiff",
|
|
4043
|
+
"type": "function",
|
|
4044
|
+
"line": 85,
|
|
4045
|
+
"complexity": "high"
|
|
4046
|
+
},
|
|
4047
|
+
{
|
|
4048
|
+
"name": "extractEntityFromContext",
|
|
4049
|
+
"type": "function",
|
|
4050
|
+
"line": 167,
|
|
4051
|
+
"complexity": "medium"
|
|
4052
|
+
},
|
|
4053
|
+
{
|
|
4054
|
+
"name": "buildDescription",
|
|
4055
|
+
"type": "function",
|
|
4056
|
+
"line": 204,
|
|
4057
|
+
"complexity": "medium"
|
|
4058
|
+
},
|
|
4059
|
+
{
|
|
4060
|
+
"name": "ChangedEntity",
|
|
4061
|
+
"type": "interface",
|
|
4062
|
+
"line": 7,
|
|
4063
|
+
"complexity": "low"
|
|
4064
|
+
},
|
|
4065
|
+
{
|
|
4066
|
+
"name": "GitDiffOptions",
|
|
4067
|
+
"type": "interface",
|
|
4068
|
+
"line": 14,
|
|
4069
|
+
"complexity": "low"
|
|
4070
|
+
}
|
|
4071
|
+
],
|
|
4072
|
+
"imports": [
|
|
4073
|
+
{
|
|
4074
|
+
"source": "child_process",
|
|
4075
|
+
"names": [
|
|
4076
|
+
"execSync"
|
|
4077
|
+
],
|
|
4078
|
+
"isLocal": false
|
|
4079
|
+
},
|
|
4080
|
+
{
|
|
4081
|
+
"source": "../languages/registry",
|
|
4082
|
+
"names": [
|
|
4083
|
+
"getLanguageParser"
|
|
4084
|
+
],
|
|
4085
|
+
"isLocal": true
|
|
4086
|
+
},
|
|
4087
|
+
{
|
|
4088
|
+
"source": "path",
|
|
4089
|
+
"names": [
|
|
4090
|
+
"path"
|
|
4091
|
+
],
|
|
4092
|
+
"isLocal": false
|
|
4093
|
+
}
|
|
4094
|
+
],
|
|
4095
|
+
"exports": [
|
|
4096
|
+
"ChangedEntity",
|
|
4097
|
+
"GitDiffOptions",
|
|
4098
|
+
"getChangedEntities"
|
|
4099
|
+
]
|
|
4100
|
+
},
|
|
2997
4101
|
{
|
|
2998
4102
|
"filePath": "src/stages/graph.ts",
|
|
2999
4103
|
"lang": "js",
|
|
3000
|
-
"lines":
|
|
4104
|
+
"lines": 166,
|
|
3001
4105
|
"entities": [
|
|
3002
4106
|
{
|
|
3003
4107
|
"name": "buildGraph",
|
|
3004
4108
|
"type": "function",
|
|
3005
|
-
"line":
|
|
4109
|
+
"line": 11,
|
|
3006
4110
|
"complexity": "high"
|
|
3007
4111
|
},
|
|
3008
4112
|
{
|
|
3009
4113
|
"name": "makeId",
|
|
3010
4114
|
"type": "function",
|
|
3011
|
-
"line":
|
|
4115
|
+
"line": 124,
|
|
3012
4116
|
"complexity": "low"
|
|
3013
4117
|
},
|
|
3014
4118
|
{
|
|
3015
4119
|
"name": "resolvePath",
|
|
3016
4120
|
"type": "function",
|
|
3017
|
-
"line":
|
|
4121
|
+
"line": 139,
|
|
3018
4122
|
"complexity": "low"
|
|
3019
4123
|
}
|
|
3020
4124
|
],
|
|
@@ -3044,66 +4148,66 @@
|
|
|
3044
4148
|
{
|
|
3045
4149
|
"filePath": "src/stages/impact.ts",
|
|
3046
4150
|
"lang": "js",
|
|
3047
|
-
"lines":
|
|
4151
|
+
"lines": 276,
|
|
3048
4152
|
"entities": [
|
|
3049
4153
|
{
|
|
3050
4154
|
"name": "simulateImpact",
|
|
3051
4155
|
"type": "function",
|
|
3052
|
-
"line":
|
|
4156
|
+
"line": 14,
|
|
3053
4157
|
"complexity": "medium"
|
|
3054
4158
|
},
|
|
3055
4159
|
{
|
|
3056
4160
|
"name": "getDirectDependents",
|
|
3057
4161
|
"type": "function",
|
|
3058
|
-
"line":
|
|
4162
|
+
"line": 110,
|
|
3059
4163
|
"complexity": "low"
|
|
3060
4164
|
},
|
|
3061
4165
|
{
|
|
3062
4166
|
"name": "getImpactLevel",
|
|
3063
4167
|
"type": "function",
|
|
3064
|
-
"line":
|
|
4168
|
+
"line": 123,
|
|
3065
4169
|
"complexity": "low"
|
|
3066
4170
|
},
|
|
3067
4171
|
{
|
|
3068
4172
|
"name": "computeRiskScore",
|
|
3069
4173
|
"type": "function",
|
|
3070
|
-
"line":
|
|
4174
|
+
"line": 138,
|
|
3071
4175
|
"complexity": "low"
|
|
3072
4176
|
},
|
|
3073
4177
|
{
|
|
3074
4178
|
"name": "getRiskLevel",
|
|
3075
4179
|
"type": "function",
|
|
3076
|
-
"line":
|
|
4180
|
+
"line": 155,
|
|
3077
4181
|
"complexity": "low"
|
|
3078
4182
|
},
|
|
3079
4183
|
{
|
|
3080
4184
|
"name": "getReason",
|
|
3081
4185
|
"type": "function",
|
|
3082
|
-
"line":
|
|
4186
|
+
"line": 170,
|
|
3083
4187
|
"complexity": "low"
|
|
3084
4188
|
},
|
|
3085
4189
|
{
|
|
3086
4190
|
"name": "getChangeRequired",
|
|
3087
4191
|
"type": "function",
|
|
3088
|
-
"line":
|
|
4192
|
+
"line": 184,
|
|
3089
4193
|
"complexity": "medium"
|
|
3090
4194
|
},
|
|
3091
4195
|
{
|
|
3092
4196
|
"name": "buildTestingPlan",
|
|
3093
4197
|
"type": "function",
|
|
3094
|
-
"line":
|
|
4198
|
+
"line": 198,
|
|
3095
4199
|
"complexity": "low"
|
|
3096
4200
|
},
|
|
3097
4201
|
{
|
|
3098
4202
|
"name": "buildRecommendations",
|
|
3099
4203
|
"type": "function",
|
|
3100
|
-
"line":
|
|
4204
|
+
"line": 227,
|
|
3101
4205
|
"complexity": "medium"
|
|
3102
4206
|
},
|
|
3103
4207
|
{
|
|
3104
4208
|
"name": "emptyReport",
|
|
3105
4209
|
"type": "function",
|
|
3106
|
-
"line":
|
|
4210
|
+
"line": 261,
|
|
3107
4211
|
"complexity": "low"
|
|
3108
4212
|
}
|
|
3109
4213
|
],
|
|
@@ -3132,36 +4236,36 @@
|
|
|
3132
4236
|
{
|
|
3133
4237
|
"filePath": "src/stages/metrics.ts",
|
|
3134
4238
|
"lang": "js",
|
|
3135
|
-
"lines":
|
|
4239
|
+
"lines": 94,
|
|
3136
4240
|
"entities": [
|
|
3137
4241
|
{
|
|
3138
4242
|
"name": "computeMetrics",
|
|
3139
4243
|
"type": "function",
|
|
3140
|
-
"line":
|
|
4244
|
+
"line": 10,
|
|
3141
4245
|
"complexity": "medium"
|
|
3142
4246
|
},
|
|
3143
4247
|
{
|
|
3144
4248
|
"name": "getEntryPoints",
|
|
3145
4249
|
"type": "function",
|
|
3146
|
-
"line":
|
|
4250
|
+
"line": 43,
|
|
3147
4251
|
"complexity": "low"
|
|
3148
4252
|
},
|
|
3149
4253
|
{
|
|
3150
4254
|
"name": "getLeafNodes",
|
|
3151
4255
|
"type": "function",
|
|
3152
|
-
"line":
|
|
4256
|
+
"line": 58,
|
|
3153
4257
|
"complexity": "low"
|
|
3154
4258
|
},
|
|
3155
4259
|
{
|
|
3156
4260
|
"name": "getIsolatedNodes",
|
|
3157
4261
|
"type": "function",
|
|
3158
|
-
"line":
|
|
4262
|
+
"line": 73,
|
|
3159
4263
|
"complexity": "low"
|
|
3160
4264
|
},
|
|
3161
4265
|
{
|
|
3162
4266
|
"name": "getCriticalNodes",
|
|
3163
4267
|
"type": "function",
|
|
3164
|
-
"line":
|
|
4268
|
+
"line": 88,
|
|
3165
4269
|
"complexity": "low"
|
|
3166
4270
|
}
|
|
3167
4271
|
],
|
|
@@ -3186,12 +4290,12 @@
|
|
|
3186
4290
|
{
|
|
3187
4291
|
"filePath": "src/stages/output.ts",
|
|
3188
4292
|
"lang": "js",
|
|
3189
|
-
"lines":
|
|
4293
|
+
"lines": 88,
|
|
3190
4294
|
"entities": [
|
|
3191
4295
|
{
|
|
3192
4296
|
"name": "writeOutput",
|
|
3193
4297
|
"type": "function",
|
|
3194
|
-
"line":
|
|
4298
|
+
"line": 21,
|
|
3195
4299
|
"complexity": "low"
|
|
3196
4300
|
}
|
|
3197
4301
|
],
|
|
@@ -3238,18 +4342,18 @@
|
|
|
3238
4342
|
{
|
|
3239
4343
|
"filePath": "src/stages/parser.ts",
|
|
3240
4344
|
"lang": "js",
|
|
3241
|
-
"lines":
|
|
4345
|
+
"lines": 66,
|
|
3242
4346
|
"entities": [
|
|
3243
4347
|
{
|
|
3244
4348
|
"name": "parseFile",
|
|
3245
4349
|
"type": "function",
|
|
3246
|
-
"line":
|
|
4350
|
+
"line": 13,
|
|
3247
4351
|
"complexity": "low"
|
|
3248
4352
|
},
|
|
3249
4353
|
{
|
|
3250
4354
|
"name": "parseFiles",
|
|
3251
4355
|
"type": "function",
|
|
3252
|
-
"line":
|
|
4356
|
+
"line": 55,
|
|
3253
4357
|
"complexity": "low"
|
|
3254
4358
|
}
|
|
3255
4359
|
],
|
|
@@ -3293,60 +4397,60 @@
|
|
|
3293
4397
|
{
|
|
3294
4398
|
"filePath": "src/types.ts",
|
|
3295
4399
|
"lang": "js",
|
|
3296
|
-
"lines":
|
|
4400
|
+
"lines": 189,
|
|
3297
4401
|
"entities": [
|
|
3298
4402
|
{
|
|
3299
4403
|
"name": "RawEntity",
|
|
3300
4404
|
"type": "interface",
|
|
3301
|
-
"line":
|
|
4405
|
+
"line": 8,
|
|
3302
4406
|
"complexity": "low"
|
|
3303
4407
|
},
|
|
3304
4408
|
{
|
|
3305
4409
|
"name": "RawImport",
|
|
3306
4410
|
"type": "interface",
|
|
3307
|
-
"line":
|
|
4411
|
+
"line": 22,
|
|
3308
4412
|
"complexity": "low"
|
|
3309
4413
|
},
|
|
3310
4414
|
{
|
|
3311
4415
|
"name": "ParsedFile",
|
|
3312
4416
|
"type": "interface",
|
|
3313
|
-
"line":
|
|
4417
|
+
"line": 34,
|
|
3314
4418
|
"complexity": "low"
|
|
3315
4419
|
},
|
|
3316
4420
|
{
|
|
3317
4421
|
"name": "DepNode",
|
|
3318
4422
|
"type": "interface",
|
|
3319
|
-
"line":
|
|
4423
|
+
"line": 52,
|
|
3320
4424
|
"complexity": "low"
|
|
3321
4425
|
},
|
|
3322
4426
|
{
|
|
3323
4427
|
"name": "DepEdge",
|
|
3324
4428
|
"type": "interface",
|
|
3325
|
-
"line":
|
|
4429
|
+
"line": 86,
|
|
3326
4430
|
"complexity": "low"
|
|
3327
4431
|
},
|
|
3328
4432
|
{
|
|
3329
4433
|
"name": "DepGraph",
|
|
3330
4434
|
"type": "interface",
|
|
3331
|
-
"line":
|
|
4435
|
+
"line": 100,
|
|
3332
4436
|
"complexity": "low"
|
|
3333
4437
|
},
|
|
3334
4438
|
{
|
|
3335
4439
|
"name": "AffectedNode",
|
|
3336
4440
|
"type": "interface",
|
|
3337
|
-
"line":
|
|
4441
|
+
"line": 110,
|
|
3338
4442
|
"complexity": "low"
|
|
3339
4443
|
},
|
|
3340
4444
|
{
|
|
3341
4445
|
"name": "ImpactReport",
|
|
3342
4446
|
"type": "interface",
|
|
3343
|
-
"line":
|
|
4447
|
+
"line": 132,
|
|
3344
4448
|
"complexity": "low"
|
|
3345
4449
|
},
|
|
3346
4450
|
{
|
|
3347
4451
|
"name": "OutputJSON",
|
|
3348
4452
|
"type": "interface",
|
|
3349
|
-
"line":
|
|
4453
|
+
"line": 154,
|
|
3350
4454
|
"complexity": "low"
|
|
3351
4455
|
}
|
|
3352
4456
|
],
|
|
@@ -3363,5 +4467,298 @@
|
|
|
3363
4467
|
"OutputJSON"
|
|
3364
4468
|
]
|
|
3365
4469
|
}
|
|
3366
|
-
]
|
|
4470
|
+
],
|
|
4471
|
+
"impact": {
|
|
4472
|
+
"targetNode": "getChangedEntities__gitdiff",
|
|
4473
|
+
"changeDescription": "testing json flag",
|
|
4474
|
+
"riskScore": 100,
|
|
4475
|
+
"riskLevel": "CRITICAL",
|
|
4476
|
+
"affectedNodes": [
|
|
4477
|
+
{
|
|
4478
|
+
"nodeId": "GET__users__gitdiff_test",
|
|
4479
|
+
"name": "GET /users",
|
|
4480
|
+
"file": "src/__tests__/gitdiff.test.ts",
|
|
4481
|
+
"depth": 1,
|
|
4482
|
+
"impact": "critical",
|
|
4483
|
+
"reason": "GET /users directly imports getChangedEntities",
|
|
4484
|
+
"changeRequired": "Update GET /users to handle the new interface of getChangedEntities",
|
|
4485
|
+
"breakingChange": true
|
|
4486
|
+
},
|
|
4487
|
+
{
|
|
4488
|
+
"nodeId": "color__main",
|
|
4489
|
+
"name": "color",
|
|
4490
|
+
"file": "src/main.ts",
|
|
4491
|
+
"depth": 1,
|
|
4492
|
+
"impact": "critical",
|
|
4493
|
+
"reason": "color directly imports getChangedEntities",
|
|
4494
|
+
"changeRequired": "Update color to handle the new interface of getChangedEntities",
|
|
4495
|
+
"breakingChange": true
|
|
4496
|
+
},
|
|
4497
|
+
{
|
|
4498
|
+
"nodeId": "getFlag__main",
|
|
4499
|
+
"name": "getFlag",
|
|
4500
|
+
"file": "src/main.ts",
|
|
4501
|
+
"depth": 1,
|
|
4502
|
+
"impact": "critical",
|
|
4503
|
+
"reason": "getFlag directly imports getChangedEntities",
|
|
4504
|
+
"changeRequired": "Update getFlag to handle the new interface of getChangedEntities",
|
|
4505
|
+
"breakingChange": true
|
|
4506
|
+
},
|
|
4507
|
+
{
|
|
4508
|
+
"nodeId": "printHelp__main",
|
|
4509
|
+
"name": "printHelp",
|
|
4510
|
+
"file": "src/main.ts",
|
|
4511
|
+
"depth": 1,
|
|
4512
|
+
"impact": "critical",
|
|
4513
|
+
"reason": "printHelp directly imports getChangedEntities",
|
|
4514
|
+
"changeRequired": "Update printHelp to handle the new interface of getChangedEntities",
|
|
4515
|
+
"breakingChange": true
|
|
4516
|
+
},
|
|
4517
|
+
{
|
|
4518
|
+
"nodeId": "printBanner__main",
|
|
4519
|
+
"name": "printBanner",
|
|
4520
|
+
"file": "src/main.ts",
|
|
4521
|
+
"depth": 1,
|
|
4522
|
+
"impact": "critical",
|
|
4523
|
+
"reason": "printBanner directly imports getChangedEntities",
|
|
4524
|
+
"changeRequired": "Update printBanner to handle the new interface of getChangedEntities",
|
|
4525
|
+
"breakingChange": true
|
|
4526
|
+
},
|
|
4527
|
+
{
|
|
4528
|
+
"nodeId": "printSummary__main",
|
|
4529
|
+
"name": "printSummary",
|
|
4530
|
+
"file": "src/main.ts",
|
|
4531
|
+
"depth": 1,
|
|
4532
|
+
"impact": "critical",
|
|
4533
|
+
"reason": "printSummary directly imports getChangedEntities",
|
|
4534
|
+
"changeRequired": "Update printSummary to handle the new interface of getChangedEntities",
|
|
4535
|
+
"breakingChange": true
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
"nodeId": "printImpact__main",
|
|
4539
|
+
"name": "printImpact",
|
|
4540
|
+
"file": "src/main.ts",
|
|
4541
|
+
"depth": 1,
|
|
4542
|
+
"impact": "critical",
|
|
4543
|
+
"reason": "printImpact directly imports getChangedEntities",
|
|
4544
|
+
"changeRequired": "Update printImpact to handle the new interface of getChangedEntities",
|
|
4545
|
+
"breakingChange": true
|
|
4546
|
+
},
|
|
4547
|
+
{
|
|
4548
|
+
"nodeId": "dim__main",
|
|
4549
|
+
"name": "dim",
|
|
4550
|
+
"file": "src/main.ts",
|
|
4551
|
+
"depth": 1,
|
|
4552
|
+
"impact": "critical",
|
|
4553
|
+
"reason": "dim directly imports getChangedEntities",
|
|
4554
|
+
"changeRequired": "Update dim to handle the new interface of getChangedEntities",
|
|
4555
|
+
"breakingChange": true
|
|
4556
|
+
},
|
|
4557
|
+
{
|
|
4558
|
+
"nodeId": "bold__main",
|
|
4559
|
+
"name": "bold",
|
|
4560
|
+
"file": "src/main.ts",
|
|
4561
|
+
"depth": 1,
|
|
4562
|
+
"impact": "critical",
|
|
4563
|
+
"reason": "bold directly imports getChangedEntities",
|
|
4564
|
+
"changeRequired": "Update bold to handle the new interface of getChangedEntities",
|
|
4565
|
+
"breakingChange": true
|
|
4566
|
+
},
|
|
4567
|
+
{
|
|
4568
|
+
"nodeId": "green__main",
|
|
4569
|
+
"name": "green",
|
|
4570
|
+
"file": "src/main.ts",
|
|
4571
|
+
"depth": 1,
|
|
4572
|
+
"impact": "critical",
|
|
4573
|
+
"reason": "green directly imports getChangedEntities",
|
|
4574
|
+
"changeRequired": "Update green to handle the new interface of getChangedEntities",
|
|
4575
|
+
"breakingChange": true
|
|
4576
|
+
},
|
|
4577
|
+
{
|
|
4578
|
+
"nodeId": "yellow__main",
|
|
4579
|
+
"name": "yellow",
|
|
4580
|
+
"file": "src/main.ts",
|
|
4581
|
+
"depth": 1,
|
|
4582
|
+
"impact": "critical",
|
|
4583
|
+
"reason": "yellow directly imports getChangedEntities",
|
|
4584
|
+
"changeRequired": "Update yellow to handle the new interface of getChangedEntities",
|
|
4585
|
+
"breakingChange": true
|
|
4586
|
+
},
|
|
4587
|
+
{
|
|
4588
|
+
"nodeId": "red__main",
|
|
4589
|
+
"name": "red",
|
|
4590
|
+
"file": "src/main.ts",
|
|
4591
|
+
"depth": 1,
|
|
4592
|
+
"impact": "critical",
|
|
4593
|
+
"reason": "red directly imports getChangedEntities",
|
|
4594
|
+
"changeRequired": "Update red to handle the new interface of getChangedEntities",
|
|
4595
|
+
"breakingChange": true
|
|
4596
|
+
},
|
|
4597
|
+
{
|
|
4598
|
+
"nodeId": "cyan__main",
|
|
4599
|
+
"name": "cyan",
|
|
4600
|
+
"file": "src/main.ts",
|
|
4601
|
+
"depth": 1,
|
|
4602
|
+
"impact": "critical",
|
|
4603
|
+
"reason": "cyan directly imports getChangedEntities",
|
|
4604
|
+
"changeRequired": "Update cyan to handle the new interface of getChangedEntities",
|
|
4605
|
+
"breakingChange": true
|
|
4606
|
+
}
|
|
4607
|
+
],
|
|
4608
|
+
"breakingChanges": [
|
|
4609
|
+
{
|
|
4610
|
+
"nodeId": "GET__users__gitdiff_test",
|
|
4611
|
+
"name": "GET /users",
|
|
4612
|
+
"file": "src/__tests__/gitdiff.test.ts",
|
|
4613
|
+
"depth": 1,
|
|
4614
|
+
"impact": "critical",
|
|
4615
|
+
"reason": "GET /users directly imports getChangedEntities",
|
|
4616
|
+
"changeRequired": "Update GET /users to handle the new interface of getChangedEntities",
|
|
4617
|
+
"breakingChange": true
|
|
4618
|
+
},
|
|
4619
|
+
{
|
|
4620
|
+
"nodeId": "color__main",
|
|
4621
|
+
"name": "color",
|
|
4622
|
+
"file": "src/main.ts",
|
|
4623
|
+
"depth": 1,
|
|
4624
|
+
"impact": "critical",
|
|
4625
|
+
"reason": "color directly imports getChangedEntities",
|
|
4626
|
+
"changeRequired": "Update color to handle the new interface of getChangedEntities",
|
|
4627
|
+
"breakingChange": true
|
|
4628
|
+
},
|
|
4629
|
+
{
|
|
4630
|
+
"nodeId": "getFlag__main",
|
|
4631
|
+
"name": "getFlag",
|
|
4632
|
+
"file": "src/main.ts",
|
|
4633
|
+
"depth": 1,
|
|
4634
|
+
"impact": "critical",
|
|
4635
|
+
"reason": "getFlag directly imports getChangedEntities",
|
|
4636
|
+
"changeRequired": "Update getFlag to handle the new interface of getChangedEntities",
|
|
4637
|
+
"breakingChange": true
|
|
4638
|
+
},
|
|
4639
|
+
{
|
|
4640
|
+
"nodeId": "printHelp__main",
|
|
4641
|
+
"name": "printHelp",
|
|
4642
|
+
"file": "src/main.ts",
|
|
4643
|
+
"depth": 1,
|
|
4644
|
+
"impact": "critical",
|
|
4645
|
+
"reason": "printHelp directly imports getChangedEntities",
|
|
4646
|
+
"changeRequired": "Update printHelp to handle the new interface of getChangedEntities",
|
|
4647
|
+
"breakingChange": true
|
|
4648
|
+
},
|
|
4649
|
+
{
|
|
4650
|
+
"nodeId": "printBanner__main",
|
|
4651
|
+
"name": "printBanner",
|
|
4652
|
+
"file": "src/main.ts",
|
|
4653
|
+
"depth": 1,
|
|
4654
|
+
"impact": "critical",
|
|
4655
|
+
"reason": "printBanner directly imports getChangedEntities",
|
|
4656
|
+
"changeRequired": "Update printBanner to handle the new interface of getChangedEntities",
|
|
4657
|
+
"breakingChange": true
|
|
4658
|
+
},
|
|
4659
|
+
{
|
|
4660
|
+
"nodeId": "printSummary__main",
|
|
4661
|
+
"name": "printSummary",
|
|
4662
|
+
"file": "src/main.ts",
|
|
4663
|
+
"depth": 1,
|
|
4664
|
+
"impact": "critical",
|
|
4665
|
+
"reason": "printSummary directly imports getChangedEntities",
|
|
4666
|
+
"changeRequired": "Update printSummary to handle the new interface of getChangedEntities",
|
|
4667
|
+
"breakingChange": true
|
|
4668
|
+
},
|
|
4669
|
+
{
|
|
4670
|
+
"nodeId": "printImpact__main",
|
|
4671
|
+
"name": "printImpact",
|
|
4672
|
+
"file": "src/main.ts",
|
|
4673
|
+
"depth": 1,
|
|
4674
|
+
"impact": "critical",
|
|
4675
|
+
"reason": "printImpact directly imports getChangedEntities",
|
|
4676
|
+
"changeRequired": "Update printImpact to handle the new interface of getChangedEntities",
|
|
4677
|
+
"breakingChange": true
|
|
4678
|
+
},
|
|
4679
|
+
{
|
|
4680
|
+
"nodeId": "dim__main",
|
|
4681
|
+
"name": "dim",
|
|
4682
|
+
"file": "src/main.ts",
|
|
4683
|
+
"depth": 1,
|
|
4684
|
+
"impact": "critical",
|
|
4685
|
+
"reason": "dim directly imports getChangedEntities",
|
|
4686
|
+
"changeRequired": "Update dim to handle the new interface of getChangedEntities",
|
|
4687
|
+
"breakingChange": true
|
|
4688
|
+
},
|
|
4689
|
+
{
|
|
4690
|
+
"nodeId": "bold__main",
|
|
4691
|
+
"name": "bold",
|
|
4692
|
+
"file": "src/main.ts",
|
|
4693
|
+
"depth": 1,
|
|
4694
|
+
"impact": "critical",
|
|
4695
|
+
"reason": "bold directly imports getChangedEntities",
|
|
4696
|
+
"changeRequired": "Update bold to handle the new interface of getChangedEntities",
|
|
4697
|
+
"breakingChange": true
|
|
4698
|
+
},
|
|
4699
|
+
{
|
|
4700
|
+
"nodeId": "green__main",
|
|
4701
|
+
"name": "green",
|
|
4702
|
+
"file": "src/main.ts",
|
|
4703
|
+
"depth": 1,
|
|
4704
|
+
"impact": "critical",
|
|
4705
|
+
"reason": "green directly imports getChangedEntities",
|
|
4706
|
+
"changeRequired": "Update green to handle the new interface of getChangedEntities",
|
|
4707
|
+
"breakingChange": true
|
|
4708
|
+
},
|
|
4709
|
+
{
|
|
4710
|
+
"nodeId": "yellow__main",
|
|
4711
|
+
"name": "yellow",
|
|
4712
|
+
"file": "src/main.ts",
|
|
4713
|
+
"depth": 1,
|
|
4714
|
+
"impact": "critical",
|
|
4715
|
+
"reason": "yellow directly imports getChangedEntities",
|
|
4716
|
+
"changeRequired": "Update yellow to handle the new interface of getChangedEntities",
|
|
4717
|
+
"breakingChange": true
|
|
4718
|
+
},
|
|
4719
|
+
{
|
|
4720
|
+
"nodeId": "red__main",
|
|
4721
|
+
"name": "red",
|
|
4722
|
+
"file": "src/main.ts",
|
|
4723
|
+
"depth": 1,
|
|
4724
|
+
"impact": "critical",
|
|
4725
|
+
"reason": "red directly imports getChangedEntities",
|
|
4726
|
+
"changeRequired": "Update red to handle the new interface of getChangedEntities",
|
|
4727
|
+
"breakingChange": true
|
|
4728
|
+
},
|
|
4729
|
+
{
|
|
4730
|
+
"nodeId": "cyan__main",
|
|
4731
|
+
"name": "cyan",
|
|
4732
|
+
"file": "src/main.ts",
|
|
4733
|
+
"depth": 1,
|
|
4734
|
+
"impact": "critical",
|
|
4735
|
+
"reason": "cyan directly imports getChangedEntities",
|
|
4736
|
+
"changeRequired": "Update cyan to handle the new interface of getChangedEntities",
|
|
4737
|
+
"breakingChange": true
|
|
4738
|
+
}
|
|
4739
|
+
],
|
|
4740
|
+
"testingPlan": [
|
|
4741
|
+
"Test getChangedEntities directly after making changes",
|
|
4742
|
+
"Regression test GET /users — direct dependent",
|
|
4743
|
+
"Regression test color — direct dependent",
|
|
4744
|
+
"Regression test getFlag — direct dependent",
|
|
4745
|
+
"Regression test printHelp — direct dependent",
|
|
4746
|
+
"Regression test printBanner — direct dependent",
|
|
4747
|
+
"Regression test printSummary — direct dependent",
|
|
4748
|
+
"Regression test printImpact — direct dependent",
|
|
4749
|
+
"Regression test dim — direct dependent",
|
|
4750
|
+
"Regression test bold — direct dependent",
|
|
4751
|
+
"Regression test green — direct dependent",
|
|
4752
|
+
"Regression test yellow — direct dependent",
|
|
4753
|
+
"Regression test red — direct dependent",
|
|
4754
|
+
"Regression test cyan — direct dependent",
|
|
4755
|
+
"Run full test suite — 13 nodes affected"
|
|
4756
|
+
],
|
|
4757
|
+
"recommendations": [
|
|
4758
|
+
"Full team review required before merging",
|
|
4759
|
+
"Consider a phased rollout",
|
|
4760
|
+
"Run full regression test suite",
|
|
4761
|
+
"13 breaking change(s) must be updated before deploying"
|
|
4762
|
+
]
|
|
4763
|
+
}
|
|
3367
4764
|
}
|