|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<coverage generated="1667752600"> |
3 | | - <project timestamp="1667752600"> |
| 2 | +<coverage generated="1668112593"> |
| 3 | + <project timestamp="1668112593"> |
4 | 4 | <file name="/home/runner/work/array/array/src/Arr.php"> |
5 | 5 | <class name="HiFolks\DataType\Arr" namespace="global"> |
6 | 6 | <metrics complexity="90" methods="54" coveredmethods="54" conditionals="0" coveredconditionals="0" statements="139" coveredstatements="139" elements="193" coveredelements="193"/> |
7 | 7 | </class> |
8 | | - <line num="17" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="74"/> |
9 | | - <line num="19" type="stmt" count="74"/> |
| 8 | + <line num="17" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="76"/> |
| 9 | + <line num="19" type="stmt" count="76"/> |
10 | 10 | <line num="22" type="method" name="fromFunction" visibility="public" complexity="2" crap="2" count="1"/> |
11 | 11 | <line num="24" type="stmt" count="1"/> |
12 | 12 | <line num="25" type="stmt" count="1"/> |
|
27 | 27 | <line num="70" type="stmt" count="56"/> |
28 | 28 | <line num="80" type="method" name="of" visibility="public" complexity="1" crap="1" count="1"/> |
29 | 29 | <line num="82" type="stmt" count="1"/> |
30 | | - <line num="85" type="method" name="count" visibility="public" complexity="1" crap="1" count="40"/> |
31 | | - <line num="87" type="stmt" count="40"/> |
| 30 | + <line num="85" type="method" name="count" visibility="public" complexity="1" crap="1" count="41"/> |
| 31 | + <line num="87" type="stmt" count="41"/> |
32 | 32 | <line num="90" type="method" name="length" visibility="public" complexity="1" crap="1" count="37"/> |
33 | 33 | <line num="92" type="stmt" count="37"/> |
34 | | - <line num="98" type="method" name="arr" visibility="public" complexity="1" crap="1" count="34"/> |
35 | | - <line num="100" type="stmt" count="34"/> |
| 34 | + <line num="98" type="method" name="arr" visibility="public" complexity="1" crap="1" count="37"/> |
| 35 | + <line num="100" type="stmt" count="37"/> |
36 | 36 | <line num="106" type="method" name="get" visibility="public" complexity="1" crap="1" count="21"/> |
37 | 37 | <line num="108" type="stmt" count="21"/> |
38 | 38 | <line num="120" type="method" name="at" visibility="public" complexity="2" crap="2" count="1"/> |
|
41 | 41 | <line num="126" type="stmt" count="1"/> |
42 | 42 | <line num="136" type="method" name="current" visibility="public" complexity="1" crap="1" count="8"/> |
43 | 43 | <line num="138" type="stmt" count="8"/> |
44 | | - <line num="148" type="method" name="next" visibility="public" complexity="1" crap="1" count="9"/> |
45 | | - <line num="150" type="stmt" count="9"/> |
| 44 | + <line num="148" type="method" name="next" visibility="public" complexity="1" crap="1" count="10"/> |
| 45 | + <line num="150" type="stmt" count="10"/> |
46 | 46 | <line num="153" type="method" name="prev" visibility="public" complexity="1" crap="1" count="1"/> |
47 | 47 | <line num="155" type="stmt" count="1"/> |
48 | | - <line num="165" type="method" name="key" visibility="public" complexity="1" crap="1" count="8"/> |
49 | | - <line num="167" type="stmt" count="8"/> |
50 | | - <line num="178" type="method" name="valid" visibility="public" complexity="1" crap="1" count="8"/> |
51 | | - <line num="180" type="stmt" count="8"/> |
52 | | - <line num="190" type="method" name="rewind" visibility="public" complexity="1" crap="1" count="8"/> |
53 | | - <line num="192" type="stmt" count="8"/> |
| 48 | + <line num="165" type="method" name="key" visibility="public" complexity="1" crap="1" count="9"/> |
| 49 | + <line num="167" type="stmt" count="9"/> |
| 50 | + <line num="178" type="method" name="valid" visibility="public" complexity="1" crap="1" count="9"/> |
| 51 | + <line num="180" type="stmt" count="9"/> |
| 52 | + <line num="190" type="method" name="rewind" visibility="public" complexity="1" crap="1" count="9"/> |
| 53 | + <line num="192" type="stmt" count="9"/> |
54 | 54 | <line num="201" type="method" name="forEach" visibility="public" complexity="1" crap="1" count="4"/> |
55 | 55 | <line num="203" type="stmt" count="4"/> |
56 | 56 | <line num="205" type="stmt" count="4"/> |
|
202 | 202 | </file> |
203 | 203 | <file name="/home/runner/work/array/array/src/Classes/Operation.php"> |
204 | 204 | <class name="HiFolks\DataType\Classes\Operation" namespace="global"> |
205 | | - <metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="1" elements="2" coveredelements="2"/> |
| 205 | + <metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="0" elements="2" coveredelements="0"/> |
206 | 206 | </class> |
207 | | - <line num="9" type="method" name="sum" visibility="public" complexity="1" crap="1" count="2"/> |
208 | | - <line num="11" type="stmt" count="2"/> |
209 | | - <metrics loc="14" ncloc="14" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="1" elements="2" coveredelements="2"/> |
| 207 | + <line num="9" type="method" name="sum" visibility="public" complexity="1" crap="2" count="0"/> |
| 208 | + <line num="11" type="stmt" count="0"/> |
| 209 | + <metrics loc="14" ncloc="14" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="0" elements="2" coveredelements="0"/> |
210 | 210 | </file> |
211 | 211 | <file name="/home/runner/work/array/array/src/Table.php"> |
212 | 212 | <class name="HiFolks\DataType\Table" namespace="global"> |
213 | | - <metrics complexity="20" methods="13" coveredmethods="13" conditionals="0" coveredconditionals="0" statements="55" coveredstatements="55" elements="68" coveredelements="68"/> |
| 213 | + <metrics complexity="21" methods="13" coveredmethods="13" conditionals="0" coveredconditionals="0" statements="54" coveredstatements="54" elements="67" coveredelements="67"/> |
214 | 214 | </class> |
215 | | - <line num="7" type="method" name="make" visibility="public" complexity="1" crap="1" count="18"/> |
216 | | - <line num="9" type="stmt" count="18"/> |
| 215 | + <line num="7" type="method" name="make" visibility="public" complexity="1" crap="1" count="20"/> |
| 216 | + <line num="9" type="stmt" count="20"/> |
217 | 217 | <line num="12" type="method" name="insert" visibility="public" complexity="1" crap="1" count="3"/> |
218 | 218 | <line num="14" type="stmt" count="3"/> |
219 | 219 | <line num="17" type="method" name="first" visibility="public" complexity="1" crap="1" count="2"/> |
|
234 | 234 | <line num="63" type="method" name="except" visibility="public" complexity="1" crap="1" count="1"/> |
235 | 235 | <line num="65" type="stmt" count="1"/> |
236 | 236 | <line num="67" type="stmt" count="1"/> |
237 | | - <line num="76" type="method" name="where" visibility="public" complexity="3" crap="3" count="7"/> |
238 | | - <line num="78" type="stmt" count="7"/> |
| 237 | + <line num="76" type="method" name="where" visibility="public" complexity="3" crap="3" count="8"/> |
| 238 | + <line num="78" type="stmt" count="8"/> |
239 | 239 | <line num="79" type="stmt" count="1"/> |
240 | 240 | <line num="80" type="stmt" count="1"/> |
241 | | - <line num="82" type="stmt" count="7"/> |
| 241 | + <line num="82" type="stmt" count="8"/> |
242 | 242 | <line num="83" type="stmt" count="2"/> |
243 | 243 | <line num="84" type="stmt" count="2"/> |
244 | | - <line num="87" type="stmt" count="7"/> |
| 244 | + <line num="87" type="stmt" count="8"/> |
245 | 245 | <line num="88" type="stmt" count="1"/> |
246 | 246 | <line num="89" type="stmt" count="2"/> |
247 | 247 | <line num="90" type="stmt" count="2"/> |
|
250 | 250 | <line num="93" type="stmt" count="1"/> |
251 | 251 | <line num="94" type="stmt" count="1"/> |
252 | 252 | <line num="95" type="stmt" count="1"/> |
253 | | - <line num="96" type="stmt" count="1"/> |
254 | | - <line num="98" type="stmt" count="7"/> |
255 | | - <line num="100" type="stmt" count="7"/> |
256 | | - <line num="108" type="method" name="orderBy" visibility="public" complexity="2" crap="2" count="2"/> |
257 | | - <line num="110" type="stmt" count="2"/> |
258 | | - <line num="112" type="stmt" count="2"/> |
| 253 | + <line num="96" type="stmt" count="2"/> |
| 254 | + <line num="98" type="stmt" count="8"/> |
| 255 | + <line num="100" type="stmt" count="8"/> |
| 256 | + <line num="108" type="method" name="orderBy" visibility="public" complexity="2" crap="2" count="3"/> |
| 257 | + <line num="110" type="stmt" count="3"/> |
| 258 | + <line num="112" type="stmt" count="3"/> |
259 | 259 | <line num="113" type="stmt" count="1"/> |
260 | 260 | <line num="114" type="stmt" count="1"/> |
261 | | - <line num="117" type="stmt" count="1"/> |
262 | | - <line num="118" type="stmt" count="1"/> |
263 | | - <line num="122" type="stmt" count="2"/> |
264 | | - <line num="124" type="stmt" count="2"/> |
| 261 | + <line num="117" type="stmt" count="2"/> |
| 262 | + <line num="118" type="stmt" count="2"/> |
| 263 | + <line num="122" type="stmt" count="3"/> |
| 264 | + <line num="124" type="stmt" count="3"/> |
265 | 265 | <line num="132" type="method" name="calc" visibility="public" complexity="2" crap="2" count="1"/> |
266 | 266 | <line num="134" type="stmt" count="1"/> |
267 | 267 | <line num="135" type="stmt" count="1"/> |
268 | 268 | <line num="138" type="stmt" count="1"/> |
269 | | - <line num="141" type="method" name="groupBy" visibility="public" complexity="3" crap="3" count="2"/> |
270 | | - <line num="143" type="stmt" count="2"/> |
271 | | - <line num="144" type="stmt" count="2"/> |
272 | | - <line num="145" type="stmt" count="2"/> |
273 | | - <line num="146" type="stmt" count="2"/> |
| 269 | + <line num="146" type="method" name="groupBy" visibility="public" complexity="3" crap="3" count="2"/> |
274 | 270 | <line num="148" type="stmt" count="2"/> |
| 271 | + <line num="150" type="stmt" count="2"/> |
275 | 272 | <line num="151" type="stmt" count="2"/> |
276 | | - <line num="154" type="method" name="groupThenApply" visibility="public" complexity="2" crap="2" count="2"/> |
277 | | - <line num="156" type="stmt" count="2"/> |
| 273 | + <line num="152" type="stmt" count="1"/> |
| 274 | + <line num="154" type="stmt" count="2"/> |
278 | 275 | <line num="157" type="stmt" count="2"/> |
279 | | - <line num="158" type="stmt" count="2"/> |
280 | | - <line num="159" type="stmt" count="2"/> |
281 | | - <line num="160" type="stmt" count="2"/> |
282 | | - <line num="166" type="stmt" count="2"/> |
283 | | - <metrics loc="169" ncloc="142" classes="1" methods="13" coveredmethods="13" conditionals="0" coveredconditionals="0" statements="55" coveredstatements="55" elements="68" coveredelements="68"/> |
| 276 | + <line num="163" type="method" name="transform" visibility="public" complexity="3" crap="3" count="1"/> |
| 277 | + <line num="167" type="stmt" count="1"/> |
| 278 | + <line num="168" type="stmt" count="1"/> |
| 279 | + <line num="169" type="stmt" count="1"/> |
| 280 | + <line num="170" type="stmt" count="1"/> |
| 281 | + <line num="174" type="stmt" count="1"/> |
| 282 | + <metrics loc="177" ncloc="142" classes="1" methods="13" coveredmethods="13" conditionals="0" coveredconditionals="0" statements="54" coveredstatements="54" elements="67" coveredelements="67"/> |
284 | 283 | </file> |
285 | 284 | <file name="/home/runner/work/array/array/src/Traits/Calculable.php"> |
286 | 285 | <class name="HiFolks\DataType\Traits\Calculable" namespace="global"> |
|
294 | 293 | <line num="28" type="stmt" count="1"/> |
295 | 294 | <metrics loc="31" ncloc="21" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="4" coveredstatements="4" elements="6" coveredelements="6"/> |
296 | 295 | </file> |
297 | | - <metrics files="4" loc="944" ncloc="611" classes="4" methods="70" coveredmethods="70" conditionals="0" coveredconditionals="0" statements="199" coveredstatements="199" elements="269" coveredelements="269"/> |
| 296 | + <metrics files="4" loc="952" ncloc="611" classes="4" methods="70" coveredmethods="69" conditionals="0" coveredconditionals="0" statements="198" coveredstatements="197" elements="268" coveredelements="266"/> |
298 | 297 | </project> |
299 | 298 | </coverage> |
0 commit comments