Skip to content

Latest commit

 

History

History
401 lines (311 loc) · 23.4 KB

File metadata and controls

401 lines (311 loc) · 23.4 KB

System Architecture Analysis

Overview

  • Project: /home/tom/github/semcod/code2llm
  • Primary Language: python
  • Languages: python: 353, shell: 7, php: 2, java: 2, typescript: 1
  • Analysis Mode: static
  • Total Functions: 2150
  • Total Classes: 245
  • Modules: 369
  • Entry Points: 0

Architecture by Module

code2llm.analysis.data_analysis

  • Functions: 28
  • Classes: 3
  • File: data_analysis.py

analysis.data_analysis

  • Functions: 28
  • Classes: 3
  • File: data_analysis.py

code2llm.exporters.toon.renderer

  • Functions: 26
  • Classes: 1
  • File: renderer.py

exporters.toon.renderer

  • Functions: 26
  • Classes: 1
  • File: renderer.py

code2llm.exporters.yaml_exporter

  • Functions: 25
  • Classes: 1
  • File: yaml_exporter.py

exporters.yaml_exporter

  • Functions: 25
  • Classes: 1
  • File: yaml_exporter.py

root.validate_toon

  • Functions: 21
  • File: validate_toon.py

batch_1.validate_toon

  • Functions: 21
  • File: validate_toon.py

code2llm.core.analyzer

  • Functions: 20
  • Classes: 1
  • File: analyzer.py

code2llm.core.large_repo

  • Functions: 20
  • Classes: 2
  • File: large_repo.py

code2llm.nlp.pipeline

  • Functions: 20
  • Classes: 3
  • File: pipeline.py

core.analyzer

  • Functions: 20
  • Classes: 1
  • File: analyzer.py

core.large_repo

  • Functions: 20
  • Classes: 2
  • File: large_repo.py

nlp.pipeline

  • Functions: 20
  • Classes: 3
  • File: pipeline.py

code2llm.core.persistent_cache

  • Functions: 19
  • Classes: 1
  • File: persistent_cache.py

core.persistent_cache

  • Functions: 19
  • Classes: 1
  • File: persistent_cache.py

code2llm.core.file_analyzer

  • Functions: 18
  • Classes: 1
  • File: file_analyzer.py

examples.functional_refactoring.entity_preparers

  • Functions: 18
  • Classes: 6
  • File: entity_preparers.py

code2llm.cli_exports.prompt

  • Functions: 18
  • File: prompt.py

core.file_analyzer

  • Functions: 18
  • Classes: 1
  • File: file_analyzer.py

Key Entry Points

Main execution flows into the system:

Process Flows

Key execution flows identified:

Key Classes

code2llm.exporters.toon.renderer.ToonRenderer

Renders all sections for TOON export.

  • Methods: 26
  • Key Methods: code2llm.exporters.toon.renderer.ToonRenderer.render_header, code2llm.exporters.toon.renderer.ToonRenderer._detect_language_label, code2llm.exporters.toon.renderer.ToonRenderer.render_health, code2llm.exporters.toon.renderer.ToonRenderer.render_refactor, code2llm.exporters.toon.renderer.ToonRenderer.render_coupling, code2llm.exporters.toon.renderer.ToonRenderer._select_top_packages, code2llm.exporters.toon.renderer.ToonRenderer._render_coupling_header, code2llm.exporters.toon.renderer.ToonRenderer._render_coupling_rows, code2llm.exporters.toon.renderer.ToonRenderer._build_coupling_row, code2llm.exporters.toon.renderer.ToonRenderer._coupling_row_tag

exporters.toon.renderer.ToonRenderer

