Commit f87d2c1
committed
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
File tree
- code2llm
- analysis
- exporters
- toon
- generators
- nlp
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
3 | 22 | | |
4 | 23 | | |
5 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
0 commit comments