123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287 |
- <?xml version="1.0" encoding="UTF-8"?>
- <coverage generated="1615807430309" clover="3.2.0">
- <project timestamp="1615807430309" name="All files">
- <metrics statements="227" coveredstatements="146" conditionals="39" coveredconditionals="17" methods="31" coveredmethods="12" elements="297" coveredelements="175" complexity="0" loc="227" ncloc="227" packages="6" files="12" classes="12"/>
- <package name="nodejs-homework-API">
- <metrics statements="24" coveredstatements="23" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="1"/>
- <file name="app.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\app.js">
- <metrics statements="24" coveredstatements="23" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="1"/>
- <line num="1" count="1" type="stmt"/>
- <line num="2" count="1" type="stmt"/>
- <line num="3" count="1" type="stmt"/>
- <line num="4" count="1" type="stmt"/>
- <line num="5" count="1" type="stmt"/>
- <line num="6" count="1" type="stmt"/>
- <line num="8" count="1" type="stmt"/>
- <line num="9" count="1" type="stmt"/>
- <line num="10" count="1" type="stmt"/>
- <line num="12" count="1" type="stmt"/>
- <line num="13" count="1" type="stmt"/>
- <line num="14" count="1" type="stmt"/>
- <line num="15" count="1" type="cond" truecount="1" falsecount="1"/>
- <line num="17" count="1" type="stmt"/>
- <line num="18" count="1" type="stmt"/>
- <line num="19" count="1" type="stmt"/>
- <line num="20" count="1" type="stmt"/>
- <line num="22" count="1" type="stmt"/>
- <line num="23" count="1" type="stmt"/>
- <line num="25" count="1" type="stmt"/>
- <line num="26" count="0" type="stmt"/>
- <line num="29" count="1" type="stmt"/>
- <line num="30" count="3" type="stmt"/>
- <line num="33" count="1" type="stmt"/>
- </file>
- </package>
- <package name="nodejs-homework-API.config">
- <metrics statements="15" coveredstatements="12" conditionals="4" coveredconditionals="2" methods="1" coveredmethods="1"/>
- <file name="passport.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\config\passport.js">
- <metrics statements="15" coveredstatements="12" conditionals="4" coveredconditionals="2" methods="1" coveredmethods="1"/>
- <line num="1" count="1" type="stmt"/>
- <line num="2" count="1" type="stmt"/>
- <line num="3" count="1" type="stmt"/>
- <line num="4" count="1" type="stmt"/>
- <line num="5" count="1" type="stmt"/>
- <line num="7" count="1" type="stmt"/>
- <line num="12" count="1" type="stmt"/>
- <line num="14" count="11" type="stmt"/>
- <line num="15" count="11" type="stmt"/>
- <line num="16" count="11" type="cond" truecount="1" falsecount="1"/>
- <line num="17" count="0" type="stmt"/>
- <line num="19" count="11" type="cond" truecount="1" falsecount="1"/>
- <line num="20" count="0" type="stmt"/>
- <line num="22" count="11" type="stmt"/>
- <line num="24" count="0" type="stmt"/>
- </file>
- </package>
- <package name="nodejs-homework-API.controllers">
- <metrics statements="105" coveredstatements="50" conditionals="18" coveredconditionals="7" methods="11" coveredmethods="5"/>
- <file name="contacts.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\controllers\contacts.js">
- <metrics statements="40" coveredstatements="35" conditionals="8" coveredconditionals="7" methods="5" coveredmethods="5"/>
- <line num="1" count="1" type="stmt"/>
- <line num="3" count="1" type="stmt"/>
- <line num="4" count="1" type="stmt"/>
- <line num="5" count="1" type="stmt"/>
- <line num="6" count="1" type="stmt"/>
- <line num="7" count="1" type="stmt"/>
- <line num="15" count="0" type="stmt"/>
- <line num="19" count="1" type="stmt"/>
- <line num="20" count="2" type="stmt"/>
- <line num="21" count="2" type="stmt"/>
- <line num="22" count="2" type="stmt"/>
- <line num="23" count="2" type="cond" truecount="2" falsecount="0"/>
- <line num="24" count="1" type="stmt"/>
- <line num="32" count="1" type="stmt"/>
- <line num="39" count="0" type="stmt"/>
- <line num="43" count="1" type="stmt"/>
- <line num="44" count="1" type="stmt"/>
- <line num="45" count="1" type="stmt"/>
- <line num="46" count="1" type="stmt"/>
- <line num="47" count="1" type="cond" truecount="1" falsecount="1"/>
- <line num="48" count="1" type="stmt"/>
- <line num="49" count="1" type="stmt"/>
- <line num="58" count="0" type="stmt"/>
- <line num="62" count="1" type="stmt"/>
- <line num="63" count="2" type="stmt"/>
- <line num="64" count="2" type="stmt"/>
- <line num="65" count="2" type="stmt"/>
- <line num="66" count="2" type="cond" truecount="2" falsecount="0"/>
- <line num="67" count="1" type="stmt"/>
- <line num="75" count="1" type="stmt"/>
- <line num="82" count="0" type="stmt"/>
- <line num="86" count="1" type="stmt"/>
- <line num="87" count="2" type="stmt"/>
- <line num="88" count="2" type="stmt"/>
- <line num="89" count="2" type="stmt"/>
- <line num="94" count="2" type="cond" truecount="2" falsecount="0"/>
- <line num="95" count="1" type="stmt"/>
- <line num="103" count="1" type="stmt"/>
- <line num="110" count="0" type="stmt"/>
- <line num="114" count="1" type="stmt"/>
- </file>
- <file name="user.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\controllers\user.js">
- <metrics statements="65" coveredstatements="15" conditionals="10" coveredconditionals="0" methods="6" coveredmethods="0"/>
- <line num="1" count="1" type="stmt"/>
- <line num="2" count="1" type="stmt"/>
- <line num="3" count="1" type="stmt"/>
- <line num="4" count="1" type="stmt"/>
- <line num="5" count="1" type="stmt"/>
- <line num="6" count="1" type="stmt"/>
- <line num="7" count="1" type="stmt"/>
- <line num="8" count="1" type="stmt"/>
- <line num="10" count="1" type="stmt"/>
- <line num="11" count="0" type="stmt"/>
- <line num="12" count="0" type="stmt"/>
- <line num="13" count="0" type="stmt"/>
- <line num="14" count="0" type="stmt"/>
- <line num="15" count="0" type="stmt"/>
- <line num="17" count="0" type="stmt"/>
- <line num="18" count="0" type="stmt"/>
- <line num="27" count="0" type="stmt"/>
- <line num="28" count="0" type="stmt"/>
- <line num="29" count="0" type="stmt"/>
- <line num="30" count="0" type="stmt"/>
- <line num="31" count="0" type="stmt"/>
- <line num="32" count="0" type="stmt"/>
- <line num="40" count="0" type="stmt"/>
- <line num="44" count="1" type="stmt"/>
- <line num="45" count="0" type="stmt"/>
- <line num="46" count="0" type="stmt"/>
- <line num="47" count="0" type="stmt"/>
- <line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
- <line num="49" count="0" type="stmt"/>
- <line num="56" count="0" type="stmt"/>
- <line num="57" count="0" type="stmt"/>
- <line num="68" count="0" type="stmt"/>
- <line num="72" count="1" type="stmt"/>
- <line num="73" count="0" type="stmt"/>
- <line num="74" count="0" type="stmt"/>
- <line num="75" count="0" type="stmt"/>
- <line num="76" count="0" type="stmt"/>
- <line num="77" count="0" type="cond" truecount="0" falsecount="4"/>
- <line num="78" count="0" type="stmt"/>
- <line num="85" count="0" type="stmt"/>
- <line num="86" count="0" type="stmt"/>
- <line num="87" count="0" type="stmt"/>
- <line num="88" count="0" type="stmt"/>
- <line num="89" count="0" type="stmt"/>
- <line num="97" count="0" type="stmt"/>
- <line num="101" count="1" type="stmt"/>
- <line num="102" count="0" type="stmt"/>
- <line num="103" count="0" type="stmt"/>
- <line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
- <line num="105" count="0" type="stmt"/>
- <line num="112" count="0" type="stmt"/>
- <line num="113" count="0" type="stmt"/>
- <line num="115" count="1" type="stmt"/>
- <line num="116" count="0" type="stmt"/>
- <line num="117" count="0" type="cond" truecount="0" falsecount="2"/>
- <line num="118" count="0" type="stmt"/>
- <line num="126" count="0" type="stmt"/>
- <line num="134" count="1" type="stmt"/>
- <line num="135" count="0" type="stmt"/>
- <line num="136" count="0" type="stmt"/>
- <line num="137" count="0" type="stmt"/>
- <line num="138" count="0" type="stmt"/>
- <line num="139" count="0" type="stmt"/>
- <line num="143" count="0" type="stmt"/>
- <line num="147" count="1" type="stmt"/>
- </file>
- </package>
- <package name="nodejs-homework-API.helpers">
- <metrics statements="37" coveredstatements="25" conditionals="9" coveredconditionals="5" methods="10" coveredmethods="2"/>
- <file name="apiLimiter.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\helpers\apiLimiter.js">
- <metrics statements="4" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
- <line num="1" count="1" type="stmt"/>
- <line num="3" count="1" type="stmt"/>
- <line num="7" count="0" type="stmt"/>
- <line num="16" count="1" type="stmt"/>
- </file>
- <file name="create-directory.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\helpers\create-directory.js">
- <metrics statements="9" coveredstatements="4" conditionals="2" coveredconditionals="0" methods="4" coveredmethods="0"/>
- <line num="1" count="1" type="stmt"/>
- <line num="3" count="1" type="stmt"/>
- <line num="4" count="0" type="stmt"/>
- <line num="6" count="0" type="stmt"/>
- <line num="7" count="0" type="stmt"/>
- <line num="10" count="1" type="stmt"/>
- <line num="11" count="0" type="cond" truecount="0" falsecount="2"/>
- <line num="12" count="0" type="stmt"/>
- <line num="15" count="1" type="stmt"/>
- </file>
- <file name="guard.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\helpers\guard.js">
- <metrics statements="11" coveredstatements="11" conditionals="5" coveredconditionals="5" methods="2" coveredmethods="2"/>
- <line num="1" count="1" type="stmt"/>
- <line num="2" count="1" type="stmt"/>
- <line num="3" count="1" type="stmt"/>
- <line num="5" count="1" type="stmt"/>
- <line num="6" count="16" type="stmt"/>
- <line num="7" count="16" type="stmt"/>
- <line num="8" count="16" type="cond" truecount="5" falsecount="0"/>
- <line num="9" count="5" type="stmt"/>
- <line num="16" count="11" type="stmt"/>
- <line num="17" count="11" type="stmt"/>
- <line num="21" count="1" type="stmt"/>
- </file>
- <file name="upload.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\helpers\upload.js">
- <metrics statements="13" coveredstatements="7" conditionals="2" coveredconditionals="0" methods="3" coveredmethods="0"/>
- <line num="1" count="1" type="stmt"/>
- <line num="2" count="1" type="stmt"/>
- <line num="3" count="1" type="stmt"/>
- <line num="4" count="1" type="stmt"/>
- <line num="6" count="1" type="stmt"/>
- <line num="8" count="0" type="stmt"/>
- <line num="11" count="0" type="stmt"/>
- <line num="15" count="1" type="stmt"/>
- <line num="19" count="0" type="cond" truecount="0" falsecount="2"/>
- <line num="20" count="0" type="stmt"/>
- <line num="21" count="0" type="stmt"/>
- <line num="23" count="0" type="stmt"/>
- <line num="27" count="1" type="stmt"/>
- </file>
- </package>
- <package name="nodejs-homework-API.routes.api">
- <metrics statements="16" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
- <file name="contacts.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\routes\api\contacts.js">
- <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
- <line num="1" count="1" type="stmt"/>
- <line num="2" count="1" type="stmt"/>
- <line num="3" count="1" type="stmt"/>
- <line num="4" count="1" type="stmt"/>
- <line num="5" count="1" type="stmt"/>
- <line num="6" count="1" type="stmt"/>
- <line num="10" count="1" type="stmt"/>
- <line num="15" count="1" type="stmt"/>
- </file>
- <file name="user.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\routes\api\user.js">
- <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
- <line num="1" count="1" type="stmt"/>
- <line num="2" count="1" type="stmt"/>
- <line num="3" count="1" type="stmt"/>
- <line num="4" count="1" type="stmt"/>
- <line num="5" count="1" type="stmt"/>
- <line num="6" count="1" type="stmt"/>
- <line num="8" count="1" type="stmt"/>
- <line num="19" count="1" type="stmt"/>
- </file>
- </package>
- <package name="nodejs-homework-API.routes.api.validation">
- <metrics statements="30" coveredstatements="20" conditionals="6" coveredconditionals="2" methods="7" coveredmethods="3"/>
- <file name="validationContact.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\routes\api\validation\validationContact.js">
- <metrics statements="13" coveredstatements="13" conditionals="2" coveredconditionals="2" methods="3" coveredmethods="3"/>
- <line num="1" count="1" type="stmt"/>
- <line num="3" count="1" type="stmt"/>
- <line num="17" count="1" type="stmt"/>
- <line num="31" count="1" type="stmt"/>
- <line num="32" count="6" type="stmt"/>
- <line num="33" count="6" type="cond" truecount="2" falsecount="0"/>
- <line num="34" count="3" type="stmt"/>
- <line num="35" count="3" type="stmt"/>
- <line num="40" count="3" type="stmt"/>
- <line num="43" count="1" type="stmt"/>
- <line num="44" count="3" type="stmt"/>
- <line num="47" count="1" type="stmt"/>
- <line num="48" count="3" type="stmt"/>
- </file>
- <file name="validationUser.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\routes\api\validation\validationUser.js">
- <metrics statements="17" coveredstatements="7" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
- <line num="1" count="1" type="stmt"/>
- <line num="3" count="1" type="stmt"/>
- <line num="8" count="1" type="stmt"/>
- <line num="13" count="1" type="stmt"/>
- <line num="14" count="0" type="stmt"/>
- <line num="15" count="0" type="cond" truecount="0" falsecount="2"/>
- <line num="16" count="0" type="stmt"/>
- <line num="17" count="0" type="stmt"/>
- <line num="22" count="0" type="stmt"/>
- <line num="25" count="1" type="stmt"/>
- <line num="26" count="0" type="stmt"/>
- <line num="28" count="1" type="stmt"/>
- <line num="29" count="0" type="stmt"/>
- <line num="31" count="1" type="stmt"/>
- <line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
- <line num="33" count="0" type="stmt"/>
- <line num="40" count="0" type="stmt"/>
- </file>
- </package>
- </project>
- </coverage>
|