-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9b23e2
commit c2fe70a
Showing
8 changed files
with
264 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,137 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<coverage generated="1530365534"> | ||
<project timestamp="1530365534"> | ||
<coverage generated="1530446422"> | ||
<project timestamp="1530446422"> | ||
<package name="detox\core"> | ||
<file name="/srv/detox/src/core/Phrases.php"> | ||
<class name="detox\core\Phrases" namespace="detox\core"> | ||
<metrics complexity="5" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="9" elements="10" coveredelements="10"/> | ||
<metrics complexity="6" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="11" coveredelements="11"/> | ||
</class> | ||
<line num="10" type="method" name="processPhrases" visibility="public" complexity="5" crap="5" count="1"/> | ||
<line num="13" type="stmt" count="1"/> | ||
<line num="18" type="stmt" count="1"/> | ||
<line num="19" type="stmt" count="1"/> | ||
<line num="20" type="stmt" count="1"/> | ||
<line num="21" type="stmt" count="1"/> | ||
<line num="23" type="stmt" count="1"/> | ||
<line num="24" type="stmt" count="1"/> | ||
<line num="27" type="stmt" count="1"/> | ||
<line num="31" type="stmt" count="1"/> | ||
<metrics loc="31" ncloc="20" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="9" elements="10" coveredelements="10"/> | ||
<line num="10" type="method" name="processPhrases" visibility="public" complexity="6" crap="6" count="2"/> | ||
<line num="13" type="stmt" count="2"/> | ||
<line num="18" type="stmt" count="2"/> | ||
<line num="19" type="stmt" count="2"/> | ||
<line num="20" type="stmt" count="2"/> | ||
<line num="21" type="stmt" count="2"/> | ||
<line num="22" type="stmt" count="2"/> | ||
<line num="23" type="stmt" count="2"/> | ||
<line num="28" type="stmt" count="2"/> | ||
<line num="29" type="stmt" count="2"/> | ||
<line num="31" type="stmt" count="2"/> | ||
<metrics loc="31" ncloc="22" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="11" coveredelements="11"/> | ||
</file> | ||
<file name="/srv/detox/src/core/Words.php"> | ||
<class name="detox\core\Words" namespace="detox\core"> | ||
<metrics complexity="14" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="25" coveredstatements="25" elements="32" coveredelements="32"/> | ||
<class name="detox\core\Words" namespace="detox\core" fullPackage="detox" package="detox"> | ||
<metrics complexity="23" methods="11" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="42" elements="55" coveredelements="52"/> | ||
</class> | ||
<line num="24" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="5"/> | ||
<line num="26" type="stmt" count="5"/> | ||
<line num="27" type="stmt" count="5"/> | ||
<line num="32" type="method" name="processWords" visibility="public" complexity="5" crap="5" count="2"/> | ||
<line num="35" type="stmt" count="2"/> | ||
<line num="40" type="stmt" count="2"/> | ||
<line num="41" type="stmt" count="2"/> | ||
<line num="42" type="stmt" count="2"/> | ||
<line num="43" type="stmt" count="2"/> | ||
<line num="45" type="stmt" count="2"/> | ||
<line num="46" type="stmt" count="1"/> | ||
<line num="49" type="stmt" count="2"/> | ||
<line num="53" type="stmt" count="2"/> | ||
<line num="58" type="method" name="processPatterns" visibility="public" complexity="4" crap="4" count="2"/> | ||
<line num="60" type="stmt" count="2"/> | ||
<line num="33" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="7"/> | ||
<line num="35" type="stmt" count="7"/> | ||
<line num="36" type="stmt" count="7"/> | ||
<line num="37" type="stmt" count="7"/> | ||
<line num="42" type="method" name="processWords" visibility="public" complexity="6" crap="6" count="3"/> | ||
<line num="45" type="stmt" count="3"/> | ||
<line num="50" type="stmt" count="3"/> | ||
<line num="51" type="stmt" count="3"/> | ||
<line num="52" type="stmt" count="3"/> | ||
<line num="53" type="stmt" count="3"/> | ||
<line num="54" type="stmt" count="3"/> | ||
<line num="55" type="stmt" count="3"/> | ||
<line num="60" type="stmt" count="3"/> | ||
<line num="61" type="stmt" count="2"/> | ||
<line num="62" type="stmt" count="2"/> | ||
<line num="63" type="stmt" count="1"/> | ||
<line num="64" type="stmt" count="1"/> | ||
<line num="65" type="stmt" count="1"/> | ||
<line num="66" type="stmt" count="1"/> | ||
<line num="68" type="stmt" count="2"/> | ||
<line num="73" type="method" name="setData" visibility="public" complexity="1" crap="1" count="1"/> | ||
<line num="75" type="stmt" count="1"/> | ||
<line num="76" type="stmt" count="1"/> | ||
<line num="81" type="method" name="getScore" visibility="public" complexity="1" crap="1" count="5"/> | ||
<line num="83" type="stmt" count="5"/> | ||
<line num="89" type="method" name="setScore" visibility="public" complexity="1" crap="1" count="3"/> | ||
<line num="91" type="stmt" count="3"/> | ||
<line num="92" type="stmt" count="3"/> | ||
<line num="98" type="method" name="addLowSpaces" visibility="protected" complexity="1" crap="1" count="5"/> | ||
<line num="100" type="stmt" count="5"/> | ||
<metrics loc="101" ncloc="69" classes="1" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="25" coveredstatements="25" elements="32" coveredelements="32"/> | ||
<line num="63" type="stmt" count="3"/> | ||
<line num="68" type="method" name="processPatterns" visibility="public" complexity="7" crap="7.10" count="2"/> | ||
<line num="70" type="stmt" count="2"/> | ||
<line num="71" type="stmt" count="2"/> | ||
<line num="72" type="stmt" count="2"/> | ||
<line num="73" type="stmt" count="2"/> | ||
<line num="74" type="stmt" count="1"/> | ||
<line num="77" type="stmt" count="2"/> | ||
<line num="78" type="stmt" count="2"/> | ||
<line num="79" type="stmt" count="1"/> | ||
<line num="80" type="stmt" count="1"/> | ||
<line num="81" type="stmt" count="0"/> | ||
<line num="84" type="stmt" count="2"/> | ||
<line num="85" type="stmt" count="2"/> | ||
<line num="86" type="stmt" count="1"/> | ||
<line num="87" type="stmt" count="1"/> | ||
<line num="88" type="stmt" count="0"/> | ||
<line num="91" type="stmt" count="2"/> | ||
<line num="96" type="method" name="setData" visibility="public" complexity="1" crap="1" count="1"/> | ||
<line num="98" type="stmt" count="1"/> | ||
<line num="99" type="stmt" count="1"/> | ||
<line num="104" type="method" name="getScore" visibility="public" complexity="1" crap="1" count="5"/> | ||
<line num="106" type="stmt" count="5"/> | ||
<line num="112" type="method" name="setScore" visibility="public" complexity="1" crap="1" count="3"/> | ||
<line num="114" type="stmt" count="3"/> | ||
<line num="115" type="stmt" count="3"/> | ||
<line num="121" type="method" name="addLowSpaces" visibility="protected" complexity="1" crap="1" count="7"/> | ||
<line num="123" type="stmt" count="7"/> | ||
<line num="129" type="method" name="replace" visibility="protected" complexity="1" crap="1" count="3"/> | ||
<line num="132" type="stmt" count="3"/> | ||
<line num="133" type="stmt" count="3"/> | ||
<line num="134" type="stmt" count="3"/> | ||
<line num="136" type="method" name="replaceMatches" visibility="private" complexity="2" crap="2" count="1"/> | ||
<line num="139" type="stmt" count="1"/> | ||
<line num="140" type="stmt" count="1"/> | ||
<line num="142" type="stmt" count="1"/> | ||
<line num="148" type="method" name="setText" visibility="public" complexity="1" crap="1" count="7"/> | ||
<line num="150" type="stmt" count="7"/> | ||
<line num="151" type="stmt" count="7"/> | ||
<line num="156" type="method" name="getText" visibility="public" complexity="1" crap="1" count="3"/> | ||
<line num="158" type="stmt" count="3"/> | ||
<metrics loc="159" ncloc="109" classes="1" methods="11" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="42" elements="55" coveredelements="52"/> | ||
</file> | ||
</package> | ||
<package name="detox\dataset"> | ||
<file name="/srv/detox/src/dataset/EnglishSet.php"> | ||
<class name="detox\dataset\EnglishSet" namespace="detox\dataset"> | ||
<metrics complexity="2" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="2" elements="4" coveredelements="4"/> | ||
</class> | ||
<line num="56" type="method" name="getWords" visibility="public" complexity="1" crap="1" count="2"/> | ||
<line num="58" type="stmt" count="2"/> | ||
<line num="61" type="method" name="getPhrases" visibility="public" complexity="1" crap="1" count="1"/> | ||
<line num="63" type="stmt" count="1"/> | ||
<metrics loc="64" ncloc="57" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="2" elements="4" coveredelements="4"/> | ||
<line num="61" type="method" name="getWords" visibility="public" complexity="1" crap="1" count="3"/> | ||
<line num="63" type="stmt" count="3"/> | ||
<line num="66" type="method" name="getPhrases" visibility="public" complexity="1" crap="1" count="2"/> | ||
<line num="68" type="stmt" count="2"/> | ||
<metrics loc="69" ncloc="62" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="2" elements="4" coveredelements="4"/> | ||
</file> | ||
</package> | ||
<file name="/srv/detox/src/dataset/SetContract.php"> | ||
<metrics loc="11" ncloc="11" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> | ||
</file> | ||
<metrics files="4" loc="207" ncloc="157" classes="3" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="36" coveredstatements="36" elements="46" coveredelements="46"/> | ||
<package name="detox\source"> | ||
<file name="/srv/detox/src/source/Text.php"> | ||
<class name="detox\source\Text" namespace="detox\source"> | ||
<metrics complexity="11" methods="11" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="17" coveredstatements="17" elements="28" coveredelements="28"/> | ||
</class> | ||
<line num="13" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="9"/> | ||
<line num="15" type="stmt" count="9"/> | ||
<line num="16" type="stmt" count="9"/> | ||
<line num="18" type="method" name="setString" visibility="public" complexity="1" crap="1" count="8"/> | ||
<line num="20" type="stmt" count="8"/> | ||
<line num="21" type="stmt" count="8"/> | ||
<line num="23" type="method" name="getString" visibility="public" complexity="1" crap="1" count="8"/> | ||
<line num="25" type="stmt" count="8"/> | ||
<line num="31" type="method" name="setReplaceChars" visibility="public" complexity="1" crap="1" count="3"/> | ||
<line num="33" type="stmt" count="3"/> | ||
<line num="34" type="stmt" count="3"/> | ||
<line num="39" type="method" name="getReplaceChars" visibility="public" complexity="1" crap="1" count="4"/> | ||
<line num="41" type="stmt" count="4"/> | ||
<line num="47" type="method" name="setPrefix" visibility="public" complexity="1" crap="1" count="3"/> | ||
<line num="49" type="stmt" count="3"/> | ||
<line num="50" type="stmt" count="3"/> | ||
<line num="55" type="method" name="getPostfix" visibility="public" complexity="1" crap="1" count="4"/> | ||
<line num="57" type="stmt" count="4"/> | ||
<line num="63" type="method" name="setPostfix" visibility="public" complexity="1" crap="1" count="3"/> | ||
<line num="65" type="stmt" count="3"/> | ||
<line num="66" type="stmt" count="3"/> | ||
<line num="71" type="method" name="getPrefix" visibility="public" complexity="1" crap="1" count="4"/> | ||
<line num="73" type="stmt" count="4"/> | ||
<line num="79" type="method" name="isReplaceable" visibility="public" complexity="1" crap="1" count="7"/> | ||
<line num="81" type="stmt" count="7"/> | ||
<line num="87" type="method" name="setReplaceable" visibility="public" complexity="1" crap="1" count="3"/> | ||
<line num="89" type="stmt" count="3"/> | ||
<line num="90" type="stmt" count="3"/> | ||
<metrics loc="90" ncloc="66" classes="1" methods="11" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="17" coveredstatements="17" elements="28" coveredelements="28"/> | ||
</file> | ||
</package> | ||
<metrics files="5" loc="360" ncloc="270" classes="4" methods="25" coveredmethods="24" conditionals="0" coveredconditionals="0" statements="73" coveredstatements="71" elements="98" coveredelements="95"/> | ||
</project> | ||
</coverage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.