PHP Classes

File: build/coverage.xml

Recommend this page to a friend!
  Classes of Tomáš Vojík   PHP Tournament Bracket Generator   build/coverage.xml   Download  
File: build/coverage.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Tournament Bracket Generator
Organize the matches of teams in a tournament
Author: By
Last change: :art: Little structure improvements in WithTeamsTest

Signed-off-by: Heroyt <vojik@wboy.cz>
:recycle: Refactored container query get() method

Extracted its parts into their own methods.

Signed-off-by: Heroyt <vojik@wboy.cz>
:white_check_mark: Exporter tests

Signed-off-by: Heroyt <vojik@wboy.cz>
:white_check_mark: Tests for containers and WithGames trait

Signed-off-by: Heroyt <vojik@wboy.cz>
:sparkles: Setup exporter

Signed-off-by: Heroyt <vojik@wboy.cz>
:sparkles: Basic exporters for teams and games

Created a basic exporter interface for teams, games and a general exporter. Added tests for exporters.

Signed-off-by: Heroyt <vojik@wboy.cz>
:recycle: A small team refactoring into traits

Introduced 2 new traits for point / score counting and win statistics.

Signed-off-by: Heroyt <vojik@wboy.cz>
:recycle: A small game refactoring

Signed-off-by: Heroyt <vojik@wboy.cz>
:recycle: A small generator refactoring

Signed-off-by: Heroyt <vojik@wboy.cz>
:white_check_mark: Tests for containers

100% Coverage :grin:

Signed-off-by: Heroyt <vojik@wboy.cz>
:white_check_mark: Team tests for 100 coverage

Signed-off-by: Heroyt <vojik@wboy.cz>
:white_check_mark: New tests

Signed-off-by: Heroyt <vojik@wboy.cz>
:recycle: Restructure tests

Signed-off-by: Heroyt <vojik@wboy.cz>
:sparkles: New containers

Containers for easier management of hierarchy, teams and games.

Signed-off-by: Heroyt <vojik@wboy.cz>
:pencil2: Fix typo
:memo: Rename documentation directories
:memo: Move API documentation to its root directory
:memo: Fix some documentation
:art: Better structure, documented code an update to PHP 7.4

