Releases: JaponBaligi/gdmetrics-g4
Release list
v1.6.0
GDMetrics for Godot 4 — v1.0.0
Pride Versioning PROUD release (1.0.0). Stable report/config contract.
Highlights
- Schema freeze: JSON report
"version": "1.0"and config keys documented indocs/SCHEMA.md - Shared core: calculators, detectors, gates, history, errors, logger under
addons/gdscript_complexity/src/core/(canonical in g4; sync withscripts/sync_core.ps1) - Editor annotations: after Analyze Project, functions at or above
cc/cogthreshold_failget ScriptEditor annotations viaadd_error_annotation(Godot 4.2+) - Prior DEFAULT features retained: HTML/CSV/JSON, history JSONL, CLI
--diff/--fail-on-diff-regression, structural gates
Install
- Download
gdmetrics-v1.0.0.zip - Copy
addons/gdscript_complexity/andcli/into your Godot 4 project - Project → Project Settings → Plugins → enable GDScript Complexity Analyzer
- Optional: copy
examples/github-actions/complexity-check.ymlinto.github/workflows/
CLI
godot --headless --script cli/analyze_project.gd -- \
--project-path . --output report.json --csv-output report.csv --html-output report.html
godot --headless --script cli/analyze_project.gd -- \
--project-path . --output report.json --diff
godot --headless --script cli/analyze_project.gd -- \
--project-path . --output report.json --baseline baseline.jsonl --fail-on-diff-regressionDocs
See README.md, docs/SCHEMA.md, docs/USER_GUIDE.md, docs/DISTRIBUTION.md, and docs/COMPATIBILITY.md.
Breaking
See docs/BREAKING_CHANGES.md (1.0.0): core load paths moved to src/core/; schema is frozen until 2.0.0.
v1.0.0
GDMetrics for Godot 4 — v1.0.0
Pride Versioning PROUD release (1.0.0). Stable report/config contract.
Highlights
- Schema freeze: JSON report
"version": "1.0"and config keys documented indocs/SCHEMA.md - Shared core: calculators, detectors, gates, history, errors, logger under
addons/gdscript_complexity/src/core/(canonical in g4; sync withscripts/sync_core.ps1) - Editor annotations: after Analyze Project, functions at or above
cc/cogthreshold_failget ScriptEditor annotations viaadd_error_annotation(Godot 4.2+) - Prior DEFAULT features retained: HTML/CSV/JSON, history JSONL, CLI
--diff/--fail-on-diff-regression, structural gates
Install
- Download
gdmetrics-v1.0.0.zip - Copy
addons/gdscript_complexity/andcli/into your Godot 4 project - Project → Project Settings → Plugins → enable GDScript Complexity Analyzer
- Optional: copy
examples/github-actions/complexity-check.ymlinto.github/workflows/
CLI
godot --headless --script cli/analyze_project.gd -- \
--project-path . --output report.json --csv-output report.csv --html-output report.html
godot --headless --script cli/analyze_project.gd -- \
--project-path . --output report.json --diff
godot --headless --script cli/analyze_project.gd -- \
--project-path . --output report.json --baseline baseline.jsonl --fail-on-diff-regressionDocs
See README.md, docs/SCHEMA.md, docs/USER_GUIDE.md, docs/DISTRIBUTION.md, and docs/COMPATIBILITY.md.
Breaking
See docs/BREAKING_CHANGES.md (1.0.0): core load paths moved to src/core/; schema is frozen until 2.0.0.
v0.4.0
GDMetrics for Godot 4 — v0.4.0
Pride Versioning DEFAULT release (PROUD.DEFAULT.SHAME). Early / pre-stable until 1.0.0.
Highlights
- Append-only history: successful analyses append a JSON line to
complexity_history.jsonl(configurable viareport.history_path) - CLI diff:
--diffprints Δ totals/averages and fail_count vs previous history line or--baseline;--fail-on-diff-regressionexits1whenavg_cogorfail_countincreases - CI matrix: GitHub Actions tests on Godot 4.0.4 and 4.2.0
Install
- Download
gdmetrics-v0.4.0.zip - Copy
addons/gdscript_complexity/andcli/into your Godot 4 project - Project → Project Settings → Plugins → enable GDScript Complexity Analyzer
- Optional: copy
examples/github-actions/complexity-check.ymlinto.github/workflows/
CLI
godot --headless --script cli/analyze_project.gd -- \
--project-path . --output report.json --csv-output report.csv --html-output report.html
# Trend vs previous history line
godot --headless --script cli/analyze_project.gd -- \
--project-path . --output report.json --diff
# Fail CI on avg_cog / fail_count regression vs baseline snapshot
godot --headless --script cli/analyze_project.gd -- \
--project-path . --output report.json --baseline baseline.jsonl --fail-on-diff-regressionDocs
See README.md, docs/USER_GUIDE.md, docs/DISTRIBUTION.md, and docs/COMPATIBILITY.md in the zip.
v0.3.0
GDMetrics for Godot 4 — v0.3.0
Pride Versioning DEFAULT release (PROUD.DEFAULT.SHAME). Early / pre-stable until 1.0.0.
Highlights
- HTML report: self-contained HTML with totals, top offenders, per-file table, and SVG C-COG bars (
--html-output/ Export HTML) - Dock secondary metrics: Nest, Params, LOC columns on file rows
- Structural gates:
structuralconfig keys for NEST / PARAMS / LOC warn+fail thresholds - JSON per-function CC: each function entry includes
"cc"alongside"cog" - CI threshold gates for CC / C-COG / structural metrics (exit code
1on fail)
Install
- Download
gdmetrics-v0.3.0.zip - Copy
addons/gdscript_complexity/andcli/into your Godot 4 project - Project → Project Settings → Plugins → enable GDScript Complexity Analyzer
- Optional: copy
examples/github-actions/complexity-check.ymlinto.github/workflows/
CLI
godot --headless --script cli/analyze_project.gd -- \
--project-path . --output report.json --csv-output report.csv --html-output report.htmlDocs
See README.md, docs/USER_GUIDE.md, docs/DISTRIBUTION.md, and docs/COMPATIBILITY.md in the zip.
v0.2.0
GDMetrics for Godot 4 — v0.2.0
Pride Versioning DEFAULT release (PROUD.DEFAULT.SHAME). Early / pre-stable until 1.0.0.
Highlights
- CI threshold gates:
cc.threshold_fail/cog.threshold_failreturn exit code1with a breach summary - Consumer CLI:
cli/analyze_project.gd(exit0/1/2) - Release zip includes
cli/andexamples/github-actions/ - Drop-in GitHub Actions template for PR complexity gates
- Docs: Pride Versioning + distribution notes (
docs/DISTRIBUTION.md)
Install
- Download
gdmetrics-v0.2.0.zip - Copy
addons/gdscript_complexity/andcli/into your Godot 4 project - Project → Project Settings → Plugins → enable GDScript Complexity Analyzer
- Optional: copy
examples/github-actions/complexity-check.ymlinto.github/workflows/
CLI
godot --headless --script cli/analyze_project.gd -- \
--project-path . --output report.json --csv-output report.csvDocs
See README.md, docs/USER_GUIDE.md, docs/DISTRIBUTION.md, and docs/COMPATIBILITY.md in the zip.
v0.1.3
GDMetrics for Godot 4 — v0.1.3
Early release / pre-stable. Breaking changes may still occur before v1.0.
Highlights
- Match/
whenarms, lambdas, raw strings,%Unique/&"…"/^"…"/@"…" - Godot 4 multiline regular
"…"/'…'strings (engine-accepted newlines) - Line-continuation and triple-string trail/
\fixes shared with the g3 line - External project host CLI (
tests/analyze_external.gd) - Edge-case fixtures + corpus validation against real Godot 4 projects (
D:\test-4: 12/12, 0 soft token errors)
Install
- Download
gdmetrics-v0.1.3.zip - Copy
addons/gdscript_complexity/into your Godot 4 project - Project → Project Settings → Plugins → enable GDScript Complexity Analyzer
Docs
See README.md, docs/USER_GUIDE.md, docs/EDGE_CASES.md, and docs/COMPATIBILITY.md in the zip.