UNPKG

13.8 kBXMLView Raw
1<?xml version="1.0" encoding="UTF-8"?>
2<coverage generated="1496908652673" clover="3.2.0">
3 <project timestamp="1496908652673" name="All files">
4 <metrics statements="199" coveredstatements="159" conditionals="75" coveredconditionals="38" methods="49" coveredmethods="39" elements="323" coveredelements="236" complexity="0" loc="199" ncloc="199" packages="3" files="8" classes="8">
5 <package name="build">
6 <metrics statements="39" coveredstatements="23" conditionals="22" coveredconditionals="10" methods="7" coveredmethods="3"/>
7 <file name="redis-client.js" path="/Users/tung/projects/event-store/packages/event-store/build/redis-client.js">
8 <metrics statements="39" coveredstatements="23" conditionals="22" coveredconditionals="10" methods="7" coveredmethods="3"/>
9 <line num="3" count="1" type="stmt"/>
10 <line num="6" count="1" type="stmt"/>
11 <line num="8" count="1" type="cond" truecount="1" falsecount="3"/>
12 <line num="10" count="1" type="stmt"/>
13 <line num="12" count="1" type="stmt"/>
14 <line num="14" count="1" type="stmt"/>
15 <line num="16" count="1" type="stmt"/>
16 <line num="18" count="2" type="cond" truecount="3" falsecount="1"/>
17 <line num="20" count="1" type="stmt"/>
18 <line num="21" count="1" type="stmt"/>
19 <line num="23" count="1" type="stmt"/>
20 <line num="24" count="2" type="cond" truecount="4" falsecount="0"/>
21 <line num="25" count="2" type="stmt"/>
22 <line num="27" count="2" type="stmt"/>
23 <line num="29" count="0" type="stmt"/>
24 <line num="30" count="0" type="stmt"/>
25 <line num="31" count="0" type="stmt"/>
26 <line num="32" count="0" type="stmt"/>
27 <line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
28 <line num="35" count="0" type="stmt"/>
29 <line num="38" count="0" type="stmt"/>
30 <line num="42" count="2" type="stmt"/>
31 <line num="43" count="2" type="cond" truecount="2" falsecount="0"/>
32 <line num="44" count="1" type="stmt"/>
33 <line num="45" count="1" type="stmt"/>
34 <line num="49" count="2" type="stmt"/>
35 <line num="50" count="0" type="stmt"/>
36 <line num="51" count="0" type="stmt"/>
37 <line num="53" count="0" type="cond" truecount="0" falsecount="2"/>
38 <line num="54" count="0" type="stmt"/>
39 <line num="55" count="0" type="cond" truecount="0" falsecount="2"/>
40 <line num="56" count="0" type="stmt"/>
41 <line num="57" count="0" type="stmt"/>
42 <line num="62" count="2" type="stmt"/>
43 <line num="63" count="0" type="cond" truecount="0" falsecount="2"/>
44 <line num="64" count="0" type="stmt"/>
45 <line num="67" count="2" type="stmt"/>
46 <line num="70" count="1" type="stmt"/>
47 <line num="74" count="1" type="stmt"/>
48 </file>
49 </package>
50 <package name="src">
51 <metrics statements="141" coveredstatements="118" conditionals="53" coveredconditionals="28" methods="35" coveredmethods="30"/>
52 <file name="commit.js" path="/Users/tung/projects/event-store/packages/event-store/src/commit.js">
53 <metrics statements="10" coveredstatements="10" conditionals="2" coveredconditionals="2" methods="3" coveredmethods="3"/>
54 <line num="15" count="3" type="stmt"/>
55 <line num="16" count="12" type="stmt"/>
56 <line num="25" count="12" type="stmt"/>
57 <line num="33" count="3" type="stmt"/>
58 <line num="35" count="3" type="stmt"/>
59 <line num="36" count="2" type="stmt"/>
60 <line num="38" count="2" type="cond" truecount="2" falsecount="0"/>
61 <line num="39" count="1" type="stmt"/>
62 <line num="42" count="1" type="stmt"/>
63 <line num="44" count="1" type="stmt"/>
64 </file>
65 <file name="index.js" path="/Users/tung/projects/event-store/packages/event-store/src/index.js">
66 <metrics statements="9" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="1"/>
67 <line num="9" count="1" type="stmt"/>
68 <line num="16" count="1" type="stmt"/>
69 <line num="17" count="1" type="stmt"/>
70 <line num="18" count="1" type="stmt"/>
71 <line num="20" count="1" type="stmt"/>
72 <line num="24" count="0" type="stmt"/>
73 <line num="28" count="1" type="stmt"/>
74 <line num="30" count="1" type="stmt"/>
75 <line num="32" count="1" type="stmt"/>
76 </file>
77 <file name="query.js" path="/Users/tung/projects/event-store/packages/event-store/src/query.js">
78 <metrics statements="9" coveredstatements="9" conditionals="2" coveredconditionals="2" methods="4" coveredmethods="4"/>
79 <line num="7" count="4" type="stmt"/>
80 <line num="19" count="4" type="stmt"/>
81 <line num="20" count="1" type="stmt"/>
82 <line num="25" count="6" type="stmt"/>
83 <line num="32" count="1" type="stmt"/>
84 <line num="34" count="1" type="stmt"/>
85 <line num="35" count="1" type="cond" truecount="2" falsecount="0"/>
86 <line num="36" count="1" type="stmt"/>
87 <line num="39" count="1" type="stmt"/>
88 </file>
89 <file name="redis-client.js" path="/Users/tung/projects/event-store/packages/event-store/src/redis-client.js">
90 <metrics statements="21" coveredstatements="9" conditionals="11" coveredconditionals="2" methods="5" coveredmethods="2"/>
91 <line num="4" count="5" type="stmt"/>
92 <line num="7" count="5" type="cond" truecount="1" falsecount="0"/>
93 <line num="8" count="20" type="stmt"/>
94 <line num="11" count="0" type="cond" truecount="0" falsecount="2"/>
95 <line num="12" count="0" type="stmt"/>
96 <line num="15" count="0" type="stmt"/>
97 <line num="19" count="20" type="stmt"/>
98 <line num="20" count="15" type="cond" truecount="1" falsecount="1"/>
99 <line num="21" count="0" type="stmt"/>
100 <line num="22" count="0" type="stmt"/>
101 <line num="26" count="20" type="stmt"/>
102 <line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
103 <line num="28" count="0" type="stmt"/>
104 <line num="31" count="0" type="cond" truecount="0" falsecount="2"/>
105 <line num="32" count="0" type="stmt"/>
106 <line num="33" count="0" type="stmt"/>
107 <line num="38" count="20" type="stmt"/>
108 <line num="39" count="0" type="cond" truecount="0" falsecount="2"/>
109 <line num="40" count="0" type="stmt"/>
110 <line num="43" count="20" type="stmt"/>
111 <line num="46" count="5" type="stmt"/>
112 </file>
113 <file name="runLua.js" path="/Users/tung/projects/event-store/packages/event-store/src/runLua.js">
114 <metrics statements="15" coveredstatements="15" conditionals="8" coveredconditionals="5" methods="3" coveredmethods="3"/>
115 <line num="12" count="5" type="stmt"/>
116 <line num="13" count="13" type="stmt"/>
117 <line num="14" count="13" type="stmt"/>
118 <line num="17" count="5" type="stmt"/>
119 <line num="19" count="5" type="stmt"/>
120 <line num="21" count="14" type="cond" truecount="1" falsecount="1"/>
121 <line num="22" count="14" type="cond" truecount="1" falsecount="1"/>
122 <line num="24" count="14" type="stmt"/>
123 <line num="25" count="14" type="cond" truecount="2" falsecount="0"/>
124 <line num="26" count="1" type="stmt"/>
125 <line num="35" count="13" type="stmt"/>
126 <line num="41" count="13" type="cond" truecount="1" falsecount="1"/>
127 <line num="42" count="13" type="stmt"/>
128 <line num="43" count="13" type="stmt"/>
129 <line num="46" count="13" type="stmt"/>
130 </file>
131 <file name="subscribe.js" path="/Users/tung/projects/event-store/packages/event-store/src/subscribe.js">
132 <metrics statements="77" coveredstatements="67" conditionals="30" coveredconditionals="17" methods="18" coveredmethods="17"/>
133 <line num="10" count="3" type="stmt"/>
134 <line num="11" count="15" type="stmt"/>
135 <line num="12" count="15" type="stmt"/>
136 <line num="14" count="0" type="stmt"/>
137 <line num="19" count="4" type="cond" truecount="3" falsecount="1"/>
138 <line num="20" count="0" type="stmt"/>
139 <line num="24" count="6" type="stmt"/>
140 <line num="31" count="4" type="stmt"/>
141 <line num="32" count="4" type="stmt"/>
142 <line num="35" count="4" type="stmt"/>
143 <line num="36" count="4" type="stmt"/>
144 <line num="37" count="4" type="stmt"/>
145 <line num="39" count="4" type="stmt"/>
146 <line num="40" count="15" type="cond" truecount="1" falsecount="1"/>
147 <line num="42" count="15" type="stmt"/>
148 <line num="43" count="15" type="stmt"/>
149 <line num="45" count="15" type="cond" truecount="2" falsecount="0"/>
150 <line num="46" count="1" type="stmt"/>
151 <line num="47" count="1" type="stmt"/>
152 <line num="48" count="1" type="stmt"/>
153 <line num="52" count="15" type="cond" truecount="1" falsecount="1"/>
154 <line num="53" count="15" type="cond" truecount="1" falsecount="1"/>
155 <line num="56" count="4" type="stmt"/>
156 <line num="57" count="15" type="stmt"/>
157 <line num="59" count="15" type="stmt"/>
158 <line num="60" count="15" type="stmt"/>
159 <line num="61" count="15" type="stmt"/>
160 <line num="63" count="15" type="stmt"/>
161 <line num="70" count="4" type="stmt"/>
162 <line num="71" count="4" type="stmt"/>
163 <line num="72" count="4" type="stmt"/>
164 <line num="73" count="4" type="stmt"/>
165 <line num="75" count="4" type="stmt"/>
166 <line num="81" count="4" type="stmt"/>
167 <line num="84" count="4" type="stmt"/>
168 <line num="86" count="4" type="cond" truecount="1" falsecount="1"/>
169 <line num="87" count="0" type="stmt"/>
170 <line num="90" count="4" type="stmt"/>
171 <line num="92" count="4" type="stmt"/>
172 <line num="93" count="11" type="stmt"/>
173 <line num="95" count="55" type="stmt"/>
174 <line num="98" count="6" type="cond" truecount="1" falsecount="1"/>
175 <line num="99" count="6" type="stmt"/>
176 <line num="102" count="4" type="stmt"/>
177 <line num="103" count="4" type="cond" truecount="1" falsecount="1"/>
178 <line num="104" count="4" type="stmt"/>
179 <line num="105" count="4" type="stmt"/>
180 <line num="108" count="4" type="stmt"/>
181 <line num="109" count="4" type="stmt"/>
182 <line num="110" count="4" type="stmt"/>
183 <line num="113" count="4" type="stmt"/>
184 <line num="114" count="4" type="cond" truecount="2" falsecount="0"/>
185 <line num="115" count="3" type="stmt"/>
186 <line num="119" count="1" type="stmt"/>
187 <line num="120" count="1" type="stmt"/>
188 <line num="122" count="1" type="cond" truecount="1" falsecount="1"/>
189 <line num="123" count="1" type="cond" truecount="1" falsecount="1"/>
190 <line num="124" count="1" type="stmt"/>
191 <line num="125" count="5" type="stmt"/>
192 <line num="129" count="0" type="cond" truecount="0" falsecount="2"/>
193 <line num="130" count="0" type="stmt"/>
194 <line num="131" count="0" type="stmt"/>
195 <line num="133" count="0" type="stmt"/>
196 <line num="138" count="0" type="stmt"/>
197 <line num="141" count="4" type="stmt"/>
198 <line num="142" count="4" type="stmt"/>
199 <line num="143" count="4" type="cond" truecount="1" falsecount="1"/>
200 <line num="144" count="4" type="stmt"/>
201 <line num="146" count="4" type="stmt"/>
202 <line num="148" count="4" type="cond" truecount="1" falsecount="1"/>
203 <line num="153" count="4" type="stmt"/>
204 <line num="161" count="0" type="stmt"/>
205 <line num="162" count="0" type="stmt"/>
206 <line num="166" count="4" type="stmt"/>
207 <line num="168" count="4" type="stmt"/>
208 <line num="171" count="3" type="stmt"/>
209 <line num="172" count="3" type="stmt"/>
210 </file>
211 </package>
212 <package name="src.__tests__">
213 <metrics statements="19" coveredstatements="18" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="6"/>
214 <file name="fromURL.js" path="/Users/tung/projects/event-store/packages/event-store/src/__tests__/fromURL.js">
215 <metrics statements="19" coveredstatements="18" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="6"/>
216 <line num="4" count="2" type="stmt"/>
217 <line num="5" count="4" type="stmt"/>
218 <line num="7" count="4" type="stmt"/>
219 <line num="8" count="4" type="stmt"/>
220 <line num="9" count="8" type="stmt"/>
221 <line num="12" count="4" type="stmt"/>
222 <line num="13" count="0" type="stmt"/>
223 <line num="16" count="4" type="stmt"/>
224 <line num="17" count="4" type="stmt"/>
225 <line num="20" count="4" type="stmt"/>
226 <line num="21" count="4" type="stmt"/>
227 <line num="22" count="4" type="stmt"/>
228 <line num="24" count="4" type="stmt"/>
229 <line num="25" count="4" type="stmt"/>
230 <line num="26" count="4" type="stmt"/>
231 <line num="27" count="4" type="stmt"/>
232 <line num="28" count="4" type="stmt"/>
233 <line num="32" count="4" type="stmt"/>
234 <line num="34" count="4" type="stmt"/>
235 </file>
236 </package>
237 </metrics>
238 </project>
239</coverage>