Exakat\Analyzer\Exceptions\CaughtButNotThrown::analyze PHP Method

analyze() public method

public analyze ( )
    public function analyze()
    {
        // There is a catch() but its class is not defined
        $phpExceptions = $this->loadIni('php_exception.ini', 'classes');
        $thrown1 = $this->query('g.V().hasLabel("Throw").out("THROW").out("NEW").values("fullnspath").unique()');
        $thrown2 = $this->query('g.V().hasLabel("Throw").out("THROW").out("NEW").in("DEFINITION")
                                     .repeat( out("EXTENDS").in("DEFINITION") ).emit().times(' . self::MAX_LOOPING . ').values("fullnspath").unique()');
        $thrown = array_merge($thrown1, $thrown2);
        $this->atomIs('Catch')->outIs('CLASS')->fullnspathIsNot($this->makeFullNsPath($phpExceptions))->fullnspathIsNot($thrown);
        $this->prepareQuery();
    }
CaughtButNotThrown