1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
{
// As of now:
"lines": {
"a/b/c.py": [1, 2, 3, 4, 5],
"a/b/d.py": [4, 5, 6, 7, 8],
},
"arcs": {
"a/b/c.py: [[1, 2], [2, 3], [4, 5]],
},
"file_tracers": {
"a/b/c.py": "fooey.plugin",
},
// We used to do this, but it got too bulky, removed in 4.0.1:
"run" {
"collector": "coverage.py 4.0",
"config": {
"branch": true,
"source": ".",
},
"collected": "20150711T090600",
},
// Maybe in the future?
"files": {
"a/b/c.py": {
"lines": [1, 2, 3, 4, 5],
"arcs": [
[1, 2], [3, 4], [5, -1],
],
"plugin": "django.coverage",
"lines": {
"1": {
"tests": [
"foo/bar/test.py:TheTest.test_it",
"asdasdasd",
],
"tests": [17, 34, 23, 12389],
},
"2": {
"count": 23,
},
"3": {},
"4": {},
"17": {},
},
"arcs": {
"1.2": {},
"2.3": {},
"3.-1": {},
},
},
},
"tests": [
{
"file": "a/b/c.py",
"test": "test_it",
},
{
"file": "a/b/d.py",
"test": "TheTest.test_it",
},
],
"runs": [
{
// info about each run?
},
{ ... },
],
}
|