@mapbox/cloudfriend 9.2.1 → 9.3.2

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 (63) hide show
  1. package/changelog.md +4 -0
  2. package/lib/shortcuts/api.md +37 -0
  3. package/lib/shortcuts/glue-iceberg-table.js +187 -0
  4. package/lib/shortcuts/index.js +1 -0
  5. package/package.json +3 -3
  6. package/requirements.dev.txt +2 -2
  7. package/test/fixtures/shortcuts/glue-iceberg-table-defaults.json +41 -0
  8. package/test/fixtures/shortcuts/glue-iceberg-table-no-defaults.json +39 -0
  9. package/test/fixtures/shortcuts/glue-iceberg-table-with-all-optimizers.json +101 -0
  10. package/test/fixtures/shortcuts/glue-iceberg-table-with-both-optimizers.json +80 -0
  11. package/test/fixtures/shortcuts/glue-iceberg-table-with-compaction-custom.json +68 -0
  12. package/test/fixtures/shortcuts/glue-iceberg-table-with-compaction-defaults.json +57 -0
  13. package/test/fixtures/shortcuts/glue-iceberg-table-with-optimizer-custom.json +75 -0
  14. package/test/fixtures/shortcuts/glue-iceberg-table-with-optimizer-defaults.json +64 -0
  15. package/test/fixtures/shortcuts/glue-iceberg-table-with-orphan-deletion-custom.json +74 -0
  16. package/test/fixtures/shortcuts/glue-iceberg-table-with-orphan-deletion-defaults.json +62 -0
  17. package/test/shortcuts.test.js +294 -3
  18. package/coverage/clover.xml +0 -598
  19. package/coverage/coverage-final.json +0 -32
  20. package/coverage/lcov-report/base.css +0 -224
  21. package/coverage/lcov-report/block-navigation.js +0 -87
  22. package/coverage/lcov-report/cloudfriend/bin/build-template.js.html +0 -130
  23. package/coverage/lcov-report/cloudfriend/bin/index.html +0 -131
  24. package/coverage/lcov-report/cloudfriend/bin/validate-template.js.html +0 -142
  25. package/coverage/lcov-report/cloudfriend/index.html +0 -116
  26. package/coverage/lcov-report/cloudfriend/index.js.html +0 -307
  27. package/coverage/lcov-report/cloudfriend/lib/build.js.html +0 -217
  28. package/coverage/lcov-report/cloudfriend/lib/conditions.js.html +0 -430
  29. package/coverage/lcov-report/cloudfriend/lib/index.html +0 -206
  30. package/coverage/lcov-report/cloudfriend/lib/intrinsic.js.html +0 -979
  31. package/coverage/lcov-report/cloudfriend/lib/merge.js.html +0 -478
  32. package/coverage/lcov-report/cloudfriend/lib/pseudo.js.html +0 -370
  33. package/coverage/lcov-report/cloudfriend/lib/rules.js.html +0 -349
  34. package/coverage/lcov-report/cloudfriend/lib/shortcuts/cross-account-role.js.html +0 -244
  35. package/coverage/lcov-report/cloudfriend/lib/shortcuts/event-lambda.js.html +0 -367
  36. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-database.js.html +0 -286
  37. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-json-table.js.html +0 -235
  38. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-orc-table.js.html +0 -226
  39. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-parquet-table.js.html +0 -268
  40. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-presto-view.js.html +0 -358
  41. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-spark-view.js.html +0 -241
  42. package/coverage/lcov-report/cloudfriend/lib/shortcuts/glue-table.js.html +0 -481
  43. package/coverage/lcov-report/cloudfriend/lib/shortcuts/hookshot.js.html +0 -1504
  44. package/coverage/lcov-report/cloudfriend/lib/shortcuts/index.html +0 -416
  45. package/coverage/lcov-report/cloudfriend/lib/shortcuts/index.js.html +0 -154
  46. package/coverage/lcov-report/cloudfriend/lib/shortcuts/kinesis-firehose-base.js.html +0 -418
  47. package/coverage/lcov-report/cloudfriend/lib/shortcuts/lambda.js.html +0 -832
  48. package/coverage/lcov-report/cloudfriend/lib/shortcuts/log-subscription-lambda.js.html +0 -310
  49. package/coverage/lcov-report/cloudfriend/lib/shortcuts/queue-lambda.js.html +0 -364
  50. package/coverage/lcov-report/cloudfriend/lib/shortcuts/queue.js.html +0 -619
  51. package/coverage/lcov-report/cloudfriend/lib/shortcuts/role.js.html +0 -382
  52. package/coverage/lcov-report/cloudfriend/lib/shortcuts/s3-kinesis-firehose.js.html +0 -568
  53. package/coverage/lcov-report/cloudfriend/lib/shortcuts/scheduled-lambda.js.html +0 -490
  54. package/coverage/lcov-report/cloudfriend/lib/shortcuts/service-role.js.html +0 -307
  55. package/coverage/lcov-report/cloudfriend/lib/shortcuts/stream-lambda.js.html +0 -493
  56. package/coverage/lcov-report/cloudfriend/lib/validate.js.html +0 -154
  57. package/coverage/lcov-report/favicon.png +0 -0
  58. package/coverage/lcov-report/index.html +0 -161
  59. package/coverage/lcov-report/prettify.css +0 -1
  60. package/coverage/lcov-report/prettify.js +0 -2
  61. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  62. package/coverage/lcov-report/sorter.js +0 -210
  63. package/coverage/lcov.info +0 -1240
