@clipr/worker 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +2 -2
  3. package/.dev.vars +0 -2
  4. package/coverage/base.css +0 -224
  5. package/coverage/block-navigation.js +0 -87
  6. package/coverage/clover.xml +0 -432
  7. package/coverage/coverage-final.json +0 -16
  8. package/coverage/favicon.png +0 -0
  9. package/coverage/index.html +0 -161
  10. package/coverage/prettify.css +0 -1
  11. package/coverage/prettify.js +0 -2
  12. package/coverage/sort-arrow-sprite.png +0 -0
  13. package/coverage/sorter.js +0 -210
  14. package/coverage/src/crypto.ts.html +0 -340
  15. package/coverage/src/index.html +0 -176
  16. package/coverage/src/index.ts.html +0 -262
  17. package/coverage/src/kv-backend.ts.html +0 -295
  18. package/coverage/src/kv.ts.html +0 -577
  19. package/coverage/src/middleware/auth.ts.html +0 -250
  20. package/coverage/src/middleware/index.html +0 -116
  21. package/coverage/src/routes/health.ts.html +0 -100
  22. package/coverage/src/routes/import-export.ts.html +0 -232
  23. package/coverage/src/routes/index.html +0 -221
  24. package/coverage/src/routes/links.ts.html +0 -379
  25. package/coverage/src/routes/password.ts.html +0 -436
  26. package/coverage/src/routes/qr.ts.html +0 -202
  27. package/coverage/src/routes/redirect.ts.html +0 -346
  28. package/coverage/src/routes/shorten.ts.html +0 -340
  29. package/coverage/src/routes/stats.ts.html +0 -145
  30. package/coverage/src/test-utils.ts.html +0 -184
  31. package/coverage/src/utils/index.html +0 -116
  32. package/coverage/src/utils/qr.ts.html +0 -190
  33. package/dist/README.md +0 -1
  34. package/dist/index.js +0 -7139
  35. package/dist/index.js.map +0 -8