A lot of changes - mainly restructuring / reformatting the code to be more maintainable.
Team class inline (PHPdoc) and markdown documentation
Date: 3 years ago
Size: 138,062 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <coverage generated="1622052535"> <project timestamp="1622052535"> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Base.php"> <class name="TournamentGenerator\Base" namespace="global"> <metrics complexity="7" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="15" coveredelements="15"/> </class> <line num="26" type="method" name="__toString" visibility="public" complexity="1" crap="1" count="23"/> <line num="27" type="stmt" count="23"/> <line num="35" type="method" name="getName" visibility="public" complexity="1" crap="1" count="34"/> <line num="36" type="stmt" count="34"/> <line num="46" type="method" name="setName" visibility="public" complexity="1" crap="1" count="291"/> <line num="47" type="stmt" count="291"/> <line num="48" type="stmt" count="291"/> <line num="56" type="method" name="getId" visibility="public" complexity="1" crap="1" count="249"/> <line num="57" type="stmt" count="249"/> <line num="69" type="method" name="setId" visibility="public" complexity="3" crap="3" count="290"/> <line num="70" type="stmt" count="290"/> <line num="71" type="stmt" count="4"/> <line num="72" type="stmt" count="4"/> <line num="75" type="stmt" count="290"/> <line num="77" type="stmt" count="290"/> <metrics loc="80" ncloc="41" classes="1" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="15" coveredelements="15"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/BlankTeam.php"> <class name="TournamentGenerator\BlankTeam" namespace="global"> <metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="5" elements="6" coveredelements="6"/> </class> <line num="32" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/> <line num="33" type="stmt" count="17"/> <line num="34" type="stmt" count="17"/> <line num="35" type="stmt" count="17"/> <line num="36" type="stmt" count="17"/> <line num="37" type="stmt" count="17"/> <metrics loc="38" ncloc="17" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="5" elements="6" coveredelements="6"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Category.php"> <class name="TournamentGenerator\Category" namespace="global"> <metrics complexity="4" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="14" coveredelements="14"/> </class> <line num="48" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="30"/> <line num="49" type="stmt" count="30"/> <line num="50" type="stmt" count="30"/> <line num="51" type="stmt" count="30"/> <line num="52" type="stmt" count="30"/> <line num="53" type="stmt" count="30"/> <line num="54" type="stmt" count="30"/> <line num="61" type="method" name="allowSkip" visibility="public" complexity="1" crap="1" count="2"/> <line num="62" type="stmt" count="2"/> <line num="63" type="stmt" count="2"/> <line num="72" type="method" name="genGamesSimulate" visibility="public" complexity="1" crap="1" count="1"/> <line num="73" type="stmt" count="1"/> <line num="82" type="method" name="genGamesSimulateReal" visibility="public" complexity="1" crap="1" count="1"/> <line num="83" type="stmt" count="1"/> <metrics loc="86" ncloc="51" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="14" coveredelements="14"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Constants.php"> <class name="TournamentGenerator\Constants" namespace="global"> <metrics complexity="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </class> <metrics loc="44" ncloc="29" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Containers/BaseContainer.php"> <class name="TournamentGenerator\Containers\BaseContainer" namespace="global"> <metrics complexity="37" methods="25" coveredmethods="25" conditionals="0" coveredconditionals="0" statements="68" coveredstatements="68" elements="93" coveredelements="93"/> </class> <line num="44" type="method" name="fromArray" visibility="public" complexity="1" crap="1" count="4"/> <line num="45" type="stmt" count="4"/> <line num="46" type="stmt" count="4"/> <line num="47" type="stmt" count="4"/> <line num="55" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="271"/> <line num="56" type="stmt" count="271"/> <line num="57" type="stmt" count="271"/> <line num="58" type="stmt" count="271"/> <line num="65" type="method" name="count" visibility="public" complexity="1" crap="1" count="42"/> <line num="66" type="stmt" count="42"/> <line num="74" type="method" name="get" visibility="public" complexity="3" crap="3" count="137"/> <line num="75" type="stmt" count="137"/> <line num="76" type="stmt" count="73"/> <line num="77" type="stmt" count="73"/> <line num="78" type="stmt" count="73"/> <line num="80" type="stmt" count="73"/> <line num="82" type="stmt" count="137"/> <line num="90" type="method" name="getTopLevel" visibility="public" complexity="1" crap="1" count="3"/> <line num="91" type="stmt" count="3"/> <line num="94" type="method" name="getTopLevelQuery" visibility="public" complexity="1" crap="1" count="1"/> <line num="95" type="stmt" count="1"/> <line num="98" type="method" name="getQuery" visibility="public" complexity="1" crap="1" count="5"/> <line num="99" type="stmt" count="5"/> <line num="107" type="method" name="current" visibility="public" complexity="1" crap="1" count="2"/> <line num="108" type="stmt" count="2"/> <line num="114" type="method" name="next" visibility="public" complexity="1" crap="1" count="2"/> <line num="115" type="stmt" count="2"/> <line num="116" type="stmt" count="2"/> <line num="123" type="method" name="key" visibility="public" complexity="1" crap="1" count="1"/> <line num="124" type="stmt" count="1"/> <line num="132" type="method" name="valid" visibility="public" complexity="1" crap="1" count="2"/> <line num="133" type="stmt" count="2"/> <line num="139" type="method" name="rewind" visibility="public" complexity="1" crap="1" count="2"/> <line num="140" type="stmt" count="2"/> <line num="141" type="stmt" count="2"/> <line num="153" type="method" name="insert" visibility="public" complexity="4" crap="4" count="244"/> <line num="154" type="stmt" count="244"/> <line num="155" type="stmt" count="244"/> <line num="156" type="stmt" count="244"/> <line num="157" type="stmt" count="143"/> <line num="160" type="stmt" count="244"/> <line num="171" type="method" name="insertFlat" visibility="protected" complexity="2" crap="2" count="4"/> <line num="172" type="stmt" count="4"/> <line num="173" type="stmt" count="4"/> <line num="175" type="stmt" count="4"/> <line num="187" type="method" name="addChild" visibility="public" complexity="3" crap="3" count="148"/> <line num="188" type="stmt" count="148"/> <line num="189" type="stmt" count="148"/> <line num="190" type="stmt" count="148"/> <line num="191" type="stmt" count="148"/> <line num="194" type="stmt" count="148"/> <line num="202" type="method" name="getLeafIds" visibility="public" complexity="3" crap="3" count="50"/> <line num="203" type="stmt" count="50"/> <line num="204" type="stmt" count="11"/> <line num="205" type="stmt" count="11"/> <line num="206" type="stmt" count="11"/> <line num="208" type="stmt" count="11"/> <line num="210" type="stmt" count="50"/> <line num="220" type="method" name="filter" visibility="public" complexity="1" crap="1" count="5"/> <line num="221" type="stmt" count="5"/> <line num="222" type="stmt" count="5"/> <line num="223" type="stmt" count="5"/> <line num="233" type="method" name="sort" visibility="public" complexity="1" crap="1" count="1"/> <line num="234" type="stmt" count="1"/> <line num="235" type="stmt" count="1"/> <line num="236" type="stmt" count="1"/> <line num="248" type="method" name="sortBy" visibility="public" complexity="1" crap="1" count="1"/> <line num="249" type="stmt" count="1"/> <line num="250" type="stmt" count="1"/> <line num="251" type="stmt" count="1"/> <line num="259" type="method" name="addSorter" visibility="public" complexity="1" crap="1" count="48"/> <line num="260" type="stmt" count="48"/> <line num="261" type="stmt" count="48"/> <line num="262" type="stmt" count="48"/> <line num="270" type="method" name="unique" visibility="public" complexity="1" crap="1" count="119"/> <line num="271" type="stmt" count="119"/> <line num="272" type="stmt" count="119"/> <line num="273" type="stmt" count="119"/> <line num="286" type="method" name="only" visibility="public" complexity="1" crap="1" count="5"/> <line num="287" type="stmt" count="5"/> <line num="288" type="stmt" count="5"/> <line num="289" type="stmt" count="5"/> <line num="298" type="method" name="ids" visibility="public" complexity="1" crap="1" count="4"/> <line num="299" type="stmt" count="4"/> <line num="300" type="stmt" count="4"/> <line num="301" type="stmt" count="4"/> <line num="310" type="method" name="getParent" visibility="public" complexity="1" crap="1" count="2"/> <line num="311" type="stmt" count="2"/> <line num="323" type="method" name="setParent" visibility="public" complexity="3" crap="3" count="149"/> <line num="324" type="stmt" count="149"/> <line num="325" type="stmt" count="1"/> <line num="327" type="stmt" count="148"/> <line num="328" type="stmt" count="148"/> <metrics loc="329" ncloc="172" classes="1" methods="25" coveredmethods="25" conditionals="0" coveredconditionals="0" statements="68" coveredstatements="68" elements="93" coveredelements="93"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Containers/ContainerQuery.php"> <class name="TournamentGenerator\Containers\ContainerQuery" namespace="global"> <metrics complexity="44" methods="16" coveredmethods="16" conditionals="0" coveredconditionals="0" statements="81" coveredstatements="81" elements="97" coveredelements="97"/> </class> <line num="40" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="129"/> <line num="41" type="stmt" count="129"/> <line num="42" type="stmt" count="129"/> <line num="43" type="stmt" count="129"/> <line num="50" type="method" name="getFirst" visibility="public" complexity="2" crap="2" count="4"/> <line num="51" type="stmt" count="4"/> <line num="52" type="stmt" count="4"/> <line num="53" type="stmt" count="3"/> <line num="55" type="stmt" count="4"/> <line num="63" type="method" name="get" visibility="public" complexity="3" crap="3" count="128"/> <line num="65" type="stmt" count="128"/> <line num="66" type="stmt" count="1"/> <line num="69" type="stmt" count="128"/> <line num="73" type="stmt" count="128"/> <line num="76" type="stmt" count="128"/> <line num="79" type="stmt" count="128"/> <line num="82" type="stmt" count="128"/> <line num="83" type="stmt" count="2"/> <line num="87" type="stmt" count="128"/> <line num="89" type="stmt" count="128"/> <line num="97" type="method" name="filterUnique" visibility="protected" complexity="5" crap="5" count="128"/> <line num="98" type="stmt" count="128"/> <line num="99" type="stmt" count="123"/> <line num="100" type="stmt" count="119"/> <line num="101" type="stmt" count="119"/> <line num="102" type="stmt" count="119"/> <line num="103" type="stmt" count="22"/> <line num="104" type="stmt" count="22"/> <line num="106" type="stmt" count="119"/> <line num="110" type="stmt" count="10"/> <line num="113" type="stmt" count="128"/> <line num="120" type="method" name="applyFilters" visibility="protected" complexity="2" crap="2" count="128"/> <line num="121" type="stmt" count="128"/> <line num="122" type="stmt" count="5"/> <line num="124" type="stmt" count="128"/> <line num="131" type="method" name="sortData" visibility="protected" complexity="4" crap="4" count="128"/> <line num="132" type="stmt" count="128"/> <line num="133" type="stmt" count="48"/> <line num="135" type="stmt" count="126"/> <line num="136" type="stmt" count="1"/> <line num="138" type="stmt" count="126"/> <line num="139" type="stmt" count="1"/> <line num="141" type="stmt" count="128"/> <line num="148" type="method" name="pluckData" visibility="protected" complexity="7" crap="7" count="128"/> <line num="149" type="stmt" count="128"/> <line num="150" type="stmt" count="8"/> <line num="151" type="stmt" count="8"/> <line num="152" type="stmt" count="1"/> <line num="154" type="stmt" count="7"/> <line num="155" type="stmt" count="6"/> <line num="156" type="stmt" count="1"/> <line num="158" type="stmt" count="5"/> <line num="159" type="stmt" count="5"/> <line num="162" type="stmt" count="2"/> <line num="163" type="stmt" count="8"/> <line num="165" type="stmt" count="128"/> <line num="174" type="method" name="filter" visibility="public" complexity="1" crap="1" count="5"/> <line num="175" type="stmt" count="5"/> <line num="176" type="stmt" count="5"/> <line num="184" type="method" name="desc" visibility="public" complexity="1" crap="1" count="2"/> <line num="185" type="stmt" count="2"/> <line num="186" type="stmt" count="2"/> <line num="196" type="method" name="sort" visibility="public" complexity="1" crap="1" count="1"/> <line num="197" type="stmt" count="1"/> <line num="198" type="stmt" count="1"/> <line num="210" type="method" name="sortBy" visibility="public" complexity="1" crap="1" count="1"/> <line num="211" type="stmt" count="1"/> <line num="212" type="stmt" count="1"/> <line num="220" type="method" name="addSorter" visibility="public" complexity="1" crap="1" count="48"/> <line num="221" type="stmt" count="48"/> <line num="222" type="stmt" count="48"/> <line num="230" type="method" name="unique" visibility="public" complexity="1" crap="1" count="123"/> <line num="231" type="stmt" count="123"/> <line num="232" type="stmt" count="123"/> <line num="241" type="method" name="ids" visibility="public" complexity="1" crap="1" count="4"/> <line num="242" type="stmt" count="4"/> <line num="243" type="stmt" count="4"/> <line num="254" type="method" name="only" visibility="public" complexity="2" crap="2" count="9"/> <line num="255" type="stmt" count="9"/> <line num="256" type="stmt" count="1"/> <line num="258" type="stmt" count="9"/> <line num="259" type="stmt" count="9"/> <line num="270" type="method" name="sortByPropertyCallback" visibility="protected" complexity="11" crap="11" count="1"/> <line num="272" type="stmt" count="1"/> <line num="273" type="stmt" count="1"/> <line num="274" type="stmt" count="1"/> <line num="275" type="stmt" count="1"/> <line num="276" type="stmt" count="1"/> <line num="278" type="stmt" count="1"/> <line num="279" type="stmt" count="1"/> <line num="281" type="stmt" count="1"/> <line num="282" type="stmt" count="1"/> <line num="284" type="stmt" count="1"/> <line num="285" type="stmt" count="1"/> <line num="289" type="stmt" count="1"/> <line num="290" type="stmt" count="1"/> <line num="292" type="stmt" count="1"/> <metrics loc="294" ncloc="188" classes="1" methods="16" coveredmethods="16" conditionals="0" coveredconditionals="0" statements="81" coveredstatements="81" elements="97" coveredelements="97"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Containers/GameContainer.php"> <class name="TournamentGenerator\Containers\GameContainer" namespace="global"> <metrics complexity="17" methods="6" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="27" coveredstatements="27" elements="33" coveredelements="33"/> </class> <line num="39" type="method" name="incrementId" visibility="public" complexity="5" crap="5" count="178"/> <line num="41" type="stmt" count="178"/> <line num="43" type="stmt" count="178"/> <line num="44" type="stmt" count="110"/> <line num="47" type="stmt" count="178"/> <line num="48" type="stmt" count="110"/> <line num="49" type="stmt" count="97"/> <line num="52" type="stmt" count="178"/> <line num="58" type="method" name="getAutoIncrement" visibility="public" complexity="1" crap="1" count="178"/> <line num="59" type="stmt" count="178"/> <line num="73" type="method" name="setAutoIncrement" visibility="public" complexity="2" crap="2" count="162"/> <line num="74" type="stmt" count="162"/> <line num="75" type="stmt" count="162"/> <line num="76" type="stmt" count="162"/> <line num="77" type="stmt" count="1"/> <line num="79" type="stmt" count="162"/> <line num="93" type="method" name="resetAutoIncrement" visibility="public" complexity="5" crap="5" count="5"/> <line num="94" type="stmt" count="5"/> <line num="96" type="stmt" count="5"/> <line num="97" type="stmt" count="1"/> <line num="100" type="stmt" count="5"/> <line num="101" type="stmt" count="1"/> <line num="102" type="stmt" count="1"/> <line num="105" type="stmt" count="5"/> <line num="112" type="method" name="getFirstIncrement" visibility="public" complexity="1" crap="1" count="1"/> <line num="113" type="stmt" count="1"/> <line num="127" type="method" name="addChild" visibility="public" complexity="3" crap="3" count="144"/> <line num="128" type="stmt" count="144"/> <line num="129" type="stmt" count="144"/> <line num="130" type="stmt" count="1"/> <line num="132" type="stmt" count="143"/> <line num="134" type="stmt" count="143"/> <line num="135" type="stmt" count="143"/> <metrics loc="137" ncloc="75" classes="1" methods="6" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="27" coveredstatements="27" elements="33" coveredelements="33"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Containers/HierarchyContainer.php"> <class name="TournamentGenerator\Containers\HierarchyContainer" namespace="global"> <metrics complexity="11" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="21" coveredstatements="21" elements="25" coveredelements="25"/> </class> <line num="28" type="method" name="insert" visibility="public" complexity="4" crap="4" count="143"/> <line num="29" type="stmt" count="143"/> <line num="30" type="stmt" count="143"/> <line num="32" type="stmt" count="143"/> <line num="33" type="stmt" count="143"/> <line num="34" type="stmt" count="2"/> <line num="37" type="stmt" count="143"/> <line num="38" type="stmt" count="143"/> <line num="49" type="method" name="getHierarchyLevelQuery" visibility="public" complexity="1" crap="1" count="4"/> <line num="50" type="stmt" count="4"/> <line num="51" type="stmt" count="4"/> <line num="52" type="stmt" count="4"/> <line num="62" type="method" name="getHierarchyLevel" visibility="public" complexity="5" crap="5" count="58"/> <line num="63" type="stmt" count="58"/> <line num="64" type="stmt" count="1"/> <line num="66" type="stmt" count="57"/> <line num="67" type="stmt" count="55"/> <line num="69" type="stmt" count="17"/> <line num="70" type="stmt" count="15"/> <line num="71" type="stmt" count="15"/> <line num="72" type="stmt" count="15"/> <line num="74" type="stmt" count="15"/> <line num="76" type="stmt" count="8"/> <line num="84" type="method" name="getLevelType" visibility="public" complexity="1" crap="1" count="2"/> <line num="85" type="stmt" count="2"/> <metrics loc="87" ncloc="56" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="21" coveredstatements="21" elements="25" coveredelements="25"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Containers/TeamContainer.php"> <class name="TournamentGenerator\Containers\TeamContainer" namespace="global"> <metrics complexity="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </class> <metrics loc="17" ncloc="8" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Containers/index.php"> <metrics loc="13" ncloc="2" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Export/Export.php"> <line num="50" type="stmt" count="1"/> <metrics loc="49" ncloc="18" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Export/ExportBase.php"> <class name="TournamentGenerator\Export\ExportBase" namespace="global"> <metrics complexity="4" methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="14" coveredelements="14"/> </class> <line num="26" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/> <line num="27" type="stmt" count="17"/> <line num="28" type="stmt" count="17"/> <line num="35" type="method" name="get" visibility="public" complexity="1" crap="1" count="14"/> <line num="36" type="stmt" count="14"/> <line num="37" type="stmt" count="14"/> <line num="38" type="stmt" count="14"/> <line num="39" type="stmt" count="14"/> <line num="40" type="stmt" count="14"/> <line num="41" type="stmt" count="14"/> <line num="49" type="method" name="applyModifiers" visibility="protected" complexity="2" crap="2" count="16"/> <line num="50" type="stmt" count="16"/> <line num="51" type="stmt" count="5"/> <line num="53" type="stmt" count="16"/> <line num="54" type="stmt" count="1"/> <metrics loc="53" ncloc="32" classes="1" methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="14" coveredelements="14"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Export/Exporter.php"> <class name="TournamentGenerator\Export\Exporter" namespace="global"> <metrics complexity="13" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="24" coveredstatements="24" elements="31" coveredelements="31"/> </class> <line num="25" type="method" name="__construct" visibility="public" complexity="3" crap="3" count="8"/> <line num="26" type="stmt" count="8"/> <line num="27" type="stmt" count="8"/> <line num="29" type="stmt" count="8"/> <line num="30" type="stmt" count="8"/> <line num="32" type="stmt" count="8"/> <line num="33" type="stmt" count="8"/> <line num="43" type="method" name="__call" visibility="public" complexity="4" crap="4" count="3"/> <line num="44" type="stmt" count="3"/> <line num="45" type="stmt" count="3"/> <line num="46" type="stmt" count="3"/> <line num="47" type="stmt" count="2"/> <line num="48" type="stmt" count="2"/> <line num="51" type="stmt" count="3"/> <line num="52" type="stmt" count="2"/> <line num="55" type="stmt" count="1"/> <line num="65" type="method" name="export" visibility="public" complexity="1" crap="1" count="3"/> <line num="66" type="stmt" count="3"/> <line num="76" type="method" name="start" visibility="public" complexity="1" crap="1" count="8"/> <line num="77" type="stmt" count="8"/> <line num="85" type="method" name="get" visibility="public" complexity="2" crap="2" count="7"/> <line num="86" type="stmt" count="7"/> <line num="87" type="stmt" count="7"/> <line num="88" type="stmt" count="7"/> <line num="89" type="stmt" count="7"/> <line num="91" type="stmt" count="7"/> <line num="99" type="method" name="getBasic" visibility="public" complexity="1" crap="1" count="7"/> <line num="100" type="stmt" count="7"/> <line num="114" type="method" name="withSetup" visibility="public" complexity="1" crap="1" count="2"/> <line num="115" type="stmt" count="2"/> <line num="116" type="stmt" count="2"/> <line num="118" type="stmt" count="1"/> <metrics loc="117" ncloc="65" classes="1" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="24" coveredstatements="24" elements="31" coveredelements="31"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Export/GameExporter.php"> <class name="TournamentGenerator\Export\GameExporter" namespace="global"> <metrics complexity="5" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="12" elements="16" coveredelements="16"/> </class> <line num="27" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="11"/> <line num="28" type="stmt" count="11"/> <line num="29" type="stmt" count="1"/> <line num="31" type="stmt" count="10"/> <line num="32" type="stmt" count="10"/> <line num="41" type="method" name="export" visibility="public" complexity="1" crap="1" count="3"/> <line num="42" type="stmt" count="3"/> <line num="52" type="method" name="start" visibility="public" complexity="1" crap="1" count="11"/> <line num="53" type="stmt" count="11"/> <line num="61" type="method" name="getBasic" visibility="public" complexity="1" crap="1" count="9"/> <line num="62" type="stmt" count="9"/> <line num="64" type="stmt" count="9"/> <line num="65" type="stmt" count="9"/> <line num="66" type="stmt" count="9"/> <line num="67" type="stmt" count="9"/> <line num="69" type="stmt" count="9"/> <line num="71" type="stmt" count="1"/> <metrics loc="70" ncloc="40" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="12" coveredstatements="12" elements="16" coveredelements="16"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Export/SetupExporter.php"> <class name="TournamentGenerator\Export\SetupExporter" namespace="global"> <metrics complexity="40" methods="13" coveredmethods="13" conditionals="0" coveredconditionals="0" statements="95" coveredstatements="95" elements="108" coveredelements="108"/> </class> <line num="34" type="method" name="export" visibility="public" complexity="1" crap="1" count="2"/> <line num="35" type="stmt" count="2"/> <line num="41" type="method" name="start" visibility="public" complexity="1" crap="1" count="4"/> <line num="42" type="stmt" count="4"/> <line num="50" type="method" name="get" visibility="public" complexity="1" crap="1" count="4"/> <line num="51" type="stmt" count="4"/> <line num="52" type="stmt" count="4"/> <line num="53" type="stmt" count="4"/> <line num="59" type="method" name="getBasic" visibility="public" complexity="1" crap="1" count="4"/> <line num="60" type="stmt" count="4"/> <line num="61" type="stmt" count="4"/> <line num="62" type="stmt" count="4"/> <line num="63" type="stmt" count="4"/> <line num="64" type="stmt" count="4"/> <line num="65" type="stmt" count="4"/> <line num="73" type="method" name="getTournamentData" visibility="protected" complexity="8" crap="8" count="4"/> <line num="74" type="stmt" count="4"/> <line num="75" type="stmt" count="2"/> <line num="77" type="stmt" count="3"/> <line num="78" type="stmt" count="3"/> <line num="79" type="stmt" count="3"/> <line num="80" type="stmt" count="3"/> <line num="82" type="stmt" count="3"/> <line num="83" type="stmt" count="3"/> <line num="84" type="stmt" count="3"/> <line num="85" type="stmt" count="3"/> <line num="86" type="stmt" count="3"/> <line num="88" type="stmt" count="3"/> <line num="89" type="stmt" count="3"/> <line num="90" type="stmt" count="3"/> <line num="91" type="stmt" count="3"/> <line num="92" type="stmt" count="3"/> <line num="94" type="stmt" count="3"/> <line num="101" type="method" name="getCategoriesData" visibility="protected" complexity="4" crap="4" count="4"/> <line num="102" type="stmt" count="4"/> <line num="103" type="stmt" count="1"/> <line num="104" type="stmt" count="1"/> <line num="107" type="stmt" count="4"/> <line num="108" type="stmt" count="3"/> <line num="109" type="stmt" count="3"/> <line num="110" type="stmt" count="1"/> <line num="113" type="stmt" count="4"/> <line num="122" type="method" name="getCategoryData" visibility="protected" complexity="5" crap="5" count="1"/> <line num="124" type="stmt" count="1"/> <line num="125" type="stmt" count="1"/> <line num="126" type="stmt" count="1"/> <line num="127" type="stmt" count="1"/> <line num="128" type="stmt" count="1"/> <line num="129" type="stmt" count="1"/> <line num="130" type="stmt" count="1"/> <line num="139" type="method" name="getRoundsData" visibility="protected" complexity="4" crap="4" count="4"/> <line num="140" type="stmt" count="4"/> <line num="141" type="stmt" count="2"/> <line num="142" type="stmt" count="2"/> <line num="145" type="stmt" count="4"/> <line num="146" type="stmt" count="3"/> <line num="147" type="stmt" count="3"/> <line num="148" type="stmt" count="3"/> <line num="151" type="stmt" count="4"/> <line num="160" type="method" name="getRoundData" visibility="protected" complexity="4" crap="4" count="4"/> <line num="162" type="stmt" count="4"/> <line num="163" type="stmt" count="4"/> <line num="164" type="stmt" count="4"/> <line num="165" type="stmt" count="4"/> <line num="166" type="stmt" count="4"/> <line num="167" type="stmt" count="4"/> <line num="168" type="stmt" count="4"/> <line num="177" type="method" name="getGroupsData" visibility="protected" complexity="6" crap="6" count="4"/> <line num="178" type="stmt" count="4"/> <line num="179" type="stmt" count="4"/> <line num="180" type="stmt" count="4"/> <line num="181" type="stmt" count="2"/> <line num="182" type="stmt" count="2"/> <line num="183" type="stmt" count="1"/> <line num="186" type="stmt" count="4"/> <line num="187" type="stmt" count="4"/> <line num="188" type="stmt" count="4"/> <line num="189" type="stmt" count="4"/> <line num="190" type="stmt" count="3"/> <line num="194" type="stmt" count="4"/> <line num="203" type="method" name="getGroupData" visibility="protected" complexity="3" crap="3" count="4"/> <line num="205" type="stmt" count="4"/> <line num="206" type="stmt" count="4"/> <line num="207" type="stmt" count="4"/> <line num="208" type="stmt" count="4"/> <line num="210" type="stmt" count="4"/> <line num="211" type="stmt" count="4"/> <line num="212" type="stmt" count="4"/> <line num="213" type="stmt" count="4"/> <line num="214" type="stmt" count="4"/> <line num="215" type="stmt" count="4"/> <line num="217" type="stmt" count="4"/> <line num="218" type="stmt" count="4"/> <line num="219" type="stmt" count="4"/> <line num="220" type="stmt" count="4"/> <line num="221" type="stmt" count="4"/> <line num="232" type="method" name="getProgressionData" visibility="protected" complexity="1" crap="1" count="3"/> <line num="234" type="stmt" count="3"/> <line num="235" type="stmt" count="3"/> <line num="236" type="stmt" count="3"/> <line num="237" type="stmt" count="3"/> <line num="238" type="stmt" count="3"/> <line num="239" type="stmt" count="3"/> <line num="250" type="method" name="getTeamFilterData" visibility="protected" complexity="1" crap="1" count="1"/> <line num="252" type="stmt" count="1"/> <line num="253" type="stmt" count="1"/> <line num="254" type="stmt" count="1"/> <line num="255" type="stmt" count="1"/> <line num="258" type="stmt" count="1"/> <metrics loc="257" ncloc="181" classes="1" methods="13" coveredmethods="13" conditionals="0" coveredconditionals="0" statements="95" coveredstatements="95" elements="108" coveredelements="108"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Export/TeamExporter.php"> <class name="TournamentGenerator\Export\TeamExporter" namespace="global"> <metrics complexity="8" methods="6" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="20" coveredstatements="20" elements="26" coveredelements="26"/> </class> <line num="33" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="14"/> <line num="34" type="stmt" count="14"/> <line num="35" type="stmt" count="1"/> <line num="37" type="stmt" count="13"/> <line num="38" type="stmt" count="13"/> <line num="47" type="method" name="export" visibility="public" complexity="1" crap="1" count="3"/> <line num="48" type="stmt" count="3"/> <line num="58" type="method" name="start" visibility="public" complexity="1" crap="1" count="14"/> <line num="59" type="stmt" count="14"/> <line num="67" type="method" name="getBasic" visibility="public" complexity="1" crap="1" count="12"/> <line num="68" type="stmt" count="12"/> <line num="70" type="stmt" count="12"/> <line num="71" type="stmt" count="12"/> <line num="72" type="stmt" count="12"/> <line num="74" type="stmt" count="12"/> <line num="88" type="method" name="withScores" visibility="public" complexity="1" crap="1" count="5"/> <line num="89" type="stmt" count="5"/> <line num="90" type="stmt" count="5"/> <line num="108" type="method" name="withScoresModifier" visibility="protected" complexity="2" crap="2" count="5"/> <line num="109" type="stmt" count="5"/> <line num="111" type="stmt" count="5"/> <line num="112" type="stmt" count="5"/> <line num="113" type="stmt" count="4"/> <line num="114" type="stmt" count="4"/> <line num="115" type="stmt" count="5"/> <line num="117" type="stmt" count="5"/> <line num="119" type="stmt" count="1"/> <metrics loc="118" ncloc="59" classes="1" methods="6" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="20" coveredstatements="20" elements="26" coveredelements="26"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Export/index.php"> <metrics loc="13" ncloc="2" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Game.php"> <class name="TournamentGenerator\Game" namespace="global"> <metrics complexity="48" methods="22" coveredmethods="22" conditionals="0" coveredconditionals="0" statements="134" coveredstatements="134" elements="156" coveredelements="156"/> </class> <line num="43" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="195"/> <line num="44" type="stmt" count="195"/> <line num="45" type="stmt" count="195"/> <line num="46" type="stmt" count="194"/> <line num="55" type="method" name="addTeam" visibility="public" complexity="4" crap="4" count="194"/> <line num="56" type="stmt" count="194"/> <line num="57" type="stmt" count="194"/> <line num="58" type="stmt" count="194"/> <line num="61" type="stmt" count="194"/> <line num="62" type="stmt" count="194"/> <line num="63" type="stmt" count="194"/> <line num="65" type="stmt" count="194"/> <line num="66" type="stmt" count="194"/> <line num="69" type="stmt" count="194"/> <line num="77" type="method" name="getGroup" visibility="public" complexity="1" crap="1" count="194"/> <line num="78" type="stmt" count="194"/> <line num="86" type="method" name="getTeams" visibility="public" complexity="1" crap="1" count="32"/> <line num="87" type="stmt" count="32"/> <line num="95" type="method" name="getTeamsIds" visibility="public" complexity="1" crap="1" count="19"/> <line num="96" type="stmt" count="19"/> <line num="97" type="stmt" count="19"/> <line num="98" type="stmt" count="19"/> <line num="106" type="method" name="getResults" visibility="public" complexity="1" crap="1" count="19"/> <line num="107" type="stmt" count="19"/> <line num="108" type="stmt" count="19"/> <line num="121" type="method" name="setResults" visibility="public" complexity="5" crap="5" count="79"/> <line num="122" type="stmt" count="79"/> <line num="123" type="stmt" count="79"/> <line num="125" type="stmt" count="79"/> <line num="126" type="stmt" count="79"/> <line num="127" type="stmt" count="79"/> <line num="128" type="stmt" count="79"/> <line num="129" type="stmt" count="1"/> <line num="131" type="stmt" count="78"/> <line num="132" type="stmt" count="78"/> <line num="133" type="stmt" count="1"/> <line num="135" type="stmt" count="77"/> <line num="136" type="stmt" count="77"/> <line num="138" type="stmt" count="77"/> <line num="150" type="method" name="resetResults" visibility="public" complexity="2" crap="2" count="79"/> <line num="151" type="stmt" count="79"/> <line num="152" type="stmt" count="20"/> <line num="154" type="stmt" count="79"/> <line num="155" type="stmt" count="79"/> <line num="167" type="method" name="resetTeamScore" visibility="protected" complexity="6" crap="6" count="20"/> <line num="168" type="stmt" count="20"/> <line num="169" type="stmt" count="20"/> <line num="170" type="stmt" count="20"/> <line num="171" type="stmt" count="20"/> <line num="172" type="stmt" count="20"/> <line num="173" type="stmt" count="19"/> <line num="174" type="stmt" count="19"/> <line num="175" type="stmt" count="20"/> <line num="176" type="stmt" count="1"/> <line num="177" type="stmt" count="1"/> <line num="178" type="stmt" count="19"/> <line num="179" type="stmt" count="19"/> <line num="180" type="stmt" count="19"/> <line num="181" type="stmt" count="2"/> <line num="182" type="stmt" count="2"/> <line num="183" type="stmt" count="2"/> <line num="184" type="stmt" count="1"/> <line num="185" type="stmt" count="1"/> <line num="186" type="stmt" count="1"/> <line num="188" type="stmt" count="20"/> <line num="197" type="method" name="getTeam" visibility="public" complexity="2" crap="2" count="80"/> <line num="198" type="stmt" count="80"/> <line num="199" type="stmt" count="80"/> <line num="200" type="stmt" count="80"/> <line num="201" type="stmt" count="80"/> <line num="214" type="method" name="setTeamScore" visibility="protected" complexity="4" crap="4" count="77"/> <line num="215" type="stmt" count="77"/> <line num="216" type="stmt" count="77"/> <line num="217" type="stmt" count="77"/> <line num="218" type="stmt" count="77"/> <line num="219" type="stmt" count="67"/> <line num="220" type="stmt" count="67"/> <line num="221" type="stmt" count="10"/> <line num="222" type="stmt" count="1"/> <line num="223" type="stmt" count="1"/> <line num="224" type="stmt" count="9"/> <line num="225" type="stmt" count="9"/> <line num="226" type="stmt" count="9"/> <line num="228" type="stmt" count="77"/> <line num="229" type="stmt" count="77"/> <line num="242" type="method" name="setResults2" visibility="protected" complexity="3" crap="3" count="67"/> <line num="243" type="stmt" count="67"/> <line num="244" type="stmt" count="67"/> <line num="245" type="stmt" count="67"/> <line num="246" type="stmt" count="13"/> <line num="247" type="stmt" count="13"/> <line num="248" type="stmt" count="13"/> <line num="250" type="stmt" count="65"/> <line num="251" type="stmt" count="65"/> <line num="252" type="stmt" count="65"/> <line num="253" type="stmt" count="65"/> <line num="256" type="stmt" count="65"/> <line num="257" type="stmt" count="65"/> <line num="258" type="stmt" count="65"/> <line num="260" type="stmt" count="67"/> <line num="272" type="method" name="setResults3" visibility="protected" complexity="4" crap="4" count="1"/> <line num="274" type="stmt" count="1"/> <line num="275" type="stmt" count="1"/> <line num="276" type="stmt" count="1"/> <line num="277" type="stmt" count="1"/> <line num="278" type="stmt" count="1"/> <line num="279" type="stmt" count="1"/> <line num="280" type="stmt" count="1"/> <line num="281" type="stmt" count="1"/> <line num="282" type="stmt" count="1"/> <line num="283" type="stmt" count="1"/> <line num="284" type="stmt" count="1"/> <line num="285" type="stmt" count="1"/> <line num="286" type="stmt" count="1"/> <line num="287" type="stmt" count="1"/> <line num="288" type="stmt" count="1"/> <line num="290" type="stmt" count="1"/> <line num="302" type="method" name="setResults4" visibility="protected" complexity="5" crap="5" count="9"/> <line num="304" type="stmt" count="9"/> <line num="305" type="stmt" count="9"/> <line num="306" type="stmt" count="9"/> <line num="307" type="stmt" count="9"/> <line num="308" type="stmt" count="9"/> <line num="309" type="stmt" count="9"/> <line num="310" type="stmt" count="9"/> <line num="311" type="stmt" count="9"/> <line num="312" type="stmt" count="9"/> <line num="313" type="stmt" count="9"/> <line num="314" type="stmt" count="9"/> <line num="315" type="stmt" count="9"/> <line num="316" type="stmt" count="9"/> <line num="317" type="stmt" count="9"/> <line num="318" type="stmt" count="9"/> <line num="319" type="stmt" count="9"/> <line num="320" type="stmt" count="9"/> <line num="321" type="stmt" count="9"/> <line num="322" type="stmt" count="9"/> <line num="323" type="stmt" count="9"/> <line num="325" type="stmt" count="9"/> <line num="333" type="method" name="getWin" visibility="public" complexity="1" crap="1" count="2"/> <line num="334" type="stmt" count="2"/> <line num="342" type="method" name="getLoss" visibility="public" complexity="1" crap="1" count="2"/> <line num="343" type="stmt" count="2"/> <line num="351" type="method" name="getSecond" visibility="public" complexity="1" crap="1" count="1"/> <line num="352" type="stmt" count="1"/> <line num="360" type="method" name="getThird" visibility="public" complexity="1" crap="1" count="1"/> <line num="361" type="stmt" count="1"/> <line num="369" type="method" name="getDraw" visibility="public" complexity="1" crap="1" count="1"/> <line num="370" type="stmt" count="1"/> <line num="378" type="method" name="isPlayed" visibility="public" complexity="1" crap="1" count="34"/> <line num="379" type="stmt" count="34"/> <line num="386" type="method" name="getId" visibility="public" complexity="1" crap="1" count="92"/> <line num="387" type="stmt" count="92"/> <line num="396" type="method" name="setId" visibility="public" complexity="1" crap="1" count="177"/> <line num="397" type="stmt" count="177"/> <line num="398" type="stmt" count="177"/> <metrics loc="400" ncloc="237" classes="1" methods="22" coveredmethods="22" conditionals="0" coveredconditionals="0" statements="134" coveredstatements="134" elements="156" coveredelements="156"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Group.php"> <class name="TournamentGenerator\Group" namespace="global"> <metrics complexity="49" methods="42" coveredmethods="42" conditionals="0" coveredconditionals="0" statements="95" coveredstatements="95" elements="137" coveredelements="137"/> </class> <line num="63" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="216"/> <line num="64" type="stmt" count="216"/> <line num="65" type="stmt" count="216"/> <line num="66" type="stmt" count="216"/> <line num="67" type="stmt" count="216"/> <line num="68" type="stmt" count="216"/> <line num="69" type="stmt" count="216"/> <line num="70" type="stmt" count="216"/> <line num="80" type="method" name="addTeam" visibility="public" complexity="2" crap="2" count="150"/> <line num="81" type="stmt" count="150"/> <line num="82" type="stmt" count="150"/> <line num="83" type="stmt" count="150"/> <line num="85" type="stmt" count="150"/> <line num="97" type="method" name="team" visibility="public" complexity="1" crap="1" count="86"/> <line num="98" type="stmt" count="86"/> <line num="99" type="stmt" count="86"/> <line num="100" type="stmt" count="86"/> <line num="101" type="stmt" count="86"/> <line num="109" type="method" name="allowSkip" visibility="public" complexity="1" crap="1" count="1"/> <line num="110" type="stmt" count="1"/> <line num="111" type="stmt" count="1"/> <line num="121" type="method" name="disallowSkip" visibility="public" complexity="1" crap="1" count="1"/> <line num="122" type="stmt" count="1"/> <line num="123" type="stmt" count="1"/> <line num="133" type="method" name="setSkip" visibility="public" complexity="1" crap="1" count="129"/> <line num="134" type="stmt" count="129"/> <line num="135" type="stmt" count="129"/> <line num="143" type="method" name="getSkip" visibility="public" complexity="1" crap="1" count="6"/> <line num="144" type="stmt" count="6"/> <line num="152" type="method" name="getWinPoints" visibility="public" complexity="1" crap="1" count="83"/> <line num="153" type="stmt" count="83"/> <line num="163" type="method" name="setWinPoints" visibility="public" complexity="1" crap="1" count="2"/> <line num="164" type="stmt" count="2"/> <line num="165" type="stmt" count="2"/> <line num="173" type="method" name="getDrawPoints" visibility="public" complexity="1" crap="1" count="21"/> <line num="174" type="stmt" count="21"/> <line num="184" type="method" name="setDrawPoints" visibility="public" complexity="1" crap="1" count="2"/> <line num="185" type="stmt" count="2"/> <line num="186" type="stmt" count="2"/> <line num="194" type="method" name="getLostPoints" visibility="public" complexity="1" crap="1" count="83"/> <line num="195" type="stmt" count="83"/> <line num="205" type="method" name="setLostPoints" visibility="public" complexity="1" crap="1" count="2"/> <line num="206" type="stmt" count="2"/> <line num="207" type="stmt" count="2"/> <line num="215" type="method" name="getSecondPoints" visibility="public" complexity="1" crap="1" count="17"/> <line num="216" type="stmt" count="17"/> <line num="226" type="method" name="setSecondPoints" visibility="public" complexity="1" crap="1" count="2"/> <line num="227" type="stmt" count="2"/> <line num="228" type="stmt" count="2"/> <line num="236" type="method" name="getThirdPoints" visibility="public" complexity="1" crap="1" count="16"/> <line num="237" type="stmt" count="16"/> <line num="247" type="method" name="setThirdPoints" visibility="public" complexity="1" crap="1" count="2"/> <line num="248" type="stmt" count="2"/> <line num="249" type="stmt" count="2"/> <line num="257" type="method" name="getProgressPoints" visibility="public" complexity="1" crap="1" count="21"/> <line num="258" type="stmt" count="21"/> <line num="268" type="method" name="setProgressPoints" visibility="public" complexity="1" crap="1" count="2"/> <line num="269" type="stmt" count="2"/> <line num="270" type="stmt" count="2"/> <line num="284" type="method" name="setMaxSize" visibility="public" complexity="1" crap="1" count="8"/> <line num="285" type="stmt" count="8"/> <line num="286" type="stmt" count="7"/> <line num="297" type="method" name="getMaxSize" visibility="public" complexity="1" crap="1" count="5"/> <line num="298" type="stmt" count="5"/> <line num="311" type="method" name="setType" visibility="public" complexity="1" crap="1" count="21"/> <line num="312" type="stmt" count="21"/> <line num="313" type="stmt" count="21"/> <line num="323" type="method" name="getType" visibility="public" complexity="1" crap="1" count="5"/> <line num="324" type="stmt" count="5"/> <line num="332" type="method" name="getOrder" visibility="public" complexity="1" crap="1" count="3"/> <line num="333" type="stmt" count="3"/> <line num="343" type="method" name="setOrder" visibility="public" complexity="1" crap="1" count="4"/> <line num="344" type="stmt" count="4"/> <line num="345" type="stmt" count="4"/> <line num="353" type="method" name="getOrdering" visibility="public" complexity="1" crap="1" count="1"/> <line num="354" type="stmt" count="1"/> <line num="367" type="method" name="setOrdering" visibility="public" complexity="2" crap="2" count="1"/> <line num="368" type="stmt" count="1"/> <line num="369" type="stmt" count="1"/> <line num="371" type="stmt" count="1"/> <line num="372" type="stmt" count="1"/> <line num="383" type="method" name="setInGame" visibility="public" complexity="1" crap="1" count="54"/> <line num="384" type="stmt" count="54"/> <line num="385" type="stmt" count="54"/> <line num="393" type="method" name="getInGame" visibility="public" complexity="1" crap="1" count="82"/> <line num="394" type="stmt" count="82"/> <line num="404" type="method" name="addProgression" visibility="public" complexity="1" crap="1" count="1"/> <line num="405" type="stmt" count="1"/> <line num="406" type="stmt" count="1"/> <line num="422" type="method" name="progression" visibility="public" complexity="1" crap="1" count="34"/> <line num="423" type="stmt" count="34"/> <line num="424" type="stmt" count="34"/> <line num="425" type="stmt" count="34"/> <line num="439" type="method" name="progress" visibility="public" complexity="2" crap="2" count="33"/> <line num="440" type="stmt" count="33"/> <line num="441" type="stmt" count="33"/> <line num="443" type="stmt" count="33"/> <line num="453" type="method" name="addProgressed" visibility="public" complexity="1" crap="1" count="34"/> <line num="454" type="stmt" count="34"/> <line num="455" type="stmt" count="34"/> <line num="456" type="stmt" count="34"/> <line num="457" type="stmt" count="34"/> <line num="467" type="method" name="isProgressed" visibility="public" complexity="1" crap="1" count="7"/> <line num="468" type="stmt" count="7"/> <line num="477" type="method" name="genGames" visibility="public" complexity="1" crap="1" count="44"/> <line num="478" type="stmt" count="44"/> <line num="491" type="method" name="game" visibility="public" complexity="1" crap="1" count="141"/> <line num="492" type="stmt" count="141"/> <line num="493" type="stmt" count="141"/> <line num="494" type="stmt" count="141"/> <line num="495" type="stmt" count="141"/> <line num="496" type="stmt" count="141"/> <line num="509" type="method" name="addGame" visibility="public" complexity="2" crap="2" count="38"/> <line num="510" type="stmt" count="38"/> <line num="512" type="stmt" count="38"/> <line num="513" type="stmt" count="38"/> <line num="515" type="stmt" count="38"/> <line num="517" type="stmt" count="38"/> <line num="528" type="method" name="orderGames" visibility="public" complexity="2" crap="2" count="5"/> <line num="529" type="stmt" count="5"/> <line num="530" type="stmt" count="1"/> <line num="532" type="stmt" count="4"/> <line num="533" type="stmt" count="4"/> <line num="545" type="method" name="simulate" visibility="public" complexity="1" crap="1" count="31"/> <line num="546" type="stmt" count="31"/> <line num="558" type="method" name="resetGames" visibility="public" complexity="2" crap="2" count="15"/> <line num="559" type="stmt" count="15"/> <line num="560" type="stmt" count="15"/> <line num="562" type="stmt" count="15"/> <line num="570" type="method" name="isPlayed" visibility="public" complexity="2" crap="2" count="35"/> <line num="571" type="stmt" count="35"/> <line num="572" type="stmt" count="11"/> <line num="574" type="stmt" count="30"/> <line num="575" type="stmt" count="30"/> <line num="576" type="stmt" count="30"/> <line num="584" type="method" name="getProgressions" visibility="public" complexity="1" crap="1" count="4"/> <line num="585" type="stmt" count="4"/> <metrics loc="588" ncloc="262" classes="1" methods="42" coveredmethods="42" conditionals="0" coveredconditionals="0" statements="95" coveredstatements="95" elements="137" coveredelements="137"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Helpers/Filter.php"> <class name="TournamentGenerator\Helpers\Filter" namespace="global"> <metrics complexity="35" methods="6" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="73" coveredstatements="73" elements="79" coveredelements="79"/> </class> <line num="33" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="29"/> <line num="34" type="stmt" count="29"/> <line num="35" type="stmt" count="29"/> <line num="36" type="stmt" count="29"/> <line num="37" type="stmt" count="29"/> <line num="38" type="stmt" count="29"/> <line num="48" type="method" name="filter" visibility="public" complexity="4" crap="4" count="29"/> <line num="49" type="stmt" count="29"/> <line num="50" type="stmt" count="29"/> <line num="51" type="stmt" count="9"/> <line num="52" type="stmt" count="4"/> <line num="55" type="stmt" count="20"/> <line num="56" type="stmt" count="19"/> <line num="57" type="stmt" count="19"/> <line num="58" type="stmt" count="19"/> <line num="59" type="stmt" count="19"/> <line num="62" type="stmt" count="1"/> <line num="64" type="stmt" count="23"/> <line num="78" type="method" name="filterMulti" visibility="protected" complexity="7" crap="7" count="9"/> <line num="79" type="stmt" count="9"/> <line num="80" type="stmt" count="9"/> <line num="81" type="stmt" count="4"/> <line num="82" type="stmt" count="4"/> <line num="83" type="stmt" count="4"/> <line num="86" type="stmt" count="4"/> <line num="87" type="stmt" count="8"/> <line num="88" type="stmt" count="7"/> <line num="89" type="stmt" count="7"/> <line num="90" type="stmt" count="3"/> <line num="93" type="stmt" count="3"/> <line num="95" type="stmt" count="1"/> <line num="107" type="method" name="filterAnd" visibility="private" complexity="11" crap="11" count="6"/> <line num="108" type="stmt" count="6"/> <line num="109" type="stmt" count="6"/> <line num="110" type="stmt" count="6"/> <line num="111" type="stmt" count="1"/> <line num="113" type="stmt" count="6"/> <line num="114" type="stmt" count="6"/> <line num="115" type="stmt" count="5"/> <line num="116" type="stmt" count="4"/> <line num="118" type="stmt" count="4"/> <line num="119" type="stmt" count="6"/> <line num="120" type="stmt" count="5"/> <line num="121" type="stmt" count="3"/> <line num="123" type="stmt" count="5"/> <line num="125" type="stmt" count="1"/> <line num="127" type="stmt" count="5"/> <line num="130" type="stmt" count="4"/> <line num="131" type="stmt" count="3"/> <line num="132" type="stmt" count="3"/> <line num="134" type="stmt" count="3"/> <line num="136" type="stmt" count="1"/> <line num="138" type="stmt" count="4"/> <line num="150" type="method" name="filterOr" visibility="private" complexity="11" crap="11" count="8"/> <line num="151" type="stmt" count="8"/> <line num="152" type="stmt" count="8"/> <line num="153" type="stmt" count="7"/> <line num="155" type="stmt" count="8"/> <line num="156" type="stmt" count="7"/> <line num="157" type="stmt" count="7"/> <line num="158" type="stmt" count="5"/> <line num="159" type="stmt" count="3"/> <line num="161" type="stmt" count="3"/> <line num="162" type="stmt" count="7"/> <line num="163" type="stmt" count="6"/> <line num="164" type="stmt" count="5"/> <line num="166" type="stmt" count="5"/> <line num="168" type="stmt" count="1"/> <line num="170" type="stmt" count="5"/> <line num="173" type="stmt" count="7"/> <line num="174" type="stmt" count="6"/> <line num="175" type="stmt" count="6"/> <line num="177" type="stmt" count="6"/> <line num="179" type="stmt" count="1"/> <line num="181" type="stmt" count="6"/> <line num="189" type="method" name="getGroupsIds" visibility="private" complexity="1" crap="1" count="25"/> <line num="190" type="stmt" count="25"/> <line num="191" type="stmt" count="25"/> <line num="192" type="stmt" count="25"/> <metrics loc="194" ncloc="135" classes="1" methods="6" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="73" coveredstatements="73" elements="79" coveredelements="79"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Helpers/FilterComparator.php"> <class name="TournamentGenerator\Helpers\FilterComparator" namespace="global"> <metrics complexity="37" methods="6" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="72" coveredstatements="72" elements="78" coveredelements="78"/> </class> <line num="33" type="method" name="compare" visibility="public" complexity="7" crap="7" count="27"/> <line num="35" type="stmt" count="27"/> <line num="36" type="stmt" count="27"/> <line num="38" type="stmt" count="27"/> <line num="40" type="stmt" count="27"/> <line num="42" type="stmt" count="27"/> <line num="43" type="stmt" count="27"/> <line num="44" type="stmt" count="21"/> <line num="45" type="stmt" count="21"/> <line num="46" type="stmt" count="26"/> <line num="47" type="stmt" count="16"/> <line num="48" type="stmt" count="16"/> <line num="49" type="stmt" count="26"/> <line num="50" type="stmt" count="15"/> <line num="51" type="stmt" count="15"/> <line num="52" type="stmt" count="23"/> <line num="53" type="stmt" count="16"/> <line num="54" type="stmt" count="16"/> <line num="55" type="stmt" count="23"/> <line num="56" type="stmt" count="22"/> <line num="57" type="stmt" count="22"/> <line num="58" type="stmt" count="13"/> <line num="59" type="stmt" count="13"/> <line num="60" type="stmt" count="13"/> <line num="62" type="stmt" count="27"/> <line num="74" type="method" name="calcComparisonValue" visibility="private" complexity="5" crap="5" count="27"/> <line num="75" type="stmt" count="27"/> <line num="76" type="stmt" count="27"/> <line num="77" type="stmt" count="27"/> <line num="78" type="stmt" count="22"/> <line num="79" type="stmt" count="22"/> <line num="80" type="stmt" count="5"/> <line num="81" type="stmt" count="1"/> <line num="82" type="stmt" count="1"/> <line num="83" type="stmt" count="4"/> <line num="84" type="stmt" count="2"/> <line num="85" type="stmt" count="2"/> <line num="86" type="stmt" count="2"/> <line num="87" type="stmt" count="2"/> <line num="88" type="stmt" count="2"/> <line num="90" type="stmt" count="27"/> <line num="101" type="method" name="calcSum" visibility="private" complexity="3" crap="3" count="23"/> <line num="102" type="stmt" count="23"/> <line num="103" type="stmt" count="23"/> <line num="104" type="stmt" count="23"/> <line num="105" type="stmt" count="23"/> <line num="108" type="stmt" count="23"/> <line num="119" type="method" name="calcAvg" visibility="private" complexity="2" crap="2" count="1"/> <line num="120" type="stmt" count="1"/> <line num="121" type="stmt" count="1"/> <line num="122" type="stmt" count="1"/> <line num="124" type="stmt" count="1"/> <line num="135" type="method" name="calcMax" visibility="private" complexity="10" crap="10" count="2"/> <line num="136" type="stmt" count="2"/> <line num="137" type="stmt" count="2"/> <line num="138" type="stmt" count="1"/> <line num="139" type="stmt" count="1"/> <line num="140" type="stmt" count="1"/> <line num="141" type="stmt" count="1"/> <line num="142" type="stmt" count="1"/> <line num="145" type="stmt" count="1"/> <line num="147" type="stmt" count="1"/> <line num="148" type="stmt" count="1"/> <line num="149" type="stmt" count="1"/> <line num="152" type="stmt" count="1"/> <line num="163" type="method" name="calcMin" visibility="private" complexity="10" crap="10" count="2"/> <line num="164" type="stmt" count="2"/> <line num="165" type="stmt" count="2"/> <line num="166" type="stmt" count="1"/> <line num="167" type="stmt" count="1"/> <line num="168" type="stmt" count="1"/> <line num="169" type="stmt" count="1"/> <line num="170" type="stmt" count="1"/> <line num="173" type="stmt" count="1"/> <line num="175" type="stmt" count="1"/> <line num="176" type="stmt" count="1"/> <line num="177" type="stmt" count="1"/> <line num="180" type="stmt" count="1"/> <metrics loc="182" ncloc="121" classes="1" methods="6" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="72" coveredstatements="72" elements="78" coveredelements="78"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Helpers/Functions.php"> <class name="TournamentGenerator\Helpers\Functions" namespace="global"> <metrics complexity="6" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="7" elements="11" coveredelements="11"/> </class> <line num="25" type="method" name="isPowerOf2" visibility="public" complexity="2" crap="2" count="11"/> <line num="26" type="stmt" count="11"/> <line num="36" type="method" name="nextPowerOf2" visibility="public" complexity="1" crap="1" count="9"/> <line num="38" type="stmt" count="9"/> <line num="48" type="method" name="previousPowerOf2" visibility="public" complexity="1" crap="1" count="9"/> <line num="50" type="stmt" count="9"/> <line num="60" type="method" name="nestedCount" visibility="public" complexity="2" crap="2" count="10"/> <line num="61" type="stmt" count="10"/> <line num="62" type="stmt" count="10"/> <line num="63" type="stmt" count="9"/> <line num="65" type="stmt" count="10"/> <line num="67" type="stmt" count="1"/> <metrics loc="66" ncloc="29" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="7" elements="11" coveredelements="11"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Helpers/Generator.php"> <class name="TournamentGenerator\Helpers\Generator" namespace="global"> <metrics complexity="51" methods="19" coveredmethods="19" conditionals="0" coveredconditionals="0" statements="115" coveredstatements="115" elements="134" coveredelements="134"/> </class> <line num="41" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="216"/> <line num="42" type="stmt" count="216"/> <line num="43" type="stmt" count="216"/> <line num="50" type="method" name="getType" visibility="public" complexity="1" crap="1" count="5"/> <line num="51" type="stmt" count="5"/> <line num="62" type="method" name="setType" visibility="public" complexity="2" crap="2" count="21"/> <line num="63" type="stmt" count="21"/> <line num="64" type="stmt" count="21"/> <line num="67" type="stmt" count="1"/> <line num="69" type="stmt" count="21"/> <line num="77" type="method" name="getInGame" visibility="public" complexity="1" crap="1" count="82"/> <line num="78" type="stmt" count="82"/> <line num="89" type="method" name="setInGame" visibility="public" complexity="3" crap="3" count="54"/> <line num="90" type="stmt" count="54"/> <line num="91" type="stmt" count="1"/> <line num="93" type="stmt" count="54"/> <line num="94" type="stmt" count="54"/> <line num="102" type="method" name="getMaxSize" visibility="public" complexity="1" crap="1" count="5"/> <line num="103" type="stmt" count="5"/> <line num="114" type="method" name="setMaxSize" visibility="public" complexity="2" crap="2" count="8"/> <line num="115" type="stmt" count="8"/> <line num="116" type="stmt" count="1"/> <line num="118" type="stmt" count="7"/> <line num="119" type="stmt" count="7"/> <line num="128" type="method" name="genGames" visibility="public" complexity="4" crap="4" count="44"/> <line num="129" type="stmt" count="44"/> <line num="131" type="stmt" count="34"/> <line num="132" type="stmt" count="34"/> <line num="134" type="stmt" count="9"/> <line num="135" type="stmt" count="8"/> <line num="137" type="stmt" count="5"/> <line num="138" type="stmt" count="5"/> <line num="140" type="stmt" count="43"/> <line num="151" type="method" name="r_rGames" visibility="protected" complexity="5" crap="5" count="37"/> <line num="152" type="stmt" count="37"/> <line num="153" type="stmt" count="37"/> <line num="154" type="stmt" count="35"/> <line num="156" type="stmt" count="37"/> <line num="157" type="stmt" count="37"/> <line num="158" type="stmt" count="32"/> <line num="159" type="stmt" count="32"/> <line num="160" type="stmt" count="5"/> <line num="161" type="stmt" count="2"/> <line num="162" type="stmt" count="2"/> <line num="163" type="stmt" count="3"/> <line num="164" type="stmt" count="3"/> <line num="165" type="stmt" count="3"/> <line num="167" type="stmt" count="37"/> <line num="179" type="method" name="circle_genGames2" visibility="public" complexity="3" crap="3" count="37"/> <line num="181" type="stmt" count="37"/> <line num="182" type="stmt" count="8"/> <line num="185" type="stmt" count="37"/> <line num="187" type="stmt" count="37"/> <line num="188" type="stmt" count="37"/> <line num="189" type="stmt" count="37"/> <line num="191" type="stmt" count="37"/> <line num="194" type="stmt" count="37"/> <line num="206" type="method" name="circle_saveBracket" visibility="public" complexity="4" crap="4" count="37"/> <line num="208" type="stmt" count="37"/> <line num="210" type="stmt" count="37"/> <line num="212" type="stmt" count="37"/> <line num="213" type="stmt" count="37"/> <line num="214" type="stmt" count="37"/> <line num="216" type="stmt" count="37"/> <line num="217" type="stmt" count="8"/> <line num="220" type="stmt" count="37"/> <line num="224" type="stmt" count="37"/> <line num="235" type="method" name="circle_rotateBracket" visibility="public" complexity="1" crap="1" count="37"/> <line num="237" type="stmt" count="37"/> <line num="238" type="stmt" count="37"/> <line num="240" type="stmt" count="37"/> <line num="254" type="method" name="r_r3Games" visibility="protected" complexity="4" crap="4" count="5"/> <line num="255" type="stmt" count="5"/> <line num="256" type="stmt" count="5"/> <line num="257" type="stmt" count="5"/> <line num="258" type="stmt" count="5"/> <line num="259" type="stmt" count="5"/> <line num="260" type="stmt" count="5"/> <line num="261" type="stmt" count="5"/> <line num="262" type="stmt" count="3"/> <line num="264" type="stmt" count="5"/> <line num="266" type="stmt" count="5"/> <line num="268" type="stmt" count="5"/> <line num="269" type="stmt" count="5"/> <line num="281" type="method" name="r_r4Games" visibility="protected" complexity="2" crap="2" count="3"/> <line num="282" type="stmt" count="3"/> <line num="283" type="stmt" count="3"/> <line num="284" type="stmt" count="3"/> <line num="285" type="stmt" count="3"/> <line num="286" type="stmt" count="3"/> <line num="288" type="stmt" count="3"/> <line num="289" type="stmt" count="3"/> <line num="300" type="method" name="two_twoGames" visibility="protected" complexity="5" crap="5" count="9"/> <line num="301" type="stmt" count="9"/> <line num="302" type="stmt" count="9"/> <line num="304" type="stmt" count="9"/> <line num="305" type="stmt" count="9"/> <line num="307" type="stmt" count="9"/> <line num="309" type="stmt" count="9"/> <line num="311" type="stmt" count="9"/> <line num="312" type="stmt" count="1"/> <line num="314" type="stmt" count="8"/> <line num="327" type="method" name="saveTwoTwoGames" visibility="protected" complexity="3" crap="3" count="9"/> <line num="328" type="stmt" count="9"/> <line num="329" type="stmt" count="9"/> <line num="330" type="stmt" count="9"/> <line num="331" type="stmt" count="9"/> <line num="333" type="stmt" count="9"/> <line num="335" type="stmt" count="9"/> <line num="346" type="method" name="cond_splitGames" visibility="protected" complexity="4" crap="4" count="5"/> <line num="347" type="stmt" count="5"/> <line num="348" type="stmt" count="5"/> <line num="351" type="stmt" count="5"/> <line num="352" type="stmt" count="5"/> <line num="353" type="stmt" count="4"/> <line num="356" type="stmt" count="4"/> <line num="358" type="stmt" count="4"/> <line num="359" type="stmt" count="4"/> <line num="362" type="stmt" count="4"/> <line num="364" type="stmt" count="4"/> <line num="366" type="stmt" count="1"/> <line num="368" type="stmt" count="1"/> <line num="380" type="method" name="fillGamesFromChunks" visibility="protected" complexity="4" crap="4" count="4"/> <line num="381" type="stmt" count="4"/> <line num="382" type="stmt" count="4"/> <line num="383" type="stmt" count="4"/> <line num="384" type="stmt" count="4"/> <line num="385" type="stmt" count="4"/> <line num="386" type="stmt" count="4"/> <line num="388" type="stmt" count="4"/> <line num="391" type="stmt" count="4"/> <line num="402" type="method" name="orderGames" visibility="public" complexity="1" crap="1" count="5"/> <line num="403" type="stmt" count="5"/> <line num="405" type="stmt" count="5"/> <metrics loc="408" ncloc="249" classes="1" methods="19" coveredmethods="19" conditionals="0" coveredconditionals="0" statements="115" coveredstatements="115" elements="134" coveredelements="134"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Helpers/Simulator.php"> <class name="TournamentGenerator\Helpers\Simulator" namespace="global"> <metrics complexity="19" methods="8" coveredmethods="8" conditionals="0" coveredconditionals="0" statements="39" coveredstatements="39" elements="47" coveredelements="47"/> </class> <line num="41" type="method" name="simulateGroup" visibility="public" complexity="5" crap="5" count="31"/> <line num="42" type="stmt" count="31"/> <line num="43" type="stmt" count="28"/> <line num="44" type="stmt" count="28"/> <line num="45" type="stmt" count="28"/> <line num="46" type="stmt" count="28"/> <line num="48" type="stmt" count="28"/> <line num="50" type="stmt" count="31"/> <line num="51" type="stmt" count="31"/> <line num="52" type="stmt" count="30"/> <line num="54" type="stmt" count="5"/> <line num="55" type="stmt" count="1"/> <line num="57" type="stmt" count="5"/> <line num="67" type="method" name="simulateRound" visibility="public" complexity="3" crap="3" count="27"/> <line num="68" type="stmt" count="27"/> <line num="69" type="stmt" count="27"/> <line num="70" type="stmt" count="1"/> <line num="72" type="stmt" count="27"/> <line num="74" type="stmt" count="27"/> <line num="90" type="method" name="simulateTournament" visibility="public" complexity="1" crap="1" count="14"/> <line num="91" type="stmt" count="14"/> <line num="106" type="method" name="simulateRounds" visibility="public" complexity="4" crap="4" count="15"/> <line num="107" type="stmt" count="15"/> <line num="108" type="stmt" count="1"/> <line num="112" type="stmt" count="14"/> <line num="114" type="stmt" count="14"/> <line num="115" type="stmt" count="14"/> <line num="117" type="stmt" count="13"/> <line num="118" type="stmt" count="13"/> <line num="120" type="stmt" count="13"/> <line num="121" type="stmt" count="13"/> <line num="124" type="stmt" count="13"/> <line num="138" type="method" name="simulateTournamentReal" visibility="public" complexity="1" crap="1" count="5"/> <line num="139" type="stmt" count="5"/> <line num="152" type="method" name="simulateRoundsReal" visibility="public" complexity="3" crap="3" count="6"/> <line num="153" type="stmt" count="6"/> <line num="154" type="stmt" count="1"/> <line num="158" type="stmt" count="5"/> <line num="160" type="stmt" count="5"/> <line num="161" type="stmt" count="5"/> <line num="163" type="stmt" count="5"/> <line num="164" type="stmt" count="5"/> <line num="166" type="stmt" count="5"/> <line num="180" type="method" name="simulateCategory" visibility="public" complexity="1" crap="1" count="1"/> <line num="181" type="stmt" count="1"/> <line num="195" type="method" name="simulateCategoryReal" visibility="public" complexity="1" crap="1" count="1"/> <line num="196" type="stmt" count="1"/> <metrics loc="199" ncloc="100" classes="1" methods="8" coveredmethods="8" conditionals="0" coveredconditionals="0" statements="39" coveredstatements="39" elements="47" coveredelements="47"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Helpers/Sorter/BaseSorter.php"> <metrics loc="23" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Helpers/Sorter/GameSorter.php"> <class name="TournamentGenerator\Helpers\Sorter\GameSorter" namespace="global"> <metrics complexity="39" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="90" coveredstatements="90" elements="100" coveredelements="100"/> </class> <line num="40" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="5"/> <line num="41" type="stmt" count="5"/> <line num="42" type="stmt" count="5"/> <line num="55" type="method" name="sort" visibility="public" complexity="9" crap="9" count="5"/> <line num="57" type="stmt" count="5"/> <line num="58" type="stmt" count="1"/> <line num="61" type="stmt" count="4"/> <line num="63" type="stmt" count="4"/> <line num="64" type="stmt" count="4"/> <line num="65" type="stmt" count="4"/> <line num="68" type="stmt" count="4"/> <line num="70" type="stmt" count="4"/> <line num="73" type="stmt" count="4"/> <line num="74" type="stmt" count="4"/> <line num="79" type="stmt" count="4"/> <line num="80" type="stmt" count="4"/> <line num="86" type="stmt" count="3"/> <line num="87" type="stmt" count="1"/> <line num="92" type="stmt" count="3"/> <line num="93" type="stmt" count="3"/> <line num="98" type="stmt" count="2"/> <line num="99" type="stmt" count="1"/> <line num="104" type="stmt" count="2"/> <line num="107" type="stmt" count="4"/> <line num="109" type="stmt" count="4"/> <line num="118" type="method" name="moveCalculatedGames" visibility="protected" complexity="8" crap="8" count="4"/> <line num="120" type="stmt" count="4"/> <line num="122" type="stmt" count="4"/> <line num="123" type="stmt" count="4"/> <line num="126" type="stmt" count="4"/> <line num="127" type="stmt" count="4"/> <line num="128" type="stmt" count="4"/> <line num="131" type="stmt" count="4"/> <line num="132" type="stmt" count="4"/> <line num="133" type="stmt" count="4"/> <line num="136" type="stmt" count="4"/> <line num="137" type="stmt" count="4"/> <line num="138" type="stmt" count="4"/> <line num="142" type="stmt" count="4"/> <line num="152" type="method" name="cycle1" visibility="protected" complexity="3" crap="3" count="4"/> <line num="153" type="stmt" count="4"/> <line num="154" type="stmt" count="4"/> <line num="155" type="stmt" count="4"/> <line num="156" type="stmt" count="4"/> <line num="157" type="stmt" count="4"/> <line num="158" type="stmt" count="4"/> <line num="159" type="stmt" count="4"/> <line num="162" type="stmt" count="4"/> <line num="175" type="method" name="orderCheckTeamsVal" visibility="protected" complexity="4" crap="4" count="4"/> <line num="177" type="stmt" count="4"/> <line num="178" type="stmt" count="4"/> <line num="179" type="stmt" count="4"/> <line num="181" type="stmt" count="4"/> <line num="182" type="stmt" count="4"/> <line num="183" type="stmt" count="4"/> <line num="185" type="stmt" count="4"/> <line num="186" type="stmt" count="3"/> <line num="190" type="stmt" count="4"/> <line num="202" type="method" name="cycle2" visibility="protected" complexity="3" crap="3" count="4"/> <line num="203" type="stmt" count="4"/> <line num="204" type="stmt" count="4"/> <line num="205" type="stmt" count="4"/> <line num="206" type="stmt" count="4"/> <line num="207" type="stmt" count="4"/> <line num="208" type="stmt" count="4"/> <line num="209" type="stmt" count="4"/> <line num="212" type="stmt" count="4"/> <line num="223" type="method" name="cycle3" visibility="protected" complexity="3" crap="3" count="3"/> <line num="224" type="stmt" count="3"/> <line num="225" type="stmt" count="3"/> <line num="226" type="stmt" count="3"/> <line num="227" type="stmt" count="1"/> <line num="228" type="stmt" count="1"/> <line num="229" type="stmt" count="1"/> <line num="230" type="stmt" count="1"/> <line num="233" type="stmt" count="3"/> <line num="244" type="method" name="cycle4" visibility="protected" complexity="3" crap="3" count="3"/> <line num="245" type="stmt" count="3"/> <line num="246" type="stmt" count="3"/> <line num="247" type="stmt" count="3"/> <line num="248" type="stmt" count="3"/> <line num="249" type="stmt" count="3"/> <line num="250" type="stmt" count="3"/> <line num="251" type="stmt" count="3"/> <line num="254" type="stmt" count="3"/> <line num="265" type="method" name="cycle5" visibility="protected" complexity="3" crap="3" count="2"/> <line num="266" type="stmt" count="2"/> <line num="267" type="stmt" count="2"/> <line num="268" type="stmt" count="2"/> <line num="269" type="stmt" count="1"/> <line num="270" type="stmt" count="1"/> <line num="271" type="stmt" count="1"/> <line num="272" type="stmt" count="1"/> <line num="275" type="stmt" count="2"/> <line num="286" type="method" name="resetGameIds" visibility="protected" complexity="2" crap="2" count="4"/> <line num="287" type="stmt" count="4"/> <line num="288" type="stmt" count="4"/> <line num="289" type="stmt" count="4"/> <line num="291" type="stmt" count="4"/> <line num="293" type="stmt" count="4"/> <metrics loc="295" ncloc="195" classes="1" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="90" coveredstatements="90" elements="100" coveredelements="100"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Helpers/Sorter/TeamSorter.php"> <class name="TournamentGenerator\Helpers\Sorter\TeamSorter" namespace="global"> <metrics complexity="14" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="22" coveredstatements="22" elements="26" coveredelements="26"/> </class> <line num="37" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="49"/> <line num="38" type="stmt" count="49"/> <line num="39" type="stmt" count="1"/> <line num="41" type="stmt" count="48"/> <line num="42" type="stmt" count="48"/> <line num="43" type="stmt" count="48"/> <line num="51" type="method" name="sortTeamsByPoints" visibility="protected" complexity="6" crap="6" count="44"/> <line num="52" type="stmt" count="44"/> <line num="53" type="stmt" count="44"/> <line num="54" type="stmt" count="3"/> <line num="56" type="stmt" count="41"/> <line num="57" type="stmt" count="23"/> <line num="59" type="stmt" count="41"/> <line num="68" type="method" name="sortTeamsByScore" visibility="protected" complexity="3" crap="3" count="4"/> <line num="69" type="stmt" count="4"/> <line num="70" type="stmt" count="4"/> <line num="71" type="stmt" count="1"/> <line num="73" type="stmt" count="4"/> <line num="83" type="method" name="sort" visibility="public" complexity="3" crap="3" count="48"/> <line num="84" type="stmt" count="48"/> <line num="85" type="stmt" count="48"/> <line num="87" type="stmt" count="44"/> <line num="88" type="stmt" count="44"/> <line num="90" type="stmt" count="4"/> <line num="91" type="stmt" count="4"/> <line num="93" type="stmt" count="48"/> <metrics loc="95" ncloc="57" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="22" coveredstatements="22" elements="26" coveredelements="26"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Helpers/Sorter/index.php"> <metrics loc="13" ncloc="2" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Helpers/index.php"> <metrics loc="13" ncloc="2" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/HierarchyBase.php"> <class name="TournamentGenerator\HierarchyBase" namespace="global"> <metrics complexity="6" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="7" elements="9" coveredelements="9"/> </class> <line num="29" type="method" name="getContainer" visibility="public" complexity="1" crap="1" count="155"/> <line num="30" type="stmt" count="155"/> <line num="45" type="method" name="insertIntoContainer" visibility="public" complexity="5" crap="5" count="142"/> <line num="46" type="stmt" count="142"/> <line num="47" type="stmt" count="142"/> <line num="48" type="stmt" count="142"/> <line num="50" type="stmt" count="142"/> <line num="51" type="stmt" count="142"/> <line num="53" type="stmt" count="142"/> <metrics loc="55" ncloc="30" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="7" elements="9" coveredelements="9"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Interfaces/WithCategories.php"> <metrics loc="67" ncloc="23" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Interfaces/WithGames.php"> <metrics loc="69" ncloc="21" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Interfaces/WithGeneratorSetters.php"> <metrics loc="63" ncloc="20" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Interfaces/WithGroups.php"> <metrics loc="31" ncloc="14" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Interfaces/WithRounds.php"> <metrics loc="50" ncloc="18" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Interfaces/WithSkipSetters.php"> <metrics loc="43" ncloc="14" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Interfaces/WithTeams.php"> <metrics loc="86" ncloc="26" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Interfaces/index.php"> <metrics loc="11" ncloc="2" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Preset/DoubleElimination.php"> <class name="TournamentGenerator\Preset\DoubleElimination" namespace="global"> <metrics complexity="26" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="113" coveredstatements="113" elements="118" coveredelements="118"/> </class> <line num="30" type="method" name="generate" visibility="public" complexity="7" crap="7" count="3"/> <line num="31" type="stmt" count="3"/> <line num="33" type="stmt" count="3"/> <line num="35" type="stmt" count="3"/> <line num="36" type="stmt" count="1"/> <line num="41" type="stmt" count="2"/> <line num="42" type="stmt" count="2"/> <line num="44" type="stmt" count="2"/> <line num="46" type="stmt" count="2"/> <line num="48" type="stmt" count="2"/> <line num="50" type="stmt" count="2"/> <line num="51" type="stmt" count="2"/> <line num="52" type="stmt" count="2"/> <line num="54" type="stmt" count="2"/> <line num="55" type="stmt" count="2"/> <line num="56" type="stmt" count="2"/> <line num="57" type="stmt" count="2"/> <line num="61" type="stmt" count="2"/> <line num="63" type="stmt" count="2"/> <line num="64" type="stmt" count="2"/> <line num="66" type="stmt" count="2"/> <line num="67" type="stmt" count="2"/> <line num="68" type="stmt" count="2"/> <line num="69" type="stmt" count="2"/> <line num="72" type="stmt" count="2"/> <line num="73" type="stmt" count="2"/> <line num="75" type="stmt" count="2"/> <line num="76" type="stmt" count="2"/> <line num="78" type="stmt" count="2"/> <line num="79" type="stmt" count="2"/> <line num="83" type="stmt" count="2"/> <line num="84" type="stmt" count="2"/> <line num="85" type="stmt" count="2"/> <line num="86" type="stmt" count="2"/> <line num="87" type="stmt" count="2"/> <line num="89" type="stmt" count="2"/> <line num="90" type="stmt" count="2"/> <line num="94" type="stmt" count="2"/> <line num="95" type="stmt" count="2"/> <line num="96" type="stmt" count="2"/> <line num="98" type="stmt" count="2"/> <line num="110" type="method" name="calcByes" visibility="private" complexity="2" crap="2" count="2"/> <line num="111" type="stmt" count="2"/> <line num="112" type="stmt" count="2"/> <line num="113" type="stmt" count="2"/> <line num="114" type="stmt" count="1"/> <line num="115" type="stmt" count="1"/> <line num="117" type="stmt" count="2"/> <line num="132" type="method" name="generateLosingSide" visibility="private" complexity="11" crap="11" count="2"/> <line num="133" type="stmt" count="2"/> <line num="134" type="stmt" count="2"/> <line num="135" type="stmt" count="2"/> <line num="136" type="stmt" count="2"/> <line num="138" type="stmt" count="2"/> <line num="139" type="stmt" count="2"/> <line num="140" type="stmt" count="2"/> <line num="141" type="stmt" count="2"/> <line num="142" type="stmt" count="2"/> <line num="143" type="stmt" count="2"/> <line num="144" type="stmt" count="2"/> <line num="145" type="stmt" count="2"/> <line num="146" type="stmt" count="2"/> <line num="147" type="stmt" count="2"/> <line num="149" type="stmt" count="2"/> <line num="150" type="stmt" count="2"/> <line num="151" type="stmt" count="2"/> <line num="152" type="stmt" count="2"/> <line num="155" type="stmt" count="2"/> <line num="162" type="stmt" count="2"/> <line num="163" type="stmt" count="2"/> <line num="164" type="stmt" count="2"/> <line num="165" type="stmt" count="2"/> <line num="166" type="stmt" count="2"/> <line num="167" type="stmt" count="2"/> <line num="169" type="stmt" count="2"/> <line num="170" type="stmt" count="2"/> <line num="172" type="stmt" count="2"/> <line num="173" type="stmt" count="2"/> <line num="174" type="stmt" count="2"/> <line num="175" type="stmt" count="2"/> <line num="176" type="stmt" count="2"/> <line num="177" type="stmt" count="2"/> <line num="178" type="stmt" count="2"/> <line num="179" type="stmt" count="2"/> <line num="180" type="stmt" count="2"/> <line num="181" type="stmt" count="2"/> <line num="184" type="stmt" count="2"/> <line num="185" type="stmt" count="2"/> <line num="186" type="stmt" count="2"/> <line num="188" type="stmt" count="2"/> <line num="192" type="stmt" count="2"/> <line num="208" type="method" name="generateWinSide" visibility="private" complexity="2" crap="2" count="2"/> <line num="209" type="stmt" count="2"/> <line num="210" type="stmt" count="2"/> <line num="212" type="stmt" count="2"/> <line num="213" type="stmt" count="2"/> <line num="214" type="stmt" count="2"/> <line num="215" type="stmt" count="2"/> <line num="216" type="stmt" count="2"/> <line num="217" type="stmt" count="2"/> <line num="218" type="stmt" count="2"/> <line num="219" type="stmt" count="2"/> <line num="220" type="stmt" count="2"/> <line num="221" type="stmt" count="2"/> <line num="223" type="stmt" count="2"/> <line num="228" type="method" name="printBracket" visibility="public" complexity="4" crap="4" count="1"/> <line num="229" type="stmt" count="1"/> <line num="230" type="stmt" count="1"/> <line num="231" type="stmt" count="1"/> <line num="232" type="stmt" count="1"/> <line num="233" type="stmt" count="1"/> <line num="234" type="stmt" count="1"/> <line num="235" type="stmt" count="1"/> <line num="236" type="stmt" count="1"/> <line num="237" type="stmt" count="1"/> <line num="238" type="stmt" count="1"/> <line num="239" type="stmt" count="1"/> <line num="243" type="stmt" count="1"/> <metrics loc="246" ncloc="196" classes="1" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="113" coveredstatements="113" elements="118" coveredelements="118"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Preset/Preset.php"> <line num="33" type="stmt" count="1"/> <metrics loc="32" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Preset/R2G.php"> <class name="TournamentGenerator\Preset\R2G" namespace="global"> <metrics complexity="3" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="33" coveredstatements="33" elements="34" coveredelements="34"/> </class> <line num="29" type="method" name="generate" visibility="public" complexity="3" crap="3" count="4"/> <line num="31" type="stmt" count="4"/> <line num="32" type="stmt" count="1"/> <line num="36" type="stmt" count="3"/> <line num="37" type="stmt" count="3"/> <line num="38" type="stmt" count="3"/> <line num="40" type="stmt" count="3"/> <line num="41" type="stmt" count="3"/> <line num="42" type="stmt" count="3"/> <line num="43" type="stmt" count="3"/> <line num="44" type="stmt" count="3"/> <line num="45" type="stmt" count="3"/> <line num="47" type="stmt" count="3"/> <line num="48" type="stmt" count="3"/> <line num="49" type="stmt" count="3"/> <line num="51" type="stmt" count="3"/> <line num="53" type="stmt" count="3"/> <line num="54" type="stmt" count="1"/> <line num="56" type="stmt" count="1"/> <line num="57" type="stmt" count="1"/> <line num="58" type="stmt" count="1"/> <line num="59" type="stmt" count="1"/> <line num="60" type="stmt" count="1"/> <line num="61" type="stmt" count="1"/> <line num="62" type="stmt" count="1"/> <line num="63" type="stmt" count="1"/> <line num="64" type="stmt" count="1"/> <line num="67" type="stmt" count="3"/> <line num="68" type="stmt" count="3"/> <line num="69" type="stmt" count="3"/> <line num="70" type="stmt" count="3"/> <line num="71" type="stmt" count="3"/> <line num="72" type="stmt" count="3"/> <line num="74" type="stmt" count="3"/> <metrics loc="78" ncloc="62" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="33" coveredstatements="33" elements="34" coveredelements="34"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Preset/SingleElimination.php"> <class name="TournamentGenerator\Preset\SingleElimination" namespace="global"> <metrics complexity="5" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="23" coveredstatements="23" elements="24" coveredelements="24"/> </class> <line num="26" type="method" name="generate" visibility="public" complexity="5" crap="5" count="2"/> <line num="28" type="stmt" count="2"/> <line num="30" type="stmt" count="2"/> <line num="33" type="stmt" count="2"/> <line num="34" type="stmt" count="2"/> <line num="35" type="stmt" count="1"/> <line num="36" type="stmt" count="1"/> <line num="39" type="stmt" count="2"/> <line num="41" type="stmt" count="2"/> <line num="43" type="stmt" count="2"/> <line num="45" type="stmt" count="2"/> <line num="46" type="stmt" count="2"/> <line num="47" type="stmt" count="2"/> <line num="50" type="stmt" count="2"/> <line num="52" type="stmt" count="2"/> <line num="53" type="stmt" count="2"/> <line num="54" type="stmt" count="2"/> <line num="55" type="stmt" count="2"/> <line num="56" type="stmt" count="2"/> <line num="57" type="stmt" count="2"/> <line num="58" type="stmt" count="2"/> <line num="59" type="stmt" count="2"/> <line num="61" type="stmt" count="2"/> <line num="64" type="stmt" count="2"/> <metrics loc="68" ncloc="55" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="23" coveredstatements="23" elements="24" coveredelements="24"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Preset/index.php"> <metrics loc="13" ncloc="2" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Progression.php"> <class name="TournamentGenerator\Progression" namespace="global"> <metrics complexity="21" methods="12" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="37" coveredstatements="37" elements="49" coveredelements="49"/> </class> <line num="41" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="35"/> <line num="42" type="stmt" count="35"/> <line num="43" type="stmt" count="35"/> <line num="44" type="stmt" count="35"/> <line num="45" type="stmt" count="35"/> <line num="46" type="stmt" count="35"/> <line num="53" type="method" name="__toString" visibility="public" complexity="1" crap="1" count="17"/> <line num="54" type="stmt" count="17"/> <line num="64" type="method" name="setFilters" visibility="public" complexity="1" crap="1" count="1"/> <line num="65" type="stmt" count="1"/> <line num="66" type="stmt" count="1"/> <line num="76" type="method" name="addFilter" visibility="public" complexity="2" crap="2" count="8"/> <line num="77" type="stmt" count="8"/> <line num="78" type="stmt" count="8"/> <line num="80" type="stmt" count="8"/> <line num="91" type="method" name="progress" visibility="public" complexity="9" crap="9" count="33"/> <line num="92" type="stmt" count="33"/> <line num="93" type="stmt" count="1"/> <line num="96" type="stmt" count="33"/> <line num="97" type="stmt" count="17"/> <line num="100" type="stmt" count="16"/> <line num="103" type="stmt" count="33"/> <line num="104" type="stmt" count="29"/> <line num="107" type="stmt" count="5"/> <line num="110" type="stmt" count="33"/> <line num="112" type="stmt" count="33"/> <line num="113" type="stmt" count="33"/> <line num="114" type="stmt" count="17"/> <line num="117" type="stmt" count="16"/> <line num="121" type="stmt" count="33"/> <line num="122" type="stmt" count="33"/> <line num="123" type="stmt" count="16"/> <line num="125" type="stmt" count="33"/> <line num="126" type="stmt" count="33"/> <line num="136" type="method" name="reset" visibility="public" complexity="1" crap="1" count="1"/> <line num="137" type="stmt" count="1"/> <line num="138" type="stmt" count="1"/> <line num="144" type="method" name="getFrom" visibility="public" complexity="1" crap="1" count="3"/> <line num="145" type="stmt" count="3"/> <line num="151" type="method" name="getTo" visibility="public" complexity="1" crap="1" count="3"/> <line num="152" type="stmt" count="3"/> <line num="158" type="method" name="getStart" visibility="public" complexity="1" crap="1" count="3"/> <line num="159" type="stmt" count="3"/> <line num="165" type="method" name="getLen" visibility="public" complexity="1" crap="1" count="3"/> <line num="166" type="stmt" count="3"/> <line num="172" type="method" name="getFilters" visibility="public" complexity="1" crap="1" count="3"/> <line num="173" type="stmt" count="3"/> <line num="179" type="method" name="isProgressed" visibility="public" complexity="1" crap="1" count="3"/> <line num="180" type="stmt" count="3"/> <metrics loc="183" ncloc="107" classes="1" methods="12" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="37" coveredstatements="37" elements="49" coveredelements="49"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Round.php"> <class name="TournamentGenerator\Round" namespace="global"> <metrics complexity="22" methods="11" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="47" coveredstatements="47" elements="58" coveredelements="58"/> </class> <line num="42" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="123"/> <line num="43" type="stmt" count="123"/> <line num="44" type="stmt" count="123"/> <line num="45" type="stmt" count="123"/> <line num="46" type="stmt" count="123"/> <line num="47" type="stmt" count="123"/> <line num="48" type="stmt" count="123"/> <line num="57" type="method" name="addGroup" visibility="public" complexity="2" crap="2" count="1"/> <line num="58" type="stmt" count="1"/> <line num="59" type="stmt" count="1"/> <line num="61" type="stmt" count="1"/> <line num="72" type="method" name="group" visibility="public" complexity="1" crap="1" count="128"/> <line num="73" type="stmt" count="128"/> <line num="74" type="stmt" count="128"/> <line num="75" type="stmt" count="128"/> <line num="83" type="method" name="getGroupsIds" visibility="public" complexity="1" crap="1" count="1"/> <line num="84" type="stmt" count="1"/> <line num="85" type="stmt" count="1"/> <line num="86" type="stmt" count="1"/> <line num="87" type="stmt" count="1"/> <line num="95" type="method" name="orderGroups" visibility="public" complexity="1" crap="1" count="2"/> <line num="96" type="stmt" count="2"/> <line num="97" type="stmt" count="2"/> <line num="98" type="stmt" count="2"/> <line num="99" type="stmt" count="2"/> <line num="100" type="stmt" count="2"/> <line num="109" type="method" name="genGames" visibility="public" complexity="2" crap="2" count="26"/> <line num="110" type="stmt" count="26"/> <line num="111" type="stmt" count="26"/> <line num="113" type="stmt" count="25"/> <line num="121" type="method" name="isPlayed" visibility="public" complexity="4" crap="4" count="5"/> <line num="122" type="stmt" count="5"/> <line num="123" type="stmt" count="4"/> <line num="125" type="stmt" count="3"/> <line num="126" type="stmt" count="3"/> <line num="127" type="stmt" count="1"/> <line num="130" type="stmt" count="3"/> <line num="142" type="method" name="splitTeams" visibility="public" complexity="5" crap="5" count="35"/> <line num="143" type="stmt" count="35"/> <line num="144" type="stmt" count="34"/> <line num="147" type="stmt" count="35"/> <line num="148" type="stmt" count="35"/> <line num="150" type="stmt" count="35"/> <line num="151" type="stmt" count="35"/> <line num="152" type="stmt" count="35"/> <line num="153" type="stmt" count="35"/> <line num="157" type="stmt" count="35"/> <line num="168" type="method" name="progress" visibility="public" complexity="2" crap="2" count="26"/> <line num="169" type="stmt" count="26"/> <line num="170" type="stmt" count="26"/> <line num="172" type="stmt" count="26"/> <line num="181" type="method" name="simulate" visibility="public" complexity="1" crap="1" count="27"/> <line num="182" type="stmt" count="27"/> <line num="183" type="stmt" count="27"/> <line num="195" type="method" name="resetGames" visibility="public" complexity="2" crap="2" count="14"/> <line num="196" type="stmt" count="14"/> <line num="197" type="stmt" count="14"/> <line num="199" type="stmt" count="14"/> <metrics loc="201" ncloc="117" classes="1" methods="11" coveredmethods="11" conditionals="0" coveredconditionals="0" statements="47" coveredstatements="47" elements="58" coveredelements="58"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Team.php"> <class name="TournamentGenerator\Team" namespace="global"> <metrics complexity="22" methods="9" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="52" coveredstatements="52" elements="61" coveredelements="61"/> </class> <line num="41" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="248"/> <line num="42" type="stmt" count="248"/> <line num="43" type="stmt" count="248"/> <line num="44" type="stmt" count="248"/> <line num="55" type="method" name="getGamesInfo" visibility="public" complexity="1" crap="1" count="1"/> <line num="56" type="stmt" count="1"/> <line num="57" type="stmt" count="1"/> <line num="58" type="stmt" count="1"/> <line num="70" type="method" name="getGroupResults" visibility="public" complexity="3" crap="3" count="13"/> <line num="71" type="stmt" count="13"/> <line num="72" type="stmt" count="6"/> <line num="73" type="stmt" count="1"/> <line num="75" type="stmt" count="5"/> <line num="77" type="stmt" count="7"/> <line num="89" type="method" name="addGroupResults" visibility="public" complexity="1" crap="1" count="203"/> <line num="90" type="stmt" count="203"/> <line num="91" type="stmt" count="203"/> <line num="92" type="stmt" count="203"/> <line num="93" type="stmt" count="203"/> <line num="94" type="stmt" count="203"/> <line num="95" type="stmt" count="203"/> <line num="96" type="stmt" count="203"/> <line num="97" type="stmt" count="203"/> <line num="98" type="stmt" count="203"/> <line num="100" type="stmt" count="203"/> <line num="111" type="method" name="addGameWith" visibility="public" complexity="2" crap="2" count="194"/> <line num="112" type="stmt" count="194"/> <line num="113" type="stmt" count="194"/> <line num="115" type="stmt" count="194"/> <line num="116" type="stmt" count="194"/> <line num="127" type="method" name="getGameWith" visibility="public" complexity="6" crap="6" count="3"/> <line num="128" type="stmt" count="3"/> <line num="129" type="stmt" count="3"/> <line num="130" type="stmt" count="3"/> <line num="132" type="stmt" count="3"/> <line num="134" type="stmt" count="2"/> <line num="135" type="stmt" count="1"/> <line num="136" type="stmt" count="1"/> <line num="137" type="stmt" count="1"/> <line num="138" type="stmt" count="1"/> <line num="139" type="stmt" count="1"/> <line num="140" type="stmt" count="1"/> <line num="141" type="stmt" count="1"/> <line num="144" type="stmt" count="1"/> <line num="146" type="stmt" count="1"/> <line num="156" type="method" name="addGroup" visibility="public" complexity="2" crap="2" count="1"/> <line num="157" type="stmt" count="1"/> <line num="158" type="stmt" count="1"/> <line num="160" type="stmt" count="1"/> <line num="170" type="method" name="addGame" visibility="public" complexity="2" crap="2" count="194"/> <line num="171" type="stmt" count="194"/> <line num="172" type="stmt" count="194"/> <line num="173" type="stmt" count="194"/> <line num="175" type="stmt" count="194"/> <line num="176" type="stmt" count="194"/> <line num="187" type="method" name="getGames" visibility="public" complexity="4" crap="4" count="4"/> <line num="188" type="stmt" count="4"/> <line num="189" type="stmt" count="1"/> <line num="191" type="stmt" count="4"/> <line num="192" type="stmt" count="3"/> <line num="194" type="stmt" count="1"/> <metrics loc="197" ncloc="110" classes="1" methods="9" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="52" coveredstatements="52" elements="61" coveredelements="61"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/TeamFilter.php"> <class name="TournamentGenerator\TeamFilter" namespace="global"> <metrics complexity="26" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="36" coveredstatements="36" elements="46" coveredelements="46"/> </class> <line num="67" type="method" name="__construct" visibility="public" complexity="7" crap="7" count="55"/> <line num="68" type="stmt" count="55"/> <line num="69" type="stmt" count="2"/> <line num="71" type="stmt" count="53"/> <line num="72" type="stmt" count="53"/> <line num="73" type="stmt" count="1"/> <line num="75" type="stmt" count="52"/> <line num="76" type="stmt" count="52"/> <line num="77" type="stmt" count="1"/> <line num="79" type="stmt" count="51"/> <line num="80" type="stmt" count="51"/> <line num="81" type="stmt" count="42"/> <line num="82" type="stmt" count="51"/> <line num="83" type="stmt" count="42"/> <line num="84" type="stmt" count="51"/> <line num="85" type="stmt" count="51"/> <line num="92" type="method" name="__toString" visibility="public" complexity="3" crap="3" count="1"/> <line num="93" type="stmt" count="1"/> <line num="107" type="method" name="validate" visibility="public" complexity="6" crap="6" count="32"/> <line num="108" type="stmt" count="32"/> <line num="109" type="stmt" count="28"/> <line num="112" type="stmt" count="32"/> <line num="113" type="stmt" count="6"/> <line num="116" type="stmt" count="31"/> <line num="117" type="stmt" count="3"/> <line num="120" type="stmt" count="30"/> <line num="121" type="stmt" count="2"/> <line num="124" type="stmt" count="28"/> <line num="134" type="method" name="validateTeam" visibility="protected" complexity="1" crap="1" count="6"/> <line num="135" type="stmt" count="6"/> <line num="147" type="method" name="validateProgressed" visibility="protected" complexity="2" crap="2" count="5"/> <line num="148" type="stmt" count="5"/> <line num="149" type="stmt" count="1"/> <line num="151" type="stmt" count="4"/> <line num="166" type="method" name="validateCalc" visibility="protected" complexity="3" crap="3" count="28"/> <line num="167" type="stmt" count="28"/> <line num="168" type="stmt" count="1"/> <line num="171" type="stmt" count="27"/> <line num="178" type="method" name="getWhat" visibility="public" complexity="1" crap="1" count="13"/> <line num="179" type="stmt" count="13"/> <line num="185" type="method" name="getHow" visibility="public" complexity="1" crap="1" count="13"/> <line num="186" type="stmt" count="13"/> <line num="192" type="method" name="getVal" visibility="public" complexity="1" crap="1" count="13"/> <line num="193" type="stmt" count="13"/> <line num="199" type="method" name="getGroups" visibility="public" complexity="1" crap="1" count="13"/> <line num="200" type="stmt" count="13"/> <metrics loc="203" ncloc="100" classes="1" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="36" coveredstatements="36" elements="46" coveredelements="46"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Tournament.php"> <class name="TournamentGenerator\Tournament" namespace="global"> <metrics complexity="14" methods="12" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="27" coveredstatements="27" elements="39" coveredelements="39"/> </class> <line num="49" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="59"/> <line num="50" type="stmt" count="59"/> <line num="51" type="stmt" count="59"/> <line num="52" type="stmt" count="59"/> <line num="53" type="stmt" count="59"/> <line num="54" type="stmt" count="59"/> <line num="63" type="method" name="setPlay" visibility="public" complexity="1" crap="1" count="12"/> <line num="64" type="stmt" count="12"/> <line num="65" type="stmt" count="12"/> <line num="73" type="method" name="getPlay" visibility="public" complexity="1" crap="1" count="4"/> <line num="74" type="stmt" count="4"/> <line num="84" type="method" name="setGameWait" visibility="public" complexity="1" crap="1" count="11"/> <line num="85" type="stmt" count="11"/> <line num="86" type="stmt" count="11"/> <line num="94" type="method" name="getGameWait" visibility="public" complexity="1" crap="1" count="4"/> <line num="95" type="stmt" count="4"/> <line num="105" type="method" name="setRoundWait" visibility="public" complexity="1" crap="1" count="11"/> <line num="106" type="stmt" count="11"/> <line num="107" type="stmt" count="11"/> <line num="115" type="method" name="getRoundWait" visibility="public" complexity="1" crap="1" count="4"/> <line num="116" type="stmt" count="4"/> <line num="126" type="method" name="setCategoryWait" visibility="public" complexity="1" crap="1" count="5"/> <line num="127" type="stmt" count="5"/> <line num="128" type="stmt" count="5"/> <line num="136" type="method" name="getCategoryWait" visibility="public" complexity="1" crap="1" count="4"/> <line num="137" type="stmt" count="4"/> <line num="148" type="method" name="genGamesSimulate" visibility="public" complexity="2" crap="2" count="14"/> <line num="149" type="stmt" count="14"/> <line num="151" type="stmt" count="12"/> <line num="152" type="stmt" count="2"/> <line num="154" type="stmt" count="10"/> <line num="162" type="method" name="getTournamentTime" visibility="public" complexity="1" crap="1" count="8"/> <line num="163" type="stmt" count="8"/> <line num="164" type="stmt" count="8"/> <line num="175" type="method" name="genGamesSimulateReal" visibility="public" complexity="2" crap="2" count="5"/> <line num="176" type="stmt" count="5"/> <line num="178" type="stmt" count="4"/> <line num="179" type="stmt" count="2"/> <line num="181" type="stmt" count="2"/> <metrics loc="184" ncloc="102" classes="1" methods="12" coveredmethods="12" conditionals="0" coveredconditionals="0" statements="27" coveredstatements="27" elements="39" coveredelements="39"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Traits/HasPositions.php"> <class name="TournamentGenerator\Traits\HasPositions" namespace="global"> <metrics complexity="20" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="60" coveredstatements="60" elements="70" coveredelements="70"/> </class> <line num="49" type="method" name="addWin" visibility="public" complexity="2" crap="2" count="79"/> <line num="50" type="stmt" count="79"/> <line num="51" type="stmt" count="1"/> <line num="53" type="stmt" count="78"/> <line num="54" type="stmt" count="78"/> <line num="55" type="stmt" count="78"/> <line num="56" type="stmt" count="78"/> <line num="70" type="method" name="removeWin" visibility="public" complexity="2" crap="2" count="20"/> <line num="71" type="stmt" count="20"/> <line num="72" type="stmt" count="1"/> <line num="74" type="stmt" count="19"/> <line num="75" type="stmt" count="19"/> <line num="76" type="stmt" count="19"/> <line num="77" type="stmt" count="19"/> <line num="91" type="method" name="addDraw" visibility="public" complexity="2" crap="2" count="17"/> <line num="92" type="stmt" count="17"/> <line num="93" type="stmt" count="1"/> <line num="95" type="stmt" count="16"/> <line num="96" type="stmt" count="16"/> <line num="97" type="stmt" count="16"/> <line num="98" type="stmt" count="16"/> <line num="112" type="method" name="removeDraw" visibility="public" complexity="2" crap="2" count="2"/> <line num="113" type="stmt" count="2"/> <line num="114" type="stmt" count="1"/> <line num="116" type="stmt" count="1"/> <line num="117" type="stmt" count="1"/> <line num="118" type="stmt" count="1"/> <line num="119" type="stmt" count="1"/> <line num="133" type="method" name="addLoss" visibility="public" complexity="2" crap="2" count="79"/> <line num="134" type="stmt" count="79"/> <line num="135" type="stmt" count="1"/> <line num="137" type="stmt" count="78"/> <line num="138" type="stmt" count="78"/> <line num="139" type="stmt" count="78"/> <line num="140" type="stmt" count="78"/> <line num="154" type="method" name="removeLoss" visibility="public" complexity="2" crap="2" count="20"/> <line num="155" type="stmt" count="20"/> <line num="156" type="stmt" count="1"/> <line num="158" type="stmt" count="19"/> <line num="159" type="stmt" count="19"/> <line num="160" type="stmt" count="19"/> <line num="161" type="stmt" count="19"/> <line num="175" type="method" name="addSecond" visibility="public" complexity="2" crap="2" count="13"/> <line num="176" type="stmt" count="13"/> <line num="177" type="stmt" count="1"/> <line num="179" type="stmt" count="12"/> <line num="180" type="stmt" count="12"/> <line num="181" type="stmt" count="12"/> <line num="182" type="stmt" count="12"/> <line num="196" type="method" name="removeSecond" visibility="public" complexity="2" crap="2" count="3"/> <line num="197" type="stmt" count="3"/> <line num="198" type="stmt" count="1"/> <line num="200" type="stmt" count="2"/> <line num="201" type="stmt" count="2"/> <line num="202" type="stmt" count="2"/> <line num="203" type="stmt" count="2"/> <line num="217" type="method" name="addThird" visibility="public" complexity="2" crap="2" count="12"/> <line num="218" type="stmt" count="12"/> <line num="219" type="stmt" count="1"/> <line num="221" type="stmt" count="11"/> <line num="222" type="stmt" count="11"/> <line num="223" type="stmt" count="11"/> <line num="224" type="stmt" count="11"/> <line num="238" type="method" name="removeThird" visibility="public" complexity="2" crap="2" count="2"/> <line num="239" type="stmt" count="2"/> <line num="240" type="stmt" count="1"/> <line num="242" type="stmt" count="1"/> <line num="243" type="stmt" count="1"/> <line num="244" type="stmt" count="1"/> <line num="245" type="stmt" count="1"/> <metrics loc="247" ncloc="113" classes="1" methods="10" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="60" coveredstatements="60" elements="70" coveredelements="70"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Traits/HasScore.php"> <class name="TournamentGenerator\Traits\HasScore" namespace="global"> <metrics complexity="12" methods="8" coveredmethods="8" conditionals="0" coveredconditionals="0" statements="22" coveredstatements="22" elements="30" coveredelements="30"/> </class> <line num="29" type="method" name="getSumPoints" visibility="public" complexity="1" crap="1" count="5"/> <line num="30" type="stmt" count="5"/> <line num="38" type="method" name="getSumScore" visibility="public" complexity="1" crap="1" count="5"/> <line num="39" type="stmt" count="5"/> <line num="49" type="method" name="sumPoints" visibility="public" complexity="3" crap="3" count="45"/> <line num="50" type="stmt" count="45"/> <line num="51" type="stmt" count="1"/> <line num="53" type="stmt" count="44"/> <line num="54" type="stmt" count="44"/> <line num="55" type="stmt" count="44"/> <line num="57" type="stmt" count="44"/> <line num="67" type="method" name="sumScore" visibility="public" complexity="3" crap="3" count="31"/> <line num="68" type="stmt" count="31"/> <line num="69" type="stmt" count="1"/> <line num="71" type="stmt" count="30"/> <line num="72" type="stmt" count="30"/> <line num="73" type="stmt" count="30"/> <line num="75" type="stmt" count="30"/> <line num="85" type="method" name="addScore" visibility="public" complexity="1" crap="1" count="79"/> <line num="86" type="stmt" count="79"/> <line num="87" type="stmt" count="79"/> <line num="97" type="method" name="removeScore" visibility="public" complexity="1" crap="1" count="21"/> <line num="98" type="stmt" count="21"/> <line num="99" type="stmt" count="21"/> <line num="109" type="method" name="addPoints" visibility="public" complexity="1" crap="1" count="84"/> <line num="110" type="stmt" count="84"/> <line num="111" type="stmt" count="84"/> <line num="121" type="method" name="removePoints" visibility="public" complexity="1" crap="1" count="21"/> <line num="122" type="stmt" count="21"/> <line num="123" type="stmt" count="21"/> <metrics loc="124" ncloc="61" classes="1" methods="8" coveredmethods="8" conditionals="0" coveredconditionals="0" statements="22" coveredstatements="22" elements="30" coveredelements="30"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Traits/WithCategories.php"> <class name="TournamentGenerator\Traits\WithCategories" namespace="global"> <metrics complexity="5" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="8" elements="12" coveredelements="12"/> </class> <line num="27" type="method" name="getCategories" visibility="public" complexity="1" crap="1" count="10"/> <line num="28" type="stmt" count="10"/> <line num="36" type="method" name="queryCategories" visibility="public" complexity="1" crap="1" count="3"/> <line num="37" type="stmt" count="3"/> <line num="48" type="method" name="addCategory" visibility="public" complexity="2" crap="2" count="1"/> <line num="49" type="stmt" count="1"/> <line num="50" type="stmt" count="1"/> <line num="52" type="stmt" count="1"/> <line num="63" type="method" name="category" visibility="public" complexity="1" crap="1" count="10"/> <line num="64" type="stmt" count="10"/> <line num="65" type="stmt" count="10"/> <line num="66" type="stmt" count="10"/> <metrics loc="68" ncloc="36" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="8" elements="12" coveredelements="12"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Traits/WithGames.php"> <class name="TournamentGenerator\Traits\WithGames" namespace="global"> <metrics complexity="7" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="13" elements="18" coveredelements="18"/> </class> <line num="32" type="method" name="addGameContainer" visibility="public" complexity="1" crap="1" count="142"/> <line num="33" type="stmt" count="142"/> <line num="34" type="stmt" count="142"/> <line num="42" type="method" name="getGames" visibility="public" complexity="1" crap="1" count="65"/> <line num="43" type="stmt" count="65"/> <line num="51" type="method" name="getGameContainer" visibility="public" complexity="1" crap="1" count="149"/> <line num="52" type="stmt" count="149"/> <line num="69" type="method" name="setGameAutoincrementId" visibility="public" complexity="1" crap="1" count="76"/> <line num="70" type="stmt" count="76"/> <line num="71" type="stmt" count="76"/> <line num="84" type="method" name="setResults" visibility="public" complexity="3" crap="3" count="4"/> <line num="85" type="stmt" count="4"/> <line num="87" type="stmt" count="4"/> <line num="88" type="stmt" count="4"/> <line num="89" type="stmt" count="4"/> <line num="90" type="stmt" count="4"/> <line num="91" type="stmt" count="4"/> <line num="93" type="stmt" count="4"/> <metrics loc="94" ncloc="44" classes="1" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="13" elements="18" coveredelements="18"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Traits/WithGroups.php"> <class name="TournamentGenerator\Traits\WithGroups" namespace="global"> <metrics complexity="2" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="2" elements="4" coveredelements="4"/> </class> <line num="26" type="method" name="getGroups" visibility="public" complexity="1" crap="1" count="47"/> <line num="27" type="stmt" count="47"/> <line num="35" type="method" name="queryGroups" visibility="public" complexity="1" crap="1" count="4"/> <line num="36" type="stmt" count="4"/> <metrics loc="37" ncloc="20" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="2" elements="4" coveredelements="4"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Traits/WithRounds.php"> <class name="TournamentGenerator\Traits\WithRounds" namespace="global"> <metrics complexity="6" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="14" coveredelements="14"/> </class> <line num="29" type="method" name="addRound" visibility="public" complexity="2" crap="2" count="2"/> <line num="30" type="stmt" count="2"/> <line num="31" type="stmt" count="2"/> <line num="33" type="stmt" count="2"/> <line num="44" type="method" name="round" visibility="public" complexity="2" crap="2" count="96"/> <line num="45" type="stmt" count="96"/> <line num="46" type="stmt" count="96"/> <line num="47" type="stmt" count="96"/> <line num="49" type="stmt" count="96"/> <line num="50" type="stmt" count="96"/> <line num="58" type="method" name="getRounds" visibility="public" complexity="1" crap="1" count="31"/> <line num="59" type="stmt" count="31"/> <line num="67" type="method" name="queryRounds" visibility="public" complexity="1" crap="1" count="3"/> <line num="68" type="stmt" count="3"/> <metrics loc="69" ncloc="37" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="14" coveredelements="14"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Traits/WithSkipSetters.php"> <class name="TournamentGenerator\Traits\WithSkipSetters" namespace="global"> <metrics complexity="4" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="7" elements="11" coveredelements="11"/> </class> <line num="28" type="method" name="allowSkip" visibility="public" complexity="1" crap="1" count="11"/> <line num="29" type="stmt" count="11"/> <line num="30" type="stmt" count="11"/> <line num="38" type="method" name="disallowSkip" visibility="public" complexity="1" crap="1" count="4"/> <line num="39" type="stmt" count="4"/> <line num="40" type="stmt" count="4"/> <line num="50" type="method" name="setSkip" visibility="public" complexity="1" crap="1" count="142"/> <line num="51" type="stmt" count="142"/> <line num="52" type="stmt" count="142"/> <line num="60" type="method" name="getSkip" visibility="public" complexity="1" crap="1" count="105"/> <line num="61" type="stmt" count="105"/> <metrics loc="62" ncloc="32" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="7" elements="11" coveredelements="11"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Traits/WithTeams.php"> <class name="TournamentGenerator\Traits\WithTeams" namespace="global"> <metrics complexity="21" methods="8" coveredmethods="8" conditionals="0" coveredconditionals="0" statements="42" coveredstatements="42" elements="50" coveredelements="50"/> </class> <line num="42" type="method" name="team" visibility="public" complexity="1" crap="1" count="116"/> <line num="43" type="stmt" count="116"/> <line num="44" type="stmt" count="116"/> <line num="45" type="stmt" count="116"/> <line num="57" type="method" name="splitTeams" visibility="public" complexity="6" crap="6" count="29"/> <line num="58" type="stmt" count="29"/> <line num="59" type="stmt" count="6"/> <line num="62" type="stmt" count="29"/> <line num="63" type="stmt" count="29"/> <line num="65" type="stmt" count="29"/> <line num="66" type="stmt" count="29"/> <line num="67" type="stmt" count="29"/> <line num="68" type="stmt" count="29"/> <line num="72" type="stmt" count="29"/> <line num="73" type="stmt" count="29"/> <line num="75" type="stmt" count="29"/> <line num="88" type="method" name="getTeams" visibility="public" complexity="4" crap="4" count="118"/> <line num="89" type="stmt" count="118"/> <line num="90" type="stmt" count="25"/> <line num="92" type="stmt" count="118"/> <line num="93" type="stmt" count="3"/> <line num="96" type="stmt" count="118"/> <line num="100" type="stmt" count="118"/> <line num="101" type="stmt" count="25"/> <line num="104" type="stmt" count="112"/> <line num="116" type="method" name="sortTeams" visibility="public" complexity="3" crap="3" count="48"/> <line num="117" type="stmt" count="48"/> <line num="118" type="stmt" count="37"/> <line num="120" type="stmt" count="48"/> <line num="121" type="stmt" count="48"/> <line num="124" type="stmt" count="48"/> <line num="125" type="stmt" count="7"/> <line num="128" type="stmt" count="48"/> <line num="140" type="method" name="filterTeams" visibility="public" complexity="3" crap="3" count="29"/> <line num="142" type="stmt" count="29"/> <line num="143" type="stmt" count="5"/> <line num="144" type="stmt" count="5"/> <line num="146" type="stmt" count="27"/> <line num="147" type="stmt" count="27"/> <line num="148" type="stmt" count="27"/> <line num="150" type="stmt" count="23"/> <line num="160" type="method" name="addTeam" visibility="public" complexity="2" crap="2" count="34"/> <line num="161" type="stmt" count="34"/> <line num="162" type="stmt" count="34"/> <line num="164" type="stmt" count="34"/> <line num="172" type="method" name="getTeamContainer" visibility="public" complexity="1" crap="1" count="144"/> <line num="173" type="stmt" count="144"/> <line num="183" type="method" name="addTeamContainer" visibility="public" complexity="1" crap="1" count="142"/> <line num="184" type="stmt" count="142"/> <line num="185" type="stmt" count="142"/> <metrics loc="186" ncloc="114" classes="1" methods="8" coveredmethods="8" conditionals="0" coveredconditionals="0" statements="42" coveredstatements="42" elements="50" coveredelements="50"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/Traits/index.php"> <metrics loc="13" ncloc="2" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="/Users/heroyt/Projects/tournament-generator/src/TournamentGenerator/index.php"> <metrics loc="13" ncloc="2" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <metrics files="58" loc="7071" ncloc="3924" classes="38" methods="323" coveredmethods="323" conditionals="0" coveredconditionals="0" statements="1570" coveredstatements="1570" elements="1893" coveredelements="1893"/> </project> </coverage>