UNPKG

default-template

Version:

一个用于定义默认值和转换对象结构的实用工具

146 lines (145 loc) 9.01 kB
<?xml version="1.0" encoding="UTF-8"?> <coverage generated="1751278587163" clover="3.2.0"> <project timestamp="1751278587163" name="All files"> <metrics statements="136" coveredstatements="111" conditionals="88" coveredconditionals="76" methods="7" coveredmethods="7" elements="231" coveredelements="194" complexity="0" loc="136" ncloc="136" packages="1" files="1" classes="1"/> <file name="index.ts" path="/Users/yuantao/Work/default-template/src/index.ts"> <metrics statements="136" coveredstatements="111" conditionals="88" coveredconditionals="76" methods="7" coveredmethods="7"/> <line num="31" count="1" type="stmt"/> <line num="47" count="1" type="cond" truecount="1" falsecount="0"/> <line num="48" count="4" type="stmt"/> <line num="49" count="4" type="stmt"/> <line num="50" count="4" type="stmt"/> <line num="51" count="1" type="stmt"/> <line num="72" count="131" type="cond" truecount="1" falsecount="0"/> <line num="73" count="131" type="stmt"/> <line num="74" count="131" type="stmt"/> <line num="75" count="131" type="cond" truecount="1" falsecount="0"/> <line num="76" count="119" type="cond" truecount="1" falsecount="0"/> <line num="77" count="68" type="cond" truecount="1" falsecount="0"/> <line num="78" count="43" type="cond" truecount="1" falsecount="0"/> <line num="79" count="43" type="cond" truecount="1" falsecount="0"/> <line num="80" count="42" type="cond" truecount="1" falsecount="0"/> <line num="81" count="40" type="cond" truecount="1" falsecount="0"/> <line num="82" count="37" type="cond" truecount="1" falsecount="0"/> <line num="83" count="36" type="stmt"/> <line num="85" count="131" type="stmt"/> <line num="101" count="54" type="cond" truecount="1" falsecount="0"/> <line num="102" count="54" type="cond" truecount="3" falsecount="0"/> <line num="103" count="54" type="cond" truecount="2" falsecount="0"/> <line num="104" count="54" type="stmt"/> <line num="122" count="36" type="cond" truecount="1" falsecount="0"/> <line num="123" count="36" type="cond" truecount="1" falsecount="0"/> <line num="124" count="8" type="cond" truecount="3" falsecount="0"/> <line num="125" count="6" type="stmt"/> <line num="126" count="6" type="cond" truecount="1" falsecount="0"/> <line num="127" count="36" type="cond" truecount="1" falsecount="0"/> <line num="128" count="20" type="cond" truecount="2" falsecount="0"/> <line num="129" count="8" type="stmt"/> <line num="130" count="8" type="stmt"/> <line num="131" count="8" type="cond" truecount="1" falsecount="0"/> <line num="132" count="20" type="cond" truecount="1" falsecount="1"/> <line num="133" count="0" type="stmt"/> <line num="134" count="0" type="cond" truecount="1" falsecount="0"/> <line num="135" count="36" type="cond" truecount="1" falsecount="0"/> <line num="136" count="5" type="cond" truecount="0" falsecount="1"/> <line num="137" count="5" type="cond" truecount="1" falsecount="0"/> <line num="138" count="36" type="cond" truecount="1" falsecount="0"/> <line num="139" count="1" type="cond" truecount="0" falsecount="1"/> <line num="140" count="0" type="stmt"/> <line num="141" count="0" type="cond" truecount="1" falsecount="0"/> <line num="142" count="36" type="cond" truecount="0" falsecount="1"/> <line num="143" count="0" type="stmt"/> <line num="144" count="0" type="stmt"/> <line num="145" count="0" type="cond" truecount="1" falsecount="0"/> <line num="146" count="36" type="cond" truecount="0" falsecount="1"/> <line num="147" count="0" type="stmt"/> <line num="148" count="0" type="stmt"/> <line num="149" count="0" type="cond" truecount="1" falsecount="0"/> <line num="150" count="36" type="cond" truecount="1" falsecount="0"/> <line num="151" count="1" type="cond" truecount="0" falsecount="1"/> <line num="152" count="0" type="stmt"/> <line num="153" count="0" type="stmt"/> <line num="154" count="1" type="stmt"/> <line num="155" count="1" type="stmt"/> <line num="251" count="56" type="cond" truecount="1" falsecount="0"/> <line num="252" count="56" type="stmt"/> <line num="253" count="56" type="stmt"/> <line num="277" count="107" type="cond" truecount="1" falsecount="0"/> <line num="279" count="107" type="cond" truecount="0" falsecount="1"/> <line num="280" count="0" type="stmt"/> <line num="281" count="0" type="stmt"/> <line num="282" count="0" type="stmt"/> <line num="283" count="0" type="stmt"/> <line num="284" count="107" type="cond" truecount="2" falsecount="0"/> <line num="285" count="107" type="cond" truecount="2" falsecount="0"/> <line num="286" count="107" type="cond" truecount="1" falsecount="0"/> <line num="287" count="60" type="cond" truecount="3" falsecount="0"/> <line num="288" count="60" type="cond" truecount="1" falsecount="0"/> <line num="289" count="107" type="cond" truecount="1" falsecount="0"/> <line num="290" count="14" type="cond" truecount="1" falsecount="0"/> <line num="291" count="10" type="cond" truecount="1" falsecount="0"/> <line num="293" count="8" type="cond" truecount="1" falsecount="0"/> <line num="294" count="2" type="cond" truecount="1" falsecount="0"/> <line num="296" count="4" type="stmt"/> <line num="297" count="4" type="stmt"/> <line num="298" count="4" type="cond" truecount="0" falsecount="1"/> <line num="299" count="0" type="stmt"/> <line num="300" count="2" type="stmt"/> <line num="301" count="8" type="cond" truecount="1" falsecount="0"/> <line num="302" count="6" type="cond" truecount="1" falsecount="0"/> <line num="303" count="6" type="stmt"/> <line num="304" count="8" type="cond" truecount="1" falsecount="0"/> <line num="305" count="2" type="stmt"/> <line num="306" count="2" type="cond" truecount="1" falsecount="0"/> <line num="307" count="4" type="stmt"/> <line num="308" count="4" type="cond" truecount="1" falsecount="0"/> <line num="309" count="19" type="stmt"/> <line num="310" count="19" type="stmt"/> <line num="311" count="19" type="cond" truecount="0" falsecount="1"/> <line num="312" count="0" type="stmt"/> <line num="313" count="0" type="stmt"/> <line num="342" count="23" type="cond" truecount="1" falsecount="0"/> <line num="343" count="23" type="cond" truecount="0" falsecount="1"/> <line num="344" count="23" type="stmt"/> <line num="345" count="23" type="stmt"/> <line num="346" count="23" type="cond" truecount="2" falsecount="0"/> <line num="349" count="23" type="cond" truecount="1" falsecount="0"/> <line num="350" count="30" type="cond" truecount="2" falsecount="0"/> <line num="351" count="26" type="stmt"/> <line num="352" count="26" type="stmt"/> <line num="353" count="30" type="cond" truecount="1" falsecount="0"/> <line num="354" count="4" type="cond" truecount="2" falsecount="0"/> <line num="355" count="4" type="stmt"/> <line num="356" count="4" type="cond" truecount="1" falsecount="0"/> <line num="357" count="26" type="stmt"/> <line num="358" count="26" type="stmt"/> <line num="359" count="30" type="stmt"/> <line num="362" count="23" type="cond" truecount="1" falsecount="0"/> <line num="363" count="4" type="cond" truecount="1" falsecount="0"/> <line num="364" count="9" type="cond" truecount="2" falsecount="0"/> <line num="365" count="7" type="stmt"/> <line num="366" count="7" type="stmt"/> <line num="367" count="9" type="cond" truecount="0" falsecount="1"/> <line num="368" count="0" type="stmt"/> <line num="369" count="0" type="stmt"/> <line num="370" count="0" type="cond" truecount="1" falsecount="0"/> <line num="371" count="7" type="stmt"/> <line num="372" count="7" type="stmt"/> <line num="373" count="9" type="stmt"/> <line num="374" count="4" type="stmt"/> <line num="377" count="23" type="cond" truecount="1" falsecount="0"/> <line num="378" count="30" type="cond" truecount="3" falsecount="0"/> <line num="379" count="4" type="stmt"/> <line num="380" count="4" type="stmt"/> <line num="381" count="30" type="cond" truecount="0" falsecount="1"/> <line num="382" count="0" type="stmt"/> <line num="383" count="0" type="stmt"/> <line num="384" count="0" type="cond" truecount="1" falsecount="0"/> <line num="385" count="4" type="stmt"/> <line num="386" count="4" type="stmt"/> <line num="387" count="30" type="stmt"/> <line num="388" count="23" type="stmt"/> <line num="389" count="23" type="stmt"/> </file> </project> </coverage>