Exakat\Analyzer\Structures\ExitUsage::analyze PHP Method

analyze() public method

public analyze ( )
    public function analyze()
    {
        // while (list($a, $b) = each($c)) {}
        $this->atomFunctionIs(array('exit', 'die'))->goToInstruction('Ifthen')->analyzerIsNot('Structures/NoDirectAccess')->goToFile()->analyzerIsNot('Files/IsCliScript')->back('first');
        $this->prepareQuery();
        $this->atomFunctionIs(array('exit', 'die'))->hasNoInstruction('Ifthen')->goToFile()->analyzerIsNot('Files/IsCliScript')->back('first');
        $this->prepareQuery();
    }