Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #9 from nmcc1212/trending-words
Browse files Browse the repository at this point in the history
Trending words
  • Loading branch information
nmcc1212 authored Jan 4, 2024
2 parents b5b6990 + 18569e7 commit ce18999
Show file tree
Hide file tree
Showing 39 changed files with 41,042 additions and 129 deletions.
Binary file added Docs/new pres.pptx
Binary file not shown.
62 changes: 37 additions & 25 deletions intro to react/vite-project/coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1702653668459" clover="3.2.0">
<project timestamp="1702653668459" name="All files">
<metrics statements="49" coveredstatements="47" conditionals="6" coveredconditionals="5" methods="13" coveredmethods="12" elements="68" coveredelements="64" complexity="0" loc="49" ncloc="49" packages="1" files="3" classes="3"/>
<coverage generated="1704363375763" clover="3.2.0">
<project timestamp="1704363375764" name="All files">
<metrics statements="61" coveredstatements="59" conditionals="8" coveredconditionals="7" methods="16" coveredmethods="15" elements="85" coveredelements="81" complexity="0" loc="61" ncloc="61" packages="1" files="3" classes="3"/>
<file name="App.tsx" path="/Users/nial/Documents/TSI/intro to react/vite-project/src/App.tsx">
<metrics statements="11" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="1"/>
<line num="8" count="3" type="stmt"/>
Expand Down Expand Up @@ -29,36 +29,48 @@
<line num="21" count="7" type="stmt"/>
</file>
<file name="newsList.tsx" path="/Users/nial/Documents/TSI/intro to react/vite-project/src/newsList.tsx">
<metrics statements="29" coveredstatements="28" conditionals="6" coveredconditionals="5" methods="8" coveredmethods="8"/>
<metrics statements="41" coveredstatements="40" conditionals="8" coveredconditionals="7" methods="11" coveredmethods="11"/>
<line num="13" count="10" type="stmt"/>
<line num="14" count="10" type="stmt"/>
<line num="15" count="10" type="stmt"/>
<line num="17" count="10" type="stmt"/>
<line num="18" count="5" type="stmt"/>
<line num="19" count="4" type="stmt"/>
<line num="16" count="10" type="stmt"/>
<line num="18" count="10" type="stmt"/>
<line num="19" count="5" type="stmt"/>
<line num="20" count="4" type="stmt"/>
<line num="21" count="4" type="cond" truecount="1" falsecount="1"/>
<line num="22" count="4" type="stmt"/>
<line num="25" count="1" type="stmt"/>
<line num="21" count="4" type="stmt"/>
<line num="22" count="4" type="cond" truecount="1" falsecount="1"/>
<line num="23" count="4" type="stmt"/>
<line num="26" count="1" type="stmt"/>
<line num="29" count="0" type="stmt"/>
<line num="31" count="1" type="stmt"/>
<line num="36" count="5" type="cond" truecount="2" falsecount="0"/>
<line num="37" count="4" type="stmt"/>
<line num="41" count="10" type="stmt"/>
<line num="43" count="5" type="stmt"/>
<line num="44" count="2" type="stmt"/>
<line num="27" count="1" type="stmt"/>
<line num="29" count="1" type="stmt"/>
<line num="32" count="0" type="stmt"/>
<line num="34" count="1" type="stmt"/>
<line num="39" count="5" type="cond" truecount="2" falsecount="0"/>
<line num="40" count="4" type="stmt"/>
<line num="44" count="10" type="stmt"/>
<line num="46" count="5" type="stmt"/>
<line num="49" count="10" type="cond" truecount="2" falsecount="0"/>
<line num="50" count="8" type="stmt"/>
<line num="53" count="2" type="stmt"/>
<line num="47" count="2" type="stmt"/>
<line num="49" count="5" type="stmt"/>
<line num="52" count="5" type="stmt"/>
<line num="53" count="5" type="stmt"/>
<line num="54" count="2" type="stmt"/>
<line num="55" count="2" type="stmt"/>
<line num="56" count="2" type="stmt"/>
<line num="73" count="2" type="stmt"/>
<line num="60" count="5" type="stmt"/>
<line num="61" count="5" type="stmt"/>
<line num="62" count="16" type="cond" truecount="2" falsecount="0"/>
<line num="66" count="12" type="stmt"/>
<line num="67" count="5" type="stmt"/>
<line num="70" count="10" type="cond" truecount="2" falsecount="0"/>
<line num="71" count="8" type="stmt"/>
<line num="74" count="2" type="stmt"/>
<line num="75" count="2" type="stmt"/>
<line num="77" count="2" type="stmt"/>
<line num="80" count="2" type="stmt"/>
<line num="82" count="2" type="stmt"/>
<line num="81" count="2" type="stmt"/>
<line num="102" count="2" type="stmt"/>
<line num="103" count="2" type="stmt"/>
<line num="104" count="2" type="stmt"/>
<line num="106" count="2" type="stmt"/>
<line num="109" count="2" type="stmt"/>
<line num="111" count="2" type="stmt"/>
</file>
</project>
</coverage>
2 changes: 1 addition & 1 deletion intro to react/vite-project/coverage/coverage-final.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{"/Users/nial/Documents/TSI/intro to react/vite-project/src/App.tsx": {"path":"/Users/nial/Documents/TSI/intro to react/vite-project/src/App.tsx","statementMap":{"0":{"start":{"line":8,"column":40},"end":{"line":8,"column":52}},"1":{"start":{"line":9,"column":29},"end":{"line":9,"column":320}},"2":{"start":{"line":10,"column":32},"end":{"line":10,"column":333}},"3":{"start":{"line":11,"column":27},"end":{"line":11,"column":206}},"4":{"start":{"line":12,"column":30},"end":{"line":12,"column":346}},"5":{"start":{"line":13,"column":31},"end":{"line":13,"column":72}},"6":{"start":{"line":14,"column":33},"end":{"line":14,"column":78}},"7":{"start":{"line":15,"column":32},"end":{"line":15,"column":226}},"8":{"start":{"line":16,"column":28},"end":{"line":18,"column":3}},"9":{"start":{"line":17,"column":4},"end":{"line":17,"column":26}},"10":{"start":{"line":19,"column":2},"end":{"line":89,"column":4}}},"fnMap":{"0":{"name":"App","decl":{"start":{"line":7,"column":9},"end":{"line":7,"column":12}},"loc":{"start":{"line":7,"column":15},"end":{"line":90,"column":1}},"line":7},"1":{"name":"(anonymous_1)","decl":{"start":{"line":16,"column":28},"end":{"line":16,"column":29}},"loc":{"start":{"line":16,"column":63},"end":{"line":18,"column":3}},"line":16}},"branchMap":{},"s":{"0":3,"1":3,"2":3,"3":3,"4":3,"5":3,"6":3,"7":3,"8":3,"9":0,"10":3},"f":{"0":3,"1":0},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"3980ec7412d967ce5ace452e6d65e9379c49caa8"}
,"/Users/nial/Documents/TSI/intro to react/vite-project/src/navBar.tsx": {"path":"/Users/nial/Documents/TSI/intro to react/vite-project/src/navBar.tsx","statementMap":{"0":{"start":{"line":8,"column":15},"end":{"line":110,"column":1}},"1":{"start":{"line":9,"column":30},"end":{"line":9,"column":42}},"2":{"start":{"line":11,"column":22},"end":{"line":13,"column":5}},"3":{"start":{"line":12,"column":6},"end":{"line":12,"column":31}},"4":{"start":{"line":15,"column":25},"end":{"line":19,"column":5}},"5":{"start":{"line":16,"column":23},"end":{"line":16,"column":41}},"6":{"start":{"line":17,"column":6},"end":{"line":17,"column":25}},"7":{"start":{"line":18,"column":6},"end":{"line":18,"column":34}},"8":{"start":{"line":21,"column":2},"end":{"line":109,"column":4}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":15},"end":{"line":8,"column":16}},"loc":{"start":{"line":8,"column":49},"end":{"line":110,"column":1}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":11,"column":22},"end":{"line":11,"column":23}},"loc":{"start":{"line":11,"column":28},"end":{"line":13,"column":5}},"line":11},"2":{"name":"(anonymous_2)","decl":{"start":{"line":15,"column":25},"end":{"line":15,"column":26}},"loc":{"start":{"line":15,"column":73},"end":{"line":19,"column":5}},"line":15}},"branchMap":{},"s":{"0":2,"1":7,"2":7,"3":1,"4":7,"5":1,"6":1,"7":1,"8":7},"f":{"0":7,"1":1,"2":1},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"140f3c04042c3a2478d12294029046b539dc0611"}
,"/Users/nial/Documents/TSI/intro to react/vite-project/src/newsList.tsx": {"path":"/Users/nial/Documents/TSI/intro to react/vite-project/src/newsList.tsx","statementMap":{"0":{"start":{"line":13,"column":34},"end":{"line":13,"column":58}},"1":{"start":{"line":14,"column":42},"end":{"line":14,"column":66}},"2":{"start":{"line":15,"column":36},"end":{"line":15,"column":50}},"3":{"start":{"line":17,"column":2},"end":{"line":39,"column":43}},"4":{"start":{"line":18,"column":22},"end":{"line":33,"column":5}},"5":{"start":{"line":19,"column":6},"end":{"line":32,"column":7}},"6":{"start":{"line":20,"column":8},"end":{"line":20,"column":27}},"7":{"start":{"line":21,"column":8},"end":{"line":27,"column":9}},"8":{"start":{"line":22,"column":27},"end":{"line":24,"column":12}},"9":{"start":{"line":25,"column":29},"end":{"line":25,"column":140}},"10":{"start":{"line":25,"column":78},"end":{"line":25,"column":139}},"11":{"start":{"line":26,"column":10},"end":{"line":26,"column":34}},"12":{"start":{"line":29,"column":8},"end":{"line":29,"column":53}},"13":{"start":{"line":31,"column":8},"end":{"line":31,"column":28}},"14":{"start":{"line":36,"column":4},"end":{"line":38,"column":5}},"15":{"start":{"line":37,"column":6},"end":{"line":37,"column":18}},"16":{"start":{"line":41,"column":2},"end":{"line":47,"column":36}},"17":{"start":{"line":43,"column":21},"end":{"line":45,"column":5}},"18":{"start":{"line":44,"column":6},"end":{"line":44,"column":72}},"19":{"start":{"line":46,"column":4},"end":{"line":46,"column":30}},"20":{"start":{"line":49,"column":2},"end":{"line":51,"column":3}},"21":{"start":{"line":50,"column":4},"end":{"line":50,"column":57}},"22":{"start":{"line":53,"column":2},"end":{"line":59,"column":4}},"23":{"start":{"line":56,"column":8},"end":{"line":56,"column":47}},"24":{"start":{"line":73,"column":17},"end":{"line":89,"column":1}},"25":{"start":{"line":74,"column":51},"end":{"line":74,"column":55}},"26":{"start":{"line":75,"column":13},"end":{"line":75,"column":27}},"27":{"start":{"line":77,"column":2},"end":{"line":77,"column":93}},"28":{"start":{"line":80,"column":24},"end":{"line":80,"column":58}},"29":{"start":{"line":82,"column":2},"end":{"line":88,"column":4}}},"fnMap":{"0":{"name":"NewsList","decl":{"start":{"line":12,"column":9},"end":{"line":12,"column":17}},"loc":{"start":{"line":12,"column":84},"end":{"line":60,"column":1}},"line":12},"1":{"name":"(anonymous_1)","decl":{"start":{"line":17,"column":12},"end":{"line":17,"column":13}},"loc":{"start":{"line":17,"column":18},"end":{"line":39,"column":3}},"line":17},"2":{"name":"(anonymous_2)","decl":{"start":{"line":18,"column":22},"end":{"line":18,"column":23}},"loc":{"start":{"line":18,"column":34},"end":{"line":33,"column":5}},"line":18},"3":{"name":"(anonymous_3)","decl":{"start":{"line":25,"column":48},"end":{"line":25,"column":49}},"loc":{"start":{"line":25,"column":78},"end":{"line":25,"column":139}},"line":25},"4":{"name":"(anonymous_4)","decl":{"start":{"line":41,"column":12},"end":{"line":41,"column":13}},"loc":{"start":{"line":41,"column":18},"end":{"line":47,"column":3}},"line":41},"5":{"name":"(anonymous_5)","decl":{"start":{"line":43,"column":37},"end":{"line":43,"column":38}},"loc":{"start":{"line":44,"column":6},"end":{"line":44,"column":72}},"line":44},"6":{"name":"(anonymous_6)","decl":{"start":{"line":55,"column":24},"end":{"line":55,"column":25}},"loc":{"start":{"line":56,"column":8},"end":{"line":56,"column":47}},"line":56},"7":{"name":"(anonymous_7)","decl":{"start":{"line":73,"column":17},"end":{"line":73,"column":18}},"loc":{"start":{"line":73,"column":38},"end":{"line":89,"column":1}},"line":73}},"branchMap":{"0":{"loc":{"start":{"line":21,"column":8},"end":{"line":27,"column":9}},"type":"if","locations":[{"start":{"line":21,"column":8},"end":{"line":27,"column":9}},{"start":{},"end":{}}],"line":21},"1":{"loc":{"start":{"line":36,"column":4},"end":{"line":38,"column":5}},"type":"if","locations":[{"start":{"line":36,"column":4},"end":{"line":38,"column":5}},{"start":{},"end":{}}],"line":36},"2":{"loc":{"start":{"line":49,"column":2},"end":{"line":51,"column":3}},"type":"if","locations":[{"start":{"line":49,"column":2},"end":{"line":51,"column":3}},{"start":{},"end":{}}],"line":49}},"s":{"0":10,"1":10,"2":10,"3":10,"4":5,"5":4,"6":4,"7":4,"8":4,"9":1,"10":1,"11":1,"12":0,"13":1,"14":5,"15":4,"16":10,"17":5,"18":2,"19":5,"20":10,"21":8,"22":2,"23":2,"24":2,"25":2,"26":2,"27":2,"28":2,"29":2},"f":{"0":10,"1":5,"2":4,"3":1,"4":5,"5":2,"6":2,"7":2},"b":{"0":[4,0],"1":[4,1],"2":[8,2]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"0b7a82aeee3cdde603529d67ecd2261969d1d3b6"}
,"/Users/nial/Documents/TSI/intro to react/vite-project/src/newsList.tsx": {"path":"/Users/nial/Documents/TSI/intro to react/vite-project/src/newsList.tsx","statementMap":{"0":{"start":{"line":13,"column":34},"end":{"line":13,"column":58}},"1":{"start":{"line":14,"column":42},"end":{"line":14,"column":66}},"2":{"start":{"line":15,"column":36},"end":{"line":15,"column":50}},"3":{"start":{"line":16,"column":44},"end":{"line":16,"column":66}},"4":{"start":{"line":18,"column":2},"end":{"line":42,"column":43}},"5":{"start":{"line":19,"column":22},"end":{"line":36,"column":5}},"6":{"start":{"line":20,"column":6},"end":{"line":35,"column":7}},"7":{"start":{"line":21,"column":8},"end":{"line":21,"column":27}},"8":{"start":{"line":22,"column":8},"end":{"line":30,"column":9}},"9":{"start":{"line":23,"column":27},"end":{"line":25,"column":12}},"10":{"start":{"line":26,"column":29},"end":{"line":28,"column":11}},"11":{"start":{"line":27,"column":42},"end":{"line":27,"column":103}},"12":{"start":{"line":29,"column":10},"end":{"line":29,"column":34}},"13":{"start":{"line":32,"column":8},"end":{"line":32,"column":53}},"14":{"start":{"line":34,"column":8},"end":{"line":34,"column":28}},"15":{"start":{"line":39,"column":4},"end":{"line":41,"column":5}},"16":{"start":{"line":40,"column":6},"end":{"line":40,"column":18}},"17":{"start":{"line":44,"column":2},"end":{"line":68,"column":36}},"18":{"start":{"line":46,"column":21},"end":{"line":48,"column":5}},"19":{"start":{"line":47,"column":6},"end":{"line":47,"column":72}},"20":{"start":{"line":49,"column":4},"end":{"line":49,"column":30}},"21":{"start":{"line":52,"column":28},"end":{"line":52,"column":30}},"22":{"start":{"line":53,"column":4},"end":{"line":57,"column":7}},"23":{"start":{"line":54,"column":25},"end":{"line":54,"column":60}},"24":{"start":{"line":55,"column":31},"end":{"line":55,"column":75}},"25":{"start":{"line":56,"column":6},"end":{"line":56,"column":53}},"26":{"start":{"line":60,"column":49},"end":{"line":60,"column":51}},"27":{"start":{"line":61,"column":4},"end":{"line":63,"column":7}},"28":{"start":{"line":62,"column":6},"end":{"line":62,"column":51}},"29":{"start":{"line":66,"column":21},"end":{"line":66,"column":99}},"30":{"start":{"line":66,"column":59},"end":{"line":66,"column":86}},"31":{"start":{"line":67,"column":4},"end":{"line":67,"column":31}},"32":{"start":{"line":70,"column":2},"end":{"line":72,"column":3}},"33":{"start":{"line":71,"column":4},"end":{"line":71,"column":57}},"34":{"start":{"line":74,"column":2},"end":{"line":85,"column":4}},"35":{"start":{"line":81,"column":10},"end":{"line":81,"column":49}},"36":{"start":{"line":102,"column":17},"end":{"line":118,"column":1}},"37":{"start":{"line":103,"column":51},"end":{"line":103,"column":55}},"38":{"start":{"line":104,"column":13},"end":{"line":104,"column":27}},"39":{"start":{"line":106,"column":2},"end":{"line":106,"column":93}},"40":{"start":{"line":109,"column":24},"end":{"line":109,"column":58}},"41":{"start":{"line":111,"column":2},"end":{"line":117,"column":4}}},"fnMap":{"0":{"name":"NewsList","decl":{"start":{"line":12,"column":9},"end":{"line":12,"column":17}},"loc":{"start":{"line":12,"column":83},"end":{"line":86,"column":1}},"line":12},"1":{"name":"(anonymous_1)","decl":{"start":{"line":18,"column":12},"end":{"line":18,"column":13}},"loc":{"start":{"line":18,"column":18},"end":{"line":42,"column":3}},"line":18},"2":{"name":"(anonymous_2)","decl":{"start":{"line":19,"column":22},"end":{"line":19,"column":23}},"loc":{"start":{"line":19,"column":34},"end":{"line":36,"column":5}},"line":19},"3":{"name":"(anonymous_3)","decl":{"start":{"line":27,"column":12},"end":{"line":27,"column":13}},"loc":{"start":{"line":27,"column":42},"end":{"line":27,"column":103}},"line":27},"4":{"name":"(anonymous_4)","decl":{"start":{"line":44,"column":12},"end":{"line":44,"column":13}},"loc":{"start":{"line":44,"column":18},"end":{"line":68,"column":3}},"line":44},"5":{"name":"(anonymous_5)","decl":{"start":{"line":46,"column":37},"end":{"line":46,"column":38}},"loc":{"start":{"line":47,"column":6},"end":{"line":47,"column":72}},"line":47},"6":{"name":"(anonymous_6)","decl":{"start":{"line":53,"column":21},"end":{"line":53,"column":22}},"loc":{"start":{"line":53,"column":31},"end":{"line":57,"column":5}},"line":53},"7":{"name":"(anonymous_7)","decl":{"start":{"line":61,"column":18},"end":{"line":61,"column":19}},"loc":{"start":{"line":61,"column":28},"end":{"line":63,"column":5}},"line":61},"8":{"name":"(anonymous_8)","decl":{"start":{"line":66,"column":49},"end":{"line":66,"column":50}},"loc":{"start":{"line":66,"column":59},"end":{"line":66,"column":86}},"line":66},"9":{"name":"(anonymous_9)","decl":{"start":{"line":80,"column":26},"end":{"line":80,"column":27}},"loc":{"start":{"line":81,"column":10},"end":{"line":81,"column":49}},"line":81},"10":{"name":"(anonymous_10)","decl":{"start":{"line":102,"column":17},"end":{"line":102,"column":18}},"loc":{"start":{"line":102,"column":38},"end":{"line":118,"column":1}},"line":102}},"branchMap":{"0":{"loc":{"start":{"line":22,"column":8},"end":{"line":30,"column":9}},"type":"if","locations":[{"start":{"line":22,"column":8},"end":{"line":30,"column":9}},{"start":{},"end":{}}],"line":22},"1":{"loc":{"start":{"line":39,"column":4},"end":{"line":41,"column":5}},"type":"if","locations":[{"start":{"line":39,"column":4},"end":{"line":41,"column":5}},{"start":{},"end":{}}],"line":39},"2":{"loc":{"start":{"line":62,"column":25},"end":{"line":62,"column":45}},"type":"binary-expr","locations":[{"start":{"line":62,"column":25},"end":{"line":62,"column":40}},{"start":{"line":62,"column":44},"end":{"line":62,"column":45}}],"line":62},"3":{"loc":{"start":{"line":70,"column":2},"end":{"line":72,"column":3}},"type":"if","locations":[{"start":{"line":70,"column":2},"end":{"line":72,"column":3}},{"start":{},"end":{}}],"line":70}},"s":{"0":10,"1":10,"2":10,"3":10,"4":10,"5":5,"6":4,"7":4,"8":4,"9":4,"10":1,"11":1,"12":1,"13":0,"14":1,"15":5,"16":4,"17":10,"18":5,"19":2,"20":5,"21":5,"22":5,"23":2,"24":2,"25":2,"26":5,"27":5,"28":16,"29":5,"30":12,"31":5,"32":10,"33":8,"34":2,"35":2,"36":2,"37":2,"38":2,"39":2,"40":2,"41":2},"f":{"0":10,"1":5,"2":4,"3":1,"4":5,"5":2,"6":2,"7":16,"8":12,"9":2,"10":2},"b":{"0":[4,0],"1":[4,1],"2":[16,7],"3":[8,2]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"179e19e79dd0f60288d6e0478aa9aa5d244139a7"}
}
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ <h1><a href="index.html">All files</a> App.tsx</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2023-12-15T15:21:08.445Z
at 2024-01-04T10:16:15.628Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit ce18999

Please sign in to comment.