Skip to content

Commit 4f07b74

Browse files
refactor(docs): code analysis engine
stats: lines: "+1882/-157265 (net -155383)" files: 15 complexity: "Stable complexity"
1 parent c3ec787 commit 4f07b74

21 files changed

Lines changed: 1906 additions & 157269 deletions

CHANGELOG.md

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

3+
## [0.5.79] - 2026-03-25
4+
5+
### Docs
6+
- Update docs/README.md
7+
- Update project/README.md
8+
- Update project/context.md
9+
10+
### Other
11+
- Update project/analysis.json
12+
- Update project/analysis.toon.yaml
13+
- Update project/analysis.yaml
14+
- Update project/calls.mmd
15+
- Update project/calls.png
16+
- Update project/compact_flow.mmd
17+
- Update project/compact_flow.png
18+
- Update project/duplication.toon.yaml
19+
- Update project/evolution.toon.yaml
20+
- Update project/flow.mmd
21+
- ... and 3 more files
22+
323
## [0.5.78] - 2026-03-25
424

525
### Docs

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.5.78
1+
0.5.79

code2llm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
and entity resolution with multilingual support.
99
"""
1010

11-
__version__ = "0.5.78"
11+
__version__ = "0.5.79"
1212
__author__ = "STTS Project"
1313

1414
# Core analysis components (lightweight, always needed)

code2llm/nlp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
with multilingual support and fuzzy matching.
55
"""
66

7-
__version__ = "0.5.78"
7+
__version__ = "0.5.79"
88

99
from .pipeline import NLPPipeline
1010
from .normalization import QueryNormalizer

docs/README.md

Lines changed: 574 additions & 0 deletions
Large diffs are not rendered by default.

project/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ When you run `code2llm ./ -f all`, the following files are created:
1111
| File | Format | Purpose | Key Insights |
1212
|------|--------|---------|--------------|
1313
| `evolution.toon.yaml` | **YAML** | **📋 Refactoring queue** - Prioritized improvements | 0 refactoring actions needed |
14+
| `map.toon.yaml` | **YAML** | **🗺️ Structural map + project header** - Modules, imports, exports, signatures, stats, alerts, hotspots, trend | Project architecture overview |
1415

1516
### 🤖 LLM-Ready Documentation
1617

@@ -331,6 +332,6 @@ code2llm ./ -f yaml --separate-orphans
331332
**Analysis Date**: 2026-03-25
332333
**Total Functions**: 923
333334
**Total Classes**: 106
334-
**Modules**: 122
335+
**Modules**: 117
335336

336337
For more information about code2llm, visit: https://github.com/tom-sapletta/code2llm

project/analysis.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

project/analysis.toon.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
# code2llm | 113f 21241L | python:108,shell:4,php:1 | 2026-03-25
1+
# code2llm | 113f 21241L | python:105,shell:2,php:1 | 2026-03-25
22
# CC̄=4.6 | critical:10/923 | dups:0 | cycles:0
33

44
HEALTH[10]:
5-
🟡 CC _extract_declarations CC=65 (limit:15)
5+
🟡 CC main CC=17 (limit:15)
6+
🟡 CC validate_chunked_output CC=15 (limit:15)
67
🟡 CC export_to_yaml CC=25 (limit:15)
7-
🟡 CC export_flow_detailed CC=25 (limit:15)
88
🟡 CC export_flow_compact CC=23 (limit:15)
9+
🟡 CC export_flow_detailed CC=25 (limit:15)
910
🟡 CC export_flow_full CC=23 (limit:15)
10-
🟡 CC main CC=17 (limit:15)
11-
🟡 CC analyze_ruby CC=17 (limit:15)
1211
🟡 CC _export_mermaid CC=16 (limit:15)
1312
🟡 CC extract_calls_regex CC=16 (limit:15)
14-
🟡 CC validate_chunked_output CC=15 (limit:15)
13+
🟡 CC _extract_declarations CC=65 (limit:15)
14+
🟡 CC analyze_ruby CC=17 (limit:15)
1515

1616
REFACTOR[1]:
1717
1. split 10 high-CC methods (CC>15)
1818

1919
PIPELINES[637]:
20-
[1] Src [read_readme]: read_readme
20+
[1] Src [run_benchmark]: run_benchmark → load_previous
2121
PURITY: 100% pure
22-
[2] Src [run_benchmark]: run_benchmark → load_previous
22+
[2] Src [read_readme]: read_readme
2323
PURITY: 100% pure
2424
[3] Src [save_report]: save_report
2525
PURITY: 100% pure

0 commit comments

Comments
 (0)