PHP Classes

File: coverage.xml

Recommend this page to a friend!
  Classes of Andrey Iatsenko   Laravel Route Coverage   coverage.xml   Download  
File: coverage.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Route Coverage
Report the coverage of Laravel project tests
Author: By
Last change:
Date: 9 months ago
Size: 22,325 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <coverage generated="1647095965"> <project timestamp="1647095965"> <file name="/Users/yzen.dev/Projects/opensource/laravel-route-coverage/src/Commands/GenerateReportCommand.php"> <class name="LaravelRouteCoverage\Commands\GenerateReportCommand" namespace="global"> <metrics complexity="9" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="38" coveredstatements="0" elements="42" coveredelements="0"/> </class> <line num="58" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/> <line num="60" type="stmt" count="0"/> <line num="61" type="stmt" count="0"/> <line num="62" type="stmt" count="0"/> <line num="63" type="stmt" count="0"/> <line num="64" type="stmt" count="0"/> <line num="68" type="method" name="handle" visibility="public" complexity="6" crap="42" count="0"/> <line num="70" type="stmt" count="0"/> <line num="71" type="stmt" count="0"/> <line num="72" type="stmt" count="0"/> <line num="74" type="stmt" count="0"/> <line num="76" type="stmt" count="0"/> <line num="77" type="stmt" count="0"/> <line num="78" type="stmt" count="0"/> <line num="80" type="stmt" count="0"/> <line num="81" type="stmt" count="0"/> <line num="83" type="stmt" count="0"/> <line num="85" type="stmt" count="0"/> <line num="86" type="stmt" count="0"/> <line num="88" type="stmt" count="0"/> <line num="89" type="stmt" count="0"/> <line num="92" type="stmt" count="0"/> <line num="93" type="stmt" count="0"/> <line num="95" type="stmt" count="0"/> <line num="101" type="method" name="printEndpoints" visibility="private" complexity="1" crap="2" count="0"/> <line num="103" type="stmt" count="0"/> <line num="105" type="stmt" count="0"/> <line num="106" type="stmt" count="0"/> <line num="107" type="stmt" count="0"/> <line num="108" type="stmt" count="0"/> <line num="109" type="stmt" count="0"/> <line num="112" type="stmt" count="0"/> <line num="114" type="stmt" count="0"/> <line num="115" type="stmt" count="0"/> <line num="125" type="method" name="printControllers" visibility="private" complexity="1" crap="2" count="0"/> <line num="127" type="stmt" count="0"/> <line num="129" type="stmt" count="0"/> <line num="130" type="stmt" count="0"/> <line num="131" type="stmt" count="0"/> <line num="135" type="stmt" count="0"/> <line num="137" type="stmt" count="0"/> <line num="138" type="stmt" count="0"/> <metrics loc="145" ncloc="110" classes="1" methods="4" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="38" coveredstatements="0" elements="42" coveredelements="0"/> </file> <file name="/Users/yzen.dev/Projects/opensource/laravel-route-coverage/src/Parser/ParserFiles.php"> <class name="LaravelRouteCoverage\Parser\ParserFiles" namespace="global"> <metrics complexity="18" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="54" coveredstatements="47" elements="57" coveredelements="48"/> </class> <line num="28" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="2"/> <line num="30" type="stmt" count="2"/> <line num="40" type="method" name="getAllPaths" visibility="public" complexity="6" crap="6.09" count="2"/> <line num="42" type="stmt" count="2"/> <line num="43" type="stmt" count="2"/> <line num="46" type="stmt" count="2"/> <line num="48" type="stmt" count="2"/> <line num="49" type="stmt" count="0"/> <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="59" type="stmt" count="2"/> <line num="60" type="stmt" count="2"/> <line num="61" type="stmt" count="0"/> <line num="64" type="stmt" count="2"/> <line num="72" type="method" name="parse" visibility="public" complexity="11" crap="11.28" count="2"/> <line num="74" type="stmt" count="2"/> <line num="75" type="stmt" count="2"/> <line num="76" type="stmt" count="0"/> <line num="79" type="stmt" count="2"/> <line num="81" type="stmt" count="2"/> <line num="82" type="stmt" count="2"/> <line num="83" type="stmt" count="2"/> <line num="84" type="stmt" count="0"/> <line num="87" type="stmt" count="2"/> <line num="88" type="stmt" count="2"/> <line num="89" type="stmt" count="2"/> <line num="90" type="stmt" count="2"/> <line num="93" type="stmt" count="2"/> <line num="95" type="stmt" 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="101" type="stmt" count="2"/> <line num="103" type="stmt" count="2"/> <line num="106" type="stmt" count="2"/> <line num="107" type="stmt" count="2"/> <line num="108" type="stmt" 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="2"/> <line num="115" type="stmt" count="2"/> <line num="116" type="stmt" count="2"/> <line num="117" type="stmt" count="2"/> <line num="119" type="stmt" count="0"/> <line num="121" type="stmt" count="2"/> <line num="123" type="stmt" count="2"/> <line num="124" type="stmt" count="2"/> <line num="126" type="stmt" count="0"/> <line num="127" type="stmt" count="0"/> <line num="132" type="stmt" count="2"/> <metrics loc="135" ncloc="111" classes="1" methods="3" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="54" coveredstatements="47" elements="57" coveredelements="48"/> </file> <file name="/Users/yzen.dev/Projects/opensource/laravel-route-coverage/src/Report/AbstractReport.php"> <class name="LaravelRouteCoverage\Report\AbstractReport" namespace="global"> <metrics complexity="5" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="0" elements="12" coveredelements="0"/> </class> <line num="15" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/> <line num="17" type="stmt" count="0"/> <line num="18" type="stmt" count="0"/> <line num="28" type="method" name="saveFile" visibility="public" complexity="2" crap="6" count="0"/> <line num="30" type="stmt" count="0"/> <line num="31" type="stmt" count="0"/> <line num="32" type="stmt" count="0"/> <line num="34" type="stmt" count="0"/> <line num="35" type="stmt" count="0"/> <line num="41" type="method" name="createReportDir" visibility="public" complexity="2" crap="6" count="0"/> <line num="43" type="stmt" count="0"/> <line num="44" type="stmt" count="0"/> <metrics loc="48" ncloc="34" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="0" elements="12" coveredelements="0"/> </file> <file name="/Users/yzen.dev/Projects/opensource/laravel-route-coverage/src/Report/Html/Reporter.php"> <class name="LaravelRouteCoverage\Report\Html\Reporter" namespace="global"> <metrics complexity="17" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="95" coveredstatements="0" elements="101" coveredelements="0"/> </class> <line num="18" type="method" name="generate" visibility="public" complexity="1" crap="2" count="0"/> <line num="20" type="stmt" count="0"/> <line num="21" type="stmt" count="0"/> <line num="22" type="stmt" count="0"/> <line num="28" type="method" name="makeResources" visibility="public" complexity="3" crap="12" count="0"/> <line num="30" type="stmt" count="0"/> <line num="31" type="stmt" count="0"/> <line num="33" type="stmt" count="0"/> <line num="34" type="stmt" count="0"/> <line num="37" type="stmt" count="0"/> <line num="38" type="stmt" count="0"/> <line num="47" type="method" name="generateAllRoutes" visibility="public" complexity="6" crap="42" count="0"/> <line num="49" type="stmt" count="0"/> <line num="50" type="stmt" count="0"/> <line num="51" type="stmt" count="0"/> <line num="52" type="stmt" count="0"/> <line num="53" type="stmt" count="0"/> <line num="59" type="stmt" count="0"/> <line num="60" type="stmt" count="0"/> <line num="61" type="stmt" count="0"/> <line num="62" type="stmt" count="0"/> <line num="63" type="stmt" count="0"/> <line num="64" type="stmt" count="0"/> <line num="65" type="stmt" count="0"/> <line num="67" type="stmt" count="0"/> <line num="68" type="stmt" count="0"/> <line num="69" type="stmt" count="0"/> <line num="70" type="stmt" count="0"/> <line num="71" type="stmt" count="0"/> <line num="72" type="stmt" count="0"/> <line num="74" type="stmt" count="0"/> <line num="75" type="stmt" count="0"/> <line num="76" type="stmt" count="0"/> <line num="78" type="stmt" count="0"/> <line num="79" type="stmt" count="0"/> <line num="80" type="stmt" count="0"/> <line num="81" type="stmt" count="0"/> <line num="82" type="stmt" count="0"/> <line num="83" type="stmt" count="0"/> <line num="85" type="stmt" count="0"/> <line num="92" type="stmt" count="0"/> <line num="94" type="stmt" count="0"/> <line num="96" type="stmt" count="0"/> <line num="97" type="stmt" count="0"/> <line num="99" type="stmt" count="0"/> <line num="101" type="stmt" count="0"/> <line num="102" type="stmt" count="0"/> <line num="103" type="stmt" count="0"/> <line num="104" type="stmt" count="0"/> <line num="105" type="stmt" count="0"/> <line num="106" type="stmt" count="0"/> <line num="107" type="stmt" count="0"/> <line num="109" type="stmt" count="0"/> <line num="110" type="stmt" count="0"/> <line num="113" type="stmt" count="0"/> <line num="115" type="stmt" count="0"/> <line num="117" type="stmt" count="0"/> <line num="126" type="method" name="generateGroupByController" visibility="public" complexity="3" crap="12" count="0"/> <line num="129" type="stmt" count="0"/> <line num="130" type="stmt" count="0"/> <line num="131" type="stmt" count="0"/> <line num="132" type="stmt" count="0"/> <line num="133" type="stmt" count="0"/> <line num="139" type="stmt" count="0"/> <line num="140" type="stmt" count="0"/> <line num="141" type="stmt" count="0"/> <line num="142" type="stmt" count="0"/> <line num="143" type="stmt" count="0"/> <line num="144" type="stmt" count="0"/> <line num="145" type="stmt" count="0"/> <line num="147" type="stmt" count="0"/> <line num="148" type="stmt" count="0"/> <line num="149" type="stmt" count="0"/> <line num="150" type="stmt" count="0"/> <line num="151" type="stmt" count="0"/> <line num="152" type="stmt" count="0"/> <line num="153" type="stmt" count="0"/> <line num="155" type="stmt" count="0"/> <line num="159" type="stmt" count="0"/> <line num="160" type="stmt" count="0"/> <line num="162" type="stmt" count="0"/> <line num="164" type="stmt" count="0"/> <line num="165" type="stmt" count="0"/> <line num="166" type="stmt" count="0"/> <line num="167" type="stmt" count="0"/> <line num="168" type="stmt" count="0"/> <line num="169" type="stmt" count="0"/> <line num="170" type="stmt" count="0"/> <line num="171" type="stmt" count="0"/> <line num="172" type="stmt" count="0"/> <line num="173" type="stmt" count="0"/> <line num="175" type="stmt" count="0"/> <line num="177" type="stmt" count="0"/> <line num="179" type="stmt" count="0"/> <line num="181" type="stmt" count="0"/> <line num="183" type="stmt" count="0"/> <line num="191" type="method" name="getSidebarMenu" visibility="public" complexity="3" crap="12" count="0"/> <line num="197" type="stmt" count="0"/> <line num="203" type="stmt" count="0"/> <line num="216" type="method" name="getNavbar" visibility="public" complexity="1" crap="2" count="0"/> <line num="218" type="stmt" count="0"/> <metrics loc="227" ncloc="196" classes="1" methods="6" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="95" coveredstatements="0" elements="101" coveredelements="0"/> </file> <file name="/Users/yzen.dev/Projects/opensource/laravel-route-coverage/src/Report/Junit/Reporter.php"> <class name="LaravelRouteCoverage\Report\Junit\Reporter" namespace="global"> <metrics complexity="2" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="0" elements="14" coveredelements="0"/> </class> <line num="19" type="method" name="generate" visibility="public" complexity="2" crap="6" count="0"/> <line num="21" type="stmt" count="0"/> <line num="22" type="stmt" count="0"/> <line num="23" type="stmt" count="0"/> <line num="24" type="stmt" count="0"/> <line num="27" type="stmt" count="0"/> <line num="28" type="stmt" count="0"/> <line num="29" type="stmt" count="0"/> <line num="32" type="stmt" count="0"/> <line num="33" type="stmt" count="0"/> <line num="35" type="stmt" count="0"/> <line num="38" type="stmt" count="0"/> <line num="41" type="stmt" count="0"/> <line num="43" type="stmt" count="0"/> <metrics loc="46" ncloc="37" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="0" elements="14" coveredelements="0"/> </file> <file name="/Users/yzen.dev/Projects/opensource/laravel-route-coverage/src/RouteCollection.php"> <class name="LaravelRouteCoverage\RouteCollection" namespace="global"> <metrics complexity="17" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="39" coveredstatements="1" elements="47" coveredelements="2"/> </class> <line num="26" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/> <line num="28" type="stmt" count="1"/> <line num="34" type="method" name="sortRotesByTests" visibility="public" complexity="3" crap="12" count="0"/> <line num="36" type="stmt" count="0"/> <line num="37" type="stmt" count="0"/> <line num="39" type="stmt" count="0"/> <line num="40" type="stmt" count="0"/> <line num="41" type="stmt" count="0"/> <line num="43" type="stmt" count="0"/> <line num="46" type="stmt" count="0"/> <line num="52" type="method" name="sortControllerByTests" visibility="public" complexity="3" crap="12" count="0"/> <line num="54" type="stmt" count="0"/> <line num="55" type="stmt" count="0"/> <line num="56" type="stmt" count="0"/> <line num="57" type="stmt" count="0"/> <line num="59" type="stmt" count="0"/> <line num="61" type="stmt" count="0"/> <line num="67" type="method" name="get" visibility="public" complexity="1" crap="2" count="0"/> <line num="69" type="stmt" count="0"/> <line num="76" type="method" name="getTestedRouteStatistic" visibility="public" complexity="1" crap="2" count="0"/> <line num="78" type="stmt" count="0"/> <line num="79" type="stmt" count="0"/> <line num="80" type="stmt" count="0"/> <line num="81" type="stmt" count="0"/> <line num="82" type="stmt" count="0"/> <line num="93" type="method" name="getCoveragePercent" visibility="public" complexity="1" crap="2" count="0"/> <line num="95" type="stmt" count="0"/> <line num="96" type="stmt" count="0"/> <line num="98" type="stmt" count="0"/> <line num="106" type="method" name="count" visibility="public" complexity="1" crap="2" count="0"/> <line num="108" type="stmt" count="0"/> <line num="114" type="method" name="groupByController" visibility="public" complexity="6" crap="42" count="0"/> <line num="116" type="stmt" count="0"/> <line num="117" type="stmt" count="0"/> <line num="118" type="stmt" count="0"/> <line num="119" type="stmt" count="0"/> <line num="120" type="stmt" count="0"/> <line num="121" type="stmt" count="0"/> <line num="123" type="stmt" count="0"/> <line num="124" type="stmt" count="0"/> <line num="126" type="stmt" count="0"/> <line num="128" type="stmt" count="0"/> <line num="129" type="stmt" count="0"/> <line num="130" type="stmt" count="0"/> <line num="131" type="stmt" count="0"/> <line num="132" type="stmt" count="0"/> <line num="136" type="stmt" count="0"/> <metrics loc="139" ncloc="99" classes="1" methods="8" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="39" coveredstatements="1" elements="47" coveredelements="2"/> </file> <file name="/Users/yzen.dev/Projects/opensource/laravel-route-coverage/src/RouteCoverage.php"> <class name="LaravelRouteCoverage\RouteCoverage" namespace="global"> <metrics complexity="7" methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="16" elements="19" coveredelements="19"/> </class> <line num="32" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="1"/> <line num="34" type="stmt" count="1"/> <line num="35" type="stmt" count="1"/> <line num="41" type="method" name="generate" visibility="public" complexity="1" crap="1" count="1"/> <line num="43" type="stmt" count="1"/> <line num="44" type="stmt" count="1"/> <line num="45" type="stmt" count="1"/> <line num="54" type="method" name="combineData" visibility="private" complexity="5" crap="5" 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="1"/> <line num="70" type="stmt" count="1"/> <metrics loc="73" ncloc="49" classes="1" methods="3" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="16" elements="19" coveredelements="19"/> </file> <file name="/Users/yzen.dev/Projects/opensource/laravel-route-coverage/src/RouterService.php"> <class name="LaravelRouteCoverage\RouterService" namespace="global"> <metrics complexity="3" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="13" elements="15" coveredelements="15"/> </class> <line num="29" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="2"/> <line num="31" type="stmt" count="2"/> <line num="33" type="stmt" count="2"/> <line num="39" type="method" name="getRoutes" visibility="public" complexity="2" crap="2" count="2"/> <line num="42" type="stmt" count="2"/> <line num="43" type="stmt" count="2"/> <line num="44" type="stmt" count="2"/> <line num="45" type="stmt" count="2"/> <line num="47" type="stmt" count="2"/> <line num="48" type="stmt" count="2"/> <line num="49" 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="55" type="stmt" count="2"/> <metrics loc="58" ncloc="40" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="13" elements="15" coveredelements="15"/> </file> <file name="/Users/yzen.dev/Projects/opensource/laravel-route-coverage/src/ServiceProvider.php"> <class name="LaravelRouteCoverage\ServiceProvider" namespace="global"> <metrics complexity="3" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/> </class> <line num="15" type="method" name="boot" visibility="public" complexity="2" crap="6" count="0"/> <line num="17" type="stmt" count="0"/> <line num="18" type="stmt" count="0"/> <line num="23" type="stmt" count="0"/> <line num="25" type="stmt" count="0"/> <line num="36" type="method" name="register" visibility="public" complexity="1" crap="2" count="0"/> <line num="38" type="stmt" count="0"/> <metrics loc="41" ncloc="28" classes="1" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/> </file> <file name="/Users/yzen.dev/Projects/opensource/laravel-route-coverage/src/config/route-coverage.php"> <line num="4" type="stmt" count="0"/> <metrics loc="7" ncloc="7" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="0" elements="1" coveredelements="0"/> </file> <metrics files="10" loc="919" ncloc="711" classes="9" methods="32" coveredmethods="7" conditionals="0" coveredconditionals="0" statements="283" coveredstatements="77" elements="315" coveredelements="84"/> </project> </coverage>