feat: 多轮运行 + GCOV 合并 + JSON 出力 + DesignDataGenerator

This commit is contained in:
hangshuo652
2026-07-12 21:04:58 +08:00
parent af37e33b98
commit f3be17e5eb
40 changed files with 4397 additions and 198 deletions
+3
View File
@@ -157,6 +157,9 @@ def mark_from_gcov(decision_points: list, gcov_data: dict[int, int],
dp.active_branches.add('T')
if else_cov:
dp.active_branches.add('F')
# P0: ELSE-less IF — F is structurally mandatory when IF line executed
if not else_lines and then_lines and count > 0:
dp.active_branches.add('F')
# 如果体行范围为空或无法判断,回退到基于 IF 行计数
if not then_lines and not else_lines:
if count > 0: