<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1483519571">
<project timestamp="1483519571">
<package name="BlackScorp\Astar">
<file name="C:\projects\astar\src/Astar.php">
<class name="Astar" namespace="BlackScorp\Astar">
<metrics complexity="18" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="46" coveredstatements="46" elements="53" coveredelements="53"/>
</class>
<line num="18" type="method" name="blocked" visibility="public" complexity="1" crap="1" count="2"/>
<line num="20" type="stmt" count="2"/>
<line num="21" type="stmt" count="2"/>
<line num="23" type="method" name="enableDiagonal" visibility="public" complexity="1" crap="1" count="1"/>
<line num="25" type="stmt" count="1"/>
<line num="26" type="stmt" count="1"/>
<line num="28" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="6"/>
<line num="30" type="stmt" count="6"/>
<line num="31" type="stmt" count="6"/>
<line num="33" type="method" name="setHeuristic" visibility="public" complexity="1" crap="1" count="6"/>
<line num="35" type="stmt" count="6"/>
<line num="36" type="stmt" count="6"/>
<line num="43" type="method" name="search" visibility="public" complexity="3" crap="3" count="6"/>
<line num="46" type="stmt" count="6"/>
<line num="47" type="stmt" count="4"/>
<line num="48" type="stmt" count="4"/>
<line num="50" type="stmt" count="6"/>
<line num="51" type="stmt" count="6"/>
<line num="53" type="stmt" count="6"/>
<line num="54" type="stmt" count="6"/>
<line num="55" type="stmt" count="1"/>
<line num="58" type="stmt" count="5"/>
<line num="68" type="method" name="fillHeap" visibility="private" complexity="9" crap="9" count="6"/>
<line num="70" type="stmt" count="6"/>
<line num="74" type="stmt" count="6"/>
<line num="76" type="stmt" count="6"/>
<line num="77" type="stmt" count="6"/>
<line num="78" type="stmt" count="6"/>
<line num="79" type="stmt" count="6"/>
<line num="80" type="stmt" count="6"/>
<line num="82" type="stmt" count="6"/>
<line num="83" type="stmt" count="6"/>
<line num="84" type="stmt" count="6"/>
<line num="85" type="stmt" count="6"/>
<line num="86" type="stmt" count="6"/>
<line num="87" type="stmt" count="6"/>
<line num="88" type="stmt" count="6"/>
<line num="89" type="stmt" count="6"/>
<line num="90" type="stmt" count="6"/>
<line num="91" type="stmt" count="6"/>
<line num="92" type="stmt" count="6"/>
<line num="93" type="stmt" count="6"/>
<line num="95" type="stmt" count="6"/>
<line num="96" type="stmt" count="6"/>
<line num="97" type="stmt" count="6"/>
<line num="104" type="method" name="getReversedPath" visibility="private" complexity="2" crap="2" count="5"/>
<line num="106" type="stmt" count="5"/>
<line num="107" type="stmt" count="5"/>
<line num="108" type="stmt" count="5"/>
<line num="109" type="stmt" count="5"/>
<line num="110" type="stmt" count="5"/>
<line num="111" type="stmt" count="5"/>
<line num="112" type="stmt" count="5"/>
<metrics loc="113" ncloc="92" classes="1" methods="7" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="46" coveredstatements="46" elements="53" coveredelements="53"/>
</file>
<file name="C:\projects\astar\src/Grid.php">
<class name="Grid" namespace="BlackScorp\Astar">
<metrics complexity="9" methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="29" coveredstatements="29" elements="32" coveredelements="32"/>
</class>
<line num="9" type="method" name="__construct" visibility="public" complexity="3" crap="3" count="6"/>
<line num="11" type="stmt" count="6"/>
<line num="12" type="stmt" count="6"/>
<line num="13" type="stmt" count="6"/>
<line num="14" type="stmt" count="6"/>
<line num="15" type="stmt" count="6"/>
<line num="16" type="stmt" count="6"/>
<line num="22" type="method" name="getPoint" visibility="public" complexity="2" crap="2" count="6"/>
<line num="24" type="stmt" count="6"/>
<line num="32" type="method" name="getNeighbors" visibility="public" complexity="4" crap="4" count="6"/>
<line num="34" type="stmt" count="6"/>
<line num="35" type="stmt" count="6"/>
<line num="36" type="stmt" count="6"/>
<line num="39" type="stmt" count="6"/>
<line num="40" type="stmt" count="6"/>
<line num="41" type="stmt" count="6"/>
<line num="42" type="stmt" count="6"/>
<line num="43" type="stmt" count="6"/>
<line num="44" type="stmt" count="6"/>
<line num="45" type="stmt" count="1"/>
<line num="46" type="stmt" count="1"/>
<line num="47" type="stmt" count="1"/>
<line num="48" type="stmt" count="1"/>
<line num="49" type="stmt" count="1"/>
<line num="50" type="stmt" count="6"/>
<line num="51" type="stmt" count="6"/>
<line num="52" type="stmt" count="6"/>
<line num="53" type="stmt" count="6"/>
<line num="54" type="stmt" count="6"/>
<line num="55" type="stmt" count="6"/>
<line num="57" type="stmt" count="6"/>
<line num="58" type="stmt" count="6"/>
<metrics loc="59" ncloc="49" classes="1" methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="29" coveredstatements="29" elements="32" coveredelements="32"/>
</file>
<file name="C:\projects\astar\src/Node.php">
<class name="Node" namespace="BlackScorp\Astar">
<metrics complexity="16" methods="16" coveredmethods="16" conditionals="0" coveredconditionals="0" statements="25" coveredstatements="25" elements="41" coveredelements="41"/>
</class>
<line num="17" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="6"/>
<line num="19" type="stmt" count="6"/>
<line num="20" type="stmt" count="6"/>
<line num="21" type="stmt" count="6"/>
<line num="22" type="stmt" count="6"/>
<line num="27" type="method" name="getX" visibility="public" complexity="1" crap="1" count="6"/>
<line num="29" type="stmt" count="6"/>
<line num="35" type="method" name="getY" visibility="public" complexity="1" crap="1" count="6"/>
<line num="37" type="stmt" count="6"/>
<line num="43" type="method" name="getTotalScore" visibility="public" complexity="1" crap="1" count="6"/>
<line num="45" type="stmt" count="6"/>
<line num="51" type="method" name="setTotalScore" visibility="public" complexity="1" crap="1" count="6"/>
<line num="53" type="stmt" count="6"/>
<line num="54" type="stmt" count="6"/>
<line num="56" type="method" name="visit" visibility="public" complexity="1" crap="1" count="6"/>
<line num="58" type="stmt" count="6"/>
<line num="59" type="stmt" count="6"/>
<line num="61" type="method" name="close" visibility="public" complexity="1" crap="1" count="6"/>
<line num="63" type="stmt" count="6"/>
<line num="64" type="stmt" count="6"/>
<line num="69" type="method" name="setScore" visibility="public" complexity="1" crap="1" count="6"/>
<line num="71" type="stmt" count="6"/>
<line num="72" type="stmt" count="6"/>
<line num="77" type="method" name="getScore" visibility="public" complexity="1" crap="1" count="6"/>
<line num="79" type="stmt" count="6"/>
<line num="85" type="method" name="getCosts" visibility="public" complexity="1" crap="1" count="6"/>
<line num="87" type="stmt" count="6"/>
<line num="93" type="method" name="setParent" visibility="public" complexity="1" crap="1" count="6"/>
<line num="95" type="stmt" count="6"/>
<line num="96" type="stmt" count="6"/>
<line num="101" type="method" name="getParent" visibility="public" complexity="1" crap="1" count="5"/>
<line num="103" type="stmt" count="5"/>
<line num="110" type="method" name="getGuessedScore" visibility="public" complexity="1" crap="1" count="6"/>
<line num="112" type="stmt" count="6"/>
<line num="118" type="method" name="setGuessedScore" visibility="public" complexity="1" crap="1" count="6"/>
<line num="120" type="stmt" count="6"/>
<line num="121" type="stmt" count="6"/>
<line num="123" type="method" name="isClosed" visibility="public" complexity="1" crap="1" count="6"/>
<line num="125" type="stmt" count="6"/>
<line num="128" type="method" name="isVisited" visibility="public" complexity="1" crap="1" count="6"/>
<line num="130" type="stmt" count="6"/>
<metrics loc="131" ncloc="98" classes="1" methods="16" coveredmethods="16" conditionals="0" coveredconditionals="0" statements="25" coveredstatements="25" elements="41" coveredelements="41"/>
</file>
<file name="C:\projects\astar\src/ScoreHeap.php">
<class name="ScoreHeap" namespace="BlackScorp\Astar">
<metrics complexity="3" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="3" elements="4" coveredelements="4"/>
</class>
<line num="11" type="method" name="compare" visibility="protected" complexity="3" crap="3" count="6"/>
<line num="14" type="stmt" count="6"/>
<line num="15" type="stmt" count="6"/>
<line num="17" type="stmt" count="6"/>
<metrics loc="18" ncloc="13" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="3" elements="4" coveredelements="4"/>
</file>
</package>
<package name="BlackScorp\Astar\Heuristic">
<file name="C:\projects\astar\src/Heuristic/Diagonal.php">
<class name="Diagonal" namespace="BlackScorp\Astar\Heuristic">
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="3" elements="4" coveredelements="4"/>
</class>
<line num="9" type="method" name="compare" visibility="public" complexity="1" crap="1" count="1"/>
<line num="12" type="stmt" count="1"/>
<line num="13" type="stmt" count="1"/>
<line num="14" type="stmt" count="1"/>
<metrics loc="15" ncloc="15" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="3" elements="4" coveredelements="4"/>
</file>
<file name="C:\projects\astar\src/Heuristic/Euclidean.php">
<class name="Euclidean" namespace="BlackScorp\Astar\Heuristic">
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="3" elements="4" coveredelements="4"/>
</class>
<line num="9" type="method" name="compare" visibility="public" complexity="1" crap="1" count="1"/>
<line num="12" type="stmt" count="1"/>
<line num="13" type="stmt" count="1"/>
<line num="14" type="stmt" count="1"/>
<metrics loc="15" ncloc="15" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="3" elements="4" coveredelements="4"/>
</file>
<file name="C:\projects\astar\src/Heuristic/Manhattan.php">
<class name="Manhattan" namespace="BlackScorp\Astar\Heuristic">
<metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="3" elements="4" coveredelements="4"/>
</class>
<line num="10" type="method" name="compare" visibility="public" complexity="1" crap="1" count="4"/>
<line num="12" type="stmt" count="4"/>
<line num="13" type="stmt" count="4"/>
<line num="14" type="stmt" count="4"/>
<metrics loc="15" ncloc="15" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="3" coveredstatements="3" elements="4" coveredelements="4"/>
</file>
</package>
<file name="C:\projects\astar\src/HeuristicInterface.php">
<metrics loc="6" ncloc="6" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
<metrics files="8" loc="372" ncloc="303" classes="7" methods="30" coveredmethods="30" conditionals="0" coveredconditionals="0" statements="112" coveredstatements="112" elements="142" coveredelements="142"/>
</project>
</coverage>
|