@strapi/database 4.10.1 → 4.10.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 (86) hide show
  1. package/jest.config.js +1 -0
  2. package/lib/schema/diff.js +4 -1
  3. package/package.json +2 -2
  4. package/coverage/clover.xml +0 -2669
  5. package/coverage/coverage-final.json +0 -56
  6. package/coverage/lcov-report/base.css +0 -224
  7. package/coverage/lcov-report/block-navigation.js +0 -87
  8. package/coverage/lcov-report/favicon.png +0 -0
  9. package/coverage/lcov-report/index.html +0 -356
  10. package/coverage/lcov-report/lib/entity-manager/entity-repository.js.html +0 -532
  11. package/coverage/lcov-report/lib/entity-manager/index.html +0 -176
  12. package/coverage/lcov-report/lib/entity-manager/index.js.html +0 -3832
  13. package/coverage/lcov-report/lib/entity-manager/morph-relations.js.html +0 -274
  14. package/coverage/lcov-report/lib/entity-manager/regular-relations.js.html +0 -1246
  15. package/coverage/lcov-report/lib/entity-manager/relations-orderer.js.html +0 -760
  16. package/coverage/lcov-report/lib/errors/database.js.html +0 -121
  17. package/coverage/lcov-report/lib/errors/index.html +0 -206
  18. package/coverage/lcov-report/lib/errors/index.js.html +0 -136
  19. package/coverage/lcov-report/lib/errors/invalid-date.js.html +0 -127
  20. package/coverage/lcov-report/lib/errors/invalid-datetime.js.html +0 -127
  21. package/coverage/lcov-report/lib/errors/invalid-relation.js.html +0 -127
  22. package/coverage/lcov-report/lib/errors/invalid-time.js.html +0 -127
  23. package/coverage/lcov-report/lib/errors/not-null.js.html +0 -130
  24. package/coverage/lcov-report/lib/fields/biginteger.js.html +0 -136
  25. package/coverage/lcov-report/lib/fields/boolean.js.html +0 -202
  26. package/coverage/lcov-report/lib/fields/date.js.html +0 -133
  27. package/coverage/lcov-report/lib/fields/datetime.js.html +0 -142
  28. package/coverage/lcov-report/lib/fields/field.js.html +0 -136
  29. package/coverage/lcov-report/lib/fields/index.html +0 -266
  30. package/coverage/lcov-report/lib/fields/index.js.html +0 -232
  31. package/coverage/lcov-report/lib/fields/json.js.html +0 -133
  32. package/coverage/lcov-report/lib/fields/number.js.html +0 -154
  33. package/coverage/lcov-report/lib/fields/shared/index.html +0 -116
  34. package/coverage/lcov-report/lib/fields/shared/parsers.js.html +0 -292
  35. package/coverage/lcov-report/lib/fields/string.js.html +0 -136
  36. package/coverage/lcov-report/lib/fields/time.js.html +0 -136
  37. package/coverage/lcov-report/lib/fields/timestamp.js.html +0 -142
  38. package/coverage/lcov-report/lib/index.html +0 -131
  39. package/coverage/lcov-report/lib/index.js.html +0 -457
  40. package/coverage/lcov-report/lib/lifecycles/index.html +0 -116
  41. package/coverage/lcov-report/lib/lifecycles/index.js.html +0 -355
  42. package/coverage/lcov-report/lib/lifecycles/subscribers/index.html +0 -131
  43. package/coverage/lcov-report/lib/lifecycles/subscribers/models-lifecycles.js.html +0 -142
  44. package/coverage/lcov-report/lib/lifecycles/subscribers/timestamps.js.html +0 -280
  45. package/coverage/lcov-report/lib/metadata/index.html +0 -131
  46. package/coverage/lcov-report/lib/metadata/index.js.html +0 -817
  47. package/coverage/lcov-report/lib/metadata/relations.js.html +0 -1783
  48. package/coverage/lcov-report/lib/query/helpers/index.html +0 -191
  49. package/coverage/lcov-report/lib/query/helpers/index.js.html +0 -118
  50. package/coverage/lcov-report/lib/query/helpers/join.js.html +0 -373
  51. package/coverage/lcov-report/lib/query/helpers/order-by.js.html +0 -295
  52. package/coverage/lcov-report/lib/query/helpers/populate/apply.js.html +0 -2077
  53. package/coverage/lcov-report/lib/query/helpers/populate/index.html +0 -146
  54. package/coverage/lcov-report/lib/query/helpers/populate/index.js.html +0 -112
  55. package/coverage/lcov-report/lib/query/helpers/populate/process.js.html +0 -391
  56. package/coverage/lcov-report/lib/query/helpers/search.js.html +0 -337
  57. package/coverage/lcov-report/lib/query/helpers/streams/index.html +0 -131
  58. package/coverage/lcov-report/lib/query/helpers/streams/index.js.html +0 -100
  59. package/coverage/lcov-report/lib/query/helpers/streams/readable.js.html +0 -607
  60. package/coverage/lcov-report/lib/query/helpers/transform.js.html +0 -337
  61. package/coverage/lcov-report/lib/query/helpers/where.js.html +0 -1255
  62. package/coverage/lcov-report/lib/query/index.html +0 -131
  63. package/coverage/lcov-report/lib/query/index.js.html +0 -106
  64. package/coverage/lcov-report/lib/query/query-builder.js.html +0 -1627
  65. package/coverage/lcov-report/lib/schema/builder.js.html +0 -1243
  66. package/coverage/lcov-report/lib/schema/diff.js.html +0 -1207
  67. package/coverage/lcov-report/lib/schema/index.html +0 -176
  68. package/coverage/lcov-report/lib/schema/index.js.html +0 -367
  69. package/coverage/lcov-report/lib/schema/schema.js.html +0 -688
  70. package/coverage/lcov-report/lib/schema/storage.js.html +0 -313
  71. package/coverage/lcov-report/lib/transaction-context.js.html +0 -136
  72. package/coverage/lcov-report/lib/types/index.html +0 -116
  73. package/coverage/lcov-report/lib/types/index.js.html +0 -187
  74. package/coverage/lcov-report/lib/utils/content-types.js.html +0 -205
  75. package/coverage/lcov-report/lib/utils/index.html +0 -131
  76. package/coverage/lcov-report/lib/utils/knex.js.html +0 -151
  77. package/coverage/lcov-report/lib/validations/index.html +0 -116
  78. package/coverage/lcov-report/lib/validations/index.js.html +0 -145
  79. package/coverage/lcov-report/lib/validations/relations/bidirectional.js.html +0 -352
  80. package/coverage/lcov-report/lib/validations/relations/index.html +0 -131
  81. package/coverage/lcov-report/lib/validations/relations/index.js.html +0 -127
  82. package/coverage/lcov-report/prettify.css +0 -1
  83. package/coverage/lcov-report/prettify.js +0 -2
  84. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  85. package/coverage/lcov-report/sorter.js +0 -196
  86. package/coverage/lcov.info +0 -5179
