-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcalls.yaml
More file actions
4778 lines (4778 loc) · 187 KB
/
calls.yaml
File metadata and controls
4778 lines (4778 loc) · 187 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
project: /home/tom/github/semcod/code2llm
generated_from: code2llm call graph analysis
stats:
total_nodes: 353
total_edges: 382
modules_count: 66
nodes:
benchmarks.reporting._print_scores_table:
name: _print_scores_table
module: benchmarks.reporting
line: 23
cyclomatic_complexity: 3
calls_out: 7
calls_in: 1
benchmarks.project_generator.create_etl_py:
name: create_etl_py
module: benchmarks.project_generator
line: 101
cyclomatic_complexity: 1
calls_out: 2
calls_in: 1
code2llm.generators.mermaid.generate_pngs:
name: generate_pngs
module: code2llm.generators.mermaid
line: 256
cyclomatic_complexity: 6
calls_out: 9
calls_in: 1
code2llm.analysis.data_analysis._make_stage:
name: _make_stage
module: code2llm.analysis.data_analysis
line: 27
cyclomatic_complexity: 2
calls_out: 0
calls_in: 1
code2llm.cli_exports.formats._export_mermaid:
name: _export_mermaid
module: code2llm.cli_exports.formats
line: 230
cyclomatic_complexity: 6
calls_out: 25
calls_in: 1
code2llm.cli_exports.code2logic._find_code2logic_output:
name: _find_code2logic_output
module: code2llm.cli_exports.code2logic
line: 93
cyclomatic_complexity: 6
calls_out: 6
calls_in: 1
code2llm.exporters.toon.metrics.MetricsComputer._handle_suffix_match:
name: _handle_suffix_match
module: code2llm.exporters.toon.metrics
line: 154
cyclomatic_complexity: 4
calls_out: 3
calls_in: 1
code2llm.cli_commands.generate_llm_context:
name: generate_llm_context
module: code2llm.cli_commands
line: 209
cyclomatic_complexity: 3
calls_out: 21
calls_in: 1
benchmarks.reporting._print_header:
name: _print_header
module: benchmarks.reporting
line: 16
cyclomatic_complexity: 1
calls_out: 3
calls_in: 1
code2llm.cli_parser.create_parser:
name: create_parser
module: code2llm.cli_parser
line: 19
cyclomatic_complexity: 1
calls_out: 40
calls_in: 1
code2llm.exporters.project_yaml.core.ProjectYAMLExporter._build_project_yaml:
name: _build_project_yaml
module: code2llm.exporters.project_yaml.core
line: 45
cyclomatic_complexity: 12
calls_out: 25
calls_in: 0
code2llm.core.repo_files.contains_python_files:
name: contains_python_files
module: code2llm.core.repo_files
line: 115
cyclomatic_complexity: 3
calls_out: 4
calls_in: 2
scripts.bump_version.parse_version:
name: parse_version
module: scripts.bump_version
line: 26
cyclomatic_complexity: 2
calls_out: 3
calls_in: 1
code2llm.core.large_repo.HierarchicalRepoSplitter._get_level1_dirs:
name: _get_level1_dirs
module: code2llm.core.large_repo
line: 467
cyclomatic_complexity: 1
calls_out: 1
calls_in: 0
code2llm.core.lang.base._extract_declarations:
name: _extract_declarations
module: code2llm.core.lang.base
line: 128
cyclomatic_complexity: 9
calls_out: 28
calls_in: 4
code2llm.cli_exports.code2logic._run_code2logic:
name: _run_code2logic
module: code2llm.cli_exports.code2logic
line: 64
cyclomatic_complexity: 3
calls_out: 4
calls_in: 1
code2llm.core.repo_files.should_skip_file:
name: should_skip_file
module: code2llm.core.repo_files
line: 38
cyclomatic_complexity: 7
calls_out: 4
calls_in: 6
code2llm.cli_exports.formats._export_index_html:
name: _export_index_html
module: code2llm.cli_exports.formats
line: 290
cyclomatic_complexity: 5
calls_out: 4
calls_in: 2
code2llm.generators.llm_flow._summarize_functions:
name: _summarize_functions
module: code2llm.generators.llm_flow
line: 232
cyclomatic_complexity: 14
calls_out: 35
calls_in: 1
validate_toon.main:
name: main
module: validate_toon
line: 377
cyclomatic_complexity: 3
calls_out: 10
calls_in: 0
code2llm.cli_exports.prompt._build_dynamic_focus_areas:
name: _build_dynamic_focus_areas
module: code2llm.cli_exports.prompt
line: 280
cyclomatic_complexity: 9
calls_out: 17
calls_in: 1
code2llm.cli_commands._get_file_sizes:
name: _get_file_sizes
module: code2llm.cli_commands
line: 178
cyclomatic_complexity: 3
calls_out: 3
calls_in: 1
code2llm.exporters.project_yaml.hotspots.hotspot_note:
name: hotspot_note
module: code2llm.exporters.project_yaml.hotspots
line: 32
cyclomatic_complexity: 7
calls_out: 5
calls_in: 1
code2llm.generators.llm_flow._strip_bom:
name: _strip_bom
module: code2llm.generators.llm_flow
line: 16
cyclomatic_complexity: 2
calls_out: 1
calls_in: 1
code2llm.generators.mermaid.generate_single_png:
name: generate_single_png
module: code2llm.generators.mermaid
line: 287
cyclomatic_complexity: 13
calls_out: 24
calls_in: 1
code2llm.cli_analysis._analyze_all_subprojects:
name: _analyze_all_subprojects
module: code2llm.cli_analysis
line: 172
cyclomatic_complexity: 4
calls_out: 8
calls_in: 1
code2llm.core.lang.base.extract_calls_regex:
name: extract_calls_regex
module: code2llm.core.lang.base
line: 108
cyclomatic_complexity: 9
calls_out: 11
calls_in: 6
code2llm.core.large_repo.HierarchicalRepoSplitter._split_hierarchically:
name: _split_hierarchically
module: code2llm.core.large_repo
line: 90
cyclomatic_complexity: 8
calls_out: 14
calls_in: 0
code2llm.exporters.toon.renderer.ToonRenderer.render_layers:
name: render_layers
module: code2llm.exporters.toon.renderer
line: 190
cyclomatic_complexity: 2
calls_out: 8
calls_in: 0
code2llm.cli_exports.code2logic._should_run_code2logic:
name: _should_run_code2logic
module: code2llm.cli_exports.code2logic
line: 37
cyclomatic_complexity: 2
calls_out: 0
calls_in: 1
code2llm.core.lang.go_lang.analyze_go:
name: analyze_go
module: code2llm.core.lang.go_lang
line: 78
cyclomatic_complexity: 4
calls_out: 6
calls_in: 1
code2llm.cli_exports.prompt._find_existing_prompt_file:
name: _find_existing_prompt_file
module: code2llm.cli_exports.prompt
line: 118
cyclomatic_complexity: 3
calls_out: 1
calls_in: 3
code2llm.core.large_repo.HierarchicalRepoSplitter._collect_files_in_dir:
name: _collect_files_in_dir
module: code2llm.core.large_repo
line: 446
cyclomatic_complexity: 1
calls_out: 1
calls_in: 0
code2llm.generators.mermaid._sanitize_node_id:
name: _sanitize_node_id
module: code2llm.generators.mermaid
line: 139
cyclomatic_complexity: 3
calls_out: 3
calls_in: 1
code2llm.core.lang.ts_extractors._extract_classes_ts:
name: _extract_classes_ts
module: code2llm.core.lang.ts_extractors
line: 124
cyclomatic_complexity: 1
calls_out: 6
calls_in: 1
code2llm.core.incremental.IncrementalAnalyzer.needs_analysis:
name: needs_analysis
module: code2llm.core.incremental
line: 55
cyclomatic_complexity: 2
calls_out: 5
calls_in: 0
benchmarks.benchmark_format_quality._print_benchmark_header:
name: _print_benchmark_header
module: benchmarks.benchmark_format_quality
line: 30
cyclomatic_complexity: 1
calls_out: 4
calls_in: 1
validate_toon.compare_classes:
name: compare_classes
module: validate_toon
line: 194
cyclomatic_complexity: 1
calls_out: 19
calls_in: 1
benchmarks.format_evaluator._check_structural_features:
name: _check_structural_features
module: benchmarks.format_evaluator
line: 87
cyclomatic_complexity: 1
calls_out: 16
calls_in: 1
benchmarks.reporting.print_results:
name: print_results
module: benchmarks.reporting
line: 121
cyclomatic_complexity: 1
calls_out: 6
calls_in: 1
code2llm.core.repo_files.calculate_priority:
name: calculate_priority
module: code2llm.core.repo_files
line: 148
cyclomatic_complexity: 7
calls_out: 1
calls_in: 5
code2llm.exporters.project_yaml.modules.build_function_exports:
name: build_function_exports
module: code2llm.exporters.project_yaml.modules
line: 129
cyclomatic_complexity: 7
calls_out: 6
calls_in: 1
benchmarks.benchmark_evolution.run_benchmark:
name: run_benchmark
module: benchmarks.benchmark_evolution
line: 69
cyclomatic_complexity: 9
calls_out: 34
calls_in: 0
code2llm.cli_commands._print_chunk_errors:
name: _print_chunk_errors
module: code2llm.cli_commands
line: 187
cyclomatic_complexity: 2
calls_out: 2
calls_in: 1
code2llm.cli_commands._validate_single_chunk:
name: _validate_single_chunk
module: code2llm.cli_commands
line: 164
cyclomatic_complexity: 4
calls_out: 4
calls_in: 1
code2llm.core.gitignore.load_gitignore_patterns:
name: load_gitignore_patterns
module: code2llm.core.gitignore
line: 122
cyclomatic_complexity: 3
calls_out: 4
calls_in: 2
benchmarks.project_generator.create_core_py:
name: create_core_py
module: benchmarks.project_generator
line: 11
cyclomatic_complexity: 1
calls_out: 2
calls_in: 1
code2llm.exporters.project_yaml.modules.group_by_file:
name: group_by_file
module: code2llm.exporters.project_yaml.modules
line: 30
cyclomatic_complexity: 5
calls_out: 8
calls_in: 1
code2llm.cli_commands.validate_chunked_output:
name: validate_chunked_output
module: code2llm.cli_commands
line: 110
cyclomatic_complexity: 3
calls_out: 7
calls_in: 1
code2llm.core.lang.ts_parser._get_parser:
name: _get_parser
module: code2llm.core.lang.ts_parser
line: 82
cyclomatic_complexity: 4
calls_out: 3
calls_in: 1
code2llm.core.repo_files.get_level1_dirs:
name: get_level1_dirs
module: code2llm.core.repo_files
line: 124
cyclomatic_complexity: 8
calls_out: 9
calls_in: 2
code2llm.exporters.toon.helpers._scan_line_counts:
name: _scan_line_counts
module: code2llm.exporters.toon.helpers
line: 99
cyclomatic_complexity: 6
calls_out: 9
calls_in: 2
demo_langs.valid.sample.main:
name: main
module: demo_langs.valid.sample
line: 30
cyclomatic_complexity: 2
calls_out: 5
calls_in: 0
benchmarks.project_generator.create_validation_py:
name: create_validation_py
module: benchmarks.project_generator
line: 133
cyclomatic_complexity: 1
calls_out: 2
calls_in: 1
code2llm.exporters.validate_project.validate_project_yaml:
name: validate_project_yaml
module: code2llm.exporters.validate_project
line: 12
cyclomatic_complexity: 11
calls_out: 17
calls_in: 1
code2llm.parsers.toon_parser._parse_stats_line:
name: _parse_stats_line
module: code2llm.parsers.toon_parser
line: 13
cyclomatic_complexity: 5
calls_out: 5
calls_in: 1
code2llm.core.lang.ts_parser._get_language:
name: _get_language
module: code2llm.core.lang.ts_parser
line: 54
cyclomatic_complexity: 7
calls_out: 6
calls_in: 2
code2llm.cli_exports.formats._export_yaml:
name: _export_yaml
module: code2llm.cli_exports.formats
line: 171
cyclomatic_complexity: 6
calls_out: 10
calls_in: 1
code2llm.core.lang.csharp.analyze_csharp:
name: analyze_csharp
module: code2llm.core.lang.csharp
line: 36
cyclomatic_complexity: 1
calls_out: 1
calls_in: 1
code2llm.core.lang.go_lang._analyze_go_regex:
name: _analyze_go_regex
module: code2llm.core.lang.go_lang
line: 10
cyclomatic_complexity: 10
calls_out: 26
calls_in: 1
examples.litellm.run.main:
name: main
module: examples.litellm.run
line: 95
cyclomatic_complexity: 1
calls_out: 17
calls_in: 0
benchmarks.format_evaluator.evaluate_format:
name: evaluate_format
module: benchmarks.format_evaluator
line: 101
cyclomatic_complexity: 4
calls_out: 22
calls_in: 1
benchmarks.format_evaluator._detect_problems:
name: _detect_problems
module: benchmarks.format_evaluator
line: 48
cyclomatic_complexity: 1
calls_out: 16
calls_in: 1
code2llm.exporters.project_yaml.health.build_alerts:
name: build_alerts
module: code2llm.exporters.project_yaml.health
line: 42
cyclomatic_complexity: 13
calls_out: 11
calls_in: 1
code2llm.generators.llm_flow._node_counts_by_function:
name: _node_counts_by_function
module: code2llm.generators.llm_flow
line: 161
cyclomatic_complexity: 4
calls_out: 4
calls_in: 1
code2llm.cli_exports.prompt._build_prompt_footer:
name: _build_prompt_footer
module: code2llm.cli_exports.prompt
line: 440
cyclomatic_complexity: 5
calls_out: 7
calls_in: 2
code2llm.exporters.toon.metrics.MetricsComputer._process_callee_calls:
name: _process_callee_calls
module: code2llm.exporters.toon.metrics
line: 143
cyclomatic_complexity: 4
calls_out: 3
calls_in: 1
code2llm.generators.llm_flow.generate_llm_flow:
name: generate_llm_flow
module: code2llm.generators.llm_flow
line: 304
cyclomatic_complexity: 5
calls_out: 12
calls_in: 1
code2llm.core.lang.base.extract_function_body:
name: extract_function_body
module: code2llm.core.lang.base
line: 35
cyclomatic_complexity: 10
calls_out: 4
calls_in: 2
benchmarks.format_evaluator._detect_hub_types:
name: _detect_hub_types
module: benchmarks.format_evaluator
line: 78
cyclomatic_complexity: 2
calls_out: 2
calls_in: 1
code2llm.exporters.mermaid_flow_helpers._render_flow_edges:
name: _render_flow_edges
module: code2llm.exporters.mermaid_flow_helpers
line: 158
cyclomatic_complexity: 10
calls_out: 9
calls_in: 2
code2llm.generators.llm_flow._as_list:
name: _as_list
module: code2llm.generators.llm_flow
line: 32
cyclomatic_complexity: 2
calls_out: 1
calls_in: 1
code2llm.cli_exports.prompt._get_missing_files:
name: _get_missing_files
module: code2llm.cli_exports.prompt
line: 168
cyclomatic_complexity: 3
calls_out: 2
calls_in: 2
code2llm.core.lang.java.analyze_java:
name: analyze_java
module: code2llm.core.lang.java
line: 37
cyclomatic_complexity: 1
calls_out: 1
calls_in: 1
code2llm.core.lang.base._match_method_name:
name: _match_method_name
module: code2llm.core.lang.base
line: 335
cyclomatic_complexity: 14
calls_out: 9
calls_in: 1
code2llm.cli_exports.prompt._export_chunked_prompt_txt:
name: _export_chunked_prompt_txt
module: code2llm.cli_exports.prompt
line: 38
cyclomatic_complexity: 5
calls_out: 16
calls_in: 1
code2llm.core.toon_size_manager._write_chunk:
name: _write_chunk
module: code2llm.core.toon_size_manager
line: 213
cyclomatic_complexity: 2
calls_out: 1
calls_in: 2
examples.litellm.run.run_analysis:
name: run_analysis
module: examples.litellm.run
line: 30
cyclomatic_complexity: 4
calls_out: 8
calls_in: 1
code2llm.exporters.mermaid_flow_helpers._append_entry_styles:
name: _append_entry_styles
module: code2llm.exporters.mermaid_flow_helpers
line: 184
cyclomatic_complexity: 3
calls_out: 3
calls_in: 2
code2llm.exporters.toon.helpers._package_of:
name: _package_of
module: code2llm.exporters.toon.helpers
line: 38
cyclomatic_complexity: 2
calls_out: 2
calls_in: 1
code2llm.exporters.mermaid_flow_helpers._render_architecture_view:
name: _render_architecture_view
module: code2llm.exporters.mermaid_flow_helpers
line: 227
cyclomatic_complexity: 6
calls_out: 13
calls_in: 1
code2llm.generators.llm_flow._pick_relevant_functions:
name: _pick_relevant_functions
module: code2llm.generators.llm_flow
line: 170
cyclomatic_complexity: 8
calls_out: 11
calls_in: 1
code2llm.core.lang.base._process_standalone_function:
name: _process_standalone_function
module: code2llm.core.lang.base
line: 297
cyclomatic_complexity: 10
calls_out: 11
calls_in: 1
code2llm.generators.llm_task.main:
name: main
module: code2llm.generators.llm_task
line: 258
cyclomatic_complexity: 4
calls_out: 13
calls_in: 0
code2llm.cli_exports.formats._export_mermaid_pngs:
name: _export_mermaid_pngs
module: code2llm.cli_exports.formats
line: 191
cyclomatic_complexity: 11
calls_out: 11
calls_in: 1
code2llm.cli_exports.formats._export_calls:
name: _export_calls
module: code2llm.cli_exports.formats
line: 218
cyclomatic_complexity: 2
calls_out: 4
calls_in: 2
code2llm.generators.llm_task._strip_bom:
name: _strip_bom
module: code2llm.generators.llm_task
line: 9
cyclomatic_complexity: 2
calls_out: 1
calls_in: 2
code2llm.exporters.project_yaml.core.ProjectYAMLExporter.export:
name: export
module: code2llm.exporters.project_yaml.core
line: 29
cyclomatic_complexity: 1
calls_out: 6
calls_in: 0
code2llm.generators.llm_flow._extract_entrypoint_info:
name: _extract_entrypoint_info
module: code2llm.generators.llm_flow
line: 108
cyclomatic_complexity: 4
calls_out: 6
calls_in: 1
benchmarks.benchmark_format_quality._print_ground_truth_info:
name: _print_ground_truth_info
module: benchmarks.benchmark_format_quality
line: 38
cyclomatic_complexity: 1
calls_out: 7
calls_in: 1
code2llm.cli_exports.prompt._build_priority_order:
name: _build_priority_order
module: code2llm.cli_exports.prompt
line: 359
cyclomatic_complexity: 9
calls_out: 21
calls_in: 1
code2llm.cli_exports.prompt._analyze_generated_files:
name: _analyze_generated_files
module: code2llm.cli_exports.prompt
line: 228
cyclomatic_complexity: 14
calls_out: 11
calls_in: 2
demo_langs.valid.sample.UserService.service:
name: service
module: demo_langs.valid.sample
line: 25
cyclomatic_complexity: 1
calls_out: 1
calls_in: 0
code2llm.exporters.mermaid_flow_helpers._select_key_functions:
name: _select_key_functions
module: code2llm.exporters.mermaid_flow_helpers
line: 70
cyclomatic_complexity: 6
calls_out: 3
calls_in: 1
benchmarks.benchmark_optimizations.clear_caches:
name: clear_caches
module: benchmarks.benchmark_optimizations
line: 27
cyclomatic_complexity: 3
calls_out: 7
calls_in: 1
code2llm.core.toon_size_manager.get_file_size_kb:
name: get_file_size_kb
module: code2llm.core.toon_size_manager
line: 15
cyclomatic_complexity: 1
calls_out: 1
calls_in: 2
benchmarks.benchmark_evolution.save_current:
name: save_current
module: benchmarks.benchmark_evolution
line: 63
cyclomatic_complexity: 1
calls_out: 3
calls_in: 1
code2llm.exporters.toon.metrics.MetricsComputer._compute_file_metrics:
name: _compute_file_metrics
module: code2llm.exporters.toon.metrics
line: 51
cyclomatic_complexity: 12
calls_out: 25
calls_in: 0
code2llm.core.repo_files.collect_files_in_dir:
name: collect_files_in_dir
module: code2llm.core.repo_files
line: 56
cyclomatic_complexity: 6
calls_out: 10
calls_in: 6
benchmarks.reporting._print_structural_features:
name: _print_structural_features
module: benchmarks.reporting
line: 77
cyclomatic_complexity: 5
calls_out: 11
calls_in: 1
code2llm.cli_exports.formats._run_report:
name: _run_report
module: code2llm.cli_exports.formats
line: 90
cyclomatic_complexity: 6
calls_out: 12
calls_in: 1
code2llm.core.lang.generic.analyze_generic:
name: analyze_generic
module: code2llm.core.lang.generic
line: 9
cyclomatic_complexity: 12
calls_out: 20
calls_in: 1
code2llm.generators.mermaid._fix_class_line:
name: _fix_class_line
module: code2llm.generators.mermaid
line: 239
cyclomatic_complexity: 6
calls_out: 11
calls_in: 1
code2llm.exporters.toon.helpers._dup_file_set:
name: _dup_file_set
module: code2llm.exporters.toon.helpers
line: 77
cyclomatic_complexity: 2
calls_out: 3
calls_in: 1
validate_toon.load_file:
name: load_file
module: validate_toon
line: 23
cyclomatic_complexity: 2
calls_out: 3
calls_in: 2
code2llm.exporters.project_yaml.modules.build_modules:
name: build_modules
module: code2llm.exporters.project_yaml.modules
line: 12
cyclomatic_complexity: 5
calls_out: 11
calls_in: 1
validate_toon.load_yaml:
name: load_yaml
module: validate_toon
line: 14
cyclomatic_complexity: 2
calls_out: 3
calls_in: 2
code2llm.core.lang.ts_parser.TreeSitterParser.__init__:
name: __init__
module: code2llm.core.lang.ts_parser
line: 116
cyclomatic_complexity: 1
calls_out: 1
calls_in: 0
code2llm.exporters.mermaid_flow_helpers._append_flow_node:
name: _append_flow_node
module: code2llm.exporters.mermaid_flow_helpers
line: 90
cyclomatic_complexity: 4
calls_out: 6
calls_in: 2
code2llm.exporters.mermaid_exporter.MermaidExporter.export_flow_full:
name: export_flow_full
module: code2llm.exporters.mermaid_exporter
line: 384
cyclomatic_complexity: 1
calls_out: 13
calls_in: 0
benchmarks.benchmark_evolution.load_previous:
name: load_previous
module: benchmarks.benchmark_evolution
line: 53
cyclomatic_complexity: 3
calls_out: 3
calls_in: 1
scripts.bump_version.update_version_file:
name: update_version_file
module: scripts.bump_version
line: 71
cyclomatic_complexity: 1
calls_out: 3
calls_in: 1
code2llm.core.lang.base.calculate_complexity_regex:
name: calculate_complexity_regex
module: code2llm.core.lang.base
line: 57
cyclomatic_complexity: 6
calls_out: 5
calls_in: 5
code2llm.cli_exports.formats._export_project_yaml:
name: _export_project_yaml
module: code2llm.cli_exports.formats
line: 62
cyclomatic_complexity: 2
calls_out: 5
calls_in: 1
demo_langs.valid.sample.UserService.processUsers:
name: processUsers
module: demo_langs.valid.sample
line: 32
cyclomatic_complexity: 2
calls_out: 2
calls_in: 0
code2llm.cli_exports.prompt._get_prompt_paths:
name: _get_prompt_paths
module: code2llm.cli_exports.prompt
line: 66
cyclomatic_complexity: 5
calls_out: 6
calls_in: 2
code2llm.analysis.data_analysis._categorize_functions:
name: _categorize_functions
module: code2llm.analysis.data_analysis
line: 13
cyclomatic_complexity: 8
calls_out: 8
calls_in: 1
code2llm.generators.llm_task.normalize_llm_task:
name: normalize_llm_task
module: code2llm.generators.llm_task
line: 30
cyclomatic_complexity: 14
calls_out: 43
calls_in: 1
code2llm.core.lang.ruby._adjust_ruby_module_qualnames:
name: _adjust_ruby_module_qualnames
module: code2llm.core.lang.ruby
line: 52
cyclomatic_complexity: 4
calls_out: 10
calls_in: 1
code2llm.exporters.map_exporter.MapExporter._rel_path:
name: _rel_path
module: code2llm.exporters.map_exporter
line: 325
cyclomatic_complexity: 6
calls_out: 9
calls_in: 7
code2llm.cli_exports.prompt._build_prompt_file_lines:
name: _build_prompt_file_lines
module: code2llm.cli_exports.prompt
line: 126
cyclomatic_complexity: 4
calls_out: 5
calls_in: 2
code2llm.core.incremental.IncrementalAnalyzer.update:
name: update
module: code2llm.core.incremental
line: 75
cyclomatic_complexity: 1
calls_out: 2
calls_in: 0
code2llm.generators.llm_task._parse_bullets:
name: _parse_bullets
module: code2llm.generators.llm_task
line: 90
cyclomatic_complexity: 4
calls_out: 5
calls_in: 3
code2llm.analysis.side_effects.SideEffectDetector.analyze_function:
name: analyze_function
module: code2llm.analysis.side_effects
line: 128
cyclomatic_complexity: 3
calls_out: 6
calls_in: 0
code2llm.core.lang.rust.analyze_rust:
name: analyze_rust
module: code2llm.core.lang.rust
line: 11
cyclomatic_complexity: 9
calls_out: 31
calls_in: 1
scripts.bump_version.get_current_version:
name: get_current_version
module: scripts.bump_version
line: 11
cyclomatic_complexity: 3
calls_out: 9
calls_in: 2
code2llm.generators.llm_flow.render_llm_flow_md:
name: render_llm_flow_md
module: code2llm.generators.llm_flow
line: 353
cyclomatic_complexity: 10
calls_out: 42
calls_in: 1
code2llm.cli_commands.handle_report_command:
name: handle_report_command
module: code2llm.cli_commands
line: 23
cyclomatic_complexity: 4
calls_out: 17
calls_in: 1
code2llm.cli_exports.code2logic._check_code2logic_installed:
name: _check_code2logic_installed
module: code2llm.cli_exports.code2logic
line: 42
cyclomatic_complexity: 2
calls_out: 4
calls_in: 1
code2llm.generators.llm_flow._safe_read_yaml:
name: _safe_read_yaml
module: code2llm.generators.llm_flow
line: 20
cyclomatic_complexity: 3
calls_out: 5
calls_in: 1
code2llm.core.repo_files.count_py_files:
name: count_py_files
module: code2llm.core.repo_files
line: 105
cyclomatic_complexity: 3
calls_out: 4
calls_in: 3
code2llm.cli_exports.prompt._build_optional_files_section:
name: _build_optional_files_section
module: code2llm.cli_exports.prompt
line: 149
cyclomatic_complexity: 2
calls_out: 1
calls_in: 2
demo_langs.valid.sample.User.User:
name: User
module: demo_langs.valid.sample
line: 7
cyclomatic_complexity: 1
calls_out: 0
calls_in: 2
benchmarks.benchmark_performance.main:
name: main
module: benchmarks.benchmark_performance
line: 221
cyclomatic_complexity: 1
calls_out: 41
calls_in: 0
code2llm.analysis.type_inference.TypeInferenceEngine.__init__:
name: __init__
module: code2llm.analysis.type_inference
line: 65
cyclomatic_complexity: 2
calls_out: 1
calls_in: 0
scripts.bump_version.update_pyproject_toml:
name: update_pyproject_toml
module: scripts.bump_version
line: 56
cyclomatic_complexity: 1
calls_out: 5
calls_in: 1
code2llm.cli_analysis._print_analysis_summary:
name: _print_analysis_summary
module: code2llm.cli_analysis
line: 86
cyclomatic_complexity: 1
calls_out: 9
calls_in: 1
code2llm.cli_exports.formats._export_data_structures:
name: _export_data_structures
module: code2llm.cli_exports.formats
line: 29
cyclomatic_complexity: 3
calls_out: 4
calls_in: 1
code2llm.cli_commands._print_validation_summary:
name: _print_validation_summary
module: code2llm.cli_commands
line: 194
cyclomatic_complexity: 3
calls_out: 12
calls_in: 1
scripts.bump_version.main:
name: main
module: scripts.bump_version
line: 77
cyclomatic_complexity: 3
calls_out: 11
calls_in: 0
code2llm.core.lang.typescript.analyze_typescript_js:
name: analyze_typescript_js
module: code2llm.core.lang.typescript
line: 37
cyclomatic_complexity: 1
calls_out: 5
calls_in: 1
code2llm.parsers.toon_parser._parse_header_line:
name: _parse_header_line
module: code2llm.parsers.toon_parser
line: 7
cyclomatic_complexity: 2
calls_out: 2