Renders all sections for TOON export.

  • Methods: 26
  • Key Methods: exporters.toon.renderer.ToonRenderer.render_header, exporters.toon.renderer.ToonRenderer._detect_language_label, exporters.toon.renderer.ToonRenderer.render_health, exporters.toon.renderer.ToonRenderer.render_refactor, exporters.toon.renderer.ToonRenderer.render_coupling, exporters.toon.renderer.ToonRenderer._select_top_packages, exporters.toon.renderer.ToonRenderer._render_coupling_header, exporters.toon.renderer.ToonRenderer._render_coupling_rows, exporters.toon.renderer.ToonRenderer._build_coupling_row, exporters.toon.renderer.ToonRenderer._coupling_row_tag

code2llm.exporters.yaml_exporter.YAMLExporter

Export to YAML format.

  • Methods: 25
  • Key Methods: code2llm.exporters.yaml_exporter.YAMLExporter.init, code2llm.exporters.yaml_exporter.YAMLExporter._get_name_index, code2llm.exporters.yaml_exporter.YAMLExporter.export, code2llm.exporters.yaml_exporter.YAMLExporter.export_grouped, code2llm.exporters.yaml_exporter.YAMLExporter.export_data_flow, code2llm.exporters.yaml_exporter.YAMLExporter.export_data_structures, code2llm.exporters.yaml_exporter.YAMLExporter.export_separated, code2llm.exporters.yaml_exporter.YAMLExporter.export_split, code2llm.exporters.yaml_exporter.YAMLExporter.export_calls, code2llm.exporters.yaml_exporter.YAMLExporter._collect_edges
  • Inherits: BaseExporter

exporters.yaml_exporter.YAMLExporter

Export to YAML format.

  • Methods: 25
  • Key Methods: exporters.yaml_exporter.YAMLExporter.init, exporters.yaml_exporter.YAMLExporter._get_name_index, exporters.yaml_exporter.YAMLExporter.export, exporters.yaml_exporter.YAMLExporter.export_grouped, exporters.yaml_exporter.YAMLExporter.export_data_flow, exporters.yaml_exporter.YAMLExporter.export_data_structures, exporters.yaml_exporter.YAMLExporter.export_separated, exporters.yaml_exporter.YAMLExporter.export_split, exporters.yaml_exporter.YAMLExporter.export_calls, exporters.yaml_exporter.YAMLExporter._collect_edges
  • Inherits: BaseExporter

code2llm.core.analyzer.ProjectAnalyzer

Main analyzer with parallel processing.

  • Methods: 20
  • Key Methods: code2llm.core.analyzer.ProjectAnalyzer.init, code2llm.core.analyzer.ProjectAnalyzer.analyze_project, code2llm.core.analyzer.ProjectAnalyzer._resolve_project_path, code2llm.core.analyzer.ProjectAnalyzer._load_from_persistent_cache, code2llm.core.analyzer.ProjectAnalyzer._run_analysis, code2llm.core.analyzer.ProjectAnalyzer._store_to_persistent_cache, code2llm.core.analyzer.ProjectAnalyzer._build_stats, code2llm.core.analyzer.ProjectAnalyzer._print_summary, code2llm.core.analyzer.ProjectAnalyzer._post_process, code2llm.core.analyzer.ProjectAnalyzer._collect_files

core.analyzer.ProjectAnalyzer

Main analyzer with parallel processing.

  • Methods: 20
  • Key Methods: core.analyzer.ProjectAnalyzer.init, core.analyzer.ProjectAnalyzer.analyze_project, core.analyzer.ProjectAnalyzer._resolve_project_path, core.analyzer.ProjectAnalyzer._load_from_persistent_cache, core.analyzer.ProjectAnalyzer._run_analysis, core.analyzer.ProjectAnalyzer._store_to_persistent_cache, core.analyzer.ProjectAnalyzer._build_stats, core.analyzer.ProjectAnalyzer._print_summary, core.analyzer.ProjectAnalyzer._post_process, core.analyzer.ProjectAnalyzer._collect_files

code2llm.core.large_repo.HierarchicalRepoSplitter

Splits large repositories using hierarchical approach.

