-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathcoverage-thresholds.json
More file actions
146 lines (146 loc) · 3.74 KB
/
Copy pathcoverage-thresholds.json
File metadata and controls
146 lines (146 loc) · 3.74 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"$comment": "Single source of truth for per-package coverage floors. Edited automatically by the nightly coverage ratchet (packages/dev-tools/tools/coverage-ratchet.mjs), which only ever raises floors and keeps a ~0.5-1.5pp headroom below measured coverage (a half-point safety margin then floored to a whole percentage). Consumed by the CI gates via coverage-gate.mjs (TypeScript) and swift-coverage-check.sh (Swift). Do not hand-lower these values.",
"typescript": {
"cloudflare-worker": {
"lines": 86,
"statements": 85,
"functions": 92,
"branches": 75,
"coverageExclude": [
"**/node_modules/**",
"**/dist/**",
"**/tests/**",
"**/*.d.ts",
"**/*.config.{ts,js,mjs}",
"**/types.ts",
"**/shims/**",
"packages/*/src/**/*.test.ts",
"packages/shared-ts/**",
"packages/cloud-core/**"
]
},
"node-server": {
"lines": 82,
"statements": 79,
"functions": 84,
"branches": 69,
"coverageExclude": [
"**/node_modules/**",
"**/dist/**",
"**/tests/**",
"**/*.d.ts",
"**/*.config.{ts,js,mjs}",
"**/types.ts",
"**/index.html",
"**/shims/**",
"packages/*/src/**/*.test.ts",
"packages/shared-ts/src/secret-env-schema.ts"
]
},
"chrome-extension": {
"lines": 81,
"statements": 80,
"functions": 72,
"branches": 68,
"coverageExclude": [
"**/node_modules/**",
"**/dist/**",
"**/tests/**",
"**/*.d.ts",
"**/*.config.{ts,js,mjs}",
"**/types.ts",
"**/index.html",
"**/shims/**",
"packages/*/src/**/*.test.ts",
"packages/chrome-extension/vite-plugins/**",
"packages/webapp/src/scoops/**",
"packages/webapp/src/net/**",
"packages/webapp/src/shell/**",
"packages/webapp/src/fs/**",
"packages/webapp/src/kernel/**",
"packages/webapp/src/core/proxy-error.ts",
"packages/webapp/src/core/runtime-env.ts",
"packages/webapp/src/cdp/remote-cdp-transport.ts",
"packages/node-server/src/**",
"packages/shared-ts/**"
]
},
"webapp": {
"lines": 78,
"statements": 76,
"functions": 77,
"branches": 66,
"coverageExclude": [
"**/node_modules/**",
"**/dist/**",
"**/tests/**",
"**/*.d.ts",
"**/*.config.{ts,js,mjs}",
"**/types.ts",
"**/index.html",
"**/shims/**",
"packages/*/src/**/*.test.ts",
"packages/webcomponents/**"
]
},
"cherry": {
"lines": 83,
"statements": 81,
"functions": 96,
"branches": 66
},
"cloud-core": {
"lines": 85,
"statements": 83,
"functions": 76,
"branches": 77,
"coverageExclude": [
"**/node_modules/**",
"**/dist/**",
"**/tests/**",
"**/*.d.ts",
"**/*.config.{ts,js,mjs}",
"**/types.ts",
"**/index.html",
"**/shims/**",
"packages/*/src/**/*.test.ts",
"packages/shared-ts/**"
]
},
"shared": {
"lines": 95,
"statements": 93,
"functions": 92,
"branches": 86
},
"webcomponents": {
"lines": 95,
"statements": 91,
"functions": 95,
"branches": 80
},
"spoon": {
"lines": 67,
"statements": 65,
"functions": 82,
"branches": 66
}
},
"swift": {
"swift-server": {
"lines": 59,
"functions": 58,
"regions": 56
},
"swift-launcher": {
"lines": 32,
"functions": 37,
"regions": 42
},
"swift-optel": {
"lines": 75,
"functions": 70,
"regions": 79
}
}
}