Skip to content

Latest commit

Β 

History

History
29 lines (22 loc) Β· 1.94 KB

File metadata and controls

29 lines (22 loc) Β· 1.94 KB

Code2Schema Report

Modules: 10 Functions: 52 Workflows: 9

CQRS Distribution

Role Count
Query 43
Command 0
Orchestrator 9

Quality Rules

  • πŸ”΄ HIGH_FAN_OUT code2schema.cli.main β€” fan_out=21 >= 10
  • πŸ”΄ HIGH_FAN_OUT code2schema.core.extractor._process_func β€” fan_out=10 >= 10
  • πŸ”΄ HIGH_FAN_OUT code2schema.core.extractor.extract_module β€” fan_out=13 >= 10

Workflows (Orchestrators)

  • workflow_main: code2schema.cli.main β†’ ArgumentParser β†’ add_argument β†’ parse_args β†’ Path β†’ perf_counter β†’ extract_project β†’ analyze β†’ write_json
  • workflow_build_call_graph: code2schema.analyzer.cqrs.build_call_graph β†’ DiGraph β†’ set β†’ add β†’ add_node β†’ add_edge
  • workflow_analyze: code2schema.analyzer.cqrs.analyze β†’ build_call_graph β†’ dict β†’ build_workflows β†’ generate_rules β†’ SchemaIR β†’ out_degree β†’ _infer_role β†’ max
  • workflow__build_graph_data: code2schema.codegen.visualizer._build_graph_data β†’ all_functions β†’ len β†’ append β†’ get β†’ setdefault β†’ commands β†’ queries β†’ orchestrators
  • workflow_to_proto: code2schema.codegen.__init__.to_proto β†’ all_functions β†’ join β†’ capitalize β†’ _safe_proto_name β†’ append β†’ len β†’ commands β†’ queries
  • workflow_to_markdown: code2schema.codegen.__init__.to_markdown β†’ all_functions β†’ len β†’ join β†’ commands β†’ queries β†’ orchestrators β†’ append
  • workflow__process_func: code2schema.core.extractor._process_func β†’ _collect_calls β†’ _detect_side_effects β†’ get_docstring β†’ FunctionIR β†’ append β†’ list β†’ len β†’ fromkeys
  • workflow_extract_module: code2schema.core.extractor.extract_module β†’ _path_to_module β†’ _FunctionVisitor β†’ visit β†’ ModuleIR β†’ read_text β†’ parse β†’ walk β†’ str
  • workflow_extract_project: code2schema.core.extractor.extract_project β†’ set β†’ rglob β†’ any β†’ extract_module β†’ append