@@ -1,598 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1770411099523" clover="3.2.0">
3
- <project timestamp="1770411099523" name="All files">
4
- <metrics statements="487" coveredstatements="457" conditionals="288" coveredconditionals="270" methods="93" coveredmethods="86" elements="868" coveredelements="813" complexity="0" loc="487" ncloc="487" packages="4" files="31" classes="31"/>
5
- <package name="cloudfriend">
6
- <metrics statements="18" coveredstatements="18" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
7
- <file name="index.js" path="/Users/jakubborowski/projects/cloudfriend/index.js">
8
- <metrics statements="18" coveredstatements="18" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
9
- <line num="3" count="2" type="stmt"/>
10
- <line num="4" count="2" type="stmt"/>
11
- <line num="5" count="2" type="stmt"/>
12
- <line num="6" count="2" type="stmt"/>
13
- <line num="7" count="2" type="stmt"/>
14
- <line num="8" count="2" type="stmt"/>
15
- <line num="9" count="2" type="stmt"/>
16
- <line num="10" count="2" type="stmt"/>
17
- <line num="18" count="2" type="stmt"/>
18
- <line num="25" count="2" type="stmt"/>
19
- <line num="26" count="30" type="stmt"/>
20
- <line num="29" count="2" type="stmt"/>
21
- <line num="30" count="12" type="stmt"/>
22
- <line num="33" count="2" type="stmt"/>
23
- <line num="34" count="12" type="stmt"/>
24
- <line num="37" count="2" type="stmt"/>
25
- <line num="38" count="16" type="stmt"/>
26
- <line num="41" count="2" type="stmt"/>
27
- </file>
28
- </package>
29
- <package name="cloudfriend.bin">
30
- <metrics statements="13" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="3" coveredmethods="0"/>
31
- <file name="build-template.js" path="/Users/jakubborowski/projects/cloudfriend/bin/build-template.js">
32
- <metrics statements="5" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
33
- <line num="5" count="0" type="stmt"/>
34
- <line num="6" count="0" type="stmt"/>
35
- <line num="10" count="0" type="stmt"/>
36
- <line num="12" count="0" type="stmt"/>
37
- <line num="14" count="0" type="stmt"/>
38
- </file>
39
- <file name="validate-template.js" path="/Users/jakubborowski/projects/cloudfriend/bin/validate-template.js">
40
- <metrics statements="8" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
41
- <line num="5" count="0" type="stmt"/>
42
- <line num="6" count="0" type="stmt"/>
43
- <line num="10" count="0" type="stmt"/>
44
- <line num="11" count="0" type="cond" truecount="0" falsecount="2"/>
45
- <line num="13" count="0" type="stmt"/>
46
- <line num="15" count="0" type="stmt"/>
47
- <line num="17" count="0" type="stmt"/>
48
- <line num="18" count="0" type="stmt"/>
49
- </file>
50
- </package>
51
- <package name="cloudfriend.lib">
52
- <metrics statements="156" coveredstatements="153" conditionals="60" coveredconditionals="56" methods="40" coveredmethods="38"/>
53
- <file name="build.js" path="/Users/jakubborowski/projects/cloudfriend/lib/build.js">
54
- <metrics statements="18" coveredstatements="18" conditionals="10" coveredconditionals="10" methods="3" coveredmethods="3"/>
55
- <line num="3" count="2" type="stmt"/>
56
- <line num="4" count="2" type="stmt"/>
57
- <line num="18" count="2" type="stmt"/>
58
- <line num="19" count="8" type="stmt"/>
59
- <line num="22" count="8" type="cond" truecount="2" falsecount="0"/>
60
- <line num="23" count="2" type="stmt"/>
61
- <line num="24" count="2" type="stmt"/>
62
- <line num="25" count="1" type="stmt"/>
63
- <line num="26" count="1" type="stmt"/>
64
- <line num="29" count="6" type="stmt"/>
65
- <line num="30" count="6" type="stmt"/>
66
- <line num="31" count="6" type="cond" truecount="2" falsecount="0"/>
67
- <line num="34" count="3" type="cond" truecount="2" falsecount="0"/>
68
- <line num="35" count="2" type="stmt"/>
69
- <line num="38" count="5" type="stmt"/>
70
- <line num="39" count="5" type="cond" truecount="2" falsecount="0"/>
71
- <line num="41" count="5" type="stmt"/>
72
- <line num="42" count="5" type="cond" truecount="2" falsecount="0"/>
73
- </file>
74
- <file name="conditions.js" path="/Users/jakubborowski/projects/cloudfriend/lib/conditions.js">
75
- <metrics statements="13" coveredstatements="13" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="6"/>
76
- <line num="3" count="2" type="stmt"/>
77
- <line num="20" count="2" type="stmt"/>
78
- <line num="21" count="3" type="stmt"/>
79
- <line num="36" count="2" type="stmt"/>
80
- <line num="37" count="20" type="stmt"/>
81
- <line num="61" count="2" type="stmt"/>
82
- <line num="62" count="1" type="stmt"/>
83
- <line num="78" count="2" type="stmt"/>
84
- <line num="79" count="8" type="stmt"/>
85
- <line num="97" count="2" type="stmt"/>
86
- <line num="98" count="1" type="stmt"/>
87
- <line num="113" count="2" type="stmt"/>
88
- <line num="114" count="1" type="stmt"/>
89
- </file>
90
- <file name="intrinsic.js" path="/Users/jakubborowski/projects/cloudfriend/lib/intrinsic.js">
91
- <metrics statements="40" coveredstatements="40" conditionals="10" coveredconditionals="10" methods="15" coveredmethods="15"/>
92
- <line num="3" count="2" type="stmt"/>
93
- <line num="17" count="2" type="stmt"/>
94
- <line num="18" count="2" type="stmt"/>
95
- <line num="33" count="2" type="stmt"/>
96
- <line num="34" count="1" type="stmt"/>
97
- <line num="55" count="2" type="stmt"/>
98
- <line num="56" count="8" type="stmt"/>
99
- <line num="57" count="8" type="cond" truecount="2" falsecount="0"/>
100
- <line num="58" count="1" type="stmt"/>
101
- <line num="60" count="8" type="stmt"/>
102
- <line num="77" count="2" type="stmt"/>
103
- <line num="78" count="1" type="stmt"/>
104
- <line num="102" count="2" type="stmt"/>
105
- <line num="103" count="4" type="stmt"/>
106
- <line num="123" count="2" type="stmt"/>
107
- <line num="124" count="2" type="cond" truecount="2" falsecount="0"/>
108
- <line num="142" count="2" type="stmt"/>
109
- <line num="143" count="3" type="cond" truecount="2" falsecount="0"/>
110
- <line num="144" count="1" type="stmt"/>
111
- <line num="145" count="1" type="stmt"/>
112
- <line num="147" count="3" type="stmt"/>
113
- <line num="164" count="2" type="stmt"/>
114
- <line num="165" count="1" type="stmt"/>
115
- <line num="179" count="2" type="stmt"/>
116
- <line num="180" count="40" type="stmt"/>
117
- <line num="195" count="2" type="stmt"/>
118
- <line num="196" count="1" type="stmt"/>
119
- <line num="228" count="2" type="stmt"/>
120
- <line num="229" count="4" type="cond" truecount="2" falsecount="0"/>
121
- <line num="230" count="3" type="stmt"/>
122
- <line num="244" count="2" type="stmt"/>
123
- <line num="245" count="2" type="stmt"/>
124
- <line num="259" count="2" type="stmt"/>
125
- <line num="260" count="2" type="stmt"/>
126
- <line num="274" count="2" type="stmt"/>
127
- <line num="275" count="2" type="stmt"/>
128
- <line num="276" count="2" type="cond" truecount="2" falsecount="0"/>
129
- <line num="277" count="1" type="stmt"/>
130
- <line num="293" count="2" type="stmt"/>
131
- <line num="294" count="1" type="stmt"/>
132
- </file>
133
- <file name="merge.js" path="/Users/jakubborowski/projects/cloudfriend/lib/merge.js">
134
- <metrics statements="56" coveredstatements="56" conditionals="36" coveredconditionals="36" methods="8" coveredmethods="8"/>
135
- <line num="3" count="2" type="stmt"/>
136
- <line num="19" count="2" type="stmt"/>
137
- <line num="22" count="129" type="stmt"/>
138
- <line num="35" count="129" type="stmt"/>
139
- <line num="46" count="129" type="stmt"/>
140
- <line num="47" count="240" type="cond" truecount="2" falsecount="0"/>
141
- <line num="48" count="19" type="cond" truecount="2" falsecount="0"/>
142
- <line num="49" count="2" type="stmt"/>
143
- <line num="50" count="1" type="stmt"/>
144
- <line num="53" count="18" type="stmt"/>
145
- <line num="54" count="18" type="stmt"/>
146
- <line num="57" count="239" type="cond" truecount="2" falsecount="0"/>
147
- <line num="58" count="22" type="cond" truecount="2" falsecount="0"/>
148
- <line num="59" count="2" type="stmt"/>
149
- <line num="60" count="1" type="stmt"/>
150
- <line num="63" count="21" type="stmt"/>
151
- <line num="64" count="21" type="stmt"/>
152
- <line num="67" count="238" type="cond" truecount="2" falsecount="0"/>
153
- <line num="68" count="19" type="cond" truecount="2" falsecount="0"/>
154
- <line num="69" count="2" type="stmt"/>
155
- <line num="70" count="1" type="stmt"/>
156
- <line num="73" count="18" type="stmt"/>
157
- <line num="74" count="18" type="stmt"/>
158
- <line num="77" count="237" type="cond" truecount="2" falsecount="0"/>
159
- <line num="78" count="20" type="cond" truecount="2" falsecount="0"/>
160
- <line num="79" count="2" type="stmt"/>
161
- <line num="80" count="1" type="stmt"/>
162
- <line num="83" count="19" type="stmt"/>
163
- <line num="84" count="19" type="stmt"/>
164
- <line num="87" count="236" type="cond" truecount="2" falsecount="0"/>
165
- <line num="88" count="31" type="cond" truecount="2" falsecount="0"/>
166
- <line num="89" count="2" type="stmt"/>
167
- <line num="90" count="1" type="stmt"/>
168
- <line num="93" count="30" type="stmt"/>
169
- <line num="94" count="30" type="stmt"/>
170
- <line num="97" count="235" type="cond" truecount="2" falsecount="0"/>
171
- <line num="98" count="696" type="cond" truecount="2" falsecount="0"/>
172
- <line num="99" count="2" type="stmt"/>
173
- <line num="100" count="1" type="stmt"/>
174
- <line num="103" count="695" type="stmt"/>
175
- <line num="104" count="695" type="stmt"/>
176
- <line num="107" count="234" type="cond" truecount="2" falsecount="0"/>
177
- <line num="108" count="37" type="cond" truecount="2" falsecount="0"/>
178
- <line num="109" count="2" type="stmt"/>
179
- <line num="110" count="1" type="stmt"/>
180
- <line num="113" count="36" type="stmt"/>
181
- <line num="114" count="36" type="stmt"/>
182
- <line num="117" count="233" type="cond" truecount="2" falsecount="0"/>
183
- <line num="118" count="21" type="cond" truecount="2" falsecount="0"/>
184
- <line num="119" count="21" type="cond" truecount="2" falsecount="0"/>
185
- <line num="120" count="21" type="stmt"/>
186
- <line num="121" count="24" type="cond" truecount="2" falsecount="0"/>
187
- <line num="122" count="1" type="stmt"/>
188
- <line num="124" count="23" type="stmt"/>
189
- <line num="125" count="23" type="stmt"/>
190
- <line num="130" count="121" type="stmt"/>
191
- </file>
192
- <file name="pseudo.js" path="/Users/jakubborowski/projects/cloudfriend/lib/pseudo.js">
193
- <metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
194
- <line num="3" count="2" type="stmt"/>
195
- <line num="5" count="2" type="stmt"/>
196
- <line num="15" count="2" type="stmt"/>
197
- <line num="26" count="2" type="stmt"/>
198
- <line num="37" count="2" type="stmt"/>
199
- <line num="48" count="2" type="stmt"/>
200
- <line num="59" count="2" type="stmt"/>
201
- <line num="70" count="2" type="stmt"/>
202
- <line num="83" count="2" type="stmt"/>
203
- <line num="95" count="2" type="stmt"/>
204
- </file>
205
- <file name="rules.js" path="/Users/jakubborowski/projects/cloudfriend/lib/rules.js">
206
- <metrics statements="13" coveredstatements="13" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="6"/>
207
- <line num="3" count="2" type="stmt"/>
208
- <line num="17" count="2" type="stmt"/>
209
- <line num="18" count="1" type="stmt"/>
210
- <line num="32" count="2" type="stmt"/>
211
- <line num="33" count="1" type="stmt"/>
212
- <line num="48" count="2" type="stmt"/>
213
- <line num="49" count="1" type="stmt"/>
214
- <line num="60" count="2" type="stmt"/>
215
- <line num="61" count="1" type="stmt"/>
216
- <line num="73" count="2" type="stmt"/>
217
- <line num="74" count="1" type="stmt"/>
218
- <line num="86" count="2" type="stmt"/>
219
- <line num="87" count="1" type="stmt"/>
220
- </file>
221
- <file name="validate.js" path="/Users/jakubborowski/projects/cloudfriend/lib/validate.js">
222
- <metrics statements="6" coveredstatements="3" conditionals="4" coveredconditionals="0" methods="2" coveredmethods="0"/>
223
- <line num="3" count="2" type="stmt"/>
224
- <line num="4" count="2" type="stmt"/>
225
- <line num="17" count="2" type="stmt"/>
226
- <line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
227
- <line num="20" count="0" type="cond" truecount="0" falsecount="2"/>
228
- <line num="21" count="0" type="stmt"/>
229
- </file>
230
- </package>
231
- <package name="cloudfriend.lib.shortcuts">
232
- <metrics statements="300" coveredstatements="286" conditionals="226" coveredconditionals="214" methods="46" coveredmethods="44"/>
233
- <file name="cross-account-role.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/cross-account-role.js">
234
- <metrics statements="9" coveredstatements="9" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
235
- <line num="3" count="2" type="stmt"/>
236
- <line num="38" count="4" type="cond" truecount="2" falsecount="0"/>
237
- <line num="42" count="3" type="stmt"/>
238
- <line num="44" count="3" type="stmt"/>
239
- <line num="45" count="5" type="cond" truecount="2" falsecount="0"/>
240
- <line num="46" count="1" type="stmt"/>
241
- <line num="48" count="2" type="stmt"/>
242
- <line num="49" count="2" type="stmt"/>
243
- <line num="53" count="2" type="stmt"/>
244
- </file>
245
- <file name="event-lambda.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/event-lambda.js">
246
- <metrics statements="10" coveredstatements="10" conditionals="5" coveredconditionals="5" methods="2" coveredmethods="2"/>
247
- <line num="3" count="2" type="stmt"/>
248
- <line num="39" count="5" type="cond" truecount="2" falsecount="0"/>
249
- <line num="40" count="4" type="stmt"/>
250
- <line num="45" count="3" type="stmt"/>
251
- <line num="47" count="3" type="stmt"/>
252
- <line num="48" count="3" type="cond" truecount="2" falsecount="0"/>
253
- <line num="49" count="1" type="stmt"/>
254
- <line num="51" count="2" type="stmt"/>
255
- <line num="75" count="2" type="stmt"/>
256
- <line num="94" count="2" type="stmt"/>
257
- </file>
258
- <file name="glue-database.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/glue-database.js">
259
- <metrics statements="7" coveredstatements="7" conditionals="6" coveredconditionals="6" methods="2" coveredmethods="2"/>
260
- <line num="32" count="4" type="cond" truecount="2" falsecount="0"/>
261
- <line num="42" count="3" type="stmt"/>
262
- <line num="44" count="3" type="stmt"/>
263
- <line num="45" count="5" type="cond" truecount="2" falsecount="0"/>
264
- <line num="46" count="1" type="stmt"/>
265
- <line num="48" count="2" type="stmt"/>
266
- <line num="67" count="2" type="stmt"/>
267
- </file>
268
- <file name="glue-json-table.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/glue-json-table.js">
269
- <metrics statements="14" coveredstatements="14" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
270
- <line num="3" count="2" type="stmt"/>
271
- <line num="18" count="4" type="cond" truecount="2" falsecount="0"/>
272
- <line num="19" count="3" type="stmt"/>
273
- <line num="20" count="3" type="stmt"/>
274
- <line num="22" count="3" type="stmt"/>
275
- <line num="23" count="3" type="cond" truecount="2" falsecount="0"/>
276
- <line num="24" count="1" type="stmt"/>
277
- <line num="26" count="2" type="stmt"/>
278
- <line num="27" count="2" type="stmt"/>
279
- <line num="29" count="2" type="stmt"/>
280
- <line num="30" count="2" type="stmt"/>
281
- <line num="33" count="2" type="stmt"/>
282
- <line num="35" count="2" type="stmt"/>
283
- <line num="50" count="2" type="stmt"/>
284
- </file>
285
- <file name="glue-orc-table.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/glue-orc-table.js">
286
- <metrics statements="12" coveredstatements="12" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
287
- <line num="3" count="2" type="stmt"/>
288
- <line num="18" count="4" type="cond" truecount="2" falsecount="0"/>
289
- <line num="19" count="3" type="stmt"/>
290
- <line num="21" count="3" type="stmt"/>
291
- <line num="22" count="3" type="cond" truecount="2" falsecount="0"/>
292
- <line num="23" count="1" type="stmt"/>
293
- <line num="25" count="2" type="stmt"/>
294
- <line num="26" count="2" type="stmt"/>
295
- <line num="27" count="2" type="stmt"/>
296
- <line num="28" count="2" type="stmt"/>
297
- <line num="33" count="2" type="stmt"/>
298
- <line num="47" count="2" type="stmt"/>
299
- </file>
300
- <file name="glue-parquet-table.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/glue-parquet-table.js">
301
- <metrics statements="8" coveredstatements="8" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
302
- <line num="3" count="2" type="stmt"/>
303
- <line num="29" count="4" type="cond" truecount="2" falsecount="0"/>
304
- <line num="30" count="3" type="stmt"/>
305
- <line num="32" count="3" type="stmt"/>
306
- <line num="33" count="3" type="cond" truecount="2" falsecount="0"/>
307
- <line num="34" count="1" type="stmt"/>
308
- <line num="36" count="2" type="stmt"/>
309
- <line num="61" count="2" type="stmt"/>
310
- </file>
311
- <file name="glue-presto-view.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/glue-presto-view.js">
312
- <metrics statements="17" coveredstatements="17" conditionals="5" coveredconditionals="5" methods="3" coveredmethods="3"/>
313
- <line num="3" count="2" type="stmt"/>
314
- <line num="14" count="4" type="cond" truecount="2" falsecount="0"/>
315
- <line num="15" count="3" type="cond" truecount="1" falsecount="0"/>
316
- <line num="20" count="3" type="stmt"/>
317
- <line num="22" count="3" type="stmt"/>
318
- <line num="23" count="7" type="cond" truecount="2" falsecount="0"/>
319
- <line num="24" count="1" type="stmt"/>
320
- <line num="28" count="2" type="stmt"/>
321
- <line num="29" count="2" type="stmt"/>
322
- <line num="30" count="2" type="stmt"/>
323
- <line num="31" count="2" type="stmt"/>
324
- <line num="35" count="2" type="stmt"/>
325
- <line num="37" count="2" type="stmt"/>
326
- <line num="58" count="2" type="stmt"/>
327
- <line num="72" count="2" type="stmt"/>
328
- <line num="76" count="2" type="stmt"/>
329
- <line num="91" count="2" type="stmt"/>
330
- </file>
331
- <file name="glue-spark-view.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/glue-spark-view.js">
332
- <metrics statements="13" coveredstatements="2" conditionals="5" coveredconditionals="0" methods="2" coveredmethods="0"/>
333
- <line num="3" count="2" type="stmt"/>
334
- <line num="14" count="0" type="cond" truecount="0" falsecount="2"/>
335
- <line num="15" count="0" type="cond" truecount="0" falsecount="1"/>
336
- <line num="20" count="0" type="stmt"/>
337
- <line num="22" count="0" type="stmt"/>
338
- <line num="23" count="0" type="cond" truecount="0" falsecount="2"/>
339
- <line num="24" count="0" type="stmt"/>
340
- <line num="28" count="0" type="stmt"/>
341
- <line num="29" count="0" type="stmt"/>
342
- <line num="30" count="0" type="stmt"/>
343
- <line num="32" count="0" type="stmt"/>
344
- <line num="39" count="0" type="stmt"/>
345
- <line num="52" count="2" type="stmt"/>
346
- </file>
347
- <file name="glue-table.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/glue-table.js">
348
- <metrics statements="7" coveredstatements="7" conditionals="12" coveredconditionals="12" methods="2" coveredmethods="2"/>
349
- <line num="59" count="12" type="cond" truecount="2" falsecount="0"/>
350
- <line num="87" count="11" type="stmt"/>
351
- <line num="89" count="11" type="stmt"/>
352
- <line num="90" count="41" type="cond" truecount="2" falsecount="0"/>
353
- <line num="91" count="1" type="stmt"/>
354
- <line num="93" count="10" type="stmt"/>
355
- <line num="132" count="2" type="stmt"/>
356
- </file>
357
- <file name="hookshot.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/hookshot.js">
358
- <metrics statements="39" coveredstatements="39" conditionals="28" coveredconditionals="27" methods="8" coveredmethods="8"/>
359
- <line num="3" count="2" type="stmt"/>
360
- <line num="4" count="2" type="stmt"/>
361
- <line num="5" count="2" type="stmt"/>
362
- <line num="6" count="2" type="stmt"/>
363
- <line num="8" count="2" type="stmt"/>
364
- <line num="11" count="4" type="cond" truecount="2" falsecount="0"/>
365
- <line num="12" count="2" type="stmt"/>
366
- <line num="13" count="2" type="cond" truecount="1" falsecount="1"/>
367
- <line num="14" count="2" type="stmt"/>
368
- <line num="16" count="2" type="stmt"/>
369
- <line num="89" count="17" type="cond" truecount="2" falsecount="0"/>
370
- <line num="97" count="16" type="stmt"/>
371
- <line num="99" count="16" type="cond" truecount="2" falsecount="0"/>
372
- <line num="103" count="12" type="stmt"/>
373
- <line num="105" count="12" type="stmt"/>
374
- <line num="106" count="22" type="cond" truecount="2" falsecount="0"/>
375
- <line num="107" count="2" type="stmt"/>
376
- <line num="109" count="10" type="cond" truecount="2" falsecount="0"/>
377
- <line num="110" count="1" type="stmt"/>
378
- <line num="112" count="9" type="cond" truecount="2" falsecount="0"/>
379
- <line num="113" count="2" type="cond" truecount="2" falsecount="0"/>
380
- <line num="115" count="9" type="stmt"/>
381
- <line num="116" count="9" type="stmt"/>
382
- <line num="117" count="9" type="stmt"/>
383
- <line num="119" count="9" type="stmt"/>
384
- <line num="198" count="9" type="cond" truecount="2" falsecount="0"/>
385
- <line num="205" count="9" type="cond" truecount="2" falsecount="0"/>
386
- <line num="206" count="1" type="stmt"/>
387
- <line num="214" count="1" type="stmt"/>
388
- <line num="220" count="9" type="stmt"/>
389
- <line num="239" count="9" type="stmt"/>
390
- <line num="241" count="9" type="stmt"/>
391
- <line num="255" count="6" type="stmt"/>
392
- <line num="273" count="6" type="stmt"/>
393
- <line num="370" count="6" type="stmt"/>
394
- <line num="371" count="3" type="stmt"/>
395
- <line num="375" count="3" type="stmt"/>
396
- <line num="429" count="3" type="stmt"/>
397
- <line num="470" count="2" type="stmt"/>
398
- </file>
399
- <file name="index.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/index.js">
400
- <metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
401
- <line num="3" count="2" type="stmt"/>
402
- </file>
403
- <file name="kinesis-firehose-base.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/kinesis-firehose-base.js">
404
- <metrics statements="11" coveredstatements="11" conditionals="6" coveredconditionals="5" methods="1" coveredmethods="1"/>
405
- <line num="2" count="2" type="stmt"/>
406
- <line num="4" count="2" type="stmt"/>
407
- <line num="21" count="4" type="cond" truecount="1" falsecount="1"/>
408
- <line num="25" count="4" type="stmt"/>
409
- <line num="26" count="4" type="stmt"/>
410
- <line num="28" count="3" type="cond" truecount="2" falsecount="0"/>
411
- <line num="30" count="3" type="stmt"/>
412
- <line num="87" count="3" type="cond" truecount="2" falsecount="0"/>
413
- <line num="88" count="1" type="stmt"/>
414
- <line num="94" count="1" type="stmt"/>
415
- <line num="111" count="2" type="stmt"/>
416
- </file>
417
- <file name="lambda.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/lambda.js">
418
- <metrics statements="28" coveredstatements="27" conditionals="40" coveredconditionals="39" methods="2" coveredmethods="2"/>
419
- <line num="3" count="2" type="stmt"/>
420
- <line num="4" count="2" type="stmt"/>
421
- <line num="71" count="54" type="cond" truecount="2" falsecount="0"/>
422
- <line num="115" count="53" type="stmt"/>
423
- <line num="117" count="53" type="cond" truecount="1" falsecount="1"/>
424
- <line num="118" count="0" type="stmt"/>
425
- <line num="120" count="53" type="stmt"/>
426
- <line num="121" count="100" type="cond" truecount="2" falsecount="0"/>
427
- <line num="122" count="6" type="stmt"/>
428
- <line num="124" count="47" type="cond" truecount="4" falsecount="0"/>
429
- <line num="125" count="1" type="stmt"/>
430
- <line num="130" count="46" type="cond" truecount="2" falsecount="0"/>
431
- <line num="131" count="1" type="stmt"/>
432
- <line num="133" count="45" type="stmt"/>
433
- <line num="136" count="46" type="stmt"/>
434
- <line num="137" count="46" type="stmt"/>
435
- <line num="138" count="46" type="stmt"/>
436
- <line num="140" count="46" type="stmt"/>
437
- <line num="228" count="46" type="cond" truecount="2" falsecount="0"/>
438
- <line num="229" count="1" type="stmt"/>
439
- <line num="231" count="45" type="stmt"/>
440
- <line num="237" count="45" type="stmt"/>
441
- <line num="238" count="45" type="stmt"/>
442
- <line num="241" count="46" type="cond" truecount="2" falsecount="0"/>
443
- <line num="242" count="1" type="stmt"/>
444
- <line num="243" count="1" type="stmt"/>
445
- <line num="244" count="1" type="stmt"/>
446
- <line num="249" count="2" type="stmt"/>
447
- </file>
448
- <file name="log-subscription-lambda.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/log-subscription-lambda.js">
449
- <metrics statements="10" coveredstatements="10" conditionals="5" coveredconditionals="5" methods="2" coveredmethods="2"/>
450
- <line num="3" count="2" type="stmt"/>
451
- <line num="32" count="5" type="cond" truecount="2" falsecount="0"/>
452
- <line num="33" count="4" type="stmt"/>
453
- <line num="38" count="3" type="stmt"/>
454
- <line num="40" count="3" type="stmt"/>
455
- <line num="41" count="3" type="cond" truecount="2" falsecount="0"/>
456
- <line num="42" count="1" type="stmt"/>
457
- <line num="44" count="2" type="stmt"/>
458
- <line num="54" count="2" type="stmt"/>
459
- <line num="75" count="2" type="stmt"/>
460
- </file>
461
- <file name="queue-lambda.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/queue-lambda.js">
462
- <metrics statements="18" coveredstatements="17" conditionals="14" coveredconditionals="12" methods="2" coveredmethods="2"/>
463
- <line num="3" count="2" type="stmt"/>
464
- <line num="34" count="6" type="cond" truecount="2" falsecount="0"/>
465
- <line num="35" count="5" type="stmt"/>
466
- <line num="41" count="4" type="stmt"/>
467
- <line num="43" count="4" type="stmt"/>
468
- <line num="44" count="7" type="cond" truecount="2" falsecount="0"/>
469
- <line num="45" count="1" type="stmt"/>
470
- <line num="47" count="3" type="cond" truecount="2" falsecount="0"/>
471
- <line num="48" count="1" type="stmt"/>
472
- <line num="50" count="2" type="cond" truecount="1" falsecount="0"/>
473
- <line num="52" count="2" type="stmt"/>
474
- <line num="63" count="2" type="stmt"/>
475
- <line num="64" count="2" type="stmt"/>
476
- <line num="77" count="2" type="cond" truecount="3" falsecount="1"/>
477
- <line num="78" count="0" type="stmt"/>
478
- <line num="79" count="2" type="cond" truecount="1" falsecount="1"/>
479
- <line num="80" count="2" type="stmt"/>
480
- <line num="93" count="2" type="stmt"/>
481
- </file>
482
- <file name="queue.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/queue.js">
483
- <metrics statements="15" coveredstatements="15" conditionals="22" coveredconditionals="22" methods="2" coveredmethods="2"/>
484
- <line num="54" count="9" type="cond" truecount="2" falsecount="0"/>
485
- <line num="73" count="8" type="stmt"/>
486
- <line num="75" count="8" type="stmt"/>
487
- <line num="76" count="8" type="cond" truecount="2" falsecount="0"/>
488
- <line num="77" count="1" type="stmt"/>
489
- <line num="80" count="7" type="cond" truecount="2" falsecount="0"/>
490
- <line num="82" count="7" type="stmt"/>
491
- <line num="126" count="7" type="cond" truecount="2" falsecount="0"/>
492
- <line num="127" count="5" type="stmt"/>
493
- <line num="128" count="5" type="cond" truecount="2" falsecount="0"/>
494
- <line num="129" count="3" type="stmt"/>
495
- <line num="137" count="3" type="stmt"/>
496
- <line num="140" count="5" type="stmt"/>
497
- <line num="149" count="5" type="stmt"/>
498
- <line num="178" count="2" type="stmt"/>
499
- </file>
500
- <file name="role.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/role.js">
501
- <metrics statements="9" coveredstatements="9" conditionals="9" coveredconditionals="9" methods="3" coveredmethods="3"/>
502
- <line num="47" count="57" type="cond" truecount="2" falsecount="0"/>
503
- <line num="59" count="56" type="stmt"/>
504
- <line num="61" count="56" type="stmt"/>
505
- <line num="62" count="111" type="cond" truecount="2" falsecount="0"/>
506
- <line num="63" count="1" type="stmt"/>
507
- <line num="65" count="55" type="stmt"/>
508
- <line num="77" count="55" type="stmt"/>
509
- <line num="87" count="55" type="cond" truecount="2" falsecount="0"/>
510
- <line num="99" count="2" type="stmt"/>
511
- </file>
512
- <file name="s3-kinesis-firehose.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/s3-kinesis-firehose.js">
513
- <metrics statements="14" coveredstatements="14" conditionals="14" coveredconditionals="14" methods="1" coveredmethods="1"/>
514
- <line num="2" count="2" type="stmt"/>
515
- <line num="3" count="2" type="stmt"/>
516
- <line num="5" count="2" type="stmt"/>
517
- <line num="52" count="5" type="cond" truecount="2" falsecount="0"/>
518
- <line num="76" count="4" type="stmt"/>
519
- <line num="77" count="4" type="stmt"/>
520
- <line num="79" count="3" type="stmt"/>
521
- <line num="81" count="2" type="stmt"/>
522
- <line num="82" count="2" type="stmt"/>
523
- <line num="97" count="2" type="stmt"/>
524
- <line num="130" count="2" type="stmt"/>
525
- <line num="156" count="2" type="stmt"/>
526
- <line num="157" count="2" type="stmt"/>
527
- <line num="161" count="2" type="stmt"/>
528
- </file>
529
- <file name="scheduled-lambda.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/scheduled-lambda.js">
530
- <metrics statements="18" coveredstatements="18" conditionals="9" coveredconditionals="9" methods="2" coveredmethods="2"/>
531
- <line num="3" count="2" type="stmt"/>
532
- <line num="4" count="2" type="stmt"/>
533
- <line num="5" count="2" type="stmt"/>
534
- <line num="70" count="5" type="cond" truecount="2" falsecount="0"/>
535
- <line num="71" count="4" type="stmt"/>
536
- <line num="78" count="3" type="stmt"/>
537
- <line num="80" count="3" type="stmt"/>
538
- <line num="81" count="3" type="cond" truecount="2" falsecount="0"/>
539
- <line num="82" count="1" type="stmt"/>
540
- <line num="84" count="2" type="stmt"/>
541
- <line num="108" count="2" type="cond" truecount="2" falsecount="0"/>
542
- <line num="109" count="1" type="stmt"/>
543
- <line num="112" count="2" type="cond" truecount="2" falsecount="0"/>
544
- <line num="113" count="1" type="stmt"/>
545
- <line num="115" count="1" type="stmt"/>
546
- <line num="129" count="1" type="stmt"/>
547
- <line num="130" count="1" type="stmt"/>
548
- <line num="135" count="2" type="stmt"/>
549
- </file>
550
- <file name="service-role.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/service-role.js">
551
- <metrics statements="13" coveredstatements="13" conditionals="6" coveredconditionals="6" methods="2" coveredmethods="2"/>
552
- <line num="3" count="2" type="stmt"/>
553
- <line num="35" count="53" type="cond" truecount="2" falsecount="0"/>
554
- <line num="36" count="52" type="stmt"/>
555
- <line num="37" count="52" type="stmt"/>
556
- <line num="39" count="52" type="stmt"/>
557
- <line num="40" count="103" type="cond" truecount="2" falsecount="0"/>
558
- <line num="41" count="1" type="stmt"/>
559
- <line num="43" count="51" type="stmt"/>
560
- <line num="61" count="51" type="stmt"/>
561
- <line num="63" count="51" type="stmt"/>
562
- <line num="69" count="51" type="stmt"/>
563
- <line num="70" count="51" type="stmt"/>
564
- <line num="74" count="2" type="stmt"/>
565
- </file>
566
- <file name="stream-lambda.js" path="/Users/jakubborowski/projects/cloudfriend/lib/shortcuts/stream-lambda.js">
567
- <metrics statements="27" coveredstatements="26" conditionals="24" coveredconditionals="22" methods="2" coveredmethods="2"/>
568
- <line num="3" count="2" type="stmt"/>
569
- <line num="53" count="10" type="cond" truecount="2" falsecount="0"/>
570
- <line num="54" count="9" type="stmt"/>
571
- <line num="63" count="8" type="stmt"/>
572
- <line num="65" count="8" type="stmt"/>
573
- <line num="66" count="8" type="cond" truecount="2" falsecount="0"/>
574
- <line num="67" count="1" type="stmt"/>
575
- <line num="69" count="7" type="stmt"/>
576
- <line num="81" count="7" type="cond" truecount="2" falsecount="0"/>
577
- <line num="82" count="6" type="cond" truecount="2" falsecount="0"/>
578
- <line num="83" count="1" type="stmt"/>
579
- <line num="85" count="5" type="cond" truecount="4" falsecount="0"/>
580
- <line num="86" count="2" type="stmt"/>
581
- <line num="88" count="3" type="stmt"/>
582
- <line num="89" count="4" type="cond" truecount="2" falsecount="0"/>
583
- <line num="90" count="1" type="stmt"/>
584
- <line num="92" count="3" type="stmt"/>
585
- <line num="93" count="3" type="stmt"/>
586
- <line num="95" count="1" type="stmt"/>
587
- <line num="98" count="1" type="stmt"/>
588
- <line num="101" count="2" type="stmt"/>
589
- <line num="102" count="2" type="stmt"/>
590
- <line num="120" count="2" type="cond" truecount="3" falsecount="1"/>
591
- <line num="121" count="0" type="stmt"/>
592
- <line num="122" count="2" type="cond" truecount="1" falsecount="1"/>
593
- <line num="123" count="2" type="stmt"/>
594
- <line num="136" count="2" type="stmt"/>
595
- </file>
596
- </package>
597
- </project>
598
- </coverage>