Skip to content

Commit

Permalink
add support for hook event
Browse files Browse the repository at this point in the history
  • Loading branch information
floodfx committed Feb 11, 2022
1 parent 085b335 commit ce845ce
Show file tree
Hide file tree
Showing 36 changed files with 324 additions and 272 deletions.
134 changes: 68 additions & 66 deletions 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="1644546373465" clover="3.2.0">
<project timestamp="1644546373465" name="All files">
<metrics statements="390" coveredstatements="390" conditionals="200" coveredconditionals="190" methods="86" coveredmethods="83" elements="676" coveredelements="663" complexity="0" loc="390" ncloc="390" packages="8" files="20" classes="20"/>
<coverage generated="1644553396018" clover="3.2.0">
<project timestamp="1644553396018" name="All files">
<metrics statements="392" coveredstatements="392" conditionals="202" coveredconditionals="192" methods="86" coveredmethods="83" elements="680" coveredelements="667" complexity="0" loc="392" ncloc="392" packages="8" files="20" classes="20"/>
<package name="examples.autocomplete">
<metrics statements="5" coveredstatements="5" conditionals="1" coveredconditionals="1" methods="2" coveredmethods="2"/>
<file name="data.ts" path="/Users/donnie/src/github.com/floodfx/liveviewjs/src/examples/autocomplete/data.ts">
Expand Down Expand Up @@ -146,7 +146,7 @@
<line num="20" count="1" type="stmt"/>
<line num="25" count="1" type="cond" truecount="1" falsecount="0"/>
<line num="26" count="1" type="stmt"/>
<line num="31" count="29" type="stmt"/>
<line num="31" count="30" type="stmt"/>
</file>
<file name="changeset.ts" path="/Users/donnie/src/github.com/floodfx/liveviewjs/src/server/component/changeset.ts">
<metrics statements="10" coveredstatements="10" conditionals="3" coveredconditionals="3" methods="3" coveredmethods="3"/>
Expand All @@ -169,22 +169,22 @@
</file>
</package>
<package name="server.socket">
<metrics statements="164" coveredstatements="164" conditionals="54" coveredconditionals="53" methods="26" coveredmethods="26"/>
<metrics statements="166" coveredstatements="166" conditionals="56" coveredconditionals="55" methods="26" coveredmethods="26"/>
<file name="component_manager.ts" path="/Users/donnie/src/github.com/floodfx/liveviewjs/src/server/socket/component_manager.ts">
<metrics statements="96" coveredstatements="96" conditionals="28" coveredconditionals="27" methods="17" coveredmethods="17"/>
<metrics statements="98" coveredstatements="98" conditionals="30" coveredconditionals="29" methods="17" coveredmethods="17"/>
<line num="4" count="5" type="stmt"/>
<line num="6" count="5" type="stmt"/>
<line num="7" count="5" type="stmt"/>
<line num="9" count="5" type="stmt"/>
<line num="14" count="30" type="stmt"/>
<line num="15" count="30" type="stmt"/>
<line num="16" count="30" type="stmt"/>
<line num="17" count="30" type="stmt"/>
<line num="21" count="30" type="stmt"/>
<line num="22" count="30" type="stmt"/>
<line num="23" count="30" type="stmt"/>
<line num="24" count="30" type="cond" truecount="1" falsecount="0"/>
<line num="25" count="29" type="stmt"/>
<line num="14" count="31" type="stmt"/>
<line num="15" count="31" type="stmt"/>
<line num="16" count="31" type="stmt"/>
<line num="17" count="31" type="stmt"/>
<line num="21" count="31" type="stmt"/>
<line num="22" count="31" type="stmt"/>
<line num="23" count="31" type="stmt"/>
<line num="24" count="31" type="cond" truecount="1" falsecount="0"/>
<line num="25" count="30" type="stmt"/>
<line num="30" count="11" type="stmt"/>
<line num="31" count="11" type="stmt"/>
<line num="32" count="11" type="cond" truecount="1" falsecount="1"/>
Expand All @@ -208,66 +208,68 @@
<line num="75" count="9" type="stmt"/>
<line num="79" count="3" type="stmt"/>
<line num="80" count="3" type="stmt"/>
<line num="84" count="13" type="stmt"/>
<line num="85" count="13" type="stmt"/>
<line num="90" count="13" type="cond" truecount="2" falsecount="0"/>
<line num="84" count="14" type="stmt"/>
<line num="85" count="14" type="stmt"/>
<line num="90" count="14" type="cond" truecount="2" falsecount="0"/>
<line num="91" count="7" type="stmt"/>
<line num="92" count="6" type="cond" truecount="2" falsecount="0"/>
<line num="92" count="7" type="cond" truecount="2" falsecount="0"/>
<line num="94" count="1" type="stmt"/>
<line num="97" count="5" type="cond" truecount="4" falsecount="0"/>
<line num="97" count="6" type="cond" truecount="4" falsecount="0"/>
<line num="98" count="2" type="stmt"/>
<line num="99" count="3" type="cond" truecount="4" falsecount="0"/>
<line num="99" count="4" type="cond" truecount="4" falsecount="0"/>
<line num="100" count="2" type="stmt"/>
<line num="101" count="2" type="cond" truecount="2" falsecount="0"/>
<line num="102" count="1" type="stmt"/>
<line num="103" count="1" type="stmt"/>
<line num="106" count="12" type="cond" truecount="2" falsecount="0"/>
<line num="108" count="11" type="stmt"/>
<line num="110" count="11" type="stmt"/>
<line num="112" count="11" type="stmt"/>
<line num="121" count="11" type="stmt"/>
<line num="124" count="1" type="stmt"/>
<line num="125" count="1" type="stmt"/>
<line num="132" count="2" type="stmt"/>
<line num="135" count="2" type="stmt"/>
<line num="136" count="2" type="stmt"/>
<line num="104" count="1" type="stmt"/>
<line num="105" count="1" type="stmt"/>
<line num="108" count="13" type="cond" truecount="2" falsecount="0"/>
<line num="110" count="12" type="stmt"/>
<line num="112" count="12" type="stmt"/>
<line num="114" count="12" type="stmt"/>
<line num="123" count="12" type="stmt"/>
<line num="126" count="1" type="stmt"/>
<line num="127" count="1" type="stmt"/>
<line num="134" count="2" type="stmt"/>
<line num="137" count="2" type="stmt"/>
<line num="138" count="2" type="stmt"/>
<line num="140" count="2" type="stmt"/>
<line num="142" count="2" type="stmt"/>
<line num="144" count="2" type="stmt"/>
<line num="153" count="2" type="stmt"/>
<line num="157" count="2" type="stmt"/>
<line num="158" count="2" type="stmt"/>
<line num="146" count="2" type="stmt"/>
<line num="155" count="2" type="stmt"/>
<line num="159" count="2" type="stmt"/>
<line num="168" count="2" type="stmt"/>
<line num="160" count="2" type="stmt"/>
<line num="161" count="2" type="stmt"/>
<line num="170" count="2" type="stmt"/>
<line num="172" count="2" type="cond" truecount="3" falsecount="0"/>
<line num="173" count="1" type="stmt"/>
<line num="178" count="2" type="stmt"/>
<line num="182" count="8" type="stmt"/>
<line num="183" count="8" type="stmt"/>
<line num="187" count="26" type="cond" truecount="4" falsecount="0"/>
<line num="188" count="3" type="stmt"/>
<line num="190" count="23" type="stmt"/>
<line num="191" count="23" type="stmt"/>
<line num="172" count="2" type="stmt"/>
<line num="174" count="2" type="cond" truecount="3" falsecount="0"/>
<line num="175" count="1" type="stmt"/>
<line num="180" count="2" type="stmt"/>
<line num="184" count="8" type="stmt"/>
<line num="185" count="8" type="stmt"/>
<line num="189" count="26" type="cond" truecount="4" falsecount="0"/>
<line num="190" count="3" type="stmt"/>
<line num="192" count="23" type="stmt"/>
<line num="199" count="2" type="cond" truecount="2" falsecount="0"/>
<line num="201" count="1" type="stmt"/>
<line num="193" count="23" type="stmt"/>
<line num="194" count="23" type="stmt"/>
<line num="201" count="2" type="cond" truecount="2" falsecount="0"/>
<line num="203" count="1" type="stmt"/>
<line num="205" count="1" type="stmt"/>
<line num="213" count="1" type="stmt"/>
<line num="216" count="1" type="stmt"/>
<line num="222" count="23" type="stmt"/>
<line num="227" count="2" type="stmt"/>
<line num="228" count="1" type="stmt"/>
<line num="233" count="27" type="stmt"/>
<line num="234" count="2" type="cond" truecount="1" falsecount="0"/>
<line num="235" count="1" type="stmt"/>
<line num="236" count="1" type="stmt"/>
<line num="207" count="1" type="stmt"/>
<line num="215" count="1" type="stmt"/>
<line num="218" count="1" type="stmt"/>
<line num="224" count="24" type="stmt"/>
<line num="229" count="2" type="stmt"/>
<line num="230" count="1" type="stmt"/>
<line num="235" count="28" type="stmt"/>
<line num="236" count="2" type="cond" truecount="1" falsecount="0"/>
<line num="237" count="1" type="stmt"/>
<line num="244" count="5" type="stmt"/>
<line num="245" count="4" type="stmt"/>
<line num="248" count="5" type="stmt"/>
<line num="249" count="14" type="stmt"/>
<line num="238" count="1" type="stmt"/>
<line num="239" count="1" type="stmt"/>
<line num="246" count="5" type="stmt"/>
<line num="247" count="4" type="stmt"/>
<line num="250" count="5" type="stmt"/>
<line num="251" count="15" type="stmt"/>
</file>
<file name="message_router.ts" path="/Users/donnie/src/github.com/floodfx/liveviewjs/src/server/socket/message_router.ts">
<metrics statements="57" coveredstatements="57" conditionals="24" coveredconditionals="24" methods="6" coveredmethods="6"/>
Expand Down Expand Up @@ -342,7 +344,7 @@
<metrics statements="5" coveredstatements="5" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
<line num="1" count="6" type="stmt"/>
<line num="3" count="6" type="stmt"/>
<line num="4" count="23" type="stmt"/>
<line num="4" count="24" type="stmt"/>
<line num="13" count="6" type="stmt"/>
<line num="14" count="4" type="stmt"/>
</file>
Expand All @@ -366,10 +368,10 @@
<line num="40" count="1" type="stmt"/>
<line num="42" count="126" type="stmt"/>
<line num="45" count="10" type="stmt"/>
<line num="51" count="120" type="stmt"/>
<line num="52" count="120" type="stmt"/>
<line num="57" count="48" type="cond" truecount="1" falsecount="0"/>
<line num="58" count="30" type="stmt"/>
<line num="51" count="121" type="stmt"/>
<line num="52" count="121" type="stmt"/>
<line num="57" count="49" type="cond" truecount="1" falsecount="0"/>
<line num="58" count="31" type="stmt"/>
<line num="63" count="18" type="stmt"/>
<line num="64" count="59" type="cond" truecount="2" falsecount="0"/>
<line num="65" count="10" type="stmt"/>
Expand All @@ -387,7 +389,7 @@
<line num="104" count="166" type="stmt"/>
<line num="105" count="166" type="stmt"/>
<line num="111" count="10" type="stmt"/>
<line num="112" count="89" type="stmt"/>
<line num="112" count="90" type="stmt"/>
</file>
</package>
<package name="server.templates.helpers">
Expand Down
Loading

0 comments on commit ce845ce

Please sign in to comment.