Strategy:

  1. First pass: level 1 folders
  • Methods: 18
  • Key Methods: code2llm.core.large_repo.HierarchicalRepoSplitter.init, code2llm.core.large_repo.HierarchicalRepoSplitter.get_analysis_plan, code2llm.core.large_repo.HierarchicalRepoSplitter._split_hierarchically, code2llm.core.large_repo.HierarchicalRepoSplitter._merge_small_l1_dirs, code2llm.core.large_repo.HierarchicalRepoSplitter._split_level2_consolidated, code2llm.core.large_repo.HierarchicalRepoSplitter._categorize_subdirs, code2llm.core.large_repo.HierarchicalRepoSplitter._process_large_dirs, code2llm.core.large_repo.HierarchicalRepoSplitter._process_level1_files, code2llm.core.large_repo.HierarchicalRepoSplitter._merge_small_dirs, code2llm.core.large_repo.HierarchicalRepoSplitter._chunk_by_files

core.large_repo.HierarchicalRepoSplitter

Splits large repositories using hierarchical approach.

Strategy:

  1. First pass: level 1 folders
  • Methods: 18
  • Key Methods: core.large_repo.HierarchicalRepoSplitter.init, core.large_repo.HierarchicalRepoSplitter.get_analysis_plan, core.large_repo.HierarchicalRepoSplitter._split_hierarchically, core.large_repo.HierarchicalRepoSplitter._merge_small_l1_dirs, core.large_repo.HierarchicalRepoSplitter._split_level2_consolidated, core.large_repo.HierarchicalRepoSplitter._categorize_subdirs, core.large_repo.HierarchicalRepoSplitter._process_large_dirs, core.large_repo.HierarchicalRepoSplitter._process_level1_files, core.large_repo.HierarchicalRepoSplitter._merge_small_dirs, core.large_repo.HierarchicalRepoSplitter._chunk_by_files

code2llm.analysis.type_inference.TypeInferenceEngine

Extract and infer type information from Python source files.

Operates on source files referenced by

  • Methods: 17
  • Key Methods: code2llm.analysis.type_inference.TypeInferenceEngine.init, code2llm.analysis.type_inference.TypeInferenceEngine.enrich_function, code2llm.analysis.type_inference.TypeInferenceEngine.get_arg_types, code2llm.analysis.type_inference.TypeInferenceEngine.get_return_type, code2llm.analysis.type_inference.TypeInferenceEngine.get_typed_signature, code2llm.analysis.type_inference.TypeInferenceEngine.extract_all_types, code2llm.analysis.type_inference.TypeInferenceEngine._extract_from_node, code2llm.analysis.type_inference.TypeInferenceEngine._extract_args, code2llm.analysis.type_inference.TypeInferenceEngine._annotation_to_str, code2llm.analysis.type_inference.TypeInferenceEngine._ann_constant

code2llm.core.file_analyzer.FileAnalyzer

Analyzes a single file.

  • Methods: 17
  • Key Methods: code2llm.core.file_analyzer.FileAnalyzer.init, code2llm.core.file_analyzer.FileAnalyzer._route_to_language_analyzer, code2llm.core.file_analyzer.FileAnalyzer.analyze_file, code2llm.core.file_analyzer.FileAnalyzer._analyze_python, code2llm.core.file_analyzer.FileAnalyzer._analyze_ast, code2llm.core.file_analyzer.FileAnalyzer._calculate_complexity, code2llm.core.file_analyzer.FileAnalyzer._perform_deep_analysis, code2llm.core.file_analyzer.FileAnalyzer._process_class, code2llm.core.file_analyzer.FileAnalyzer._process_function, code2llm.core.file_analyzer.FileAnalyzer._build_cfg

analysis.type_inference.TypeInferenceEngine

Extract and infer type information from Python source files.

