PHP Classes

File: coverage.xml

Recommend this page to a friend!
  Classes of Mohamed Ahmed   Laravel MCP SDK   coverage.xml   Download  
File: coverage.xml
Role: Auxiliary data
Content typex: text/plain
Description: Auxiliary data
Class: Laravel MCP SDK
Create tools to process user requests with prompts
Author: By
Last change:
Date: Yesterday
Size: 63,572 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <coverage generated="1742006955"> <project timestamp="1742006955"> <file name="D:\Code\laravel-mcp-sdk\src\Capabilities\ClientCapabilities.php"> <class name="LaravelMCP\MCP\Capabilities\ClientCapabilities" namespace="global"> <metrics complexity="8" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="13" elements="18" coveredelements="18"/> </class> <line num="7" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="3"/> <line num="11" type="stmt" count="3"/> <line num="13" type="method" name="isExperimental" visibility="public" complexity="1" crap="1" count="3"/> <line num="15" type="stmt" count="3"/> <line num="18" type="method" name="getRoots" visibility="public" complexity="1" crap="1" count="3"/> <line num="20" type="stmt" count="3"/> <line num="23" type="method" name="toArray" visibility="public" complexity="3" crap="3" count="3"/> <line num="25" type="stmt" count="3"/> <line num="27" type="stmt" count="3"/> <line num="28" type="stmt" count="2"/> <line num="31" type="stmt" count="3"/> <line num="32" type="stmt" count="2"/> <line num="35" type="stmt" count="3"/> <line num="38" type="method" name="create" visibility="public" complexity="2" crap="2" count="1"/> <line num="40" type="stmt" count="1"/> <line num="41" type="stmt" count="1"/> <line num="42" type="stmt" count="1"/> <line num="43" type="stmt" count="1"/> <metrics loc="46" ncloc="46" classes="1" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="13" elements="18" coveredelements="18"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Capabilities\PromptsCapability.php"> <class name="LaravelMCP\MCP\Capabilities\PromptsCapability" namespace="global"> <metrics complexity="5" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="9" elements="13" coveredelements="13"/> </class> <line num="7" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="7"/> <line num="10" type="stmt" count="7"/> <line num="12" type="method" name="getListChanged" visibility="public" complexity="1" crap="1" count="3"/> <line num="14" type="stmt" count="3"/> <line num="17" type="method" name="toArray" visibility="public" complexity="2" crap="2" count="3"/> <line num="19" type="stmt" count="3"/> <line num="21" type="stmt" count="3"/> <line num="22" type="stmt" count="3"/> <line num="25" type="stmt" count="3"/> <line num="28" type="method" name="create" visibility="public" complexity="1" crap="1" count="3"/> <line num="30" type="stmt" count="3"/> <line num="31" type="stmt" count="3"/> <line num="32" type="stmt" count="3"/> <metrics loc="35" ncloc="35" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="9" elements="13" coveredelements="13"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Capabilities\ResourcesCapability.php"> <class name="LaravelMCP\MCP\Capabilities\ResourcesCapability" namespace="global"> <metrics complexity="7" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="13" elements="18" coveredelements="18"/> </class> <line num="7" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="8"/> <line num="11" type="stmt" count="8"/> <line num="13" type="method" name="getSubscribe" visibility="public" complexity="1" crap="1" count="3"/> <line num="15" type="stmt" count="3"/> <line num="18" type="method" name="getListChanged" visibility="public" complexity="1" crap="1" count="3"/> <line num="20" type="stmt" count="3"/> <line num="23" type="method" name="toArray" visibility="public" complexity="3" crap="3" count="3"/> <line num="25" type="stmt" count="3"/> <line num="27" type="stmt" count="3"/> <line num="28" type="stmt" count="3"/> <line num="31" type="stmt" count="3"/> <line num="32" type="stmt" count="3"/> <line num="35" type="stmt" count="3"/> <line num="38" type="method" name="create" visibility="public" complexity="1" crap="1" 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"/> <metrics loc="46" ncloc="46" classes="1" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="13" coveredstatements="13" elements="18" coveredelements="18"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Capabilities\RootsCapability.php"> <class name="LaravelMCP\MCP\Capabilities\RootsCapability" namespace="global"> <metrics complexity="5" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="16" coveredelements="16"/> </class> <line num="10" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="7"/> <line num="14" type="stmt" count="7"/> <line num="19" type="method" name="isEnabled" visibility="public" complexity="1" crap="1" count="2"/> <line num="21" type="stmt" count="2"/> <line num="27" type="method" name="getRoots" visibility="public" complexity="1" crap="1" count="2"/> <line num="29" type="stmt" count="2"/> <line num="35" type="method" name="toArray" visibility="public" complexity="1" crap="1" count="3"/> <line num="37" type="stmt" count="3"/> <line num="38" type="stmt" count="3"/> <line num="39" type="stmt" count="3"/> <line num="40" type="stmt" count="3"/> <line num="46" type="method" name="create" visibility="public" complexity="1" crap="1" 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"/> <metrics loc="54" ncloc="39" classes="1" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="16" coveredelements="16"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Capabilities\ServerCapabilities.php"> <class name="LaravelMCP\MCP\Capabilities\ServerCapabilities" namespace="global"> <metrics complexity="16" methods="8" coveredmethods="8" conditionals="0" coveredconditionals="0" statements="25" coveredstatements="25" elements="33" coveredelements="33"/> </class> <line num="7" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="3"/> <line num="14" type="stmt" count="3"/> <line num="16" type="method" name="getExperimental" visibility="public" complexity="1" crap="1" count="3"/> <line num="18" type="stmt" count="3"/> <line num="21" type="method" name="getLogging" visibility="public" complexity="1" crap="1" count="3"/> <line num="23" type="stmt" count="3"/> <line num="26" type="method" name="getPrompts" visibility="public" complexity="1" crap="1" count="3"/> <line num="28" type="stmt" count="3"/> <line num="31" type="method" name="getResources" visibility="public" complexity="1" crap="1" count="3"/> <line num="33" type="stmt" count="3"/> <line num="36" type="method" name="getTools" visibility="public" complexity="1" crap="1" count="3"/> <line num="38" type="stmt" count="3"/> <line num="41" type="method" name="toArray" visibility="public" complexity="6" crap="6" count="3"/> <line num="43" type="stmt" count="3"/> <line num="45" type="stmt" count="3"/> <line num="46" type="stmt" count="2"/> <line num="49" type="stmt" count="3"/> <line num="50" type="stmt" count="2"/> <line num="53" type="stmt" count="3"/> <line num="54" type="stmt" count="2"/> <line num="57" type="stmt" count="3"/> <line num="58" type="stmt" count="2"/> <line num="61" type="stmt" count="3"/> <line num="62" type="stmt" count="2"/> <line num="65" type="stmt" count="3"/> <line num="68" type="method" name="create" visibility="public" complexity="4" crap="4" count="1"/> <line num="70" type="stmt" count="1"/> <line num="71" type="stmt" count="1"/> <line num="72" type="stmt" count="1"/> <line num="73" type="stmt" count="1"/> <line num="74" type="stmt" count="1"/> <line num="75" type="stmt" count="1"/> <line num="76" type="stmt" count="1"/> <metrics loc="79" ncloc="79" classes="1" methods="8" coveredmethods="8" conditionals="0" coveredconditionals="0" statements="25" coveredstatements="25" elements="33" coveredelements="33"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Capabilities\ServerCapabilities\PromptsCapability.php"> <class name="LaravelMCP\MCP\Capabilities\ServerCapabilities\PromptsCapability" namespace="global"> <metrics complexity="5" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="16" coveredelements="16"/> </class> <line num="10" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="5"/> <line num="14" type="stmt" count="5"/> <line num="19" type="method" name="isEnabled" visibility="public" complexity="1" crap="1" count="2"/> <line num="21" type="stmt" count="2"/> <line num="27" type="method" name="getPrompts" visibility="public" complexity="1" crap="1" count="2"/> <line num="29" type="stmt" count="2"/> <line num="35" type="method" name="toArray" visibility="public" complexity="1" crap="1" count="1"/> <line num="37" type="stmt" count="1"/> <line num="38" type="stmt" count="1"/> <line num="39" type="stmt" count="1"/> <line num="40" type="stmt" count="1"/> <line num="46" type="method" name="create" visibility="public" complexity="1" crap="1" count="1"/> <line num="48" type="stmt" count="1"/> <line num="49" type="stmt" count="1"/> <line num="50" type="stmt" count="1"/> <line num="51" type="stmt" count="1"/> <metrics loc="54" ncloc="39" classes="1" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="16" coveredelements="16"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Capabilities\ServerCapabilities\ResourcesCapability.php"> <class name="LaravelMCP\MCP\Capabilities\ServerCapabilities\ResourcesCapability" namespace="global"> <metrics complexity="5" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="16" coveredelements="16"/> </class> <line num="10" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="5"/> <line num="14" type="stmt" count="5"/> <line num="19" type="method" name="isEnabled" visibility="public" complexity="1" crap="1" count="2"/> <line num="21" type="stmt" count="2"/> <line num="27" type="method" name="getResources" visibility="public" complexity="1" crap="1" count="2"/> <line num="29" type="stmt" count="2"/> <line num="35" type="method" name="toArray" visibility="public" complexity="1" crap="1" count="1"/> <line num="37" type="stmt" count="1"/> <line num="38" type="stmt" count="1"/> <line num="39" type="stmt" count="1"/> <line num="40" type="stmt" count="1"/> <line num="46" type="method" name="create" visibility="public" complexity="1" crap="1" count="1"/> <line num="48" type="stmt" count="1"/> <line num="49" type="stmt" count="1"/> <line num="50" type="stmt" count="1"/> <line num="51" type="stmt" count="1"/> <metrics loc="54" ncloc="39" classes="1" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="16" coveredelements="16"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Capabilities\ToolsCapability.php"> <class name="LaravelMCP\MCP\Capabilities\ToolsCapability" namespace="global"> <metrics complexity="5" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="9" elements="13" coveredelements="13"/> </class> <line num="7" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="7"/> <line num="10" type="stmt" count="7"/> <line num="12" type="method" name="getListChanged" visibility="public" complexity="1" crap="1" count="5"/> <line num="14" type="stmt" count="5"/> <line num="17" type="method" name="toArray" visibility="public" complexity="2" crap="2" count="7"/> <line num="19" type="stmt" count="7"/> <line num="21" type="stmt" count="7"/> <line num="22" type="stmt" count="5"/> <line num="25" type="stmt" count="7"/> <line num="28" type="method" name="create" visibility="public" complexity="1" crap="1" count="3"/> <line num="30" type="stmt" count="3"/> <line num="31" type="stmt" count="3"/> <line num="32" type="stmt" count="3"/> <metrics loc="35" ncloc="35" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="9" elements="13" coveredelements="13"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Commands\MCPServerCommand.php"> <class name="LaravelMCP\MCP\Commands\MCPServerCommand" namespace="global"> <metrics complexity="11" methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="40" coveredstatements="28" elements="43" coveredelements="30"/> </class> <line num="20" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="14"/> <line num="22" type="stmt" count="14"/> <line num="23" type="stmt" count="14"/> <line num="26" type="method" name="handle" visibility="public" complexity="6" crap="6" count="9"/> <line num="28" type="stmt" count="9"/> <line num="29" type="stmt" count="9"/> <line num="30" type="stmt" count="1"/> <line num="33" type="stmt" count="9"/> <line num="34" type="stmt" count="9"/> <line num="35" type="stmt" count="1"/> <line num="38" type="stmt" count="9"/> <line num="39" type="stmt" count="9"/> <line num="40" type="stmt" count="2"/> <line num="42" type="stmt" count="7"/> <line num="45" type="stmt" count="9"/> <line num="48" type="stmt" count="9"/> <line num="49" type="stmt" count="9"/> <line num="50" type="stmt" count="9"/> <line num="51" type="stmt" count="9"/> <line num="52" type="stmt" count="9"/> <line num="53" type="stmt" count="9"/> <line num="54" type="stmt" count="9"/> <line num="55" type="stmt" count="9"/> <line num="56" type="stmt" count="9"/> <line num="58" type="stmt" count="7"/> <line num="60" type="stmt" count="5"/> <line num="61" type="stmt" count="4"/> <line num="62" type="stmt" count="4"/> <line num="64" type="stmt" count="4"/> <line num="68" type="method" name="setupSignalHandlers" visibility="protected" complexity="4" crap="16.58" count="9"/> <line num="70" type="stmt" count="9"/> <line num="71" type="stmt" count="0"/> <line num="72" type="stmt" count="0"/> <line num="73" 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="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="84" type="stmt" count="0"/> <line num="85" type="stmt" count="0"/> <metrics loc="89" ncloc="89" classes="1" methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="40" coveredstatements="28" elements="43" coveredelements="30"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Contracts\MCPServerInterface.php"> <metrics loc="130" ncloc="58" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Contracts\NotificationInterface.php"> <metrics loc="17" ncloc="11" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Contracts\PromptInterface.php"> <metrics loc="20" ncloc="15" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Contracts\RequestInterface.php"> <metrics loc="17" ncloc="11" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Contracts\ResourceInterface.php"> <metrics loc="13" ncloc="13" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Contracts\ResourceTemplateInterface.php"> <metrics loc="42" ncloc="21" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Contracts\ToolInterface.php"> <metrics loc="13" ncloc="13" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Contracts\TransportInterface.php"> <metrics loc="32" ncloc="17" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Facades\MCP.php"> <class name="LaravelMCP\MCP\Facades\MCP" namespace="global"> <metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="0" elements="2" coveredelements="0"/> </class> <line num="27" type="method" name="getFacadeAccessor" visibility="protected" complexity="1" crap="2" count="0"/> <line num="29" type="stmt" count="0"/> <metrics loc="32" ncloc="18" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="0" elements="2" coveredelements="0"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Implementation.php"> <class name="LaravelMCP\MCP\Implementation" namespace="global"> <metrics complexity="5" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="16" coveredelements="16"/> </class> <line num="7" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="2"/> <line num="11" type="stmt" count="2"/> <line num="13" type="method" name="getName" visibility="public" complexity="1" crap="1" count="2"/> <line num="15" type="stmt" count="2"/> <line num="18" type="method" name="getVersion" visibility="public" complexity="1" crap="1" count="2"/> <line num="20" type="stmt" count="2"/> <line num="23" type="method" name="toArray" visibility="public" complexity="1" crap="1" count="2"/> <line num="25" type="stmt" count="2"/> <line num="26" type="stmt" count="2"/> <line num="27" type="stmt" count="2"/> <line num="28" type="stmt" count="2"/> <line num="31" type="method" name="create" visibility="public" complexity="1" crap="1" count="3"/> <line num="33" type="stmt" count="3"/> <line num="34" type="stmt" count="3"/> <line num="35" type="stmt" count="3"/> <line num="36" type="stmt" count="3"/> <metrics loc="39" ncloc="39" classes="1" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="16" coveredelements="16"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Logging\LoggingLevel.php"> <class name="LaravelMCP\MCP\Logging\LoggingLevel" namespace="global"> <metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="12" coveredelements="12"/> </class> <line num="16" type="method" name="fromString" visibility="public" complexity="1" crap="1" count="2"/> <line num="18" type="stmt" count="2"/> <line num="19" type="stmt" count="1"/> <line num="20" type="stmt" count="1"/> <line num="21" type="stmt" count="1"/> <line num="22" type="stmt" count="1"/> <line num="23" type="stmt" count="1"/> <line num="24" type="stmt" count="1"/> <line num="25" type="stmt" count="1"/> <line num="26" type="stmt" count="1"/> <line num="27" type="stmt" count="2"/> <line num="28" type="stmt" count="2"/> <metrics loc="31" ncloc="31" classes="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="12" coveredelements="12"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\MCPClient.php"> <class name="LaravelMCP\MCP\MCPClient" namespace="global"> <metrics complexity="13" methods="6" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="46" coveredstatements="45" elements="52" coveredelements="50"/> </class> <line num="13" type="method" name="__construct" visibility="public" complexity="3" crap="3" count="23"/> <line num="15" type="stmt" count="23"/> <line num="16" type="stmt" count="23"/> <line num="18" type="stmt" count="23"/> <line num="19" type="stmt" count="1"/> <line num="21" type="stmt" count="23"/> <line num="22" type="stmt" count="1"/> <line num="25" type="stmt" count="23"/> <line num="26" type="stmt" count="23"/> <line num="27" type="stmt" count="23"/> <line num="28" type="stmt" count="23"/> <line num="29" type="stmt" count="23"/> <line num="30" type="stmt" count="23"/> <line num="31" type="stmt" count="23"/> <line num="32" type="stmt" count="23"/> <line num="33" type="stmt" count="23"/> <line num="40" type="method" name="createContext" visibility="public" complexity="2" crap="2" 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="46" type="stmt" count="3"/> <line num="47" type="stmt" count="3"/> <line num="48" type="stmt" count="1"/> <line num="51" type="stmt" count="2"/> <line num="58" type="method" name="getContext" visibility="public" complexity="2" crap="2" count="5"/> <line num="60" type="stmt" count="5"/> <line num="62" type="stmt" count="4"/> <line num="63" type="stmt" count="2"/> <line num="64" type="stmt" count="1"/> <line num="67" type="stmt" count="1"/> <line num="74" type="method" name="updateContext" visibility="public" complexity="2" crap="2" count="3"/> <line num="76" type="stmt" count="3"/> <line num="77" type="stmt" count="3"/> <line num="78" type="stmt" count="3"/> <line num="80" type="stmt" count="2"/> <line num="81" type="stmt" count="2"/> <line num="82" type="stmt" count="1"/> <line num="85" type="stmt" count="1"/> <line num="92" type="method" name="deleteContext" visibility="public" complexity="2" crap="2.03" count="2"/> <line num="94" type="stmt" count="2"/> <line num="96" type="stmt" count="1"/> <line num="97" type="stmt" count="1"/> <line num="98" type="stmt" count="0"/> <line num="101" type="stmt" count="1"/> <line num="108" type="method" name="listContexts" visibility="public" complexity="2" crap="2" count="5"/> <line num="110" type="stmt" count="5"/> <line num="111" type="stmt" count="5"/> <line num="112" type="stmt" count="5"/> <line num="114" type="stmt" count="5"/> <line num="115" type="stmt" count="4"/> <line num="116" type="stmt" count="1"/> <line num="119" type="stmt" count="3"/> <metrics loc="122" ncloc="102" classes="1" methods="6" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="46" coveredstatements="45" elements="52" coveredelements="50"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\MCPServiceProvider.php"> <class name="LaravelMCP\MCP\MCPServiceProvider" namespace="global"> <metrics complexity="3" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="16" elements="18" coveredelements="18"/> </class> <line num="16" type="method" name="register" visibility="public" complexity="1" crap="1" count="140"/> <line num="18" type="stmt" count="140"/> <line num="19" type="stmt" count="1"/> <line num="20" type="stmt" count="140"/> <line num="22" type="stmt" count="140"/> <line num="23" type="stmt" count="3"/> <line num="24" type="stmt" count="140"/> <line num="26" type="stmt" count="140"/> <line num="27" type="stmt" count="3"/> <line num="28" type="stmt" count="140"/> <line num="34" type="method" name="boot" visibility="public" complexity="2" crap="2" count="140"/> <line num="36" type="stmt" count="140"/> <line num="37" type="stmt" count="140"/> <line num="38" type="stmt" count="140"/> <line num="39" type="stmt" count="140"/> <line num="41" type="stmt" count="140"/> <line num="42" type="stmt" count="140"/> <line num="43" type="stmt" count="140"/> <metrics loc="47" ncloc="41" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="16" elements="18" coveredelements="18"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Notifications\LoggingMessageNotification.php"> <class name="LaravelMCP\MCP\Notifications\LoggingMessageNotification" namespace="global"> <metrics complexity="4" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="0" elements="12" coveredelements="0"/> </class> <line num="9" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/> <line num="14" type="stmt" count="0"/> <line num="16" type="method" name="getMethod" visibility="public" complexity="1" crap="2" count="0"/> <line num="18" type="stmt" count="0"/> <line num="21" type="method" name="getParams" visibility="public" complexity="2" crap="6" count="0"/> <line num="23" type="stmt" count="0"/> <line num="24" type="stmt" count="0"/> <line num="25" type="stmt" count="0"/> <line num="26" 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"/> <metrics loc="35" ncloc="35" classes="1" methods="3" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="9" coveredstatements="0" elements="12" coveredelements="0"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Notifications\ProgressNotification.php"> <class name="LaravelMCP\MCP\Notifications\ProgressNotification" namespace="global"> <metrics complexity="5" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="18" coveredelements="18"/> </class> <line num="9" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="4"/> <line num="14" type="stmt" count="4"/> <line num="16" type="method" name="getMethod" visibility="public" complexity="1" crap="1" count="4"/> <line num="18" type="stmt" count="4"/> <line num="21" type="method" name="getParams" visibility="public" complexity="2" crap="2" count="4"/> <line num="23" type="stmt" count="4"/> <line num="24" type="stmt" count="4"/> <line num="25" type="stmt" count="4"/> <line num="26" type="stmt" count="4"/> <line num="28" type="stmt" count="4"/> <line num="29" type="stmt" count="2"/> <line num="32" type="stmt" count="4"/> <line num="35" type="method" name="create" visibility="public" complexity="1" crap="1" count="2"/> <line num="37" type="stmt" count="2"/> <line num="38" type="stmt" count="2"/> <line num="39" type="stmt" count="2"/> <line num="40" type="stmt" count="2"/> <line num="41" type="stmt" count="2"/> <metrics loc="44" ncloc="44" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="14" coveredstatements="14" elements="18" coveredelements="18"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Pagination\PaginatedRequest.php"> <class name="LaravelMCP\MCP\Pagination\PaginatedRequest" namespace="global"> <metrics complexity="6" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="16" coveredelements="16"/> </class> <line num="12" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="5"/> <line num="15" type="stmt" count="5"/> <line num="20" type="method" name="getCursor" visibility="public" complexity="1" crap="1" count="4"/> <line num="22" type="stmt" count="4"/> <line num="28" type="method" name="getMethod" visibility="public" complexity="1" crap="1" count="1"/> <line num="30" type="stmt" count="1"/> <line num="36" type="method" name="getParams" visibility="public" complexity="2" crap="2" count="4"/> <line num="38" type="stmt" count="4"/> <line num="39" type="stmt" 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="50" type="method" name="create" visibility="public" complexity="1" crap="1" count="2"/> <line num="52" type="stmt" count="2"/> <line num="53" type="stmt" count="2"/> <line num="54" type="stmt" count="2"/> <metrics loc="57" ncloc="42" classes="1" methods="5" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="11" elements="16" coveredelements="16"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Pagination\PaginatedResult.php"> <class name="LaravelMCP\MCP\Pagination\PaginatedResult" namespace="global"> <metrics complexity="5" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="14" coveredelements="14"/> </class> <line num="10" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="11"/> <line num="13" type="stmt" count="11"/> <line num="18" type="method" name="getNextCursor" visibility="public" complexity="1" crap="1" count="9"/> <line num="20" type="stmt" count="9"/> <line num="26" type="method" name="toArray" visibility="public" complexity="2" crap="2" count="9"/> <line num="28" type="stmt" count="9"/> <line num="29" type="stmt" count="5"/> <line num="32" type="stmt" count="4"/> <line num="33" type="stmt" count="4"/> <line num="34" type="stmt" count="4"/> <line num="40" type="method" name="create" visibility="public" complexity="1" crap="1" count="5"/> <line num="42" type="stmt" count="5"/> <line num="43" type="stmt" count="5"/> <line num="44" type="stmt" count="5"/> <metrics loc="47" ncloc="35" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="14" coveredelements="14"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Requests\CompletionRequest.php"> <class name="LaravelMCP\MCP\Requests\CompletionRequest" namespace="global"> <metrics complexity="4" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="14" coveredelements="14"/> </class> <line num="9" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="4"/> <line num="13" type="stmt" count="4"/> <line num="15" type="method" name="getMethod" visibility="public" complexity="1" crap="1" count="1"/> <line num="17" type="stmt" count="1"/> <line num="20" type="method" name="getParams" visibility="public" complexity="1" crap="1" count="3"/> <line num="22" type="stmt" count="3"/> <line num="23" type="stmt" count="3"/> <line num="24" type="stmt" count="3"/> <line num="25" type="stmt" count="3"/> <line num="28" type="method" name="create" visibility="public" complexity="1" crap="1" count="2"/> <line num="30" type="stmt" count="2"/> <line num="31" type="stmt" count="2"/> <line num="32" type="stmt" count="2"/> <line num="33" type="stmt" count="2"/> <metrics loc="36" ncloc="36" classes="1" methods="4" coveredmethods="4" conditionals="0" coveredconditionals="0" statements="10" coveredstatements="10" elements="14" coveredelements="14"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Root.php"> <class name="LaravelMCP\MCP\Root" namespace="global"> <metrics complexity="8" methods="6" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="15" coveredstatements="15" elements="21" coveredelements="21"/> </class> <line num="7" type="method" name="__construct" visibility="public" complexity="2" crap="2" count="7"/> <line num="11" type="stmt" count="7"/> <line num="12" type="stmt" count="1"/> <line num="16" type="method" name="getUri" visibility="public" complexity="1" crap="1" count="4"/> <line num="18" type="stmt" count="4"/> <line num="21" type="method" name="getName" visibility="public" complexity="1" crap="1" count="4"/> <line num="23" type="stmt" count="4"/> <line num="26" type="method" name="getPath" visibility="public" complexity="1" crap="1" count="2"/> <line num="29" type="stmt" count="2"/> <line num="32" type="method" name="toArray" visibility="public" complexity="2" crap="2" count="4"/> <line num="34" type="stmt" count="4"/> <line num="35" type="stmt" count="4"/> <line num="36" type="stmt" count="4"/> <line num="38" type="stmt" count="4"/> <line num="39" type="stmt" count="2"/> <line num="42" type="stmt" count="4"/> <line num="45" type="method" name="create" visibility="public" complexity="1" crap="1" 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"/> <metrics loc="53" ncloc="52" classes="1" methods="6" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="15" coveredstatements="15" elements="21" coveredelements="21"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Sampling\ModelPreferences.php"> <class name="LaravelMCP\MCP\Sampling\ModelPreferences" namespace="global"> <metrics complexity="8" methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="20" coveredstatements="19" elements="23" coveredelements="21"/> </class> <line num="7" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="7"/> <line num="14" type="stmt" count="7"/> <line num="16" type="method" name="toArray" visibility="public" complexity="6" crap="6.02" count="6"/> <line num="18" type="stmt" count="6"/> <line num="20" type="stmt" count="6"/> <line num="21" type="stmt" count="4"/> <line num="24" type="stmt" count="6"/> <line num="25" type="stmt" count="2"/> <line num="28" type="stmt" count="6"/> <line num="29" type="stmt" count="2"/> <line num="32" type="stmt" count="6"/> <line num="33" type="stmt" count="0"/> <line num="36" type="stmt" count="6"/> <line num="37" type="stmt" count="4"/> <line num="40" type="stmt" count="6"/> <line num="44" type="method" name="create" visibility="public" complexity="1" crap="1" count="3"/> <line num="46" 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="50" type="stmt" count="3"/> <line num="51" type="stmt" count="3"/> <line num="52" type="stmt" count="3"/> <metrics loc="55" ncloc="55" classes="1" methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="20" coveredstatements="19" elements="23" coveredelements="21"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Server\FastMCP.php"> <class name="LaravelMCP\MCP\Server\FastMCP" namespace="global"> <metrics complexity="9" methods="9" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="16" elements="25" coveredelements="25"/> </class> <line num="14" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="9"/> <line num="16" type="stmt" count="9"/> <line num="17" type="stmt" count="9"/> <line num="20" type="method" name="tool" visibility="public" complexity="1" crap="1" count="1"/> <line num="22" type="stmt" count="1"/> <line num="23" type="stmt" count="1"/> <line num="24" type="stmt" count="1"/> <line num="27" type="method" name="resource" visibility="public" complexity="1" crap="1" count="1"/> <line num="29" type="stmt" count="1"/> <line num="30" type="stmt" count="1"/> <line num="31" type="stmt" count="1"/> <line num="34" type="method" name="prompt" visibility="public" complexity="1" crap="1" count="1"/> <line num="36" type="stmt" count="1"/> <line num="37" type="stmt" count="1"/> <line num="38" type="stmt" count="1"/> <line num="41" type="method" name="lifespan" visibility="public" complexity="1" crap="1" count="1"/> <line num="43" type="stmt" count="1"/> <line num="46" type="method" name="getServer" visibility="public" complexity="1" crap="1" count="2"/> <line num="48" type="stmt" count="2"/> <line num="51" type="method" name="getDependencies" visibility="public" complexity="1" crap="1" count="1"/> <line num="53" type="stmt" count="1"/> <line num="56" type="method" name="getLifespan" visibility="public" complexity="1" crap="1" count="1"/> <line num="58" type="stmt" count="1"/> <line num="61" type="method" name="handleCompletion" visibility="public" complexity="1" crap="1" count="1"/> <line num="64" type="stmt" count="1"/> <metrics loc="67" ncloc="66" classes="1" methods="9" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="16" coveredstatements="16" elements="25" coveredelements="25"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Server\MCPServer.php"> <class name="LaravelMCP\MCP\Server\MCPServer" namespace="global"> <metrics complexity="44" methods="31" coveredmethods="24" conditionals="0" coveredconditionals="0" statements="124" coveredstatements="115" elements="155" coveredelements="139"/> </class> <line num="30" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="56"/> <line num="32" type="stmt" count="56"/> <line num="33" type="stmt" count="56"/> <line num="34" type="stmt" count="56"/> <line num="35" type="stmt" count="56"/> <line num="36" type="stmt" count="56"/> <line num="39" type="method" name="initialize" visibility="public" complexity="2" crap="2" count="2"/> <line num="41" type="stmt" count="2"/> <line num="42" type="stmt" count="1"/> <line num="46" type="method" name="setTransport" visibility="public" complexity="1" crap="1" count="4"/> <line num="48" type="stmt" count="4"/> <line num="51" type="method" name="getTransport" visibility="public" complexity="1" crap="1" count="1"/> <line num="53" type="stmt" count="1"/> <line num="56" type="method" name="addTool" visibility="public" complexity="2" crap="2" count="8"/> <line num="58" type="stmt" count="8"/> <line num="65" type="stmt" count="8"/> <line num="66" type="stmt" count="8"/> <line num="67" type="stmt" count="8"/> <line num="72" type="stmt" count="2"/> <line num="77" type="stmt" count="1"/> <line num="82" type="stmt" count="7"/> <line num="84" type="stmt" count="5"/> <line num="89" type="stmt" count="1"/> <line num="91" type="stmt" count="8"/> <line num="93" type="stmt" count="8"/> <line num="96" type="method" name="addToolInterface" visibility="public" complexity="1" crap="1" count="1"/> <line num="98" type="stmt" count="1"/> <line num="101" type="method" name="addResource" visibility="public" complexity="2" crap="2" count="6"/> <line num="103" type="stmt" count="6"/> <line num="110" type="stmt" count="6"/> <line num="111" type="stmt" count="6"/> <line num="112" type="stmt" count="6"/> <line num="117" type="stmt" count="2"/> <line num="122" type="stmt" count="1"/> <line num="127" type="stmt" count="5"/> <line num="129" type="stmt" count="5"/> <line num="131" type="stmt" count="6"/> <line num="133" type="stmt" count="6"/> <line num="136" type="method" name="addResourceInterface" visibility="public" complexity="1" crap="1" count="1"/> <line num="138" type="stmt" count="1"/> <line num="141" type="method" name="addResourceTemplate" visibility="public" complexity="1" crap="1" count="3"/> <line num="143" type="stmt" count="3"/> <line num="146" type="method" name="addPrompt" visibility="public" complexity="1" crap="1" count="5"/> <line num="148" type="stmt" count="5"/> <line num="155" type="stmt" count="5"/> <line num="156" type="stmt" count="5"/> <line num="157" type="stmt" count="5"/> <line num="162" type="stmt" count="2"/> <line num="167" type="stmt" count="1"/> <line num="172" type="stmt" count="3"/> <line num="177" type="stmt" count="2"/> <line num="179" type="stmt" count="5"/> <line num="181" type="stmt" count="5"/> <line num="184" type="method" name="addPromptInterface" visibility="public" complexity="1" crap="1" count="1"/> <line num="186" type="stmt" count="1"/> <line num="189" type="method" name="addRoot" visibility="public" complexity="1" crap="1" count="1"/> <line num="191" type="stmt" count="1"/> <line num="194" type="method" name="getTools" visibility="public" complexity="1" crap="1" count="7"/> <line num="196" type="stmt" count="7"/> <line num="199" type="method" name="getResources" visibility="public" complexity="1" crap="1" count="5"/> <line num="201" type="stmt" count="5"/> <line num="204" type="method" name="getResourceTemplates" visibility="public" complexity="1" crap="1" count="3"/> <line num="206" type="stmt" count="3"/> <line num="209" type="method" name="getPrompts" visibility="public" complexity="1" crap="1" count="4"/> <line num="211" type="stmt" count="4"/> <line num="214" type="method" name="getRoots" visibility="public" complexity="1" crap="1" count="1"/> <line num="216" type="stmt" count="1"/> <line num="219" type="method" name="getCapabilities" visibility="public" complexity="1" crap="1" count="1"/> <line num="221" type="stmt" count="1"/> <line num="224" type="method" name="registerTool" visibility="public" complexity="2" crap="2.00" count="3"/> <line num="226" type="stmt" 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="242" type="stmt" count="3"/> <line num="247" type="stmt" count="3"/> <line num="252" type="stmt" count="2"/> <line num="254" type="stmt" count="1"/> <line num="259" type="stmt" count="0"/> <line num="261" type="stmt" count="3"/> <line num="263" type="stmt" count="3"/> <line num="264" type="stmt" count="2"/> <line num="265" type="stmt" count="3"/> <line num="268" type="method" name="registerResource" visibility="public" complexity="2" crap="2.03" count="1"/> <line num="270" 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="284" type="stmt" count="1"/> <line num="289" type="stmt" count="1"/> <line num="294" type="stmt" count="0"/> <line num="296" type="stmt" count="0"/> <line num="298" type="stmt" count="1"/> <line num="300" type="stmt" count="1"/> <line num="303" type="method" name="registerPrompt" visibility="public" complexity="2" crap="2.02" count="1"/> <line num="305" type="stmt" count="1"/> <line num="313" type="stmt" count="1"/> <line num="314" type="stmt" count="1"/> <line num="315" type="stmt" count="1"/> <line num="316" type="stmt" count="1"/> <line num="321" type="stmt" count="1"/> <line num="326" type="stmt" count="1"/> <line num="331" type="stmt" count="0"/> <line num="333" type="stmt" count="0"/> <line num="338" type="stmt" count="1"/> <line num="340" type="stmt" count="1"/> <line num="342" type="stmt" count="1"/> <line num="345" type="method" name="handleToolCall" visibility="public" complexity="2" crap="2" count="3"/> <line num="347" type="stmt" count="3"/> <line num="348" type="stmt" count="1"/> <line num="352" type="stmt" count="2"/> <line num="354" type="stmt" count="2"/> <line num="357" type="method" name="handleResourceRequest" visibility="public" complexity="2" crap="2" count="3"/> <line num="359" type="stmt" count="3"/> <line num="360" type="stmt" count="1"/> <line num="364" type="stmt" count="2"/> <line num="366" type="stmt" count="2"/> <line num="369" type="method" name="handlePromptRequest" visibility="public" complexity="2" crap="2" count="3"/> <line num="371" type="stmt" count="3"/> <line num="372" type="stmt" count="1"/> <line num="376" type="stmt" count="2"/> <line num="378" type="stmt" count="2"/> <line num="381" type="method" name="handleCompletion" visibility="public" complexity="1" crap="1" count="1"/> <line num="384" type="stmt" count="1"/> <line num="387" type="method" name="sendProgress" visibility="public" complexity="2" crap="2.01" count="1"/> <line num="389" type="stmt" count="1"/> <line num="390" type="stmt" count="0"/> <line num="393" type="stmt" count="1"/> <line num="394" type="stmt" count="1"/> <line num="395" type="stmt" count="1"/> <line num="396" type="stmt" count="1"/> <line num="397" type="stmt" count="1"/> <line num="398" type="stmt" count="1"/> <line num="401" type="method" name="sendLog" visibility="public" complexity="2" crap="2.01" count="1"/> <line num="403" type="stmt" count="1"/> <line num="404" type="stmt" count="0"/> <line num="407" type="stmt" count="1"/> <line num="408" type="stmt" count="1"/> <line num="409" type="stmt" count="1"/> <line num="410" type="stmt" count="1"/> <line num="411" type="stmt" count="1"/> <line num="412" type="stmt" count="1"/> <line num="415" type="method" name="setModelPreferences" visibility="public" complexity="1" crap="1" count="1"/> <line num="417" type="stmt" count="1"/> <line num="420" type="method" name="getModelPreferences" visibility="public" complexity="1" crap="1" count="1"/> <line num="422" type="stmt" count="1"/> <line num="425" type="method" name="start" visibility="public" complexity="2" crap="2.15" count="1"/> <line num="427" type="stmt" count="1"/> <line num="428" type="stmt" count="0"/> <line num="430" type="stmt" count="1"/> <line num="433" type="method" name="stop" visibility="public" complexity="2" crap="2.15" count="1"/> <line num="435" type="stmt" count="1"/> <line num="436" type="stmt" count="0"/> <line num="438" type="stmt" count="1"/> <metrics loc="441" ncloc="437" classes="1" methods="31" coveredmethods="24" conditionals="0" coveredconditionals="0" statements="124" coveredstatements="115" elements="155" coveredelements="139"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Transport\HttpTransport.php"> <class name="LaravelMCP\MCP\Transport\HttpTransport" namespace="global"> <metrics complexity="21" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="59" coveredstatements="0" elements="67" coveredelements="0"/> </class> <line num="23" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/> <line num="25" type="stmt" count="0"/> <line num="26" type="stmt" count="0"/> <line num="27" type="stmt" count="0"/> <line num="29" type="stmt" count="0"/> <line num="30" type="stmt" count="0"/> <line num="33" type="method" name="start" visibility="public" complexity="1" crap="2" count="0"/> <line num="35" type="stmt" count="0"/> <line num="36" type="stmt" count="0"/> <line num="37" type="stmt" count="0"/> <line num="40" type="method" name="stop" visibility="public" complexity="1" crap="2" count="0"/> <line num="42" type="stmt" count="0"/> <line num="43" type="stmt" count="0"/> <line num="44" type="stmt" count="0"/> <line num="47" type="method" name="send" visibility="public" complexity="1" crap="2" count="0"/> <line num="49" type="stmt" count="0"/> <line num="52" type="method" name="receive" visibility="public" complexity="1" crap="2" count="0"/> <line num="54" type="stmt" count="0"/> <line num="57" type="method" name="isRunning" visibility="public" complexity="1" crap="2" count="0"/> <line num="59" type="stmt" count="0"/> <line num="62" type="method" name="handleRequest" visibility="public" complexity="9" crap="90" count="0"/> <line num="64" type="stmt" count="0"/> <line num="65" type="stmt" count="0"/> <line num="66" type="stmt" count="0"/> <line num="67" type="stmt" count="0"/> <line num="70" type="stmt" count="0"/> <line num="73" type="stmt" count="0"/> <line num="74" 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="85" type="stmt" count="0"/> <line num="86" type="stmt" count="0"/> <line num="87" type="stmt" count="0"/> <line num="88" type="stmt" count="0"/> <line num="91" type="stmt" count="0"/> <line num="92" type="stmt" count="0"/> <line num="93" type="stmt" count="0"/> <line num="94" type="stmt" count="0"/> <line num="95" type="stmt" count="0"/> <line num="103" type="method" name="processMessage" visibility="protected" complexity="6" crap="42" 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="110" type="stmt" count="0"/> <line num="111" type="stmt" count="0"/> <line num="112" type="stmt" 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="121" type="stmt" count="0"/> <line num="122" type="stmt" count="0"/> <line num="123" type="stmt" count="0"/> <line num="127" 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="133" type="stmt" count="0"/> <line num="134" type="stmt" count="0"/> <line num="135" type="stmt" count="0"/> <line num="136" type="stmt" count="0"/> <line num="137" type="stmt" count="0"/> <line num="138" type="stmt" count="0"/> <line num="139" type="stmt" count="0"/> <line num="140" type="stmt" count="0"/> <metrics loc="143" ncloc="135" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="59" coveredstatements="0" elements="67" coveredelements="0"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Transport\StdioTransport.php"> <class name="LaravelMCP\MCP\Transport\StdioTransport" namespace="global"> <metrics complexity="13" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="0" elements="59" coveredelements="0"/> </class> <line num="17" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/> <line num="19" type="stmt" count="0"/> <line num="20" type="stmt" count="0"/> <line num="23" type="method" name="start" visibility="public" complexity="3" crap="12" count="0"/> <line num="25" type="stmt" count="0"/> <line num="26" type="stmt" count="0"/> <line num="28" type="stmt" count="0"/> <line num="29" type="stmt" 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="36" type="stmt" count="0"/> <line num="37" type="stmt" count="0"/> <line num="38" type="stmt" count="0"/> <line num="41" type="stmt" count="0"/> <line num="42" type="stmt" count="0"/> <line num="43" type="stmt" count="0"/> <line num="45" type="stmt" count="0"/> <line num="48" type="method" name="stop" visibility="public" complexity="1" crap="2" count="0"/> <line num="50" type="stmt" count="0"/> <line num="51" type="stmt" count="0"/> <line num="54" type="method" name="send" visibility="public" complexity="2" crap="6" count="0"/> <line num="56" type="stmt" count="0"/> <line num="57" type="stmt" count="0"/> <line num="58" type="stmt" count="0"/> <line num="59" type="stmt" count="0"/> <line num="61" type="stmt" count="0"/> <line num="64" type="method" name="receive" visibility="public" complexity="1" crap="2" count="0"/> <line num="66" type="stmt" count="0"/> <line num="69" type="method" name="isRunning" visibility="public" complexity="1" crap="2" count="0"/> <line num="71" type="stmt" count="0"/> <line num="74" type="method" name="onMessage" visibility="public" complexity="3" crap="12" count="0"/> <line num="77" type="stmt" count="0"/> <line num="78" type="stmt" count="0"/> <line num="79" type="stmt" count="0"/> <line num="81" type="stmt" count="0"/> <line num="86" type="stmt" count="0"/> <line num="87" type="stmt" count="0"/> <line num="88" type="stmt" count="0"/> <line num="89" type="stmt" count="0"/> <line num="97" type="method" name="processMessage" visibility="protected" complexity="1" crap="2" 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="113" type="stmt" count="0"/> <line num="114" type="stmt" count="0"/> <line num="115" type="stmt" 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="122" type="stmt" count="0"/> <line num="123" type="stmt" count="0"/> <line num="124" type="stmt" count="0"/> <line num="125" type="stmt" count="0"/> <metrics loc="128" ncloc="113" classes="1" methods="8" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="51" coveredstatements="0" elements="59" coveredelements="0"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Transport\TransportFactory.php"> <class name="LaravelMCP\MCP\Transport\TransportFactory" namespace="global"> <metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="6" coveredstatements="0" elements="7" coveredelements="0"/> </class> <line num="10" type="method" name="create" visibility="public" complexity="1" crap="2" count="0"/> <line num="12" type="stmt" count="0"/> <line num="13" type="stmt" count="0"/> <line num="14" type="stmt" count="0"/> <line num="15" type="stmt" count="0"/> <line num="16" type="stmt" count="0"/> <line num="17" type="stmt" count="0"/> <metrics loc="20" ncloc="20" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="6" coveredstatements="0" elements="7" coveredelements="0"/> </file> <file name="D:\Code\laravel-mcp-sdk\src\Transport\WebSocketTransport.php"> <class name="LaravelMCP\MCP\Transport\WebSocketTransport" namespace="global"> <metrics complexity="19" methods="11" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="63" coveredstatements="0" elements="74" coveredelements="0"/> </class> <line num="23" type="method" name="__construct" visibility="public" complexity="1" crap="2" count="0"/> <line num="25" type="stmt" count="0"/> <line num="26" type="stmt" count="0"/> <line num="27" type="stmt" count="0"/> <line num="29" type="stmt" 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="33" type="stmt" count="0"/> <line num="34" type="stmt" count="0"/> <line num="35" type="stmt" count="0"/> <line num="36" type="stmt" count="0"/> <line num="39" type="method" name="start" visibility="public" complexity="1" crap="2" count="0"/> <line num="41" type="stmt" count="0"/> <line num="42" type="stmt" count="0"/> <line num="45" type="method" name="stop" visibility="public" complexity="2" crap="6" count="0"/> <line num="47" type="stmt" count="0"/> <line num="48" type="stmt" count="0"/> <line num="49" type="stmt" count="0"/> <line num="51" type="stmt" count="0"/> <line num="54" type="method" name="send" visibility="public" complexity="3" crap="12" count="0"/> <line num="56" type="stmt" count="0"/> <line num="57" type="stmt" count="0"/> <line num="58" type="stmt" count="0"/> <line num="59" type="stmt" count="0"/> <line num="61" type="stmt" count="0"/> <line num="62" type="stmt" count="0"/> <line num="66" type="method" name="receive" visibility="public" complexity="1" crap="2" count="0"/> <line num="68" type="stmt" count="0"/> <line num="71" type="method" name="isRunning" visibility="public" complexity="1" crap="2" count="0"/> <line num="73" type="stmt" count="0"/> <line num="76" type="method" name="onOpen" visibility="public" complexity="1" crap="2" count="0"/> <line num="78" type="stmt" count="0"/> <line num="81" type="method" name="onClose" visibility="public" complexity="1" crap="2" count="0"/> <line num="83" type="stmt" count="0"/> <line num="86" type="method" name="onError" visibility="public" complexity="1" crap="2" count="0"/> <line num="88" type="stmt" count="0"/> <line num="91" type="method" name="onMessage" visibility="public" complexity="6" crap="42" count="0"/> <line num="94" type="stmt" count="0"/> <line num="95" type="stmt" count="0"/> <line num="96" type="stmt" count="0"/> <line num="97" type="stmt" count="0"/> <line num="98" type="stmt" count="0"/> <line num="100" type="stmt" count="0"/> <line num="102" 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="111" type="stmt" count="0"/> <line num="112" type="stmt" count="0"/> <line num="113" type="stmt" count="0"/> <line num="114" type="stmt" count="0"/> <line num="115" type="stmt" count="0"/> <line num="117" type="stmt" count="0"/> <line num="125" type="method" name="processMessage" visibility="protected" complexity="1" crap="2" count="0"/> <line num="134" type="stmt" count="0"/> <line num="135" type="stmt" count="0"/> <line num="136" type="stmt" count="0"/> <line num="137" 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="146" 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"/> <metrics loc="156" ncloc="143" classes="1" methods="11" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="63" coveredstatements="0" elements="74" coveredelements="0"/> </file> <metrics files="35" loc="2329" ncloc="2050" classes="27" methods="156" coveredmethods="114" conditionals="0" coveredconditionals="0" statements="635" coveredstatements="423" elements="791" coveredelements="537"/> </project> </coverage>