codarch 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1047 @@
1
+ {
2
+ "schemaVersion": "1.0",
3
+ "base": {
4
+ "projectName": "codarch",
5
+ "checksum": "5ed11ddf4da5cbf59bae9bfbe4c5ccd4",
6
+ "files": 104,
7
+ "folders": 44,
8
+ "edges": 147
9
+ },
10
+ "head": {
11
+ "projectName": "codarch",
12
+ "checksum": "895ca5fb205b92a336b47d9d9d3cef29",
13
+ "files": 112,
14
+ "folders": 46,
15
+ "edges": 170
16
+ },
17
+ "summary": {
18
+ "addedFiles": 8,
19
+ "removedFiles": 0,
20
+ "changedFiles": 17,
21
+ "addedEdges": 24,
22
+ "removedEdges": 1,
23
+ "cyclicEdgesAdded": 0,
24
+ "cyclicEdgesRemoved": 0,
25
+ "introducedCycles": 0,
26
+ "fixedCycles": 0,
27
+ "hotspots": 5
28
+ },
29
+ "hotspotMetric": "maxComplexity",
30
+ "rules": {
31
+ "configured": true,
32
+ "summary": {
33
+ "layers": 2,
34
+ "rules": 3,
35
+ "introduced": 0,
36
+ "existing": 5,
37
+ "resolved": 0,
38
+ "introducedErrors": 0,
39
+ "introducedWarnings": 0
40
+ },
41
+ "violations": {
42
+ "introduced": [],
43
+ "existing": [
44
+ {
45
+ "key": "cycles:sin-ciclos:394fa23e86d5af73|83cc88bd35c82f9f",
46
+ "rule": "sin-ciclos",
47
+ "type": "cycles",
48
+ "severity": "error",
49
+ "message": "Ciclo de 2 ficheros: packages/parsers/test/fixtures/repo/src/cycle/a.ts → packages/parsers/test/fixtures/repo/src/cycle/b.ts",
50
+ "files": [
51
+ "packages/parsers/test/fixtures/repo/src/cycle/a.ts",
52
+ "packages/parsers/test/fixtures/repo/src/cycle/b.ts"
53
+ ],
54
+ "cycle": {
55
+ "size": 2,
56
+ "nodes": [
57
+ {
58
+ "id": "83cc88bd35c82f9f",
59
+ "path": "packages/parsers/test/fixtures/repo/src/cycle/a.ts"
60
+ },
61
+ {
62
+ "id": "394fa23e86d5af73",
63
+ "path": "packages/parsers/test/fixtures/repo/src/cycle/b.ts"
64
+ }
65
+ ]
66
+ }
67
+ },
68
+ {
69
+ "key": "cycles:sin-ciclos:8069eeca8bd3d6fd",
70
+ "rule": "sin-ciclos",
71
+ "type": "cycles",
72
+ "severity": "error",
73
+ "message": "Ciclo de 1 ficheros: packages/parsers/test/fixtures/repo/src/index.ts",
74
+ "files": [
75
+ "packages/parsers/test/fixtures/repo/src/index.ts"
76
+ ],
77
+ "cycle": {
78
+ "size": 1,
79
+ "nodes": [
80
+ {
81
+ "id": "8069eeca8bd3d6fd",
82
+ "path": "packages/parsers/test/fixtures/repo/src/index.ts"
83
+ }
84
+ ]
85
+ }
86
+ },
87
+ {
88
+ "key": "threshold:complejidad-maxima:7ebe33ce7d290ed6",
89
+ "rule": "complejidad-maxima",
90
+ "type": "threshold",
91
+ "severity": "warn",
92
+ "message": "apps/cli/src/commands/diff.ts: maxComplexity = 42 (máximo 40)",
93
+ "files": [
94
+ "apps/cli/src/commands/diff.ts"
95
+ ],
96
+ "metric": {
97
+ "name": "maxComplexity",
98
+ "value": 42,
99
+ "max": 40
100
+ }
101
+ },
102
+ {
103
+ "key": "threshold:complejidad-maxima:84877654a59491cb",
104
+ "rule": "complejidad-maxima",
105
+ "type": "threshold",
106
+ "severity": "warn",
107
+ "message": "packages/render/src/model.ts: maxComplexity = 51 (máximo 40)",
108
+ "files": [
109
+ "packages/render/src/model.ts"
110
+ ],
111
+ "metric": {
112
+ "name": "maxComplexity",
113
+ "value": 51,
114
+ "max": 40
115
+ }
116
+ },
117
+ {
118
+ "key": "threshold:complejidad-maxima:e8e35f3b6ef889d9",
119
+ "rule": "complejidad-maxima",
120
+ "type": "threshold",
121
+ "severity": "warn",
122
+ "message": "packages/parsers/src/migration.ts: maxComplexity = 41 (máximo 40)",
123
+ "files": [
124
+ "packages/parsers/src/migration.ts"
125
+ ],
126
+ "metric": {
127
+ "name": "maxComplexity",
128
+ "value": 41,
129
+ "max": 40
130
+ }
131
+ }
132
+ ],
133
+ "resolved": []
134
+ }
135
+ },
136
+ "files": {
137
+ "added": [
138
+ {
139
+ "id": "08d179696a04919f",
140
+ "path": "apps/web/src/App.tsx",
141
+ "metrics": {
142
+ "builtinImports": 0,
143
+ "cycleSize": 0,
144
+ "dependencyLevel": 1,
145
+ "externalImports": 1,
146
+ "fanIn": 1,
147
+ "fanOut": 4,
148
+ "ffiCrossings": 0,
149
+ "functions": 80,
150
+ "imports": 5,
151
+ "inCycle": 0,
152
+ "loc": 1032,
153
+ "maxComplexity": 33,
154
+ "maxFunctionLength": 422,
155
+ "migrationDebt": 68,
156
+ "number_of_authors": 1,
157
+ "number_of_commits": 1,
158
+ "rloc": 965,
159
+ "typeOnlyImports": 1,
160
+ "unresolvedImports": 0
161
+ }
162
+ },
163
+ {
164
+ "id": "40c0a2f73716c0c0",
165
+ "path": "apps/web/src/PrPanel.tsx",
166
+ "metrics": {
167
+ "builtinImports": 0,
168
+ "cycleSize": 0,
169
+ "dependencyLevel": 2,
170
+ "externalImports": 0,
171
+ "fanIn": 1,
172
+ "fanOut": 2,
173
+ "ffiCrossings": 0,
174
+ "functions": 15,
175
+ "imports": 2,
176
+ "inCycle": 0,
177
+ "loc": 228,
178
+ "maxComplexity": 15,
179
+ "maxFunctionLength": 176,
180
+ "migrationDebt": 32,
181
+ "number_of_authors": 0,
182
+ "number_of_commits": 0,
183
+ "rloc": 216,
184
+ "typeOnlyImports": 1,
185
+ "unresolvedImports": 0
186
+ }
187
+ },
188
+ {
189
+ "id": "12edc8da54f99c54",
190
+ "path": "apps/web/src/main.tsx",
191
+ "metrics": {
192
+ "builtinImports": 0,
193
+ "cycleSize": 0,
194
+ "dependencyLevel": 0,
195
+ "externalImports": 2,
196
+ "fanIn": 0,
197
+ "fanOut": 1,
198
+ "ffiCrossings": 0,
199
+ "functions": 0,
200
+ "imports": 4,
201
+ "inCycle": 0,
202
+ "loc": 13,
203
+ "maxComplexity": 0,
204
+ "maxFunctionLength": 0,
205
+ "migrationDebt": 1,
206
+ "number_of_authors": 1,
207
+ "number_of_commits": 1,
208
+ "rloc": 11,
209
+ "typeOnlyImports": 0,
210
+ "unresolvedImports": 0
211
+ }
212
+ },
213
+ {
214
+ "id": "32e005163718cb30",
215
+ "path": "apps/web/vite.config.ts",
216
+ "metrics": {
217
+ "builtinImports": 2,
218
+ "cycleSize": 0,
219
+ "dependencyLevel": 0,
220
+ "externalImports": 2,
221
+ "fanIn": 0,
222
+ "fanOut": 0,
223
+ "ffiCrossings": 0,
224
+ "functions": 1,
225
+ "imports": 4,
226
+ "inCycle": 0,
227
+ "loc": 49,
228
+ "maxComplexity": 1,
229
+ "maxFunctionLength": 1,
230
+ "migrationDebt": 2,
231
+ "number_of_authors": 1,
232
+ "number_of_commits": 1,
233
+ "rloc": 47,
234
+ "typeOnlyImports": 0,
235
+ "unresolvedImports": 0
236
+ }
237
+ },
238
+ {
239
+ "id": "7bcf3b43a704a8a7",
240
+ "path": "packages/metrics/src/browser.ts",
241
+ "metrics": {
242
+ "builtinImports": 0,
243
+ "cycleSize": 0,
244
+ "dependencyLevel": 7,
245
+ "externalImports": 0,
246
+ "fanIn": 3,
247
+ "fanOut": 3,
248
+ "ffiCrossings": 0,
249
+ "functions": 0,
250
+ "imports": 4,
251
+ "inCycle": 0,
252
+ "loc": 21,
253
+ "maxComplexity": 0,
254
+ "maxFunctionLength": 0,
255
+ "migrationDebt": 4,
256
+ "number_of_authors": 1,
257
+ "number_of_commits": 1,
258
+ "rloc": 21,
259
+ "typeOnlyImports": 3,
260
+ "unresolvedImports": 0
261
+ }
262
+ },
263
+ {
264
+ "id": "be4a6311b99090e4",
265
+ "path": "packages/render/src/browser.ts",
266
+ "metrics": {
267
+ "builtinImports": 0,
268
+ "cycleSize": 0,
269
+ "dependencyLevel": 3,
270
+ "externalImports": 0,
271
+ "fanIn": 2,
272
+ "fanOut": 4,
273
+ "ffiCrossings": 0,
274
+ "functions": 0,
275
+ "imports": 6,
276
+ "inCycle": 0,
277
+ "loc": 24,
278
+ "maxComplexity": 0,
279
+ "maxFunctionLength": 0,
280
+ "migrationDebt": 3,
281
+ "number_of_authors": 1,
282
+ "number_of_commits": 1,
283
+ "rloc": 24,
284
+ "typeOnlyImports": 2,
285
+ "unresolvedImports": 0
286
+ }
287
+ },
288
+ {
289
+ "id": "b435e03a2f26b0ad",
290
+ "path": "packages/schema/src/browser.ts",
291
+ "metrics": {
292
+ "builtinImports": 0,
293
+ "cycleSize": 0,
294
+ "dependencyLevel": 7,
295
+ "externalImports": 0,
296
+ "fanIn": 2,
297
+ "fanOut": 5,
298
+ "ffiCrossings": 0,
299
+ "functions": 0,
300
+ "imports": 6,
301
+ "inCycle": 0,
302
+ "loc": 26,
303
+ "maxComplexity": 0,
304
+ "maxFunctionLength": 0,
305
+ "migrationDebt": 3,
306
+ "number_of_authors": 1,
307
+ "number_of_commits": 1,
308
+ "rloc": 25,
309
+ "typeOnlyImports": 2,
310
+ "unresolvedImports": 0
311
+ }
312
+ },
313
+ {
314
+ "id": "d4e9ed661bdf3145",
315
+ "path": "packages/schema/src/parse2.ts",
316
+ "metrics": {
317
+ "builtinImports": 0,
318
+ "cycleSize": 0,
319
+ "dependencyLevel": 11,
320
+ "externalImports": 0,
321
+ "fanIn": 2,
322
+ "fanOut": 2,
323
+ "ffiCrossings": 0,
324
+ "functions": 5,
325
+ "imports": 2,
326
+ "inCycle": 0,
327
+ "loc": 105,
328
+ "maxComplexity": 16,
329
+ "maxFunctionLength": 94,
330
+ "migrationDebt": 51,
331
+ "number_of_authors": 1,
332
+ "number_of_commits": 1,
333
+ "rloc": 83,
334
+ "typeOnlyImports": 1,
335
+ "unresolvedImports": 0
336
+ }
337
+ }
338
+ ],
339
+ "removed": [],
340
+ "changed": [
341
+ {
342
+ "id": "5d009899bcb23f5d",
343
+ "path": "packages/metrics/src/diff.ts",
344
+ "changes": [
345
+ {
346
+ "metric": "fanIn",
347
+ "base": 1,
348
+ "head": 2,
349
+ "delta": 1
350
+ },
351
+ {
352
+ "metric": "migrationDebt",
353
+ "base": 46,
354
+ "head": 69,
355
+ "delta": 23
356
+ }
357
+ ]
358
+ },
359
+ {
360
+ "id": "ce4e478b41d30b8b",
361
+ "path": "packages/metrics/src/index.ts",
362
+ "changes": [
363
+ {
364
+ "metric": "dependencyLevel",
365
+ "base": 7,
366
+ "head": 4,
367
+ "delta": -3
368
+ },
369
+ {
370
+ "metric": "fanIn",
371
+ "base": 9,
372
+ "head": 8,
373
+ "delta": -1
374
+ },
375
+ {
376
+ "metric": "migrationDebt",
377
+ "base": 10,
378
+ "head": 9,
379
+ "delta": -1
380
+ }
381
+ ]
382
+ },
383
+ {
384
+ "id": "cbf3c68ca387a814",
385
+ "path": "packages/metrics/src/risk.ts",
386
+ "changes": [
387
+ {
388
+ "metric": "fanIn",
389
+ "base": 1,
390
+ "head": 2,
391
+ "delta": 1
392
+ },
393
+ {
394
+ "metric": "migrationDebt",
395
+ "base": 12,
396
+ "head": 18,
397
+ "delta": 6
398
+ }
399
+ ]
400
+ },
401
+ {
402
+ "id": "af054fa2218bd0d2",
403
+ "path": "packages/metrics/src/rules.ts",
404
+ "changes": [
405
+ {
406
+ "metric": "fanIn",
407
+ "base": 2,
408
+ "head": 3,
409
+ "delta": 1
410
+ },
411
+ {
412
+ "metric": "migrationDebt",
413
+ "base": 42,
414
+ "head": 56,
415
+ "delta": 14
416
+ }
417
+ ]
418
+ },
419
+ {
420
+ "id": "95bc40c24f74b056",
421
+ "path": "packages/parsers/src/analyze.ts",
422
+ "changes": [
423
+ {
424
+ "metric": "loc",
425
+ "base": 331,
426
+ "head": 332,
427
+ "delta": 1
428
+ },
429
+ {
430
+ "metric": "maxComplexity",
431
+ "base": 33,
432
+ "head": 34,
433
+ "delta": 1
434
+ },
435
+ {
436
+ "metric": "maxFunctionLength",
437
+ "base": 240,
438
+ "head": 241,
439
+ "delta": 1
440
+ },
441
+ {
442
+ "metric": "migrationDebt",
443
+ "base": 68,
444
+ "head": 70,
445
+ "delta": 2
446
+ },
447
+ {
448
+ "metric": "number_of_commits",
449
+ "base": 3,
450
+ "head": 4,
451
+ "delta": 1
452
+ },
453
+ {
454
+ "metric": "rloc",
455
+ "base": 298,
456
+ "head": 299,
457
+ "delta": 1
458
+ }
459
+ ]
460
+ },
461
+ {
462
+ "id": "6e5233d4751aa079",
463
+ "path": "packages/parsers/src/index.ts",
464
+ "changes": [
465
+ {
466
+ "metric": "number_of_commits",
467
+ "base": 6,
468
+ "head": 7,
469
+ "delta": 1
470
+ }
471
+ ]
472
+ },
473
+ {
474
+ "id": "2a66e41c4dfda2d5",
475
+ "path": "packages/parsers/src/resolve.ts",
476
+ "changes": [
477
+ {
478
+ "metric": "functions",
479
+ "base": 41,
480
+ "head": 43,
481
+ "delta": 2
482
+ },
483
+ {
484
+ "metric": "loc",
485
+ "base": 627,
486
+ "head": 658,
487
+ "delta": 31
488
+ },
489
+ {
490
+ "metric": "number_of_commits",
491
+ "base": 2,
492
+ "head": 3,
493
+ "delta": 1
494
+ },
495
+ {
496
+ "metric": "rloc",
497
+ "base": 541,
498
+ "head": 569,
499
+ "delta": 28
500
+ }
501
+ ]
502
+ },
503
+ {
504
+ "id": "b73758a489459b7c",
505
+ "path": "packages/parsers/test/resolve.test.ts",
506
+ "changes": [
507
+ {
508
+ "metric": "functions",
509
+ "base": 15,
510
+ "head": 17,
511
+ "delta": 2
512
+ },
513
+ {
514
+ "metric": "loc",
515
+ "base": 137,
516
+ "head": 149,
517
+ "delta": 12
518
+ },
519
+ {
520
+ "metric": "number_of_commits",
521
+ "base": 2,
522
+ "head": 3,
523
+ "delta": 1
524
+ },
525
+ {
526
+ "metric": "rloc",
527
+ "base": 121,
528
+ "head": 132,
529
+ "delta": 11
530
+ }
531
+ ]
532
+ },
533
+ {
534
+ "id": "802739c7a55e1902",
535
+ "path": "packages/render/src/color.ts",
536
+ "changes": [
537
+ {
538
+ "metric": "fanIn",
539
+ "base": 3,
540
+ "head": 4,
541
+ "delta": 1
542
+ },
543
+ {
544
+ "metric": "migrationDebt",
545
+ "base": 24,
546
+ "head": 30,
547
+ "delta": 6
548
+ }
549
+ ]
550
+ },
551
+ {
552
+ "id": "b877860362505819",
553
+ "path": "packages/render/src/layout.ts",
554
+ "changes": [
555
+ {
556
+ "metric": "fanIn",
557
+ "base": 2,
558
+ "head": 3,
559
+ "delta": 1
560
+ },
561
+ {
562
+ "metric": "loc",
563
+ "base": 81,
564
+ "head": 85,
565
+ "delta": 4
566
+ },
567
+ {
568
+ "metric": "migrationDebt",
569
+ "base": 33,
570
+ "head": 44,
571
+ "delta": 11
572
+ },
573
+ {
574
+ "metric": "number_of_commits",
575
+ "base": 1,
576
+ "head": 2,
577
+ "delta": 1
578
+ },
579
+ {
580
+ "metric": "rloc",
581
+ "base": 62,
582
+ "head": 66,
583
+ "delta": 4
584
+ }
585
+ ]
586
+ },
587
+ {
588
+ "id": "84877654a59491cb",
589
+ "path": "packages/render/src/model.ts",
590
+ "changes": [
591
+ {
592
+ "metric": "fanIn",
593
+ "base": 5,
594
+ "head": 6,
595
+ "delta": 1
596
+ },
597
+ {
598
+ "metric": "fanOut",
599
+ "base": 2,
600
+ "head": 3,
601
+ "delta": 1
602
+ },
603
+ {
604
+ "metric": "migrationDebt",
605
+ "base": 312,
606
+ "head": 364,
607
+ "delta": 52
608
+ },
609
+ {
610
+ "metric": "number_of_commits",
611
+ "base": 3,
612
+ "head": 4,
613
+ "delta": 1
614
+ }
615
+ ]
616
+ },
617
+ {
618
+ "id": "34a960fe7e283135",
619
+ "path": "packages/render/src/svg.ts",
620
+ "changes": [
621
+ {
622
+ "metric": "fanIn",
623
+ "base": 2,
624
+ "head": 3,
625
+ "delta": 1
626
+ },
627
+ {
628
+ "metric": "migrationDebt",
629
+ "base": 39,
630
+ "head": 52,
631
+ "delta": 13
632
+ }
633
+ ]
634
+ },
635
+ {
636
+ "id": "bb449db437d5d115",
637
+ "path": "packages/schema/src/errors.ts",
638
+ "changes": [
639
+ {
640
+ "metric": "fanIn",
641
+ "base": 2,
642
+ "head": 4,
643
+ "delta": 2
644
+ },
645
+ {
646
+ "metric": "migrationDebt",
647
+ "base": 12,
648
+ "head": 20,
649
+ "delta": 8
650
+ }
651
+ ]
652
+ },
653
+ {
654
+ "id": "3f9b35ccf62c2de0",
655
+ "path": "packages/schema/src/parse.ts",
656
+ "changes": [
657
+ {
658
+ "metric": "fanOut",
659
+ "base": 3,
660
+ "head": 4,
661
+ "delta": 1
662
+ },
663
+ {
664
+ "metric": "functions",
665
+ "base": 5,
666
+ "head": 1,
667
+ "delta": -4
668
+ },
669
+ {
670
+ "metric": "loc",
671
+ "base": 112,
672
+ "head": 18,
673
+ "delta": -94
674
+ },
675
+ {
676
+ "metric": "maxComplexity",
677
+ "base": 17,
678
+ "head": 2,
679
+ "delta": -15
680
+ },
681
+ {
682
+ "metric": "maxFunctionLength",
683
+ "base": 96,
684
+ "head": 4,
685
+ "delta": -92
686
+ },
687
+ {
688
+ "metric": "migrationDebt",
689
+ "base": 36,
690
+ "head": 6,
691
+ "delta": -30
692
+ },
693
+ {
694
+ "metric": "number_of_commits",
695
+ "base": 2,
696
+ "head": 3,
697
+ "delta": 1
698
+ },
699
+ {
700
+ "metric": "rloc",
701
+ "base": 86,
702
+ "head": 8,
703
+ "delta": -78
704
+ }
705
+ ]
706
+ },
707
+ {
708
+ "id": "b05e86b9630171dd",
709
+ "path": "packages/schema/src/stats.ts",
710
+ "changes": [
711
+ {
712
+ "metric": "fanIn",
713
+ "base": 1,
714
+ "head": 2,
715
+ "delta": 1
716
+ },
717
+ {
718
+ "metric": "migrationDebt",
719
+ "base": 22,
720
+ "head": 33,
721
+ "delta": 11
722
+ }
723
+ ]
724
+ },
725
+ {
726
+ "id": "e14cbb6f10fb3e07",
727
+ "path": "packages/schema/src/tree.ts",
728
+ "changes": [
729
+ {
730
+ "metric": "fanIn",
731
+ "base": 2,
732
+ "head": 3,
733
+ "delta": 1
734
+ },
735
+ {
736
+ "metric": "migrationDebt",
737
+ "base": 18,
738
+ "head": 24,
739
+ "delta": 6
740
+ }
741
+ ]
742
+ },
743
+ {
744
+ "id": "6a607a4c97052747",
745
+ "path": "packages/schema/src/types.ts",
746
+ "changes": [
747
+ {
748
+ "metric": "fanIn",
749
+ "base": 6,
750
+ "head": 8,
751
+ "delta": 2
752
+ },
753
+ {
754
+ "metric": "migrationDebt",
755
+ "base": 7,
756
+ "head": 9,
757
+ "delta": 2
758
+ }
759
+ ]
760
+ }
761
+ ]
762
+ },
763
+ "edges": {
764
+ "added": [
765
+ {
766
+ "fromId": "08d179696a04919f",
767
+ "toId": "40c0a2f73716c0c0",
768
+ "from": "apps/web/src/App.tsx",
769
+ "to": "apps/web/src/PrPanel.tsx",
770
+ "weight": 1,
771
+ "typeOnly": 0,
772
+ "isCyclic": false
773
+ },
774
+ {
775
+ "fromId": "08d179696a04919f",
776
+ "toId": "7bcf3b43a704a8a7",
777
+ "from": "apps/web/src/App.tsx",
778
+ "to": "packages/metrics/src/browser.ts",
779
+ "weight": 1,
780
+ "typeOnly": 1,
781
+ "isCyclic": false
782
+ },
783
+ {
784
+ "fromId": "08d179696a04919f",
785
+ "toId": "be4a6311b99090e4",
786
+ "from": "apps/web/src/App.tsx",
787
+ "to": "packages/render/src/browser.ts",
788
+ "weight": 1,
789
+ "typeOnly": 0,
790
+ "isCyclic": false
791
+ },
792
+ {
793
+ "fromId": "08d179696a04919f",
794
+ "toId": "b435e03a2f26b0ad",
795
+ "from": "apps/web/src/App.tsx",
796
+ "to": "packages/schema/src/browser.ts",
797
+ "weight": 1,
798
+ "typeOnly": 0,
799
+ "isCyclic": false
800
+ },
801
+ {
802
+ "fromId": "40c0a2f73716c0c0",
803
+ "toId": "7bcf3b43a704a8a7",
804
+ "from": "apps/web/src/PrPanel.tsx",
805
+ "to": "packages/metrics/src/browser.ts",
806
+ "weight": 1,
807
+ "typeOnly": 1,
808
+ "isCyclic": false
809
+ },
810
+ {
811
+ "fromId": "40c0a2f73716c0c0",
812
+ "toId": "be4a6311b99090e4",
813
+ "from": "apps/web/src/PrPanel.tsx",
814
+ "to": "packages/render/src/browser.ts",
815
+ "weight": 1,
816
+ "typeOnly": 0,
817
+ "isCyclic": false
818
+ },
819
+ {
820
+ "fromId": "12edc8da54f99c54",
821
+ "toId": "08d179696a04919f",
822
+ "from": "apps/web/src/main.tsx",
823
+ "to": "apps/web/src/App.tsx",
824
+ "weight": 1,
825
+ "typeOnly": 0,
826
+ "isCyclic": false
827
+ },
828
+ {
829
+ "fromId": "7bcf3b43a704a8a7",
830
+ "toId": "5d009899bcb23f5d",
831
+ "from": "packages/metrics/src/browser.ts",
832
+ "to": "packages/metrics/src/diff.ts",
833
+ "weight": 1,
834
+ "typeOnly": 1,
835
+ "isCyclic": false
836
+ },
837
+ {
838
+ "fromId": "7bcf3b43a704a8a7",
839
+ "toId": "cbf3c68ca387a814",
840
+ "from": "packages/metrics/src/browser.ts",
841
+ "to": "packages/metrics/src/risk.ts",
842
+ "weight": 2,
843
+ "typeOnly": 1,
844
+ "isCyclic": false
845
+ },
846
+ {
847
+ "fromId": "7bcf3b43a704a8a7",
848
+ "toId": "af054fa2218bd0d2",
849
+ "from": "packages/metrics/src/browser.ts",
850
+ "to": "packages/metrics/src/rules.ts",
851
+ "weight": 1,
852
+ "typeOnly": 1,
853
+ "isCyclic": false
854
+ },
855
+ {
856
+ "fromId": "be4a6311b99090e4",
857
+ "toId": "802739c7a55e1902",
858
+ "from": "packages/render/src/browser.ts",
859
+ "to": "packages/render/src/color.ts",
860
+ "weight": 1,
861
+ "typeOnly": 0,
862
+ "isCyclic": false
863
+ },
864
+ {
865
+ "fromId": "be4a6311b99090e4",
866
+ "toId": "b877860362505819",
867
+ "from": "packages/render/src/browser.ts",
868
+ "to": "packages/render/src/layout.ts",
869
+ "weight": 2,
870
+ "typeOnly": 1,
871
+ "isCyclic": false
872
+ },
873
+ {
874
+ "fromId": "be4a6311b99090e4",
875
+ "toId": "84877654a59491cb",
876
+ "from": "packages/render/src/browser.ts",
877
+ "to": "packages/render/src/model.ts",
878
+ "weight": 2,
879
+ "typeOnly": 1,
880
+ "isCyclic": false
881
+ },
882
+ {
883
+ "fromId": "be4a6311b99090e4",
884
+ "toId": "34a960fe7e283135",
885
+ "from": "packages/render/src/browser.ts",
886
+ "to": "packages/render/src/svg.ts",
887
+ "weight": 1,
888
+ "typeOnly": 0,
889
+ "isCyclic": false
890
+ },
891
+ {
892
+ "fromId": "84877654a59491cb",
893
+ "toId": "7bcf3b43a704a8a7",
894
+ "from": "packages/render/src/model.ts",
895
+ "to": "packages/metrics/src/browser.ts",
896
+ "weight": 1,
897
+ "typeOnly": 0,
898
+ "isCyclic": false
899
+ },
900
+ {
901
+ "fromId": "84877654a59491cb",
902
+ "toId": "b435e03a2f26b0ad",
903
+ "from": "packages/render/src/model.ts",
904
+ "to": "packages/schema/src/browser.ts",
905
+ "weight": 1,
906
+ "typeOnly": 0,
907
+ "isCyclic": false
908
+ },
909
+ {
910
+ "fromId": "b435e03a2f26b0ad",
911
+ "toId": "bb449db437d5d115",
912
+ "from": "packages/schema/src/browser.ts",
913
+ "to": "packages/schema/src/errors.ts",
914
+ "weight": 1,
915
+ "typeOnly": 0,
916
+ "isCyclic": false
917
+ },
918
+ {
919
+ "fromId": "b435e03a2f26b0ad",
920
+ "toId": "d4e9ed661bdf3145",
921
+ "from": "packages/schema/src/browser.ts",
922
+ "to": "packages/schema/src/parse2.ts",
923
+ "weight": 1,
924
+ "typeOnly": 0,
925
+ "isCyclic": false
926
+ },
927
+ {
928
+ "fromId": "b435e03a2f26b0ad",
929
+ "toId": "b05e86b9630171dd",
930
+ "from": "packages/schema/src/browser.ts",
931
+ "to": "packages/schema/src/stats.ts",
932
+ "weight": 2,
933
+ "typeOnly": 1,
934
+ "isCyclic": false
935
+ },
936
+ {
937
+ "fromId": "b435e03a2f26b0ad",
938
+ "toId": "e14cbb6f10fb3e07",
939
+ "from": "packages/schema/src/browser.ts",
940
+ "to": "packages/schema/src/tree.ts",
941
+ "weight": 1,
942
+ "typeOnly": 0,
943
+ "isCyclic": false
944
+ },
945
+ {
946
+ "fromId": "b435e03a2f26b0ad",
947
+ "toId": "6a607a4c97052747",
948
+ "from": "packages/schema/src/browser.ts",
949
+ "to": "packages/schema/src/types.ts",
950
+ "weight": 1,
951
+ "typeOnly": 1,
952
+ "isCyclic": false
953
+ },
954
+ {
955
+ "fromId": "3f9b35ccf62c2de0",
956
+ "toId": "d4e9ed661bdf3145",
957
+ "from": "packages/schema/src/parse.ts",
958
+ "to": "packages/schema/src/parse2.ts",
959
+ "weight": 1,
960
+ "typeOnly": 0,
961
+ "isCyclic": false
962
+ },
963
+ {
964
+ "fromId": "d4e9ed661bdf3145",
965
+ "toId": "bb449db437d5d115",
966
+ "from": "packages/schema/src/parse2.ts",
967
+ "to": "packages/schema/src/errors.ts",
968
+ "weight": 1,
969
+ "typeOnly": 0,
970
+ "isCyclic": false
971
+ },
972
+ {
973
+ "fromId": "d4e9ed661bdf3145",
974
+ "toId": "6a607a4c97052747",
975
+ "from": "packages/schema/src/parse2.ts",
976
+ "to": "packages/schema/src/types.ts",
977
+ "weight": 1,
978
+ "typeOnly": 1,
979
+ "isCyclic": false
980
+ }
981
+ ],
982
+ "removed": [
983
+ {
984
+ "fromId": "84877654a59491cb",
985
+ "toId": "ce4e478b41d30b8b",
986
+ "from": "packages/render/src/model.ts",
987
+ "to": "packages/metrics/src/index.ts",
988
+ "weight": 1,
989
+ "typeOnly": 0,
990
+ "isCyclic": false
991
+ }
992
+ ],
993
+ "cyclicAdded": [],
994
+ "cyclicRemoved": []
995
+ },
996
+ "cycles": {
997
+ "introduced": [],
998
+ "fixed": []
999
+ },
1000
+ "hotspots": [
1001
+ {
1002
+ "id": "08d179696a04919f",
1003
+ "path": "apps/web/src/App.tsx",
1004
+ "metric": "maxComplexity",
1005
+ "base": 0,
1006
+ "head": 33,
1007
+ "delta": 33,
1008
+ "change": "added"
1009
+ },
1010
+ {
1011
+ "id": "d4e9ed661bdf3145",
1012
+ "path": "packages/schema/src/parse2.ts",
1013
+ "metric": "maxComplexity",
1014
+ "base": 0,
1015
+ "head": 16,
1016
+ "delta": 16,
1017
+ "change": "added"
1018
+ },
1019
+ {
1020
+ "id": "40c0a2f73716c0c0",
1021
+ "path": "apps/web/src/PrPanel.tsx",
1022
+ "metric": "maxComplexity",
1023
+ "base": 0,
1024
+ "head": 15,
1025
+ "delta": 15,
1026
+ "change": "added"
1027
+ },
1028
+ {
1029
+ "id": "95bc40c24f74b056",
1030
+ "path": "packages/parsers/src/analyze.ts",
1031
+ "metric": "maxComplexity",
1032
+ "base": 33,
1033
+ "head": 34,
1034
+ "delta": 1,
1035
+ "change": "changed"
1036
+ },
1037
+ {
1038
+ "id": "32e005163718cb30",
1039
+ "path": "apps/web/vite.config.ts",
1040
+ "metric": "maxComplexity",
1041
+ "base": 0,
1042
+ "head": 1,
1043
+ "delta": 1,
1044
+ "change": "added"
1045
+ }
1046
+ ]
1047
+ }