Operates on source files referenced by

  • Methods: 17
  • Key Methods: analysis.type_inference.TypeInferenceEngine.init, analysis.type_inference.TypeInferenceEngine.enrich_function, analysis.type_inference.TypeInferenceEngine.get_arg_types, analysis.type_inference.TypeInferenceEngine.get_return_type, analysis.type_inference.TypeInferenceEngine.get_typed_signature, analysis.type_inference.TypeInferenceEngine.extract_all_types, analysis.type_inference.TypeInferenceEngine._extract_from_node, analysis.type_inference.TypeInferenceEngine._extract_args, analysis.type_inference.TypeInferenceEngine._annotation_to_str, analysis.type_inference.TypeInferenceEngine._ann_constant

core.file_analyzer.FileAnalyzer

Analyzes a single file.

  • Methods: 17
  • Key Methods: core.file_analyzer.FileAnalyzer.init, core.file_analyzer.FileAnalyzer._route_to_language_analyzer, core.file_analyzer.FileAnalyzer.analyze_file, core.file_analyzer.FileAnalyzer._analyze_python, core.file_analyzer.FileAnalyzer._analyze_ast, core.file_analyzer.FileAnalyzer._calculate_complexity, core.file_analyzer.FileAnalyzer._perform_deep_analysis, core.file_analyzer.FileAnalyzer._process_class, core.file_analyzer.FileAnalyzer._process_function, core.file_analyzer.FileAnalyzer._build_cfg

code2llm.analysis.data_analysis.DataAnalyzer

Analyze data flows, structures, and optimization opportunities.

  • Methods: 16
  • Key Methods: code2llm.analysis.data_analysis.DataAnalyzer.analyze_data_flow, code2llm.analysis.data_analysis.DataAnalyzer.analyze_data_structures, code2llm.analysis.data_analysis.DataAnalyzer._find_data_pipelines, code2llm.analysis.data_analysis.DataAnalyzer._find_state_patterns, code2llm.analysis.data_analysis.DataAnalyzer._find_data_dependencies, code2llm.analysis.data_analysis.DataAnalyzer._find_event_flows, code2llm.analysis.data_analysis.DataAnalyzer._detect_types_from_name, code2llm.analysis.data_analysis.DataAnalyzer._create_type_entry, code2llm.analysis.data_analysis.DataAnalyzer._update_type_stats, code2llm.analysis.data_analysis.DataAnalyzer._analyze_data_types

code2llm.analysis.cfg.CFGExtractor

Extract Control Flow Graph from AST.

  • Methods: 16
  • Key Methods: code2llm.analysis.cfg.CFGExtractor.init, code2llm.analysis.cfg.CFGExtractor.extract, code2llm.analysis.cfg.CFGExtractor.new_node, code2llm.analysis.cfg.CFGExtractor.connect, code2llm.analysis.cfg.CFGExtractor.visit_FunctionDef, code2llm.analysis.cfg.CFGExtractor.visit_AsyncFunctionDef, code2llm.analysis.cfg.CFGExtractor.visit_If, code2llm.analysis.cfg.CFGExtractor.visit_For, code2llm.analysis.cfg.CFGExtractor.visit_While, code2llm.analysis.cfg.CFGExtractor.visit_Try
  • Inherits: ast.NodeVisitor

code2llm.exporters.toon.metrics_core.CoreMetricsComputer

Computes core structural and complexity metrics.

  • Methods: 16
  • Key Methods: code2llm.exporters.toon.metrics_core.CoreMetricsComputer.init, code2llm.exporters.toon.metrics_core.CoreMetricsComputer.compute_file_metrics, code2llm.exporters.toon.metrics_core.CoreMetricsComputer._new_file_record, code2llm.exporters.toon.metrics_core.CoreMetricsComputer._compute_fan_in, code2llm.exporters.toon.metrics_core.CoreMetricsComputer._process_function_calls, code2llm.exporters.toon.metrics_core.CoreMetricsComputer._process_called_by, code2llm.exporters.toon.metrics_core.CoreMetricsComputer._process_callee_calls, code2llm.exporters.toon.metrics_core.CoreMetricsComputer._handle_suffix_match, code2llm.exporters.toon.metrics_core.CoreMetricsComputer.compute_package_metrics, code2llm.exporters.toon.metrics_core.CoreMetricsComputer.compute_function_metrics

