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

analyze() public method

public analyze ( )
    public function analyze()
    {
        $dynamicAtoms = array('Variable', 'Property', 'Magicconstant', 'Staticmethodcall', 'Staticproperty');
        //'Functioncall' : if they also have only constants.
        //'Identifier',
        $methods = new Methods();
        $functionList = $methods->getDeterministFunctions();
        $functionList = $this->makeFullNSPath($functionList);
        $this->atomIs(array('Addition', 'Multiplication', 'Concatenation', 'Power', 'Bitshift', 'Logical', 'Not'))->raw('where( __.repeat( out() ).emit( hasLabel("Functioncall") ).times(' . self::MAX_LOOPING . ').hasLabel("Functioncall").filter{ !(it.get().value("fullnspath") in [' . str_replace('\\', '\\\\', $this->SorA($functionList)) . ']) }.count().is(eq(0)) )')->noAtomInside($dynamicAtoms);
        $this->prepareQuery();
        $this->atomFunctionIs(array('\\join', '\\explode', '\\implode', '\\split'))->noAtomInside($dynamicAtoms)->back('first');
        $this->prepareQuery();
    }
ShouldPreprocess