diff --git a/coverage.txt b/coverage.txt deleted file mode 100644 index 8c9dac4..0000000 --- a/coverage.txt +++ /dev/null @@ -1,92 +0,0 @@ - - -Code Coverage Report: - 2026-02-28 08:27:07 - - Summary: - Classes: 21.74% (10/46) - Methods: 49.13% (198/403) - Lines: 52.20% (1681/3220) - -Duyler\HttpServer\Config\ServerConfig - Methods: 50.00% ( 1/ 2) Lines: 40.00% ( 16/ 40) -Duyler\HttpServer\Connection\Connection - Methods: 74.07% (20/27) Lines: 84.44% ( 38/ 45) -Duyler\HttpServer\Connection\ConnectionPool - Methods: 76.92% (10/13) Lines: 93.85% ( 61/ 65) -Duyler\HttpServer\ErrorHandler - Methods: 25.00% ( 2/ 8) Lines: 19.73% ( 29/147) -Duyler\HttpServer\Exception\HttpServerException - Methods: 100.00% ( 3/ 3) Lines: 100.00% ( 3/ 3) -Duyler\HttpServer\Handler\FileDownloadHandler - Methods: 0.00% ( 0/ 4) Lines: 67.44% ( 58/ 86) -Duyler\HttpServer\Handler\StaticFileHandler - Methods: 46.15% ( 6/13) Lines: 92.76% (141/152) -Duyler\HttpServer\Metrics\ServerMetrics - Methods: 100.00% (14/14) Lines: 100.00% ( 53/ 53) -Duyler\HttpServer\Parser\HttpParser - Methods: 37.50% ( 3/ 8) Lines: 75.28% ( 67/ 89) -Duyler\HttpServer\Parser\RequestParser - Methods: 85.71% ( 6/ 7) Lines: 97.09% (100/103) -Duyler\HttpServer\Parser\ResponseWriter - Methods: 50.00% ( 3/ 6) Lines: 73.44% ( 47/ 64) -Duyler\HttpServer\RateLimit\RateLimiter - Methods: 100.00% ( 8/ 8) Lines: 100.00% ( 46/ 46) -Duyler\HttpServer\Server - Methods: 25.00% ( 9/36) Lines: 44.56% (262/588) -Duyler\HttpServer\Socket\SocketErrorSuppressor - Methods: 0.00% ( 0/ 1) Lines: 80.00% ( 4/ 5) -Duyler\HttpServer\Socket\SslSocket - Methods: 30.00% ( 3/10) Lines: 12.50% ( 8/ 64) -Duyler\HttpServer\Socket\StreamSocket - Methods: 40.00% ( 4/10) Lines: 61.43% ( 43/ 70) -Duyler\HttpServer\Socket\StreamSocketResource - Methods: 71.43% ( 5/ 7) Lines: 84.48% ( 49/ 58) -Duyler\HttpServer\Upload\TempFileManager - Methods: 75.00% ( 3/ 4) Lines: 90.91% ( 10/ 11) -Duyler\HttpServer\WebSocket\Enum\Opcode - Methods: 100.00% ( 2/ 2) Lines: 100.00% ( 2/ 2) -Duyler\HttpServer\WebSocket\Frame - Methods: 83.33% ( 5/ 6) Lines: 79.76% ( 67/ 84) -Duyler\HttpServer\WebSocket\Handshake - Methods: 83.33% ( 5/ 6) Lines: 96.00% ( 48/ 50) -Duyler\HttpServer\WebSocket\Message - Methods: 100.00% ( 7/ 7) Lines: 100.00% ( 12/ 12) -Duyler\HttpServer\WebSocket\WebSocketConfig - Methods: 100.00% ( 2/ 2) Lines: 100.00% ( 37/ 37) -Duyler\HttpServer\WebSocket\WebSocketServer - Methods: 50.00% (10/20) Lines: 39.51% ( 32/ 81) -Duyler\HttpServer\WorkerPool\Balancer\LeastConnectionsBalancer - Methods: 100.00% ( 5/ 5) Lines: 100.00% ( 16/ 16) -Duyler\HttpServer\WorkerPool\Balancer\RoundRobinBalancer - Methods: 100.00% ( 5/ 5) Lines: 100.00% ( 13/ 13) -Duyler\HttpServer\WorkerPool\Config\WorkerPoolConfig - Methods: 0.00% ( 0/ 3) Lines: 35.71% ( 10/ 28) -Duyler\HttpServer\WorkerPool\IPC\FdPasser - Methods: 25.00% ( 1/ 4) Lines: 20.88% ( 19/ 91) -Duyler\HttpServer\WorkerPool\IPC\Message - Methods: 87.50% ( 7/ 8) Lines: 97.44% ( 38/ 39) -Duyler\HttpServer\WorkerPool\IPC\UnixSocketChannel - Methods: 77.78% ( 7/ 9) Lines: 63.49% ( 40/ 63) -Duyler\HttpServer\WorkerPool\Master\AbstractMaster - Methods: 50.00% ( 4/ 8) Lines: 37.50% ( 12/ 32) -Duyler\HttpServer\WorkerPool\Master\CentralizedMaster - Methods: 18.18% ( 2/11) Lines: 14.97% ( 25/167) -Duyler\HttpServer\WorkerPool\Master\ConnectionQueue - Methods: 100.00% ( 8/ 8) Lines: 100.00% ( 15/ 15) -Duyler\HttpServer\WorkerPool\Master\ConnectionRouter - Methods: 50.00% ( 2/ 4) Lines: 29.73% ( 11/ 37) -Duyler\HttpServer\WorkerPool\Master\MasterFactory - Methods: 50.00% ( 2/ 4) Lines: 87.69% ( 57/ 65) -Duyler\HttpServer\WorkerPool\Master\SharedSocketMaster - Methods: 10.00% ( 1/10) Lines: 10.06% ( 16/159) -Duyler\HttpServer\WorkerPool\Master\SocketManager - Methods: 44.44% ( 4/ 9) Lines: 78.48% ( 62/ 79) -Duyler\HttpServer\WorkerPool\Master\WorkerManager - Methods: 50.00% ( 5/10) Lines: 20.45% ( 9/ 44) -Duyler\HttpServer\WorkerPool\Process\ProcessInfo - Methods: 100.00% ( 9/ 9) Lines: 100.00% ( 61/ 61) -Duyler\HttpServer\WorkerPool\Signal\SignalHandler - Methods: 11.11% ( 1/ 9) Lines: 25.00% ( 8/ 32) -Duyler\HttpServer\WorkerPool\Util\SystemInfo - Methods: 30.77% ( 4/13) Lines: 38.30% ( 36/ 94) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 3122cf8..0ba1fc3 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,45 +1,33 @@ + executionOrder="depends,defects" + requireCoverageMetadata="false" + beStrictAboutCoverageMetadata="false" + beStrictAboutOutputDuringTests="false" + failOnRisky="false" + failOnWarning="false" + colors="true" + stopOnError="false" + stopOnFailure="false" + stopOnIncomplete="false" + displayDetailsOnTestsThatTriggerDeprecations="true" + displayDetailsOnTestsThatTriggerErrors="true" + displayDetailsOnTestsThatTriggerNotices="true" + displayDetailsOnTestsThatTriggerWarnings="true" + displayDetailsOnPhpunitDeprecations="true" + stopOnSkipped="false"> - - tests/Unit - - - tests/Integration + + tests - + src - - - - - - - - - - - - - - - - - - pcntl - - -