code2llm.nlp.pipeline.NLPPipeline

Main NLP processing pipeline (4a-4e).

  • Methods: 16
  • Key Methods: code2llm.nlp.pipeline.NLPPipeline.init, code2llm.nlp.pipeline.NLPPipeline.process, code2llm.nlp.pipeline.NLPPipeline._step_normalize, code2llm.nlp.pipeline.NLPPipeline._step_match_intent, code2llm.nlp.pipeline.NLPPipeline._step_resolve_entities, code2llm.nlp.pipeline.NLPPipeline._infer_entity_types, code2llm.nlp.pipeline.NLPPipeline._calculate_overall_confidence, code2llm.nlp.pipeline.NLPPipeline._calculate_entity_confidence, code2llm.nlp.pipeline.NLPPipeline._apply_fallback, code2llm.nlp.pipeline.NLPPipeline._format_action

analysis.data_analysis.DataAnalyzer

Analyze data flows, structures, and optimization opportunities.

  • Methods: 16
  • Key Methods: analysis.data_analysis.DataAnalyzer.analyze_data_flow, analysis.data_analysis.DataAnalyzer.analyze_data_structures, analysis.data_analysis.DataAnalyzer._find_data_pipelines, analysis.data_analysis.DataAnalyzer._find_state_patterns, analysis.data_analysis.DataAnalyzer._find_data_dependencies, analysis.data_analysis.DataAnalyzer._find_event_flows, analysis.data_analysis.DataAnalyzer._detect_types_from_name, analysis.data_analysis.DataAnalyzer._create_type_entry, analysis.data_analysis.DataAnalyzer._update_type_stats, analysis.data_analysis.DataAnalyzer._analyze_data_types

analysis.cfg.CFGExtractor

Extract Control Flow Graph from AST.

  • Methods: 16
  • Key Methods: analysis.cfg.CFGExtractor.init, analysis.cfg.CFGExtractor.extract, analysis.cfg.CFGExtractor.new_node, analysis.cfg.CFGExtractor.connect, analysis.cfg.CFGExtractor.visit_FunctionDef, analysis.cfg.CFGExtractor.visit_AsyncFunctionDef, analysis.cfg.CFGExtractor.visit_If, analysis.cfg.CFGExtractor.visit_For, analysis.cfg.CFGExtractor.visit_While, analysis.cfg.CFGExtractor.visit_Try
  • Inherits: ast.NodeVisitor

exporters.toon.metrics_core.CoreMetricsComputer

Computes core structural and complexity metrics.

  • Methods: 16
  • Key Methods: exporters.toon.metrics_core.CoreMetricsComputer.init, exporters.toon.metrics_core.CoreMetricsComputer.compute_file_metrics, exporters.toon.metrics_core.CoreMetricsComputer._new_file_record, exporters.toon.metrics_core.CoreMetricsComputer._compute_fan_in, exporters.toon.metrics_core.CoreMetricsComputer._process_function_calls, exporters.toon.metrics_core.CoreMetricsComputer._process_called_by, exporters.toon.metrics_core.CoreMetricsComputer._process_callee_calls, exporters.toon.metrics_core.CoreMetricsComputer._handle_suffix_match, exporters.toon.metrics_core.CoreMetricsComputer.compute_package_metrics, exporters.toon.metrics_core.CoreMetricsComputer.compute_function_metrics

nlp.pipeline.NLPPipeline

