clover.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <coverage generated="1615807430309" clover="3.2.0">
  3. <project timestamp="1615807430309" name="All files">
  4. <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"/>
  5. <package name="nodejs-homework-API">
  6. <metrics statements="24" coveredstatements="23" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="1"/>
  7. <file name="app.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\app.js">
  8. <metrics statements="24" coveredstatements="23" conditionals="2" coveredconditionals="1" methods="2" coveredmethods="1"/>
  9. <line num="1" count="1" type="stmt"/>
  10. <line num="2" count="1" type="stmt"/>
  11. <line num="3" count="1" type="stmt"/>
  12. <line num="4" count="1" type="stmt"/>
  13. <line num="5" count="1" type="stmt"/>
  14. <line num="6" count="1" type="stmt"/>
  15. <line num="8" count="1" type="stmt"/>
  16. <line num="9" count="1" type="stmt"/>
  17. <line num="10" count="1" type="stmt"/>
  18. <line num="12" count="1" type="stmt"/>
  19. <line num="13" count="1" type="stmt"/>
  20. <line num="14" count="1" type="stmt"/>
  21. <line num="15" count="1" type="cond" truecount="1" falsecount="1"/>
  22. <line num="17" count="1" type="stmt"/>
  23. <line num="18" count="1" type="stmt"/>
  24. <line num="19" count="1" type="stmt"/>
  25. <line num="20" count="1" type="stmt"/>
  26. <line num="22" count="1" type="stmt"/>
  27. <line num="23" count="1" type="stmt"/>
  28. <line num="25" count="1" type="stmt"/>
  29. <line num="26" count="0" type="stmt"/>
  30. <line num="29" count="1" type="stmt"/>
  31. <line num="30" count="3" type="stmt"/>
  32. <line num="33" count="1" type="stmt"/>
  33. </file>
  34. </package>
  35. <package name="nodejs-homework-API.config">
  36. <metrics statements="15" coveredstatements="12" conditionals="4" coveredconditionals="2" methods="1" coveredmethods="1"/>
  37. <file name="passport.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\config\passport.js">
  38. <metrics statements="15" coveredstatements="12" conditionals="4" coveredconditionals="2" methods="1" coveredmethods="1"/>
  39. <line num="1" count="1" type="stmt"/>
  40. <line num="2" count="1" type="stmt"/>
  41. <line num="3" count="1" type="stmt"/>
  42. <line num="4" count="1" type="stmt"/>
  43. <line num="5" count="1" type="stmt"/>
  44. <line num="7" count="1" type="stmt"/>
  45. <line num="12" count="1" type="stmt"/>
  46. <line num="14" count="11" type="stmt"/>
  47. <line num="15" count="11" type="stmt"/>
  48. <line num="16" count="11" type="cond" truecount="1" falsecount="1"/>
  49. <line num="17" count="0" type="stmt"/>
  50. <line num="19" count="11" type="cond" truecount="1" falsecount="1"/>
  51. <line num="20" count="0" type="stmt"/>
  52. <line num="22" count="11" type="stmt"/>
  53. <line num="24" count="0" type="stmt"/>
  54. </file>
  55. </package>
  56. <package name="nodejs-homework-API.controllers">
  57. <metrics statements="105" coveredstatements="50" conditionals="18" coveredconditionals="7" methods="11" coveredmethods="5"/>
  58. <file name="contacts.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\controllers\contacts.js">
  59. <metrics statements="40" coveredstatements="35" conditionals="8" coveredconditionals="7" methods="5" coveredmethods="5"/>
  60. <line num="1" count="1" type="stmt"/>
  61. <line num="3" count="1" type="stmt"/>
  62. <line num="4" count="1" type="stmt"/>
  63. <line num="5" count="1" type="stmt"/>
  64. <line num="6" count="1" type="stmt"/>
  65. <line num="7" count="1" type="stmt"/>
  66. <line num="15" count="0" type="stmt"/>
  67. <line num="19" count="1" type="stmt"/>
  68. <line num="20" count="2" type="stmt"/>
  69. <line num="21" count="2" type="stmt"/>
  70. <line num="22" count="2" type="stmt"/>
  71. <line num="23" count="2" type="cond" truecount="2" falsecount="0"/>
  72. <line num="24" count="1" type="stmt"/>
  73. <line num="32" count="1" type="stmt"/>
  74. <line num="39" count="0" type="stmt"/>
  75. <line num="43" count="1" type="stmt"/>
  76. <line num="44" count="1" type="stmt"/>
  77. <line num="45" count="1" type="stmt"/>
  78. <line num="46" count="1" type="stmt"/>
  79. <line num="47" count="1" type="cond" truecount="1" falsecount="1"/>
  80. <line num="48" count="1" type="stmt"/>
  81. <line num="49" count="1" type="stmt"/>
  82. <line num="58" count="0" type="stmt"/>
  83. <line num="62" count="1" type="stmt"/>
  84. <line num="63" count="2" type="stmt"/>
  85. <line num="64" count="2" type="stmt"/>
  86. <line num="65" count="2" type="stmt"/>
  87. <line num="66" count="2" type="cond" truecount="2" falsecount="0"/>
  88. <line num="67" count="1" type="stmt"/>
  89. <line num="75" count="1" type="stmt"/>
  90. <line num="82" count="0" type="stmt"/>
  91. <line num="86" count="1" type="stmt"/>
  92. <line num="87" count="2" type="stmt"/>
  93. <line num="88" count="2" type="stmt"/>
  94. <line num="89" count="2" type="stmt"/>
  95. <line num="94" count="2" type="cond" truecount="2" falsecount="0"/>
  96. <line num="95" count="1" type="stmt"/>
  97. <line num="103" count="1" type="stmt"/>
  98. <line num="110" count="0" type="stmt"/>
  99. <line num="114" count="1" type="stmt"/>
  100. </file>
  101. <file name="user.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\controllers\user.js">
  102. <metrics statements="65" coveredstatements="15" conditionals="10" coveredconditionals="0" methods="6" coveredmethods="0"/>
  103. <line num="1" count="1" type="stmt"/>
  104. <line num="2" count="1" type="stmt"/>
  105. <line num="3" count="1" type="stmt"/>
  106. <line num="4" count="1" type="stmt"/>
  107. <line num="5" count="1" type="stmt"/>
  108. <line num="6" count="1" type="stmt"/>
  109. <line num="7" count="1" type="stmt"/>
  110. <line num="8" count="1" type="stmt"/>
  111. <line num="10" count="1" type="stmt"/>
  112. <line num="11" count="0" type="stmt"/>
  113. <line num="12" count="0" type="stmt"/>
  114. <line num="13" count="0" type="stmt"/>
  115. <line num="14" count="0" type="stmt"/>
  116. <line num="15" count="0" type="stmt"/>
  117. <line num="17" count="0" type="stmt"/>
  118. <line num="18" count="0" type="stmt"/>
  119. <line num="27" count="0" type="stmt"/>
  120. <line num="28" count="0" type="stmt"/>
  121. <line num="29" count="0" type="stmt"/>
  122. <line num="30" count="0" type="stmt"/>
  123. <line num="31" count="0" type="stmt"/>
  124. <line num="32" count="0" type="stmt"/>
  125. <line num="40" count="0" type="stmt"/>
  126. <line num="44" count="1" type="stmt"/>
  127. <line num="45" count="0" type="stmt"/>
  128. <line num="46" count="0" type="stmt"/>
  129. <line num="47" count="0" type="stmt"/>
  130. <line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
  131. <line num="49" count="0" type="stmt"/>
  132. <line num="56" count="0" type="stmt"/>
  133. <line num="57" count="0" type="stmt"/>
  134. <line num="68" count="0" type="stmt"/>
  135. <line num="72" count="1" type="stmt"/>
  136. <line num="73" count="0" type="stmt"/>
  137. <line num="74" count="0" type="stmt"/>
  138. <line num="75" count="0" type="stmt"/>
  139. <line num="76" count="0" type="stmt"/>
  140. <line num="77" count="0" type="cond" truecount="0" falsecount="4"/>
  141. <line num="78" count="0" type="stmt"/>
  142. <line num="85" count="0" type="stmt"/>
  143. <line num="86" count="0" type="stmt"/>
  144. <line num="87" count="0" type="stmt"/>
  145. <line num="88" count="0" type="stmt"/>
  146. <line num="89" count="0" type="stmt"/>
  147. <line num="97" count="0" type="stmt"/>
  148. <line num="101" count="1" type="stmt"/>
  149. <line num="102" count="0" type="stmt"/>
  150. <line num="103" count="0" type="stmt"/>
  151. <line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
  152. <line num="105" count="0" type="stmt"/>
  153. <line num="112" count="0" type="stmt"/>
  154. <line num="113" count="0" type="stmt"/>
  155. <line num="115" count="1" type="stmt"/>
  156. <line num="116" count="0" type="stmt"/>
  157. <line num="117" count="0" type="cond" truecount="0" falsecount="2"/>
  158. <line num="118" count="0" type="stmt"/>
  159. <line num="126" count="0" type="stmt"/>
  160. <line num="134" count="1" type="stmt"/>
  161. <line num="135" count="0" type="stmt"/>
  162. <line num="136" count="0" type="stmt"/>
  163. <line num="137" count="0" type="stmt"/>
  164. <line num="138" count="0" type="stmt"/>
  165. <line num="139" count="0" type="stmt"/>
  166. <line num="143" count="0" type="stmt"/>
  167. <line num="147" count="1" type="stmt"/>
  168. </file>
  169. </package>
  170. <package name="nodejs-homework-API.helpers">
  171. <metrics statements="37" coveredstatements="25" conditionals="9" coveredconditionals="5" methods="10" coveredmethods="2"/>
  172. <file name="apiLimiter.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\helpers\apiLimiter.js">
  173. <metrics statements="4" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
  174. <line num="1" count="1" type="stmt"/>
  175. <line num="3" count="1" type="stmt"/>
  176. <line num="7" count="0" type="stmt"/>
  177. <line num="16" count="1" type="stmt"/>
  178. </file>
  179. <file name="create-directory.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\helpers\create-directory.js">
  180. <metrics statements="9" coveredstatements="4" conditionals="2" coveredconditionals="0" methods="4" coveredmethods="0"/>
  181. <line num="1" count="1" type="stmt"/>
  182. <line num="3" count="1" type="stmt"/>
  183. <line num="4" count="0" type="stmt"/>
  184. <line num="6" count="0" type="stmt"/>
  185. <line num="7" count="0" type="stmt"/>
  186. <line num="10" count="1" type="stmt"/>
  187. <line num="11" count="0" type="cond" truecount="0" falsecount="2"/>
  188. <line num="12" count="0" type="stmt"/>
  189. <line num="15" count="1" type="stmt"/>
  190. </file>
  191. <file name="guard.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\helpers\guard.js">
  192. <metrics statements="11" coveredstatements="11" conditionals="5" coveredconditionals="5" methods="2" coveredmethods="2"/>
  193. <line num="1" count="1" type="stmt"/>
  194. <line num="2" count="1" type="stmt"/>
  195. <line num="3" count="1" type="stmt"/>
  196. <line num="5" count="1" type="stmt"/>
  197. <line num="6" count="16" type="stmt"/>
  198. <line num="7" count="16" type="stmt"/>
  199. <line num="8" count="16" type="cond" truecount="5" falsecount="0"/>
  200. <line num="9" count="5" type="stmt"/>
  201. <line num="16" count="11" type="stmt"/>
  202. <line num="17" count="11" type="stmt"/>
  203. <line num="21" count="1" type="stmt"/>
  204. </file>
  205. <file name="upload.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\helpers\upload.js">
  206. <metrics statements="13" coveredstatements="7" conditionals="2" coveredconditionals="0" methods="3" coveredmethods="0"/>
  207. <line num="1" count="1" type="stmt"/>
  208. <line num="2" count="1" type="stmt"/>
  209. <line num="3" count="1" type="stmt"/>
  210. <line num="4" count="1" type="stmt"/>
  211. <line num="6" count="1" type="stmt"/>
  212. <line num="8" count="0" type="stmt"/>
  213. <line num="11" count="0" type="stmt"/>
  214. <line num="15" count="1" type="stmt"/>
  215. <line num="19" count="0" type="cond" truecount="0" falsecount="2"/>
  216. <line num="20" count="0" type="stmt"/>
  217. <line num="21" count="0" type="stmt"/>
  218. <line num="23" count="0" type="stmt"/>
  219. <line num="27" count="1" type="stmt"/>
  220. </file>
  221. </package>
  222. <package name="nodejs-homework-API.routes.api">
  223. <metrics statements="16" coveredstatements="16" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
  224. <file name="contacts.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\routes\api\contacts.js">
  225. <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
  226. <line num="1" count="1" type="stmt"/>
  227. <line num="2" count="1" type="stmt"/>
  228. <line num="3" count="1" type="stmt"/>
  229. <line num="4" count="1" type="stmt"/>
  230. <line num="5" count="1" type="stmt"/>
  231. <line num="6" count="1" type="stmt"/>
  232. <line num="10" count="1" type="stmt"/>
  233. <line num="15" count="1" type="stmt"/>
  234. </file>
  235. <file name="user.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\routes\api\user.js">
  236. <metrics statements="8" coveredstatements="8" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
  237. <line num="1" count="1" type="stmt"/>
  238. <line num="2" count="1" type="stmt"/>
  239. <line num="3" count="1" type="stmt"/>
  240. <line num="4" count="1" type="stmt"/>
  241. <line num="5" count="1" type="stmt"/>
  242. <line num="6" count="1" type="stmt"/>
  243. <line num="8" count="1" type="stmt"/>
  244. <line num="19" count="1" type="stmt"/>
  245. </file>
  246. </package>
  247. <package name="nodejs-homework-API.routes.api.validation">
  248. <metrics statements="30" coveredstatements="20" conditionals="6" coveredconditionals="2" methods="7" coveredmethods="3"/>
  249. <file name="validationContact.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\routes\api\validation\validationContact.js">
  250. <metrics statements="13" coveredstatements="13" conditionals="2" coveredconditionals="2" methods="3" coveredmethods="3"/>
  251. <line num="1" count="1" type="stmt"/>
  252. <line num="3" count="1" type="stmt"/>
  253. <line num="17" count="1" type="stmt"/>
  254. <line num="31" count="1" type="stmt"/>
  255. <line num="32" count="6" type="stmt"/>
  256. <line num="33" count="6" type="cond" truecount="2" falsecount="0"/>
  257. <line num="34" count="3" type="stmt"/>
  258. <line num="35" count="3" type="stmt"/>
  259. <line num="40" count="3" type="stmt"/>
  260. <line num="43" count="1" type="stmt"/>
  261. <line num="44" count="3" type="stmt"/>
  262. <line num="47" count="1" type="stmt"/>
  263. <line num="48" count="3" type="stmt"/>
  264. </file>
  265. <file name="validationUser.js" path="D:\web\NodeHomework02-06\nodejs-homework-API\routes\api\validation\validationUser.js">
  266. <metrics statements="17" coveredstatements="7" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
  267. <line num="1" count="1" type="stmt"/>
  268. <line num="3" count="1" type="stmt"/>
  269. <line num="8" count="1" type="stmt"/>
  270. <line num="13" count="1" type="stmt"/>
  271. <line num="14" count="0" type="stmt"/>
  272. <line num="15" count="0" type="cond" truecount="0" falsecount="2"/>
  273. <line num="16" count="0" type="stmt"/>
  274. <line num="17" count="0" type="stmt"/>
  275. <line num="22" count="0" type="stmt"/>
  276. <line num="25" count="1" type="stmt"/>
  277. <line num="26" count="0" type="stmt"/>
  278. <line num="28" count="1" type="stmt"/>
  279. <line num="29" count="0" type="stmt"/>
  280. <line num="31" count="1" type="stmt"/>
  281. <line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
  282. <line num="33" count="0" type="stmt"/>
  283. <line num="40" count="0" type="stmt"/>
  284. </file>
  285. </package>
  286. </project>
  287. </coverage>