From 8e6a3ee7fa32f220b0a8dfb1bdf2552da1e8b872 Mon Sep 17 00:00:00 2001 From: Jonathan Metzman Date: Tue, 24 Sep 2024 14:17:12 -0400 Subject: [PATCH] Calculate branch coverage correctly --- experiment/measurer/coverage_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experiment/measurer/coverage_utils.py b/experiment/measurer/coverage_utils.py index 42ca57385..7a49350d7 100644 --- a/experiment/measurer/coverage_utils.py +++ b/experiment/measurer/coverage_utils.py @@ -283,7 +283,7 @@ def generate_json_summary(coverage_binary, expect_zero=False) return result - +# Test def extract_covered_branches_from_summary_json(summary_json_file): """Returns the covered branches given a coverage summary json file.""" covered_branches = []