Main NLP processing pipeline (4a-4e).

  • Methods: 16
  • Key Methods: nlp.pipeline.NLPPipeline.init, nlp.pipeline.NLPPipeline.process, nlp.pipeline.NLPPipeline._step_normalize, nlp.pipeline.NLPPipeline._step_match_intent, nlp.pipeline.NLPPipeline._step_resolve_entities, nlp.pipeline.NLPPipeline._infer_entity_types, nlp.pipeline.NLPPipeline._calculate_overall_confidence, nlp.pipeline.NLPPipeline._calculate_entity_confidence, nlp.pipeline.NLPPipeline._apply_fallback, nlp.pipeline.NLPPipeline._format_action

Data Transformation Functions

Key functions that process and transform data:

test_langs.valid.sample.process_users

test_langs.valid.sample.UserService.processUsers

  • Output to: test_langs.valid.sample.foreach

test_langs.valid.sample.ProcessUsers

  • Output to: test_langs.valid.sample.func, test_langs.valid.sample.Printf

examples.streaming-analyzer.sample_project.auth.AuthManager.validate_session

Validate session and return user ID.

  • Output to: self.sessions.get

examples.streaming-analyzer.sample_project.api.APIHandler.process_request

Process API request.

  • Output to: self._check_rate_limit, self._get_stats, self._get_user_info, self._health_check

examples.streaming-analyzer.sample_project.api.APIHandler.format_response

Format API response.

  • Output to: json.dumps

examples.streaming-analyzer.sample_project.utils.validate_input

Validate input data.

  • Output to: isinstance, isinstance

examples.streaming-analyzer.sample_project.utils.format_output

Format output data.

  • Output to: isinstance, json.dumps, isinstance, json.dumps, str

examples.streaming-analyzer.sample_project.utils.transform_data

Transform data fields.

  • Output to: item.copy, transformations.items, transformed.append, None.upper, None.lower

benchmarks.benchmark_evolution.parse_evolution_metrics

Extract metrics from evolution.toon content.

  • Output to: toon_content.splitlines, re.search, line.strip, line.startswith, int

examples.streaming-analyzer.sample_project.main.Application.process_request

Process a user request with complex logic.

  • Output to: request.action.startswith, examples.streaming-analyzer.sample_project.utils.validate_input, print, self.auth.authenticate, print

examples.docker-doql-example.worker.worker.process_message

  • Output to: print, time.sleep, print, ch.basic_ack

scripts.bump_version.parse_version

Parse version string into tuple of (major, minor, patch)

  • Output to: version_str.split, tuple, int

scripts.bump_version.format_version

Format version tuple as string

scripts.benchmark_badges.parse_evolution_metrics

Extract metrics from evolution.toon content.

  • Output to: toon_content.splitlines, re.search, line.strip, line.startswith, m.group

scripts.benchmark_badges.parse_format_quality_report

Parse format quality JSON report.

  • Output to: report_path.exists, json.loads, data.get, report_path.read_text

scripts.benchmark_badges.parse_performance_report

Parse performance JSON report.

  • Output to: report_path.exists, json.loads, report_path.read_text

scripts.benchmark_badges.generate_format_quality_badges

Generate badges from format quality scores.

  • Output to: enumerate, badges.append, sorted, badges.append, format_scores.items

code2llm.cli_parser.create_parser

Create CLI argument parser.

  • Output to: argparse.ArgumentParser, parser.add_argument, parser.add_argument, parser.add_argument, parser.add_argument

validate_toon.validate_toon_completeness

Validate toon format structure.

  • Output to: print, print, bool, bool, bool

test_python_only.valid.sample.UserService.process_users

  • Output to: print

code2llm.analysis.data_analysis.DataAnalyzer._identify_process_patterns

Identify common data processing patterns (filter, map, reduce, etc.).

  • Output to: result.functions.items, patterns.items, sorted, func.name.lower, indicators.items

code2llm.analysis.data_analysis.OptimizationAdvisor.identify_process_patterns

Identify common data processing patterns.

  • Output to: None._identify_process_patterns, DataAnalyzer

