Skip to content

Commit

Permalink
remove push in formatPlain
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanLiVa committed Jul 2, 2024
1 parent 1f1ff90 commit 42dacb2
Show file tree
Hide file tree
Showing 15 changed files with 203 additions and 262 deletions.
109 changes: 50 additions & 59 deletions coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -1,44 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1719930374642" clover="3.2.0">
<project timestamp="1719930374642" name="All files">
<metrics statements="193" coveredstatements="193" conditionals="52" coveredconditionals="52" methods="14" coveredmethods="14" elements="259" coveredelements="259" complexity="0" loc="193" ncloc="193" packages="2" files="7" classes="7"/>
<coverage generated="1719931014786" clover="3.2.0">
<project timestamp="1719931014786" name="All files">
<metrics statements="184" coveredstatements="184" conditionals="49" coveredconditionals="49" methods="13" coveredmethods="13" elements="246" coveredelements="246" complexity="0" loc="184" ncloc="184" packages="2" files="7" classes="7"/>
<package name="src">
<metrics statements="75" coveredstatements="75" conditionals="18" coveredconditionals="18" methods="7" coveredmethods="7"/>
<metrics statements="73" coveredstatements="73" conditionals="17" coveredconditionals="17" methods="6" coveredmethods="6"/>
<file name="buildTree.js" path="/home/username_bolivarli/frontend-project-46/src/buildTree.js">
<metrics statements="33" coveredstatements="33" conditionals="9" coveredconditionals="9" methods="2" coveredmethods="2"/>
<metrics statements="31" coveredstatements="31" conditionals="8" coveredconditionals="8" methods="1" coveredmethods="1"/>
<line num="1" count="1" type="stmt"/>
<line num="2" count="1" type="stmt"/>
<line num="3" count="1" type="cond" truecount="1" falsecount="0"/>
<line num="4" count="1" type="stmt"/>
<line num="5" count="1" type="cond" truecount="1" falsecount="0"/>
<line num="6" count="35" type="stmt"/>
<line num="7" count="35" type="stmt"/>
<line num="8" count="35" type="cond" truecount="1" falsecount="0"/>
<line num="9" count="126" type="stmt"/>
<line num="4" count="35" type="stmt"/>
<line num="5" count="35" type="stmt"/>
<line num="6" count="35" type="cond" truecount="1" falsecount="0"/>
<line num="7" count="126" type="stmt"/>
<line num="8" count="126" type="cond" truecount="1" falsecount="0"/>
<line num="9" count="14" type="stmt"/>
<line num="10" count="126" type="cond" truecount="1" falsecount="0"/>
<line num="11" count="14" type="stmt"/>
<line num="12" count="126" type="cond" truecount="1" falsecount="0"/>
<line num="13" count="35" type="stmt"/>
<line num="14" count="126" type="cond" truecount="2" falsecount="0"/>
<line num="11" count="35" type="stmt"/>
<line num="12" count="126" type="cond" truecount="2" falsecount="0"/>
<line num="13" count="28" type="stmt"/>
<line num="14" count="28" type="stmt"/>
<line num="15" count="28" type="stmt"/>
<line num="16" count="28" type="stmt"/>
<line num="17" count="28" type="stmt"/>
<line num="18" count="28" type="stmt"/>
<line num="18" count="126" type="cond" truecount="1" falsecount="0"/>
<line num="19" count="28" type="stmt"/>
<line num="20" count="126" type="cond" truecount="1" falsecount="0"/>
<line num="20" count="28" type="stmt"/>
<line num="21" count="28" type="stmt"/>
<line num="22" count="28" type="stmt"/>
<line num="23" count="28" type="stmt"/>
<line num="24" count="28" type="stmt"/>
<line num="25" count="28" type="stmt"/>
<line num="26" count="28" type="stmt"/>
<line num="27" count="126" type="cond" truecount="1" falsecount="0"/>
<line num="28" count="21" type="stmt"/>
<line num="29" count="126" type="stmt"/>
<line num="30" count="35" type="stmt"/>
<line num="31" count="35" type="stmt"/>
<line num="32" count="1" type="stmt"/>
<line num="33" count="1" type="stmt"/>
<line num="25" count="126" type="cond" truecount="1" falsecount="0"/>
<line num="26" count="21" type="stmt"/>
<line num="27" count="126" type="stmt"/>
<line num="28" count="35" type="stmt"/>
<line num="29" count="35" type="stmt"/>
<line num="30" count="1" type="stmt"/>
<line num="31" count="1" type="stmt"/>
</file>
<file name="index.js" path="/home/username_bolivarli/frontend-project-46/src/index.js">
<metrics statements="27" coveredstatements="27" conditionals="4" coveredconditionals="4" methods="4" coveredmethods="4"/>
Expand Down Expand Up @@ -90,7 +88,7 @@
</file>
</package>
<package name="src.formatters">
<metrics statements="118" coveredstatements="118" conditionals="34" coveredconditionals="34" methods="7" coveredmethods="7"/>
<metrics statements="111" coveredstatements="111" conditionals="32" coveredconditionals="32" methods="7" coveredmethods="7"/>
<file name="index.js" path="/home/username_bolivarli/frontend-project-46/src/formatters/index.js">
<metrics statements="20" coveredstatements="20" conditionals="5" coveredconditionals="5" methods="1" coveredmethods="1"/>
<line num="1" count="1" type="stmt"/>
Expand Down Expand Up @@ -121,7 +119,7 @@
<line num="3" count="1" type="stmt"/>
</file>
<file name="plain.js" path="/home/username_bolivarli/frontend-project-46/src/formatters/plain.js">
<metrics statements="49" coveredstatements="49" conditionals="16" coveredconditionals="16" methods="3" coveredmethods="3"/>
<metrics statements="42" coveredstatements="42" conditionals="14" coveredconditionals="14" methods="3" coveredmethods="3"/>
<line num="1" count="1" type="stmt"/>
<line num="2" count="1" type="stmt"/>
<line num="3" count="1" type="cond" truecount="1" falsecount="0"/>
Expand All @@ -135,42 +133,35 @@
<line num="11" count="6" type="stmt"/>
<line num="12" count="1" type="stmt"/>
<line num="13" count="1" type="cond" truecount="1" falsecount="0"/>
<line num="14" count="3" type="stmt"/>
<line num="15" count="3" type="stmt"/>
<line num="16" count="3" type="cond" truecount="1" falsecount="0"/>
<line num="17" count="11" type="cond" truecount="1" falsecount="0"/>
<line num="18" count="37" type="cond" truecount="2" falsecount="0"/>
<line num="14" count="3" type="cond" truecount="1" falsecount="0"/>
<line num="15" count="11" type="cond" truecount="1" falsecount="0"/>
<line num="16" count="37" type="stmt"/>
<line num="17" count="37" type="stmt"/>
<line num="18" count="37" type="stmt"/>
<line num="19" count="37" type="stmt"/>
<line num="20" count="37" type="stmt"/>
<line num="21" count="37" type="cond" truecount="1" falsecount="0"/>
<line num="22" count="10" type="stmt"/>
<line num="23" count="10" type="stmt"/>
<line num="22" count="8" type="stmt"/>
<line num="23" count="37" type="cond" truecount="1" falsecount="0"/>
<line num="24" count="10" type="stmt"/>
<line num="25" count="10" type="stmt"/>
<line num="26" count="37" type="cond" truecount="1" falsecount="0"/>
<line num="27" count="4" type="stmt"/>
<line num="28" count="4" type="stmt"/>
<line num="25" count="37" type="cond" truecount="1" falsecount="0"/>
<line num="26" count="4" type="stmt"/>
<line num="27" count="37" type="cond" truecount="1" falsecount="0"/>
<line num="28" count="8" type="stmt"/>
<line num="29" count="37" type="cond" truecount="1" falsecount="0"/>
<line num="30" count="8" type="stmt"/>
<line num="31" count="8" type="stmt"/>
<line num="32" count="8" type="stmt"/>
<line num="33" count="8" type="stmt"/>
<line num="34" count="37" type="cond" truecount="1" falsecount="0"/>
<line num="35" count="8" type="stmt"/>
<line num="36" count="8" type="stmt"/>
<line num="37" count="37" type="cond" truecount="1" falsecount="0"/>
<line num="38" count="6" type="stmt"/>
<line num="39" count="37" type="cond" truecount="1" falsecount="0"/>
<line num="40" count="1" type="stmt"/>
<line num="41" count="37" type="stmt"/>
<line num="42" count="11" type="stmt"/>
<line num="43" count="3" type="stmt"/>
<line num="44" count="3" type="stmt"/>
<line num="45" count="3" type="stmt"/>
<line num="46" count="3" type="stmt"/>
<line num="47" count="3" type="stmt"/>
<line num="48" count="1" type="stmt"/>
<line num="49" count="1" type="stmt"/>
<line num="30" count="6" type="stmt"/>
<line num="31" count="37" type="cond" truecount="1" falsecount="0"/>
<line num="32" count="1" type="stmt"/>
<line num="33" count="37" type="stmt"/>
<line num="34" count="11" type="stmt"/>
<line num="35" count="11" type="stmt"/>
<line num="36" count="11" type="stmt"/>
<line num="37" count="3" type="stmt"/>
<line num="38" count="3" type="stmt"/>
<line num="39" count="3" type="stmt"/>
<line num="40" count="3" type="stmt"/>
<line num="41" count="1" type="stmt"/>
<line num="42" count="1" type="stmt"/>
</file>
<file name="stylish.js" path="/home/username_bolivarli/frontend-project-46/src/formatters/stylish.js">
<metrics statements="46" coveredstatements="46" conditionals="12" coveredconditionals="12" methods="2" coveredmethods="2"/>
Expand Down
Loading

0 comments on commit 42dacb2

Please sign in to comment.