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 0c3f313d..1f544b0d 100644
--- a/coverage/jsonreport.py
+++ b/coverage/jsonreport.py
@@ -60,6 +60,8 @@ class JsonReporter(object):
self.report_data["totals"].update({
'num_branches': self.total.n_branches,
'num_partial_branches': self.total.n_partial_branches,
+ 'covered_branches': self.total.n_executed_branches,
+ 'missing_branches': self.total.n_missing_branches,
})
json.dump(