code2llm.analysis.utils.ast_helpers.ast_unparse

Convert an AST node to its source string via ast.unparse (Python 3.9+).

Used as a shared replacemen

  • Output to: hasattr, ast.unparse, str, str

code2llm.core.ast_registry.ASTRegistry.invalidate

Remove cached AST and source for filepath (e.g. after file write).

  • Output to: self._trees.pop, self._sources.pop

Public API Surface

Functions exposed as public API (no underscore prefix):

  • pipeline.run_pipeline - 68 calls
  • code2llm.cli_parser.create_parser - 45 calls
  • cli_parser.create_parser - 45 calls
  • code2llm.generators.llm_task.normalize_llm_task - 43 calls
  • generators.llm_task.normalize_llm_task - 43 calls
  • code2llm.generators.llm_flow.generator.render_llm_flow_md - 42 calls
  • generators.llm_flow.generator.render_llm_flow_md - 42 calls
  • benchmarks.benchmark_performance.main - 41 calls
  • validate_toon.analyze_class_differences - 39 calls
  • benchmarks.benchmark_evolution.run_benchmark - 34 calls
  • code2llm.cli_commands.handle_cache_command - 33 calls
  • cli_commands.handle_cache_command - 33 calls
  • code2llm.core.lang.rust.analyze_rust - 31 calls
  • core.lang.rust.analyze_rust - 31 calls
  • benchmarks.benchmark_optimizations.benchmark_cold_vs_warm - 30 calls
  • benchmarks.benchmark_performance.create_test_project - 29 calls
  • code2llm.nlp.pipeline.NLPPipeline.process - 29 calls
  • nlp.pipeline.NLPPipeline.process - 29 calls
  • code2llm.exporters.mermaid.compact.export_compact - 27 calls
  • exporters.mermaid.compact.export_compact - 27 calls
  • validate_toon.compare_modules - 26 calls
  • code2llm.core.streaming_analyzer.StreamingAnalyzer.analyze_streaming - 26 calls
  • code2llm.exporters.mermaid.calls.export_calls - 26 calls
  • core.streaming_analyzer.StreamingAnalyzer.analyze_streaming - 26 calls
  • exporters.mermaid.calls.export_calls - 26 calls
  • benchmarks.benchmark_evolution.parse_evolution_metrics - 25 calls
  • code2llm.exporters.toon.metrics_core.CoreMetricsComputer.compute_file_metrics - 25 calls
  • code2llm.exporters.toon.ToonExporter.export - 25 calls
  • exporters.toon.ToonExporter.export - 25 calls
  • exporters.toon.metrics_core.CoreMetricsComputer.compute_file_metrics - 25 calls
  • validate_toon.compare_functions - 24 calls
  • code2llm.exporters.context_exporter.ContextExporter.export - 24 calls
  • code2llm.exporters.evolution.yaml_export.export_to_yaml - 24 calls
  • exporters.context_exporter.ContextExporter.export - 24 calls
  • exporters.evolution.yaml_export.export_to_yaml - 24 calls
  • scripts.benchmark_badges.main - 23 calls
  • benchmarks.format_evaluator.evaluate_format - 22 calls
  • code2llm.core.analyzer.ProjectAnalyzer.analyze_project - 22 calls
  • benchmarks.benchmark_format_quality.run_benchmark - 22 calls
  • code2llm.exporters.evolution_exporter.EvolutionExporter.export - 22 calls

System Interactions

How components interact:

graph TD
Loading

Reverse Engineering Guidelines

  1. Entry Points: Start analysis from the entry points listed above
  2. Core Logic: Focus on classes with many methods
  3. Data Flow: Follow data transformation functions
  4. Process Flows: Use the flow diagrams for execution paths
  5. API Surface: Public API functions reveal the interface

Context for LLM

Maintain the identified architectural patterns and public API surface when suggesting changes.