summaryrefslogtreecommitdiff
path: root/coverage/cmdline.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-11-27 15:33:54 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-11-27 15:33:54 -0500
commite9657d8c0d4c6dbff507edde89e40f4df2f4a449 (patch)
tree3b4bc5f74b16e18c8625df000b78f9d6d0534934 /coverage/cmdline.py
parentab36966c4986b7e14fab933119fd7fee7a4ae729 (diff)
downloadpython-coveragepy-git-e9657d8c0d4c6dbff507edde89e40f4df2f4a449.tar.gz
Add a little bit of branch information to 'debug data'
Diffstat (limited to 'coverage/cmdline.py')
-rw-r--r--coverage/cmdline.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/coverage/cmdline.py b/coverage/cmdline.py
index 1029ad63..938099e2 100644
--- a/coverage/cmdline.py
+++ b/coverage/cmdline.py
@@ -429,9 +429,12 @@ class CoverageScript(object):
elif info == 'data':
print("-- data ---------------------------------------")
self.coverage.load()
+ print("path: %s" % self.coverage.data.filename)
+ print("has_arcs: %r" % self.coverage.data.has_arcs())
summary = self.coverage.data.summary(fullpath=True)
if summary:
filenames = sorted(summary.keys())
+ print("\n%d files:" % len(filenames))
for f in filenames:
print("%s: %d lines" % (f, summary[f]))
else: