@tmagic/editor 1.0.0-rc.3 → 1.0.0-rc.6
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.
- package/coverage/clover.xml +505 -446
- package/coverage/coverage-final.json +10 -10
- package/coverage/lcov-report/index.html +60 -60
- package/coverage/lcov-report/src/Editor.vue.html +48 -9
- package/coverage/lcov-report/src/components/ContentMenu.vue.html +143 -44
- package/coverage/lcov-report/src/components/Icon.vue.html +2 -2
- package/coverage/lcov-report/src/components/ScrollViewer.vue.html +1 -1
- package/coverage/lcov-report/src/components/ToolButton.vue.html +25 -25
- package/coverage/lcov-report/src/components/index.html +20 -20
- package/coverage/lcov-report/src/index.html +15 -15
- package/coverage/lcov-report/src/layouts/AddPageBox.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/Framework.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/NavMenu.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/PropsPanel.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/Resizer.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/index.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/ComponentListPanel.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/LayerMenu.vue.html +27 -18
- package/coverage/lcov-report/src/layouts/sidebar/LayerPanel.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/Sidebar.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/sidebar/TabPane.vue.html +2 -2
- package/coverage/lcov-report/src/layouts/sidebar/index.html +19 -19
- package/coverage/lcov-report/src/layouts/workspace/PageBar.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/workspace/Stage.vue.html +1 -1
- package/coverage/lcov-report/src/layouts/workspace/ViewerMenu.vue.html +78 -33
- package/coverage/lcov-report/src/layouts/workspace/Workspace.vue.html +79 -34
- package/coverage/lcov-report/src/layouts/workspace/index.html +28 -28
- package/coverage/lcov-report/src/services/BaseService.ts.html +2 -2
- package/coverage/lcov-report/src/services/componentList.ts.html +1 -1
- package/coverage/lcov-report/src/services/editor.ts.html +102 -12
- package/coverage/lcov-report/src/services/events.ts.html +1 -1
- package/coverage/lcov-report/src/services/history.ts.html +1 -1
- package/coverage/lcov-report/src/services/index.html +15 -15
- package/coverage/lcov-report/src/services/props.ts.html +4 -4
- package/coverage/lcov-report/src/services/ui.ts.html +1 -1
- package/coverage/lcov-report/src/type.ts.html +1 -1
- package/coverage/lcov-report/src/utils/compose.ts.html +1 -1
- package/coverage/lcov-report/src/utils/config.ts.html +1 -1
- package/coverage/lcov-report/src/utils/editor.ts.html +21 -9
- package/coverage/lcov-report/src/utils/index.html +12 -12
- package/coverage/lcov-report/src/utils/index.ts.html +1 -1
- package/coverage/lcov-report/src/utils/logger.ts.html +1 -1
- package/coverage/lcov-report/src/utils/props.ts.html +1 -1
- package/coverage/lcov-report/src/utils/scroll-viewer.ts.html +1 -1
- package/coverage/lcov-report/src/utils/undo-redo.ts.html +1 -1
- package/coverage/lcov.info +1132 -986
- package/dist/tmagic-editor.es.js +148 -62
- package/dist/tmagic-editor.es.js.map +1 -1
- package/dist/tmagic-editor.umd.js +148 -62
- package/dist/tmagic-editor.umd.js.map +1 -1
- package/dist/types/src/Editor.vue.d.ts +19 -1
- package/dist/types/src/services/BaseService.d.ts +1 -1
- package/package.json +7 -7
- package/src/Editor.vue +14 -1
- package/src/components/ContentMenu.vue +59 -26
- package/src/layouts/sidebar/LayerMenu.vue +3 -0
- package/src/layouts/sidebar/TabPane.vue +1 -1
- package/src/layouts/workspace/ViewerMenu.vue +17 -2
- package/src/layouts/workspace/Workspace.vue +38 -23
- package/src/services/BaseService.ts +1 -1
- package/src/services/editor.ts +33 -3
- package/src/services/props.ts +3 -3
- package/src/utils/editor.ts +6 -2
package/coverage/clover.xml
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1654500468235" clover="3.2.0">
|
|
3
|
+
<project timestamp="1654500468235" name="All files">
|
|
4
|
+
<metrics statements="1483" coveredstatements="910" conditionals="1293" coveredconditionals="326" methods="401" coveredmethods="209" elements="3177" coveredelements="1445" complexity="0" loc="1483" ncloc="1483" packages="7" files="35" classes="35"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="70" coveredstatements="67" conditionals="14" coveredconditionals="11" methods="30" coveredmethods="27"/>
|
|
7
7
|
<file name="Editor.vue" path="/data/magic/tmagic-editor/packages/editor/src/Editor.vue">
|
|
8
|
-
<metrics statements="
|
|
8
|
+
<metrics statements="60" coveredstatements="57" conditionals="8" coveredconditionals="5" methods="27" coveredmethods="24"/>
|
|
9
9
|
<line num="40" count="1" type="stmt"/>
|
|
10
10
|
<line num="48" count="1" type="stmt"/>
|
|
11
11
|
<line num="49" count="1" type="stmt"/>
|
|
@@ -21,47 +21,51 @@
|
|
|
21
21
|
<line num="61" count="1" type="stmt"/>
|
|
22
22
|
<line num="76" count="0" type="stmt"/>
|
|
23
23
|
<line num="83" count="1" type="stmt"/>
|
|
24
|
-
<line num="
|
|
25
|
-
<line num="
|
|
26
|
-
<line num="
|
|
27
|
-
<line num="
|
|
28
|
-
<line num="
|
|
29
|
-
<line num="
|
|
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"/>
|
|
24
|
+
<line num="93" count="1" type="stmt"/>
|
|
25
|
+
<line num="98" count="1" type="stmt"/>
|
|
26
|
+
<line num="104" count="1" type="stmt"/>
|
|
27
|
+
<line num="121" count="1" type="stmt"/>
|
|
28
|
+
<line num="127" count="1" type="stmt"/>
|
|
29
|
+
<line num="133" count="1" type="stmt"/>
|
|
33
30
|
<line num="156" count="1" type="stmt"/>
|
|
34
|
-
<line num="160" count="1" type="stmt"/>
|
|
35
|
-
<line num="161" count="1" type="stmt"/>
|
|
36
31
|
<line num="162" count="1" type="stmt"/>
|
|
37
|
-
<line num="
|
|
38
|
-
<line num="
|
|
32
|
+
<line num="163" count="1" type="stmt"/>
|
|
33
|
+
<line num="164" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
34
|
+
<line num="165" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
35
|
+
<line num="166" count="1" type="stmt"/>
|
|
39
36
|
<line num="170" count="1" type="stmt"/>
|
|
40
|
-
<line num="
|
|
41
|
-
<line num="
|
|
37
|
+
<line num="171" count="1" type="stmt"/>
|
|
38
|
+
<line num="172" count="1" type="stmt"/>
|
|
42
39
|
<line num="178" count="1" type="stmt"/>
|
|
43
|
-
<line num="
|
|
44
|
-
<line num="
|
|
40
|
+
<line num="179" count="1" type="stmt"/>
|
|
41
|
+
<line num="180" count="1" type="stmt"/>
|
|
45
42
|
<line num="186" count="1" type="stmt"/>
|
|
46
|
-
<line num="
|
|
47
|
-
<line num="
|
|
43
|
+
<line num="187" count="1" type="stmt"/>
|
|
44
|
+
<line num="188" count="1" type="stmt"/>
|
|
45
|
+
<line num="194" count="1" type="stmt"/>
|
|
48
46
|
<line num="195" count="1" type="stmt"/>
|
|
49
47
|
<line num="196" count="1" type="stmt"/>
|
|
50
|
-
<line num="
|
|
51
|
-
<line num="199" count="0" type="stmt"/>
|
|
52
|
-
<line num="200" count="0" type="stmt"/>
|
|
48
|
+
<line num="202" count="1" type="stmt"/>
|
|
53
49
|
<line num="203" count="1" type="stmt"/>
|
|
54
|
-
<line num="
|
|
55
|
-
<line num="
|
|
56
|
-
<line num="
|
|
57
|
-
<line num="
|
|
58
|
-
<line num="
|
|
59
|
-
<line num="
|
|
60
|
-
<line num="
|
|
61
|
-
<line num="
|
|
50
|
+
<line num="205" count="1" type="stmt"/>
|
|
51
|
+
<line num="206" count="1" type="stmt"/>
|
|
52
|
+
<line num="208" count="1" type="stmt"/>
|
|
53
|
+
<line num="209" count="0" type="stmt"/>
|
|
54
|
+
<line num="210" count="0" type="stmt"/>
|
|
55
|
+
<line num="213" count="1" type="stmt"/>
|
|
56
|
+
<line num="214" count="1" type="stmt"/>
|
|
57
|
+
<line num="221" count="1" type="stmt"/>
|
|
58
|
+
<line num="222" count="1" type="stmt"/>
|
|
59
|
+
<line num="223" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
62
60
|
<line num="229" count="1" type="stmt"/>
|
|
63
|
-
<line num="
|
|
64
|
-
<line num="
|
|
61
|
+
<line num="230" count="1" type="stmt"/>
|
|
62
|
+
<line num="231" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
63
|
+
<line num="237" count="1" type="stmt"/>
|
|
64
|
+
<line num="239" count="1" type="stmt"/>
|
|
65
|
+
<line num="248" count="1" type="stmt"/>
|
|
66
|
+
<line num="250" count="1" type="stmt"/>
|
|
67
|
+
<line num="251" count="1" type="stmt"/>
|
|
68
|
+
<line num="253" count="1" type="stmt"/>
|
|
65
69
|
</file>
|
|
66
70
|
<file name="type.ts" path="/data/magic/tmagic-editor/packages/editor/src/type.ts">
|
|
67
71
|
<metrics statements="10" coveredstatements="10" conditionals="6" coveredconditionals="6" methods="3" coveredmethods="3"/>
|
|
@@ -78,46 +82,60 @@
|
|
|
78
82
|
</file>
|
|
79
83
|
</package>
|
|
80
84
|
<package name="src.components">
|
|
81
|
-
<metrics statements="
|
|
85
|
+
<metrics statements="125" coveredstatements="83" conditionals="161" coveredconditionals="58" methods="40" coveredmethods="23"/>
|
|
82
86
|
<file name="ContentMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/ContentMenu.vue">
|
|
83
|
-
<metrics statements="
|
|
84
|
-
<line num="20" count="2" type="stmt"/>
|
|
85
|
-
<line num="24" count="2" type="stmt"/>
|
|
87
|
+
<metrics statements="44" coveredstatements="16" conditionals="40" coveredconditionals="0" methods="10" coveredmethods="2"/>
|
|
86
88
|
<line num="26" count="2" type="stmt"/>
|
|
87
|
-
<line num="
|
|
88
|
-
<line num="
|
|
89
|
-
<line num="38" count="
|
|
90
|
-
<line num="
|
|
91
|
-
<line num="
|
|
92
|
-
<line num="
|
|
93
|
-
<line num="
|
|
94
|
-
<line num="
|
|
95
|
-
<line num="
|
|
96
|
-
<line num="
|
|
97
|
-
<line num="
|
|
98
|
-
<line num="
|
|
99
|
-
<line num="
|
|
100
|
-
<line num="
|
|
101
|
-
<line num="
|
|
102
|
-
<line num="
|
|
103
|
-
<line num="
|
|
104
|
-
<line num="
|
|
105
|
-
<line num="
|
|
106
|
-
<line num="
|
|
107
|
-
<line num="
|
|
108
|
-
<line num="
|
|
109
|
-
<line num="
|
|
110
|
-
<line num="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="
|
|
113
|
-
<line num="
|
|
89
|
+
<line num="30" count="2" type="stmt"/>
|
|
90
|
+
<line num="32" count="2" type="stmt"/>
|
|
91
|
+
<line num="38" count="0" type="stmt"/>
|
|
92
|
+
<line num="49" count="3" type="stmt"/>
|
|
93
|
+
<line num="50" count="3" type="stmt"/>
|
|
94
|
+
<line num="51" count="3" type="stmt"/>
|
|
95
|
+
<line num="52" count="3" type="stmt"/>
|
|
96
|
+
<line num="53" count="3" type="stmt"/>
|
|
97
|
+
<line num="54" count="3" type="stmt"/>
|
|
98
|
+
<line num="59" count="3" type="stmt"/>
|
|
99
|
+
<line num="60" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
100
|
+
<line num="62" count="0" type="stmt"/>
|
|
101
|
+
<line num="63" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
102
|
+
<line num="65" count="0" type="stmt"/>
|
|
103
|
+
<line num="68" count="3" type="stmt"/>
|
|
104
|
+
<line num="69" count="0" type="stmt"/>
|
|
105
|
+
<line num="70" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
106
|
+
<line num="71" count="0" type="stmt"/>
|
|
107
|
+
<line num="73" count="0" type="cond" truecount="0" falsecount="15"/>
|
|
108
|
+
<line num="74" count="0" type="stmt"/>
|
|
109
|
+
<line num="76" count="0" type="stmt"/>
|
|
110
|
+
<line num="79" count="3" type="stmt"/>
|
|
111
|
+
<line num="80" count="3" type="cond" truecount="0" falsecount="1"/>
|
|
112
|
+
<line num="82" count="3" type="stmt"/>
|
|
113
|
+
<line num="85" count="3" type="stmt"/>
|
|
114
|
+
<line num="86" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
115
|
+
<line num="88" count="0" type="stmt"/>
|
|
116
|
+
<line num="91" count="3" type="stmt"/>
|
|
117
|
+
<line num="102" count="0" type="stmt"/>
|
|
118
|
+
<line num="103" count="0" type="stmt"/>
|
|
119
|
+
<line num="105" count="0" type="stmt"/>
|
|
120
|
+
<line num="106" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
121
|
+
<line num="108" count="0" type="stmt"/>
|
|
122
|
+
<line num="109" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
123
|
+
<line num="110" count="0" type="stmt"/>
|
|
124
|
+
<line num="113" count="0" type="stmt"/>
|
|
125
|
+
<line num="118" count="0" type="stmt"/>
|
|
126
|
+
<line num="124" count="0" type="stmt"/>
|
|
127
|
+
<line num="125" count="0" type="cond" truecount="0" falsecount="7"/>
|
|
128
|
+
<line num="126" count="0" type="stmt"/>
|
|
129
|
+
<line num="129" count="0" type="stmt"/>
|
|
130
|
+
<line num="130" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
131
|
+
<line num="131" count="0" type="stmt"/>
|
|
114
132
|
</file>
|
|
115
133
|
<file name="Icon.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/Icon.vue">
|
|
116
134
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
117
135
|
<line num="9" count="4" type="stmt"/>
|
|
118
136
|
<line num="10" count="4" type="stmt"/>
|
|
119
137
|
<line num="12" count="4" type="stmt"/>
|
|
120
|
-
<line num="24" count="
|
|
138
|
+
<line num="24" count="12" type="stmt"/>
|
|
121
139
|
</file>
|
|
122
140
|
<file name="ScrollViewer.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/ScrollViewer.vue">
|
|
123
141
|
<metrics statements="15" coveredstatements="13" conditionals="5" coveredconditionals="4" methods="6" coveredmethods="4"/>
|
|
@@ -138,23 +156,23 @@
|
|
|
138
156
|
<line num="56" count="2" type="stmt"/>
|
|
139
157
|
</file>
|
|
140
158
|
<file name="ToolButton.vue" path="/data/magic/tmagic-editor/packages/editor/src/components/ToolButton.vue">
|
|
141
|
-
<metrics statements="62" coveredstatements="50" conditionals="116" coveredconditionals="
|
|
159
|
+
<metrics statements="62" coveredstatements="50" conditionals="116" coveredconditionals="54" methods="23" coveredmethods="16"/>
|
|
142
160
|
<line num="54" count="4" type="stmt"/>
|
|
143
161
|
<line num="55" count="4" type="stmt"/>
|
|
144
162
|
<line num="57" count="4" type="stmt"/>
|
|
145
163
|
<line num="59" count="4" type="stmt"/>
|
|
146
164
|
<line num="62" count="4" type="stmt"/>
|
|
147
165
|
<line num="69" count="1" type="stmt"/>
|
|
148
|
-
<line num="82" count="
|
|
149
|
-
<line num="83" count="
|
|
150
|
-
<line num="85" count="
|
|
151
|
-
<line num="86" count="
|
|
152
|
-
<line num="87" count="
|
|
153
|
-
<line num="89" count="
|
|
154
|
-
<line num="90" count="
|
|
155
|
-
<line num="92" count="
|
|
156
|
-
<line num="93" count="
|
|
157
|
-
<line num="94" count="
|
|
166
|
+
<line num="82" count="18" type="stmt"/>
|
|
167
|
+
<line num="83" count="18" type="cond" truecount="3" falsecount="1"/>
|
|
168
|
+
<line num="85" count="18" type="cond" truecount="0" falsecount="8"/>
|
|
169
|
+
<line num="86" count="18" type="cond" truecount="0" falsecount="8"/>
|
|
170
|
+
<line num="87" count="18" type="cond" truecount="0" falsecount="8"/>
|
|
171
|
+
<line num="89" count="18" type="cond" truecount="3" falsecount="1"/>
|
|
172
|
+
<line num="90" count="18" type="cond" truecount="3" falsecount="1"/>
|
|
173
|
+
<line num="92" count="18" type="stmt"/>
|
|
174
|
+
<line num="93" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
175
|
+
<line num="94" count="16" type="stmt"/>
|
|
158
176
|
<line num="96" count="6" type="cond" truecount="6" falsecount="4"/>
|
|
159
177
|
<line num="98" count="0" type="stmt"/>
|
|
160
178
|
<line num="102" count="0" type="stmt"/>
|
|
@@ -174,22 +192,22 @@
|
|
|
174
192
|
<line num="151" count="0" type="stmt"/>
|
|
175
193
|
<line num="155" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
176
194
|
<line num="158" count="1" type="stmt"/>
|
|
177
|
-
<line num="165" count="
|
|
178
|
-
<line num="166" count="
|
|
179
|
-
<line num="167" count="
|
|
180
|
-
<line num="168" count="
|
|
195
|
+
<line num="165" count="18" type="stmt"/>
|
|
196
|
+
<line num="166" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
197
|
+
<line num="167" count="18" type="cond" truecount="0" falsecount="1"/>
|
|
198
|
+
<line num="168" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
181
199
|
<line num="169" count="3" type="stmt"/>
|
|
182
|
-
<line num="171" count="
|
|
183
|
-
<line num="174" count="
|
|
200
|
+
<line num="171" count="15" type="stmt"/>
|
|
201
|
+
<line num="174" count="18" type="stmt"/>
|
|
184
202
|
<line num="175" count="5" type="cond" truecount="0" falsecount="1"/>
|
|
185
203
|
<line num="176" count="5" type="cond" truecount="3" falsecount="0"/>
|
|
186
204
|
<line num="177" count="5" type="cond" truecount="3" falsecount="1"/>
|
|
187
|
-
<line num="181" count="
|
|
188
|
-
<line num="189" count="
|
|
189
|
-
<line num="190" count="
|
|
190
|
-
<line num="191" count="
|
|
191
|
-
<line num="192" count="
|
|
192
|
-
<line num="194" count="
|
|
205
|
+
<line num="181" count="18" type="stmt"/>
|
|
206
|
+
<line num="189" count="22" type="cond" truecount="0" falsecount="1"/>
|
|
207
|
+
<line num="190" count="22" type="cond" truecount="0" falsecount="1"/>
|
|
208
|
+
<line num="191" count="22" type="cond" truecount="1" falsecount="0"/>
|
|
209
|
+
<line num="192" count="1" type="stmt"/>
|
|
210
|
+
<line num="194" count="21" type="cond" truecount="4" falsecount="0"/>
|
|
193
211
|
<line num="201" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
194
212
|
<line num="202" count="1" type="stmt"/>
|
|
195
213
|
<line num="207" count="5" type="cond" truecount="0" falsecount="1"/>
|
|
@@ -300,7 +318,7 @@
|
|
|
300
318
|
</file>
|
|
301
319
|
</package>
|
|
302
320
|
<package name="src.layouts.sidebar">
|
|
303
|
-
<metrics statements="
|
|
321
|
+
<metrics statements="157" coveredstatements="78" conditionals="234" coveredconditionals="32" methods="55" coveredmethods="19"/>
|
|
304
322
|
<file name="ComponentListPanel.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/ComponentListPanel.vue">
|
|
305
323
|
<metrics statements="19" coveredstatements="11" conditionals="17" coveredconditionals="6" methods="8" coveredmethods="3"/>
|
|
306
324
|
<line num="36" count="1" type="stmt"/>
|
|
@@ -324,7 +342,7 @@
|
|
|
324
342
|
<line num="78" count="0" type="stmt"/>
|
|
325
343
|
</file>
|
|
326
344
|
<file name="LayerMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/LayerMenu.vue">
|
|
327
|
-
<metrics statements="
|
|
345
|
+
<metrics statements="31" coveredstatements="19" conditionals="64" coveredconditionals="7" methods="18" coveredmethods="4"/>
|
|
328
346
|
<line num="6" count="1" type="stmt"/>
|
|
329
347
|
<line num="7" count="1" type="stmt"/>
|
|
330
348
|
<line num="9" count="1" type="stmt"/>
|
|
@@ -333,28 +351,29 @@
|
|
|
333
351
|
<line num="18" count="1" type="stmt"/>
|
|
334
352
|
<line num="19" count="1" type="stmt"/>
|
|
335
353
|
<line num="20" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
336
|
-
<line num="21" count="1" type="cond" truecount="
|
|
337
|
-
<line num="22" count="1" type="cond" truecount="
|
|
354
|
+
<line num="21" count="1" type="cond" truecount="0" falsecount="4"/>
|
|
355
|
+
<line num="22" count="1" type="cond" truecount="0" falsecount="4"/>
|
|
338
356
|
<line num="23" count="1" type="cond" truecount="0" falsecount="6"/>
|
|
339
357
|
<line num="25" count="1" type="stmt"/>
|
|
340
|
-
<line num="
|
|
341
|
-
<line num="
|
|
342
|
-
<line num="
|
|
343
|
-
<line num="
|
|
344
|
-
<line num="
|
|
345
|
-
<line num="
|
|
346
|
-
<line num="
|
|
347
|
-
<line num="
|
|
348
|
-
<line num="
|
|
349
|
-
<line num="
|
|
350
|
-
<line num="
|
|
358
|
+
<line num="27" count="1" type="stmt"/>
|
|
359
|
+
<line num="28" count="0" type="stmt"/>
|
|
360
|
+
<line num="33" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
361
|
+
<line num="41" count="1" type="stmt"/>
|
|
362
|
+
<line num="42" count="1" type="cond" truecount="2" falsecount="3"/>
|
|
363
|
+
<line num="43" count="0" type="stmt"/>
|
|
364
|
+
<line num="49" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
365
|
+
<line num="56" count="1" type="cond" truecount="2" falsecount="3"/>
|
|
366
|
+
<line num="57" count="0" type="stmt"/>
|
|
367
|
+
<line num="60" count="0" type="stmt"/>
|
|
368
|
+
<line num="75" count="1" type="stmt"/>
|
|
351
369
|
<line num="78" count="1" type="stmt"/>
|
|
352
|
-
<line num="
|
|
353
|
-
<line num="
|
|
354
|
-
<line num="92" count="0" type="
|
|
355
|
-
<line num="
|
|
356
|
-
<line num="101" count="0" type="cond" truecount="0" falsecount="
|
|
357
|
-
<line num="
|
|
370
|
+
<line num="80" count="1" type="stmt"/>
|
|
371
|
+
<line num="85" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
372
|
+
<line num="92" count="0" type="stmt"/>
|
|
373
|
+
<line num="94" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
374
|
+
<line num="101" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
375
|
+
<line num="103" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
376
|
+
<line num="110" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
358
377
|
</file>
|
|
359
378
|
<file name="LayerPanel.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/sidebar/LayerPanel.vue">
|
|
360
379
|
<metrics statements="85" coveredstatements="29" conditionals="139" coveredconditionals="11" methods="23" coveredmethods="7"/>
|
|
@@ -474,7 +493,7 @@
|
|
|
474
493
|
</file>
|
|
475
494
|
</package>
|
|
476
495
|
<package name="src.layouts.workspace">
|
|
477
|
-
<metrics statements="
|
|
496
|
+
<metrics statements="270" coveredstatements="108" conditionals="506" coveredconditionals="64" methods="97" coveredmethods="23"/>
|
|
478
497
|
<file name="PageBar.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/PageBar.vue">
|
|
479
498
|
<metrics statements="62" coveredstatements="31" conditionals="54" coveredconditionals="17" methods="17" coveredmethods="9"/>
|
|
480
499
|
<line num="61" count="2" type="stmt"/>
|
|
@@ -624,7 +643,7 @@
|
|
|
624
643
|
<line num="221" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
625
644
|
</file>
|
|
626
645
|
<file name="ViewerMenu.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/ViewerMenu.vue">
|
|
627
|
-
<metrics statements="
|
|
646
|
+
<metrics statements="56" coveredstatements="24" conditionals="140" coveredconditionals="12" methods="25" coveredmethods="4"/>
|
|
628
647
|
<line num="6" count="2" type="stmt"/>
|
|
629
648
|
<line num="7" count="2" type="stmt"/>
|
|
630
649
|
<line num="9" count="2" type="stmt"/>
|
|
@@ -638,43 +657,52 @@
|
|
|
638
657
|
<line num="22" count="2" type="stmt"/>
|
|
639
658
|
<line num="23" count="2" type="stmt"/>
|
|
640
659
|
<line num="24" count="2" type="stmt"/>
|
|
641
|
-
<line num="26" count="2" type="cond" truecount="
|
|
660
|
+
<line num="26" count="2" type="cond" truecount="0" falsecount="4"/>
|
|
642
661
|
<line num="27" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
643
|
-
<line num="28" count="2" type="cond" truecount="
|
|
662
|
+
<line num="28" count="2" type="cond" truecount="0" falsecount="4"/>
|
|
644
663
|
<line num="30" count="2" type="stmt"/>
|
|
645
|
-
<line num="
|
|
646
|
-
<line num="
|
|
647
|
-
<line num="
|
|
664
|
+
<line num="32" count="2" type="stmt"/>
|
|
665
|
+
<line num="33" count="2" type="stmt"/>
|
|
666
|
+
<line num="34" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
648
667
|
<line num="37" count="2" type="stmt"/>
|
|
649
|
-
<line num="
|
|
650
|
-
<line num="
|
|
651
|
-
<line num="
|
|
652
|
-
<line num="
|
|
653
|
-
<line num="
|
|
654
|
-
<line num="55" count="0" type="
|
|
655
|
-
<line num="
|
|
656
|
-
<line num="
|
|
657
|
-
<line num="
|
|
658
|
-
<line num="72" count="0" type="
|
|
659
|
-
<line num="73" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
668
|
+
<line num="39" count="2" type="stmt"/>
|
|
669
|
+
<line num="40" count="2" type="cond" truecount="2" falsecount="1"/>
|
|
670
|
+
<line num="41" count="0" type="stmt"/>
|
|
671
|
+
<line num="42" count="0" type="stmt"/>
|
|
672
|
+
<line num="49" count="2" type="stmt"/>
|
|
673
|
+
<line num="55" count="0" type="stmt"/>
|
|
674
|
+
<line num="57" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
675
|
+
<line num="65" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
676
|
+
<line num="66" count="0" type="stmt"/>
|
|
677
|
+
<line num="72" count="0" type="stmt"/>
|
|
660
678
|
<line num="74" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
661
|
-
<line num="
|
|
662
|
-
<line num="
|
|
679
|
+
<line num="76" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
680
|
+
<line num="77" count="0" type="cond" truecount="0" falsecount="8"/>
|
|
681
|
+
<line num="78" count="0" type="cond" truecount="0" falsecount="12"/>
|
|
682
|
+
<line num="79" count="0" type="cond" truecount="0" falsecount="12"/>
|
|
683
|
+
<line num="81" count="0" type="cond" truecount="0" falsecount="7"/>
|
|
684
|
+
<line num="82" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
685
|
+
<line num="83" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
686
|
+
<line num="84" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
687
|
+
<line num="85" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
663
688
|
<line num="88" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
664
|
-
<line num="
|
|
665
|
-
<line num="
|
|
666
|
-
<line num="
|
|
667
|
-
<line num="
|
|
668
|
-
<line num="111" count="
|
|
669
|
-
<line num="
|
|
670
|
-
<line num="119" count="
|
|
671
|
-
<line num="125" count="
|
|
672
|
-
<line num="127" count="0" type="cond" truecount="0" falsecount="
|
|
673
|
-
<line num="
|
|
674
|
-
<line num="
|
|
689
|
+
<line num="94" count="0" type="stmt"/>
|
|
690
|
+
<line num="100" count="0" type="stmt"/>
|
|
691
|
+
<line num="102" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
692
|
+
<line num="109" count="0" type="stmt"/>
|
|
693
|
+
<line num="111" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
694
|
+
<line num="117" count="0" type="stmt"/>
|
|
695
|
+
<line num="119" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
696
|
+
<line num="125" count="0" type="stmt"/>
|
|
697
|
+
<line num="127" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
698
|
+
<line num="133" count="0" type="stmt"/>
|
|
699
|
+
<line num="139" count="0" type="stmt"/>
|
|
700
|
+
<line num="141" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
701
|
+
<line num="152" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
702
|
+
<line num="159" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
675
703
|
</file>
|
|
676
704
|
<file name="Workspace.vue" path="/data/magic/tmagic-editor/packages/editor/src/layouts/workspace/Workspace.vue">
|
|
677
|
-
<metrics statements="
|
|
705
|
+
<metrics statements="72" coveredstatements="21" conditionals="135" coveredconditionals="10" methods="28" coveredmethods="3"/>
|
|
678
706
|
<line num="22" count="1" type="stmt"/>
|
|
679
707
|
<line num="23" count="1" type="stmt"/>
|
|
680
708
|
<line num="28" count="1" type="stmt"/>
|
|
@@ -696,44 +724,61 @@
|
|
|
696
724
|
<line num="82" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
697
725
|
<line num="84" count="1" type="stmt"/>
|
|
698
726
|
<line num="86" count="0" type="stmt"/>
|
|
699
|
-
<line num="87" count="0" type="
|
|
700
|
-
<line num="
|
|
701
|
-
<line num="91" count="0" type="
|
|
702
|
-
<line num="92" count="0" type="cond" truecount="0" falsecount="
|
|
703
|
-
<line num="
|
|
704
|
-
<line num="96" count="0" type="
|
|
705
|
-
<line num="97" count="0" type="cond" truecount="0" falsecount="
|
|
706
|
-
<line num="100" count="0" type="
|
|
707
|
-
<line num="
|
|
708
|
-
<line num="
|
|
727
|
+
<line num="87" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
728
|
+
<line num="88" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
729
|
+
<line num="91" count="0" type="stmt"/>
|
|
730
|
+
<line num="92" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
731
|
+
<line num="93" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
732
|
+
<line num="96" count="0" type="stmt"/>
|
|
733
|
+
<line num="97" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
734
|
+
<line num="100" count="0" type="stmt"/>
|
|
735
|
+
<line num="101" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
736
|
+
<line num="104" count="0" type="stmt"/>
|
|
737
|
+
<line num="105" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
738
|
+
<line num="106" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
709
739
|
<line num="107" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
710
|
-
<line num="
|
|
740
|
+
<line num="110" count="0" type="stmt"/>
|
|
711
741
|
<line num="111" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
712
|
-
<line num="114" count="0" type="
|
|
713
|
-
<line num="
|
|
714
|
-
<line num="
|
|
742
|
+
<line num="114" count="0" type="stmt"/>
|
|
743
|
+
<line num="115" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
744
|
+
<line num="118" count="0" type="stmt"/>
|
|
745
|
+
<line num="119" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
746
|
+
<line num="122" count="0" type="stmt"/>
|
|
715
747
|
<line num="123" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
716
|
-
<line num="126" count="0" type="
|
|
717
|
-
<line num="
|
|
718
|
-
<line num="
|
|
748
|
+
<line num="126" count="0" type="stmt"/>
|
|
749
|
+
<line num="127" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
750
|
+
<line num="130" count="0" type="stmt"/>
|
|
751
|
+
<line num="131" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
752
|
+
<line num="134" count="0" type="stmt"/>
|
|
719
753
|
<line num="135" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
720
|
-
<line num="138" count="0" type="
|
|
721
|
-
<line num="
|
|
722
|
-
<line num="
|
|
754
|
+
<line num="138" count="0" type="stmt"/>
|
|
755
|
+
<line num="139" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
756
|
+
<line num="142" count="0" type="stmt"/>
|
|
757
|
+
<line num="143" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
758
|
+
<line num="146" count="0" type="stmt"/>
|
|
723
759
|
<line num="147" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
724
|
-
<line num="150" count="0" type="
|
|
725
|
-
<line num="
|
|
726
|
-
<line num="
|
|
727
|
-
<line num="
|
|
728
|
-
<line num="
|
|
729
|
-
<line num="
|
|
730
|
-
<line num="
|
|
731
|
-
<line num="
|
|
732
|
-
<line num="
|
|
760
|
+
<line num="150" count="0" type="stmt"/>
|
|
761
|
+
<line num="151" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
762
|
+
<line num="154" count="0" type="stmt"/>
|
|
763
|
+
<line num="155" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
764
|
+
<line num="158" count="0" type="stmt"/>
|
|
765
|
+
<line num="159" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
766
|
+
<line num="162" count="0" type="stmt"/>
|
|
767
|
+
<line num="163" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
768
|
+
<line num="166" count="0" type="stmt"/>
|
|
769
|
+
<line num="167" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
770
|
+
<line num="170" count="0" type="stmt"/>
|
|
771
|
+
<line num="171" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
772
|
+
<line num="175" count="1" type="stmt"/>
|
|
773
|
+
<line num="176" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
774
|
+
<line num="177" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
775
|
+
<line num="178" count="0" type="stmt"/>
|
|
776
|
+
<line num="181" count="1" type="stmt"/>
|
|
777
|
+
<line num="184" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
733
778
|
</file>
|
|
734
779
|
</package>
|
|
735
780
|
<package name="src.services">
|
|
736
|
-
<metrics statements="
|
|
781
|
+
<metrics statements="489" coveredstatements="358" conditionals="196" coveredconditionals="90" methods="91" coveredmethods="67"/>
|
|
737
782
|
<file name="BaseService.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/BaseService.ts">
|
|
738
783
|
<metrics statements="58" coveredstatements="49" conditionals="12" coveredconditionals="6" methods="14" coveredmethods="11"/>
|
|
739
784
|
<line num="19" count="6" type="stmt"/>
|
|
@@ -806,7 +851,7 @@
|
|
|
806
851
|
<line num="48" count="1" type="stmt"/>
|
|
807
852
|
</file>
|
|
808
853
|
<file name="editor.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/editor.ts">
|
|
809
|
-
<metrics statements="
|
|
854
|
+
<metrics statements="272" coveredstatements="212" conditionals="126" coveredconditionals="73" methods="35" coveredmethods="28"/>
|
|
810
855
|
<line num="19" count="5" type="stmt"/>
|
|
811
856
|
<line num="20" count="5" type="stmt"/>
|
|
812
857
|
<line num="21" count="5" type="stmt"/>
|
|
@@ -816,257 +861,269 @@
|
|
|
816
861
|
<line num="29" count="5" type="stmt"/>
|
|
817
862
|
<line num="31" count="5" type="stmt"/>
|
|
818
863
|
<line num="32" count="5" type="stmt"/>
|
|
819
|
-
<line num="
|
|
820
|
-
<line num="
|
|
821
|
-
<line num="
|
|
822
|
-
<line num="
|
|
823
|
-
<line num="
|
|
824
|
-
<line num="90" count="103" type="stmt"/>
|
|
864
|
+
<line num="43" count="5" type="stmt"/>
|
|
865
|
+
<line num="45" count="5" type="stmt"/>
|
|
866
|
+
<line num="48" count="5" type="stmt"/>
|
|
867
|
+
<line num="50" count="5" type="stmt"/>
|
|
868
|
+
<line num="62" count="5" type="stmt"/>
|
|
825
869
|
<line num="91" count="103" type="stmt"/>
|
|
826
|
-
<line num="
|
|
827
|
-
<line num="94" count="
|
|
828
|
-
<line num="95" count="21" type="
|
|
829
|
-
<line num="
|
|
830
|
-
<line num="
|
|
831
|
-
<line num="115" count="55" type="
|
|
832
|
-
<line num="
|
|
833
|
-
<line num="118" count="
|
|
834
|
-
<line num="
|
|
835
|
-
<line num="
|
|
836
|
-
<line num="
|
|
870
|
+
<line num="92" count="103" type="stmt"/>
|
|
871
|
+
<line num="94" count="103" type="cond" truecount="1" falsecount="0"/>
|
|
872
|
+
<line num="95" count="21" type="cond" truecount="1" falsecount="1"/>
|
|
873
|
+
<line num="96" count="21" type="stmt"/>
|
|
874
|
+
<line num="106" count="242" type="stmt"/>
|
|
875
|
+
<line num="115" count="55" type="stmt"/>
|
|
876
|
+
<line num="116" count="55" type="cond" truecount="0" falsecount="1"/>
|
|
877
|
+
<line num="118" count="55" type="cond" truecount="0" falsecount="1"/>
|
|
878
|
+
<line num="119" count="0" type="stmt"/>
|
|
879
|
+
<line num="122" count="55" type="stmt"/>
|
|
880
|
+
<line num="124" count="55" type="cond" truecount="1" falsecount="0"/>
|
|
837
881
|
<line num="126" count="46" type="stmt"/>
|
|
838
|
-
<line num="
|
|
882
|
+
<line num="127" count="46" type="stmt"/>
|
|
839
883
|
<line num="129" count="46" type="stmt"/>
|
|
840
|
-
<line num="
|
|
841
|
-
<line num="132" count="
|
|
842
|
-
<line num="133" count="
|
|
884
|
+
<line num="130" count="46" type="stmt"/>
|
|
885
|
+
<line num="132" count="46" type="stmt"/>
|
|
886
|
+
<line num="133" count="120" type="cond" truecount="1" falsecount="0"/>
|
|
843
887
|
<line num="134" count="46" type="stmt"/>
|
|
844
|
-
<line num="
|
|
845
|
-
<line num="
|
|
888
|
+
<line num="135" count="46" type="stmt"/>
|
|
889
|
+
<line num="139" count="46" type="stmt"/>
|
|
846
890
|
<line num="148" count="11" type="stmt"/>
|
|
847
|
-
<line num="
|
|
848
|
-
<line num="158" count="3" type="
|
|
891
|
+
<line num="149" count="11" type="stmt"/>
|
|
892
|
+
<line num="158" count="3" type="cond" truecount="0" falsecount="1"/>
|
|
849
893
|
<line num="159" count="3" type="stmt"/>
|
|
850
|
-
<line num="
|
|
851
|
-
<line num="
|
|
852
|
-
<line num="169" count="
|
|
853
|
-
<line num="
|
|
854
|
-
<line num="174" count="
|
|
855
|
-
<line num="
|
|
856
|
-
<line num="
|
|
857
|
-
<line num="187" count="
|
|
858
|
-
<line num="188" count="24" type="
|
|
894
|
+
<line num="160" count="3" type="stmt"/>
|
|
895
|
+
<line num="167" count="24" type="cond" truecount="3" falsecount="1"/>
|
|
896
|
+
<line num="169" count="24" type="cond" truecount="1" falsecount="0"/>
|
|
897
|
+
<line num="170" count="13" type="stmt"/>
|
|
898
|
+
<line num="174" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
899
|
+
<line num="175" count="8" type="stmt"/>
|
|
900
|
+
<line num="178" count="3" type="stmt"/>
|
|
901
|
+
<line num="187" count="26" type="stmt"/>
|
|
902
|
+
<line num="188" count="24" type="stmt"/>
|
|
859
903
|
<line num="189" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
860
|
-
<line num="
|
|
861
|
-
<line num="192" count="24" type="
|
|
862
|
-
<line num="
|
|
863
|
-
<line num="
|
|
904
|
+
<line num="190" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
905
|
+
<line num="192" count="24" type="cond" truecount="1" falsecount="1"/>
|
|
906
|
+
<line num="193" count="24" type="stmt"/>
|
|
907
|
+
<line num="195" count="0" type="stmt"/>
|
|
908
|
+
<line num="198" count="24" type="cond" truecount="1" falsecount="0"/>
|
|
864
909
|
<line num="199" count="24" type="stmt"/>
|
|
865
|
-
<line num="
|
|
866
|
-
<line num="
|
|
867
|
-
<line num="207" count="0" type="stmt"/>
|
|
868
|
-
<line num="209" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
869
|
-
<line num="211" count="0" type="stmt"/>
|
|
870
|
-
<line num="213" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
871
|
-
<line num="215" count="0" type="stmt"/>
|
|
872
|
-
<line num="216" count="0" type="stmt"/>
|
|
910
|
+
<line num="212" count="24" type="stmt"/>
|
|
911
|
+
<line num="214" count="24" type="stmt"/>
|
|
873
912
|
<line num="218" count="0" type="stmt"/>
|
|
913
|
+
<line num="220" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
874
914
|
<line num="222" count="0" type="stmt"/>
|
|
875
|
-
<line num="
|
|
876
|
-
<line num="
|
|
877
|
-
<line num="
|
|
878
|
-
<line num="229" count="0" type="stmt"/>
|
|
915
|
+
<line num="224" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
916
|
+
<line num="226" count="0" type="stmt"/>
|
|
917
|
+
<line num="228" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
879
918
|
<line num="230" count="0" type="stmt"/>
|
|
880
|
-
<line num="
|
|
881
|
-
<line num="
|
|
882
|
-
<line num="
|
|
883
|
-
<line num="
|
|
919
|
+
<line num="231" count="0" type="stmt"/>
|
|
920
|
+
<line num="233" count="0" type="stmt"/>
|
|
921
|
+
<line num="237" count="0" type="stmt"/>
|
|
922
|
+
<line num="238" count="0" type="stmt"/>
|
|
923
|
+
<line num="240" count="0" type="stmt"/>
|
|
924
|
+
<line num="242" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
884
925
|
<line num="244" count="0" type="stmt"/>
|
|
885
|
-
<line num="
|
|
886
|
-
<line num="
|
|
887
|
-
<line num="
|
|
888
|
-
<line num="
|
|
889
|
-
<line num="
|
|
890
|
-
<line num="
|
|
891
|
-
<line num="
|
|
892
|
-
<line num="
|
|
893
|
-
<line num="266" count="2" type="stmt"/>
|
|
894
|
-
<line num="268" count="1" type="stmt"/>
|
|
895
|
-
<line num="271" count="6" type="cond" truecount="0" falsecount="1"/>
|
|
926
|
+
<line num="245" count="0" type="stmt"/>
|
|
927
|
+
<line num="247" count="0" type="stmt"/>
|
|
928
|
+
<line num="256" count="0" type="stmt"/>
|
|
929
|
+
<line num="257" count="0" type="stmt"/>
|
|
930
|
+
<line num="258" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
931
|
+
<line num="259" count="0" type="stmt"/>
|
|
932
|
+
<line num="269" count="6" type="stmt"/>
|
|
933
|
+
<line num="270" count="6" type="stmt"/>
|
|
896
934
|
<line num="273" count="6" type="stmt"/>
|
|
897
|
-
<line num="
|
|
898
|
-
<line num="
|
|
899
|
-
<line num="
|
|
900
|
-
<line num="
|
|
901
|
-
<line num="
|
|
902
|
-
<line num="
|
|
903
|
-
<line num="
|
|
904
|
-
<line num="
|
|
905
|
-
<line num="
|
|
906
|
-
<line num="
|
|
907
|
-
<line num="
|
|
908
|
-
<line num="
|
|
909
|
-
<line num="
|
|
935
|
+
<line num="275" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
936
|
+
<line num="276" count="2" type="stmt"/>
|
|
937
|
+
<line num="278" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
938
|
+
<line num="279" count="1" type="stmt"/>
|
|
939
|
+
<line num="280" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
940
|
+
<line num="281" count="2" type="stmt"/>
|
|
941
|
+
<line num="283" count="1" type="stmt"/>
|
|
942
|
+
<line num="286" count="6" type="cond" truecount="0" falsecount="1"/>
|
|
943
|
+
<line num="288" count="6" type="stmt"/>
|
|
944
|
+
<line num="289" count="6" type="stmt"/>
|
|
945
|
+
<line num="296" count="6" type="cond" truecount="4" falsecount="0"/>
|
|
946
|
+
<line num="297" count="1" type="stmt"/>
|
|
947
|
+
<line num="300" count="5" type="stmt"/>
|
|
948
|
+
<line num="302" count="5" type="stmt"/>
|
|
910
949
|
<line num="304" count="5" type="stmt"/>
|
|
911
950
|
<line num="306" count="5" type="stmt"/>
|
|
912
|
-
<line num="
|
|
913
|
-
<line num="
|
|
914
|
-
<line num="
|
|
915
|
-
<line num="
|
|
916
|
-
<line num="
|
|
917
|
-
<line num="
|
|
918
|
-
<line num="
|
|
919
|
-
<line num="
|
|
920
|
-
<line num="330" count="
|
|
921
|
-
<line num="
|
|
922
|
-
<line num="
|
|
923
|
-
<line num="
|
|
924
|
-
<line num="
|
|
925
|
-
<line num="
|
|
926
|
-
<line num="
|
|
927
|
-
<line num="
|
|
928
|
-
<line num="
|
|
929
|
-
<line num="
|
|
930
|
-
<line num="
|
|
931
|
-
<line num="
|
|
932
|
-
<line num="
|
|
933
|
-
<line num="
|
|
934
|
-
<line num="
|
|
935
|
-
<line num="
|
|
936
|
-
<line num="
|
|
937
|
-
<line num="
|
|
938
|
-
<line num="
|
|
939
|
-
<line num="
|
|
940
|
-
<line num="360" count="
|
|
941
|
-
<line num="
|
|
942
|
-
<line num="
|
|
943
|
-
<line num="
|
|
944
|
-
<line num="
|
|
945
|
-
<line num="
|
|
946
|
-
<line num="
|
|
947
|
-
<line num="
|
|
948
|
-
<line num="
|
|
949
|
-
<line num="
|
|
950
|
-
<line num="
|
|
951
|
-
<line num="
|
|
952
|
-
<line num="390" count="
|
|
953
|
-
<line num="
|
|
954
|
-
<line num="394" count="
|
|
955
|
-
<line num="
|
|
956
|
-
<line num="397" count="
|
|
957
|
-
<line num="398" count="
|
|
958
|
-
<line num="
|
|
959
|
-
<line num="
|
|
960
|
-
<line num="
|
|
961
|
-
<line num="
|
|
962
|
-
<line num="
|
|
963
|
-
<line num="
|
|
964
|
-
<line num="
|
|
965
|
-
<line num="
|
|
966
|
-
<line num="
|
|
967
|
-
<line num="
|
|
968
|
-
<line num="
|
|
969
|
-
<line num="
|
|
970
|
-
<line num="
|
|
951
|
+
<line num="308" count="5" type="stmt"/>
|
|
952
|
+
<line num="309" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
953
|
+
<line num="310" count="3" type="stmt"/>
|
|
954
|
+
<line num="313" count="5" type="stmt"/>
|
|
955
|
+
<line num="315" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
956
|
+
<line num="316" count="2" type="stmt"/>
|
|
957
|
+
<line num="319" count="5" type="stmt"/>
|
|
958
|
+
<line num="321" count="5" type="stmt"/>
|
|
959
|
+
<line num="330" count="4" type="cond" truecount="0" falsecount="1"/>
|
|
960
|
+
<line num="332" count="4" type="stmt"/>
|
|
961
|
+
<line num="334" count="4" type="cond" truecount="0" falsecount="1"/>
|
|
962
|
+
<line num="336" count="4" type="stmt"/>
|
|
963
|
+
<line num="338" count="4" type="cond" truecount="3" falsecount="0"/>
|
|
964
|
+
<line num="340" count="3" type="stmt"/>
|
|
965
|
+
<line num="342" count="3" type="cond" truecount="2" falsecount="1"/>
|
|
966
|
+
<line num="344" count="3" type="stmt"/>
|
|
967
|
+
<line num="345" count="3" type="stmt"/>
|
|
968
|
+
<line num="346" count="3" type="stmt"/>
|
|
969
|
+
<line num="348" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
970
|
+
<line num="349" count="1" type="stmt"/>
|
|
971
|
+
<line num="351" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
972
|
+
<line num="352" count="1" type="stmt"/>
|
|
973
|
+
<line num="353" count="1" type="stmt"/>
|
|
974
|
+
<line num="355" count="0" type="stmt"/>
|
|
975
|
+
<line num="356" count="0" type="stmt"/>
|
|
976
|
+
<line num="357" count="0" type="stmt"/>
|
|
977
|
+
<line num="358" count="0" type="stmt"/>
|
|
978
|
+
<line num="359" count="0" type="stmt"/>
|
|
979
|
+
<line num="360" count="0" type="stmt"/>
|
|
980
|
+
<line num="361" count="0" type="stmt"/>
|
|
981
|
+
<line num="363" count="0" type="stmt"/>
|
|
982
|
+
<line num="365" count="0" type="stmt"/>
|
|
983
|
+
<line num="368" count="2" type="stmt"/>
|
|
984
|
+
<line num="369" count="2" type="stmt"/>
|
|
985
|
+
<line num="372" count="3" type="stmt"/>
|
|
986
|
+
<line num="373" count="3" type="stmt"/>
|
|
987
|
+
<line num="375" count="3" type="stmt"/>
|
|
988
|
+
<line num="377" count="3" type="stmt"/>
|
|
989
|
+
<line num="386" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
990
|
+
<line num="388" count="10" type="stmt"/>
|
|
991
|
+
<line num="390" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
992
|
+
<line num="392" count="9" type="stmt"/>
|
|
993
|
+
<line num="394" count="9" type="stmt"/>
|
|
994
|
+
<line num="396" count="9" type="stmt"/>
|
|
995
|
+
<line num="397" count="47" type="cond" truecount="1" falsecount="0"/>
|
|
996
|
+
<line num="398" count="3" type="stmt"/>
|
|
997
|
+
<line num="402" count="9" type="cond" truecount="1" falsecount="0"/>
|
|
998
|
+
<line num="404" count="8" type="cond" truecount="0" falsecount="1"/>
|
|
999
|
+
<line num="405" count="0" type="stmt"/>
|
|
1000
|
+
<line num="406" count="0" type="stmt"/>
|
|
1001
|
+
<line num="409" count="8" type="stmt"/>
|
|
1002
|
+
<line num="410" count="8" type="cond" truecount="0" falsecount="1"/>
|
|
1003
|
+
<line num="412" count="8" type="stmt"/>
|
|
1004
|
+
<line num="413" count="8" type="stmt"/>
|
|
1005
|
+
<line num="415" count="8" type="cond" truecount="3" falsecount="1"/>
|
|
1006
|
+
<line num="417" count="8" type="stmt"/>
|
|
1007
|
+
<line num="418" count="8" type="stmt"/>
|
|
1008
|
+
<line num="419" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
1009
|
+
<line num="420" count="1" type="stmt"/>
|
|
971
1010
|
<line num="423" count="8" type="stmt"/>
|
|
972
|
-
<line num="425" count="8" type="
|
|
973
|
-
<line num="
|
|
974
|
-
<line num="
|
|
975
|
-
<line num="
|
|
976
|
-
<line num="
|
|
977
|
-
<line num="
|
|
978
|
-
<line num="
|
|
979
|
-
<line num="
|
|
980
|
-
<line num="
|
|
981
|
-
<line num="447" count="1" type="stmt"/>
|
|
982
|
-
<line num="449" count="1" type="stmt"/>
|
|
1011
|
+
<line num="425" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
1012
|
+
<line num="426" count="4" type="stmt"/>
|
|
1013
|
+
<line num="429" count="8" type="stmt"/>
|
|
1014
|
+
<line num="431" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
1015
|
+
<line num="432" count="4" type="stmt"/>
|
|
1016
|
+
<line num="435" count="8" type="stmt"/>
|
|
1017
|
+
<line num="436" count="8" type="stmt"/>
|
|
1018
|
+
<line num="438" count="8" type="stmt"/>
|
|
1019
|
+
<line num="440" count="8" type="stmt"/>
|
|
983
1020
|
<line num="450" count="1" type="stmt"/>
|
|
1021
|
+
<line num="451" count="1" type="stmt"/>
|
|
1022
|
+
<line num="452" count="1" type="stmt"/>
|
|
1023
|
+
<line num="454" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1024
|
+
<line num="455" count="2" type="stmt"/>
|
|
1025
|
+
<line num="457" count="1" type="stmt"/>
|
|
984
1026
|
<line num="459" count="1" type="stmt"/>
|
|
985
|
-
<line num="
|
|
986
|
-
<line num="
|
|
987
|
-
<line num="
|
|
988
|
-
<line num="
|
|
989
|
-
<line num="
|
|
990
|
-
<line num="
|
|
991
|
-
<line num="
|
|
992
|
-
<line num="
|
|
993
|
-
<line num="
|
|
994
|
-
<line num="
|
|
995
|
-
<line num="
|
|
996
|
-
<line num="
|
|
1027
|
+
<line num="460" count="1" type="stmt"/>
|
|
1028
|
+
<line num="462" count="1" type="stmt"/>
|
|
1029
|
+
<line num="464" count="1" type="stmt"/>
|
|
1030
|
+
<line num="465" count="1" type="stmt"/>
|
|
1031
|
+
<line num="474" count="1" type="stmt"/>
|
|
1032
|
+
<line num="483" count="2" type="stmt"/>
|
|
1033
|
+
<line num="485" count="2" type="stmt"/>
|
|
1034
|
+
<line num="486" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
1035
|
+
<line num="487" count="1" type="stmt"/>
|
|
1036
|
+
<line num="490" count="1" type="stmt"/>
|
|
1037
|
+
<line num="492" count="1" type="stmt"/>
|
|
1038
|
+
<line num="494" count="0" type="stmt"/>
|
|
1039
|
+
<line num="495" count="0" type="stmt"/>
|
|
1040
|
+
<line num="498" count="1" type="stmt"/>
|
|
1041
|
+
<line num="499" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
997
1042
|
<line num="500" count="1" type="stmt"/>
|
|
998
|
-
<line num="
|
|
999
|
-
<line num="
|
|
1000
|
-
<line num="
|
|
1001
|
-
<line num="
|
|
1002
|
-
<line num="
|
|
1003
|
-
<line num="
|
|
1004
|
-
<line num="
|
|
1005
|
-
<line num="
|
|
1006
|
-
<line num="
|
|
1007
|
-
<line num="
|
|
1008
|
-
<line num="
|
|
1009
|
-
<line num="524" count="1" type="stmt"/>
|
|
1010
|
-
<line num="525" count="1" type="stmt"/>
|
|
1011
|
-
<line num="526" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1012
|
-
<line num="527" count="1" type="stmt"/>
|
|
1013
|
-
<line num="529" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1014
|
-
<line num="530" count="0" type="stmt"/>
|
|
1043
|
+
<line num="506" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1044
|
+
<line num="507" count="0" type="stmt"/>
|
|
1045
|
+
<line num="510" count="1" type="stmt"/>
|
|
1046
|
+
<line num="519" count="1" type="stmt"/>
|
|
1047
|
+
<line num="520" count="1" type="stmt"/>
|
|
1048
|
+
<line num="521" count="1" type="stmt"/>
|
|
1049
|
+
<line num="522" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1050
|
+
<line num="523" count="0" type="stmt"/>
|
|
1051
|
+
<line num="526" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1052
|
+
<line num="528" count="1" type="stmt"/>
|
|
1053
|
+
<line num="529" count="1" type="stmt"/>
|
|
1015
1054
|
<line num="531" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1016
1055
|
<line num="532" count="0" type="stmt"/>
|
|
1017
|
-
<line num="
|
|
1018
|
-
<line num="
|
|
1019
|
-
<line num="
|
|
1056
|
+
<line num="533" count="0" type="stmt"/>
|
|
1057
|
+
<line num="534" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
1058
|
+
<line num="535" count="0" type="stmt"/>
|
|
1059
|
+
<line num="537" count="1" type="cond" truecount="4" falsecount="0"/>
|
|
1060
|
+
<line num="538" count="1" type="stmt"/>
|
|
1061
|
+
<line num="541" count="1" type="stmt"/>
|
|
1062
|
+
<line num="542" count="1" type="stmt"/>
|
|
1063
|
+
<line num="543" count="1" type="stmt"/>
|
|
1064
|
+
<line num="544" count="1" type="stmt"/>
|
|
1020
1065
|
<line num="546" count="1" type="stmt"/>
|
|
1021
|
-
<line num="
|
|
1066
|
+
<line num="554" count="1" type="stmt"/>
|
|
1022
1067
|
<line num="555" count="1" type="stmt"/>
|
|
1023
|
-
<line num="556" count="1" type="
|
|
1068
|
+
<line num="556" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1024
1069
|
<line num="557" count="1" type="stmt"/>
|
|
1025
|
-
<line num="
|
|
1026
|
-
<line num="
|
|
1027
|
-
<line num="
|
|
1028
|
-
<line num="
|
|
1029
|
-
<line num="
|
|
1030
|
-
<line num="
|
|
1031
|
-
<line num="
|
|
1032
|
-
<line num="
|
|
1033
|
-
<line num="
|
|
1034
|
-
<line num="
|
|
1035
|
-
<line num="
|
|
1036
|
-
<line num="
|
|
1037
|
-
<line num="
|
|
1038
|
-
<line num="
|
|
1039
|
-
<line num="594" count="
|
|
1040
|
-
<line num="
|
|
1041
|
-
<line num="
|
|
1042
|
-
<line num="
|
|
1043
|
-
<line num="
|
|
1044
|
-
<line num="611" count="
|
|
1045
|
-
<line num="
|
|
1046
|
-
<line num="
|
|
1047
|
-
<line num="
|
|
1048
|
-
<line num="
|
|
1049
|
-
<line num="617" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1050
|
-
<line num="618" count="0" type="stmt"/>
|
|
1070
|
+
<line num="559" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1071
|
+
<line num="560" count="0" type="stmt"/>
|
|
1072
|
+
<line num="561" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1073
|
+
<line num="562" count="0" type="stmt"/>
|
|
1074
|
+
<line num="564" count="1" type="stmt"/>
|
|
1075
|
+
<line num="567" count="1" type="stmt"/>
|
|
1076
|
+
<line num="575" count="1" type="stmt"/>
|
|
1077
|
+
<line num="576" count="1" type="stmt"/>
|
|
1078
|
+
<line num="577" count="1" type="stmt"/>
|
|
1079
|
+
<line num="585" count="1" type="stmt"/>
|
|
1080
|
+
<line num="586" count="1" type="stmt"/>
|
|
1081
|
+
<line num="587" count="1" type="stmt"/>
|
|
1082
|
+
<line num="591" count="0" type="stmt"/>
|
|
1083
|
+
<line num="592" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
1084
|
+
<line num="594" count="0" type="stmt"/>
|
|
1085
|
+
<line num="595" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
1086
|
+
<line num="597" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
1087
|
+
<line num="598" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
1088
|
+
<line num="600" count="0" type="stmt"/>
|
|
1089
|
+
<line num="611" count="0" type="stmt"/>
|
|
1090
|
+
<line num="612" count="0" type="stmt"/>
|
|
1091
|
+
<line num="613" count="0" type="stmt"/>
|
|
1092
|
+
<line num="614" count="0" type="stmt"/>
|
|
1093
|
+
<line num="615" count="0" type="stmt"/>
|
|
1051
1094
|
<line num="619" count="0" type="stmt"/>
|
|
1052
|
-
<line num="
|
|
1053
|
-
<line num="
|
|
1054
|
-
<line num="
|
|
1055
|
-
<line num="
|
|
1056
|
-
<line num="
|
|
1057
|
-
<line num="
|
|
1058
|
-
<line num="
|
|
1059
|
-
<line num="
|
|
1060
|
-
<line num="
|
|
1061
|
-
<line num="
|
|
1062
|
-
<line num="
|
|
1063
|
-
<line num="
|
|
1064
|
-
<line num="648" count="
|
|
1065
|
-
<line num="649" count="
|
|
1066
|
-
<line num="
|
|
1067
|
-
<line num="
|
|
1068
|
-
<line num="
|
|
1069
|
-
<line num="
|
|
1095
|
+
<line num="623" count="18" type="cond" truecount="1" falsecount="0"/>
|
|
1096
|
+
<line num="624" count="16" type="stmt"/>
|
|
1097
|
+
<line num="629" count="16" type="stmt"/>
|
|
1098
|
+
<line num="630" count="16" type="cond" truecount="1" falsecount="0"/>
|
|
1099
|
+
<line num="631" count="14" type="stmt"/>
|
|
1100
|
+
<line num="637" count="16" type="stmt"/>
|
|
1101
|
+
<line num="641" count="2" type="cond" truecount="0" falsecount="1"/>
|
|
1102
|
+
<line num="643" count="2" type="stmt"/>
|
|
1103
|
+
<line num="644" count="2" type="stmt"/>
|
|
1104
|
+
<line num="645" count="2" type="stmt"/>
|
|
1105
|
+
<line num="646" count="2" type="stmt"/>
|
|
1106
|
+
<line num="647" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1107
|
+
<line num="648" count="0" type="stmt"/>
|
|
1108
|
+
<line num="649" count="0" type="stmt"/>
|
|
1109
|
+
<line num="654" count="9" type="stmt"/>
|
|
1110
|
+
<line num="656" count="9" type="cond" truecount="3" falsecount="0"/>
|
|
1111
|
+
<line num="657" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
1112
|
+
<line num="658" count="1" type="stmt"/>
|
|
1113
|
+
<line num="659" count="1" type="cond" truecount="3" falsecount="0"/>
|
|
1114
|
+
<line num="660" count="1" type="stmt"/>
|
|
1115
|
+
<line num="664" count="9" type="stmt"/>
|
|
1116
|
+
<line num="669" count="26" type="cond" truecount="4" falsecount="0"/>
|
|
1117
|
+
<line num="670" count="15" type="stmt"/>
|
|
1118
|
+
<line num="672" count="11" type="stmt"/>
|
|
1119
|
+
<line num="674" count="26" type="cond" truecount="1" falsecount="0"/>
|
|
1120
|
+
<line num="675" count="1" type="stmt"/>
|
|
1121
|
+
<line num="678" count="25" type="stmt"/>
|
|
1122
|
+
<line num="679" count="25" type="cond" truecount="1" falsecount="0"/>
|
|
1123
|
+
<line num="681" count="24" type="cond" truecount="0" falsecount="1"/>
|
|
1124
|
+
<line num="682" count="0" type="stmt"/>
|
|
1125
|
+
<line num="684" count="24" type="stmt"/>
|
|
1126
|
+
<line num="694" count="5" type="stmt"/>
|
|
1070
1127
|
</file>
|
|
1071
1128
|
<file name="events.ts" path="/data/magic/tmagic-editor/packages/editor/src/services/events.ts">
|
|
1072
1129
|
<metrics statements="24" coveredstatements="20" conditionals="10" coveredconditionals="4" methods="12" coveredmethods="10"/>
|
|
@@ -1234,7 +1291,7 @@
|
|
|
1234
1291
|
</file>
|
|
1235
1292
|
</package>
|
|
1236
1293
|
<package name="src.utils">
|
|
1237
|
-
<metrics statements="
|
|
1294
|
+
<metrics statements="294" coveredstatements="164" conditionals="107" coveredconditionals="46" methods="65" coveredmethods="36"/>
|
|
1238
1295
|
<file name="compose.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/compose.ts">
|
|
1239
1296
|
<metrics statements="15" coveredstatements="13" conditionals="7" coveredconditionals="3" methods="3" coveredmethods="3"/>
|
|
1240
1297
|
<line num="5" count="6" type="stmt"/>
|
|
@@ -1262,7 +1319,7 @@
|
|
|
1262
1319
|
<line num="29" count="2" type="stmt"/>
|
|
1263
1320
|
</file>
|
|
1264
1321
|
<file name="editor.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/editor.ts">
|
|
1265
|
-
<metrics statements="
|
|
1322
|
+
<metrics statements="98" coveredstatements="75" conditionals="59" coveredconditionals="36" methods="23" coveredmethods="22"/>
|
|
1266
1323
|
<line num="19" count="8" type="stmt"/>
|
|
1267
1324
|
<line num="22" count="8" type="stmt"/>
|
|
1268
1325
|
<line num="24" count="8" type="stmt"/>
|
|
@@ -1311,54 +1368,56 @@
|
|
|
1311
1368
|
<line num="143" count="8" type="stmt"/>
|
|
1312
1369
|
<line num="144" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1313
1370
|
<line num="145" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1314
|
-
<line num="147" count="3" type="cond" truecount="2" falsecount="
|
|
1315
|
-
<line num="149" count="0" type="
|
|
1316
|
-
<line num="
|
|
1317
|
-
<line num="152" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1371
|
+
<line num="147" count="3" type="cond" truecount="2" falsecount="2"/>
|
|
1372
|
+
<line num="149" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1373
|
+
<line num="150" count="0" type="stmt"/>
|
|
1318
1374
|
<line num="153" count="0" type="stmt"/>
|
|
1319
|
-
<line num="155" count="0" type="
|
|
1320
|
-
<line num="
|
|
1321
|
-
<line num="
|
|
1322
|
-
<line num="
|
|
1323
|
-
<line num="
|
|
1375
|
+
<line num="155" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1376
|
+
<line num="156" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1377
|
+
<line num="157" count="0" type="stmt"/>
|
|
1378
|
+
<line num="159" count="0" type="stmt"/>
|
|
1379
|
+
<line num="162" count="0" type="stmt"/>
|
|
1380
|
+
<line num="165" count="8" type="stmt"/>
|
|
1381
|
+
<line num="166" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
1324
1382
|
<line num="167" count="3" type="stmt"/>
|
|
1325
|
-
<line num="170" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
1326
1383
|
<line num="171" count="3" type="stmt"/>
|
|
1327
|
-
<line num="174" count="
|
|
1328
|
-
<line num="
|
|
1329
|
-
<line num="178" count="
|
|
1330
|
-
<line num="
|
|
1331
|
-
<line num="
|
|
1332
|
-
<line num="
|
|
1333
|
-
<line num="
|
|
1334
|
-
<line num="
|
|
1335
|
-
<line num="
|
|
1336
|
-
<line num="190" count="0" type="stmt"/>
|
|
1384
|
+
<line num="174" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
1385
|
+
<line num="175" count="3" type="stmt"/>
|
|
1386
|
+
<line num="178" count="0" type="stmt"/>
|
|
1387
|
+
<line num="181" count="8" type="stmt"/>
|
|
1388
|
+
<line num="182" count="1" type="stmt"/>
|
|
1389
|
+
<line num="183" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1390
|
+
<line num="185" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1391
|
+
<line num="188" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1392
|
+
<line num="190" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1337
1393
|
<line num="191" count="0" type="stmt"/>
|
|
1338
|
-
<line num="
|
|
1339
|
-
<line num="
|
|
1394
|
+
<line num="193" count="0" type="stmt"/>
|
|
1395
|
+
<line num="194" count="0" type="stmt"/>
|
|
1396
|
+
<line num="195" count="0" type="stmt"/>
|
|
1340
1397
|
<line num="198" count="1" type="stmt"/>
|
|
1341
|
-
<line num="
|
|
1342
|
-
<line num="
|
|
1343
|
-
<line num="
|
|
1344
|
-
<line num="
|
|
1345
|
-
<line num="209" count="
|
|
1398
|
+
<line num="201" count="8" type="stmt"/>
|
|
1399
|
+
<line num="202" count="1" type="stmt"/>
|
|
1400
|
+
<line num="203" count="1" type="stmt"/>
|
|
1401
|
+
<line num="208" count="1" type="stmt"/>
|
|
1402
|
+
<line num="209" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1403
|
+
<line num="210" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1346
1404
|
<line num="213" count="1" type="stmt"/>
|
|
1347
|
-
<line num="
|
|
1348
|
-
<line num="
|
|
1349
|
-
<line num="
|
|
1350
|
-
<line num="
|
|
1351
|
-
<line num="
|
|
1352
|
-
<line num="
|
|
1353
|
-
<line num="
|
|
1354
|
-
<line num="
|
|
1355
|
-
<line num="
|
|
1356
|
-
<line num="
|
|
1357
|
-
<line num="
|
|
1358
|
-
<line num="
|
|
1359
|
-
<line num="
|
|
1360
|
-
<line num="
|
|
1361
|
-
<line num="
|
|
1405
|
+
<line num="217" count="1" type="stmt"/>
|
|
1406
|
+
<line num="220" count="8" type="stmt"/>
|
|
1407
|
+
<line num="225" count="1" type="stmt"/>
|
|
1408
|
+
<line num="226" count="1" type="stmt"/>
|
|
1409
|
+
<line num="227" count="1" type="stmt"/>
|
|
1410
|
+
<line num="234" count="1" type="stmt"/>
|
|
1411
|
+
<line num="235" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
1412
|
+
<line num="236" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
1413
|
+
<line num="239" count="1" type="stmt"/>
|
|
1414
|
+
<line num="240" count="1" type="cond" truecount="0" falsecount="1"/>
|
|
1415
|
+
<line num="241" count="0" type="stmt"/>
|
|
1416
|
+
<line num="244" count="1" type="stmt"/>
|
|
1417
|
+
<line num="245" count="1" type="cond" truecount="1" falsecount="0"/>
|
|
1418
|
+
<line num="246" count="1" type="stmt"/>
|
|
1419
|
+
<line num="251" count="1" type="stmt"/>
|
|
1420
|
+
<line num="254" count="0" type="stmt"/>
|
|
1362
1421
|
</file>
|
|
1363
1422
|
<file name="index.ts" path="/data/magic/tmagic-editor/packages/editor/src/utils/index.ts">
|
|
1364
1423
|
<metrics statements="4" coveredstatements="4" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|