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