Skip to content

Commit

Permalink
test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
khawarizmus committed Apr 18, 2018
1 parent 34b35ae commit becb2d8
Show file tree
Hide file tree
Showing 23 changed files with 3,043 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/
dist/
tests/unit/coverage
164 changes: 164 additions & 0 deletions coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1524064658522" clover="3.2.0">
<project timestamp="1524064658522" name="All files">
<metrics statements="124" coveredstatements="64" conditionals="28" coveredconditionals="9" methods="41" coveredmethods="22" elements="193" coveredelements="95" complexity="0" loc="124" ncloc="124" packages="2" files="9" classes="9">
<package name="src">
<metrics statements="86" coveredstatements="34" conditionals="28" coveredconditionals="9" methods="24" coveredmethods="9"/>
<file name="Apostille.ts" path="D:\Projects\Apostill\src\Apostille.ts">
<metrics statements="58" coveredstatements="21" conditionals="20" coveredconditionals="6" methods="15" coveredmethods="5"/>
<line num="6" count="1" type="stmt"/>
<line num="8" count="5" type="stmt"/>
<line num="9" count="5" type="stmt"/>
<line num="10" count="5" type="stmt"/>
<line num="11" count="5" type="stmt"/>
<line num="13" count="5" type="stmt"/>
<line num="14" count="5" type="cond" truecount="1" falsecount="1"/>
<line num="15" count="0" type="stmt"/>
<line num="17" count="5" type="stmt"/>
<line num="19" count="5" type="stmt"/>
<line num="21" count="5" type="stmt"/>
<line num="23" count="5" type="stmt"/>
<line num="28" count="5" type="cond" truecount="3" falsecount="1"/>
<line num="29" count="0" type="stmt"/>
<line num="32" count="5" type="cond" truecount="1" falsecount="1"/>
<line num="33" count="5" type="stmt"/>
<line num="34" count="5" type="cond" truecount="1" falsecount="1"/>
<line num="35" count="0" type="stmt"/>
<line num="43" count="5" type="stmt"/>
<line num="52" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="53" count="0" type="stmt"/>
<line num="61" count="0" type="stmt"/>
<line num="71" count="5" type="stmt"/>
<line num="72" count="5" type="stmt"/>
<line num="76" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="77" count="0" type="stmt"/>
<line num="80" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="81" count="0" type="stmt"/>
<line num="89" count="0" type="stmt"/>
<line num="97" count="0" type="stmt"/>
<line num="101" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="102" count="0" type="stmt"/>
<line num="104" count="0" type="stmt"/>
<line num="105" count="0" type="stmt"/>
<line num="106" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="107" count="0" type="stmt"/>
<line num="108" count="0" type="stmt"/>
<line num="110" count="0" type="stmt"/>
<line num="111" count="0" type="stmt"/>
<line num="113" count="0" type="stmt"/>
<line num="116" count="0" type="stmt"/>
<line num="118" count="0" type="stmt"/>
<line num="119" count="0" type="stmt"/>
<line num="120" count="0" type="stmt"/>
<line num="123" count="0" type="stmt"/>
<line num="130" count="0" type="stmt"/>
<line num="131" count="0" type="stmt"/>
<line num="133" count="0" type="stmt"/>
<line num="134" count="0" type="stmt"/>
<line num="136" count="0" type="stmt"/>
<line num="139" count="0" type="stmt"/>
<line num="144" count="2" type="stmt"/>
<line num="148" count="1" type="stmt"/>
<line num="152" count="0" type="stmt"/>
<line num="156" count="10" type="stmt"/>
<line num="160" count="0" type="stmt"/>
<line num="165" count="0" type="stmt"/>
<line num="166" count="0" type="stmt"/>
</file>
<file name="PublicApostille.ts" path="D:\Projects\Apostill\src\PublicApostille.ts">
<metrics statements="23" coveredstatements="8" conditionals="6" coveredconditionals="1" methods="8" coveredmethods="3"/>
<line num="8" count="1" type="stmt"/>
<line num="10" count="1" type="stmt"/>
<line num="11" count="1" type="cond" truecount="1" falsecount="1"/>
<line num="12" count="0" type="stmt"/>
<line num="13" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="14" count="0" type="stmt"/>
<line num="16" count="0" type="stmt"/>
<line num="18" count="1" type="stmt"/>
<line num="23" count="1" type="stmt"/>
<line num="24" count="1" type="stmt"/>
<line num="31" count="1" type="stmt"/>
<line num="35" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="36" count="0" type="stmt"/>
<line num="38" count="0" type="stmt"/>
<line num="39" count="0" type="stmt"/>
<line num="40" count="0" type="stmt"/>
<line num="41" count="0" type="stmt"/>
<line num="43" count="0" type="stmt"/>
<line num="44" count="0" type="stmt"/>
<line num="46" count="0" type="stmt"/>
<line num="51" count="0" type="stmt"/>
<line num="55" count="0" type="stmt"/>
<line num="59" count="2" type="stmt"/>
</file>
<file name="Sinks.ts" path="D:\Projects\Apostill\src\Sinks.ts">
<metrics statements="5" coveredstatements="5" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
<line num="1" count="1" type="cond" truecount="2" falsecount="0"/>
<line num="3" count="1" type="stmt"/>
<line num="5" count="1" type="stmt"/>
<line num="7" count="1" type="stmt"/>
<line num="9" count="1" type="stmt"/>
</file>
</package>
<package name="src.hashFunctions">
<metrics statements="38" coveredstatements="30" conditionals="0" coveredconditionals="0" methods="17" coveredmethods="13"/>
<file name="HashFunction.ts" path="D:\Projects\Apostill\src\hashFunctions\HashFunction.ts">
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
<line num="6" count="6" type="stmt"/>
<line num="7" count="6" type="stmt"/>
</file>
<file name="md5.ts" path="D:\Projects\Apostill\src\hashFunctions\md5.ts">
<metrics statements="7" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="2"/>
<line num="5" count="2" type="stmt"/>
<line num="9" count="1" type="stmt"/>
<line num="13" count="1" type="stmt"/>
<line num="14" count="1" type="stmt"/>
<line num="15" count="1" type="stmt"/>
<line num="18" count="0" type="stmt"/>
<line num="19" count="0" type="stmt"/>
</file>
<file name="sha1.ts" path="D:\Projects\Apostill\src\hashFunctions\sha1.ts">
<metrics statements="7" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="2"/>
<line num="5" count="2" type="stmt"/>
<line num="9" count="1" type="stmt"/>
<line num="13" count="1" type="stmt"/>
<line num="14" count="1" type="stmt"/>
<line num="15" count="1" type="stmt"/>
<line num="18" count="0" type="stmt"/>
<line num="19" count="0" type="stmt"/>
</file>
<file name="sha256.ts" path="D:\Projects\Apostill\src\hashFunctions\sha256.ts">
<metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
<line num="5" count="2" type="stmt"/>
<line num="9" count="5" type="stmt"/>
<line num="12" count="2" type="stmt"/>
<line num="15" count="1" type="stmt"/>
<line num="16" count="1" type="stmt"/>
<line num="17" count="1" type="stmt"/>
<line num="20" count="1" type="stmt"/>
<line num="21" count="1" type="stmt"/>
</file>
<file name="sha3-256.ts" path="D:\Projects\Apostill\src\hashFunctions\sha3-256.ts">
<metrics statements="7" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="2"/>
<line num="5" count="2" type="stmt"/>
<line num="9" count="1" type="stmt"/>
<line num="13" count="1" type="stmt"/>
<line num="14" count="1" type="stmt"/>
<line num="15" count="1" type="stmt"/>
<line num="18" count="0" type="stmt"/>
<line num="19" count="0" type="stmt"/>
</file>
<file name="sha3-512.ts" path="D:\Projects\Apostill\src\hashFunctions\sha3-512.ts">
<metrics statements="7" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="2"/>
<line num="5" count="2" type="stmt"/>
<line num="9" count="1" type="stmt"/>
<line num="13" count="1" type="stmt"/>
<line num="14" count="1" type="stmt"/>
<line num="15" count="1" type="stmt"/>
<line num="18" count="0" type="stmt"/>
<line num="19" count="0" type="stmt"/>
</file>
</package>
</metrics>
</project>
</coverage>
Loading

0 comments on commit becb2d8

Please sign in to comment.