Skip to content

Commit

Permalink
feat: add an option to show app background
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomantovani committed Feb 18, 2024
1 parent 3f887a0 commit 0c35d0a
Show file tree
Hide file tree
Showing 21 changed files with 863 additions and 427 deletions.
144 changes: 60 additions & 84 deletions coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -1,102 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1708215970554" clover="3.2.0">
<project timestamp="1708215970554" name="All files">
<metrics statements="64" coveredstatements="64" conditionals="32" coveredconditionals="32" methods="17" coveredmethods="17" elements="113" coveredelements="113" complexity="0" loc="64" ncloc="64" packages="3" files="8" classes="8"/>
<coverage generated="1708292492611" clover="3.2.0">
<project timestamp="1708292492611" name="All files">
<metrics statements="52" coveredstatements="52" conditionals="36" coveredconditionals="36" methods="14" coveredmethods="14" elements="102" coveredelements="102" complexity="0" loc="52" ncloc="52" packages="2" files="5" classes="5"/>
<package name="src">
<metrics statements="28" coveredstatements="28" conditionals="22" coveredconditionals="22" methods="5" coveredmethods="5"/>
<metrics statements="28" coveredstatements="28" conditionals="23" coveredconditionals="23" methods="5" coveredmethods="5"/>
<file name="index.tsx" path="/Users/joaomantovani/projects/forceupdate/forceupdate-reactnative/src/index.tsx">
<metrics statements="28" coveredstatements="28" conditionals="22" coveredconditionals="22" methods="5" coveredmethods="5"/>
<line num="28" count="1" type="stmt"/>
<line num="36" count="64" type="stmt"/>
<line num="37" count="64" type="stmt"/>
<line num="39" count="64" type="stmt"/>
<line num="49" count="64" type="stmt"/>
<line num="51" count="64" type="stmt"/>
<line num="52" count="21" type="stmt"/>
<line num="54" count="21" type="cond" truecount="2" falsecount="0"/>
<line num="55" count="20" type="stmt"/>
<line num="58" count="21" type="stmt"/>
<line num="65" count="17" type="stmt"/>
<line num="67" count="17" type="cond" truecount="2" falsecount="0"/>
<line num="68" count="16" type="stmt"/>
<line num="72" count="5" type="stmt"/>
<line num="74" count="5" type="cond" truecount="2" falsecount="0"/>
<line num="75" count="4" type="stmt"/>
<line num="79" count="21" type="stmt"/>
<line num="81" count="21" type="cond" truecount="2" falsecount="0"/>
<line num="82" count="20" type="stmt"/>
<line num="96" count="64" type="cond" truecount="2" falsecount="0"/>
<line num="97" count="43" type="stmt"/>
<line num="100" count="21" type="cond" truecount="2" falsecount="0"/>
<line num="101" count="5" type="stmt"/>
<line num="104" count="16" type="cond" truecount="2" falsecount="0"/>
<line num="105" count="3" type="stmt"/>
<line num="116" count="13" type="cond" truecount="2" falsecount="0"/>
<line num="117" count="5" type="stmt"/>
<line num="130" count="8" type="stmt"/>
<metrics statements="28" coveredstatements="28" conditionals="23" coveredconditionals="23" methods="5" coveredmethods="5"/>
<line num="29" count="1" type="stmt"/>
<line num="38" count="73" type="stmt"/>
<line num="39" count="73" type="stmt"/>
<line num="41" count="73" type="stmt"/>
<line num="51" count="73" type="stmt"/>
<line num="53" count="73" type="stmt"/>
<line num="54" count="24" type="stmt"/>
<line num="56" count="24" type="cond" truecount="2" falsecount="0"/>
<line num="57" count="23" type="stmt"/>
<line num="60" count="24" type="stmt"/>
<line num="67" count="20" type="stmt"/>
<line num="69" count="20" type="cond" truecount="2" falsecount="0"/>
<line num="70" count="19" type="stmt"/>
<line num="74" count="5" type="stmt"/>
<line num="76" count="5" type="cond" truecount="2" falsecount="0"/>
<line num="77" count="4" type="stmt"/>
<line num="81" count="24" type="stmt"/>
<line num="83" count="24" type="cond" truecount="2" falsecount="0"/>
<line num="84" count="23" type="stmt"/>
<line num="98" count="73" type="cond" truecount="2" falsecount="0"/>
<line num="99" count="49" type="stmt"/>
<line num="102" count="24" type="cond" truecount="2" falsecount="0"/>
<line num="103" count="5" type="stmt"/>
<line num="106" count="19" type="cond" truecount="2" falsecount="0"/>
<line num="107" count="4" type="stmt"/>
<line num="121" count="15" type="cond" truecount="2" falsecount="0"/>
<line num="122" count="7" type="stmt"/>
<line num="138" count="8" type="stmt"/>
</file>
</package>
<package name="src.components">
<metrics statements="25" coveredstatements="25" conditionals="6" coveredconditionals="6" methods="11" coveredmethods="11"/>
<file name="Center.tsx" path="/Users/joaomantovani/projects/forceupdate/forceupdate-reactnative/src/components/Center.tsx">
<metrics statements="24" coveredstatements="24" conditionals="13" coveredconditionals="13" methods="9" coveredmethods="9"/>
<file name="AppBackgroundView.tsx" path="/Users/joaomantovani/projects/forceupdate/forceupdate-reactnative/src/components/AppBackgroundView.tsx">
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
<line num="8" count="4" type="stmt"/>
<line num="9" count="52" type="stmt"/>
<line num="16" count="4" type="stmt"/>
<line num="9" count="5" type="stmt"/>
<line num="12" count="18" type="stmt"/>
<line num="19" count="5" type="stmt"/>
</file>
<file name="CustomModal.tsx" path="/Users/joaomantovani/projects/forceupdate/forceupdate-reactnative/src/components/CustomModal.tsx">
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
<line num="24" count="3" type="stmt"/>
<metrics statements="5" coveredstatements="5" conditionals="2" coveredconditionals="2" methods="2" coveredmethods="2"/>
<line num="26" count="3" type="stmt"/>
<line num="27" count="8" type="stmt"/>
<line num="43" count="10" type="stmt"/>
<line num="56" count="3" type="stmt"/>
</file>
<file name="ErrorComponent.tsx" path="/Users/joaomantovani/projects/forceupdate/forceupdate-reactnative/src/components/ErrorComponent.tsx">
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
<line num="10" count="6" type="stmt"/>
<line num="28" count="3" type="stmt"/>
<line num="34" count="11" type="stmt"/>
<line num="52" count="13" type="stmt"/>
<line num="66" count="3" type="stmt"/>
</file>
<file name="ForceUpdateModal.tsx" path="/Users/joaomantovani/projects/forceupdate/forceupdate-reactnative/src/components/ForceUpdateModal.tsx">
<metrics statements="5" coveredstatements="5" conditionals="2" coveredconditionals="2" methods="2" coveredmethods="2"/>
<line num="13" count="2" type="stmt"/>
<line num="20" count="6" type="stmt"/>
<line num="21" count="3" type="stmt"/>
<line num="22" count="3" type="cond" truecount="2" falsecount="0"/>
<line num="25" count="6" type="stmt"/>
</file>
<file name="Loading.tsx" path="/Users/joaomantovani/projects/forceupdate/forceupdate-reactnative/src/components/Loading.tsx">
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
<line num="5" count="2" type="stmt"/>
<line num="6" count="45" type="stmt"/>
<metrics statements="5" coveredstatements="5" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
<line num="15" count="2" type="stmt"/>
<line num="24" count="9" type="stmt"/>
<line num="25" count="3" type="stmt"/>
<line num="26" count="3" type="cond" truecount="2" falsecount="0"/>
<line num="29" count="9" type="stmt"/>
</file>
<file name="UpdateModal.tsx" path="/Users/joaomantovani/projects/forceupdate/forceupdate-reactnative/src/components/UpdateModal.tsx">
<metrics statements="9" coveredstatements="9" conditionals="4" coveredconditionals="4" methods="4" coveredmethods="4"/>
<line num="14" count="2" type="stmt"/>
<line num="23" count="7" type="stmt"/>
<line num="24" count="1" type="cond" truecount="2" falsecount="0"/>
<line num="25" count="1" type="stmt"/>
<line num="28" count="7" type="stmt"/>
<metrics statements="11" coveredstatements="11" conditionals="7" coveredconditionals="7" methods="4" coveredmethods="4"/>
<line num="17" count="2" type="stmt"/>
<line num="28" count="11" type="stmt"/>
<line num="29" count="1" type="cond" truecount="2" falsecount="0"/>
<line num="32" count="7" type="stmt"/>
<line num="33" count="7" type="stmt"/>
<line num="61" count="7" type="stmt"/>
</file>
</package>
<package name="src.services">
<metrics statements="11" coveredstatements="11" conditionals="4" coveredconditionals="4" methods="1" coveredmethods="1"/>
<file name="fetchdata.ts" path="/Users/joaomantovani/projects/forceupdate/forceupdate-reactnative/src/services/fetchdata.ts">
<metrics statements="11" coveredstatements="11" conditionals="4" coveredconditionals="4" methods="1" coveredmethods="1"/>
<line num="24" count="1" type="stmt"/>
<line num="32" count="2" type="stmt"/>
<line num="33" count="2" type="stmt"/>
<line num="47" count="2" type="cond" truecount="2" falsecount="0"/>
<line num="48" count="1" type="stmt"/>
<line num="49" count="1" type="stmt"/>
<line num="50" count="1" type="stmt"/>
<line num="54" count="1" type="cond" truecount="2" falsecount="0"/>
<line num="58" count="1" type="stmt"/>
<line num="59" count="1" type="stmt"/>
<line num="61" count="1" type="stmt"/>
<line num="30" count="1" type="stmt"/>
<line num="33" count="11" type="stmt"/>
<line num="34" count="1" type="cond" truecount="2" falsecount="0"/>
<line num="37" count="11" type="stmt"/>
<line num="38" count="11" type="stmt"/>
<line num="66" count="11" type="cond" truecount="2" falsecount="0"/>
<line num="67" count="10" type="stmt"/>
<line num="70" count="1" type="stmt"/>
</file>
</package>
</project>
Expand Down
Loading

0 comments on commit 0c35d0a

Please sign in to comment.