diff options
-rw-r--r-- | TODO.txt | 2 | ||||
-rw-r--r-- | coverage/cmdline.py | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -14,7 +14,7 @@ Coverage TODO + Maybe turning off yellow lines should make those lines green?
+ A missing branch to leave the function shows an annotation of -1. Now "exit".
+ XML report needs to get branch information.
-- Add branch info to "coverage debug data"
++ Add branch info to "coverage debug data"
* 3.3
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: |