summaryrefslogtreecommitdiff
path: root/coverage/jsonreport.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/jsonreport.py')
-rw-r--r--coverage/jsonreport.py2
1 files changed, 2 insertions, 0 deletions
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