summaryrefslogtreecommitdiff
path: root/lab
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-04-07 08:00:39 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-04-07 08:00:39 -0400
commit0f70ada26802544922dc0dd2ab59fbbaf5745769 (patch)
tree924c3453fe0f05c0060c85beefe425c4840ddbe8 /lab
parent978b41a29eda295974ed5cf1a7cd5b79b148f479 (diff)
downloadpython-coveragepy-git-0f70ada26802544922dc0dd2ab59fbbaf5745769.tar.gz
Starting to consider richer data storage.
Diffstat (limited to 'lab')
-rw-r--r--lab/dataformat.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/lab/dataformat.txt b/lab/dataformat.txt
new file mode 100644
index 00000000..25494470
--- /dev/null
+++ b/lab/dataformat.txt
@@ -0,0 +1,11 @@
+# Data file format, a pickled dict, with keys:
+#
+# collector: a string identifying the collecting software
+# lines: a dict mapping filenames to lists of line numbers executed:
+# { 'file1': [17,23,45], 'file2': [1,2,3], }
+# partial_lines: a dict mapping filenames to dicts mapping line numbers to
+# partial info. Partial info is a tuple, exec, poss, explanation?
+# Fully-executed lines can be omitted, as well as fully-non-executed lines.
+# { 'file1': { 1: (4,8,'a myfunc'), 2: (99,100,''), }, }
+#
+