From b79005b3b7225497f55dfce872d72f9323ddf08c Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 11 Apr 2020 16:21:41 -0400 Subject: New JSON info should be reported on individual files also. --- coverage/jsonreport.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'coverage/jsonreport.py') diff --git a/coverage/jsonreport.py b/coverage/jsonreport.py index 1f544b0d..4287bc79 100644 --- a/coverage/jsonreport.py +++ b/coverage/jsonreport.py @@ -97,5 +97,7 @@ class JsonReporter(object): reported_file['summary'].update({ 'num_branches': nums.n_branches, 'num_partial_branches': nums.n_partial_branches, + 'covered_branches': nums.n_executed_branches, + 'missing_branches': nums.n_missing_branches, }) return reported_file -- cgit v1.2.1