@@ -1,2669 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1678870366541" clover="3.2.0">
3
- <project timestamp="1678870366541" name="All files">
4
- <metrics statements="2447" coveredstatements="585" conditionals="1325" coveredconditionals="104" methods="456" coveredmethods="76" elements="4228" coveredelements="765" complexity="0" loc="2447" ncloc="2447" packages="17" files="55" classes="55"/>
5
- <package name="lib">
6
- <metrics statements="61" coveredstatements="48" conditionals="17" coveredconditionals="4" methods="14" coveredmethods="8"/>
7
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/index.js">
8
- <metrics statements="55" coveredstatements="42" conditionals="17" coveredconditionals="4" methods="12" coveredmethods="6"/>
9
- <line num="3" count="1" type="stmt"/>
10
- <line num="4" count="1" type="stmt"/>
11
- <line num="5" count="1" type="stmt"/>
12
- <line num="6" count="1" type="stmt"/>
13
- <line num="7" count="1" type="stmt"/>
14
- <line num="8" count="1" type="stmt"/>
15
- <line num="9" count="1" type="stmt"/>
16
- <line num="10" count="1" type="stmt"/>
17
- <line num="11" count="1" type="stmt"/>
18
- <line num="14" count="1" type="stmt"/>
19
- <line num="15" count="1" type="stmt"/>
20
- <line num="19" count="5" type="stmt"/>
21
- <line num="21" count="4" type="stmt"/>
22
- <line num="31" count="4" type="stmt"/>
23
- <line num="32" count="4" type="stmt"/>
24
- <line num="34" count="4" type="stmt"/>
25
- <line num="36" count="4" type="stmt"/>
26
- <line num="38" count="4" type="stmt"/>
27
- <line num="40" count="4" type="stmt"/>
28
- <line num="41" count="4" type="stmt"/>
29
- <line num="43" count="4" type="stmt"/>
30
- <line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
31
- <line num="48" count="0" type="stmt"/>
32
- <line num="51" count="0" type="stmt"/>
33
- <line num="55" count="3" type="stmt"/>
34
- <line num="56" count="3" type="cond" truecount="1" falsecount="1"/>
35
- <line num="59" count="1" type="cond" truecount="1" falsecount="1"/>
36
- <line num="60" count="1" type="stmt"/>
37
- <line num="65" count="2" type="cond" truecount="1" falsecount="1"/>
38
- <line num="66" count="2" type="stmt"/>
39
- <line num="69" count="3" type="cond" truecount="1" falsecount="1"/>
40
- <line num="70" count="0" type="stmt"/>
41
- <line num="74" count="0" type="stmt"/>
42
- <line num="79" count="3" type="stmt"/>
43
- <line num="80" count="3" type="stmt"/>
44
- <line num="81" count="3" type="stmt"/>
45
- <line num="82" count="3" type="stmt"/>
46
- <line num="83" count="1" type="stmt"/>
47
- <line num="84" count="1" type="stmt"/>
48
- <line num="86" count="2" type="stmt"/>
49
- <line num="87" count="2" type="stmt"/>
50
- <line num="93" count="0" type="stmt"/>
51
- <line num="94" count="0" type="cond" truecount="0" falsecount="2"/>
52
- <line num="95" count="0" type="cond" truecount="0" falsecount="2"/>
53
- <line num="99" count="0" type="stmt"/>
54
- <line num="100" count="0" type="cond" truecount="0" falsecount="2"/>
55
- <line num="104" count="0" type="stmt"/>
56
- <line num="108" count="0" type="stmt"/>
57
- <line num="109" count="0" type="stmt"/>
58
- <line num="114" count="1" type="stmt"/>
59
- <line num="115" count="1" type="stmt"/>
60
- <line num="116" count="5" type="stmt"/>
61
- <line num="117" count="4" type="stmt"/>
62
- <line num="118" count="4" type="stmt"/>
63
- <line num="121" count="1" type="stmt"/>
64
- </file>
65
- <file name="transaction-context.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/transaction-context.js">
66
- <metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
67
- <line num="3" count="1" type="stmt"/>
68
- <line num="5" count="1" type="stmt"/>
69
- <line num="7" count="1" type="stmt"/>
70
- <line num="9" count="3" type="stmt"/>
71
- <line num="13" count="3" type="stmt"/>
72
- <line num="17" count="1" type="stmt"/>
73
- </file>
74
- </package>
75
- <package name="lib.entity-manager">
76
- <metrics statements="636" coveredstatements="112" conditionals="444" coveredconditionals="40" methods="99" coveredmethods="17"/>
77
- <file name="entity-repository.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/entity-manager/entity-repository.js">
78
- <metrics statements="41" coveredstatements="6" conditionals="9" coveredconditionals="0" methods="20" coveredmethods="0"/>
79
- <line num="3" count="1" type="stmt"/>
80
- <line num="4" count="1" type="stmt"/>
81
- <line num="6" count="1" type="stmt"/>
82
- <line num="7" count="0" type="cond" truecount="0" falsecount="2"/>
83
- <line num="9" count="0" type="stmt"/>
84
- <line num="16" count="1" type="stmt"/>
85
- <line num="17" count="0" type="stmt"/>
86
- <line num="19" count="0" type="stmt"/>
87
- <line num="20" count="0" type="stmt"/>
88
- <line num="22" count="0" type="stmt"/>
89
- <line num="28" count="0" type="stmt"/>
90
- <line num="31" count="1" type="stmt"/>
91
- <line num="32" count="0" type="stmt"/>
92
- <line num="34" count="0" type="stmt"/>
93
- <line num="38" count="0" type="stmt"/>
94
- <line num="42" count="0" type="stmt"/>
95
- <line num="49" count="0" type="stmt"/>
96
- <line num="51" count="0" type="stmt"/>
97
- <line num="56" count="0" type="stmt"/>
98
- <line num="68" count="0" type="stmt"/>
99
- <line num="72" count="0" type="stmt"/>
100
- <line num="76" count="0" type="stmt"/>
101
- <line num="80" count="0" type="stmt"/>
102
- <line num="84" count="0" type="stmt"/>
103
- <line num="88" count="0" type="stmt"/>
104
- <line num="92" count="0" type="stmt"/>
105
- <line num="96" count="0" type="stmt"/>
106
- <line num="100" count="0" type="stmt"/>
107
- <line num="104" count="0" type="stmt"/>
108
- <line num="108" count="0" type="stmt"/>
109
- <line num="112" count="0" type="stmt"/>
110
- <line num="116" count="0" type="cond" truecount="0" falsecount="2"/>
111
- <line num="117" count="0" type="stmt"/>
112
- <line num="120" count="0" type="stmt"/>
113
- <line num="121" count="0" type="stmt"/>
114
- <line num="123" count="0" type="cond" truecount="0" falsecount="5"/>
115
- <line num="124" count="0" type="stmt"/>
116
- <line num="127" count="0" type="stmt"/>
117
- <line num="129" count="0" type="stmt"/>
118
- <line num="134" count="0" type="stmt"/>
119
- <line num="147" count="1" type="stmt"/>
120
- </file>
121
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/entity-manager/index.js">
122
- <metrics statements="408" coveredstatements="19" conditionals="326" coveredconditionals="0" methods="49" coveredmethods="1"/>
123
- <line num="23" count="1" type="stmt"/>
124
- <line num="24" count="1" type="stmt"/>
125
- <line num="25" count="1" type="stmt"/>
126
- <line num="26" count="1" type="stmt"/>
127
- <line num="27" count="1" type="stmt"/>
128
- <line num="28" count="1" type="stmt"/>
129
- <line num="35" count="1" type="stmt"/>
130
- <line num="41" count="1" type="stmt"/>
131
- <line num="42" count="1" type="stmt"/>
132
- <line num="44" count="1" type="cond" truecount="0" falsecount="2"/>
133
- <line num="45" count="1" type="cond" truecount="0" falsecount="2"/>
134
- <line num="47" count="1" type="cond" truecount="0" falsecount="2"/>
135
- <line num="48" count="1" type="stmt"/>
136
- <line num="49" count="0" type="stmt"/>
137
- <line num="50" count="0" type="stmt"/>
138
- <line num="53" count="0" type="cond" truecount="0" falsecount="2"/>
139
- <line num="54" count="0" type="stmt"/>
140
- <line num="58" count="0" type="cond" truecount="0" falsecount="4"/>
141
- <line num="59" count="0" type="stmt"/>
142
- <line num="62" count="0" type="stmt"/>
143
- <line num="64" count="0" type="stmt"/>
144
- <line num="67" count="1" type="stmt"/>
145
- <line num="68" count="0" type="cond" truecount="0" falsecount="7"/>
146
- <line num="69" count="0" type="stmt"/>
147
- <line num="74" count="0" type="cond" truecount="0" falsecount="2"/>
148
- <line num="75" count="0" type="stmt"/>
149
- <line num="80" count="0" type="stmt"/>
150
- <line num="84" count="0" type="stmt"/>
151
- <line num="92" count="1" type="cond" truecount="0" falsecount="3"/>
152
- <line num="93" count="0" type="stmt"/>
153
- <line num="95" count="0" type="stmt"/>
154
- <line num="97" count="0" type="stmt"/>
155
- <line num="98" count="0" type="stmt"/>
156
- <line num="100" count="0" type="cond" truecount="0" falsecount="2"/>
157
- <line num="101" count="0" type="stmt"/>
158
- <line num="103" count="0" type="cond" truecount="0" falsecount="2"/>
159
- <line num="104" count="0" type="cond" truecount="0" falsecount="4"/>
160
- <line num="105" count="0" type="cond" truecount="0" falsecount="2"/>
161
- <line num="106" count="0" type="stmt"/>
162
- <line num="108" count="0" type="stmt"/>
163
- <line num="111" count="0" type="stmt"/>
164
- <line num="114" count="0" type="cond" truecount="0" falsecount="4"/>
165
- <line num="115" count="0" type="stmt"/>
166
- <line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
167
- <line num="120" count="0" type="stmt"/>
168
- <line num="123" count="0" type="cond" truecount="0" falsecount="2"/>
169
- <line num="125" count="0" type="cond" truecount="0" falsecount="4"/>
170
- <line num="126" count="0" type="stmt"/>
171
- <line num="129" count="0" type="cond" truecount="0" falsecount="2"/>
172
- <line num="133" count="0" type="cond" truecount="0" falsecount="2"/>
173
- <line num="134" count="0" type="stmt"/>
174
- <line num="137" count="0" type="stmt"/>
175
- <line num="140" count="0" type="cond" truecount="0" falsecount="4"/>
176
- <line num="141" count="0" type="cond" truecount="0" falsecount="1"/>
177
- <line num="143" count="0" type="stmt"/>
178
- <line num="145" count="0" type="cond" truecount="0" falsecount="2"/>
179
- <line num="146" count="0" type="stmt"/>
180
- <line num="151" count="0" type="stmt"/>
181
- <line num="154" count="0" type="cond" truecount="0" falsecount="2"/>
182
- <line num="155" count="0" type="cond" truecount="0" falsecount="4"/>
183
- <line num="156" count="0" type="stmt"/>
184
- <line num="159" count="0" type="stmt"/>
185
- <line num="168" count="0" type="stmt"/>
186
- <line num="171" count="1" type="stmt"/>
187
- <line num="172" count="4" type="stmt"/>
188
- <line num="174" count="4" type="stmt"/>
189
- <line num="176" count="0" type="stmt"/>
190
- <line num="178" count="0" type="stmt"/>
191
- <line num="180" count="0" type="stmt"/>
192
- <line num="182" count="0" type="stmt"/>
193
- <line num="187" count="0" type="stmt"/>
194
- <line num="189" count="0" type="stmt"/>
195
- <line num="191" count="0" type="stmt"/>
196
- <line num="193" count="0" type="stmt"/>
197
- <line num="197" count="0" type="stmt"/>
198
- <line num="199" count="0" type="stmt"/>
199
- <line num="205" count="0" type="stmt"/>
200
- <line num="207" count="0" type="stmt"/>
201
- <line num="209" count="0" type="stmt"/>
202
- <line num="213" count="0" type="stmt"/>
203
- <line num="215" count="0" type="stmt"/>
204
- <line num="216" count="0" type="stmt"/>
205
- <line num="218" count="0" type="cond" truecount="0" falsecount="2"/>
206
- <line num="219" count="0" type="stmt"/>
207
- <line num="222" count="0" type="stmt"/>
208
- <line num="224" count="0" type="stmt"/>
209
- <line num="226" count="0" type="cond" truecount="0" falsecount="2"/>
210
- <line num="228" count="0" type="stmt"/>
211
- <line num="229" count="0" type="stmt"/>
212
- <line num="230" count="0" type="stmt"/>
213
- <line num="232" count="0" type="stmt"/>
214
- <line num="234" count="0" type="stmt"/>
215
- <line num="235" count="0" type="stmt"/>
216
- <line num="236" count="0" type="stmt"/>
217
- <line num="241" count="0" type="stmt"/>
218
- <line num="247" count="0" type="stmt"/>
219
- <line num="249" count="0" type="stmt"/>
220
- <line num="254" count="0" type="stmt"/>
221
- <line num="256" count="0" type="stmt"/>
222
- <line num="257" count="0" type="stmt"/>
223
- <line num="259" count="0" type="cond" truecount="0" falsecount="2"/>
224
- <line num="260" count="0" type="stmt"/>
225
- <line num="263" count="0" type="stmt"/>
226
- <line num="264" count="0" type="stmt"/>
227
- <line num="267" count="0" type="cond" truecount="0" falsecount="2"/>
228
- <line num="268" count="0" type="stmt"/>
229
- <line num="271" count="0" type="stmt"/>
230
- <line num="273" count="0" type="stmt"/>
231
- <line num="275" count="0" type="stmt"/>
232
- <line num="277" count="0" type="stmt"/>
233
- <line num="281" count="0" type="stmt"/>
234
- <line num="283" count="0" type="stmt"/>
235
- <line num="284" count="0" type="stmt"/>
236
- <line num="286" count="0" type="cond" truecount="0" falsecount="2"/>
237
- <line num="287" count="0" type="stmt"/>
238
- <line num="290" count="0" type="cond" truecount="0" falsecount="2"/>
239
- <line num="291" count="0" type="stmt"/>
240
- <line num="294" count="0" type="stmt"/>
241
- <line num="300" count="0" type="cond" truecount="0" falsecount="2"/>
242
- <line num="301" count="0" type="stmt"/>
243
- <line num="304" count="0" type="stmt"/>
244
- <line num="306" count="0" type="stmt"/>
245
- <line num="308" count="0" type="cond" truecount="0" falsecount="2"/>
246
- <line num="309" count="0" type="stmt"/>
247
- <line num="312" count="0" type="stmt"/>
248
- <line num="313" count="0" type="stmt"/>
249
- <line num="314" count="0" type="stmt"/>
250
- <line num="315" count="0" type="stmt"/>
251
- <line num="317" count="0" type="stmt"/>
252
- <line num="318" count="0" type="stmt"/>
253
- <line num="319" count="0" type="stmt"/>
254
- <line num="323" count="0" type="stmt"/>
255
- <line num="329" count="0" type="stmt"/>
256
- <line num="331" count="0" type="stmt"/>
257
- <line num="336" count="0" type="stmt"/>
258
- <line num="338" count="0" type="stmt"/>
259
- <line num="339" count="0" type="stmt"/>
260
- <line num="341" count="0" type="stmt"/>
261
- <line num="343" count="0" type="cond" truecount="0" falsecount="2"/>
262
- <line num="344" count="0" type="stmt"/>
263
- <line num="347" count="0" type="stmt"/>
264
- <line num="352" count="0" type="stmt"/>
265
- <line num="354" count="0" type="stmt"/>
266
- <line num="356" count="0" type="stmt"/>
267
- <line num="360" count="0" type="stmt"/>
268
- <line num="362" count="0" type="stmt"/>
269
- <line num="364" count="0" type="cond" truecount="0" falsecount="2"/>
270
- <line num="365" count="0" type="stmt"/>
271
- <line num="369" count="0" type="stmt"/>
272
- <line num="375" count="0" type="cond" truecount="0" falsecount="2"/>
273
- <line num="376" count="0" type="stmt"/>
274
- <line num="379" count="0" type="stmt"/>
275
- <line num="381" count="0" type="stmt"/>
276
- <line num="383" count="0" type="stmt"/>
277
- <line num="384" count="0" type="stmt"/>
278
- <line num="385" count="0" type="stmt"/>
279
- <line num="387" count="0" type="stmt"/>
280
- <line num="389" count="0" type="stmt"/>
281
- <line num="390" count="0" type="stmt"/>
282
- <line num="393" count="0" type="stmt"/>
283
- <line num="395" count="0" type="stmt"/>
284
- <line num="400" count="0" type="stmt"/>
285
- <line num="402" count="0" type="stmt"/>
286
- <line num="404" count="0" type="stmt"/>
287
- <line num="406" count="0" type="stmt"/>
288
- <line num="408" count="0" type="stmt"/>
289
- <line num="410" count="0" type="stmt"/>
290
- <line num="422" count="0" type="stmt"/>
291
- <line num="424" count="0" type="stmt"/>
292
- <line num="425" count="0" type="stmt"/>
293
- <line num="427" count="0" type="cond" truecount="0" falsecount="2"/>
294
- <line num="429" count="0" type="cond" truecount="0" falsecount="4"/>
295
- <line num="430" count="0" type="stmt"/>
296
- <line num="433" count="0" type="stmt"/>
297
- <line num="435" count="0" type="cond" truecount="0" falsecount="4"/>
298
- <line num="436" count="0" type="stmt"/>
299
- <line num="438" count="0" type="stmt"/>
300
- <line num="440" count="0" type="cond" truecount="0" falsecount="2"/>
301
- <line num="442" count="0" type="stmt"/>
302
- <line num="444" count="0" type="stmt"/>
303
- <line num="446" count="0" type="stmt"/>
304
- <line num="451" count="0" type="cond" truecount="0" falsecount="2"/>
305
- <line num="452" count="0" type="stmt"/>
306
- <line num="453" count="0" type="stmt"/>
307
- <line num="455" count="0" type="stmt"/>
308
- <line num="457" count="0" type="cond" truecount="0" falsecount="2"/>
309
- <line num="458" count="0" type="stmt"/>
310
- <line num="461" count="0" type="stmt"/>
311
- <line num="462" count="0" type="stmt"/>
312
- <line num="473" count="0" type="stmt"/>
313
- <line num="476" count="0" type="stmt"/>
314
- <line num="477" count="0" type="cond" truecount="0" falsecount="2"/>
315
- <line num="479" count="0" type="stmt"/>
316
- <line num="480" count="0" type="cond" truecount="0" falsecount="2"/>
317
- <line num="481" count="0" type="stmt"/>
318
- <line num="482" count="0" type="stmt"/>
319
- <line num="484" count="0" type="cond" truecount="0" falsecount="1"/>
320
- <line num="486" count="0" type="cond" truecount="0" falsecount="2"/>
321
- <line num="487" count="0" type="stmt"/>
322
- <line num="490" count="0" type="stmt"/>
323
- <line num="500" count="0" type="stmt"/>
324
- <line num="508" count="0" type="stmt"/>
325
- <line num="510" count="0" type="stmt"/>
326
- <line num="513" count="0" type="cond" truecount="0" falsecount="4"/>
327
- <line num="514" count="0" type="stmt"/>
328
- <line num="515" count="0" type="cond" truecount="0" falsecount="2"/>
329
- <line num="520" count="0" type="stmt"/>
330
- <line num="527" count="0" type="stmt"/>
331
- <line num="531" count="0" type="cond" truecount="0" falsecount="4"/>
332
- <line num="533" count="0" type="stmt"/>
333
- <line num="536" count="0" type="stmt"/>
334
- <line num="538" count="0" type="stmt"/>
335
- <line num="544" count="0" type="stmt"/>
336
- <line num="552" count="0" type="cond" truecount="0" falsecount="2"/>
337
- <line num="555" count="0" type="stmt"/>
338
- <line num="557" count="0" type="stmt"/>
339
- <line num="559" count="0" type="cond" truecount="0" falsecount="2"/>
340
- <line num="560" count="0" type="stmt"/>
341
- <line num="562" count="0" type="cond" truecount="0" falsecount="4"/>
342
- <line num="563" count="0" type="stmt"/>
343
- <line num="573" count="0" type="stmt"/>
344
- <line num="574" count="0" type="stmt"/>
345
- <line num="583" count="0" type="cond" truecount="0" falsecount="4"/>
346
- <line num="584" count="0" type="stmt"/>
347
- <line num="585" count="0" type="stmt"/>
348
- <line num="587" count="0" type="cond" truecount="0" falsecount="4"/>
349
- <line num="589" count="0" type="stmt"/>
350
- <line num="598" count="0" type="stmt"/>
351
- <line num="600" count="0" type="stmt"/>
352
- <line num="601" count="0" type="stmt"/>
353
- <line num="606" count="0" type="cond" truecount="0" falsecount="2"/>
354
- <line num="607" count="0" type="stmt"/>
355
- <line num="617" count="0" type="stmt"/>
356
- <line num="618" count="0" type="stmt"/>
357
- <line num="622" count="0" type="stmt"/>
358
- <line num="623" count="0" type="cond" truecount="0" falsecount="2"/>
359
- <line num="627" count="0" type="cond" truecount="0" falsecount="2"/>
360
- <line num="628" count="0" type="stmt"/>
361
- <line num="632" count="0" type="stmt"/>
362
- <line num="647" count="0" type="stmt"/>
363
- <line num="649" count="0" type="stmt"/>
364
- <line num="650" count="0" type="stmt"/>
365
- <line num="652" count="0" type="cond" truecount="0" falsecount="4"/>
366
- <line num="653" count="0" type="stmt"/>
367
- <line num="655" count="0" type="stmt"/>
368
- <line num="657" count="0" type="cond" truecount="0" falsecount="4"/>
369
- <line num="658" count="0" type="stmt"/>
370
- <line num="660" count="0" type="stmt"/>
371
- <line num="662" count="0" type="cond" truecount="0" falsecount="2"/>
372
- <line num="664" count="0" type="stmt"/>
373
- <line num="668" count="0" type="stmt"/>
374
- <line num="674" count="0" type="cond" truecount="0" falsecount="2"/>
375
- <line num="675" count="0" type="stmt"/>
376
- <line num="676" count="0" type="stmt"/>
377
- <line num="682" count="0" type="cond" truecount="0" falsecount="2"/>
378
- <line num="683" count="0" type="stmt"/>
379
- <line num="684" count="0" type="stmt"/>
380
- <line num="686" count="0" type="stmt"/>
381
- <line num="688" count="0" type="stmt"/>
382
- <line num="699" count="0" type="cond" truecount="0" falsecount="2"/>
383
- <line num="700" count="0" type="stmt"/>
384
- <line num="703" count="0" type="stmt"/>
385
- <line num="713" count="0" type="stmt"/>
386
- <line num="716" count="0" type="stmt"/>
387
- <line num="719" count="0" type="cond" truecount="0" falsecount="2"/>
388
- <line num="721" count="0" type="stmt"/>
389
- <line num="724" count="0" type="cond" truecount="0" falsecount="2"/>
390
- <line num="725" count="0" type="stmt"/>
391
- <line num="726" count="0" type="stmt"/>
392
- <line num="728" count="0" type="cond" truecount="0" falsecount="1"/>
393
- <line num="730" count="0" type="stmt"/>
394
- <line num="739" count="0" type="cond" truecount="0" falsecount="2"/>
395
- <line num="740" count="0" type="stmt"/>
396
- <line num="743" count="0" type="stmt"/>
397
- <line num="753" count="0" type="stmt"/>
398
- <line num="761" count="0" type="stmt"/>
399
- <line num="763" count="0" type="stmt"/>
400
- <line num="766" count="0" type="cond" truecount="0" falsecount="4"/>
401
- <line num="768" count="0" type="stmt"/>
402
- <line num="773" count="0" type="cond" truecount="0" falsecount="4"/>
403
- <line num="775" count="0" type="stmt"/>
404
- <line num="777" count="0" type="stmt"/>
405
- <line num="783" count="0" type="cond" truecount="0" falsecount="2"/>
406
- <line num="784" count="0" type="stmt"/>
407
- <line num="785" count="0" type="stmt"/>
408
- <line num="793" count="0" type="cond" truecount="0" falsecount="2"/>
409
- <line num="794" count="0" type="stmt"/>
410
- <line num="796" count="0" type="stmt"/>
411
- <line num="797" count="0" type="stmt"/>
412
- <line num="798" count="0" type="cond" truecount="0" falsecount="2"/>
413
- <line num="799" count="0" type="stmt"/>
414
- <line num="801" count="0" type="cond" truecount="0" falsecount="2"/>
415
- <line num="802" count="0" type="stmt"/>
416
- <line num="806" count="0" type="cond" truecount="0" falsecount="2"/>
417
- <line num="807" count="0" type="stmt"/>
418
- <line num="809" count="0" type="stmt"/>
419
- <line num="812" count="0" type="cond" truecount="0" falsecount="2"/>
420
- <line num="813" count="0" type="cond" truecount="0" falsecount="2"/>
421
- <line num="814" count="0" type="stmt"/>
422
- <line num="816" count="0" type="stmt"/>
423
- <line num="817" count="0" type="stmt"/>
424
- <line num="821" count="0" type="cond" truecount="0" falsecount="2"/>
425
- <line num="822" count="0" type="stmt"/>
426
- <line num="825" count="0" type="cond" truecount="0" falsecount="2"/>
427
- <line num="826" count="0" type="stmt"/>
428
- <line num="831" count="0" type="cond" truecount="0" falsecount="4"/>
429
- <line num="832" count="0" type="stmt"/>
430
- <line num="844" count="0" type="stmt"/>
431
- <line num="851" count="0" type="cond" truecount="0" falsecount="2"/>
432
- <line num="853" count="0" type="stmt"/>
433
- <line num="861" count="0" type="cond" truecount="0" falsecount="2"/>
434
- <line num="881" count="0" type="stmt"/>
435
- <line num="890" count="0" type="stmt"/>
436
- <line num="891" count="0" type="stmt"/>
437
- <line num="896" count="0" type="cond" truecount="0" falsecount="2"/>
438
- <line num="897" count="0" type="stmt"/>
439
- <line num="902" count="0" type="stmt"/>
440
- <line num="912" count="0" type="stmt"/>
441
- <line num="913" count="0" type="stmt"/>
442
- <line num="917" count="0" type="stmt"/>
443
- <line num="918" count="0" type="cond" truecount="0" falsecount="2"/>
444
- <line num="923" count="0" type="stmt"/>
445
- <line num="928" count="0" type="cond" truecount="0" falsecount="2"/>
446
- <line num="929" count="0" type="stmt"/>
447
- <line num="931" count="0" type="stmt"/>
448
- <line num="934" count="0" type="stmt"/>
449
- <line num="937" count="0" type="stmt"/>
450
- <line num="939" count="0" type="cond" truecount="0" falsecount="2"/>
451
- <line num="940" count="0" type="stmt"/>
452
- <line num="943" count="0" type="stmt"/>
453
- <line num="944" count="0" type="stmt"/>
454
- <line num="953" count="0" type="cond" truecount="0" falsecount="2"/>
455
- <line num="954" count="0" type="stmt"/>
456
- <line num="957" count="0" type="stmt"/>
457
- <line num="965" count="0" type="cond" truecount="0" falsecount="2"/>
458
- <line num="966" count="0" type="stmt"/>
459
- <line num="967" count="0" type="stmt"/>
460
- <line num="972" count="0" type="cond" truecount="0" falsecount="2"/>
461
- <line num="973" count="0" type="stmt"/>
462
- <line num="983" count="0" type="stmt"/>
463
- <line num="988" count="0" type="stmt"/>
464
- <line num="998" count="0" type="stmt"/>
465
- <line num="999" count="0" type="stmt"/>
466
- <line num="1003" count="0" type="stmt"/>
467
- <line num="1004" count="0" type="cond" truecount="0" falsecount="2"/>
468
- <line num="1009" count="0" type="stmt"/>
469
- <line num="1014" count="0" type="cond" truecount="0" falsecount="2"/>
470
- <line num="1015" count="0" type="stmt"/>
471
- <line num="1017" count="0" type="stmt"/>
472
- <line num="1020" count="0" type="stmt"/>
473
- <line num="1024" count="0" type="cond" truecount="0" falsecount="4"/>
474
- <line num="1025" count="0" type="stmt"/>
475
- <line num="1035" count="0" type="cond" truecount="0" falsecount="2"/>
476
- <line num="1036" count="0" type="stmt"/>
477
- <line num="1059" count="0" type="stmt"/>
478
- <line num="1061" count="0" type="stmt"/>
479
- <line num="1062" count="0" type="stmt"/>
480
- <line num="1064" count="0" type="cond" truecount="0" falsecount="2"/>
481
- <line num="1065" count="0" type="stmt"/>
482
- <line num="1075" count="0" type="cond" truecount="0" falsecount="4"/>
483
- <line num="1076" count="0" type="stmt"/>
484
- <line num="1078" count="0" type="stmt"/>
485
- <line num="1080" count="0" type="cond" truecount="0" falsecount="2"/>
486
- <line num="1082" count="0" type="stmt"/>
487
- <line num="1084" count="0" type="stmt"/>
488
- <line num="1089" count="0" type="cond" truecount="0" falsecount="2"/>
489
- <line num="1090" count="0" type="stmt"/>
490
- <line num="1091" count="0" type="stmt"/>
491
- <line num="1093" count="0" type="stmt"/>
492
- <line num="1095" count="0" type="stmt"/>
493
- <line num="1107" count="0" type="stmt"/>
494
- <line num="1114" count="0" type="cond" truecount="0" falsecount="2"/>
495
- <line num="1122" count="0" type="cond" truecount="0" falsecount="2"/>
496
- <line num="1123" count="0" type="stmt"/>
497
- <line num="1124" count="0" type="stmt"/>
498
- <line num="1126" count="0" type="stmt"/>
499
- <line num="1135" count="0" type="stmt"/>
500
- <line num="1139" count="0" type="cond" truecount="0" falsecount="2"/>
501
- <line num="1140" count="0" type="stmt"/>
502
- <line num="1144" count="0" type="cond" truecount="0" falsecount="4"/>
503
- <line num="1146" count="0" type="stmt"/>
504
- <line num="1150" count="0" type="cond" truecount="0" falsecount="4"/>
505
- <line num="1152" count="0" type="stmt"/>
506
- <line num="1154" count="0" type="stmt"/>
507
- <line num="1161" count="0" type="cond" truecount="0" falsecount="2"/>
508
- <line num="1162" count="0" type="stmt"/>
509
- <line num="1169" count="0" type="stmt"/>
510
- <line num="1175" count="0" type="stmt"/>
511
- <line num="1180" count="0" type="stmt"/>
512
- <line num="1182" count="0" type="stmt"/>
513
- <line num="1183" count="0" type="stmt"/>
514
- <line num="1184" count="0" type="stmt"/>
515
- <line num="1186" count="0" type="cond" truecount="0" falsecount="4"/>
516
- <line num="1187" count="0" type="stmt"/>
517
- <line num="1191" count="0" type="stmt"/>
518
- <line num="1195" count="0" type="cond" truecount="0" falsecount="2"/>
519
- <line num="1196" count="0" type="stmt"/>
520
- <line num="1200" count="0" type="cond" truecount="0" falsecount="2"/>
521
- <line num="1201" count="0" type="stmt"/>
522
- <line num="1204" count="0" type="cond" truecount="0" falsecount="2"/>
523
- <line num="1205" count="0" type="stmt"/>
524
- <line num="1208" count="0" type="stmt"/>
525
- <line num="1230" count="0" type="stmt"/>
526
- <line num="1234" count="0" type="cond" truecount="0" falsecount="2"/>
527
- <line num="1235" count="0" type="stmt"/>
528
- <line num="1238" count="0" type="stmt"/>
529
- <line num="1242" count="0" type="stmt"/>
530
- <line num="1247" count="1" type="stmt"/>
531
- </file>
532
- <file name="morph-relations.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/entity-manager/morph-relations.js">
533
- <metrics statements="22" coveredstatements="5" conditionals="5" coveredconditionals="0" methods="3" coveredmethods="0"/>
534
- <line num="3" count="1" type="stmt"/>
535
- <line num="4" count="1" type="stmt"/>
536
- <line num="6" count="1" type="stmt"/>
537
- <line num="7" count="0" type="stmt"/>
538
- <line num="8" count="0" type="stmt"/>
539
- <line num="9" count="0" type="stmt"/>
540
- <line num="11" count="0" type="stmt"/>
541
- <line num="14" count="0" type="stmt"/>
542
- <line num="21" count="1" type="stmt"/>
543
- <line num="25" count="0" type="stmt"/>
544
- <line num="26" count="0" type="stmt"/>
545
- <line num="28" count="0" type="stmt"/>
546
- <line num="35" count="0" type="stmt"/>
547
- <line num="36" count="0" type="stmt"/>
548
- <line num="38" count="0" type="stmt"/>
549
- <line num="40" count="0" type="stmt"/>
550
- <line num="42" count="0" type="stmt"/>
551
- <line num="43" count="0" type="stmt"/>
552
- <line num="44" count="0" type="stmt"/>
553
- <line num="52" count="0" type="cond" truecount="0" falsecount="2"/>
554
- <line num="53" count="0" type="stmt"/>
555
- <line num="61" count="1" type="stmt"/>
556
- </file>
557
- <file name="regular-relations.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/entity-manager/regular-relations.js">
558
- <metrics statements="88" coveredstatements="11" conditionals="60" coveredconditionals="0" methods="8" coveredmethods="0"/>
559
- <line num="3" count="1" type="stmt"/>
560
- <line num="4" count="1" type="stmt"/>
561
- <line num="13" count="1" type="stmt"/>
562
- <line num="14" count="1" type="stmt"/>
563
- <line num="15" count="1" type="stmt"/>
564
- <line num="25" count="1" type="stmt"/>
565
- <line num="32" count="0" type="cond" truecount="0" falsecount="4"/>
566
- <line num="33" count="0" type="stmt"/>
567
- <line num="37" count="0" type="stmt"/>
568
- <line num="38" count="0" type="stmt"/>
569
- <line num="40" count="0" type="stmt"/>
570
- <line num="50" count="0" type="stmt"/>
571
- <line num="61" count="1" type="stmt"/>
572
- <line num="68" count="0" type="stmt"/>
573
- <line num="69" count="0" type="stmt"/>
574
- <line num="71" count="0" type="cond" truecount="0" falsecount="2"/>
575
- <line num="72" count="0" type="stmt"/>
576
- <line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
577
- <line num="77" count="0" type="stmt"/>
578
- <line num="87" count="0" type="stmt"/>
579
- <line num="89" count="0" type="stmt"/>
580
- <line num="99" count="0" type="stmt"/>
581
- <line num="103" count="0" type="stmt"/>
582
- <line num="124" count="1" type="stmt"/>
583
- <line num="132" count="0" type="stmt"/>
584
- <line num="133" count="0" type="stmt"/>
585
- <line num="134" count="0" type="stmt"/>
586
- <line num="136" count="0" type="cond" truecount="0" falsecount="4"/>
587
- <line num="137" count="0" type="stmt"/>
588
- <line num="138" count="0" type="stmt"/>
589
- <line num="139" count="0" type="stmt"/>
590
- <line num="140" count="0" type="stmt"/>
591
- <line num="141" count="0" type="stmt"/>
592
- <line num="154" count="0" type="stmt"/>
593
- <line num="155" count="0" type="stmt"/>
594
- <line num="157" count="0" type="stmt"/>
595
- <line num="159" count="0" type="stmt"/>
596
- <line num="169" count="0" type="stmt"/>
597
- <line num="172" count="0" type="stmt"/>
598
- <line num="193" count="1" type="stmt"/>
599
- <line num="194" count="0" type="cond" truecount="0" falsecount="2"/>
600
- <line num="198" count="0" type="stmt"/>
601
- <line num="202" count="0" type="cond" truecount="0" falsecount="2"/>
602
- <line num="203" count="0" type="stmt"/>
603
- <line num="204" count="0" type="stmt"/>
604
- <line num="207" count="0" type="stmt"/>
605
- <line num="208" count="0" type="stmt"/>
606
- <line num="209" count="0" type="stmt"/>
607
- <line num="210" count="0" type="stmt"/>
608
- <line num="211" count="0" type="stmt"/>
609
- <line num="212" count="0" type="stmt"/>
610
- <line num="213" count="0" type="stmt"/>
611
- <line num="214" count="0" type="stmt"/>
612
- <line num="216" count="0" type="cond" truecount="0" falsecount="4"/>
613
- <line num="217" count="0" type="stmt"/>
614
- <line num="218" count="0" type="stmt"/>
615
- <line num="219" count="0" type="stmt"/>
616
- <line num="220" count="0" type="stmt"/>
617
- <line num="221" count="0" type="stmt"/>
618
- <line num="222" count="0" type="stmt"/>
619
- <line num="225" count="0" type="cond" truecount="0" falsecount="4"/>
620
- <line num="226" count="0" type="stmt"/>
621
- <line num="227" count="0" type="stmt"/>
622
- <line num="228" count="0" type="stmt"/>
623
- <line num="229" count="0" type="stmt"/>
624
- <line num="230" count="0" type="stmt"/>
625
- <line num="231" count="0" type="stmt"/>
626
- <line num="234" count="0" type="cond" truecount="0" falsecount="2"/>
627
- <line num="237" count="0" type="stmt"/>
628
- <line num="252" count="0" type="stmt"/>
629
- <line num="268" count="0" type="stmt"/>
630
- <line num="272" count="0" type="stmt"/>
631
- <line num="307" count="1" type="stmt"/>
632
- <line num="314" count="0" type="stmt"/>
633
- <line num="315" count="0" type="stmt"/>
634
- <line num="317" count="0" type="stmt"/>
635
- <line num="319" count="0" type="cond" truecount="0" falsecount="4"/>
636
- <line num="322" count="0" type="stmt"/>
637
- <line num="323" count="0" type="stmt"/>
638
- <line num="324" count="0" type="stmt"/>
639
- <line num="345" count="0" type="cond" truecount="0" falsecount="4"/>
640
- <line num="346" count="0" type="stmt"/>
641
- <line num="347" count="0" type="stmt"/>
642
- <line num="348" count="0" type="stmt"/>
643
- <line num="349" count="0" type="stmt"/>
644
- <line num="357" count="0" type="stmt"/>
645
- <line num="362" count="0" type="stmt"/>
646
- <line num="382" count="1" type="stmt"/>
647
- </file>
648
- <file name="relations-orderer.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/entity-manager/relations-orderer.js">
649
- <metrics statements="77" coveredstatements="71" conditionals="44" coveredconditionals="40" methods="19" coveredmethods="16"/>
650
- <line num="3" count="3" type="stmt"/>
651
- <line num="4" count="3" type="stmt"/>
652
- <line num="5" count="3" type="stmt"/>
653
- <line num="24" count="3" type="cond" truecount="2" falsecount="0"/>
654
- <line num="25" count="12" type="stmt"/>
655
- <line num="27" count="12" type="stmt"/>
656
- <line num="29" count="13" type="stmt"/>
657
- <line num="31" count="12" type="stmt"/>
658
- <line num="32" count="30" type="cond" truecount="2" falsecount="0"/>
659
- <line num="34" count="30" type="cond" truecount="4" falsecount="0"/>
660
- <line num="35" count="20" type="stmt"/>
661
- <line num="39" count="30" type="cond" truecount="2" falsecount="0"/>
662
- <line num="40" count="1" type="stmt"/>
663
- <line num="46" count="29" type="stmt"/>
664
- <line num="53" count="11" type="cond" truecount="2" falsecount="0"/>
665
- <line num="56" count="10" type="stmt"/>
666
- <line num="57" count="34" type="cond" truecount="2" falsecount="0"/>
667
- <line num="58" count="34" type="stmt"/>
668
- <line num="62" count="34" type="cond" truecount="2" falsecount="0"/>
669
- <line num="63" count="1" type="stmt"/>
670
- <line num="70" count="33" type="cond" truecount="2" falsecount="0"/>
671
- <line num="72" count="25" type="stmt"/>
672
- <line num="75" count="25" type="cond" truecount="4" falsecount="0"/>
673
- <line num="76" count="13" type="stmt"/>
674
- <line num="77" count="13" type="stmt"/>
675
- <line num="81" count="12" type="cond" truecount="2" falsecount="0"/>
676
- <line num="82" count="10" type="stmt"/>
677
- <line num="83" count="8" type="stmt"/>
678
- <line num="84" count="2" type="cond" truecount="2" falsecount="0"/>
679
- <line num="87" count="1" type="stmt"/>
680
- <line num="96" count="1" type="stmt"/>
681
- <line num="101" count="24" type="stmt"/>
682
- <line num="103" count="8" type="stmt"/>
683
- <line num="134" count="3" type="stmt"/>
684
- <line num="135" count="12" type="cond" truecount="1" falsecount="1"/>
685
- <line num="141" count="7" type="cond" truecount="2" falsecount="0"/>
686
- <line num="143" count="7" type="stmt"/>
687
- <line num="144" count="45" type="stmt"/>
688
- <line num="145" count="24" type="stmt"/>
689
- <line num="148" count="7" type="stmt"/>
690
- <line num="149" count="16" type="stmt"/>
691
- <line num="150" count="16" type="cond" truecount="2" falsecount="0"/>
692
- <line num="151" count="2" type="stmt"/>
693
- <line num="155" count="7" type="stmt"/>
694
- <line num="158" count="16" type="cond" truecount="2" falsecount="0"/>
695
- <line num="159" count="6" type="stmt"/>
696
- <line num="160" count="6" type="cond" truecount="2" falsecount="0"/>
697
- <line num="161" count="3" type="stmt"/>
698
- <line num="162" count="6" type="stmt"/>
699
- <line num="163" count="10" type="cond" truecount="2" falsecount="0"/>
700
- <line num="164" count="2" type="stmt"/>
701
- <line num="165" count="2" type="cond" truecount="1" falsecount="1"/>
702
- <line num="166" count="2" type="stmt"/>
703
- <line num="167" count="2" type="stmt"/>
704
- <line num="168" count="8" type="cond" truecount="2" falsecount="0"/>
705
- <line num="169" count="3" type="stmt"/>
706
- <line num="170" count="3" type="stmt"/>
707
- <line num="172" count="5" type="stmt"/>
708
- <line num="173" count="5" type="stmt"/>
709
- <line num="177" count="16" type="stmt"/>
710
- <line num="180" count="7" type="stmt"/>
711
- <line num="182" count="16" type="stmt"/>
712
- <line num="183" count="16" type="stmt"/>
713
- <line num="185" count="16" type="stmt"/>
714
- <line num="188" count="7" type="stmt"/>
715
- <line num="189" count="16" type="stmt"/>
716
- <line num="191" count="16" type="stmt"/>
717
- <line num="192" count="16" type="stmt"/>
718
- <line num="194" count="0" type="stmt"/>
719
- <line num="203" count="7" type="stmt"/>
720
- <line num="206" count="7" type="stmt"/>
721
- <line num="212" count="0" type="stmt"/>
722
- <line num="215" count="0" type="cond" truecount="0" falsecount="2"/>
723
- <line num="216" count="0" type="stmt"/>
724
- <line num="217" count="0" type="stmt"/>
725
- <line num="219" count="0" type="stmt"/>
726
- <line num="225" count="3" type="stmt"/>
727
- </file>
728
- </package>
729
- <package name="lib.errors">
730
- <metrics statements="43" coveredstatements="26" conditionals="15" coveredconditionals="4" methods="6" coveredmethods="2"/>
731
- <file name="database.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/errors/database.js">
732
- <metrics statements="5" coveredstatements="5" conditionals="3" coveredconditionals="3" methods="1" coveredmethods="1"/>
733
- <line num="5" count="3" type="stmt"/>
734
- <line num="6" count="3" type="stmt"/>
735
- <line num="7" count="3" type="cond" truecount="2" falsecount="0"/>
736
- <line num="8" count="3" type="stmt"/>
737
- <line num="12" count="3" type="stmt"/>
738
- </file>
739
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/errors/index.js">
740
- <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
741
- <line num="3" count="3" type="stmt"/>
742
- <line num="4" count="3" type="stmt"/>
743
- <line num="5" count="3" type="stmt"/>
744
- <line num="6" count="3" type="stmt"/>
745
- <line num="7" count="3" type="stmt"/>
746
- <line num="8" count="3" type="stmt"/>
747
- <line num="10" count="3" type="stmt"/>
748
- </file>
749
- <file name="invalid-date.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/errors/invalid-date.js">
750
- <metrics statements="6" coveredstatements="2" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
751
- <line num="3" count="3" type="stmt"/>
752
- <line num="7" count="0" type="stmt"/>
753
- <line num="8" count="0" type="stmt"/>
754
- <line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
755
- <line num="10" count="0" type="stmt"/>
756
- <line num="14" count="3" type="stmt"/>
757
- </file>
758
- <file name="invalid-datetime.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/errors/invalid-datetime.js">
759
- <metrics statements="6" coveredstatements="2" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
760
- <line num="3" count="3" type="stmt"/>
761
- <line num="7" count="0" type="stmt"/>
762
- <line num="8" count="0" type="stmt"/>
763
- <line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
764
- <line num="10" count="0" type="stmt"/>
765
- <line num="14" count="3" type="stmt"/>
766
- </file>
767
- <file name="invalid-relation.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/errors/invalid-relation.js">
768
- <metrics statements="6" coveredstatements="6" conditionals="2" coveredconditionals="1" methods="1" coveredmethods="1"/>
769
- <line num="3" count="3" type="stmt"/>
770
- <line num="7" count="3" type="stmt"/>
771
- <line num="8" count="3" type="stmt"/>
772
- <line num="9" count="3" type="cond" truecount="1" falsecount="1"/>
773
- <line num="10" count="3" type="stmt"/>
774
- <line num="14" count="3" type="stmt"/>
775
- </file>
776
- <file name="invalid-time.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/errors/invalid-time.js">
777
- <metrics statements="6" coveredstatements="2" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
778
- <line num="3" count="3" type="stmt"/>
779
- <line num="7" count="0" type="stmt"/>
780
- <line num="8" count="0" type="stmt"/>
781
- <line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
782
- <line num="10" count="0" type="stmt"/>
783
- <line num="14" count="3" type="stmt"/>
784
- </file>
785
- <file name="not-null.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/errors/not-null.js">
786
- <metrics statements="7" coveredstatements="2" conditionals="4" coveredconditionals="0" methods="1" coveredmethods="0"/>
787
- <line num="3" count="3" type="stmt"/>
788
- <line num="7" count="0" type="stmt"/>
789
- <line num="8" count="0" type="stmt"/>
790
- <line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
791
- <line num="10" count="0" type="stmt"/>
792
- <line num="11" count="0" type="stmt"/>
793
- <line num="15" count="3" type="stmt"/>
794
- </file>
795
- </package>
796
- <package name="lib.fields">
797
- <metrics statements="86" coveredstatements="43" conditionals="22" coveredconditionals="0" methods="22" coveredmethods="0"/>
798
- <file name="biginteger.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/fields/biginteger.js">
799
- <metrics statements="5" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
800
- <line num="3" count="1" type="stmt"/>
801
- <line num="5" count="1" type="stmt"/>
802
- <line num="9" count="0" type="stmt"/>
803
- <line num="13" count="0" type="stmt"/>
804
- <line num="17" count="1" type="stmt"/>
805
- </file>
806
- <file name="boolean.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/fields/boolean.js">
807
- <metrics statements="17" coveredstatements="3" conditionals="12" coveredconditionals="0" methods="2" coveredmethods="0"/>
808
- <line num="3" count="1" type="stmt"/>
809
- <line num="5" count="1" type="stmt"/>
810
- <line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
811
- <line num="11" count="0" type="cond" truecount="0" falsecount="2"/>
812
- <line num="12" count="0" type="stmt"/>
813
- <line num="15" count="0" type="cond" truecount="0" falsecount="2"/>
814
- <line num="16" count="0" type="stmt"/>
815
- <line num="19" count="0" type="stmt"/>
816
- <line num="23" count="0" type="cond" truecount="0" falsecount="2"/>
817
- <line num="24" count="0" type="stmt"/>
818
- <line num="27" count="0" type="stmt"/>
819
- <line num="29" count="0" type="cond" truecount="0" falsecount="2"/>
820
- <line num="30" count="0" type="stmt"/>
821
- <line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
822
- <line num="33" count="0" type="stmt"/>
823
- <line num="35" count="0" type="stmt"/>
824
- <line num="39" count="1" type="stmt"/>
825
- </file>
826
- <file name="date.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/fields/date.js">
827
- <metrics statements="5" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
828
- <line num="3" count="1" type="stmt"/>
829
- <line num="4" count="1" type="stmt"/>
830
- <line num="8" count="0" type="stmt"/>
831
- <line num="12" count="0" type="stmt"/>
832
- <line num="16" count="1" type="stmt"/>
833
- </file>
834
- <file name="datetime.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/fields/datetime.js">
835
- <metrics statements="7" coveredstatements="4" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
836
- <line num="3" count="1" type="stmt"/>
837
- <line num="5" count="1" type="stmt"/>
838
- <line num="6" count="1" type="stmt"/>
839
- <line num="10" count="0" type="stmt"/>
840
- <line num="14" count="0" type="stmt"/>
841
- <line num="15" count="0" type="cond" truecount="0" falsecount="2"/>
842
- <line num="19" count="1" type="stmt"/>
843
- </file>
844
- <file name="field.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/fields/field.js">
845
- <metrics statements="4" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="0"/>
846
- <line num="5" count="0" type="stmt"/>
847
- <line num="9" count="0" type="stmt"/>
848
- <line num="13" count="0" type="stmt"/>
849
- <line num="17" count="1" type="stmt"/>
850
- </file>
851
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/fields/index.js">
852
- <metrics statements="18" coveredstatements="14" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
853
- <line num="3" count="1" type="stmt"/>
854
- <line num="5" count="1" type="stmt"/>
855
- <line num="6" count="1" type="stmt"/>
856
- <line num="7" count="1" type="stmt"/>
857
- <line num="8" count="1" type="stmt"/>
858
- <line num="9" count="1" type="stmt"/>
859
- <line num="10" count="1" type="stmt"/>
860
- <line num="11" count="1" type="stmt"/>
861
- <line num="12" count="1" type="stmt"/>
862
- <line num="13" count="1" type="stmt"/>
863
- <line num="14" count="1" type="stmt"/>
864
- <line num="16" count="1" type="stmt"/>
865
- <line num="37" count="1" type="stmt"/>
866
- <line num="38" count="0" type="stmt"/>
867
- <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
868
- <line num="41" count="0" type="stmt"/>
869
- <line num="44" count="0" type="stmt"/>
870
- <line num="47" count="1" type="stmt"/>
871
- </file>
872
- <file name="json.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/fields/json.js">
873
- <metrics statements="5" coveredstatements="2" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
874
- <line num="3" count="1" type="stmt"/>
875
- <line num="7" count="0" type="stmt"/>
876
- <line num="11" count="0" type="cond" truecount="0" falsecount="2"/>
877
- <line num="12" count="0" type="stmt"/>
878
- <line num="16" count="1" type="stmt"/>
879
- </file>
880
- <file name="number.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/fields/number.js">
881
- <metrics statements="8" coveredstatements="3" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
882
- <line num="3" count="1" type="stmt"/>
883
- <line num="5" count="1" type="stmt"/>
884
- <line num="9" count="0" type="stmt"/>
885
- <line num="11" count="0" type="cond" truecount="0" falsecount="2"/>
886
- <line num="12" count="0" type="stmt"/>
887
- <line num="15" count="0" type="stmt"/>
888
- <line num="19" count="0" type="stmt"/>
889
- <line num="23" count="1" type="stmt"/>
890
- </file>
891
- <file name="string.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/fields/string.js">
892
- <metrics statements="5" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
893
- <line num="3" count="1" type="stmt"/>
894
- <line num="5" count="1" type="stmt"/>
895
- <line num="9" count="0" type="stmt"/>
896
- <line num="13" count="0" type="stmt"/>
897
- <line num="17" count="1" type="stmt"/>
898
- </file>
899
- <file name="time.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/fields/time.js">
900
- <metrics statements="5" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
901
- <line num="3" count="1" type="stmt"/>
902
- <line num="4" count="1" type="stmt"/>
903
- <line num="8" count="0" type="stmt"/>
904
- <line num="13" count="0" type="stmt"/>
905
- <line num="17" count="1" type="stmt"/>
906
- </file>
907
- <file name="timestamp.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/fields/timestamp.js">
908
- <metrics statements="7" coveredstatements="4" conditionals="2" coveredconditionals="0" methods="2" coveredmethods="0"/>
909
- <line num="3" count="1" type="stmt"/>
910
- <line num="5" count="1" type="stmt"/>
911
- <line num="6" count="1" type="stmt"/>
912
- <line num="10" count="0" type="stmt"/>
913
- <line num="14" count="0" type="stmt"/>
914
- <line num="15" count="0" type="cond" truecount="0" falsecount="2"/>
915
- <line num="19" count="1" type="stmt"/>
916
- </file>
917
- </package>
918
- <package name="lib.fields.shared">
919
- <metrics statements="35" coveredstatements="10" conditionals="23" coveredconditionals="0" methods="3" coveredmethods="0"/>
920
- <file name="parsers.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/fields/shared/parsers.js">
921
- <metrics statements="35" coveredstatements="10" conditionals="23" coveredconditionals="0" methods="3" coveredmethods="0"/>
922
- <line num="3" count="1" type="stmt"/>
923
- <line num="4" count="1" type="stmt"/>
924
- <line num="6" count="1" type="stmt"/>
925
- <line num="8" count="1" type="stmt"/>
926
- <line num="9" count="1" type="stmt"/>
927
- <line num="10" count="1" type="stmt"/>
928
- <line num="12" count="1" type="stmt"/>
929
- <line num="13" count="0" type="cond" truecount="0" falsecount="2"/>
930
- <line num="14" count="0" type="stmt"/>
931
- <line num="15" count="0" type="stmt"/>
932
- <line num="16" count="0" type="cond" truecount="0" falsecount="2"/>
933
- <line num="18" count="0" type="stmt"/>
934
- <line num="19" count="0" type="cond" truecount="0" falsecount="2"/>
935
- <line num="21" count="0" type="stmt"/>
936
- <line num="23" count="0" type="stmt"/>
937
- <line num="27" count="1" type="stmt"/>
938
- <line num="28" count="0" type="cond" truecount="0" falsecount="4"/>
939
- <line num="29" count="0" type="stmt"/>
940
- <line num="31" count="0" type="cond" truecount="0" falsecount="4"/>
941
- <line num="34" count="0" type="stmt"/>
942
- <line num="39" count="0" type="stmt"/>
943
- <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
944
- <line num="41" count="0" type="stmt"/>
945
- <line num="44" count="0" type="stmt"/>
946
- <line num="47" count="1" type="stmt"/>
947
- <line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
948
- <line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
949
- <line num="51" count="0" type="stmt"/>
950
- <line num="53" count="0" type="stmt"/>
951
- <line num="55" count="0" type="cond" truecount="0" falsecount="2"/>
952
- <line num="56" count="0" type="stmt"/>
953
- <line num="59" count="0" type="cond" truecount="0" falsecount="1"/>
954
- <line num="60" count="0" type="stmt"/>
955
- <line num="62" count="0" type="stmt"/>
956
- <line num="65" count="1" type="stmt"/>
957
- </file>
958
- </package>
959
- <package name="lib.lifecycles">
960
- <metrics statements="33" coveredstatements="27" conditionals="22" coveredconditionals="12" methods="7" coveredmethods="6"/>
961
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/lifecycles/index.js">
962
- <metrics statements="33" coveredstatements="27" conditionals="22" coveredconditionals="12" methods="7" coveredmethods="6"/>
963
- <line num="3" count="2" type="stmt"/>
964
- <line num="5" count="2" type="stmt"/>
965
- <line num="6" count="2" type="stmt"/>
966
- <line num="8" count="2" type="stmt"/>
967
- <line num="9" count="2" type="stmt"/>
968
- <line num="17" count="2" type="stmt"/>
969
- <line num="18" count="6" type="stmt"/>
970
- <line num="20" count="6" type="stmt"/>
971
- <line num="22" count="2" type="stmt"/>
972
- <line num="24" count="2" type="stmt"/>
973
- <line num="26" count="2" type="stmt"/>
974
- <line num="30" count="2" type="stmt"/>
975
- <line num="40" count="3" type="stmt"/>
976
- <line num="42" count="3" type="stmt"/>
977
- <line num="57" count="3" type="stmt"/>
978
- <line num="58" count="3" type="stmt"/>
979
- <line num="59" count="3" type="cond" truecount="1" falsecount="1"/>
980
- <line num="60" count="0" type="cond" truecount="0" falsecount="2"/>
981
- <line num="61" count="0" type="stmt"/>
982
- <line num="62" count="0" type="stmt"/>
983
- <line num="63" count="0" type="cond" truecount="0" falsecount="2"/>
984
- <line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
985
- <line num="66" count="0" type="stmt"/>
986
- <line num="69" count="3" type="stmt"/>
987
- <line num="70" count="3" type="cond" truecount="1" falsecount="1"/>
988
- <line num="72" count="3" type="cond" truecount="3" falsecount="1"/>
989
- <line num="73" count="3" type="cond" truecount="2" falsecount="0"/>
990
- <line num="74" count="3" type="stmt"/>
991
- <line num="76" count="3" type="stmt"/>
992
- <line num="77" count="3" type="cond" truecount="1" falsecount="1"/>
993
- <line num="78" count="3" type="stmt"/>
994
- <line num="83" count="3" type="stmt"/>
995
- <line num="88" count="2" type="stmt"/>
996
- </file>
997
- </package>
998
- <package name="lib.lifecycles.subscribers">
999
- <metrics statements="22" coveredstatements="5" conditionals="6" coveredconditionals="0" methods="7" coveredmethods="0"/>
1000
- <file name="models-lifecycles.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/lifecycles/subscribers/models-lifecycles.js">
1001
- <metrics statements="5" coveredstatements="2" conditionals="2" coveredconditionals="0" methods="1" coveredmethods="0"/>
1002
- <line num="11" count="2" type="stmt"/>
1003
- <line num="12" count="0" type="stmt"/>
1004
- <line num="14" count="0" type="cond" truecount="0" falsecount="2"/>
1005
- <line num="15" count="0" type="stmt"/>
1006
- <line num="19" count="2" type="stmt"/>
1007
- </file>
1008
- <file name="timestamps.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/lifecycles/subscribers/timestamps.js">
1009
- <metrics statements="17" coveredstatements="3" conditionals="4" coveredconditionals="0" methods="6" coveredmethods="0"/>
1010
- <line num="3" count="2" type="stmt"/>
1011
- <line num="15" count="2" type="stmt"/>
1012
- <line num="21" count="0" type="stmt"/>
1013
- <line num="23" count="0" type="stmt"/>
1014
- <line num="24" count="0" type="stmt"/>
1015
- <line num="32" count="0" type="stmt"/>
1016
- <line num="34" count="0" type="stmt"/>
1017
- <line num="35" count="0" type="cond" truecount="0" falsecount="2"/>
1018
- <line num="36" count="0" type="stmt"/>
1019
- <line num="45" count="0" type="stmt"/>
1020
- <line num="47" count="0" type="stmt"/>
1021
- <line num="48" count="0" type="stmt"/>
1022
- <line num="56" count="0" type="stmt"/>
1023
- <line num="58" count="0" type="stmt"/>
1024
- <line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
1025
- <line num="60" count="0" type="stmt"/>
1026
- <line num="65" count="2" type="stmt"/>
1027
- </file>
1028
- </package>
1029
- <package name="lib.metadata">
1030
- <metrics statements="166" coveredstatements="62" conditionals="86" coveredconditionals="12" methods="31" coveredmethods="7"/>
1031
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/metadata/index.js">
1032
- <metrics statements="52" coveredstatements="37" conditionals="21" coveredconditionals="12" methods="10" coveredmethods="7"/>
1033
- <line num="3" count="1" type="stmt"/>
1034
- <line num="5" count="1" type="stmt"/>
1035
- <line num="6" count="1" type="stmt"/>
1036
- <line num="10" count="4" type="stmt"/>
1037
- <line num="17" count="4" type="stmt"/>
1038
- <line num="18" count="4" type="stmt"/>
1039
- <line num="19" count="4" type="cond" truecount="1" falsecount="1"/>
1040
- <line num="20" count="0" type="stmt"/>
1041
- <line num="24" count="4" type="stmt"/>
1042
- <line num="35" count="1" type="cond" truecount="0" falsecount="1"/>
1043
- <line num="36" count="4" type="stmt"/>
1044
- <line num="39" count="4" type="stmt"/>
1045
- <line num="40" count="4" type="stmt"/>
1046
- <line num="56" count="4" type="stmt"/>
1047
- <line num="57" count="4" type="cond" truecount="1" falsecount="1"/>
1048
- <line num="58" count="0" type="stmt"/>
1049
- <line num="59" count="0" type="stmt"/>
1050
- <line num="60" count="0" type="stmt"/>
1051
- <line num="63" count="4" type="stmt"/>
1052
- <line num="64" count="4" type="stmt"/>
1053
- <line num="65" count="4" type="cond" truecount="1" falsecount="1"/>
1054
- <line num="66" count="0" type="stmt"/>
1055
- <line num="67" count="0" type="stmt"/>
1056
- <line num="70" count="4" type="cond" truecount="1" falsecount="1"/>
1057
- <line num="71" count="0" type="stmt"/>
1058
- <line num="72" count="0" type="stmt"/>
1059
- <line num="75" count="4" type="cond" truecount="1" falsecount="1"/>
1060
- <line num="76" count="0" type="stmt"/>
1061
- <line num="77" count="0" type="stmt"/>
1062
- <line num="80" count="4" type="stmt"/>
1063
- <line num="82" count="0" type="stmt"/>
1064
- <line num="83" count="0" type="stmt"/>
1065
- <line num="90" count="4" type="stmt"/>
1066
- <line num="91" count="4" type="stmt"/>
1067
- <line num="92" count="4" type="stmt"/>
1068
- <line num="93" count="4" type="cond" truecount="1" falsecount="1"/>
1069
- <line num="96" count="4" type="stmt"/>
1070
- <line num="99" count="4" type="stmt"/>
1071
- <line num="100" count="4" type="stmt"/>
1072
- <line num="103" count="1" type="stmt"/>
1073
- <line num="104" count="4" type="stmt"/>
1074
- <line num="105" count="4" type="cond" truecount="2" falsecount="0"/>
1075
- <line num="110" count="1" type="stmt"/>
1076
- <line num="111" count="0" type="stmt"/>
1077
- <line num="179" count="1" type="stmt"/>
1078
- <line num="180" count="0" type="stmt"/>
1079
- <line num="212" count="1" type="stmt"/>
1080
- <line num="213" count="0" type="stmt"/>
1081
- <line num="239" count="1" type="stmt"/>
1082
- <line num="240" count="4" type="stmt"/>
1083
- <line num="241" count="4" type="stmt"/>
1084
- <line num="244" count="1" type="stmt"/>
1085
- </file>
1086
- <file name="relations.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/metadata/relations.js">
1087
- <metrics statements="114" coveredstatements="25" conditionals="65" coveredconditionals="0" methods="21" coveredmethods="0"/>
1088
- <line num="7" count="1" type="stmt"/>
1089
- <line num="9" count="1" type="stmt"/>
1090
- <line num="10" count="1" type="stmt"/>
1091
- <line num="12" count="1" type="stmt"/>
1092
- <line num="13" count="1" type="stmt"/>
1093
- <line num="14" count="1" type="stmt"/>
1094
- <line num="15" count="1" type="stmt"/>
1095
- <line num="16" count="1" type="cond" truecount="0" falsecount="2"/>
1096
- <line num="17" count="1" type="cond" truecount="0" falsecount="2"/>
1097
- <line num="18" count="1" type="stmt"/>
1098
- <line num="19" count="1" type="stmt"/>
1099
- <line num="20" count="0" type="stmt"/>
1100
- <line num="42" count="1" type="stmt"/>
1101
- <line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
1102
- <line num="44" count="0" type="cond" truecount="0" falsecount="2"/>
1103
- <line num="45" count="0" type="stmt"/>
1104
- <line num="51" count="0" type="stmt"/>
1105
- <line num="76" count="1" type="stmt"/>
1106
- <line num="77" count="0" type="cond" truecount="0" falsecount="2"/>
1107
- <line num="78" count="0" type="stmt"/>
1108
- <line num="83" count="0" type="cond" truecount="0" falsecount="2"/>
1109
- <line num="84" count="0" type="stmt"/>
1110
- <line num="109" count="1" type="stmt"/>
1111
- <line num="110" count="0" type="cond" truecount="0" falsecount="4"/>
1112
- <line num="111" count="0" type="stmt"/>
1113
- <line num="114" count="0" type="cond" truecount="0" falsecount="2"/>
1114
- <line num="115" count="0" type="stmt"/>
1115
- <line num="121" count="0" type="stmt"/>
1116
- <line num="146" count="1" type="stmt"/>
1117
- <line num="147" count="0" type="cond" truecount="0" falsecount="4"/>
1118
- <line num="148" count="0" type="stmt"/>
1119
- <line num="173" count="1" type="stmt"/>
1120
- <line num="174" count="0" type="stmt"/>
1121
- <line num="175" count="0" type="stmt"/>
1122
- <line num="177" count="0" type="stmt"/>
1123
- <line num="202" count="1" type="stmt"/>
1124
- <line num="203" count="0" type="stmt"/>
1125
- <line num="205" count="0" type="stmt"/>
1126
- <line num="206" count="0" type="stmt"/>
1127
- <line num="207" count="0" type="stmt"/>
1128
- <line num="208" count="0" type="stmt"/>
1129
- <line num="210" count="0" type="stmt"/>
1130
- <line num="259" count="0" type="stmt"/>
1131
- <line num="280" count="0" type="stmt"/>
1132
- <line num="291" count="1" type="stmt"/>
1133
- <line num="292" count="0" type="stmt"/>
1134
- <line num="294" count="0" type="cond" truecount="0" falsecount="2"/>
1135
- <line num="295" count="0" type="stmt"/>
1136
- <line num="298" count="0" type="cond" truecount="0" falsecount="2"/>
1137
- <line num="299" count="0" type="stmt"/>
1138
- <line num="311" count="1" type="stmt"/>
1139
- <line num="312" count="0" type="stmt"/>
1140
- <line num="314" count="0" type="cond" truecount="0" falsecount="2"/>
1141
- <line num="315" count="0" type="stmt"/>
1142
- <line num="318" count="0" type="cond" truecount="0" falsecount="2"/>
1143
- <line num="319" count="0" type="stmt"/>
1144
- <line num="331" count="1" type="stmt"/>
1145
- <line num="332" count="0" type="cond" truecount="0" falsecount="9"/>
1146
- <line num="334" count="0" type="stmt"/>
1147
- <line num="336" count="0" type="stmt"/>
1148
- <line num="338" count="0" type="stmt"/>
1149
- <line num="340" count="0" type="stmt"/>
1150
- <line num="342" count="0" type="stmt"/>
1151
- <line num="344" count="0" type="stmt"/>
1152
- <line num="346" count="0" type="stmt"/>
1153
- <line num="348" count="0" type="stmt"/>
1154
- <line num="350" count="0" type="stmt"/>
1155
- <line num="363" count="1" type="stmt"/>
1156
- <line num="364" count="0" type="stmt"/>
1157
- <line num="366" count="0" type="stmt"/>
1158
- <line num="367" count="0" type="stmt"/>
1159
- <line num="373" count="0" type="stmt"/>
1160
- <line num="375" count="0" type="cond" truecount="0" falsecount="2"/>
1161
- <line num="376" count="0" type="stmt"/>
1162
- <line num="378" count="0" type="stmt"/>
1163
- <line num="395" count="1" type="stmt"/>
1164
- <line num="396" count="0" type="stmt"/>
1165
- <line num="398" count="0" type="cond" truecount="0" falsecount="2"/>
1166
- <line num="399" count="0" type="stmt"/>
1167
- <line num="402" count="0" type="stmt"/>
1168
- <line num="404" count="0" type="stmt"/>
1169
- <line num="405" count="0" type="stmt"/>
1170
- <line num="408" count="0" type="cond" truecount="0" falsecount="2"/>
1171
- <line num="409" count="0" type="stmt"/>
1172
- <line num="412" count="0" type="stmt"/>
1173
- <line num="413" count="0" type="stmt"/>
1174
- <line num="416" count="0" type="cond" truecount="0" falsecount="4"/>
1175
- <line num="417" count="0" type="stmt"/>
1176
- <line num="420" count="0" type="stmt"/>
1177
- <line num="474" count="0" type="stmt"/>
1178
- <line num="488" count="0" type="cond" truecount="0" falsecount="2"/>
1179
- <line num="489" count="0" type="stmt"/>
1180
- <line num="496" count="0" type="stmt"/>
1181
- <line num="500" count="0" type="stmt"/>
1182
- <line num="501" count="0" type="stmt"/>
1183
- <line num="505" count="0" type="cond" truecount="0" falsecount="4"/>
1184
- <line num="506" count="0" type="stmt"/>
1185
- <line num="514" count="0" type="stmt"/>
1186
- <line num="519" count="0" type="stmt"/>
1187
- <line num="522" count="0" type="stmt"/>
1188
- <line num="524" count="0" type="stmt"/>
1189
- <line num="526" count="0" type="cond" truecount="0" falsecount="2"/>
1190
- <line num="527" count="0" type="stmt"/>
1191
- <line num="529" count="0" type="cond" truecount="0" falsecount="2"/>
1192
- <line num="530" count="0" type="stmt"/>
1193
- <line num="535" count="0" type="stmt"/>
1194
- <line num="542" count="0" type="cond" truecount="0" falsecount="2"/>
1195
- <line num="543" count="0" type="stmt"/>
1196
- <line num="544" count="0" type="stmt"/>
1197
- <line num="546" count="0" type="cond" truecount="0" falsecount="2"/>
1198
- <line num="547" count="0" type="stmt"/>
1199
- <line num="552" count="1" type="stmt"/>
1200
- <line num="553" count="1" type="cond" truecount="0" falsecount="2"/>
1201
- <line num="555" count="1" type="stmt"/>
1202
- </file>
1203
- </package>
1204
- <package name="lib.query">
1205
- <metrics statements="210" coveredstatements="8" conditionals="118" coveredconditionals="0" methods="48" coveredmethods="0"/>
1206
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/query/index.js">
1207
- <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
1208
- <line num="3" count="1" type="stmt"/>
1209
- <line num="5" count="1" type="stmt"/>
1210
- </file>
1211
- <file name="query-builder.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/query/query-builder.js">
1212
- <metrics statements="208" coveredstatements="6" conditionals="118" coveredconditionals="0" methods="48" coveredmethods="0"/>
1213
- <line num="3" count="1" type="stmt"/>
1214
- <line num="5" count="1" type="stmt"/>
1215
- <line num="6" count="1" type="stmt"/>
1216
- <line num="7" count="1" type="stmt"/>
1217
- <line num="9" count="1" type="cond" truecount="0" falsecount="1"/>
1218
- <line num="10" count="0" type="stmt"/>
1219
- <line num="11" count="0" type="stmt"/>
1220
- <line num="13" count="0" type="stmt"/>
1221
- <line num="40" count="0" type="stmt"/>
1222
- <line num="41" count="0" type="stmt"/>
1223
- <line num="43" count="0" type="stmt"/>
1224
- <line num="45" count="0" type="stmt"/>
1225
- <line num="48" count="0" type="stmt"/>
1226
- <line num="54" count="0" type="stmt"/>
1227
- <line num="58" count="0" type="stmt"/>
1228
- <line num="59" count="0" type="stmt"/>
1229
- <line num="61" count="0" type="stmt"/>
1230
- <line num="65" count="0" type="stmt"/>
1231
- <line num="67" count="0" type="stmt"/>
1232
- <line num="71" count="0" type="stmt"/>
1233
- <line num="72" count="0" type="stmt"/>
1234
- <line num="74" count="0" type="stmt"/>
1235
- <line num="78" count="0" type="stmt"/>
1236
- <line num="80" count="0" type="stmt"/>
1237
- <line num="84" count="0" type="stmt"/>
1238
- <line num="86" count="0" type="stmt"/>
1239
- <line num="90" count="0" type="stmt"/>
1240
- <line num="92" count="0" type="stmt"/>
1241
- <line num="96" count="0" type="stmt"/>
1242
- <line num="98" count="0" type="stmt"/>
1243
- <line num="102" count="0" type="stmt"/>
1244
- <line num="106" count="0" type="stmt"/>
1245
- <line num="107" count="0" type="stmt"/>
1246
- <line num="109" count="0" type="stmt"/>
1247
- <line num="113" count="0" type="stmt"/>
1248
- <line num="114" count="0" type="stmt"/>
1249
- <line num="116" count="0" type="stmt"/>
1250
- <line num="120" count="0" type="stmt"/>
1251
- <line num="121" count="0" type="stmt"/>
1252
- <line num="123" count="0" type="stmt"/>
1253
- <line num="127" count="0" type="stmt"/>
1254
- <line num="128" count="0" type="stmt"/>
1255
- <line num="130" count="0" type="stmt"/>
1256
- <line num="134" count="0" type="stmt"/>
1257
- <line num="135" count="0" type="stmt"/>
1258
- <line num="137" count="0" type="stmt"/>
1259
- <line num="141" count="0" type="cond" truecount="0" falsecount="2"/>
1260
- <line num="142" count="0" type="stmt"/>
1261
- <line num="145" count="0" type="stmt"/>
1262
- <line num="147" count="0" type="stmt"/>
1263
- <line num="151" count="0" type="stmt"/>
1264
- <line num="152" count="0" type="stmt"/>
1265
- <line num="156" count="0" type="stmt"/>
1266
- <line num="157" count="0" type="stmt"/>
1267
- <line num="161" count="0" type="stmt"/>
1268
- <line num="162" count="0" type="stmt"/>
1269
- <line num="166" count="0" type="stmt"/>
1270
- <line num="167" count="0" type="stmt"/>
1271
- <line num="171" count="0" type="stmt"/>
1272
- <line num="172" count="0" type="stmt"/>
1273
- <line num="176" count="0" type="stmt"/>
1274
- <line num="177" count="0" type="stmt"/>
1275
- <line num="181" count="0" type="stmt"/>
1276
- <line num="182" count="0" type="stmt"/>
1277
- <line num="186" count="0" type="stmt"/>
1278
- <line num="187" count="0" type="stmt"/>
1279
- <line num="191" count="0" type="stmt"/>
1280
- <line num="193" count="0" type="cond" truecount="0" falsecount="2"/>
1281
- <line num="194" count="0" type="stmt"/>
1282
- <line num="197" count="0" type="cond" truecount="0" falsecount="2"/>
1283
- <line num="198" count="0" type="stmt"/>
1284
- <line num="201" count="0" type="cond" truecount="0" falsecount="2"/>
1285
- <line num="202" count="0" type="stmt"/>
1286
- <line num="204" count="0" type="stmt"/>
1287
- <line num="207" count="0" type="cond" truecount="0" falsecount="2"/>
1288
- <line num="208" count="0" type="stmt"/>
1289
- <line num="211" count="0" type="cond" truecount="0" falsecount="2"/>
1290
- <line num="212" count="0" type="stmt"/>
1291
- <line num="215" count="0" type="cond" truecount="0" falsecount="2"/>
1292
- <line num="216" count="0" type="stmt"/>
1293
- <line num="219" count="0" type="cond" truecount="0" falsecount="2"/>
1294
- <line num="220" count="0" type="stmt"/>
1295
- <line num="223" count="0" type="cond" truecount="0" falsecount="2"/>
1296
- <line num="224" count="0" type="stmt"/>
1297
- <line num="227" count="0" type="cond" truecount="0" falsecount="2"/>
1298
- <line num="228" count="0" type="stmt"/>
1299
- <line num="231" count="0" type="stmt"/>
1300
- <line num="235" count="0" type="stmt"/>
1301
- <line num="239" count="0" type="stmt"/>
1302
- <line num="240" count="0" type="stmt"/>
1303
- <line num="244" count="0" type="cond" truecount="0" falsecount="2"/>
1304
- <line num="245" count="0" type="stmt"/>
1305
- <line num="246" count="0" type="stmt"/>
1306
- <line num="249" count="0" type="stmt"/>
1307
- <line num="250" count="0" type="stmt"/>
1308
- <line num="252" count="0" type="stmt"/>
1309
- <line num="262" count="0" type="stmt"/>
1310
- <line num="266" count="0" type="stmt"/>
1311
- <line num="270" count="0" type="cond" truecount="0" falsecount="2"/>
1312
- <line num="271" count="0" type="stmt"/>
1313
- <line num="274" count="0" type="cond" truecount="0" falsecount="2"/>
1314
- <line num="275" count="0" type="stmt"/>
1315
- <line num="278" count="0" type="cond" truecount="0" falsecount="2"/>
1316
- <line num="279" count="0" type="stmt"/>
1317
- <line num="282" count="0" type="cond" truecount="0" falsecount="2"/>
1318
- <line num="286" count="0" type="stmt"/>
1319
- <line num="290" count="0" type="cond" truecount="0" falsecount="2"/>
1320
- <line num="294" count="0" type="stmt"/>
1321
- <line num="295" count="0" type="stmt"/>
1322
- <line num="297" count="0" type="stmt"/>
1323
- <line num="299" count="0" type="stmt"/>
1324
- <line num="303" count="0" type="stmt"/>
1325
- <line num="305" count="0" type="cond" truecount="0" falsecount="2"/>
1326
- <line num="306" count="0" type="cond" truecount="0" falsecount="2"/>
1327
- <line num="307" count="0" type="stmt"/>
1328
- <line num="309" count="0" type="cond" truecount="0" falsecount="2"/>
1329
- <line num="310" count="0" type="stmt"/>
1330
- <line num="313" count="0" type="stmt"/>
1331
- <line num="317" count="0" type="stmt"/>
1332
- <line num="318" count="0" type="stmt"/>
1333
- <line num="319" count="0" type="stmt"/>
1334
- <line num="321" count="0" type="stmt"/>
1335
- <line num="325" count="0" type="cond" truecount="0" falsecount="2"/>
1336
- <line num="329" count="0" type="stmt"/>
1337
- <line num="331" count="0" type="cond" truecount="0" falsecount="2"/>
1338
- <line num="332" count="0" type="stmt"/>
1339
- <line num="333" count="0" type="stmt"/>
1340
- <line num="335" count="0" type="stmt"/>
1341
- <line num="337" count="0" type="stmt"/>
1342
- <line num="342" count="0" type="cond" truecount="0" falsecount="2"/>
1343
- <line num="343" count="0" type="stmt"/>
1344
- <line num="346" count="0" type="cond" truecount="0" falsecount="2"/>
1345
- <line num="348" count="0" type="stmt"/>
1346
- <line num="350" count="0" type="cond" truecount="0" falsecount="2"/>
1347
- <line num="351" count="0" type="stmt"/>
1348
- <line num="354" count="0" type="stmt"/>
1349
- <line num="356" count="0" type="cond" truecount="0" falsecount="8"/>
1350
- <line num="358" count="0" type="stmt"/>
1351
- <line num="360" count="0" type="cond" truecount="0" falsecount="2"/>
1352
- <line num="361" count="0" type="stmt"/>
1353
- <line num="364" count="0" type="stmt"/>
1354
- <line num="367" count="0" type="stmt"/>
1355
- <line num="369" count="0" type="cond" truecount="0" falsecount="2"/>
1356
- <line num="370" count="0" type="stmt"/>
1357
- <line num="372" count="0" type="stmt"/>
1358
- <line num="374" count="0" type="stmt"/>
1359
- <line num="377" count="0" type="stmt"/>
1360
- <line num="378" count="0" type="stmt"/>
1361
- <line num="379" count="0" type="stmt"/>
1362
- <line num="382" count="0" type="stmt"/>
1363
- <line num="384" count="0" type="cond" truecount="0" falsecount="4"/>
1364
- <line num="385" count="0" type="stmt"/>
1365
- <line num="388" count="0" type="stmt"/>
1366
- <line num="391" count="0" type="cond" truecount="0" falsecount="2"/>
1367
- <line num="392" count="0" type="stmt"/>
1368
- <line num="394" count="0" type="stmt"/>
1369
- <line num="397" count="0" type="stmt"/>
1370
- <line num="399" count="0" type="stmt"/>
1371
- <line num="402" count="0" type="stmt"/>
1372
- <line num="403" count="0" type="stmt"/>
1373
- <line num="406" count="0" type="stmt"/>
1374
- <line num="410" count="0" type="cond" truecount="0" falsecount="2"/>
1375
- <line num="411" count="0" type="stmt"/>
1376
- <line num="414" count="0" type="cond" truecount="0" falsecount="2"/>
1377
- <line num="415" count="0" type="stmt"/>
1378
- <line num="418" count="0" type="cond" truecount="0" falsecount="2"/>
1379
- <line num="419" count="0" type="stmt"/>
1380
- <line num="422" count="0" type="cond" truecount="0" falsecount="2"/>
1381
- <line num="423" count="0" type="stmt"/>
1382
- <line num="426" count="0" type="cond" truecount="0" falsecount="2"/>
1383
- <line num="427" count="0" type="cond" truecount="0" falsecount="2"/>
1384
- <line num="428" count="0" type="stmt"/>
1385
- <line num="429" count="0" type="cond" truecount="0" falsecount="2"/>
1386
- <line num="430" count="0" type="stmt"/>
1387
- <line num="434" count="0" type="cond" truecount="0" falsecount="2"/>
1388
- <line num="435" count="0" type="stmt"/>
1389
- <line num="438" count="0" type="cond" truecount="0" falsecount="2"/>
1390
- <line num="439" count="0" type="stmt"/>
1391
- <line num="442" count="0" type="cond" truecount="0" falsecount="2"/>
1392
- <line num="443" count="0" type="stmt"/>
1393
- <line num="446" count="0" type="cond" truecount="0" falsecount="2"/>
1394
- <line num="447" count="0" type="stmt"/>
1395
- <line num="450" count="0" type="cond" truecount="0" falsecount="2"/>
1396
- <line num="451" count="0" type="stmt"/>
1397
- <line num="455" count="0" type="cond" truecount="0" falsecount="2"/>
1398
- <line num="456" count="0" type="stmt"/>
1399
- <line num="460" count="0" type="cond" truecount="0" falsecount="2"/>
1400
- <line num="461" count="0" type="stmt"/>
1401
- <line num="462" count="0" type="stmt"/>
1402
- <line num="466" count="0" type="cond" truecount="0" falsecount="2"/>
1403
- <line num="467" count="0" type="stmt"/>
1404
- <line num="470" count="0" type="stmt"/>
1405
- <line num="474" count="0" type="stmt"/>
1406
- <line num="475" count="0" type="stmt"/>
1407
- <line num="477" count="0" type="cond" truecount="0" falsecount="2"/>
1408
- <line num="478" count="0" type="stmt"/>
1409
- <line num="481" count="0" type="stmt"/>
1410
- <line num="483" count="0" type="cond" truecount="0" falsecount="4"/>
1411
- <line num="484" count="0" type="stmt"/>
1412
- <line num="491" count="0" type="stmt"/>
1413
- <line num="492" count="0" type="cond" truecount="0" falsecount="4"/>
1414
- <line num="493" count="0" type="stmt"/>
1415
- <line num="496" count="0" type="stmt"/>
1416
- <line num="498" count="0" type="stmt"/>
1417
- <line num="503" count="0" type="cond" truecount="0" falsecount="2"/>
1418
- <line num="504" count="0" type="stmt"/>
1419
- <line num="507" count="0" type="stmt"/>
1420
- <line num="514" count="1" type="stmt"/>
1421
- </file>
1422
- </package>
1423
- <package name="lib.query.helpers">
1424
- <metrics statements="305" coveredstatements="44" conditionals="171" coveredconditionals="0" methods="49" coveredmethods="0"/>
1425
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/query/helpers/index.js">
1426
- <metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
1427
- <line num="3" count="1" type="stmt"/>
1428
- </file>
1429
- <file name="join.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/query/helpers/join.js">
1430
- <metrics statements="34" coveredstatements="5" conditionals="16" coveredconditionals="0" methods="7" coveredmethods="0"/>
1431
- <line num="3" count="1" type="stmt"/>
1432
- <line num="4" count="0" type="stmt"/>
1433
- <line num="5" count="0" type="stmt"/>
1434
- <line num="6" count="0" type="stmt"/>
1435
- <line num="15" count="0" type="cond" truecount="0" falsecount="2"/>
1436
- <line num="16" count="0" type="stmt"/>
1437
- <line num="24" count="0" type="stmt"/>
1438
- <line num="27" count="1" type="stmt"/>
1439
- <line num="28" count="0" type="stmt"/>
1440
- <line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
1441
- <line num="31" count="0" type="stmt"/>
1442
- <line num="34" count="0" type="stmt"/>
1443
- <line num="36" count="0" type="stmt"/>
1444
- <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
1445
- <line num="39" count="0" type="cond" truecount="0" falsecount="2"/>
1446
- <line num="40" count="0" type="stmt"/>
1447
- <line num="47" count="0" type="stmt"/>
1448
- <line num="50" count="0" type="stmt"/>
1449
- <line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
1450
- <line num="52" count="0" type="stmt"/>
1451
- <line num="55" count="0" type="stmt"/>
1452
- <line num="59" count="1" type="stmt"/>
1453
- <line num="69" count="0" type="stmt"/>
1454
- <line num="71" count="0" type="stmt"/>
1455
- <line num="72" count="0" type="stmt"/>
1456
- <line num="74" count="0" type="cond" truecount="0" falsecount="2"/>
1457
- <line num="75" count="0" type="stmt"/>
1458
- <line num="76" count="0" type="stmt"/>
1459
- <line num="81" count="0" type="cond" truecount="0" falsecount="2"/>
1460
- <line num="82" count="0" type="stmt"/>
1461
- <line num="83" count="0" type="stmt"/>
1462
- <line num="84" count="0" type="stmt"/>
1463
- <line num="89" count="1" type="stmt"/>
1464
- <line num="91" count="1" type="stmt"/>
1465
- </file>
1466
- <file name="order-by.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/query/helpers/order-by.js">
1467
- <metrics statements="31" coveredstatements="6" conditionals="16" coveredconditionals="0" methods="3" coveredmethods="0"/>
1468
- <line num="3" count="1" type="stmt"/>
1469
- <line num="5" count="1" type="stmt"/>
1470
- <line num="6" count="1" type="stmt"/>
1471
- <line num="7" count="1" type="stmt"/>
1472
- <line num="9" count="1" type="stmt"/>
1473
- <line num="10" count="0" type="stmt"/>
1474
- <line num="11" count="0" type="stmt"/>
1475
- <line num="12" count="0" type="stmt"/>
1476
- <line num="14" count="0" type="cond" truecount="0" falsecount="2"/>
1477
- <line num="15" count="0" type="stmt"/>
1478
- <line num="17" count="0" type="cond" truecount="0" falsecount="2"/>
1479
- <line num="18" count="0" type="stmt"/>
1480
- <line num="21" count="0" type="stmt"/>
1481
- <line num="23" count="0" type="stmt"/>
1482
- <line num="26" count="0" type="cond" truecount="0" falsecount="2"/>
1483
- <line num="27" count="0" type="stmt"/>
1484
- <line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
1485
- <line num="31" count="0" type="stmt"/>
1486
- <line num="32" count="0" type="stmt"/>
1487
- <line num="33" count="0" type="stmt"/>
1488
- <line num="35" count="0" type="cond" truecount="0" falsecount="2"/>
1489
- <line num="36" count="0" type="stmt"/>
1490
- <line num="39" count="0" type="cond" truecount="0" falsecount="2"/>
1491
- <line num="40" count="0" type="stmt"/>
1492
- <line num="42" count="0" type="stmt"/>
1493
- <line num="45" count="0" type="cond" truecount="0" falsecount="2"/>
1494
- <line num="46" count="0" type="stmt"/>
1495
- <line num="53" count="0" type="stmt"/>
1496
- <line num="61" count="0" type="stmt"/>
1497
- <line num="65" count="0" type="stmt"/>
1498
- <line num="68" count="1" type="stmt"/>
1499
- </file>
1500
- <file name="search.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/query/helpers/search.js">
1501
- <metrics statements="34" coveredstatements="6" conditionals="13" coveredconditionals="0" methods="8" coveredmethods="0"/>
1502
- <line num="3" count="1" type="stmt"/>
1503
- <line num="5" count="1" type="stmt"/>
1504
- <line num="6" count="1" type="stmt"/>
1505
- <line num="8" count="1" type="stmt"/>
1506
- <line num="9" count="0" type="stmt"/>
1507
- <line num="10" count="0" type="stmt"/>
1508
- <line num="12" count="0" type="stmt"/>
1509
- <line num="14" count="0" type="stmt"/>
1510
- <line num="16" count="0" type="stmt"/>
1511
- <line num="17" count="0" type="stmt"/>
1512
- <line num="18" count="0" type="cond" truecount="0" falsecount="2"/>
1513
- <line num="21" count="0" type="stmt"/>
1514
- <line num="23" count="0" type="cond" truecount="0" falsecount="2"/>
1515
- <line num="24" count="0" type="stmt"/>
1516
- <line num="25" count="0" type="stmt"/>
1517
- <line num="26" count="0" type="cond" truecount="0" falsecount="2"/>
1518
- <line num="29" count="0" type="stmt"/>
1519
- <line num="32" count="0" type="cond" truecount="0" falsecount="4"/>
1520
- <line num="34" count="0" type="stmt"/>
1521
- <line num="35" count="0" type="stmt"/>
1522
- <line num="36" count="0" type="stmt"/>
1523
- <line num="42" count="0" type="stmt"/>
1524
- <line num="45" count="0" type="stmt"/>
1525
- <line num="46" count="0" type="stmt"/>
1526
- <line num="47" count="0" type="stmt"/>
1527
- <line num="52" count="0" type="stmt"/>
1528
- <line num="55" count="0" type="stmt"/>
1529
- <line num="56" count="0" type="stmt"/>
1530
- <line num="57" count="0" type="stmt"/>
1531
- <line num="62" count="0" type="stmt"/>
1532
- <line num="70" count="1" type="cond" truecount="0" falsecount="1"/>
1533
- <line num="71" count="0" type="stmt"/>
1534
- <line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
1535
- <line num="82" count="1" type="stmt"/>
1536
- </file>
1537
- <file name="transform.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/query/helpers/transform.js">
1538
- <metrics statements="41" coveredstatements="7" conditionals="25" coveredconditionals="0" methods="5" coveredmethods="0"/>
1539
- <line num="3" count="1" type="stmt"/>
1540
- <line num="5" count="1" type="stmt"/>
1541
- <line num="6" count="1" type="stmt"/>
1542
- <line num="8" count="1" type="stmt"/>
1543
- <line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
1544
- <line num="10" count="0" type="stmt"/>
1545
- <line num="13" count="0" type="stmt"/>
1546
- <line num="15" count="0" type="cond" truecount="0" falsecount="2"/>
1547
- <line num="16" count="0" type="stmt"/>
1548
- <line num="19" count="0" type="stmt"/>
1549
- <line num="21" count="0" type="stmt"/>
1550
- <line num="22" count="0" type="cond" truecount="0" falsecount="2"/>
1551
- <line num="23" count="0" type="stmt"/>
1552
- <line num="26" count="0" type="stmt"/>
1553
- <line num="27" count="0" type="stmt"/>
1554
- <line num="29" count="0" type="cond" truecount="0" falsecount="2"/>
1555
- <line num="30" count="0" type="stmt"/>
1556
- <line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
1557
- <line num="34" count="0" type="stmt"/>
1558
- <line num="37" count="0" type="cond" truecount="0" falsecount="2"/>
1559
- <line num="38" count="0" type="stmt"/>
1560
- <line num="42" count="0" type="stmt"/>
1561
- <line num="45" count="1" type="cond" truecount="0" falsecount="1"/>
1562
- <line num="46" count="0" type="cond" truecount="0" falsecount="2"/>
1563
- <line num="47" count="0" type="stmt"/>
1564
- <line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
1565
- <line num="51" count="0" type="stmt"/>
1566
- <line num="54" count="0" type="stmt"/>
1567
- <line num="56" count="0" type="stmt"/>
1568
- <line num="57" count="0" type="stmt"/>
1569
- <line num="59" count="0" type="cond" truecount="0" falsecount="4"/>
1570
- <line num="60" count="0" type="stmt"/>
1571
- <line num="63" count="0" type="stmt"/>
1572
- <line num="64" count="0" type="stmt"/>
1573
- <line num="67" count="0" type="stmt"/>
1574
- <line num="70" count="1" type="stmt"/>
1575
- <line num="71" count="0" type="stmt"/>
1576
- <line num="73" count="0" type="cond" truecount="0" falsecount="2"/>
1577
- <line num="74" count="0" type="stmt"/>
1578
- <line num="77" count="0" type="cond" truecount="0" falsecount="2"/>
1579
- <line num="80" count="1" type="stmt"/>
1580
- </file>
1581
- <file name="where.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/query/helpers/where.js">
1582
- <metrics statements="164" coveredstatements="19" conditionals="101" coveredconditionals="0" methods="26" coveredmethods="0"/>
1583
- <line num="3" count="1" type="stmt"/>
1584
- <line num="5" count="1" type="stmt"/>
1585
- <line num="6" count="1" type="stmt"/>
1586
- <line num="7" count="1" type="stmt"/>
1587
- <line num="8" count="1" type="stmt"/>
1588
- <line num="9" count="1" type="stmt"/>
1589
- <line num="11" count="1" type="stmt"/>
1590
- <line num="12" count="1" type="stmt"/>
1591
- <line num="36" count="1" type="stmt"/>
1592
- <line num="49" count="1" type="stmt"/>
1593
- <line num="51" count="1" type="stmt"/>
1594
- <line num="53" count="1" type="stmt"/>
1595
- <line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
1596
- <line num="55" count="0" type="stmt"/>
1597
- <line num="58" count="0" type="cond" truecount="0" falsecount="4"/>
1598
- <line num="59" count="0" type="stmt"/>
1599
- <line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
1600
- <line num="64" count="0" type="stmt"/>
1601
- <line num="67" count="1" type="cond" truecount="0" falsecount="1"/>
1602
- <line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
1603
- <line num="69" count="0" type="stmt"/>
1604
- <line num="72" count="0" type="cond" truecount="0" falsecount="2"/>
1605
- <line num="73" count="0" type="cond" truecount="0" falsecount="2"/>
1606
- <line num="74" count="0" type="stmt"/>
1607
- <line num="77" count="0" type="stmt"/>
1608
- <line num="80" count="0" type="stmt"/>
1609
- <line num="82" count="0" type="stmt"/>
1610
- <line num="83" count="0" type="stmt"/>
1611
- <line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
1612
- <line num="86" count="0" type="stmt"/>
1613
- <line num="89" count="0" type="stmt"/>
1614
- <line num="92" count="0" type="stmt"/>
1615
- <line num="102" count="1" type="stmt"/>
1616
- <line num="103" count="0" type="cond" truecount="0" falsecount="4"/>
1617
- <line num="104" count="0" type="stmt"/>
1618
- <line num="107" count="0" type="cond" truecount="0" falsecount="2"/>
1619
- <line num="108" count="0" type="stmt"/>
1620
- <line num="111" count="0" type="stmt"/>
1621
- <line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
1622
- <line num="113" count="0" type="stmt"/>
1623
- <line num="116" count="0" type="stmt"/>
1624
- <line num="119" count="0" type="stmt"/>
1625
- <line num="120" count="0" type="stmt"/>
1626
- <line num="122" count="0" type="stmt"/>
1627
- <line num="125" count="0" type="stmt"/>
1628
- <line num="126" count="0" type="stmt"/>
1629
- <line num="129" count="0" type="cond" truecount="0" falsecount="2"/>
1630
- <line num="130" count="0" type="stmt"/>
1631
- <line num="131" count="0" type="stmt"/>
1632
- <line num="134" count="0" type="cond" truecount="0" falsecount="2"/>
1633
- <line num="135" count="0" type="stmt"/>
1634
- <line num="136" count="0" type="stmt"/>
1635
- <line num="139" count="0" type="cond" truecount="0" falsecount="2"/>
1636
- <line num="140" count="0" type="stmt"/>
1637
- <line num="145" count="0" type="stmt"/>
1638
- <line num="147" count="0" type="cond" truecount="0" falsecount="2"/>
1639
- <line num="148" count="0" type="stmt"/>
1640
- <line num="149" count="0" type="stmt"/>
1641
- <line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
1642
- <line num="154" count="0" type="stmt"/>
1643
- <line num="161" count="0" type="stmt"/>
1644
- <line num="168" count="0" type="cond" truecount="0" falsecount="4"/>
1645
- <line num="169" count="0" type="stmt"/>
1646
- <line num="173" count="0" type="stmt"/>
1647
- <line num="175" count="0" type="stmt"/>
1648
- <line num="178" count="0" type="cond" truecount="0" falsecount="2"/>
1649
- <line num="179" count="0" type="stmt"/>
1650
- <line num="180" count="0" type="stmt"/>
1651
- <line num="182" count="0" type="stmt"/>
1652
- <line num="184" count="0" type="stmt"/>
1653
- <line num="187" count="0" type="stmt"/>
1654
- <line num="190" count="0" type="stmt"/>
1655
- <line num="194" count="1" type="stmt"/>
1656
- <line num="195" count="0" type="cond" truecount="0" falsecount="4"/>
1657
- <line num="196" count="0" type="stmt"/>
1658
- <line num="197" count="0" type="stmt"/>
1659
- <line num="198" count="0" type="stmt"/>
1660
- <line num="199" count="0" type="stmt"/>
1661
- <line num="205" count="0" type="cond" truecount="0" falsecount="22"/>
1662
- <line num="207" count="0" type="stmt"/>
1663
- <line num="208" count="0" type="stmt"/>
1664
- <line num="212" count="0" type="cond" truecount="0" falsecount="2"/>
1665
- <line num="213" count="0" type="stmt"/>
1666
- <line num="217" count="0" type="cond" truecount="0" falsecount="2"/>
1667
- <line num="218" count="0" type="stmt"/>
1668
- <line num="222" count="0" type="cond" truecount="0" falsecount="2"/>
1669
- <line num="223" count="0" type="stmt"/>
1670
- <line num="224" count="0" type="stmt"/>
1671
- <line num="227" count="0" type="stmt"/>
1672
- <line num="228" count="0" type="stmt"/>
1673
- <line num="232" count="0" type="cond" truecount="0" falsecount="2"/>
1674
- <line num="233" count="0" type="stmt"/>
1675
- <line num="234" count="0" type="stmt"/>
1676
- <line num="236" count="0" type="stmt"/>
1677
- <line num="237" count="0" type="stmt"/>
1678
- <line num="240" count="0" type="cond" truecount="0" falsecount="2"/>
1679
- <line num="241" count="0" type="stmt"/>
1680
- <line num="242" count="0" type="stmt"/>
1681
- <line num="245" count="0" type="stmt"/>
1682
- <line num="246" count="0" type="stmt"/>
1683
- <line num="249" count="0" type="stmt"/>
1684
- <line num="250" count="0" type="stmt"/>
1685
- <line num="253" count="0" type="stmt"/>
1686
- <line num="254" count="0" type="stmt"/>
1687
- <line num="257" count="0" type="stmt"/>
1688
- <line num="258" count="0" type="stmt"/>
1689
- <line num="261" count="0" type="stmt"/>
1690
- <line num="262" count="0" type="stmt"/>
1691
- <line num="265" count="0" type="cond" truecount="0" falsecount="2"/>
1692
- <line num="266" count="0" type="stmt"/>
1693
- <line num="268" count="0" type="stmt"/>
1694
- <line num="270" count="0" type="stmt"/>
1695
- <line num="273" count="0" type="cond" truecount="0" falsecount="2"/>
1696
- <line num="274" count="0" type="stmt"/>
1697
- <line num="276" count="0" type="stmt"/>
1698
- <line num="278" count="0" type="stmt"/>
1699
- <line num="281" count="0" type="stmt"/>
1700
- <line num="282" count="0" type="stmt"/>
1701
- <line num="285" count="0" type="stmt"/>
1702
- <line num="286" count="0" type="stmt"/>
1703
- <line num="289" count="0" type="stmt"/>
1704
- <line num="290" count="0" type="stmt"/>
1705
- <line num="293" count="0" type="stmt"/>
1706
- <line num="294" count="0" type="stmt"/>
1707
- <line num="297" count="0" type="stmt"/>
1708
- <line num="298" count="0" type="stmt"/>
1709
- <line num="301" count="0" type="stmt"/>
1710
- <line num="302" count="0" type="stmt"/>
1711
- <line num="306" count="0" type="stmt"/>
1712
- <line num="307" count="0" type="stmt"/>
1713
- <line num="311" count="0" type="stmt"/>
1714
- <line num="312" count="0" type="stmt"/>
1715
- <line num="316" count="0" type="stmt"/>
1716
- <line num="317" count="0" type="stmt"/>
1717
- <line num="325" count="0" type="stmt"/>
1718
- <line num="330" count="1" type="stmt"/>
1719
- <line num="331" count="0" type="cond" truecount="0" falsecount="2"/>
1720
- <line num="332" count="0" type="cond" truecount="0" falsecount="2"/>
1721
- <line num="333" count="0" type="stmt"/>
1722
- <line num="336" count="0" type="stmt"/>
1723
- <line num="339" count="0" type="stmt"/>
1724
- <line num="340" count="0" type="stmt"/>
1725
- <line num="342" count="0" type="stmt"/>
1726
- <line num="346" count="1" type="stmt"/>
1727
- <line num="347" count="0" type="cond" truecount="0" falsecount="4"/>
1728
- <line num="348" count="0" type="stmt"/>
1729
- <line num="351" count="0" type="cond" truecount="0" falsecount="2"/>
1730
- <line num="352" count="0" type="stmt"/>
1731
- <line num="355" count="0" type="stmt"/>
1732
- <line num="356" count="0" type="stmt"/>
1733
- <line num="358" count="0" type="cond" truecount="0" falsecount="2"/>
1734
- <line num="359" count="0" type="stmt"/>
1735
- <line num="360" count="0" type="stmt"/>
1736
- <line num="364" count="0" type="cond" truecount="0" falsecount="2"/>
1737
- <line num="365" count="0" type="stmt"/>
1738
- <line num="366" count="0" type="stmt"/>
1739
- <line num="370" count="0" type="cond" truecount="0" falsecount="2"/>
1740
- <line num="371" count="0" type="stmt"/>
1741
- <line num="374" count="0" type="stmt"/>
1742
- <line num="378" count="1" type="stmt"/>
1743
- <line num="380" count="0" type="cond" truecount="0" falsecount="2"/>
1744
- <line num="381" count="0" type="stmt"/>
1745
- <line num="384" count="0" type="stmt"/>
1746
- <line num="387" count="1" type="stmt"/>
1747
- </file>
1748
- </package>
1749
- <package name="lib.query.helpers.populate">
1750
- <metrics statements="315" coveredstatements="19" conditionals="140" coveredconditionals="0" methods="64" coveredmethods="0"/>
1751
- <file name="apply.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/query/helpers/populate/apply.js">
1752
- <metrics statements="267" coveredstatements="11" conditionals="110" coveredconditionals="0" methods="62" coveredmethods="0"/>
1753
- <line num="3" count="1" type="stmt"/>
1754
- <line num="5" count="1" type="stmt"/>
1755
- <line num="13" count="1" type="stmt"/>
1756
- <line num="14" count="0" type="stmt"/>
1757
- <line num="15" count="0" type="stmt"/>
1758
- <line num="17" count="0" type="stmt"/>
1759
- <line num="19" count="0" type="cond" truecount="0" falsecount="2"/>
1760
- <line num="20" count="0" type="stmt"/>
1761
- <line num="22" count="0" type="stmt"/>
1762
- <line num="23" count="0" type="stmt"/>
1763
- <line num="26" count="0" type="cond" truecount="0" falsecount="2"/>
1764
- <line num="27" count="0" type="stmt"/>
1765
- <line num="28" count="0" type="stmt"/>
1766
- <line num="31" count="0" type="stmt"/>
1767
- <line num="34" count="0" type="stmt"/>
1768
- <line num="41" count="0" type="stmt"/>
1769
- <line num="43" count="0" type="stmt"/>
1770
- <line num="44" count="0" type="stmt"/>
1771
- <line num="47" count="0" type="stmt"/>
1772
- <line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
1773
- <line num="51" count="0" type="stmt"/>
1774
- <line num="53" count="0" type="stmt"/>
1775
- <line num="55" count="0" type="stmt"/>
1776
- <line num="57" count="0" type="stmt"/>
1777
- <line num="58" count="0" type="stmt"/>
1778
- <line num="60" count="0" type="stmt"/>
1779
- <line num="61" count="0" type="stmt"/>
1780
- <line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
1781
- <line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
1782
- <line num="66" count="0" type="stmt"/>
1783
- <line num="67" count="0" type="stmt"/>
1784
- <line num="69" count="0" type="stmt"/>
1785
- <line num="72" count="0" type="stmt"/>
1786
- <line num="87" count="0" type="stmt"/>
1787
- <line num="88" count="0" type="stmt"/>
1788
- <line num="89" count="0" type="stmt"/>
1789
- <line num="92" count="0" type="stmt"/>
1790
- <line num="93" count="0" type="cond" truecount="0" falsecount="2"/>
1791
- <line num="96" count="0" type="stmt"/>
1792
- <line num="99" count="0" type="cond" truecount="0" falsecount="2"/>
1793
- <line num="100" count="0" type="stmt"/>
1794
- <line num="101" count="0" type="stmt"/>
1795
- <line num="104" count="0" type="stmt"/>
1796
- <line num="107" count="0" type="stmt"/>
1797
- <line num="122" count="0" type="stmt"/>
1798
- <line num="124" count="0" type="stmt"/>
1799
- <line num="125" count="0" type="stmt"/>
1800
- <line num="130" count="1" type="stmt"/>
1801
- <line num="131" count="0" type="stmt"/>
1802
- <line num="132" count="0" type="stmt"/>
1803
- <line num="134" count="0" type="stmt"/>
1804
- <line num="136" count="0" type="cond" truecount="0" falsecount="2"/>
1805
- <line num="137" count="0" type="stmt"/>
1806
- <line num="139" count="0" type="stmt"/>
1807
- <line num="140" count="0" type="stmt"/>
1808
- <line num="143" count="0" type="cond" truecount="0" falsecount="2"/>
1809
- <line num="144" count="0" type="stmt"/>
1810
- <line num="145" count="0" type="stmt"/>
1811
- <line num="147" count="0" type="stmt"/>
1812
- <line num="150" count="0" type="stmt"/>
1813
- <line num="157" count="0" type="stmt"/>
1814
- <line num="159" count="0" type="stmt"/>
1815
- <line num="160" count="0" type="cond" truecount="0" falsecount="2"/>
1816
- <line num="163" count="0" type="stmt"/>
1817
- <line num="166" count="0" type="cond" truecount="0" falsecount="2"/>
1818
- <line num="167" count="0" type="stmt"/>
1819
- <line num="169" count="0" type="stmt"/>
1820
- <line num="171" count="0" type="stmt"/>
1821
- <line num="173" count="0" type="stmt"/>
1822
- <line num="174" count="0" type="stmt"/>
1823
- <line num="176" count="0" type="stmt"/>
1824
- <line num="177" count="0" type="stmt"/>
1825
- <line num="180" count="0" type="cond" truecount="0" falsecount="2"/>
1826
- <line num="181" count="0" type="cond" truecount="0" falsecount="2"/>
1827
- <line num="182" count="0" type="stmt"/>
1828
- <line num="183" count="0" type="stmt"/>
1829
- <line num="185" count="0" type="stmt"/>
1830
- <line num="188" count="0" type="stmt"/>
1831
- <line num="203" count="0" type="stmt"/>
1832
- <line num="204" count="0" type="stmt"/>
1833
- <line num="205" count="0" type="stmt"/>
1834
- <line num="208" count="0" type="stmt"/>
1835
- <line num="209" count="0" type="cond" truecount="0" falsecount="2"/>
1836
- <line num="212" count="0" type="stmt"/>
1837
- <line num="215" count="0" type="cond" truecount="0" falsecount="2"/>
1838
- <line num="216" count="0" type="stmt"/>
1839
- <line num="217" count="0" type="stmt"/>
1840
- <line num="219" count="0" type="stmt"/>
1841
- <line num="222" count="0" type="stmt"/>
1842
- <line num="231" count="0" type="cond" truecount="0" falsecount="2"/>
1843
- <line num="237" count="0" type="stmt"/>
1844
- <line num="239" count="0" type="stmt"/>
1845
- <line num="240" count="0" type="cond" truecount="0" falsecount="2"/>
1846
- <line num="245" count="1" type="stmt"/>
1847
- <line num="246" count="0" type="stmt"/>
1848
- <line num="247" count="0" type="stmt"/>
1849
- <line num="249" count="0" type="stmt"/>
1850
- <line num="251" count="0" type="stmt"/>
1851
- <line num="253" count="0" type="stmt"/>
1852
- <line num="255" count="0" type="stmt"/>
1853
- <line num="257" count="0" type="stmt"/>
1854
- <line num="258" count="0" type="stmt"/>
1855
- <line num="259" count="0" type="stmt"/>
1856
- <line num="260" count="0" type="stmt"/>
1857
- <line num="263" count="0" type="cond" truecount="0" falsecount="2"/>
1858
- <line num="264" count="0" type="cond" truecount="0" falsecount="2"/>
1859
- <line num="265" count="0" type="stmt"/>
1860
- <line num="266" count="0" type="stmt"/>
1861
- <line num="268" count="0" type="stmt"/>
1862
- <line num="271" count="0" type="stmt"/>
1863
- <line num="286" count="0" type="stmt"/>
1864
- <line num="287" count="0" type="stmt"/>
1865
- <line num="288" count="0" type="stmt"/>
1866
- <line num="291" count="0" type="stmt"/>
1867
- <line num="292" count="0" type="cond" truecount="0" falsecount="2"/>
1868
- <line num="295" count="0" type="stmt"/>
1869
- <line num="298" count="0" type="cond" truecount="0" falsecount="2"/>
1870
- <line num="299" count="0" type="stmt"/>
1871
- <line num="300" count="0" type="stmt"/>
1872
- <line num="302" count="0" type="stmt"/>
1873
- <line num="305" count="0" type="stmt"/>
1874
- <line num="314" count="0" type="cond" truecount="0" falsecount="2"/>
1875
- <line num="320" count="0" type="stmt"/>
1876
- <line num="322" count="0" type="stmt"/>
1877
- <line num="323" count="0" type="cond" truecount="0" falsecount="2"/>
1878
- <line num="327" count="1" type="stmt"/>
1879
- <line num="328" count="0" type="stmt"/>
1880
- <line num="329" count="0" type="stmt"/>
1881
- <line num="331" count="0" type="stmt"/>
1882
- <line num="333" count="0" type="stmt"/>
1883
- <line num="335" count="0" type="stmt"/>
1884
- <line num="337" count="0" type="cond" truecount="0" falsecount="2"/>
1885
- <line num="338" count="0" type="stmt"/>
1886
- <line num="340" count="0" type="stmt"/>
1887
- <line num="341" count="0" type="stmt"/>
1888
- <line num="344" count="0" type="cond" truecount="0" falsecount="2"/>
1889
- <line num="345" count="0" type="stmt"/>
1890
- <line num="346" count="0" type="stmt"/>
1891
- <line num="349" count="0" type="stmt"/>
1892
- <line num="352" count="0" type="stmt"/>
1893
- <line num="359" count="0" type="stmt"/>
1894
- <line num="361" count="0" type="stmt"/>
1895
- <line num="362" count="0" type="stmt"/>
1896
- <line num="365" count="0" type="cond" truecount="0" falsecount="2"/>
1897
- <line num="367" count="0" type="stmt"/>
1898
- <line num="369" count="0" type="cond" truecount="0" falsecount="2"/>
1899
- <line num="370" count="0" type="stmt"/>
1900
- <line num="372" count="0" type="stmt"/>
1901
- <line num="374" count="0" type="stmt"/>
1902
- <line num="376" count="0" type="stmt"/>
1903
- <line num="377" count="0" type="stmt"/>
1904
- <line num="380" count="0" type="cond" truecount="0" falsecount="2"/>
1905
- <line num="381" count="0" type="stmt"/>
1906
- <line num="382" count="0" type="cond" truecount="0" falsecount="2"/>
1907
- <line num="385" count="0" type="stmt"/>
1908
- <line num="389" count="0" type="stmt"/>
1909
- <line num="391" count="0" type="stmt"/>
1910
- <line num="393" count="0" type="stmt"/>
1911
- <line num="405" count="0" type="cond" truecount="0" falsecount="2"/>
1912
- <line num="414" count="0" type="stmt"/>
1913
- <line num="416" count="0" type="stmt"/>
1914
- <line num="417" count="0" type="stmt"/>
1915
- <line num="420" count="0" type="cond" truecount="0" falsecount="2"/>
1916
- <line num="422" count="0" type="stmt"/>
1917
- <line num="427" count="1" type="stmt"/>
1918
- <line num="428" count="0" type="stmt"/>
1919
- <line num="429" count="0" type="stmt"/>
1920
- <line num="432" count="0" type="stmt"/>
1921
- <line num="434" count="0" type="stmt"/>
1922
- <line num="435" count="0" type="cond" truecount="0" falsecount="1"/>
1923
- <line num="439" count="0" type="stmt"/>
1924
- <line num="440" count="0" type="stmt"/>
1925
- <line num="443" count="0" type="stmt"/>
1926
- <line num="445" count="0" type="stmt"/>
1927
- <line num="458" count="0" type="stmt"/>
1928
- <line num="460" count="0" type="stmt"/>
1929
- <line num="461" count="0" type="stmt"/>
1930
- <line num="462" count="0" type="stmt"/>
1931
- <line num="464" count="0" type="cond" truecount="0" falsecount="4"/>
1932
- <line num="465" count="0" type="stmt"/>
1933
- <line num="468" count="0" type="cond" truecount="0" falsecount="2"/>
1934
- <line num="469" count="0" type="stmt"/>
1935
- <line num="472" count="0" type="stmt"/>
1936
- <line num="474" count="0" type="stmt"/>
1937
- <line num="477" count="0" type="stmt"/>
1938
- <line num="478" count="0" type="stmt"/>
1939
- <line num="480" count="0" type="stmt"/>
1940
- <line num="481" count="0" type="stmt"/>
1941
- <line num="484" count="0" type="cond" truecount="0" falsecount="2"/>
1942
- <line num="485" count="0" type="stmt"/>
1943
- <line num="487" count="0" type="stmt"/>
1944
- <line num="490" count="0" type="stmt"/>
1945
- <line num="492" count="0" type="stmt"/>
1946
- <line num="498" count="0" type="stmt"/>
1947
- <line num="501" count="0" type="stmt"/>
1948
- <line num="502" count="0" type="cond" truecount="0" falsecount="2"/>
1949
- <line num="504" count="0" type="stmt"/>
1950
- <line num="505" count="0" type="stmt"/>
1951
- <line num="506" count="0" type="stmt"/>
1952
- <line num="508" count="0" type="stmt"/>
1953
- <line num="510" count="0" type="cond" truecount="0" falsecount="2"/>
1954
- <line num="511" count="0" type="stmt"/>
1955
- <line num="518" count="0" type="stmt"/>
1956
- <line num="522" count="1" type="stmt"/>
1957
- <line num="523" count="0" type="stmt"/>
1958
- <line num="524" count="0" type="stmt"/>
1959
- <line num="526" count="0" type="stmt"/>
1960
- <line num="527" count="0" type="stmt"/>
1961
- <line num="532" count="0" type="stmt"/>
1962
- <line num="533" count="0" type="stmt"/>
1963
- <line num="534" count="0" type="stmt"/>
1964
- <line num="536" count="0" type="cond" truecount="0" falsecount="4"/>
1965
- <line num="537" count="0" type="stmt"/>
1966
- <line num="540" count="0" type="cond" truecount="0" falsecount="2"/>
1967
- <line num="541" count="0" type="stmt"/>
1968
- <line num="544" count="0" type="stmt"/>
1969
- <line num="546" count="0" type="stmt"/>
1970
- <line num="549" count="0" type="stmt"/>
1971
- <line num="550" count="0" type="stmt"/>
1972
- <line num="552" count="0" type="stmt"/>
1973
- <line num="553" count="0" type="stmt"/>
1974
- <line num="556" count="0" type="cond" truecount="0" falsecount="2"/>
1975
- <line num="557" count="0" type="stmt"/>
1976
- <line num="558" count="0" type="stmt"/>
1977
- <line num="561" count="0" type="stmt"/>
1978
- <line num="563" count="0" type="stmt"/>
1979
- <line num="569" count="0" type="stmt"/>
1980
- <line num="572" count="0" type="stmt"/>
1981
- <line num="573" count="0" type="stmt"/>
1982
- <line num="574" count="0" type="stmt"/>
1983
- <line num="576" count="0" type="cond" truecount="0" falsecount="4"/>
1984
- <line num="577" count="0" type="stmt"/>
1985
- <line num="578" count="0" type="stmt"/>
1986
- <line num="581" count="0" type="stmt"/>
1987
- <line num="583" count="0" type="stmt"/>
1988
- <line num="585" count="0" type="stmt"/>
1989
- <line num="590" count="1" type="stmt"/>
1990
- <line num="591" count="0" type="stmt"/>
1991
- <line num="602" count="0" type="cond" truecount="0" falsecount="2"/>
1992
- <line num="603" count="0" type="stmt"/>
1993
- <line num="606" count="0" type="stmt"/>
1994
- <line num="609" count="1" type="stmt"/>
1995
- <line num="610" count="0" type="stmt"/>
1996
- <line num="611" count="0" type="stmt"/>
1997
- <line num="613" count="0" type="cond" truecount="0" falsecount="2"/>
1998
- <line num="614" count="0" type="stmt"/>
1999
- <line num="617" count="0" type="stmt"/>
2000
- <line num="618" count="0" type="stmt"/>
2001
- <line num="619" count="0" type="stmt"/>
2002
- <line num="621" count="0" type="stmt"/>
2003
- <line num="626" count="0" type="stmt"/>
2004
- <line num="628" count="0" type="stmt"/>
2005
- <line num="630" count="0" type="cond" truecount="0" falsecount="9"/>
2006
- <line num="633" count="0" type="stmt"/>
2007
- <line num="634" count="0" type="stmt"/>
2008
- <line num="637" count="0" type="stmt"/>
2009
- <line num="638" count="0" type="stmt"/>
2010
- <line num="641" count="0" type="stmt"/>
2011
- <line num="642" count="0" type="stmt"/>
2012
- <line num="646" count="0" type="stmt"/>
2013
- <line num="647" count="0" type="stmt"/>
2014
- <line num="650" count="0" type="stmt"/>
2015
- <line num="651" count="0" type="stmt"/>
2016
- <line num="654" count="0" type="stmt"/>
2017
- <line num="655" count="0" type="stmt"/>
2018
- <line num="658" count="0" type="stmt"/>
2019
- <line num="664" count="1" type="stmt"/>
2020
- </file>
2021
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/query/helpers/populate/index.js">
2022
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2023
- <line num="3" count="1" type="stmt"/>
2024
- <line num="4" count="1" type="stmt"/>
2025
- <line num="6" count="1" type="stmt"/>
2026
- </file>
2027
- <file name="process.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/query/helpers/populate/process.js">
2028
- <metrics statements="45" coveredstatements="5" conditionals="30" coveredconditionals="0" methods="2" coveredmethods="0"/>
2029
- <line num="3" count="1" type="stmt"/>
2030
- <line num="5" count="1" type="stmt"/>
2031
- <line num="7" count="1" type="stmt"/>
2032
- <line num="8" count="0" type="stmt"/>
2033
- <line num="10" count="0" type="stmt"/>
2034
- <line num="11" count="0" type="stmt"/>
2035
- <line num="12" count="0" type="cond" truecount="0" falsecount="2"/>
2036
- <line num="13" count="0" type="stmt"/>
2037
- <line num="17" count="0" type="stmt"/>
2038
- <line num="29" count="1" type="stmt"/>
2039
- <line num="30" count="0" type="stmt"/>
2040
- <line num="31" count="0" type="stmt"/>
2041
- <line num="33" count="0" type="stmt"/>
2042
- <line num="35" count="0" type="cond" truecount="0" falsecount="4"/>
2043
- <line num="36" count="0" type="stmt"/>
2044
- <line num="39" count="0" type="cond" truecount="0" falsecount="2"/>
2045
- <line num="40" count="0" type="stmt"/>
2046
- <line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
2047
- <line num="42" count="0" type="stmt"/>
2048
- <line num="43" count="0" type="stmt"/>
2049
- <line num="45" count="0" type="cond" truecount="0" falsecount="2"/>
2050
- <line num="46" count="0" type="stmt"/>
2051
- <line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
2052
- <line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
2053
- <line num="50" count="0" type="stmt"/>
2054
- <line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
2055
- <line num="57" count="0" type="stmt"/>
2056
- <line num="62" count="0" type="cond" truecount="0" falsecount="2"/>
2057
- <line num="66" count="0" type="stmt"/>
2058
- <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
2059
- <line num="70" count="0" type="stmt"/>
2060
- <line num="73" count="0" type="stmt"/>
2061
- <line num="74" count="0" type="stmt"/>
2062
- <line num="75" count="0" type="stmt"/>
2063
- <line num="77" count="0" type="cond" truecount="0" falsecount="2"/>
2064
- <line num="78" count="0" type="stmt"/>
2065
- <line num="81" count="0" type="cond" truecount="0" falsecount="2"/>
2066
- <line num="82" count="0" type="stmt"/>
2067
- <line num="87" count="0" type="cond" truecount="0" falsecount="2"/>
2068
- <line num="88" count="0" type="stmt"/>
2069
- <line num="92" count="0" type="cond" truecount="0" falsecount="2"/>
2070
- <line num="93" count="0" type="stmt"/>
2071
- <line num="96" count="0" type="stmt"/>
2072
- <line num="99" count="0" type="stmt"/>
2073
- <line num="102" count="1" type="stmt"/>
2074
- </file>
2075
- </package>
2076
- <package name="lib.query.helpers.streams">
2077
- <metrics statements="55" coveredstatements="8" conditionals="30" coveredconditionals="0" methods="4" coveredmethods="0"/>
2078
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/query/helpers/streams/index.js">
2079
- <metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
2080
- <line num="3" count="1" type="stmt"/>
2081
- </file>
2082
- <file name="readable.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/query/helpers/streams/readable.js">
2083
- <metrics statements="54" coveredstatements="7" conditionals="30" coveredconditionals="0" methods="4" coveredmethods="0"/>
2084
- <line num="3" count="1" type="stmt"/>
2085
- <line num="4" count="1" type="stmt"/>
2086
- <line num="6" count="1" type="stmt"/>
2087
- <line num="7" count="1" type="stmt"/>
2088
- <line num="9" count="1" type="stmt"/>
2089
- <line num="10" count="1" type="stmt"/>
2090
- <line num="22" count="0" type="stmt"/>
2091
- <line num="25" count="0" type="stmt"/>
2092
- <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
2093
- <line num="31" count="0" type="cond" truecount="0" falsecount="2"/>
2094
- <line num="34" count="0" type="stmt"/>
2095
- <line num="40" count="0" type="stmt"/>
2096
- <line num="43" count="0" type="stmt"/>
2097
- <line num="46" count="0" type="stmt"/>
2098
- <line num="47" count="0" type="stmt"/>
2099
- <line num="48" count="0" type="stmt"/>
2100
- <line num="51" count="0" type="stmt"/>
2101
- <line num="52" count="0" type="stmt"/>
2102
- <line num="55" count="0" type="stmt"/>
2103
- <line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
2104
- <line num="62" count="0" type="cond" truecount="0" falsecount="2"/>
2105
- <line num="64" count="0" type="stmt"/>
2106
- <line num="77" count="0" type="stmt"/>
2107
- <line num="81" count="0" type="stmt"/>
2108
- <line num="89" count="0" type="cond" truecount="0" falsecount="2"/>
2109
- <line num="94" count="0" type="cond" truecount="0" falsecount="4"/>
2110
- <line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
2111
- <line num="105" count="0" type="stmt"/>
2112
- <line num="106" count="0" type="stmt"/>
2113
- <line num="110" count="0" type="stmt"/>
2114
- <line num="113" count="0" type="stmt"/>
2115
- <line num="116" count="0" type="stmt"/>
2116
- <line num="122" count="0" type="stmt"/>
2117
- <line num="124" count="0" type="stmt"/>
2118
- <line num="126" count="0" type="stmt"/>
2119
- <line num="129" count="0" type="cond" truecount="0" falsecount="2"/>
2120
- <line num="130" count="0" type="stmt"/>
2121
- <line num="134" count="0" type="cond" truecount="0" falsecount="2"/>
2122
- <line num="135" count="0" type="stmt"/>
2123
- <line num="138" count="0" type="stmt"/>
2124
- <line num="140" count="0" type="stmt"/>
2125
- <line num="144" count="0" type="stmt"/>
2126
- <line num="147" count="0" type="cond" truecount="0" falsecount="2"/>
2127
- <line num="148" count="0" type="stmt"/>
2128
- <line num="149" count="0" type="stmt"/>
2129
- <line num="153" count="0" type="cond" truecount="0" falsecount="2"/>
2130
- <line num="154" count="0" type="stmt"/>
2131
- <line num="155" count="0" type="stmt"/>
2132
- <line num="159" count="0" type="stmt"/>
2133
- <line num="162" count="0" type="stmt"/>
2134
- <line num="163" count="0" type="stmt"/>
2135
- <line num="168" count="0" type="cond" truecount="0" falsecount="4"/>
2136
- <line num="169" count="0" type="stmt"/>
2137
- <line num="174" count="1" type="stmt"/>
2138
- </file>
2139
- </package>
2140
- <package name="lib.schema">
2141
- <metrics statements="406" coveredstatements="131" conditionals="207" coveredconditionals="30" methods="82" coveredmethods="26"/>
2142
- <file name="builder.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/schema/builder.js">
2143
- <metrics statements="144" coveredstatements="18" conditionals="53" coveredconditionals="0" methods="30" coveredmethods="2"/>
2144
- <line num="3" count="1" type="stmt"/>
2145
- <line num="4" count="1" type="stmt"/>
2146
- <line num="6" count="1" type="stmt"/>
2147
- <line num="7" count="4" type="stmt"/>
2148
- <line num="9" count="4" type="stmt"/>
2149
- <line num="15" count="0" type="stmt"/>
2150
- <line num="23" count="0" type="stmt"/>
2151
- <line num="24" count="0" type="stmt"/>
2152
- <line num="34" count="0" type="stmt"/>
2153
- <line num="35" count="0" type="stmt"/>
2154
- <line num="36" count="0" type="stmt"/>
2155
- <line num="37" count="0" type="stmt"/>
2156
- <line num="41" count="0" type="stmt"/>
2157
- <line num="42" count="0" type="stmt"/>
2158
- <line num="43" count="0" type="stmt"/>
2159
- <line num="44" count="0" type="stmt"/>
2160
- <line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
2161
- <line num="56" count="0" type="stmt"/>
2162
- <line num="59" count="0" type="stmt"/>
2163
- <line num="60" count="0" type="stmt"/>
2164
- <line num="61" count="0" type="stmt"/>
2165
- <line num="62" count="0" type="stmt"/>
2166
- <line num="73" count="0" type="stmt"/>
2167
- <line num="75" count="0" type="stmt"/>
2168
- <line num="76" count="0" type="stmt"/>
2169
- <line num="77" count="0" type="stmt"/>
2170
- <line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
2171
- <line num="81" count="0" type="stmt"/>
2172
- <line num="82" count="0" type="stmt"/>
2173
- <line num="84" count="0" type="stmt"/>
2174
- <line num="85" count="0" type="stmt"/>
2175
- <line num="88" count="0" type="stmt"/>
2176
- <line num="89" count="0" type="stmt"/>
2177
- <line num="91" count="0" type="stmt"/>
2178
- <line num="92" count="0" type="stmt"/>
2179
- <line num="96" count="0" type="stmt"/>
2180
- <line num="97" count="0" type="stmt"/>
2181
- <line num="99" count="0" type="stmt"/>
2182
- <line num="101" count="0" type="stmt"/>
2183
- <line num="105" count="0" type="stmt"/>
2184
- <line num="110" count="1" type="stmt"/>
2185
- <line num="116" count="4" type="stmt"/>
2186
- <line num="117" count="0" type="stmt"/>
2187
- <line num="119" count="0" type="stmt"/>
2188
- <line num="128" count="0" type="cond" truecount="0" falsecount="2"/>
2189
- <line num="129" count="0" type="stmt"/>
2190
- <line num="132" count="0" type="cond" truecount="0" falsecount="2"/>
2191
- <line num="133" count="0" type="stmt"/>
2192
- <line num="142" count="4" type="stmt"/>
2193
- <line num="143" count="0" type="stmt"/>
2194
- <line num="145" count="0" type="stmt"/>
2195
- <line num="153" count="4" type="stmt"/>
2196
- <line num="154" count="0" type="stmt"/>
2197
- <line num="156" count="0" type="cond" truecount="0" falsecount="3"/>
2198
- <line num="158" count="0" type="stmt"/>
2199
- <line num="161" count="0" type="stmt"/>
2200
- <line num="164" count="0" type="stmt"/>
2201
- <line num="174" count="4" type="stmt"/>
2202
- <line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
2203
- <line num="176" count="0" type="stmt"/>
2204
- <line num="179" count="0" type="stmt"/>
2205
- <line num="181" count="0" type="cond" truecount="0" falsecount="3"/>
2206
- <line num="183" count="0" type="stmt"/>
2207
- <line num="186" count="0" type="stmt"/>
2208
- <line num="189" count="0" type="stmt"/>
2209
- <line num="199" count="4" type="stmt"/>
2210
- <line num="200" count="0" type="cond" truecount="0" falsecount="1"/>
2211
- <line num="202" count="0" type="stmt"/>
2212
- <line num="204" count="0" type="cond" truecount="0" falsecount="2"/>
2213
- <line num="205" count="0" type="stmt"/>
2214
- <line num="208" count="0" type="cond" truecount="0" falsecount="2"/>
2215
- <line num="209" count="0" type="stmt"/>
2216
- <line num="211" count="0" type="cond" truecount="0" falsecount="2"/>
2217
- <line num="212" count="0" type="stmt"/>
2218
- <line num="214" count="0" type="stmt"/>
2219
- <line num="218" count="0" type="cond" truecount="0" falsecount="2"/>
2220
- <line num="219" count="0" type="stmt"/>
2221
- <line num="221" count="0" type="stmt"/>
2222
- <line num="224" count="0" type="stmt"/>
2223
- <line num="232" count="4" type="stmt"/>
2224
- <line num="233" count="0" type="cond" truecount="0" falsecount="2"/>
2225
- <line num="234" count="0" type="stmt"/>
2226
- <line num="237" count="0" type="stmt"/>
2227
- <line num="245" count="4" type="stmt"/>
2228
- <line num="246" count="0" type="stmt"/>
2229
- <line num="248" count="0" type="cond" truecount="0" falsecount="2"/>
2230
- <line num="251" count="0" type="cond" truecount="0" falsecount="2"/>
2231
- <line num="255" count="0" type="cond" truecount="0" falsecount="2"/>
2232
- <line num="256" count="0" type="cond" truecount="0" falsecount="2"/>
2233
- <line num="257" count="0" type="stmt"/>
2234
- <line num="263" count="4" type="stmt"/>
2235
- <line num="264" count="0" type="stmt"/>
2236
- <line num="267" count="0" type="stmt"/>
2237
- <line num="268" count="0" type="stmt"/>
2238
- <line num="269" count="0" type="stmt"/>
2239
- <line num="272" count="0" type="stmt"/>
2240
- <line num="273" count="0" type="stmt"/>
2241
- <line num="274" count="0" type="stmt"/>
2242
- <line num="277" count="0" type="stmt"/>
2243
- <line num="278" count="0" type="stmt"/>
2244
- <line num="279" count="0" type="stmt"/>
2245
- <line num="282" count="0" type="stmt"/>
2246
- <line num="283" count="0" type="stmt"/>
2247
- <line num="284" count="0" type="stmt"/>
2248
- <line num="287" count="0" type="stmt"/>
2249
- <line num="288" count="0" type="stmt"/>
2250
- <line num="289" count="0" type="stmt"/>
2251
- <line num="293" count="0" type="stmt"/>
2252
- <line num="294" count="0" type="stmt"/>
2253
- <line num="296" count="0" type="stmt"/>
2254
- <line num="298" count="0" type="cond" truecount="0" falsecount="2"/>
2255
- <line num="299" count="0" type="stmt"/>
2256
- <line num="301" count="0" type="stmt"/>
2257
- <line num="305" count="0" type="stmt"/>
2258
- <line num="306" count="0" type="stmt"/>
2259
- <line num="307" count="0" type="stmt"/>
2260
- <line num="310" count="0" type="stmt"/>
2261
- <line num="311" count="0" type="stmt"/>
2262
- <line num="312" count="0" type="stmt"/>
2263
- <line num="315" count="0" type="stmt"/>
2264
- <line num="316" count="0" type="stmt"/>
2265
- <line num="318" count="0" type="cond" truecount="0" falsecount="4"/>
2266
- <line num="319" count="0" type="stmt"/>
2267
- <line num="320" count="0" type="stmt"/>
2268
- <line num="322" count="0" type="stmt"/>
2269
- <line num="326" count="0" type="stmt"/>
2270
- <line num="327" count="0" type="stmt"/>
2271
- <line num="328" count="0" type="stmt"/>
2272
- <line num="331" count="0" type="stmt"/>
2273
- <line num="332" count="0" type="stmt"/>
2274
- <line num="333" count="0" type="stmt"/>
2275
- <line num="343" count="4" type="stmt"/>
2276
- <line num="344" count="0" type="cond" truecount="0" falsecount="2"/>
2277
- <line num="345" count="0" type="stmt"/>
2278
- <line num="348" count="0" type="stmt"/>
2279
- <line num="356" count="4" type="stmt"/>
2280
- <line num="358" count="0" type="stmt"/>
2281
- <line num="359" count="0" type="cond" truecount="0" falsecount="2"/>
2282
- <line num="368" count="4" type="stmt"/>
2283
- <line num="369" count="0" type="cond" truecount="0" falsecount="2"/>
2284
- <line num="370" count="0" type="stmt"/>
2285
- <line num="374" count="0" type="stmt"/>
2286
- <line num="375" count="0" type="cond" truecount="0" falsecount="2"/>
2287
- <line num="379" count="4" type="stmt"/>
2288
- </file>
2289
- <file name="diff.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/schema/diff.js">
2290
- <metrics statements="144" coveredstatements="70" conditionals="94" coveredconditionals="18" methods="31" coveredmethods="16"/>
2291
- <line num="3" count="2" type="stmt"/>
2292
- <line num="5" count="2" type="stmt"/>
2293
- <line num="7" count="2" type="stmt"/>
2294
- <line num="15" count="2" type="stmt"/>
2295
- <line num="17" count="6" type="stmt"/>
2296
- <line num="20" count="2" type="stmt"/>
2297
- <line num="24" count="1" type="stmt"/>
2298
- <line num="27" count="0" type="stmt"/>
2299
- <line num="31" count="0" type="stmt"/>
2300
- <line num="34" count="0" type="stmt"/>
2301
- <line num="38" count="0" type="stmt"/>
2302
- <line num="41" count="0" type="stmt"/>
2303
- <line num="45" count="2" type="stmt"/>
2304
- <line num="46" count="8" type="stmt"/>
2305
- <line num="53" count="8" type="stmt"/>
2306
- <line num="54" count="0" type="stmt"/>
2307
- <line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
2308
- <line num="57" count="0" type="stmt"/>
2309
- <line num="60" count="0" type="cond" truecount="0" falsecount="2"/>
2310
- <line num="61" count="0" type="stmt"/>
2311
- <line num="64" count="0" type="stmt"/>
2312
- <line num="78" count="8" type="stmt"/>
2313
- <line num="79" count="0" type="stmt"/>
2314
- <line num="81" count="0" type="cond" truecount="0" falsecount="2"/>
2315
- <line num="82" count="0" type="stmt"/>
2316
- <line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
2317
- <line num="86" count="0" type="stmt"/>
2318
- <line num="89" count="0" type="cond" truecount="0" falsecount="2"/>
2319
- <line num="90" count="0" type="stmt"/>
2320
- <line num="93" count="0" type="cond" truecount="0" falsecount="4"/>
2321
- <line num="94" count="0" type="cond" truecount="0" falsecount="4"/>
2322
- <line num="95" count="0" type="stmt"/>
2323
- <line num="97" count="0" type="cond" truecount="0" falsecount="2"/>
2324
- <line num="98" count="0" type="stmt"/>
2325
- <line num="101" count="0" type="cond" truecount="0" falsecount="4"/>
2326
- <line num="102" count="0" type="cond" truecount="0" falsecount="4"/>
2327
- <line num="103" count="0" type="stmt"/>
2328
- <line num="105" count="0" type="cond" truecount="0" falsecount="2"/>
2329
- <line num="106" count="0" type="stmt"/>
2330
- <line num="109" count="0" type="stmt"/>
2331
- <line num="118" count="8" type="stmt"/>
2332
- <line num="119" count="0" type="stmt"/>
2333
- <line num="120" count="0" type="stmt"/>
2334
- <line num="122" count="0" type="cond" truecount="0" falsecount="4"/>
2335
- <line num="123" count="0" type="cond" truecount="0" falsecount="2"/>
2336
- <line num="126" count="0" type="stmt"/>
2337
- <line num="137" count="8" type="stmt"/>
2338
- <line num="138" count="0" type="stmt"/>
2339
- <line num="140" count="0" type="stmt"/>
2340
- <line num="141" count="0" type="stmt"/>
2341
- <line num="142" count="0" type="stmt"/>
2342
- <line num="144" count="0" type="cond" truecount="0" falsecount="4"/>
2343
- <line num="145" count="0" type="stmt"/>
2344
- <line num="150" count="0" type="cond" truecount="0" falsecount="2"/>
2345
- <line num="151" count="0" type="stmt"/>
2346
- <line num="154" count="0" type="stmt"/>
2347
- <line num="155" count="0" type="cond" truecount="0" falsecount="2"/>
2348
- <line num="156" count="0" type="stmt"/>
2349
- <line num="159" count="0" type="cond" truecount="0" falsecount="4"/>
2350
- <line num="160" count="0" type="stmt"/>
2351
- <line num="163" count="0" type="stmt"/>
2352
- <line num="172" count="8" type="stmt"/>
2353
- <line num="173" count="2" type="stmt"/>
2354
- <line num="174" count="2" type="stmt"/>
2355
- <line num="175" count="2" type="stmt"/>
2356
- <line num="176" count="2" type="stmt"/>
2357
- <line num="178" count="2" type="stmt"/>
2358
- <line num="179" count="1" type="cond" truecount="1" falsecount="1"/>
2359
- <line num="180" count="1" type="stmt"/>
2360
- <line num="181" count="1" type="stmt"/>
2361
- <line num="184" count="0" type="stmt"/>
2362
- <line num="185" count="0" type="stmt"/>
2363
- <line num="187" count="0" type="cond" truecount="0" falsecount="2"/>
2364
- <line num="188" count="0" type="stmt"/>
2365
- <line num="190" count="0" type="stmt"/>
2366
- <line num="194" count="2" type="stmt"/>
2367
- <line num="195" count="0" type="cond" truecount="0" falsecount="2"/>
2368
- <line num="196" count="0" type="stmt"/>
2369
- <line num="200" count="4" type="stmt"/>
2370
- <line num="202" count="2" type="stmt"/>
2371
- <line num="213" count="8" type="stmt"/>
2372
- <line num="214" count="2" type="stmt"/>
2373
- <line num="215" count="2" type="stmt"/>
2374
- <line num="216" count="2" type="stmt"/>
2375
- <line num="217" count="2" type="stmt"/>
2376
- <line num="219" count="2" type="stmt"/>
2377
- <line num="220" count="0" type="cond" truecount="0" falsecount="2"/>
2378
- <line num="221" count="0" type="stmt"/>
2379
- <line num="222" count="0" type="stmt"/>
2380
- <line num="224" count="0" type="cond" truecount="0" falsecount="2"/>
2381
- <line num="225" count="0" type="stmt"/>
2382
- <line num="227" count="0" type="stmt"/>
2383
- <line num="230" count="0" type="stmt"/>
2384
- <line num="234" count="2" type="stmt"/>
2385
- <line num="235" count="0" type="cond" truecount="0" falsecount="2"/>
2386
- <line num="236" count="0" type="stmt"/>
2387
- <line num="240" count="6" type="stmt"/>
2388
- <line num="242" count="2" type="stmt"/>
2389
- <line num="253" count="8" type="stmt"/>
2390
- <line num="254" count="2" type="stmt"/>
2391
- <line num="255" count="2" type="stmt"/>
2392
- <line num="256" count="2" type="stmt"/>
2393
- <line num="257" count="2" type="stmt"/>
2394
- <line num="259" count="2" type="cond" truecount="1" falsecount="1"/>
2395
- <line num="260" count="0" type="stmt"/>
2396
- <line num="271" count="2" type="stmt"/>
2397
- <line num="272" count="0" type="cond" truecount="0" falsecount="2"/>
2398
- <line num="273" count="0" type="stmt"/>
2399
- <line num="274" count="0" type="stmt"/>
2400
- <line num="276" count="0" type="cond" truecount="0" falsecount="2"/>
2401
- <line num="277" count="0" type="stmt"/>
2402
- <line num="279" count="0" type="stmt"/>
2403
- <line num="282" count="0" type="stmt"/>
2404
- <line num="286" count="2" type="stmt"/>
2405
- <line num="287" count="0" type="cond" truecount="0" falsecount="2"/>
2406
- <line num="288" count="0" type="stmt"/>
2407
- <line num="292" count="2" type="stmt"/>
2408
- <line num="293" count="6" type="stmt"/>
2409
- <line num="296" count="2" type="stmt"/>
2410
- <line num="307" count="8" type="stmt"/>
2411
- <line num="308" count="2" type="stmt"/>
2412
- <line num="309" count="2" type="stmt"/>
2413
- <line num="310" count="2" type="stmt"/>
2414
- <line num="312" count="2" type="stmt"/>
2415
- <line num="314" count="2" type="stmt"/>
2416
- <line num="325" count="8" type="stmt"/>
2417
- <line num="326" count="4" type="stmt"/>
2418
- <line num="327" count="4" type="stmt"/>
2419
- <line num="328" count="4" type="stmt"/>
2420
- <line num="329" count="4" type="stmt"/>
2421
- <line num="331" count="4" type="stmt"/>
2422
- <line num="332" count="3" type="cond" truecount="2" falsecount="0"/>
2423
- <line num="333" count="2" type="stmt"/>
2424
- <line num="335" count="2" type="stmt"/>
2425
- <line num="337" count="2" type="cond" truecount="2" falsecount="0"/>
2426
- <line num="338" count="1" type="stmt"/>
2427
- <line num="340" count="1" type="stmt"/>
2428
- <line num="343" count="1" type="stmt"/>
2429
- <line num="347" count="4" type="stmt"/>
2430
- <line num="348" count="3" type="cond" truecount="2" falsecount="0"/>
2431
- <line num="352" count="1" type="stmt"/>
2432
- <line num="356" count="9" type="stmt"/>
2433
- <line num="358" count="4" type="stmt"/>
2434
- <line num="371" count="8" type="stmt"/>
2435
- </file>
2436
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/schema/index.js">
2437
- <metrics statements="37" coveredstatements="9" conditionals="8" coveredconditionals="0" methods="6" coveredmethods="1"/>
2438
- <line num="3" count="1" type="stmt"/>
2439
- <line num="5" count="1" type="stmt"/>
2440
- <line num="6" count="1" type="stmt"/>
2441
- <line num="7" count="1" type="stmt"/>
2442
- <line num="8" count="1" type="stmt"/>
2443
- <line num="13" count="1" type="stmt"/>
2444
- <line num="14" count="4" type="stmt"/>
2445
- <line num="16" count="4" type="stmt"/>
2446
- <line num="25" count="0" type="stmt"/>
2447
- <line num="27" count="0" type="stmt"/>
2448
- <line num="28" count="0" type="stmt"/>
2449
- <line num="35" count="0" type="stmt"/>
2450
- <line num="36" count="0" type="stmt"/>
2451
- <line num="43" count="0" type="stmt"/>
2452
- <line num="44" count="0" type="stmt"/>
2453
- <line num="45" count="0" type="stmt"/>
2454
- <line num="49" count="0" type="stmt"/>
2455
- <line num="51" count="0" type="stmt"/>
2456
- <line num="53" count="0" type="stmt"/>
2457
- <line num="55" count="0" type="cond" truecount="0" falsecount="2"/>
2458
- <line num="56" count="0" type="stmt"/>
2459
- <line num="59" count="0" type="stmt"/>
2460
- <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
2461
- <line num="67" count="0" type="stmt"/>
2462
- <line num="68" count="0" type="stmt"/>
2463
- <line num="70" count="0" type="stmt"/>
2464
- <line num="73" count="0" type="stmt"/>
2465
- <line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
2466
- <line num="76" count="0" type="stmt"/>
2467
- <line num="77" count="0" type="stmt"/>
2468
- <line num="80" count="0" type="stmt"/>
2469
- <line num="81" count="0" type="stmt"/>
2470
- <line num="83" count="0" type="cond" truecount="0" falsecount="2"/>
2471
- <line num="84" count="0" type="stmt"/>
2472
- <line num="86" count="0" type="stmt"/>
2473
- <line num="89" count="0" type="stmt"/>
2474
- <line num="94" count="1" type="stmt"/>
2475
- </file>
2476
- <file name="schema.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/schema/schema.js">
2477
- <metrics statements="54" coveredstatements="27" conditionals="46" coveredconditionals="12" methods="6" coveredmethods="6"/>
2478
- <line num="3" count="1" type="stmt"/>
2479
- <line num="5" count="1" type="stmt"/>
2480
- <line num="6" count="4" type="cond" truecount="0" falsecount="1"/>
2481
- <line num="8" count="4" type="stmt"/>
2482
- <line num="20" count="1" type="stmt"/>
2483
- <line num="21" count="4" type="stmt"/>
2484
- <line num="28" count="4" type="stmt"/>
2485
- <line num="29" count="4" type="stmt"/>
2486
- <line num="31" count="4" type="cond" truecount="1" falsecount="1"/>
2487
- <line num="32" count="0" type="cond" truecount="0" falsecount="4"/>
2488
- <line num="33" count="0" type="stmt"/>
2489
- <line num="35" count="0" type="stmt"/>
2490
- <line num="44" count="0" type="stmt"/>
2491
- <line num="45" count="0" type="cond" truecount="0" falsecount="4"/>
2492
- <line num="48" count="0" type="stmt"/>
2493
- <line num="50" count="0" type="stmt"/>
2494
- <line num="57" count="0" type="stmt"/>
2495
- <line num="59" count="0" type="stmt"/>
2496
- <line num="68" count="0" type="stmt"/>
2497
- <line num="73" count="4" type="cond" truecount="1" falsecount="1"/>
2498
- <line num="74" count="4" type="cond" truecount="1" falsecount="1"/>
2499
- <line num="76" count="4" type="cond" truecount="1" falsecount="1"/>
2500
- <line num="77" count="0" type="stmt"/>
2501
- <line num="84" count="4" type="cond" truecount="1" falsecount="1"/>
2502
- <line num="85" count="0" type="stmt"/>
2503
- <line num="92" count="4" type="stmt"/>
2504
- <line num="96" count="4" type="stmt"/>
2505
- <line num="99" count="1" type="stmt"/>
2506
- <line num="100" count="4" type="cond" truecount="1" falsecount="1"/>
2507
- <line num="101" count="0" type="stmt"/>
2508
- <line num="104" count="4" type="cond" truecount="1" falsecount="18"/>
2509
- <line num="106" count="4" type="stmt"/>
2510
- <line num="118" count="0" type="stmt"/>
2511
- <line num="121" count="0" type="stmt"/>
2512
- <line num="128" count="0" type="stmt"/>
2513
- <line num="134" count="0" type="stmt"/>
2514
- <line num="137" count="0" type="stmt"/>
2515
- <line num="140" count="0" type="stmt"/>
2516
- <line num="143" count="0" type="stmt"/>
2517
- <line num="146" count="0" type="stmt"/>
2518
- <line num="149" count="0" type="stmt"/>
2519
- <line num="152" count="0" type="stmt"/>
2520
- <line num="155" count="0" type="stmt"/>
2521
- <line num="166" count="0" type="stmt"/>
2522
- <line num="177" count="0" type="stmt"/>
2523
- <line num="180" count="0" type="stmt"/>
2524
- <line num="185" count="1" type="stmt"/>
2525
- <line num="186" count="4" type="stmt"/>
2526
- <line num="189" count="4" type="stmt"/>
2527
- <line num="190" count="4" type="stmt"/>
2528
- <line num="194" count="4" type="stmt"/>
2529
- <line num="195" count="4" type="stmt"/>
2530
- <line num="198" count="4" type="stmt"/>
2531
- <line num="201" count="1" type="stmt"/>
2532
- </file>
2533
- <file name="storage.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/schema/storage.js">
2534
- <metrics statements="27" coveredstatements="7" conditionals="6" coveredconditionals="0" methods="9" coveredmethods="1"/>
2535
- <line num="3" count="1" type="stmt"/>
2536
- <line num="5" count="1" type="stmt"/>
2537
- <line num="7" count="1" type="stmt"/>
2538
- <line num="8" count="4" type="stmt"/>
2539
- <line num="10" count="4" type="stmt"/>
2540
- <line num="11" count="0" type="stmt"/>
2541
- <line num="12" count="0" type="stmt"/>
2542
- <line num="13" count="0" type="stmt"/>
2543
- <line num="14" count="0" type="stmt"/>
2544
- <line num="15" count="0" type="stmt"/>
2545
- <line num="19" count="4" type="stmt"/>
2546
- <line num="20" count="0" type="cond" truecount="0" falsecount="2"/>
2547
- <line num="21" count="0" type="stmt"/>
2548
- <line num="25" count="4" type="stmt"/>
2549
- <line num="27" count="0" type="stmt"/>
2550
- <line num="29" count="0" type="stmt"/>
2551
- <line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
2552
- <line num="37" count="0" type="stmt"/>
2553
- <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
2554
- <line num="42" count="0" type="stmt"/>
2555
- <line num="49" count="0" type="stmt"/>
2556
- <line num="53" count="0" type="stmt"/>
2557
- <line num="56" count="0" type="stmt"/>
2558
- <line num="58" count="0" type="stmt"/>
2559
- <line num="60" count="0" type="stmt"/>
2560
- <line num="71" count="0" type="stmt"/>
2561
- <line num="73" count="0" type="stmt"/>
2562
- </file>
2563
- </package>
2564
- <package name="lib.types">
2565
- <metrics statements="10" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="4"/>
2566
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/types/index.js">
2567
- <metrics statements="10" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="4"/>
2568
- <line num="3" count="1" type="stmt"/>
2569
- <line num="24" count="1" type="stmt"/>
2570
- <line num="25" count="1" type="stmt"/>
2571
- <line num="27" count="1" type="stmt"/>
2572
- <line num="28" count="0" type="stmt"/>
2573
- <line num="29" count="0" type="stmt"/>
2574
- <line num="30" count="4" type="stmt"/>
2575
- <line num="31" count="8" type="stmt"/>
2576
- <line num="32" count="8" type="stmt"/>
2577
- <line num="33" count="12" type="stmt"/>
2578
- </file>
2579
- </package>
2580
- <package name="lib.utils">
2581
- <metrics statements="18" coveredstatements="8" conditionals="10" coveredconditionals="0" methods="6" coveredmethods="0"/>
2582
- <file name="content-types.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/utils/content-types.js">
2583
- <metrics statements="10" coveredstatements="3" conditionals="6" coveredconditionals="0" methods="4" coveredmethods="0"/>
2584
- <line num="3" count="1" type="stmt"/>
2585
- <line num="4" count="0" type="cond" truecount="0" falsecount="2"/>
2586
- <line num="6" count="0" type="stmt"/>
2587
- <line num="14" count="0" type="stmt"/>
2588
- <line num="20" count="1" type="stmt"/>
2589
- <line num="21" count="0" type="stmt"/>
2590
- <line num="22" count="0" type="stmt"/>
2591
- <line num="29" count="0" type="stmt"/>
2592
- <line num="36" count="0" type="stmt"/>
2593
- <line num="40" count="1" type="stmt"/>
2594
- </file>
2595
- <file name="knex.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/utils/knex.js">
2596
- <metrics statements="8" coveredstatements="5" conditionals="4" coveredconditionals="0" methods="2" coveredmethods="0"/>
2597
- <line num="3" count="1" type="stmt"/>
2598
- <line num="4" count="1" type="stmt"/>
2599
- <line num="6" count="1" type="stmt"/>
2600
- <line num="7" count="0" type="cond" truecount="0" falsecount="2"/>
2601
- <line num="14" count="1" type="stmt"/>
2602
- <line num="15" count="0" type="stmt"/>
2603
- <line num="16" count="0" type="cond" truecount="0" falsecount="2"/>
2604
- <line num="19" count="1" type="stmt"/>
2605
- </file>
2606
- </package>
2607
- <package name="lib.validations">
2608
- <metrics statements="7" coveredstatements="5" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="1"/>
2609
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/validations/index.js">
2610
- <metrics statements="7" coveredstatements="5" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="1"/>
2611
- <line num="3" count="1" type="stmt"/>
2612
- <line num="11" count="4" type="stmt"/>
2613
- <line num="12" count="4" type="stmt"/>
2614
- <line num="14" count="4" type="cond" truecount="1" falsecount="1"/>
2615
- <line num="15" count="0" type="stmt"/>
2616
- <line num="16" count="0" type="stmt"/>
2617
- <line num="20" count="1" type="stmt"/>
2618
- </file>
2619
- </package>
2620
- <package name="lib.validations.relations">
2621
- <metrics statements="39" coveredstatements="21" conditionals="12" coveredconditionals="1" methods="6" coveredmethods="5"/>
2622
- <file name="bidirectional.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/validations/relations/bidirectional.js">
2623
- <metrics statements="34" coveredstatements="16" conditionals="12" coveredconditionals="1" methods="5" coveredmethods="4"/>
2624
- <line num="3" count="1" type="stmt"/>
2625
- <line num="4" count="1" type="stmt"/>
2626
- <line num="6" count="1" type="stmt"/>
2627
- <line num="7" count="4" type="stmt"/>
2628
- <line num="9" count="4" type="stmt"/>
2629
- <line num="10" count="4" type="stmt"/>
2630
- <line num="13" count="4" type="stmt"/>
2631
- <line num="14" count="4" type="cond" truecount="1" falsecount="1"/>
2632
- <line num="16" count="0" type="cond" truecount="0" falsecount="2"/>
2633
- <line num="17" count="0" type="stmt"/>
2634
- <line num="20" count="0" type="cond" truecount="0" falsecount="2"/>
2635
- <line num="21" count="0" type="stmt"/>
2636
- <line num="30" count="4" type="stmt"/>
2637
- <line num="33" count="1" type="stmt"/>
2638
- <line num="35" count="0" type="stmt"/>
2639
- <line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
2640
- <line num="38" count="0" type="stmt"/>
2641
- <line num="39" count="0" type="stmt"/>
2642
- <line num="51" count="1" type="stmt"/>
2643
- <line num="52" count="4" type="stmt"/>
2644
- <line num="53" count="4" type="stmt"/>
2645
- <line num="55" count="4" type="stmt"/>
2646
- <line num="56" count="0" type="stmt"/>
2647
- <line num="57" count="0" type="stmt"/>
2648
- <line num="60" count="0" type="stmt"/>
2649
- <line num="61" count="0" type="stmt"/>
2650
- <line num="63" count="0" type="stmt"/>
2651
- <line num="64" count="0" type="stmt"/>
2652
- <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
2653
- <line num="67" count="0" type="stmt"/>
2654
- <line num="72" count="0" type="cond" truecount="0" falsecount="2"/>
2655
- <line num="74" count="0" type="stmt"/>
2656
- <line num="84" count="4" type="stmt"/>
2657
- <line num="87" count="1" type="stmt"/>
2658
- </file>
2659
- <file name="index.js" path="/Users/alex/dev/strapi/strapi/packages/core/database/lib/validations/relations/index.js">
2660
- <metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
2661
- <line num="3" count="1" type="stmt"/>
2662
- <line num="9" count="1" type="stmt"/>
2663
- <line num="10" count="4" type="stmt"/>
2664
- <line num="11" count="4" type="stmt"/>
2665
- <line num="14" count="1" type="stmt"/>
2666
- </file>
2667
- </package>
2668
- </project>
2669
- </coverage>