summaryrefslogtreecommitdiff
path: root/coverage/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'coverage/data.py')
-rw-r--r--coverage/data.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/coverage/data.py b/coverage/data.py
index 26dc5aa1..0c1fc3aa 100644
--- a/coverage/data.py
+++ b/coverage/data.py
@@ -198,6 +198,10 @@ class CoverageData:
"""
return self.lines.get(filename) or {}
+ def executed_arcs(self, filename):
+ """A map containing all the arcs executed in `filename`."""
+ return self.arcs.get(filename) or {}
+
def summary(self, fullpath=False):
"""Return a dict summarizing the coverage data.