@@ -1,432 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1774967635174" clover="3.2.0">
3
- <project timestamp="1774967635174" name="All files">
4
- <metrics statements="369" coveredstatements="280" conditionals="214" coveredconditionals="119" methods="60" coveredmethods="49" elements="643" coveredelements="448" complexity="0" loc="369" ncloc="369" packages="4" files="15" classes="15"/>
5
- <package name="src">
6
- <metrics statements="169" coveredstatements="153" conditionals="53" coveredconditionals="36" methods="37" coveredmethods="34"/>
7
- <file name="crypto.ts" path="/Users/hammadkhan/clipr/packages/worker/src/crypto.ts">
8
- <metrics statements="28" coveredstatements="28" conditionals="6" coveredconditionals="5" methods="5" coveredmethods="5"/>
9
- <line num="8" count="10" type="stmt"/>
10
- <line num="9" count="240" type="stmt"/>
11
- <line num="14" count="4" type="stmt"/>
12
- <line num="15" count="4" type="stmt"/>
13
- <line num="16" count="96" type="stmt"/>
14
- <line num="18" count="4" type="stmt"/>
15
- <line num="21" count="4" type="stmt"/>
16
- <line num="22" count="4" type="stmt"/>
17
- <line num="23" count="4" type="stmt"/>
18
- <line num="30" count="5" type="stmt"/>
19
- <line num="31" count="5" type="stmt"/>
20
- <line num="33" count="5" type="stmt"/>
21
- <line num="34" count="5" type="stmt"/>
22
- <line num="42" count="5" type="stmt"/>
23
- <line num="48" count="5" type="stmt"/>
24
- <line num="56" count="4" type="stmt"/>
25
- <line num="57" count="4" type="cond" truecount="4" falsecount="0"/>
26
- <line num="59" count="2" type="stmt"/>
27
- <line num="60" count="2" type="stmt"/>
28
- <line num="61" count="2" type="stmt"/>
29
- <line num="69" count="2" type="stmt"/>
30
- <line num="75" count="2" type="stmt"/>
31
- <line num="76" count="2" type="stmt"/>
32
- <line num="79" count="2" type="cond" truecount="1" falsecount="1"/>
33
- <line num="80" count="2" type="stmt"/>
34
- <line num="81" count="2" type="stmt"/>
35
- <line num="82" count="64" type="stmt"/>
36
- <line num="84" count="2" type="stmt"/>
37
- </file>
38
- <file name="index.ts" path="/Users/hammadkhan/clipr/packages/worker/src/index.ts">
39
- <metrics statements="18" coveredstatements="18" conditionals="2" coveredconditionals="2" methods="2" coveredmethods="1"/>
40
- <line num="19" count="3" type="stmt"/>
41
- <line num="22" count="3" type="stmt"/>
42
- <line num="25" count="36" type="cond" truecount="2" falsecount="0"/>
43
- <line num="33" count="3" type="stmt"/>
44
- <line num="36" count="3" type="stmt"/>
45
- <line num="37" count="3" type="stmt"/>
46
- <line num="38" count="3" type="stmt"/>
47
- <line num="41" count="3" type="stmt"/>
48
- <line num="43" count="3" type="stmt"/>
49
- <line num="44" count="3" type="stmt"/>
50
- <line num="45" count="3" type="stmt"/>
51
- <line num="46" count="3" type="stmt"/>
52
- <line num="48" count="3" type="stmt"/>
53
- <line num="49" count="3" type="stmt"/>
54
- <line num="51" count="3" type="stmt"/>
55
- <line num="52" count="3" type="stmt"/>
56
- <line num="55" count="3" type="stmt"/>
57
- <line num="57" count="3" type="stmt"/>
58
- </file>
59
- <file name="kv-backend.ts" path="/Users/hammadkhan/clipr/packages/worker/src/kv-backend.ts">
60
- <metrics statements="32" coveredstatements="32" conditionals="12" coveredconditionals="10" methods="10" coveredmethods="10"/>
61
- <line num="11" count="7" type="stmt"/>
62
- <line num="14" count="5" type="stmt"/>
63
- <line num="15" count="5" type="cond" truecount="2" falsecount="0"/>
64
- <line num="16" count="3" type="stmt"/>
65
- <line num="20" count="7" type="stmt"/>
66
- <line num="21" count="7" type="cond" truecount="2" falsecount="0"/>
67
- <line num="22" count="1" type="stmt"/>
68
- <line num="24" count="6" type="stmt"/>
69
- <line num="25" count="6" type="stmt"/>
70
- <line num="29" count="2" type="stmt"/>
71
- <line num="30" count="2" type="cond" truecount="2" falsecount="0"/>
72
- <line num="31" count="1" type="stmt"/>
73
- <line num="32" count="1" type="stmt"/>
74
- <line num="33" count="1" type="stmt"/>
75
- <line num="37" count="2" type="stmt"/>
76
- <line num="38" count="2" type="stmt"/>
77
- <line num="42" count="1" type="stmt"/>
78
- <line num="43" count="1" type="stmt"/>
79
- <line num="44" count="1" type="stmt"/>
80
- <line num="45" count="2" type="stmt"/>
81
- <line num="46" count="2" type="cond" truecount="1" falsecount="1"/>
82
- <line num="48" count="1" type="stmt"/>
83
- <line num="52" count="8" type="stmt"/>
84
- <line num="53" count="8" type="cond" truecount="2" falsecount="0"/>
85
- <line num="54" count="3" type="stmt"/>
86
- <line num="58" count="6" type="stmt"/>
87
- <line num="59" count="6" type="cond" truecount="1" falsecount="1"/>
88
- <line num="60" count="6" type="stmt"/>
89
- <line num="61" count="6" type="stmt"/>
90
- <line num="66" count="1" type="stmt"/>
91
- <line num="67" count="1" type="stmt"/>
92
- <line num="68" count="1" type="stmt"/>
93
- </file>
94
- <file name="kv.ts" path="/Users/hammadkhan/clipr/packages/worker/src/kv.ts">
95
- <metrics statements="78" coveredstatements="63" conditionals="29" coveredconditionals="16" methods="12" coveredmethods="11"/>
96
- <line num="4" count="3" type="stmt"/>
97
- <line num="5" count="3" type="stmt"/>
98
- <line num="6" count="3" type="stmt"/>
99
- <line num="7" count="3" type="stmt"/>
100
- <line num="8" count="3" type="stmt"/>
101
- <line num="9" count="3" type="stmt"/>
102
- <line num="10" count="3" type="stmt"/>
103
- <line num="14" count="31" type="stmt"/>
104
- <line num="15" count="31" type="cond" truecount="2" falsecount="0"/>
105
- <line num="16" count="21" type="stmt"/>
106
- <line num="21" count="7" type="stmt"/>
107
- <line num="22" count="7" type="stmt"/>
108
- <line num="27" count="2" type="stmt"/>
109
- <line num="28" count="2" type="cond" truecount="2" falsecount="0"/>
110
- <line num="29" count="1" type="stmt"/>
111
- <line num="30" count="1" type="stmt"/>
112
- <line num="31" count="1" type="stmt"/>
113
- <line num="36" count="9" type="stmt"/>
114
- <line num="37" count="9" type="stmt"/>
115
- <line num="38" count="9" type="stmt"/>
116
- <line num="39" count="11" type="stmt"/>
117
- <line num="40" count="11" type="cond" truecount="1" falsecount="1"/>
118
- <line num="42" count="9" type="stmt"/>
119
- <line num="47" count="1" type="stmt"/>
120
- <line num="48" count="1" type="cond" truecount="1" falsecount="1"/>
121
- <line num="49" count="0" type="stmt"/>
122
- <line num="54" count="1" type="stmt"/>
123
- <line num="55" count="1" type="stmt"/>
124
- <line num="56" count="1" type="stmt"/>
125
- <line num="57" count="1" type="stmt"/>
126
- <line num="73" count="0" type="cond" truecount="0" falsecount="5"/>
127
- <line num="75" count="0" type="stmt"/>
128
- <line num="76" count="0" type="stmt"/>
129
- <line num="78" count="0" type="stmt"/>
130
- <line num="79" count="0" type="stmt"/>
131
- <line num="81" count="0" type="stmt"/>
132
- <line num="82" count="0" type="stmt"/>
133
- <line num="84" count="0" type="stmt"/>
134
- <line num="85" count="0" type="stmt"/>
135
- <line num="87" count="0" type="stmt"/>
136
- <line num="88" count="0" type="stmt"/>
137
- <line num="90" count="0" type="stmt"/>
138
- <line num="91" count="0" type="cond" truecount="0" falsecount="2"/>
139
- <line num="92" count="0" type="stmt"/>
140
- <line num="97" count="2" type="stmt"/>
141
- <line num="106" count="2" type="stmt"/>
142
- <line num="107" count="2" type="cond" truecount="2" falsecount="0"/>
143
- <line num="110" count="2" type="stmt"/>
144
- <line num="111" count="2" type="stmt"/>
145
- <line num="112" count="2" type="stmt"/>
146
- <line num="113" count="2" type="stmt"/>
147
- <line num="114" count="2" type="cond" truecount="1" falsecount="1"/>
148
- <line num="118" count="2" type="stmt"/>
149
- <line num="119" count="2" type="stmt"/>
150
- <line num="120" count="1" type="stmt"/>
151
- <line num="121" count="1" type="stmt"/>
152
- <line num="122" count="1" type="cond" truecount="1" falsecount="1"/>
153
- <line num="126" count="2" type="stmt"/>
154
- <line num="127" count="2" type="stmt"/>
155
- <line num="128" count="1" type="stmt"/>
156
- <line num="129" count="1" type="stmt"/>
157
- <line num="130" count="1" type="cond" truecount="1" falsecount="1"/>
158
- <line num="134" count="2" type="stmt"/>
159
- <line num="135" count="2" type="stmt"/>
160
- <line num="136" count="1" type="stmt"/>
161
- <line num="137" count="1" type="stmt"/>
162
- <line num="138" count="1" type="cond" truecount="1" falsecount="1"/>
163
- <line num="141" count="2" type="stmt"/>
164
- <line num="147" count="17" type="stmt"/>
165
- <line num="148" count="17" type="cond" truecount="2" falsecount="0"/>
166
- <line num="149" count="8" type="stmt"/>
167
- <line num="153" count="7" type="stmt"/>
168
- <line num="154" count="7" type="cond" truecount="2" falsecount="0"/>
169
- <line num="155" count="6" type="stmt"/>
170
- <line num="156" count="6" type="stmt"/>
171
- <line num="161" count="1" type="stmt"/>
172
- <line num="162" count="1" type="stmt"/>
173
- <line num="163" count="1" type="stmt"/>
174
- </file>
175
- <file name="test-utils.ts" path="/Users/hammadkhan/clipr/packages/worker/src/test-utils.ts">
176
- <metrics statements="13" coveredstatements="12" conditionals="4" coveredconditionals="3" methods="8" coveredmethods="7"/>
177
- <line num="3" count="54" type="stmt"/>
178
- <line num="5" count="54" type="stmt"/>
179
- <line num="7" count="111" type="cond" truecount="2" falsecount="0"/>
180
- <line num="10" count="90" type="stmt"/>
181
- <line num="11" count="90" type="stmt"/>
182
- <line num="14" count="2" type="stmt"/>
183
- <line num="15" count="2" type="stmt"/>
184
- <line num="18" count="8" type="stmt"/>
185
- <line num="19" count="8" type="cond" truecount="1" falsecount="1"/>
186
- <line num="20" count="40" type="stmt"/>
187
- <line num="22" count="8" type="stmt"/>
188
- <line num="23" count="8" type="stmt"/>
189
- <line num="30" count="0" type="stmt"/>
190
- </file>
191
- </package>
192
- <package name="src.middleware">
193
- <metrics statements="21" coveredstatements="21" conditionals="16" coveredconditionals="16" methods="1" coveredmethods="1"/>
194
- <file name="auth.ts" path="/Users/hammadkhan/clipr/packages/worker/src/middleware/auth.ts">
195
- <metrics statements="21" coveredstatements="21" conditionals="16" coveredconditionals="16" methods="1" coveredmethods="1"/>
196
- <line num="5" count="3" type="stmt"/>
197
- <line num="20" count="47" type="stmt"/>
198
- <line num="21" count="47" type="stmt"/>
199
- <line num="24" count="47" type="cond" truecount="2" falsecount="0"/>
200
- <line num="25" count="29" type="stmt"/>
201
- <line num="26" count="83" type="cond" truecount="2" falsecount="0"/>
202
- <line num="27" count="9" type="stmt"/>
203
- <line num="28" count="9" type="stmt"/>
204
- <line num="34" count="38" type="cond" truecount="4" falsecount="0"/>
205
- <line num="35" count="1" type="stmt"/>
206
- <line num="36" count="1" type="stmt"/>
207
- <line num="39" count="37" type="stmt"/>
208
- <line num="40" count="37" type="cond" truecount="2" falsecount="0"/>
209
- <line num="41" count="4" type="stmt"/>
210
- <line num="44" count="33" type="stmt"/>
211
- <line num="45" count="33" type="cond" truecount="4" falsecount="0"/>
212
- <line num="46" count="1" type="stmt"/>
213
- <line num="49" count="32" type="stmt"/>
214
- <line num="50" count="32" type="cond" truecount="2" falsecount="0"/>
215
- <line num="51" count="1" type="stmt"/>
216
- <line num="54" count="31" type="stmt"/>
217
- </file>
218
- </package>
219
- <package name="src.routes">
220
- <metrics statements="172" coveredstatements="106" conditionals="141" coveredconditionals="67" methods="20" coveredmethods="14"/>
221
- <file name="health.ts" path="/Users/hammadkhan/clipr/packages/worker/src/routes/health.ts">
222
- <metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
223
- <line num="4" count="2" type="stmt"/>
224
- </file>
225
- <file name="import-export.ts" path="/Users/hammadkhan/clipr/packages/worker/src/routes/import-export.ts">
226
- <metrics statements="19" coveredstatements="16" conditionals="10" coveredconditionals="6" methods="2" coveredmethods="2"/>
227
- <line num="9" count="3" type="stmt"/>
228
- <line num="10" count="3" type="stmt"/>
229
- <line num="12" count="1" type="stmt"/>
230
- <line num="15" count="2" type="cond" truecount="1" falsecount="1"/>
231
- <line num="16" count="0" type="stmt"/>
232
- <line num="19" count="2" type="stmt"/>
233
- <line num="20" count="2" type="stmt"/>
234
- <line num="22" count="2" type="stmt"/>
235
- <line num="23" count="5" type="cond" truecount="4" falsecount="0"/>
236
- <line num="24" count="2" type="stmt"/>
237
- <line num="25" count="2" type="stmt"/>
238
- <line num="27" count="3" type="stmt"/>
239
- <line num="28" count="3" type="stmt"/>
240
- <line num="32" count="3" type="stmt"/>
241
- <line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
242
- <line num="35" count="0" type="stmt"/>
243
- <line num="39" count="2" type="stmt"/>
244
- <line num="44" count="2" type="stmt"/>
245
- <line num="46" count="2" type="stmt"/>
246
- </file>
247
- <file name="links.ts" path="/Users/hammadkhan/clipr/packages/worker/src/routes/links.ts">
248
- <metrics statements="40" coveredstatements="37" conditionals="25" coveredconditionals="22" methods="6" coveredmethods="6"/>
249
- <line num="8" count="7" type="stmt"/>
250
- <line num="9" count="7" type="stmt"/>
251
- <line num="10" count="7" type="stmt"/>
252
- <line num="11" count="7" type="cond" truecount="2" falsecount="0"/>
253
- <line num="13" count="7" type="stmt"/>
254
- <line num="16" count="7" type="cond" truecount="2" falsecount="0"/>
255
- <line num="17" count="3" type="stmt"/>
256
- <line num="21" count="7" type="cond" truecount="2" falsecount="0"/>
257
- <line num="22" count="1" type="stmt"/>
258
- <line num="23" count="1" type="stmt"/>
259
- <line num="25" count="2" type="cond" truecount="3" falsecount="0"/>
260
- <line num="32" count="7" type="cond" truecount="4" falsecount="0"/>
261
- <line num="33" count="1" type="stmt"/>
262
- <line num="36" count="7" type="stmt"/>
263
- <line num="41" count="3" type="stmt"/>
264
- <line num="42" count="3" type="cond" truecount="1" falsecount="1"/>
265
- <line num="43" count="0" type="stmt"/>
266
- <line num="46" count="3" type="stmt"/>
267
- <line num="47" count="3" type="cond" truecount="2" falsecount="0"/>
268
- <line num="48" count="2" type="stmt"/>
269
- <line num="51" count="1" type="stmt"/>
270
- <line num="56" count="3" type="stmt"/>
271
- <line num="57" count="3" type="cond" truecount="1" falsecount="1"/>
272
- <line num="58" count="0" type="stmt"/>
273
- <line num="61" count="3" type="stmt"/>
274
- <line num="62" count="3" type="cond" truecount="2" falsecount="0"/>
275
- <line num="63" count="1" type="stmt"/>
276
- <line num="67" count="2" type="stmt"/>
277
- <line num="68" count="2" type="stmt"/>
278
- <line num="70" count="1" type="stmt"/>
279
- <line num="74" count="1" type="stmt"/>
280
- <line num="81" count="1" type="stmt"/>
281
- <line num="82" count="1" type="stmt"/>
282
- <line num="87" count="2" type="stmt"/>
283
- <line num="88" count="2" type="cond" truecount="1" falsecount="1"/>
284
- <line num="89" count="0" type="stmt"/>
285
- <line num="92" count="2" type="stmt"/>
286
- <line num="93" count="2" type="cond" truecount="2" falsecount="0"/>
287
- <line num="94" count="1" type="stmt"/>
288
- <line num="97" count="1" type="stmt"/>
289
- </file>
290
- <file name="password.ts" path="/Users/hammadkhan/clipr/packages/worker/src/routes/password.ts">
291
- <metrics statements="30" coveredstatements="6" conditionals="26" coveredconditionals="2" methods="4" coveredmethods="1"/>
292
- <line num="9" count="0" type="stmt"/>
293
- <line num="19" count="0" type="stmt"/>
294
- <line num="66" count="0" type="stmt"/>
295
- <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
296
- <line num="68" count="0" type="stmt"/>
297
- <line num="71" count="0" type="stmt"/>
298
- <line num="72" count="0" type="cond" truecount="0" falsecount="2"/>
299
- <line num="73" count="0" type="stmt"/>
300
- <line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
301
- <line num="78" count="0" type="cond" truecount="0" falsecount="2"/>
302
- <line num="79" count="0" type="stmt"/>
303
- <line num="82" count="0" type="stmt"/>
304
- <line num="87" count="1" type="stmt"/>
305
- <line num="88" count="1" type="cond" truecount="1" falsecount="1"/>
306
- <line num="89" count="0" type="stmt"/>
307
- <line num="92" count="1" type="stmt"/>
308
- <line num="93" count="1" type="cond" truecount="1" falsecount="1"/>
309
- <line num="94" count="1" type="stmt"/>
310
- <line num="97" count="0" type="cond" truecount="0" falsecount="2"/>
311
- <line num="98" count="0" type="cond" truecount="0" falsecount="2"/>
312
- <line num="99" count="0" type="stmt"/>
313
- <line num="103" count="0" type="stmt"/>
314
- <line num="104" count="0" type="stmt"/>
315
- <line num="105" count="0" type="cond" truecount="0" falsecount="4"/>
316
- <line num="106" count="0" type="stmt"/>
317
- <line num="109" count="0" type="stmt"/>
318
- <line num="110" count="0" type="cond" truecount="0" falsecount="2"/>
319
- <line num="111" count="0" type="stmt"/>
320
- <line num="115" count="0" type="cond" truecount="0" falsecount="2"/>
321
- <line num="116" count="1" type="stmt"/>
322
- </file>
323
- <file name="qr.ts" path="/Users/hammadkhan/clipr/packages/worker/src/routes/qr.ts">
324
- <metrics statements="16" coveredstatements="0" conditionals="17" coveredconditionals="0" methods="1" coveredmethods="0"/>
325
- <line num="8" count="0" type="stmt"/>
326
- <line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
327
- <line num="10" count="0" type="stmt"/>
328
- <line num="14" count="0" type="stmt"/>
329
- <line num="15" count="0" type="cond" truecount="0" falsecount="2"/>
330
- <line num="16" count="0" type="stmt"/>
331
- <line num="19" count="0" type="cond" truecount="0" falsecount="2"/>
332
- <line num="20" count="0" type="cond" truecount="0" falsecount="4"/>
333
- <line num="21" count="0" type="stmt"/>
334
- <line num="24" count="0" type="stmt"/>
335
- <line num="25" count="0" type="cond" truecount="0" falsecount="2"/>
336
- <line num="26" count="0" type="cond" truecount="0" falsecount="5"/>
337
- <line num="27" count="0" type="stmt"/>
338
- <line num="30" count="0" type="stmt"/>
339
- <line num="31" count="0" type="stmt"/>
340
- <line num="33" count="0" type="stmt"/>
341
- </file>
342
- <file name="redirect.ts" path="/Users/hammadkhan/clipr/packages/worker/src/routes/redirect.ts">
343
- <metrics statements="33" coveredstatements="15" conditionals="31" coveredconditionals="12" methods="4" coveredmethods="2"/>
344
- <line num="8" count="4" type="cond" truecount="2" falsecount="0"/>
345
- <line num="9" count="2" type="stmt"/>
346
- <line num="14" count="0" type="cond" truecount="0" falsecount="2"/>
347
- <line num="15" count="0" type="stmt"/>
348
- <line num="16" count="0" type="cond" truecount="0" falsecount="5"/>
349
- <line num="17" count="0" type="stmt"/>
350
- <line num="18" count="0" type="cond" truecount="0" falsecount="4"/>
351
- <line num="19" count="0" type="stmt"/>
352
- <line num="24" count="0" type="cond" truecount="0" falsecount="2"/>
353
- <line num="25" count="0" type="stmt"/>
354
- <line num="26" count="0" type="stmt"/>
355
- <line num="28" count="0" type="stmt"/>
356
- <line num="33" count="7" type="stmt"/>
357
- <line num="34" count="7" type="cond" truecount="1" falsecount="1"/>
358
- <line num="35" count="0" type="stmt"/>
359
- <line num="38" count="7" type="stmt"/>
360
- <line num="40" count="7" type="cond" truecount="2" falsecount="0"/>
361
- <line num="41" count="3" type="stmt"/>
362
- <line num="44" count="4" type="cond" truecount="2" falsecount="0"/>
363
- <line num="45" count="1" type="stmt"/>
364
- <line num="49" count="3" type="cond" truecount="1" falsecount="1"/>
365
- <line num="50" count="0" type="stmt"/>
366
- <line num="53" count="3" type="cond" truecount="2" falsecount="0"/>
367
- <line num="57" count="7" type="stmt"/>
368
- <line num="58" count="7" type="stmt"/>
369
- <line num="62" count="3" type="cond" truecount="2" falsecount="2"/>
370
- <line num="63" count="0" type="stmt"/>
371
- <line num="64" count="0" type="stmt"/>
372
- <line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
373
- <line num="66" count="0" type="stmt"/>
374
- <line num="67" count="0" type="stmt"/>
375
- <line num="69" count="0" type="stmt"/>
376
- <line num="80" count="3" type="stmt"/>
377
- </file>
378
- <file name="shorten.ts" path="/Users/hammadkhan/clipr/packages/worker/src/routes/shorten.ts">
379
- <metrics statements="25" coveredstatements="24" conditionals="28" coveredconditionals="22" methods="1" coveredmethods="1"/>
380
- <line num="24" count="8" type="stmt"/>
381
- <line num="25" count="8" type="stmt"/>
382
- <line num="27" count="1" type="stmt"/>
383
- <line num="30" count="7" type="cond" truecount="2" falsecount="0"/>
384
- <line num="31" count="1" type="stmt"/>
385
- <line num="35" count="6" type="stmt"/>
386
- <line num="36" count="6" type="cond" truecount="2" falsecount="0"/>
387
- <line num="37" count="1" type="stmt"/>
388
- <line num="42" count="5" type="cond" truecount="2" falsecount="0"/>
389
- <line num="43" count="4" type="stmt"/>
390
- <line num="44" count="4" type="cond" truecount="2" falsecount="0"/>
391
- <line num="45" count="1" type="stmt"/>
392
- <line num="47" count="3" type="stmt"/>
393
- <line num="50" count="3" type="stmt"/>
394
- <line num="51" count="3" type="cond" truecount="2" falsecount="0"/>
395
- <line num="52" count="1" type="stmt"/>
396
- <line num="56" count="1" type="stmt"/>
397
- <line num="57" count="1" type="stmt"/>
398
- <line num="62" count="3" type="cond" truecount="1" falsecount="1"/>
399
- <line num="63" count="0" type="stmt"/>
400
- <line num="66" count="3" type="stmt"/>
401
- <line num="67" count="3" type="stmt"/>
402
- <line num="81" count="8" type="stmt"/>
403
- <line num="83" count="3" type="stmt"/>
404
- <line num="84" count="3" type="stmt"/>
405
- </file>
406
- <file name="stats.ts" path="/Users/hammadkhan/clipr/packages/worker/src/routes/stats.ts">
407
- <metrics statements="8" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="1" coveredmethods="1"/>
408
- <line num="7" count="3" type="stmt"/>
409
- <line num="8" count="3" type="cond" truecount="1" falsecount="1"/>
410
- <line num="9" count="0" type="stmt"/>
411
- <line num="13" count="3" type="stmt"/>
412
- <line num="14" count="3" type="cond" truecount="2" falsecount="0"/>
413
- <line num="15" count="1" type="stmt"/>
414
- <line num="18" count="2" type="stmt"/>
415
- <line num="19" count="2" type="stmt"/>
416
- </file>
417
- </package>
418
- <package name="src.utils">
419
- <metrics statements="7" coveredstatements="0" conditionals="4" coveredconditionals="0" methods="2" coveredmethods="0"/>
420
- <file name="qr.ts" path="/Users/hammadkhan/clipr/packages/worker/src/utils/qr.ts">
421
- <metrics statements="7" coveredstatements="0" conditionals="4" coveredconditionals="0" methods="2" coveredmethods="0"/>
422
- <line num="17" count="0" type="cond" truecount="0" falsecount="2"/>
423
- <line num="18" count="0" type="stmt"/>
424
- <line num="23" count="0" type="stmt"/>
425
- <line num="27" count="0" type="stmt"/>
426
- <line num="32" count="0" type="stmt"/>
427
- <line num="33" count="0" type="stmt"/>
428
- <line num="34" count="0" type="stmt"/>
429
- </file>
430
- </package>
431
- </project>
432
- </coverage>