fix: gcov Windows本地化 + runner合并 + 决策覆盖率修复

- gcov从WSL 15.2改为Windows MinGW 9.2.0,消除.gcno格式不匹配
- coverage.py去除leaf_stats复位bug(决策覆盖率恢复)
- runner.py合并V3编译+SOURCE分组执行+出力保存
- __init__.py gcov条件/outdir解析修复
This commit is contained in:
hangshuo652
2026-07-02 21:26:51 +08:00
parent b3d1643220
commit 40e8a50ab4
6 changed files with 635 additions and 21 deletions
+1 -3
View File
@@ -1199,9 +1199,7 @@ def run_coverage(branch_tree, branch_paths_with_assigns, fields,
if gcov_data:
mark_from_gcov(decision_points, gcov_data, branch_tree)
for ls in leaf_stats:
ls.covered_true = False
ls.covered_false = False
# leaf_stats 保留静态分析结果(gcov 无 -b 时不提供叶条件级别的分支数据)
_source_note = ''
if gcov_data: