@tmagic/editor 1.0.0-rc.6 → 1.0.0-rc.7

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 (70) hide show
  1. package/dist/tmagic-editor.es.js +17 -2
  2. package/dist/tmagic-editor.es.js.map +1 -1
  3. package/dist/tmagic-editor.umd.js +17 -2
  4. package/dist/tmagic-editor.umd.js.map +1 -1
  5. package/dist/types/src/fields/Code.vue.d.ts +4 -4
  6. package/dist/types/src/fields/CodeLink.vue.d.ts +1 -3
  7. package/dist/types/src/layouts/PropsPanel.vue.d.ts +2 -4
  8. package/dist/types/src/services/history.d.ts +1 -18
  9. package/package.json +11 -20
  10. package/src/services/editor.ts +1 -2
  11. package/src/services/props.ts +62 -7
  12. package/src/utils/editor.ts +1 -50
  13. package/src/utils/props.ts +17 -3
  14. package/LICENSE +0 -5432
  15. package/coverage/clover.xml +0 -1615
  16. package/coverage/coverage-final.json +0 -36
  17. package/coverage/lcov-report/base.css +0 -224
  18. package/coverage/lcov-report/block-navigation.js +0 -87
  19. package/coverage/lcov-report/favicon.png +0 -0
  20. package/coverage/lcov-report/index.html +0 -206
  21. package/coverage/lcov-report/prettify.css +0 -1
  22. package/coverage/lcov-report/prettify.js +0 -2
  23. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  24. package/coverage/lcov-report/sorter.js +0 -196
  25. package/coverage/lcov-report/src/Editor.vue.html +0 -853
  26. package/coverage/lcov-report/src/components/ContentMenu.vue.html +0 -505
  27. package/coverage/lcov-report/src/components/Icon.vue.html +0 -172
  28. package/coverage/lcov-report/src/components/ScrollViewer.vue.html +0 -283
  29. package/coverage/lcov-report/src/components/ToolButton.vue.html +0 -772
  30. package/coverage/lcov-report/src/components/index.html +0 -161
  31. package/coverage/lcov-report/src/index.html +0 -131
  32. package/coverage/lcov-report/src/layouts/AddPageBox.vue.html +0 -214
  33. package/coverage/lcov-report/src/layouts/Framework.vue.html +0 -343
  34. package/coverage/lcov-report/src/layouts/NavMenu.vue.html +0 -208
  35. package/coverage/lcov-report/src/layouts/PropsPanel.vue.html +0 -319
  36. package/coverage/lcov-report/src/layouts/Resizer.vue.html +0 -268
  37. package/coverage/lcov-report/src/layouts/index.html +0 -176
  38. package/coverage/lcov-report/src/layouts/sidebar/ComponentListPanel.vue.html +0 -358
  39. package/coverage/lcov-report/src/layouts/sidebar/LayerMenu.vue.html +0 -430
  40. package/coverage/lcov-report/src/layouts/sidebar/LayerPanel.vue.html +0 -775
  41. package/coverage/lcov-report/src/layouts/sidebar/Sidebar.vue.html +0 -226
  42. package/coverage/lcov-report/src/layouts/sidebar/TabPane.vue.html +0 -289
  43. package/coverage/lcov-report/src/layouts/sidebar/index.html +0 -176
  44. package/coverage/lcov-report/src/layouts/workspace/PageBar.vue.html +0 -718
  45. package/coverage/lcov-report/src/layouts/workspace/Stage.vue.html +0 -766
  46. package/coverage/lcov-report/src/layouts/workspace/ViewerMenu.vue.html +0 -577
  47. package/coverage/lcov-report/src/layouts/workspace/Workspace.vue.html +0 -649
  48. package/coverage/lcov-report/src/layouts/workspace/index.html +0 -161
  49. package/coverage/lcov-report/src/services/BaseService.ts.html +0 -643
  50. package/coverage/lcov-report/src/services/componentList.ts.html +0 -229
  51. package/coverage/lcov-report/src/services/editor.ts.html +0 -2167
  52. package/coverage/lcov-report/src/services/events.ts.html +0 -331
  53. package/coverage/lcov-report/src/services/history.ts.html +0 -478
  54. package/coverage/lcov-report/src/services/index.html +0 -206
  55. package/coverage/lcov-report/src/services/props.ts.html +0 -415
  56. package/coverage/lcov-report/src/services/ui.ts.html +0 -580
  57. package/coverage/lcov-report/src/type.ts.html +0 -850
  58. package/coverage/lcov-report/src/utils/compose.ts.html +0 -184
  59. package/coverage/lcov-report/src/utils/config.ts.html +0 -172
  60. package/coverage/lcov-report/src/utils/editor.ts.html +0 -850
  61. package/coverage/lcov-report/src/utils/index.html +0 -221
  62. package/coverage/lcov-report/src/utils/index.ts.html +0 -151
  63. package/coverage/lcov-report/src/utils/logger.ts.html +0 -226
  64. package/coverage/lcov-report/src/utils/props.ts.html +0 -796
  65. package/coverage/lcov-report/src/utils/scroll-viewer.ts.html +0 -733
  66. package/coverage/lcov-report/src/utils/undo-redo.ts.html +0 -313
  67. package/coverage/lcov.info +0 -3893
  68. package/dist/types/src/components/ToolButton.vue.d.ts +0 -46
  69. package/dist/types/src/fields/UISelect.vue.d.ts +0 -35
  70. package/dist/types/src/layouts/workspace/PageBar.vue.d.ts +0 -18
@@ -1,1615 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1654500468235" clover="3.2.0">
3
- <project timestamp="1654500468235" name="All files">
4
- <metrics statements="1483" coveredstatements="910" conditionals="1293" coveredconditionals="326" methods="401" coveredmethods="209" elements="3177" coveredelements="1445" complexity="0" loc="1483" ncloc="1483" packages="7" files="35" classes="35"/>
5
- <package name="src">
6
- <metrics statements="70" coveredstatements="67" conditionals="14" coveredconditionals="11" methods="30" coveredmethods="27"/>
7
- <file name="Editor.vue" path="/data/magic/tmagic-editor/packages/editor/src/Editor.vue">
8
- <metrics statements="60" coveredstatements="57" conditionals="8" coveredconditionals="5" methods="27" coveredmethods="24"/>
9
- <line num="40" count="1" type="stmt"/>
10
- <line num="48" count="1" type="stmt"/>
11
- <line num="49" count="1" type="stmt"/>
12
- <line num="50" count="1" type="stmt"/>
13
- <line num="51" count="1" type="stmt"/>
14
- <line num="52" count="1" type="stmt"/>
15
- <line num="53" count="1" type="stmt"/>
16
- <line num="54" count="1" type="stmt"/>
17
- <line num="55" count="1" type="stmt"/>
18
- <line num="56" count="1" type="stmt"/>
19
- <line num="57" count="1" type="stmt"/>
20
- <line num="58" count="1" type="stmt"/>
21
- <line num="61" count="1" type="stmt"/>
22
- <line num="76" count="0" type="stmt"/>
23
- <line num="83" count="1" type="stmt"/>
24
- <line num="93" count="1" type="stmt"/>
25
- <line num="98" count="1" type="stmt"/>
26
- <line num="104" count="1" type="stmt"/>
27
- <line num="121" count="1" type="stmt"/>
28
- <line num="127" count="1" type="stmt"/>
29
- <line num="133" count="1" type="stmt"/>
30
- <line num="156" count="1" type="stmt"/>
31
- <line num="162" count="1" type="stmt"/>
32
- <line num="163" count="1" type="stmt"/>
33
- <line num="164" count="1" type="cond" truecount="2" falsecount="0"/>
34
- <line num="165" count="1" type="cond" truecount="1" falsecount="1"/>
35
- <line num="166" count="1" type="stmt"/>
36
- <line num="170" count="1" type="stmt"/>
37
- <line num="171" count="1" type="stmt"/>
38
- <line num="172" count="1" type="stmt"/>
39
- <line num="178" count="1" type="stmt"/>
40
- <line num="179" count="1" type="stmt"/>
41
- <line num="180" count="1" type="stmt"/>
42
- <line num="186" count="1" type="stmt"/>
43
- <line num="187" count="1" type="stmt"/>
44
- <line num="188" count="1" type="stmt"/>
45
- <line num="194" count="1" type="stmt"/>
46
- <line num="195" count="1" type="stmt"/>
47
- <line num="196" count="1" type="stmt"/>
48
- <line num="202" count="1" type="stmt"/>
49
- <line num="203" count="1" type="stmt"/>
50
- <line num="205" count="1" type="stmt"/>
51
- <line num="206" count="1" type="stmt"/>
52
- <line num="208" count="1" type="stmt"/>
53
- <line num="209" count="0" type="stmt"/>
54
- <line num="210" count="0" type="stmt"/>
55
- <line num="213" count="1" type="stmt"/>
56
- <line num="214" count="1" type="stmt"/>
57
- <line num="221" count="1" type="stmt"/>
58
- <line num="222" count="1" type="stmt"/>
59
- <line num="223" count="1" type="cond" truecount="1" falsecount="1"/>
60
- <line num="229" count="1" type="stmt"/>
61
- <line num="230" count="1" type="stmt"/>
62
- <line num="231" count="1" type="cond" truecount="1" falsecount="1"/>
63
- <line num="237" count="1" type="stmt"/>
64
- <line num="239" count="1" type="stmt"/>
65
- <line num="248" count="1" type="stmt"/>
66
- <line num="250" count="1" type="stmt"/>
67
- <line num="251" count="1" type="stmt"/>
68
- <line num="253" count="1" type="stmt"/>
69
- </file>
70
- <file name="type.ts" path="/data/magic/tmagic-editor/packages/editor/src/type.ts">
71
- <metrics statements="10" coveredstatements="10" conditionals="6" coveredconditionals="6" methods="3" coveredmethods="3"/>
72
- <line num="240" count="8" type="cond" truecount="2" falsecount="0"/>
73
- <line num="241" count="8" type="stmt"/>
74
- <line num="242" count="8" type="stmt"/>
75
- <line num="246" count="8" type="cond" truecount="2" falsecount="0"/>
76
- <line num="247" count="8" type="stmt"/>
77
- <line num="248" count="8" type="stmt"/>
78
- <line num="249" count="8" type="stmt"/>
79
- <line num="250" count="8" type="stmt"/>
80
- <line num="253" count="8" type="cond" truecount="2" falsecount="0"/>
81
- <line num="254" count="8" type="stmt"/>
82
- </file>
83
- </package>
84
- <package name="src.components">
85
- <metrics statements="125" coveredstatements="83" conditionals="161" coveredconditionals="58" methods="40" coveredmethods="23"/>
86
- <file name="ContentMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/ContentMenu.vue">
87
- <metrics statements="44" coveredstatements="16" conditionals="40" coveredconditionals="0" methods="10" coveredmethods="2"/>
88
- <line num="26" count="2" type="stmt"/>
89
- <line num="30" count="2" type="stmt"/>
90
- <line num="32" count="2" type="stmt"/>
91
- <line num="38" count="0" type="stmt"/>
92
- <line num="49" count="3" type="stmt"/>
93
- <line num="50" count="3" type="stmt"/>
94
- <line num="51" count="3" type="stmt"/>
95
- <line num="52" count="3" type="stmt"/>
96
- <line num="53" count="3" type="stmt"/>
97
- <line num="54" count="3" type="stmt"/>
98
- <line num="59" count="3" type="stmt"/>
99
- <line num="60" count="0" type="cond" truecount="0" falsecount="1"/>
100
- <line num="62" count="0" type="stmt"/>
101
- <line num="63" count="0" type="cond" truecount="0" falsecount="4"/>
102
- <line num="65" count="0" type="stmt"/>
103
- <line num="68" count="3" type="stmt"/>
104
- <line num="69" count="0" type="stmt"/>
105
- <line num="70" count="0" type="cond" truecount="0" falsecount="3"/>
106
- <line num="71" count="0" type="stmt"/>
107
- <line num="73" count="0" type="cond" truecount="0" falsecount="15"/>
108
- <line num="74" count="0" type="stmt"/>
109
- <line num="76" count="0" type="stmt"/>
110
- <line num="79" count="3" type="stmt"/>
111
- <line num="80" count="3" type="cond" truecount="0" falsecount="1"/>
112
- <line num="82" count="3" type="stmt"/>
113
- <line num="85" count="3" type="stmt"/>
114
- <line num="86" count="0" type="cond" truecount="0" falsecount="1"/>
115
- <line num="88" count="0" type="stmt"/>
116
- <line num="91" count="3" type="stmt"/>
117
- <line num="102" count="0" type="stmt"/>
118
- <line num="103" count="0" type="stmt"/>
119
- <line num="105" count="0" type="stmt"/>
120
- <line num="106" count="0" type="cond" truecount="0" falsecount="6"/>
121
- <line num="108" count="0" type="stmt"/>
122
- <line num="109" count="0" type="cond" truecount="0" falsecount="1"/>
123
- <line num="110" count="0" type="stmt"/>
124
- <line num="113" count="0" type="stmt"/>
125
- <line num="118" count="0" type="stmt"/>
126
- <line num="124" count="0" type="stmt"/>
127
- <line num="125" count="0" type="cond" truecount="0" falsecount="7"/>
128
- <line num="126" count="0" type="stmt"/>
129
- <line num="129" count="0" type="stmt"/>
130
- <line num="130" count="0" type="cond" truecount="0" falsecount="1"/>
131
- <line num="131" count="0" type="stmt"/>
132
- </file>
133
- <file name="Icon.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/Icon.vue">
134
- <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
135
- <line num="9" count="4" type="stmt"/>
136
- <line num="10" count="4" type="stmt"/>
137
- <line num="12" count="4" type="stmt"/>
138
- <line num="24" count="12" type="stmt"/>
139
- </file>
140
- <file name="ScrollViewer.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/ScrollViewer.vue">
141
- <metrics statements="15" coveredstatements="13" conditionals="5" coveredconditionals="4" methods="6" coveredmethods="4"/>
142
- <line num="10" count="2" type="stmt"/>
143
- <line num="12" count="2" type="stmt"/>
144
- <line num="14" count="2" type="stmt"/>
145
- <line num="27" count="2" type="stmt"/>
146
- <line num="28" count="2" type="stmt"/>
147
- <line num="31" count="2" type="stmt"/>
148
- <line num="32" count="2" type="cond" truecount="2" falsecount="1"/>
149
- <line num="33" count="2" type="stmt"/>
150
- <line num="40" count="2" type="stmt"/>
151
- <line num="41" count="0" type="stmt"/>
152
- <line num="44" count="2" type="stmt"/>
153
- <line num="45" count="2" type="stmt"/>
154
- <line num="47" count="0" type="stmt"/>
155
- <line num="51" count="2" type="stmt"/>
156
- <line num="56" count="2" type="stmt"/>
157
- </file>
158
- <file name="ToolButton.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/ToolButton.vue">
159
- <metrics statements="62" coveredstatements="50" conditionals="116" coveredconditionals="54" methods="23" coveredmethods="16"/>
160
- <line num="54" count="4" type="stmt"/>
161
- <line num="55" count="4" type="stmt"/>
162
- <line num="57" count="4" type="stmt"/>
163
- <line num="59" count="4" type="stmt"/>
164
- <line num="62" count="4" type="stmt"/>
165
- <line num="69" count="1" type="stmt"/>
166
- <line num="82" count="18" type="stmt"/>
167
- <line num="83" count="18" type="cond" truecount="3" falsecount="1"/>
168
- <line num="85" count="18" type="cond" truecount="0" falsecount="8"/>
169
- <line num="86" count="18" type="cond" truecount="0" falsecount="8"/>
170
- <line num="87" count="18" type="cond" truecount="0" falsecount="8"/>
171
- <line num="89" count="18" type="cond" truecount="3" falsecount="1"/>
172
- <line num="90" count="18" type="cond" truecount="3" falsecount="1"/>
173
- <line num="92" count="18" type="stmt"/>
174
- <line num="93" count="22" type="cond" truecount="1" falsecount="0"/>
175
- <line num="94" count="16" type="stmt"/>
176
- <line num="96" count="6" type="cond" truecount="6" falsecount="4"/>
177
- <line num="98" count="0" type="stmt"/>
178
- <line num="102" count="0" type="stmt"/>
179
- <line num="106" count="1" type="stmt"/>
180
- <line num="110" count="1" type="cond" truecount="6" falsecount="2"/>
181
- <line num="111" count="1" type="cond" truecount="6" falsecount="2"/>
182
- <line num="114" count="1" type="stmt"/>
183
- <line num="118" count="1" type="cond" truecount="3" falsecount="1"/>
184
- <line num="119" count="1" type="cond" truecount="3" falsecount="1"/>
185
- <line num="122" count="1" type="stmt"/>
186
- <line num="126" count="1" type="cond" truecount="3" falsecount="1"/>
187
- <line num="127" count="1" type="cond" truecount="3" falsecount="1"/>
188
- <line num="130" count="1" type="stmt"/>
189
- <line num="137" count="1" type="stmt"/>
190
- <line num="144" count="0" type="stmt"/>
191
- <line num="148" count="0" type="cond" truecount="0" falsecount="4"/>
192
- <line num="151" count="0" type="stmt"/>
193
- <line num="155" count="0" type="cond" truecount="0" falsecount="4"/>
194
- <line num="158" count="1" type="stmt"/>
195
- <line num="165" count="18" type="stmt"/>
196
- <line num="166" count="18" type="cond" truecount="0" falsecount="1"/>
197
- <line num="167" count="18" type="cond" truecount="0" falsecount="1"/>
198
- <line num="168" count="18" type="cond" truecount="1" falsecount="0"/>
199
- <line num="169" count="3" type="stmt"/>
200
- <line num="171" count="15" type="stmt"/>
201
- <line num="174" count="18" type="stmt"/>
202
- <line num="175" count="5" type="cond" truecount="0" falsecount="1"/>
203
- <line num="176" count="5" type="cond" truecount="3" falsecount="0"/>
204
- <line num="177" count="5" type="cond" truecount="3" falsecount="1"/>
205
- <line num="181" count="18" type="stmt"/>
206
- <line num="189" count="22" type="cond" truecount="0" falsecount="1"/>
207
- <line num="190" count="22" type="cond" truecount="0" falsecount="1"/>
208
- <line num="191" count="22" type="cond" truecount="1" falsecount="0"/>
209
- <line num="192" count="1" type="stmt"/>
210
- <line num="194" count="21" type="cond" truecount="4" falsecount="0"/>
211
- <line num="201" count="2" type="cond" truecount="1" falsecount="0"/>
212
- <line num="202" count="1" type="stmt"/>
213
- <line num="207" count="5" type="cond" truecount="0" falsecount="1"/>
214
- <line num="208" count="5" type="cond" truecount="1" falsecount="0"/>
215
- <line num="209" count="5" type="stmt"/>
216
- <line num="214" count="0" type="cond" truecount="0" falsecount="1"/>
217
- <line num="215" count="0" type="cond" truecount="0" falsecount="1"/>
218
- <line num="216" count="0" type="stmt"/>
219
- <line num="221" count="0" type="cond" truecount="0" falsecount="1"/>
220
- <line num="222" count="0" type="cond" truecount="0" falsecount="1"/>
221
- <line num="223" count="0" type="stmt"/>
222
- </file>
223
- </package>
224
- <package name="src.layouts">
225
- <metrics statements="78" coveredstatements="52" conditionals="75" coveredconditionals="25" methods="23" coveredmethods="14"/>
226
- <file name="AddPageBox.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/AddPageBox.vue">
227
- <metrics statements="10" coveredstatements="5" conditionals="3" coveredconditionals="0" methods="2" coveredmethods="0"/>
228
- <line num="15" count="1" type="stmt"/>
229
- <line num="16" count="1" type="stmt"/>
230
- <line num="18" count="1" type="stmt"/>
231
- <line num="21" count="1" type="stmt"/>
232
- <line num="23" count="1" type="stmt"/>
233
- <line num="27" count="0" type="stmt"/>
234
- <line num="29" count="0" type="stmt"/>
235
- <line num="31" count="0" type="cond" truecount="0" falsecount="2"/>
236
- <line num="33" count="0" type="cond" truecount="0" falsecount="1"/>
237
- <line num="35" count="0" type="stmt"/>
238
- </file>
239
- <file name="Framework.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/Framework.vue">
240
- <metrics statements="14" coveredstatements="10" conditionals="24" coveredconditionals="11" methods="7" coveredmethods="4"/>
241
- <line num="42" count="1" type="stmt"/>
242
- <line num="48" count="1" type="stmt"/>
243
- <line num="49" count="1" type="stmt"/>
244
- <line num="51" count="1" type="stmt"/>
245
- <line num="60" count="0" type="stmt"/>
246
- <line num="65" count="1" type="cond" truecount="1" falsecount="1"/>
247
- <line num="67" count="1" type="cond" truecount="0" falsecount="4"/>
248
- <line num="69" count="1" type="stmt"/>
249
- <line num="71" count="1" type="cond" truecount="4" falsecount="2"/>
250
- <line num="72" count="1" type="cond" truecount="3" falsecount="1"/>
251
- <line num="73" count="1" type="cond" truecount="3" falsecount="1"/>
252
- <line num="76" count="0" type="stmt"/>
253
- <line num="78" count="0" type="cond" truecount="0" falsecount="4"/>
254
- <line num="80" count="0" type="stmt"/>
255
- </file>
256
- <file name="NavMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/NavMenu.vue">
257
- <metrics statements="8" coveredstatements="7" conditionals="4" coveredconditionals="3" methods="4" coveredmethods="3"/>
258
- <line num="10" count="1" type="stmt"/>
259
- <line num="12" count="1" type="stmt"/>
260
- <line num="15" count="1" type="stmt"/>
261
- <line num="23" count="0" type="stmt"/>
262
- <line num="32" count="1" type="stmt"/>
263
- <line num="34" count="1" type="stmt"/>
264
- <line num="35" count="1" type="stmt"/>
265
- <line num="37" count="1" type="cond" truecount="3" falsecount="1"/>
266
- </file>
267
- <file name="PropsPanel.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/PropsPanel.vue">
268
- <metrics statements="28" coveredstatements="20" conditionals="33" coveredconditionals="11" methods="6" coveredmethods="5"/>
269
- <line num="14" count="1" type="stmt"/>
270
- <line num="15" count="1" type="stmt"/>
271
- <line num="22" count="1" type="stmt"/>
272
- <line num="27" count="1" type="stmt"/>
273
- <line num="28" count="1" type="stmt"/>
274
- <line num="29" count="1" type="stmt"/>
275
- <line num="30" count="1" type="stmt"/>
276
- <line num="32" count="1" type="stmt"/>
277
- <line num="33" count="1" type="stmt"/>
278
- <line num="34" count="1" type="cond" truecount="3" falsecount="1"/>
279
- <line num="36" count="1" type="stmt"/>
280
- <line num="37" count="1" type="cond" truecount="1" falsecount="0"/>
281
- <line num="38" count="1" type="stmt"/>
282
- <line num="39" count="1" type="stmt"/>
283
- <line num="42" count="0" type="cond" truecount="0" falsecount="4"/>
284
- <line num="43" count="0" type="cond" truecount="0" falsecount="6"/>
285
- <line num="44" count="0" type="stmt"/>
286
- <line num="47" count="1" type="stmt"/>
287
- <line num="48" count="1" type="cond" truecount="3" falsecount="1"/>
288
- <line num="50" count="1" type="stmt"/>
289
- <line num="51" count="1" type="stmt"/>
290
- <line num="54" count="1" type="stmt"/>
291
- <line num="58" count="1" type="cond" truecount="4" falsecount="2"/>
292
- <line num="62" count="0" type="cond" truecount="0" falsecount="4"/>
293
- <line num="63" count="0" type="cond" truecount="0" falsecount="4"/>
294
- <line num="65" count="0" type="stmt"/>
295
- <line num="66" count="0" type="stmt"/>
296
- <line num="67" count="0" type="stmt"/>
297
- </file>
298
- <file name="Resizer.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/Resizer.vue">
299
- <metrics statements="18" coveredstatements="10" conditionals="11" coveredconditionals="0" methods="4" coveredmethods="2"/>
300
- <line num="8" count="1" type="stmt"/>
301
- <line num="9" count="1" type="stmt"/>
302
- <line num="13" count="1" type="stmt"/>
303
- <line num="23" count="2" type="stmt"/>
304
- <line num="25" count="2" type="stmt"/>
305
- <line num="29" count="2" type="stmt"/>
306
- <line num="30" count="2" type="cond" truecount="0" falsecount="1"/>
307
- <line num="31" count="2" type="stmt"/>
308
- <line num="35" count="0" type="cond" truecount="0" falsecount="3"/>
309
- <line num="37" count="0" type="stmt"/>
310
- <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
311
- <line num="41" count="0" type="stmt"/>
312
- <line num="42" count="0" type="cond" truecount="0" falsecount="1"/>
313
- <line num="43" count="0" type="stmt"/>
314
- <line num="45" count="0" type="stmt"/>
315
- <line num="52" count="2" type="stmt"/>
316
- <line num="53" count="0" type="cond" truecount="0" falsecount="4"/>
317
- <line num="56" count="2" type="stmt"/>
318
- </file>
319
- </package>
320
- <package name="src.layouts.sidebar">
321
- <metrics statements="157" coveredstatements="78" conditionals="234" coveredconditionals="32" methods="55" coveredmethods="19"/>
322
- <file name="ComponentListPanel.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/ComponentListPanel.vue">
323
- <metrics statements="19" coveredstatements="11" conditionals="17" coveredconditionals="6" methods="8" coveredmethods="3"/>
324
- <line num="36" count="1" type="stmt"/>
325
- <line num="37" count="1" type="stmt"/>
326
- <line num="39" count="1" type="stmt"/>
327
- <line num="42" count="1" type="stmt"/>
328
- <line num="48" count="1" type="stmt"/>
329
- <line num="49" count="1" type="stmt"/>
330
- <line num="50" count="1" type="stmt"/>
331
- <line num="51" count="1" type="cond" truecount="3" falsecount="1"/>
332
- <line num="53" count="0" type="stmt"/>
333
- <line num="56" count="1" type="stmt"/>
334
- <line num="57" count="1" type="cond" truecount="3" falsecount="1"/>
335
- <line num="59" count="0" type="stmt"/>
336
- <line num="62" count="1" type="stmt"/>
337
- <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
338
- <line num="68" count="0" type="cond" truecount="0" falsecount="4"/>
339
- <line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
340
- <line num="76" count="0" type="cond" truecount="0" falsecount="1"/>
341
- <line num="77" count="0" type="stmt"/>
342
- <line num="78" count="0" type="stmt"/>
343
- </file>
344
- <file name="LayerMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/LayerMenu.vue">
345
- <metrics statements="31" coveredstatements="19" conditionals="64" coveredconditionals="7" methods="18" coveredmethods="4"/>
346
- <line num="6" count="1" type="stmt"/>
347
- <line num="7" count="1" type="stmt"/>
348
- <line num="9" count="1" type="stmt"/>
349
- <line num="11" count="1" type="stmt"/>
350
- <line num="14" count="1" type="stmt"/>
351
- <line num="18" count="1" type="stmt"/>
352
- <line num="19" count="1" type="stmt"/>
353
- <line num="20" count="1" type="cond" truecount="3" falsecount="1"/>
354
- <line num="21" count="1" type="cond" truecount="0" falsecount="4"/>
355
- <line num="22" count="1" type="cond" truecount="0" falsecount="4"/>
356
- <line num="23" count="1" type="cond" truecount="0" falsecount="6"/>
357
- <line num="25" count="1" type="stmt"/>
358
- <line num="27" count="1" type="stmt"/>
359
- <line num="28" count="0" type="stmt"/>
360
- <line num="33" count="0" type="cond" truecount="0" falsecount="4"/>
361
- <line num="41" count="1" type="stmt"/>
362
- <line num="42" count="1" type="cond" truecount="2" falsecount="3"/>
363
- <line num="43" count="0" type="stmt"/>
364
- <line num="49" count="0" type="cond" truecount="0" falsecount="4"/>
365
- <line num="56" count="1" type="cond" truecount="2" falsecount="3"/>
366
- <line num="57" count="0" type="stmt"/>
367
- <line num="60" count="0" type="stmt"/>
368
- <line num="75" count="1" type="stmt"/>
369
- <line num="78" count="1" type="stmt"/>
370
- <line num="80" count="1" type="stmt"/>
371
- <line num="85" count="0" type="cond" truecount="0" falsecount="4"/>
372
- <line num="92" count="0" type="stmt"/>
373
- <line num="94" count="0" type="cond" truecount="0" falsecount="6"/>
374
- <line num="101" count="0" type="cond" truecount="0" falsecount="2"/>
375
- <line num="103" count="0" type="cond" truecount="0" falsecount="6"/>
376
- <line num="110" count="0" type="cond" truecount="0" falsecount="4"/>
377
- </file>
378
- <file name="LayerPanel.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/LayerPanel.vue">
379
- <metrics statements="85" coveredstatements="29" conditionals="139" coveredconditionals="11" methods="23" coveredmethods="7"/>
380
- <line num="57" count="1" type="stmt"/>
381
- <line num="59" count="1" type="stmt"/>
382
- <line num="62" count="1" type="stmt"/>
383
- <line num="68" count="1" type="stmt"/>
384
- <line num="70" count="1" type="stmt"/>
385
- <line num="72" count="1" type="stmt"/>
386
- <line num="73" count="0" type="cond" truecount="0" falsecount="1"/>
387
- <line num="74" count="0" type="stmt"/>
388
- <line num="77" count="0" type="cond" truecount="0" falsecount="4"/>
389
- <line num="78" count="0" type="cond" truecount="0" falsecount="8"/>
390
- <line num="81" count="1" type="stmt"/>
391
- <line num="82" count="0" type="cond" truecount="0" falsecount="5"/>
392
- <line num="83" count="0" type="stmt"/>
393
- <line num="85" count="0" type="cond" truecount="0" falsecount="4"/>
394
- <line num="86" count="0" type="cond" truecount="0" falsecount="8"/>
395
- <line num="89" count="1" type="stmt"/>
396
- <line num="91" count="0" type="cond" truecount="0" falsecount="2"/>
397
- <line num="92" count="0" type="stmt"/>
398
- <line num="94" count="0" type="stmt"/>
399
- <line num="96" count="0" type="cond" truecount="0" falsecount="3"/>
400
- <line num="97" count="0" type="cond" truecount="0" falsecount="3"/>
401
- <line num="98" count="0" type="cond" truecount="0" falsecount="3"/>
402
- <line num="99" count="0" type="cond" truecount="0" falsecount="1"/>
403
- <line num="100" count="0" type="cond" truecount="0" falsecount="3"/>
404
- <line num="102" count="0" type="stmt"/>
405
- <line num="106" count="0" type="cond" truecount="0" falsecount="1"/>
406
- <line num="107" count="0" type="stmt"/>
407
- <line num="108" count="0" type="stmt"/>
408
- <line num="109" count="0" type="cond" truecount="0" falsecount="4"/>
409
- <line num="113" count="1" type="stmt"/>
410
- <line num="114" count="1" type="stmt"/>
411
- <line num="115" count="1" type="stmt"/>
412
- <line num="116" count="1" type="cond" truecount="3" falsecount="1"/>
413
- <line num="118" count="1" type="stmt"/>
414
- <line num="119" count="1" type="cond" truecount="1" falsecount="0"/>
415
- <line num="120" count="0" type="cond" truecount="0" falsecount="4"/>
416
- <line num="121" count="0" type="cond" truecount="0" falsecount="2"/>
417
- <line num="123" count="0" type="cond" truecount="0" falsecount="4"/>
418
- <line num="124" count="0" type="cond" truecount="0" falsecount="5"/>
419
- <line num="126" count="0" type="stmt"/>
420
- <line num="127" count="0" type="cond" truecount="0" falsecount="4"/>
421
- <line num="129" count="0" type="cond" truecount="0" falsecount="4"/>
422
- <line num="132" count="1" type="stmt"/>
423
- <line num="133" count="1" type="cond" truecount="1" falsecount="1"/>
424
- <line num="136" count="0" type="cond" truecount="0" falsecount="1"/>
425
- <line num="137" count="0" type="stmt"/>
426
- <line num="139" count="0" type="cond" truecount="0" falsecount="5"/>
427
- <line num="140" count="0" type="cond" truecount="0" falsecount="4"/>
428
- <line num="142" count="0" type="stmt"/>
429
- <line num="147" count="0" type="cond" truecount="0" falsecount="2"/>
430
- <line num="151" count="1" type="stmt"/>
431
- <line num="155" count="0" type="cond" truecount="0" falsecount="1"/>
432
- <line num="156" count="0" type="stmt"/>
433
- <line num="158" count="0" type="stmt"/>
434
- <line num="159" count="0" type="cond" truecount="0" falsecount="2"/>
435
- <line num="160" count="0" type="stmt"/>
436
- <line num="161" count="0" type="cond" truecount="0" falsecount="1"/>
437
- <line num="162" count="0" type="stmt"/>
438
- <line num="164" count="0" type="stmt"/>
439
- <line num="168" count="0" type="cond" truecount="0" falsecount="4"/>
440
- <line num="172" count="1" type="stmt"/>
441
- <line num="178" count="1" type="stmt"/>
442
- <line num="179" count="1" type="stmt"/>
443
- <line num="180" count="1" type="stmt"/>
444
- <line num="181" count="1" type="stmt"/>
445
- <line num="182" count="1" type="cond" truecount="3" falsecount="1"/>
446
- <line num="183" count="1" type="stmt"/>
447
- <line num="184" count="0" type="stmt"/>
448
- <line num="187" count="1" type="stmt"/>
449
- <line num="188" count="0" type="stmt"/>
450
- <line num="191" count="1" type="stmt"/>
451
- <line num="192" count="1" type="stmt"/>
452
- <line num="193" count="0" type="cond" truecount="0" falsecount="10"/>
453
- <line num="196" count="1" type="cond" truecount="3" falsecount="1"/>
454
- <line num="197" count="0" type="stmt"/>
455
- <line num="198" count="0" type="cond" truecount="0" falsecount="8"/>
456
- <line num="202" count="1" type="stmt"/>
457
- <line num="214" count="0" type="cond" truecount="0" falsecount="5"/>
458
- <line num="215" count="0" type="stmt"/>
459
- <line num="216" count="0" type="stmt"/>
460
- <line num="218" count="0" type="cond" truecount="0" falsecount="4"/>
461
- <line num="219" count="0" type="stmt"/>
462
- <line num="223" count="0" type="stmt"/>
463
- <line num="224" count="0" type="stmt"/>
464
- <line num="225" count="0" type="cond" truecount="0" falsecount="4"/>
465
- </file>
466
- <file name="Sidebar.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/Sidebar.vue">
467
- <metrics statements="9" coveredstatements="8" conditionals="10" coveredconditionals="6" methods="4" coveredmethods="3"/>
468
- <line num="14" count="1" type="stmt"/>
469
- <line num="18" count="1" type="stmt"/>
470
- <line num="20" count="1" type="stmt"/>
471
- <line num="28" count="1" type="stmt"/>
472
- <line num="33" count="1" type="cond" truecount="3" falsecount="1"/>
473
- <line num="35" count="1" type="stmt"/>
474
- <line num="36" count="1" type="cond" truecount="3" falsecount="1"/>
475
- <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
476
- <line num="42" count="1" type="stmt"/>
477
- </file>
478
- <file name="TabPane.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/TabPane.vue">
479
- <metrics statements="13" coveredstatements="11" conditionals="4" coveredconditionals="2" methods="2" coveredmethods="2"/>
480
- <line num="19" count="1" type="stmt"/>
481
- <line num="20" count="1" type="stmt"/>
482
- <line num="22" count="1" type="stmt"/>
483
- <line num="25" count="1" type="stmt"/>
484
- <line num="26" count="1" type="stmt"/>
485
- <line num="28" count="1" type="stmt"/>
486
- <line num="38" count="2" type="stmt"/>
487
- <line num="40" count="2" type="cond" truecount="0" falsecount="1"/>
488
- <line num="41" count="0" type="stmt"/>
489
- <line num="44" count="2" type="cond" truecount="2" falsecount="1"/>
490
- <line num="46" count="1" type="stmt"/>
491
- <line num="54" count="1" type="stmt"/>
492
- <line num="62" count="0" type="stmt"/>
493
- </file>
494
- </package>
495
- <package name="src.layouts.workspace">
496
- <metrics statements="270" coveredstatements="108" conditionals="506" coveredconditionals="64" methods="97" coveredmethods="23"/>
497
- <file name="PageBar.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/PageBar.vue">
498
- <metrics statements="62" coveredstatements="31" conditionals="54" coveredconditionals="17" methods="17" coveredmethods="9"/>
499
- <line num="61" count="2" type="stmt"/>
500
- <line num="73" count="2" type="stmt"/>
501
- <line num="76" count="2" type="stmt"/>
502
- <line num="78" count="2" type="stmt"/>
503
- <line num="80" count="2" type="stmt"/>
504
- <line num="82" count="2" type="stmt"/>
505
- <line num="83" count="3" type="stmt"/>
506
- <line num="84" count="3" type="stmt"/>
507
- <line num="86" count="3" type="stmt"/>
508
- <line num="87" count="3" type="stmt"/>
509
- <line num="89" count="3" type="stmt"/>
510
- <line num="91" count="3" type="stmt"/>
511
- <line num="92" count="3" type="stmt"/>
512
- <line num="93" count="0" type="stmt"/>
513
- <line num="94" count="0" type="stmt"/>
514
- <line num="95" count="0" type="cond" truecount="0" falsecount="2"/>
515
- <line num="97" count="0" type="stmt"/>
516
- <line num="101" count="3" type="stmt"/>
517
- <line num="102" count="0" type="cond" truecount="0" falsecount="1"/>
518
- <line num="103" count="0" type="stmt"/>
519
- <line num="107" count="3" type="stmt"/>
520
- <line num="108" count="0" type="cond" truecount="0" falsecount="1"/>
521
- <line num="110" count="0" type="stmt"/>
522
- <line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
523
- <line num="113" count="0" type="stmt"/>
524
- <line num="115" count="0" type="cond" truecount="0" falsecount="1"/>
525
- <line num="116" count="0" type="stmt"/>
526
- <line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
527
- <line num="119" count="0" type="stmt"/>
528
- <line num="121" count="0" type="cond" truecount="0" falsecount="1"/>
529
- <line num="122" count="0" type="stmt"/>
530
- <line num="124" count="0" type="cond" truecount="0" falsecount="2"/>
531
- <line num="125" count="0" type="stmt"/>
532
- <line num="126" count="0" type="cond" truecount="0" falsecount="1"/>
533
- <line num="127" count="0" type="stmt"/>
534
- <line num="130" count="0" type="stmt"/>
535
- <line num="133" count="3" type="stmt"/>
536
- <line num="134" count="3" type="cond" truecount="2" falsecount="0"/>
537
- <line num="137" count="3" type="stmt"/>
538
- <line num="138" count="0" type="stmt"/>
539
- <line num="141" count="3" type="stmt"/>
540
- <line num="142" count="3" type="cond" truecount="3" falsecount="1"/>
541
- <line num="143" count="0" type="cond" truecount="0" falsecount="2"/>
542
- <line num="144" count="0" type="stmt"/>
543
- <line num="145" count="0" type="stmt"/>
544
- <line num="146" count="0" type="cond" truecount="0" falsecount="2"/>
545
- <line num="147" count="0" type="stmt"/>
546
- <line num="149" count="0" type="stmt"/>
547
- <line num="155" count="3" type="stmt"/>
548
- <line num="166" count="2" type="stmt"/>
549
- <line num="170" count="3" type="stmt"/>
550
- <line num="171" count="3" type="cond" truecount="3" falsecount="1"/>
551
- <line num="173" count="3" type="cond" truecount="3" falsecount="1"/>
552
- <line num="175" count="3" type="stmt"/>
553
- <line num="182" count="3" type="cond" truecount="3" falsecount="1"/>
554
- <line num="185" count="1" type="cond" truecount="3" falsecount="1"/>
555
- <line num="189" count="1" type="cond" truecount="0" falsecount="1"/>
556
- <line num="190" count="1" type="stmt"/>
557
- <line num="194" count="1" type="stmt"/>
558
- <line num="198" count="0" type="cond" truecount="0" falsecount="6"/>
559
- <line num="199" count="0" type="cond" truecount="0" falsecount="4"/>
560
- <line num="206" count="0" type="cond" truecount="0" falsecount="4"/>
561
- </file>
562
- <file name="Stage.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/Stage.vue">
563
- <metrics statements="80" coveredstatements="32" conditionals="177" coveredconditionals="25" methods="27" coveredmethods="7"/>
564
- <line num="24" count="2" type="stmt"/>
565
- <line num="37" count="2" type="stmt"/>
566
- <line num="41" count="2" type="stmt"/>
567
- <line num="43" count="2" type="stmt"/>
568
- <line num="44" count="2" type="stmt"/>
569
- <line num="46" count="2" type="stmt"/>
570
- <line num="48" count="2" type="stmt"/>
571
- <line num="66" count="0" type="stmt"/>
572
- <line num="71" count="2" type="stmt"/>
573
- <line num="78" count="2" type="stmt"/>
574
- <line num="80" count="2" type="stmt"/>
575
- <line num="81" count="2" type="stmt"/>
576
- <line num="82" count="2" type="stmt"/>
577
- <line num="84" count="2" type="cond" truecount="4" falsecount="0"/>
578
- <line num="85" count="2" type="cond" truecount="0" falsecount="4"/>
579
- <line num="86" count="2" type="cond" truecount="4" falsecount="0"/>
580
- <line num="87" count="2" type="cond" truecount="0" falsecount="4"/>
581
- <line num="88" count="2" type="cond" truecount="6" falsecount="0"/>
582
- <line num="89" count="2" type="cond" truecount="0" falsecount="4"/>
583
- <line num="91" count="2" type="stmt"/>
584
- <line num="92" count="2" type="stmt"/>
585
- <line num="94" count="2" type="stmt"/>
586
- <line num="95" count="4" type="cond" truecount="0" falsecount="1"/>
587
- <line num="97" count="4" type="cond" truecount="1" falsecount="0"/>
588
- <line num="98" count="2" type="cond" truecount="5" falsecount="0"/>
589
- <line num="100" count="1" type="stmt"/>
590
- <line num="106" count="0" type="stmt"/>
591
- <line num="108" count="0" type="cond" truecount="0" falsecount="4"/>
592
- <line num="109" count="0" type="stmt"/>
593
- <line num="110" count="0" type="stmt"/>
594
- <line num="113" count="0" type="stmt"/>
595
- <line num="118" count="0" type="cond" truecount="0" falsecount="4"/>
596
- <line num="120" count="0" type="cond" truecount="0" falsecount="4"/>
597
- <line num="122" count="0" type="cond" truecount="0" falsecount="4"/>
598
- <line num="123" count="0" type="cond" truecount="0" falsecount="4"/>
599
- <line num="126" count="0" type="cond" truecount="0" falsecount="4"/>
600
- <line num="127" count="0" type="cond" truecount="0" falsecount="4"/>
601
- <line num="130" count="0" type="cond" truecount="0" falsecount="4"/>
602
- <line num="131" count="0" type="cond" truecount="0" falsecount="4"/>
603
- <line num="134" count="0" type="cond" truecount="0" falsecount="4"/>
604
- <line num="135" count="0" type="cond" truecount="0" falsecount="4"/>
605
- <line num="138" count="0" type="cond" truecount="0" falsecount="4"/>
606
- <line num="139" count="0" type="cond" truecount="0" falsecount="4"/>
607
- <line num="142" count="0" type="cond" truecount="0" falsecount="5"/>
608
- <line num="143" count="0" type="cond" truecount="0" falsecount="4"/>
609
- <line num="144" count="0" type="stmt"/>
610
- <line num="146" count="0" type="cond" truecount="0" falsecount="6"/>
611
- <line num="147" count="0" type="cond" truecount="0" falsecount="14"/>
612
- <line num="148" count="0" type="stmt"/>
613
- <line num="149" count="0" type="cond" truecount="0" falsecount="6"/>
614
- <line num="154" count="2" type="stmt"/>
615
- <line num="155" count="0" type="cond" truecount="0" falsecount="3"/>
616
- <line num="156" count="0" type="stmt"/>
617
- <line num="159" count="2" type="stmt"/>
618
- <line num="160" count="0" type="cond" truecount="0" falsecount="3"/>
619
- <line num="161" count="0" type="stmt"/>
620
- <line num="165" count="2" type="stmt"/>
621
- <line num="166" count="0" type="stmt"/>
622
- <line num="167" count="0" type="cond" truecount="0" falsecount="4"/>
623
- <line num="174" count="2" type="stmt"/>
624
- <line num="175" count="2" type="cond" truecount="5" falsecount="1"/>
625
- <line num="178" count="2" type="stmt"/>
626
- <line num="179" count="0" type="cond" truecount="0" falsecount="4"/>
627
- <line num="180" count="0" type="stmt"/>
628
- <line num="181" count="0" type="cond" truecount="0" falsecount="4"/>
629
- <line num="184" count="2" type="stmt"/>
630
- <line num="192" count="0" type="stmt"/>
631
- <line num="193" count="0" type="cond" truecount="0" falsecount="4"/>
632
- <line num="197" count="0" type="stmt"/>
633
- <line num="198" count="0" type="cond" truecount="0" falsecount="1"/>
634
- <line num="199" count="0" type="stmt"/>
635
- <line num="204" count="0" type="stmt"/>
636
- <line num="205" count="0" type="cond" truecount="0" falsecount="5"/>
637
- <line num="207" count="0" type="stmt"/>
638
- <line num="208" count="0" type="cond" truecount="0" falsecount="4"/>
639
- <line num="210" count="0" type="stmt"/>
640
- <line num="211" count="0" type="stmt"/>
641
- <line num="212" count="0" type="cond" truecount="0" falsecount="1"/>
642
- <line num="213" count="0" type="stmt"/>
643
- <line num="221" count="0" type="cond" truecount="0" falsecount="4"/>
644
- </file>
645
- <file name="ViewerMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/ViewerMenu.vue">
646
- <metrics statements="56" coveredstatements="24" conditionals="140" coveredconditionals="12" methods="25" coveredmethods="4"/>
647
- <line num="6" count="2" type="stmt"/>
648
- <line num="7" count="2" type="stmt"/>
649
- <line num="9" count="2" type="stmt"/>
650
- <line num="12" count="2" type="stmt"/>
651
- <line num="13" count="2" type="stmt"/>
652
- <line num="14" count="2" type="stmt"/>
653
- <line num="16" count="2" type="stmt"/>
654
- <line num="19" count="2" type="stmt"/>
655
- <line num="20" count="2" type="stmt"/>
656
- <line num="21" count="2" type="cond" truecount="4" falsecount="0"/>
657
- <line num="22" count="2" type="stmt"/>
658
- <line num="23" count="2" type="stmt"/>
659
- <line num="24" count="2" type="stmt"/>
660
- <line num="26" count="2" type="cond" truecount="0" falsecount="4"/>
661
- <line num="27" count="2" type="cond" truecount="4" falsecount="0"/>
662
- <line num="28" count="2" type="cond" truecount="0" falsecount="4"/>
663
- <line num="30" count="2" type="stmt"/>
664
- <line num="32" count="2" type="stmt"/>
665
- <line num="33" count="2" type="stmt"/>
666
- <line num="34" count="2" type="cond" truecount="2" falsecount="0"/>
667
- <line num="37" count="2" type="stmt"/>
668
- <line num="39" count="2" type="stmt"/>
669
- <line num="40" count="2" type="cond" truecount="2" falsecount="1"/>
670
- <line num="41" count="0" type="stmt"/>
671
- <line num="42" count="0" type="stmt"/>
672
- <line num="49" count="2" type="stmt"/>
673
- <line num="55" count="0" type="stmt"/>
674
- <line num="57" count="0" type="cond" truecount="0" falsecount="6"/>
675
- <line num="65" count="0" type="cond" truecount="0" falsecount="6"/>
676
- <line num="66" count="0" type="stmt"/>
677
- <line num="72" count="0" type="stmt"/>
678
- <line num="74" count="0" type="cond" truecount="0" falsecount="4"/>
679
- <line num="76" count="0" type="cond" truecount="0" falsecount="4"/>
680
- <line num="77" count="0" type="cond" truecount="0" falsecount="8"/>
681
- <line num="78" count="0" type="cond" truecount="0" falsecount="12"/>
682
- <line num="79" count="0" type="cond" truecount="0" falsecount="12"/>
683
- <line num="81" count="0" type="cond" truecount="0" falsecount="7"/>
684
- <line num="82" count="0" type="cond" truecount="0" falsecount="4"/>
685
- <line num="83" count="0" type="cond" truecount="0" falsecount="4"/>
686
- <line num="84" count="0" type="cond" truecount="0" falsecount="6"/>
687
- <line num="85" count="0" type="cond" truecount="0" falsecount="6"/>
688
- <line num="88" count="0" type="cond" truecount="0" falsecount="4"/>
689
- <line num="94" count="0" type="stmt"/>
690
- <line num="100" count="0" type="stmt"/>
691
- <line num="102" count="0" type="cond" truecount="0" falsecount="4"/>
692
- <line num="109" count="0" type="stmt"/>
693
- <line num="111" count="0" type="cond" truecount="0" falsecount="4"/>
694
- <line num="117" count="0" type="stmt"/>
695
- <line num="119" count="0" type="cond" truecount="0" falsecount="4"/>
696
- <line num="125" count="0" type="stmt"/>
697
- <line num="127" count="0" type="cond" truecount="0" falsecount="4"/>
698
- <line num="133" count="0" type="stmt"/>
699
- <line num="139" count="0" type="stmt"/>
700
- <line num="141" count="0" type="cond" truecount="0" falsecount="6"/>
701
- <line num="152" count="0" type="cond" truecount="0" falsecount="4"/>
702
- <line num="159" count="0" type="cond" truecount="0" falsecount="4"/>
703
- </file>
704
- <file name="Workspace.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/Workspace.vue">
705
- <metrics statements="72" coveredstatements="21" conditionals="135" coveredconditionals="10" methods="28" coveredmethods="3"/>
706
- <line num="22" count="1" type="stmt"/>
707
- <line num="23" count="1" type="stmt"/>
708
- <line num="28" count="1" type="stmt"/>
709
- <line num="32" count="1" type="stmt"/>
710
- <line num="33" count="1" type="stmt"/>
711
- <line num="35" count="1" type="stmt"/>
712
- <line num="61" count="1" type="stmt"/>
713
- <line num="62" count="1" type="stmt"/>
714
- <line num="63" count="1" type="cond" truecount="0" falsecount="4"/>
715
- <line num="66" count="1" type="stmt"/>
716
- <line num="67" count="0" type="cond" truecount="0" falsecount="4"/>
717
- <line num="70" count="1" type="stmt"/>
718
- <line num="71" count="0" type="cond" truecount="0" falsecount="4"/>
719
- <line num="74" count="1" type="stmt"/>
720
- <line num="75" count="1" type="cond" truecount="3" falsecount="1"/>
721
- <line num="76" count="1" type="cond" truecount="3" falsecount="1"/>
722
- <line num="78" count="1" type="stmt"/>
723
- <line num="80" count="1" type="stmt"/>
724
- <line num="82" count="1" type="cond" truecount="1" falsecount="1"/>
725
- <line num="84" count="1" type="stmt"/>
726
- <line num="86" count="0" type="stmt"/>
727
- <line num="87" count="0" type="cond" truecount="0" falsecount="3"/>
728
- <line num="88" count="0" type="cond" truecount="0" falsecount="4"/>
729
- <line num="91" count="0" type="stmt"/>
730
- <line num="92" count="0" type="cond" truecount="0" falsecount="3"/>
731
- <line num="93" count="0" type="cond" truecount="0" falsecount="4"/>
732
- <line num="96" count="0" type="stmt"/>
733
- <line num="97" count="0" type="cond" truecount="0" falsecount="6"/>
734
- <line num="100" count="0" type="stmt"/>
735
- <line num="101" count="0" type="cond" truecount="0" falsecount="6"/>
736
- <line num="104" count="0" type="stmt"/>
737
- <line num="105" count="0" type="cond" truecount="0" falsecount="3"/>
738
- <line num="106" count="0" type="cond" truecount="0" falsecount="4"/>
739
- <line num="107" count="0" type="cond" truecount="0" falsecount="4"/>
740
- <line num="110" count="0" type="stmt"/>
741
- <line num="111" count="0" type="cond" truecount="0" falsecount="4"/>
742
- <line num="114" count="0" type="stmt"/>
743
- <line num="115" count="0" type="cond" truecount="0" falsecount="4"/>
744
- <line num="118" count="0" type="stmt"/>
745
- <line num="119" count="0" type="cond" truecount="0" falsecount="4"/>
746
- <line num="122" count="0" type="stmt"/>
747
- <line num="123" count="0" type="cond" truecount="0" falsecount="4"/>
748
- <line num="126" count="0" type="stmt"/>
749
- <line num="127" count="0" type="cond" truecount="0" falsecount="4"/>
750
- <line num="130" count="0" type="stmt"/>
751
- <line num="131" count="0" type="cond" truecount="0" falsecount="4"/>
752
- <line num="134" count="0" type="stmt"/>
753
- <line num="135" count="0" type="cond" truecount="0" falsecount="4"/>
754
- <line num="138" count="0" type="stmt"/>
755
- <line num="139" count="0" type="cond" truecount="0" falsecount="4"/>
756
- <line num="142" count="0" type="stmt"/>
757
- <line num="143" count="0" type="cond" truecount="0" falsecount="4"/>
758
- <line num="146" count="0" type="stmt"/>
759
- <line num="147" count="0" type="cond" truecount="0" falsecount="4"/>
760
- <line num="150" count="0" type="stmt"/>
761
- <line num="151" count="0" type="cond" truecount="0" falsecount="4"/>
762
- <line num="154" count="0" type="stmt"/>
763
- <line num="155" count="0" type="cond" truecount="0" falsecount="4"/>
764
- <line num="158" count="0" type="stmt"/>
765
- <line num="159" count="0" type="cond" truecount="0" falsecount="4"/>
766
- <line num="162" count="0" type="stmt"/>
767
- <line num="163" count="0" type="cond" truecount="0" falsecount="4"/>
768
- <line num="166" count="0" type="stmt"/>
769
- <line num="167" count="0" type="cond" truecount="0" falsecount="4"/>
770
- <line num="170" count="0" type="stmt"/>
771
- <line num="171" count="0" type="cond" truecount="0" falsecount="4"/>
772
- <line num="175" count="1" type="stmt"/>
773
- <line num="176" count="0" type="cond" truecount="0" falsecount="4"/>
774
- <line num="177" count="0" type="cond" truecount="0" falsecount="4"/>
775
- <line num="178" count="0" type="stmt"/>
776
- <line num="181" count="1" type="stmt"/>
777
- <line num="184" count="1" type="cond" truecount="3" falsecount="1"/>
778
- </file>
779
- </package>
780
- <package name="src.services">
781
- <metrics statements="489" coveredstatements="358" conditionals="196" coveredconditionals="90" methods="91" coveredmethods="67"/>
782
- <file name="BaseService.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/BaseService.ts">
783
- <metrics statements="58" coveredstatements="49" conditionals="12" coveredconditionals="6" methods="14" coveredmethods="11"/>
784
- <line num="19" count="6" type="stmt"/>
785
- <line num="21" count="6" type="stmt"/>
786
- <line num="23" count="180" type="stmt"/>
787
- <line num="25" count="6" type="stmt"/>
788
- <line num="27" count="6" type="stmt"/>
789
- <line num="35" count="86" type="stmt"/>
790
- <line num="36" count="86" type="stmt"/>
791
- <line num="38" count="86" type="stmt"/>
792
- <line num="39" count="1" type="cond" truecount="1" falsecount="1"/>
793
- <line num="41" count="1" type="cond" truecount="1" falsecount="0"/>
794
- <line num="43" count="0" type="cond" truecount="0" falsecount="1"/>
795
- <line num="44" count="0" type="stmt"/>
796
- <line num="47" count="0" type="stmt"/>
797
- <line num="48" count="0" type="cond" truecount="0" falsecount="1"/>
798
- <line num="49" count="0" type="stmt"/>
799
- <line num="53" count="85" type="stmt"/>
800
- <line num="55" count="78" type="stmt"/>
801
- <line num="56" count="0" type="stmt"/>
802
- <line num="58" count="0" type="cond" truecount="0" falsecount="1"/>
803
- <line num="61" count="78" type="stmt"/>
804
- <line num="63" count="8" type="stmt"/>
805
- <line num="114" count="6" type="stmt"/>
806
- <line num="115" count="25" type="stmt"/>
807
- <line num="116" count="25" type="stmt"/>
808
- <line num="117" count="25" type="stmt"/>
809
- <line num="118" count="25" type="stmt"/>
810
- <line num="121" count="25" type="stmt"/>
811
- <line num="123" count="25" type="stmt"/>
812
- <line num="124" count="90" type="stmt"/>
813
- <line num="126" count="90" type="stmt"/>
814
- <line num="128" count="90" type="stmt"/>
815
- <line num="129" count="90" type="stmt"/>
816
- <line num="131" count="90" type="stmt"/>
817
- <line num="132" count="90" type="stmt"/>
818
- <line num="133" count="90" type="stmt"/>
819
- <line num="135" count="90" type="stmt"/>
820
- <line num="136" count="90" type="stmt"/>
821
- <line num="138" count="86" type="cond" truecount="1" falsecount="0"/>
822
- <line num="139" count="48" type="stmt"/>
823
- <line num="144" count="38" type="stmt"/>
824
- <line num="145" count="38" type="stmt"/>
825
- <line num="146" count="38" type="stmt"/>
826
- <line num="147" count="38" type="stmt"/>
827
- <line num="148" count="33" type="stmt"/>
828
- <line num="150" count="5" type="stmt"/>
829
- <line num="155" count="38" type="cond" truecount="1" falsecount="0"/>
830
- <line num="156" count="38" type="stmt"/>
831
- <line num="159" count="38" type="stmt"/>
832
- <line num="166" count="0" type="stmt"/>
833
- <line num="167" count="0" type="cond" truecount="0" falsecount="1"/>
834
- <line num="172" count="1" type="stmt"/>
835
- <line num="173" count="1" type="cond" truecount="1" falsecount="0"/>
836
- <line num="178" count="38" type="stmt"/>
837
- <line num="179" count="38" type="stmt"/>
838
- <line num="180" count="38" type="stmt"/>
839
- <line num="181" count="38" type="stmt"/>
840
- <line num="182" count="38" type="stmt"/>
841
- <line num="184" count="38" type="stmt"/>
842
- </file>
843
- <file name="componentList.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/componentList.ts">
844
- <metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
845
- <line num="19" count="1" type="stmt"/>
846
- <line num="23" count="1" type="stmt"/>
847
- <line num="26" count="1" type="stmt"/>
848
- <line num="31" count="1" type="stmt"/>
849
- <line num="38" count="1" type="stmt"/>
850
- <line num="42" count="1" type="stmt"/>
851
- <line num="48" count="1" type="stmt"/>
852
- </file>
853
- <file name="editor.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/editor.ts">
854
- <metrics statements="272" coveredstatements="212" conditionals="126" coveredconditionals="73" methods="35" coveredmethods="28"/>
855
- <line num="19" count="5" type="stmt"/>
856
- <line num="20" count="5" type="stmt"/>
857
- <line num="21" count="5" type="stmt"/>
858
- <line num="24" count="5" type="stmt"/>
859
- <line num="26" count="5" type="stmt"/>
860
- <line num="28" count="5" type="stmt"/>
861
- <line num="29" count="5" type="stmt"/>
862
- <line num="31" count="5" type="stmt"/>
863
- <line num="32" count="5" type="stmt"/>
864
- <line num="43" count="5" type="stmt"/>
865
- <line num="45" count="5" type="stmt"/>
866
- <line num="48" count="5" type="stmt"/>
867
- <line num="50" count="5" type="stmt"/>
868
- <line num="62" count="5" type="stmt"/>
869
- <line num="91" count="103" type="stmt"/>
870
- <line num="92" count="103" type="stmt"/>
871
- <line num="94" count="103" type="cond" truecount="1" falsecount="0"/>
872
- <line num="95" count="21" type="cond" truecount="1" falsecount="1"/>
873
- <line num="96" count="21" type="stmt"/>
874
- <line num="106" count="242" type="stmt"/>
875
- <line num="115" count="55" type="stmt"/>
876
- <line num="116" count="55" type="cond" truecount="0" falsecount="1"/>
877
- <line num="118" count="55" type="cond" truecount="0" falsecount="1"/>
878
- <line num="119" count="0" type="stmt"/>
879
- <line num="122" count="55" type="stmt"/>
880
- <line num="124" count="55" type="cond" truecount="1" falsecount="0"/>
881
- <line num="126" count="46" type="stmt"/>
882
- <line num="127" count="46" type="stmt"/>
883
- <line num="129" count="46" type="stmt"/>
884
- <line num="130" count="46" type="stmt"/>
885
- <line num="132" count="46" type="stmt"/>
886
- <line num="133" count="120" type="cond" truecount="1" falsecount="0"/>
887
- <line num="134" count="46" type="stmt"/>
888
- <line num="135" count="46" type="stmt"/>
889
- <line num="139" count="46" type="stmt"/>
890
- <line num="148" count="11" type="stmt"/>
891
- <line num="149" count="11" type="stmt"/>
892
- <line num="158" count="3" type="cond" truecount="0" falsecount="1"/>
893
- <line num="159" count="3" type="stmt"/>
894
- <line num="160" count="3" type="stmt"/>
895
- <line num="167" count="24" type="cond" truecount="3" falsecount="1"/>
896
- <line num="169" count="24" type="cond" truecount="1" falsecount="0"/>
897
- <line num="170" count="13" type="stmt"/>
898
- <line num="174" count="11" type="cond" truecount="1" falsecount="0"/>
899
- <line num="175" count="8" type="stmt"/>
900
- <line num="178" count="3" type="stmt"/>
901
- <line num="187" count="26" type="stmt"/>
902
- <line num="188" count="24" type="stmt"/>
903
- <line num="189" count="24" type="cond" truecount="1" falsecount="1"/>
904
- <line num="190" count="24" type="cond" truecount="1" falsecount="1"/>
905
- <line num="192" count="24" type="cond" truecount="1" falsecount="1"/>
906
- <line num="193" count="24" type="stmt"/>
907
- <line num="195" count="0" type="stmt"/>
908
- <line num="198" count="24" type="cond" truecount="1" falsecount="0"/>
909
- <line num="199" count="24" type="stmt"/>
910
- <line num="212" count="24" type="stmt"/>
911
- <line num="214" count="24" type="stmt"/>
912
- <line num="218" count="0" type="stmt"/>
913
- <line num="220" count="0" type="cond" truecount="0" falsecount="4"/>
914
- <line num="222" count="0" type="stmt"/>
915
- <line num="224" count="0" type="cond" truecount="0" falsecount="1"/>
916
- <line num="226" count="0" type="stmt"/>
917
- <line num="228" count="0" type="cond" truecount="0" falsecount="2"/>
918
- <line num="230" count="0" type="stmt"/>
919
- <line num="231" count="0" type="stmt"/>
920
- <line num="233" count="0" type="stmt"/>
921
- <line num="237" count="0" type="stmt"/>
922
- <line num="238" count="0" type="stmt"/>
923
- <line num="240" count="0" type="stmt"/>
924
- <line num="242" count="0" type="cond" truecount="0" falsecount="2"/>
925
- <line num="244" count="0" type="stmt"/>
926
- <line num="245" count="0" type="stmt"/>
927
- <line num="247" count="0" type="stmt"/>
928
- <line num="256" count="0" type="stmt"/>
929
- <line num="257" count="0" type="stmt"/>
930
- <line num="258" count="0" type="cond" truecount="0" falsecount="1"/>
931
- <line num="259" count="0" type="stmt"/>
932
- <line num="269" count="6" type="stmt"/>
933
- <line num="270" count="6" type="stmt"/>
934
- <line num="273" count="6" type="stmt"/>
935
- <line num="275" count="6" type="cond" truecount="2" falsecount="0"/>
936
- <line num="276" count="2" type="stmt"/>
937
- <line num="278" count="4" type="cond" truecount="4" falsecount="0"/>
938
- <line num="279" count="1" type="stmt"/>
939
- <line num="280" count="3" type="cond" truecount="2" falsecount="0"/>
940
- <line num="281" count="2" type="stmt"/>
941
- <line num="283" count="1" type="stmt"/>
942
- <line num="286" count="6" type="cond" truecount="0" falsecount="1"/>
943
- <line num="288" count="6" type="stmt"/>
944
- <line num="289" count="6" type="stmt"/>
945
- <line num="296" count="6" type="cond" truecount="4" falsecount="0"/>
946
- <line num="297" count="1" type="stmt"/>
947
- <line num="300" count="5" type="stmt"/>
948
- <line num="302" count="5" type="stmt"/>
949
- <line num="304" count="5" type="stmt"/>
950
- <line num="306" count="5" type="stmt"/>
951
- <line num="308" count="5" type="stmt"/>
952
- <line num="309" count="5" type="cond" truecount="1" falsecount="0"/>
953
- <line num="310" count="3" type="stmt"/>
954
- <line num="313" count="5" type="stmt"/>
955
- <line num="315" count="5" type="cond" truecount="1" falsecount="0"/>
956
- <line num="316" count="2" type="stmt"/>
957
- <line num="319" count="5" type="stmt"/>
958
- <line num="321" count="5" type="stmt"/>
959
- <line num="330" count="4" type="cond" truecount="0" falsecount="1"/>
960
- <line num="332" count="4" type="stmt"/>
961
- <line num="334" count="4" type="cond" truecount="0" falsecount="1"/>
962
- <line num="336" count="4" type="stmt"/>
963
- <line num="338" count="4" type="cond" truecount="3" falsecount="0"/>
964
- <line num="340" count="3" type="stmt"/>
965
- <line num="342" count="3" type="cond" truecount="2" falsecount="1"/>
966
- <line num="344" count="3" type="stmt"/>
967
- <line num="345" count="3" type="stmt"/>
968
- <line num="346" count="3" type="stmt"/>
969
- <line num="348" count="3" type="cond" truecount="2" falsecount="0"/>
970
- <line num="349" count="1" type="stmt"/>
971
- <line num="351" count="1" type="cond" truecount="1" falsecount="1"/>
972
- <line num="352" count="1" type="stmt"/>
973
- <line num="353" count="1" type="stmt"/>
974
- <line num="355" count="0" type="stmt"/>
975
- <line num="356" count="0" type="stmt"/>
976
- <line num="357" count="0" type="stmt"/>
977
- <line num="358" count="0" type="stmt"/>
978
- <line num="359" count="0" type="stmt"/>
979
- <line num="360" count="0" type="stmt"/>
980
- <line num="361" count="0" type="stmt"/>
981
- <line num="363" count="0" type="stmt"/>
982
- <line num="365" count="0" type="stmt"/>
983
- <line num="368" count="2" type="stmt"/>
984
- <line num="369" count="2" type="stmt"/>
985
- <line num="372" count="3" type="stmt"/>
986
- <line num="373" count="3" type="stmt"/>
987
- <line num="375" count="3" type="stmt"/>
988
- <line num="377" count="3" type="stmt"/>
989
- <line num="386" count="11" type="cond" truecount="1" falsecount="0"/>
990
- <line num="388" count="10" type="stmt"/>
991
- <line num="390" count="10" type="cond" truecount="1" falsecount="0"/>
992
- <line num="392" count="9" type="stmt"/>
993
- <line num="394" count="9" type="stmt"/>
994
- <line num="396" count="9" type="stmt"/>
995
- <line num="397" count="47" type="cond" truecount="1" falsecount="0"/>
996
- <line num="398" count="3" type="stmt"/>
997
- <line num="402" count="9" type="cond" truecount="1" falsecount="0"/>
998
- <line num="404" count="8" type="cond" truecount="0" falsecount="1"/>
999
- <line num="405" count="0" type="stmt"/>
1000
- <line num="406" count="0" type="stmt"/>
1001
- <line num="409" count="8" type="stmt"/>
1002
- <line num="410" count="8" type="cond" truecount="0" falsecount="1"/>
1003
- <line num="412" count="8" type="stmt"/>
1004
- <line num="413" count="8" type="stmt"/>
1005
- <line num="415" count="8" type="cond" truecount="3" falsecount="1"/>
1006
- <line num="417" count="8" type="stmt"/>
1007
- <line num="418" count="8" type="stmt"/>
1008
- <line num="419" count="8" type="cond" truecount="1" falsecount="0"/>
1009
- <line num="420" count="1" type="stmt"/>
1010
- <line num="423" count="8" type="stmt"/>
1011
- <line num="425" count="8" type="cond" truecount="1" falsecount="0"/>
1012
- <line num="426" count="4" type="stmt"/>
1013
- <line num="429" count="8" type="stmt"/>
1014
- <line num="431" count="8" type="cond" truecount="1" falsecount="0"/>
1015
- <line num="432" count="4" type="stmt"/>
1016
- <line num="435" count="8" type="stmt"/>
1017
- <line num="436" count="8" type="stmt"/>
1018
- <line num="438" count="8" type="stmt"/>
1019
- <line num="440" count="8" type="stmt"/>
1020
- <line num="450" count="1" type="stmt"/>
1021
- <line num="451" count="1" type="stmt"/>
1022
- <line num="452" count="1" type="stmt"/>
1023
- <line num="454" count="1" type="cond" truecount="0" falsecount="1"/>
1024
- <line num="455" count="2" type="stmt"/>
1025
- <line num="457" count="1" type="stmt"/>
1026
- <line num="459" count="1" type="stmt"/>
1027
- <line num="460" count="1" type="stmt"/>
1028
- <line num="462" count="1" type="stmt"/>
1029
- <line num="464" count="1" type="stmt"/>
1030
- <line num="465" count="1" type="stmt"/>
1031
- <line num="474" count="1" type="stmt"/>
1032
- <line num="483" count="2" type="stmt"/>
1033
- <line num="485" count="2" type="stmt"/>
1034
- <line num="486" count="2" type="cond" truecount="1" falsecount="0"/>
1035
- <line num="487" count="1" type="stmt"/>
1036
- <line num="490" count="1" type="stmt"/>
1037
- <line num="492" count="1" type="stmt"/>
1038
- <line num="494" count="0" type="stmt"/>
1039
- <line num="495" count="0" type="stmt"/>
1040
- <line num="498" count="1" type="stmt"/>
1041
- <line num="499" count="1" type="cond" truecount="1" falsecount="0"/>
1042
- <line num="500" count="1" type="stmt"/>
1043
- <line num="506" count="1" type="cond" truecount="0" falsecount="1"/>
1044
- <line num="507" count="0" type="stmt"/>
1045
- <line num="510" count="1" type="stmt"/>
1046
- <line num="519" count="1" type="stmt"/>
1047
- <line num="520" count="1" type="stmt"/>
1048
- <line num="521" count="1" type="stmt"/>
1049
- <line num="522" count="1" type="cond" truecount="0" falsecount="1"/>
1050
- <line num="523" count="0" type="stmt"/>
1051
- <line num="526" count="1" type="cond" truecount="0" falsecount="1"/>
1052
- <line num="528" count="1" type="stmt"/>
1053
- <line num="529" count="1" type="stmt"/>
1054
- <line num="531" count="1" type="cond" truecount="1" falsecount="1"/>
1055
- <line num="532" count="0" type="stmt"/>
1056
- <line num="533" count="0" type="stmt"/>
1057
- <line num="534" count="0" type="cond" truecount="0" falsecount="3"/>
1058
- <line num="535" count="0" type="stmt"/>
1059
- <line num="537" count="1" type="cond" truecount="4" falsecount="0"/>
1060
- <line num="538" count="1" type="stmt"/>
1061
- <line num="541" count="1" type="stmt"/>
1062
- <line num="542" count="1" type="stmt"/>
1063
- <line num="543" count="1" type="stmt"/>
1064
- <line num="544" count="1" type="stmt"/>
1065
- <line num="546" count="1" type="stmt"/>
1066
- <line num="554" count="1" type="stmt"/>
1067
- <line num="555" count="1" type="stmt"/>
1068
- <line num="556" count="1" type="cond" truecount="1" falsecount="1"/>
1069
- <line num="557" count="1" type="stmt"/>
1070
- <line num="559" count="1" type="cond" truecount="1" falsecount="1"/>
1071
- <line num="560" count="0" type="stmt"/>
1072
- <line num="561" count="1" type="cond" truecount="1" falsecount="1"/>
1073
- <line num="562" count="0" type="stmt"/>
1074
- <line num="564" count="1" type="stmt"/>
1075
- <line num="567" count="1" type="stmt"/>
1076
- <line num="575" count="1" type="stmt"/>
1077
- <line num="576" count="1" type="stmt"/>
1078
- <line num="577" count="1" type="stmt"/>
1079
- <line num="585" count="1" type="stmt"/>
1080
- <line num="586" count="1" type="stmt"/>
1081
- <line num="587" count="1" type="stmt"/>
1082
- <line num="591" count="0" type="stmt"/>
1083
- <line num="592" count="0" type="cond" truecount="0" falsecount="3"/>
1084
- <line num="594" count="0" type="stmt"/>
1085
- <line num="595" count="0" type="cond" truecount="0" falsecount="3"/>
1086
- <line num="597" count="0" type="cond" truecount="0" falsecount="3"/>
1087
- <line num="598" count="0" type="cond" truecount="0" falsecount="3"/>
1088
- <line num="600" count="0" type="stmt"/>
1089
- <line num="611" count="0" type="stmt"/>
1090
- <line num="612" count="0" type="stmt"/>
1091
- <line num="613" count="0" type="stmt"/>
1092
- <line num="614" count="0" type="stmt"/>
1093
- <line num="615" count="0" type="stmt"/>
1094
- <line num="619" count="0" type="stmt"/>
1095
- <line num="623" count="18" type="cond" truecount="1" falsecount="0"/>
1096
- <line num="624" count="16" type="stmt"/>
1097
- <line num="629" count="16" type="stmt"/>
1098
- <line num="630" count="16" type="cond" truecount="1" falsecount="0"/>
1099
- <line num="631" count="14" type="stmt"/>
1100
- <line num="637" count="16" type="stmt"/>
1101
- <line num="641" count="2" type="cond" truecount="0" falsecount="1"/>
1102
- <line num="643" count="2" type="stmt"/>
1103
- <line num="644" count="2" type="stmt"/>
1104
- <line num="645" count="2" type="stmt"/>
1105
- <line num="646" count="2" type="stmt"/>
1106
- <line num="647" count="0" type="cond" truecount="0" falsecount="1"/>
1107
- <line num="648" count="0" type="stmt"/>
1108
- <line num="649" count="0" type="stmt"/>
1109
- <line num="654" count="9" type="stmt"/>
1110
- <line num="656" count="9" type="cond" truecount="3" falsecount="0"/>
1111
- <line num="657" count="2" type="cond" truecount="4" falsecount="0"/>
1112
- <line num="658" count="1" type="stmt"/>
1113
- <line num="659" count="1" type="cond" truecount="3" falsecount="0"/>
1114
- <line num="660" count="1" type="stmt"/>
1115
- <line num="664" count="9" type="stmt"/>
1116
- <line num="669" count="26" type="cond" truecount="4" falsecount="0"/>
1117
- <line num="670" count="15" type="stmt"/>
1118
- <line num="672" count="11" type="stmt"/>
1119
- <line num="674" count="26" type="cond" truecount="1" falsecount="0"/>
1120
- <line num="675" count="1" type="stmt"/>
1121
- <line num="678" count="25" type="stmt"/>
1122
- <line num="679" count="25" type="cond" truecount="1" falsecount="0"/>
1123
- <line num="681" count="24" type="cond" truecount="0" falsecount="1"/>
1124
- <line num="682" count="0" type="stmt"/>
1125
- <line num="684" count="24" type="stmt"/>
1126
- <line num="694" count="5" type="stmt"/>
1127
- </file>
1128
- <file name="events.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/events.ts">
1129
- <metrics statements="24" coveredstatements="20" conditionals="10" coveredconditionals="4" methods="12" coveredmethods="10"/>
1130
- <line num="19" count="6" type="stmt"/>
1131
- <line num="20" count="6" type="stmt"/>
1132
- <line num="22" count="6" type="stmt"/>
1133
- <line num="23" count="6" type="stmt"/>
1134
- <line num="27" count="6" type="stmt"/>
1135
- <line num="29" count="6" type="stmt"/>
1136
- <line num="30" count="6" type="stmt"/>
1137
- <line num="34" count="6" type="stmt"/>
1138
- <line num="38" count="1" type="stmt"/>
1139
- <line num="39" count="1" type="stmt"/>
1140
- <line num="40" count="2" type="stmt"/>
1141
- <line num="41" count="2" type="cond" truecount="0" falsecount="1"/>
1142
- <line num="42" count="0" type="stmt"/>
1143
- <line num="44" count="2" type="cond" truecount="0" falsecount="1"/>
1144
- <line num="45" count="0" type="stmt"/>
1145
- <line num="52" count="1" type="stmt"/>
1146
- <line num="53" count="0" type="cond" truecount="0" falsecount="2"/>
1147
- <line num="58" count="1" type="stmt"/>
1148
- <line num="62" count="4" type="cond" truecount="2" falsecount="0"/>
1149
- <line num="66" count="1" type="stmt"/>
1150
- <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
1151
- <line num="72" count="1" type="stmt"/>
1152
- <line num="76" count="4" type="cond" truecount="2" falsecount="0"/>
1153
- <line num="82" count="6" type="stmt"/>
1154
- </file>
1155
- <file name="history.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/history.ts">
1156
- <metrics statements="44" coveredstatements="34" conditionals="10" coveredconditionals="5" methods="10" coveredmethods="7"/>
1157
- <line num="19" count="5" type="stmt"/>
1158
- <line num="23" count="5" type="stmt"/>
1159
- <line num="25" count="5" type="stmt"/>
1160
- <line num="41" count="5" type="stmt"/>
1161
- <line num="49" count="5" type="stmt"/>
1162
- <line num="51" count="5" type="stmt"/>
1163
- <line num="55" count="0" type="stmt"/>
1164
- <line num="56" count="0" type="stmt"/>
1165
- <line num="57" count="0" type="stmt"/>
1166
- <line num="58" count="0" type="stmt"/>
1167
- <line num="62" count="24" type="cond" truecount="0" falsecount="1"/>
1168
- <line num="64" count="24" type="stmt"/>
1169
- <line num="66" count="24" type="cond" truecount="1" falsecount="0"/>
1170
- <line num="67" count="3" type="stmt"/>
1171
- <line num="69" count="3" type="stmt"/>
1172
- <line num="75" count="3" type="stmt"/>
1173
- <line num="78" count="24" type="stmt"/>
1174
- <line num="82" count="0" type="stmt"/>
1175
- <line num="83" count="0" type="stmt"/>
1176
- <line num="84" count="0" type="stmt"/>
1177
- <line num="85" count="0" type="stmt"/>
1178
- <line num="89" count="14" type="stmt"/>
1179
- <line num="90" count="14" type="cond" truecount="0" falsecount="1"/>
1180
- <line num="91" count="14" type="stmt"/>
1181
- <line num="92" count="14" type="stmt"/>
1182
- <line num="93" count="14" type="stmt"/>
1183
- <line num="97" count="1" type="stmt"/>
1184
- <line num="98" count="1" type="cond" truecount="0" falsecount="1"/>
1185
- <line num="99" count="1" type="stmt"/>
1186
- <line num="100" count="1" type="stmt"/>
1187
- <line num="101" count="1" type="stmt"/>
1188
- <line num="105" count="1" type="stmt"/>
1189
- <line num="106" count="1" type="cond" truecount="0" falsecount="1"/>
1190
- <line num="107" count="1" type="stmt"/>
1191
- <line num="108" count="1" type="stmt"/>
1192
- <line num="109" count="1" type="stmt"/>
1193
- <line num="113" count="0" type="stmt"/>
1194
- <line num="114" count="0" type="stmt"/>
1195
- <line num="118" count="56" type="cond" truecount="0" falsecount="1"/>
1196
- <line num="119" count="56" type="stmt"/>
1197
- <line num="123" count="40" type="stmt"/>
1198
- <line num="124" count="40" type="cond" truecount="2" falsecount="0"/>
1199
- <line num="125" count="40" type="cond" truecount="2" falsecount="0"/>
1200
- <line num="131" count="5" type="stmt"/>
1201
- </file>
1202
- <file name="props.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/props.ts">
1203
- <metrics statements="26" coveredstatements="13" conditionals="10" coveredconditionals="2" methods="9" coveredmethods="4"/>
1204
- <line num="19" count="5" type="stmt"/>
1205
- <line num="20" count="5" type="stmt"/>
1206
- <line num="24" count="5" type="stmt"/>
1207
- <line num="27" count="5" type="stmt"/>
1208
- <line num="29" count="5" type="stmt"/>
1209
- <line num="32" count="5" type="stmt"/>
1210
- <line num="38" count="5" type="stmt"/>
1211
- <line num="42" count="1" type="stmt"/>
1212
- <line num="43" count="0" type="stmt"/>
1213
- <line num="45" count="1" type="stmt"/>
1214
- <line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
1215
- <line num="63" count="0" type="cond" truecount="0" falsecount="1"/>
1216
- <line num="64" count="0" type="stmt"/>
1217
- <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
1218
- <line num="71" count="1" type="stmt"/>
1219
- <line num="72" count="0" type="stmt"/>
1220
- <line num="82" count="0" type="stmt"/>
1221
- <line num="91" count="6" type="cond" truecount="0" falsecount="1"/>
1222
- <line num="92" count="0" type="stmt"/>
1223
- <line num="93" count="0" type="stmt"/>
1224
- <line num="94" count="0" type="stmt"/>
1225
- <line num="95" count="0" type="cond" truecount="0" falsecount="1"/>
1226
- <line num="96" count="0" type="stmt"/>
1227
- <line num="98" count="0" type="stmt"/>
1228
- <line num="101" count="6" type="stmt"/>
1229
- <line num="110" count="5" type="stmt"/>
1230
- </file>
1231
- <file name="ui.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/ui.ts">
1232
- <metrics statements="58" coveredstatements="23" conditionals="28" coveredconditionals="0" methods="8" coveredmethods="4"/>
1233
- <line num="19" count="3" type="stmt"/>
1234
- <line num="23" count="3" type="stmt"/>
1235
- <line num="26" count="3" type="stmt"/>
1236
- <line num="28" count="3" type="stmt"/>
1237
- <line num="29" count="3" type="stmt"/>
1238
- <line num="31" count="3" type="stmt"/>
1239
- <line num="33" count="3" type="stmt"/>
1240
- <line num="39" count="3" type="stmt"/>
1241
- <line num="59" count="3" type="stmt"/>
1242
- <line num="60" count="3" type="stmt"/>
1243
- <line num="61" count="0" type="stmt"/>
1244
- <line num="66" count="3" type="stmt"/>
1245
- <line num="67" count="3" type="cond" truecount="0" falsecount="1"/>
1246
- <line num="68" count="0" type="stmt"/>
1247
- <line num="69" count="0" type="stmt"/>
1248
- <line num="70" count="0" type="stmt"/>
1249
- <line num="72" count="0" type="stmt"/>
1250
- <line num="78" count="5" type="stmt"/>
1251
- <line num="80" count="5" type="cond" truecount="0" falsecount="1"/>
1252
- <line num="81" count="0" type="stmt"/>
1253
- <line num="82" count="0" type="stmt"/>
1254
- <line num="85" count="5" type="cond" truecount="0" falsecount="1"/>
1255
- <line num="86" count="0" type="stmt"/>
1256
- <line num="87" count="0" type="stmt"/>
1257
- <line num="90" count="5" type="cond" truecount="0" falsecount="1"/>
1258
- <line num="91" count="0" type="stmt"/>
1259
- <line num="94" count="5" type="cond" truecount="0" falsecount="1"/>
1260
- <line num="95" count="0" type="stmt"/>
1261
- <line num="98" count="5" type="stmt"/>
1262
- <line num="100" count="5" type="cond" truecount="0" falsecount="1"/>
1263
- <line num="101" count="0" type="stmt"/>
1264
- <line num="106" count="14" type="stmt"/>
1265
- <line num="110" count="2" type="stmt"/>
1266
- <line num="111" count="2" type="cond" truecount="0" falsecount="1"/>
1267
- <line num="115" count="0" type="stmt"/>
1268
- <line num="119" count="0" type="cond" truecount="0" falsecount="1"/>
1269
- <line num="120" count="0" type="stmt"/>
1270
- <line num="123" count="0" type="cond" truecount="0" falsecount="1"/>
1271
- <line num="124" count="0" type="stmt"/>
1272
- <line num="127" count="0" type="cond" truecount="0" falsecount="4"/>
1273
- <line num="128" count="0" type="stmt"/>
1274
- <line num="129" count="0" type="cond" truecount="0" falsecount="4"/>
1275
- <line num="130" count="0" type="cond" truecount="0" falsecount="1"/>
1276
- <line num="131" count="0" type="stmt"/>
1277
- <line num="132" count="0" type="stmt"/>
1278
- <line num="133" count="0" type="stmt"/>
1279
- <line num="136" count="0" type="stmt"/>
1280
- <line num="139" count="0" type="stmt"/>
1281
- <line num="141" count="0" type="stmt"/>
1282
- <line num="145" count="0" type="stmt"/>
1283
- <line num="149" count="0" type="stmt"/>
1284
- <line num="153" count="0" type="stmt"/>
1285
- <line num="154" count="0" type="stmt"/>
1286
- <line num="155" count="0" type="cond" truecount="0" falsecount="3"/>
1287
- <line num="156" count="0" type="cond" truecount="0" falsecount="3"/>
1288
- <line num="157" count="0" type="stmt"/>
1289
- <line num="159" count="0" type="cond" truecount="0" falsecount="4"/>
1290
- <line num="165" count="3" type="stmt"/>
1291
- </file>
1292
- </package>
1293
- <package name="src.utils">
1294
- <metrics statements="294" coveredstatements="164" conditionals="107" coveredconditionals="46" methods="65" coveredmethods="36"/>
1295
- <file name="compose.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/compose.ts">
1296
- <metrics statements="15" coveredstatements="13" conditionals="7" coveredconditionals="3" methods="3" coveredmethods="3"/>
1297
- <line num="5" count="6" type="stmt"/>
1298
- <line num="6" count="90" type="cond" truecount="0" falsecount="1"/>
1299
- <line num="7" count="90" type="stmt"/>
1300
- <line num="8" count="0" type="cond" truecount="0" falsecount="1"/>
1301
- <line num="16" count="90" type="stmt"/>
1302
- <line num="18" count="85" type="stmt"/>
1303
- <line num="19" count="85" type="stmt"/>
1304
- <line num="21" count="85" type="cond" truecount="0" falsecount="1"/>
1305
- <line num="22" count="85" type="stmt"/>
1306
- <line num="23" count="85" type="stmt"/>
1307
- <line num="24" count="85" type="cond" truecount="3" falsecount="0"/>
1308
- <line num="25" count="85" type="cond" truecount="0" falsecount="1"/>
1309
- <line num="26" count="85" type="stmt"/>
1310
- <line num="27" count="85" type="stmt"/>
1311
- <line num="29" count="0" type="stmt"/>
1312
- </file>
1313
- <file name="config.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/config.ts">
1314
- <metrics statements="5" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="0"/>
1315
- <line num="21" count="2" type="stmt"/>
1316
- <line num="23" count="2" type="stmt"/>
1317
- <line num="24" count="0" type="stmt"/>
1318
- <line num="27" count="2" type="stmt"/>
1319
- <line num="29" count="2" type="stmt"/>
1320
- </file>
1321
- <file name="editor.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/editor.ts">
1322
- <metrics statements="98" coveredstatements="75" conditionals="59" coveredconditionals="36" methods="23" coveredmethods="22"/>
1323
- <line num="19" count="8" type="stmt"/>
1324
- <line num="22" count="8" type="stmt"/>
1325
- <line num="24" count="8" type="stmt"/>
1326
- <line num="26" count="8" type="stmt"/>
1327
- <line num="28" count="8" type="stmt"/>
1328
- <line num="30" count="15" type="stmt"/>
1329
- <line num="37" count="8" type="stmt"/>
1330
- <line num="38" count="2" type="cond" truecount="3" falsecount="0"/>
1331
- <line num="39" count="2" type="stmt"/>
1332
- <line num="41" count="0" type="stmt"/>
1333
- <line num="49" count="8" type="cond" truecount="1" falsecount="1"/>
1334
- <line num="56" count="8" type="stmt"/>
1335
- <line num="57" count="2" type="stmt"/>
1336
- <line num="59" count="2" type="cond" truecount="0" falsecount="1"/>
1337
- <line num="61" count="2" type="stmt"/>
1338
- <line num="62" count="2" type="stmt"/>
1339
- <line num="63" count="1" type="stmt"/>
1340
- <line num="64" count="1" type="stmt"/>
1341
- <line num="67" count="2" type="stmt"/>
1342
- <line num="75" count="8" type="stmt"/>
1343
- <line num="83" count="8" type="stmt"/>
1344
- <line num="84" count="1" type="stmt"/>
1345
- <line num="85" count="2" type="cond" truecount="1" falsecount="0"/>
1346
- <line num="86" count="1" type="stmt"/>
1347
- <line num="87" count="1" type="stmt"/>
1348
- <line num="90" count="1" type="cond" truecount="0" falsecount="1"/>
1349
- <line num="91" count="0" type="stmt"/>
1350
- <line num="92" count="0" type="stmt"/>
1351
- <line num="95" count="1" type="cond" truecount="0" falsecount="1"/>
1352
- <line num="96" count="0" type="stmt"/>
1353
- <line num="106" count="8" type="stmt"/>
1354
- <line num="107" count="7" type="stmt"/>
1355
- <line num="109" count="7" type="cond" truecount="1" falsecount="1"/>
1356
- <line num="110" count="7" type="stmt"/>
1357
- <line num="113" count="7" type="cond" truecount="3" falsecount="0"/>
1358
- <line num="114" count="1" type="stmt"/>
1359
- <line num="117" count="7" type="cond" truecount="3" falsecount="0"/>
1360
- <line num="118" count="3" type="stmt"/>
1361
- <line num="126" count="15" type="stmt"/>
1362
- <line num="128" count="8" type="stmt"/>
1363
- <line num="129" count="13" type="cond" truecount="1" falsecount="1"/>
1364
- <line num="130" count="14" type="stmt"/>
1365
- <line num="133" count="8" type="stmt"/>
1366
- <line num="134" count="4" type="stmt"/>
1367
- <line num="140" count="4" type="stmt"/>
1368
- <line num="143" count="8" type="stmt"/>
1369
- <line num="144" count="3" type="cond" truecount="1" falsecount="1"/>
1370
- <line num="145" count="3" type="cond" truecount="2" falsecount="0"/>
1371
- <line num="147" count="3" type="cond" truecount="2" falsecount="2"/>
1372
- <line num="149" count="0" type="cond" truecount="0" falsecount="1"/>
1373
- <line num="150" count="0" type="stmt"/>
1374
- <line num="153" count="0" type="stmt"/>
1375
- <line num="155" count="0" type="cond" truecount="0" falsecount="2"/>
1376
- <line num="156" count="0" type="cond" truecount="0" falsecount="1"/>
1377
- <line num="157" count="0" type="stmt"/>
1378
- <line num="159" count="0" type="stmt"/>
1379
- <line num="162" count="0" type="stmt"/>
1380
- <line num="165" count="8" type="stmt"/>
1381
- <line num="166" count="6" type="cond" truecount="1" falsecount="0"/>
1382
- <line num="167" count="3" type="stmt"/>
1383
- <line num="171" count="3" type="stmt"/>
1384
- <line num="174" count="3" type="cond" truecount="1" falsecount="0"/>
1385
- <line num="175" count="3" type="stmt"/>
1386
- <line num="178" count="0" type="stmt"/>
1387
- <line num="181" count="8" type="stmt"/>
1388
- <line num="182" count="1" type="stmt"/>
1389
- <line num="183" count="0" type="cond" truecount="0" falsecount="1"/>
1390
- <line num="185" count="0" type="cond" truecount="0" falsecount="2"/>
1391
- <line num="188" count="0" type="cond" truecount="0" falsecount="1"/>
1392
- <line num="190" count="0" type="cond" truecount="0" falsecount="2"/>
1393
- <line num="191" count="0" type="stmt"/>
1394
- <line num="193" count="0" type="stmt"/>
1395
- <line num="194" count="0" type="stmt"/>
1396
- <line num="195" count="0" type="stmt"/>
1397
- <line num="198" count="1" type="stmt"/>
1398
- <line num="201" count="8" type="stmt"/>
1399
- <line num="202" count="1" type="stmt"/>
1400
- <line num="203" count="1" type="stmt"/>
1401
- <line num="208" count="1" type="stmt"/>
1402
- <line num="209" count="2" type="cond" truecount="2" falsecount="0"/>
1403
- <line num="210" count="2" type="cond" truecount="2" falsecount="0"/>
1404
- <line num="213" count="1" type="stmt"/>
1405
- <line num="217" count="1" type="stmt"/>
1406
- <line num="220" count="8" type="stmt"/>
1407
- <line num="225" count="1" type="stmt"/>
1408
- <line num="226" count="1" type="stmt"/>
1409
- <line num="227" count="1" type="stmt"/>
1410
- <line num="234" count="1" type="stmt"/>
1411
- <line num="235" count="1" type="cond" truecount="2" falsecount="0"/>
1412
- <line num="236" count="1" type="cond" truecount="2" falsecount="0"/>
1413
- <line num="239" count="1" type="stmt"/>
1414
- <line num="240" count="1" type="cond" truecount="0" falsecount="1"/>
1415
- <line num="241" count="0" type="stmt"/>
1416
- <line num="244" count="1" type="stmt"/>
1417
- <line num="245" count="1" type="cond" truecount="1" falsecount="0"/>
1418
- <line num="246" count="1" type="stmt"/>
1419
- <line num="251" count="1" type="stmt"/>
1420
- <line num="254" count="0" type="stmt"/>
1421
- </file>
1422
- <file name="index.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/index.ts">
1423
- <metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
1424
- <line num="19" count="2" type="stmt"/>
1425
- <line num="20" count="2" type="stmt"/>
1426
- <line num="21" count="2" type="stmt"/>
1427
- <line num="22" count="2" type="stmt"/>
1428
- </file>
1429
- <file name="logger.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/logger.ts">
1430
- <metrics statements="15" coveredstatements="6" conditionals="5" coveredconditionals="0" methods="5" coveredmethods="1"/>
1431
- <line num="19" count="3" type="stmt"/>
1432
- <line num="20" count="102" type="cond" truecount="0" falsecount="1"/>
1433
- <line num="21" count="0" type="stmt"/>
1434
- <line num="25" count="3" type="stmt"/>
1435
- <line num="26" count="0" type="cond" truecount="0" falsecount="1"/>
1436
- <line num="27" count="0" type="stmt"/>
1437
- <line num="31" count="3" type="stmt"/>
1438
- <line num="32" count="0" type="cond" truecount="0" falsecount="1"/>
1439
- <line num="33" count="0" type="stmt"/>
1440
- <line num="37" count="3" type="stmt"/>
1441
- <line num="38" count="0" type="cond" truecount="0" falsecount="1"/>
1442
- <line num="39" count="0" type="stmt"/>
1443
- <line num="43" count="3" type="stmt"/>
1444
- <line num="44" count="0" type="cond" truecount="0" falsecount="1"/>
1445
- <line num="45" count="0" type="stmt"/>
1446
- </file>
1447
- <file name="props.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/props.ts">
1448
- <metrics statements="12" coveredstatements="6" conditionals="6" coveredconditionals="1" methods="8" coveredmethods="2"/>
1449
- <line num="21" count="5" type="stmt"/>
1450
- <line num="22" count="5" type="stmt"/>
1451
- <line num="23" count="5" type="stmt"/>
1452
- <line num="30" count="7" type="cond" truecount="1" falsecount="0"/>
1453
- <line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
1454
- <line num="94" count="0" type="cond" truecount="0" falsecount="2"/>
1455
- <line num="180" count="0" type="stmt"/>
1456
- <line num="195" count="0" type="stmt"/>
1457
- <line num="196" count="0" type="cond" truecount="0" falsecount="1"/>
1458
- <line num="198" count="0" type="stmt"/>
1459
- <line num="225" count="5" type="stmt"/>
1460
- <line num="232" count="7" type="stmt"/>
1461
- </file>
1462
- <file name="scroll-viewer.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/scroll-viewer.ts">
1463
- <metrics statements="121" coveredstatements="32" conditionals="23" coveredconditionals="0" methods="17" coveredmethods="1"/>
1464
- <line num="1" count="2" type="stmt"/>
1465
- <line num="9" count="2" type="stmt"/>
1466
- <line num="10" count="2" type="stmt"/>
1467
- <line num="11" count="2" type="stmt"/>
1468
- <line num="12" count="2" type="stmt"/>
1469
- <line num="15" count="2" type="stmt"/>
1470
- <line num="17" count="2" type="stmt"/>
1471
- <line num="18" count="2" type="stmt"/>
1472
- <line num="20" count="2" type="stmt"/>
1473
- <line num="21" count="2" type="stmt"/>
1474
- <line num="23" count="2" type="stmt"/>
1475
- <line num="24" count="0" type="stmt"/>
1476
- <line num="25" count="0" type="stmt"/>
1477
- <line num="26" count="0" type="stmt"/>
1478
- <line num="27" count="0" type="stmt"/>
1479
- <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
1480
- <line num="29" count="0" type="stmt"/>
1481
- <line num="31" count="0" type="cond" truecount="0" falsecount="1"/>
1482
- <line num="32" count="0" type="stmt"/>
1483
- <line num="34" count="0" type="cond" truecount="0" falsecount="1"/>
1484
- <line num="35" count="0" type="stmt"/>
1485
- <line num="38" count="0" type="stmt"/>
1486
- <line num="43" count="2" type="stmt"/>
1487
- <line num="44" count="2" type="stmt"/>
1488
- <line num="45" count="2" type="stmt"/>
1489
- <line num="47" count="2" type="stmt"/>
1490
- <line num="48" count="2" type="stmt"/>
1491
- <line num="50" count="2" type="stmt"/>
1492
- <line num="51" count="2" type="stmt"/>
1493
- <line num="52" count="2" type="stmt"/>
1494
- <line num="53" count="2" type="stmt"/>
1495
- <line num="55" count="2" type="stmt"/>
1496
- <line num="57" count="2" type="stmt"/>
1497
- <line num="61" count="0" type="stmt"/>
1498
- <line num="63" count="0" type="stmt"/>
1499
- <line num="64" count="0" type="stmt"/>
1500
- <line num="65" count="0" type="stmt"/>
1501
- <line num="66" count="0" type="stmt"/>
1502
- <line num="67" count="0" type="stmt"/>
1503
- <line num="68" count="0" type="stmt"/>
1504
- <line num="72" count="0" type="stmt"/>
1505
- <line num="76" count="0" type="stmt"/>
1506
- <line num="77" count="0" type="stmt"/>
1507
- <line num="79" count="0" type="stmt"/>
1508
- <line num="83" count="0" type="stmt"/>
1509
- <line num="84" count="0" type="stmt"/>
1510
- <line num="85" count="0" type="stmt"/>
1511
- <line num="86" count="0" type="stmt"/>
1512
- <line num="89" count="2" type="stmt"/>
1513
- <line num="90" count="0" type="cond" truecount="0" falsecount="1"/>
1514
- <line num="92" count="0" type="stmt"/>
1515
- <line num="94" count="0" type="cond" truecount="0" falsecount="1"/>
1516
- <line num="96" count="0" type="stmt"/>
1517
- <line num="97" count="0" type="stmt"/>
1518
- <line num="98" count="0" type="stmt"/>
1519
- <line num="99" count="0" type="stmt"/>
1520
- <line num="102" count="2" type="stmt"/>
1521
- <line num="103" count="0" type="stmt"/>
1522
- <line num="106" count="2" type="stmt"/>
1523
- <line num="107" count="0" type="stmt"/>
1524
- <line num="110" count="2" type="stmt"/>
1525
- <line num="111" count="0" type="stmt"/>
1526
- <line num="114" count="2" type="stmt"/>
1527
- <line num="115" count="0" type="stmt"/>
1528
- <line num="118" count="2" type="stmt"/>
1529
- <line num="119" count="0" type="cond" truecount="0" falsecount="1"/>
1530
- <line num="121" count="0" type="stmt"/>
1531
- <line num="122" count="0" type="stmt"/>
1532
- <line num="124" count="0" type="stmt"/>
1533
- <line num="126" count="0" type="stmt"/>
1534
- <line num="127" count="0" type="stmt"/>
1535
- <line num="129" count="0" type="stmt"/>
1536
- <line num="130" count="0" type="stmt"/>
1537
- <line num="133" count="2" type="stmt"/>
1538
- <line num="134" count="0" type="stmt"/>
1539
- <line num="135" count="0" type="stmt"/>
1540
- <line num="137" count="0" type="stmt"/>
1541
- <line num="138" count="0" type="stmt"/>
1542
- <line num="139" count="0" type="stmt"/>
1543
- <line num="142" count="2" type="stmt"/>
1544
- <line num="143" count="0" type="stmt"/>
1545
- <line num="144" count="0" type="stmt"/>
1546
- <line num="146" count="0" type="stmt"/>
1547
- <line num="147" count="0" type="stmt"/>
1548
- <line num="149" count="0" type="stmt"/>
1549
- <line num="150" count="0" type="stmt"/>
1550
- <line num="153" count="2" type="stmt"/>
1551
- <line num="154" count="0" type="cond" truecount="0" falsecount="3"/>
1552
- <line num="155" count="0" type="stmt"/>
1553
- <line num="156" count="0" type="stmt"/>
1554
- <line num="157" count="0" type="stmt"/>
1555
- <line num="160" count="0" type="cond" truecount="0" falsecount="4"/>
1556
- <line num="161" count="0" type="stmt"/>
1557
- <line num="164" count="0" type="stmt"/>
1558
- <line num="166" count="0" type="stmt"/>
1559
- <line num="167" count="0" type="stmt"/>
1560
- <line num="170" count="2" type="stmt"/>
1561
- <line num="171" count="0" type="cond" truecount="0" falsecount="3"/>
1562
- <line num="172" count="0" type="stmt"/>
1563
- <line num="175" count="0" type="stmt"/>
1564
- <line num="176" count="0" type="stmt"/>
1565
- <line num="177" count="0" type="stmt"/>
1566
- <line num="179" count="0" type="stmt"/>
1567
- <line num="181" count="0" type="stmt"/>
1568
- <line num="183" count="0" type="stmt"/>
1569
- <line num="187" count="0" type="stmt"/>
1570
- <line num="188" count="0" type="stmt"/>
1571
- <line num="190" count="0" type="stmt"/>
1572
- <line num="191" count="0" type="stmt"/>
1573
- <line num="193" count="0" type="stmt"/>
1574
- <line num="195" count="0" type="cond" truecount="0" falsecount="1"/>
1575
- <line num="196" count="0" type="cond" truecount="0" falsecount="2"/>
1576
- <line num="197" count="0" type="stmt"/>
1577
- <line num="199" count="0" type="stmt"/>
1578
- <line num="203" count="0" type="stmt"/>
1579
- <line num="205" count="0" type="cond" truecount="0" falsecount="1"/>
1580
- <line num="206" count="0" type="cond" truecount="0" falsecount="2"/>
1581
- <line num="207" count="0" type="stmt"/>
1582
- <line num="209" count="0" type="stmt"/>
1583
- <line num="213" count="0" type="stmt"/>
1584
- <line num="214" count="0" type="stmt"/>
1585
- </file>
1586
- <file name="undo-redo.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/undo-redo.ts">
1587
- <metrics statements="24" coveredstatements="24" conditionals="7" coveredconditionals="6" methods="7" coveredmethods="7"/>
1588
- <line num="19" count="6" type="stmt"/>
1589
- <line num="21" count="6" type="stmt"/>
1590
- <line num="27" count="14" type="stmt"/>
1591
- <line num="28" count="14" type="stmt"/>
1592
- <line num="29" count="14" type="stmt"/>
1593
- <line num="30" count="14" type="cond" truecount="1" falsecount="1"/>
1594
- <line num="35" count="241" type="stmt"/>
1595
- <line num="36" count="241" type="stmt"/>
1596
- <line num="38" count="241" type="cond" truecount="1" falsecount="0"/>
1597
- <line num="39" count="4" type="stmt"/>
1598
- <line num="40" count="4" type="stmt"/>
1599
- <line num="45" count="152" type="stmt"/>
1600
- <line num="50" count="108" type="cond" truecount="1" falsecount="0"/>
1601
- <line num="51" count="2" type="stmt"/>
1602
- <line num="53" count="106" type="stmt"/>
1603
- <line num="54" count="106" type="stmt"/>
1604
- <line num="58" count="64" type="stmt"/>
1605
- <line num="63" count="13" type="cond" truecount="1" falsecount="0"/>
1606
- <line num="64" count="8" type="stmt"/>
1607
- <line num="66" count="5" type="stmt"/>
1608
- <line num="67" count="5" type="stmt"/>
1609
- <line num="71" count="116" type="cond" truecount="1" falsecount="0"/>
1610
- <line num="72" count="1" type="stmt"/>
1611
- <line num="74" count="115" type="stmt"/>
1612
- </file>
1613
- </package>
1614
- </project>
1615
- </coverage>