summaryrefslogtreecommitdiff
path: root/coverage/lcovreport.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/lcovreport.py')
-rw-r--r--coverage/lcovreport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/lcovreport.py b/coverage/lcovreport.py
index 4dc73c29..9791daed 100644
--- a/coverage/lcovreport.py
+++ b/coverage/lcovreport.py
@@ -96,7 +96,7 @@ class LcovReporter:
outfile.write(f"BRDA:{line_number},{block_number},{branch_number},1\n")
# Summary of the branch coverage.
- if analysis.has_arcs():
+ if analysis.has_arcs:
branch_stats = analysis.branch_stats()
brf = sum(t for t, k in branch_stats.values())
brh = brf - sum(t - k for t, k in branch_stats.values())