Skip to content

Commit f87d2c1

Browse files
refactor(docs): code analysis engine
changes: - file: __init__.py area: analyzer modified: [__getattr__] - file: call_graph.py area: analyzer modified: [CallGraphExtractor, visit_FunctionDef] removed: [_qualified_name] - file: cfg.py area: analyzer modified: [CFGExtractor, visit_FunctionDef] removed: [_qualified_name] - file: data_analysis.py area: analyzer modified: [DataAnalyzer, _identify_process_patterns, _infer_return_types, _infer_parameter_types, _build_data_flow_graph, _analyze_optimization_opportunities] - file: pipeline_classifier.py area: analyzer added: [__init__, derive_pipeline_name, get_entry_type, get_exit_type, classify_domain, PipelineClassifier] - file: pipeline_detector.py area: analyzer modified: [PipelineDetector, __init__, _build_pipelines, _build_graph] removed: [_resolve_callee, _try_same_class_resolution, _select_same_class_candidate, _derive_pipeline_name, _get_entry_type, _classify_domain, +3 more] - file: pipeline_resolver.py area: analyzer added: [resolve, _select_same_class_candidate, _try_same_class_resolution, _strip_self_prefix, _get_suffix_candidates, PipelineResolver] - file: dashboard_data.py area: core added: [build_module_lines_chart, build_alerts_html, health_verdict, build_module_funcs_chart, build_hotspots_html, build_refactoring_html, +4 more] - file: dashboard_renderer.py area: core added: [_render_evolution_section, _assemble_html, render, DashboardRenderer, trend, _render_evolution_script] - file: html_dashboard.py area: core added: [__init__] modified: [_render, HTMLDashboardGenerator] removed: [_build_hotspots_html, _health_verdict, _build_language_breakdown, _build_evolution_section, _build_module_lines_chart, _assemble_html, +7 more] - file: map_exporter.py area: core modified: [_count_total_lines, export_to_yaml, _rank_modules, MapExporter, _render_module_list, _detect_languages, +1 more] removed: [_is_excluded] - file: helpers.py area: util removed: [_is_excluded] - file: metrics.py area: quality modified: [__init__, _compute_hotspots, _get_cycles, MetricsComputer, compute_all_metrics] removed: [_process_function_calls, _detect_duplicates, _compute_health, _resolve_callee_module, _check_smells_health, _handle_suffix_match, +17 more] - file: metrics_core.py area: quality added: [_process_function_calls, __init__, compute_coupling_matrix, _resolve_callee_module, CoreMetricsComputer, compute_function_metrics, +11 more] - file: metrics_duplicates.py area: quality added: [_check_class_for_duplicates, __init__, _calculate_duplicate_info, DuplicatesMetricsComputer, detect_duplicates] - file: metrics_health.py area: quality added: [__init__, _check_high_cc_health, _check_smells_health, compute_health, _check_god_modules_health, _check_duplicates_health, +1 more] - file: llm_flow.py area: core modified: [_parse_func_label, _as_list, _shorten, _parse_call_label, _as_dict, _safe_read_yaml, +5 more] - file: mermaid.py area: core added: [_setup_puppeteer_config, _run_mmdc_subprocess, _build_renderers] modified: [generate_single_png] - file: validate_toon.py area: core added: [_extract_keys_from_yaml] modified: [extract_classes_from_yaml, extract_modules_from_yaml] dependencies: flow: "html_dashboard→dashboard_data, pipeline_detector→pipeline_classifier, metrics→metrics_core" - pipeline_detector.py -> pipeline_resolver.py - pipeline_detector.py -> pipeline_classifier.py - html_dashboard.py -> dashboard_data.py - html_dashboard.py -> dashboard_renderer.py - metrics.py -> metrics_core.py - metrics.py -> metrics_health.py - metrics.py -> metrics_duplicates.py stats: lines: "+1838/-5309 (net -3471)" files: 24 complexity: "Stable complexity"
1 parent 03e08ba commit f87d2c1

30 files changed

Lines changed: 1862 additions & 5314 deletions

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
## [Unreleased]
22

3+
## [0.5.121] - 2026-04-19
4+
5+
### Docs
6+
- Update SUMD.md
7+
- Update SUMR.md
8+
9+
### Other
10+
- Update SUMR.json
11+
- Update code2llm/analysis/__init__.py
12+
- Update code2llm/analysis/call_graph.py
13+
- Update code2llm/analysis/cfg.py
14+
- Update code2llm/analysis/data_analysis.py
15+
- Update code2llm/analysis/pipeline_classifier.py
16+
- Update code2llm/analysis/pipeline_detector.py
17+
- Update code2llm/analysis/pipeline_resolver.py
18+
- Update code2llm/exporters/dashboard_data.py
19+
- Update code2llm/exporters/dashboard_renderer.py
20+
- ... and 11 more files
21+
322
## [0.5.120] - 2026-04-19
423

524
## [0.5.119] - 2026-04-19

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## AI Cost Tracking
55

6-
![PyPI](https://img.shields.io/badge/pypi-costs-blue) ![Version](https://img.shields.io/badge/version-0.5.120-blue) ![Python](https://img.shields.io/badge/python-3.9+-blue) ![License](https://img.shields.io/badge/license-Apache--2.0-green)
6+
![PyPI](https://img.shields.io/badge/pypi-costs-blue) ![Version](https://img.shields.io/badge/version-0.5.121-blue) ![Python](https://img.shields.io/badge/python-3.9+-blue) ![License](https://img.shields.io/badge/license-Apache--2.0-green)
77
![AI Cost](https://img.shields.io/badge/AI%20Cost-$7.50-orange) ![Human Time](https://img.shields.io/badge/Human%20Time-57.3h-blue) ![Model](https://img.shields.io/badge/Model-openrouter%2Fqwen%2Fqwen3--coder--next-lightgrey)
88

99
- 🤖 **LLM usage:** $7.5000 (166 commits)

0 commit comments

Comments
 (0)