summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 3861cc19..c08fda62 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -382,6 +382,10 @@ class Analysis(object):
pc_cov = 100.0
return pc_cov
+ def has_arcs(self):
+ """Were arcs measured in this result?"""
+ return self.coverage.data.has_arcs()
+
def arc_possibilities(self):
"""Returns a sorted list of the arcs in the code."""
return self.parser.arcs()