PHP Класс Exakat\Analyzer\Analyzer

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$CONTAINERS
$LITERALS
$analyzers
$datastore
$docs
$gremlinStatic

Защищенные свойства (Protected)

Свойство Тип Описание
$analyzerQuoted Current class of the analyzer (called from below)
$code
$config
$description
$gremlin
$linksDown
$phpConfiguration
$phpVersion
$processedCount Number of found values
$queryCount Number of initial values
$rawQueryCount Number of ran queries
$rowCount
$severity
$timeToFix

Открытые методы

Метод Описание
__construct ( $gremlin )
__destruct ( )
_as ( $name )
analyze ( )
analyzerIs ( $analyzer )
analyzerIsNot ( $analyzer )
atomFunctionIs ( $atom )
atomInside ( $atom )
atomIs ( $atom )
atomIsNot ( $atom )
back ( $name )
checkPhpVersion ( $version )
checkphpConfiguration ( $Php )
classDefinition ( )
cleanAnalyzerName ( $gremlin )
codeIs ( $code, $caseSensitive = false )
codeIsNot ( $code, $caseSensitive = false )
codeIsPositiveInteger ( )
codeLength ( $length = ' == 1 ' )
debugQuery ( )
dependsOn ( ) @doc by default, nothing.
eachCounted ( $variable, $times, $comp = '==' )
execQuery ( )
fetchContext ( $context = self::CONTEXT_OUTSIDE_CLOSURE )
filter ( $filter, $arguments = null )
fullcodeIs ( $code, $caseSensitive = false )
fullcodeIsNot ( $code, $caseSensitive = false )
fullcodeLength ( $length = ' == 1 ' )
fullnspathIs ( $code )
fullnspathIsNot ( $code )
functionDefinition ( )
functioncallIs ( $fullnspath )
getAnalyzers ( $theme )
getAppinfoHeader ( $lang = 'en' )
getClass ( $name )
getDescription ( )
getDump ( )
getInBaseName ( )
getInstance ( $name )
getName ( $classname )
getPhpversion ( )
getProcessedCount ( )
getQueryCount ( )
getRawQueryCount ( )
getRowCount ( )
getSeverity ( )
getSuggestionClass ( $name )
getSuggestionThema ( $thema )
getThemeAnalyzers ( $theme = null )
getThemes ( )
getTimeToFix ( )
getphpConfiguration ( )
goToAllChildren ( $self = self::INCLUDE_SELF )
goToAllParents ( $self = self::INCLUDE_SELF )
goToAllTraits ( $self = self::INCLUDE_SELF )
goToArray ( )
goToClass ( )
goToClassInterface ( )
goToClassInterfaceTrait ( )
goToClassTrait ( )
goToCurrentScope ( )
goToExtends ( )
goToFile ( )
goToFunction ( )
goToImplements ( )
goToInterface ( )
goToLoop ( )
goToNamespace ( )
goToParent ( )
goToTrait ( )
goToTraits ( )
groupCount ( $column )
groupFilter ( $characteristic, $percentage )
hasChildren ( $childrenClass, $outs = [] )
hasClass ( )
hasClassDefinition ( )
hasClassInterface ( )
hasClassTrait ( )
hasConstantDefinition ( )
hasFunction ( )
hasFunctionDefinition ( )
hasIfthen ( )
hasIn ( $edgeName )
hasInterface ( )
hasInterfaceDefinition ( )
hasLoop ( )
hasName ( )
hasNoCatch ( )
hasNoCatchBlock ( )
hasNoChildren ( $childrenClass, $outs = [] )
hasNoClass ( )
hasNoClassInterface ( )
hasNoClassInterfaceTrait ( )
hasNoClassTrait ( )
hasNoComparison ( )
hasNoConstantDefinition ( )
hasNoFunction ( )
hasNoFunctionDefinition ( )
hasNoIfthen ( )
hasNoIn ( $edgeName )
hasNoInterface ( )
hasNoNamedFunction ( $name )
hasNoOut ( $edgeName )
hasNoParent ( $parentClass, $ins = [] )
hasNoTrait ( )
hasNoTryCatch ( )
hasOut ( $edgeName )
hasParent ( $parentClass, $ins = [] )
hasResults ( )
hasTrait ( )
hasTraitDefinition ( )
hasTryCatch ( )
ignore ( )
inIs ( $edgeName )
inIsNot ( $edgeName )
init ( )
initDocs ( )
interfaceDefinition ( )
is ( $property, $value = true )
isInCatchBlock ( )
isLambda ( )
isLess ( $property, $value )
isLiteral ( )
isLocalClass ( )
isLowercase ( $property = 'fullcode' )
isMore ( $property, $value )
isNot ( $property, $value = true )
isNotLambda ( )
isNotLocalClass ( )
isNotLowercase ( $property = 'fullcode' )
isNotMixedcase ( $property = 'fullcode' )
isNotUppercase ( $property = 'fullcode' )
isUppercase ( $property = 'fullcode' )
listAllThemes ( $theme = null )
listAnalyzers ( )
makeBaseName ( $className )
makeFullNsPath ( $functions )
nextSibling ( $link = 'ELEMENT' )
nextSiblings ( $link = 'ELEMENT' )
noAtomInside ( $atom )
noChildWithRank ( $edgeName, $rank = '0' )
noClassDefinition ( )
noDelimiterIs ( $code, $caseSensitive = false )
noDelimiterIsNot ( $code, $caseSensitive = false )
noInterfaceDefinition ( )
noTraitDefinition ( )
notSamePropertyAs ( $property, $name, $caseSensitive = false )
outIsNot ( $edgeName )
outWithRank ( $link = 'ARGUMENT', $rank )
outWithoutLastRank ( )
prepareQuery ( )
previousSibling ( $link = 'ELEMENT' )
previousSiblings ( $link = 'ELEMENT' )
printQuery ( )
query ( $queryString, $arguments = null )
raw ( $query )
rawQuery ( )
regexIs ( $column, $regex )
regexIsNot ( $column, $regex )
run ( )
samePropertyAs ( $property, $name, $caseSensitive = false )
saveArglistAs ( $name )
savePropertyAs ( $property, $name )
tokenIs ( $atom )
tokenIsNot ( $atom )
trim ( $property, $chars = ''\"' )

Защищенные методы

Метод Описание
SorA ( $v )
goToInstruction ( $atom = 'Namespace' )
hasInstruction ( $atom = 'Function' )
hasNoInstruction ( $atom = 'Function' )
inIsIE ( $edgeName ) follows a link if it is there (and do nothing otherwise)
loadIni ( $file, $index = null )
loadJson ( $file )
outIs ( $edgeName )
outIsIE ( $edgeName ) follows a link if it is there (and do nothing otherwise)

Приватные методы

Метод Описание
addMethod ( $method, $arguments = null )
hasNoNamedInstruction ( $atom = 'Function', $name = null )
initNewQuery ( )
propertyIs ( $property, $code, $caseSensitive = false )
propertyIsNot ( $property, $code, $caseSensitive = false )
tolowercase ( &$code )

Описание методов

SorA() защищенный Метод

protected SorA ( $v )

__construct() публичный Метод

public __construct ( $gremlin )

__destruct() публичный Метод

public __destruct ( )

_as() публичный Метод

public _as ( $name )

analyze() абстрактный публичный Метод

abstract public analyze ( )

analyzerIs() публичный Метод

public analyzerIs ( $analyzer )

analyzerIsNot() публичный Метод

public analyzerIsNot ( $analyzer )

atomFunctionIs() публичный Метод

public atomFunctionIs ( $atom )

atomInside() публичный Метод

public atomInside ( $atom )

atomIs() публичный Метод

public atomIs ( $atom )

atomIsNot() публичный Метод

public atomIsNot ( $atom )

back() публичный Метод

public back ( $name )

checkPhpVersion() публичный Метод

public checkPhpVersion ( $version )

checkphpConfiguration() публичный Метод

public checkphpConfiguration ( $Php )

classDefinition() публичный Метод

public classDefinition ( )

cleanAnalyzerName() публичный Метод

public cleanAnalyzerName ( $gremlin )

codeIs() публичный Метод

public codeIs ( $code, $caseSensitive = false )

codeIsNot() публичный Метод

public codeIsNot ( $code, $caseSensitive = false )

codeIsPositiveInteger() публичный Метод

codeLength() публичный Метод

public codeLength ( $length = ' == 1 ' )

debugQuery() публичный Метод

public debugQuery ( )

dependsOn() публичный Метод

@doc by default, nothing.
public dependsOn ( )

eachCounted() публичный Метод

public eachCounted ( $variable, $times, $comp = '==' )

execQuery() публичный Метод

public execQuery ( )

fetchContext() публичный Метод

public fetchContext ( $context = self::CONTEXT_OUTSIDE_CLOSURE )

filter() публичный Метод

public filter ( $filter, $arguments = null )

fullcodeIs() публичный Метод

public fullcodeIs ( $code, $caseSensitive = false )

fullcodeIsNot() публичный Метод

public fullcodeIsNot ( $code, $caseSensitive = false )

fullcodeLength() публичный Метод

public fullcodeLength ( $length = ' == 1 ' )

fullnspathIs() публичный Метод

public fullnspathIs ( $code )

fullnspathIsNot() публичный Метод

public fullnspathIsNot ( $code )

functionDefinition() публичный Метод

public functionDefinition ( )

functioncallIs() публичный Метод

public functioncallIs ( $fullnspath )

getAnalyzers() публичный статический Метод

public static getAnalyzers ( $theme )

getAppinfoHeader() публичный Метод

public getAppinfoHeader ( $lang = 'en' )

getClass() публичный статический Метод

public static getClass ( $name )

getDescription() публичный Метод

public getDescription ( )

getDump() публичный Метод

public getDump ( )

getInBaseName() публичный Метод

public getInBaseName ( )

getInstance() публичный статический Метод

public static getInstance ( $name )

getName() публичный статический Метод

public static getName ( $classname )

getPhpversion() публичный Метод

public getPhpversion ( )

getProcessedCount() публичный Метод

public getProcessedCount ( )

getQueryCount() публичный Метод

public getQueryCount ( )

getRawQueryCount() публичный Метод

public getRawQueryCount ( )

getRowCount() публичный Метод

public getRowCount ( )

getSeverity() публичный Метод

public getSeverity ( )

getSuggestionClass() публичный статический Метод

public static getSuggestionClass ( $name )

getSuggestionThema() публичный статический Метод

public static getSuggestionThema ( $thema )

getThemeAnalyzers() публичный статический Метод

public static getThemeAnalyzers ( $theme = null )

getThemes() публичный Метод

public getThemes ( )

getTimeToFix() публичный Метод

public getTimeToFix ( )

getphpConfiguration() публичный Метод

public getphpConfiguration ( )

goToAllChildren() публичный Метод

public goToAllChildren ( $self = self::INCLUDE_SELF )

goToAllParents() публичный Метод

public goToAllParents ( $self = self::INCLUDE_SELF )

goToAllTraits() публичный Метод

public goToAllTraits ( $self = self::INCLUDE_SELF )

goToArray() публичный Метод

public goToArray ( )

goToClass() публичный Метод

public goToClass ( )

goToClassInterface() публичный Метод

public goToClassInterface ( )

goToClassInterfaceTrait() публичный Метод

goToClassTrait() публичный Метод

public goToClassTrait ( )

goToCurrentScope() публичный Метод

public goToCurrentScope ( )

goToExtends() публичный Метод

public goToExtends ( )

goToFile() публичный Метод

public goToFile ( )

goToFunction() публичный Метод

public goToFunction ( )

goToImplements() публичный Метод

public goToImplements ( )

goToInstruction() защищенный Метод

protected goToInstruction ( $atom = 'Namespace' )

goToInterface() публичный Метод

public goToInterface ( )

goToLoop() публичный Метод

public goToLoop ( )

goToNamespace() публичный Метод

public goToNamespace ( )

goToParent() публичный Метод

public goToParent ( )

goToTrait() публичный Метод

public goToTrait ( )

goToTraits() публичный Метод

public goToTraits ( )

groupCount() публичный Метод

public groupCount ( $column )

groupFilter() публичный Метод

public groupFilter ( $characteristic, $percentage )

hasChildren() публичный Метод

public hasChildren ( $childrenClass, $outs = [] )

hasClass() публичный Метод

public hasClass ( )

hasClassDefinition() публичный Метод

public hasClassDefinition ( )

hasClassInterface() публичный Метод

public hasClassInterface ( )

hasClassTrait() публичный Метод

public hasClassTrait ( )

hasConstantDefinition() публичный Метод

hasFunction() публичный Метод

public hasFunction ( )

hasFunctionDefinition() публичный Метод

hasIfthen() публичный Метод

public hasIfthen ( )

hasIn() публичный Метод

public hasIn ( $edgeName )

hasInstruction() защищенный Метод

protected hasInstruction ( $atom = 'Function' )

hasInterface() публичный Метод

public hasInterface ( )

hasInterfaceDefinition() публичный Метод

hasLoop() публичный Метод

public hasLoop ( )

hasName() публичный Метод

public hasName ( )

hasNoCatch() публичный Метод

public hasNoCatch ( )

hasNoCatchBlock() публичный Метод

public hasNoCatchBlock ( )

hasNoChildren() публичный Метод

public hasNoChildren ( $childrenClass, $outs = [] )

hasNoClass() публичный Метод

public hasNoClass ( )

hasNoClassInterface() публичный Метод

public hasNoClassInterface ( )

hasNoClassInterfaceTrait() публичный Метод

hasNoClassTrait() публичный Метод

public hasNoClassTrait ( )

hasNoComparison() публичный Метод

public hasNoComparison ( )

hasNoConstantDefinition() публичный Метод

hasNoFunction() публичный Метод

public hasNoFunction ( )

hasNoFunctionDefinition() публичный Метод

hasNoIfthen() публичный Метод

public hasNoIfthen ( )

hasNoIn() публичный Метод

public hasNoIn ( $edgeName )

hasNoInstruction() защищенный Метод

protected hasNoInstruction ( $atom = 'Function' )

hasNoInterface() публичный Метод

public hasNoInterface ( )

hasNoNamedFunction() публичный Метод

public hasNoNamedFunction ( $name )

hasNoOut() публичный Метод

public hasNoOut ( $edgeName )

hasNoParent() публичный Метод

public hasNoParent ( $parentClass, $ins = [] )

hasNoTrait() публичный Метод

public hasNoTrait ( )

hasNoTryCatch() публичный Метод

public hasNoTryCatch ( )

hasOut() публичный Метод

public hasOut ( $edgeName )

hasParent() публичный Метод

public hasParent ( $parentClass, $ins = [] )

hasResults() публичный Метод

public hasResults ( )

hasTrait() публичный Метод

public hasTrait ( )

hasTraitDefinition() публичный Метод

public hasTraitDefinition ( )

hasTryCatch() публичный Метод

public hasTryCatch ( )

ignore() публичный Метод

public ignore ( )

inIs() публичный Метод

public inIs ( $edgeName )

inIsIE() защищенный Метод

follows a link if it is there (and do nothing otherwise)
protected inIsIE ( $edgeName )

inIsNot() публичный Метод

public inIsNot ( $edgeName )

init() публичный Метод

public init ( )

initDocs() публичный статический Метод

public static initDocs ( )

interfaceDefinition() публичный Метод

public interfaceDefinition ( )

is() публичный Метод

public is ( $property, $value = true )

isInCatchBlock() публичный Метод

public isInCatchBlock ( )

isLambda() публичный Метод

public isLambda ( )

isLess() публичный Метод

public isLess ( $property, $value )

isLiteral() публичный Метод

public isLiteral ( )

isLocalClass() публичный Метод

public isLocalClass ( )

isLowercase() публичный Метод

public isLowercase ( $property = 'fullcode' )

isMore() публичный Метод

public isMore ( $property, $value )

isNot() публичный Метод

public isNot ( $property, $value = true )

isNotLambda() публичный Метод

public isNotLambda ( )

isNotLocalClass() публичный Метод

public isNotLocalClass ( )

isNotLowercase() публичный Метод

public isNotLowercase ( $property = 'fullcode' )

isNotMixedcase() публичный Метод

public isNotMixedcase ( $property = 'fullcode' )

isNotUppercase() публичный Метод

public isNotUppercase ( $property = 'fullcode' )

isUppercase() публичный Метод

public isUppercase ( $property = 'fullcode' )

listAllThemes() публичный статический Метод

public static listAllThemes ( $theme = null )

listAnalyzers() публичный статический Метод

public static listAnalyzers ( )

loadIni() защищенный Метод

protected loadIni ( $file, $index = null )

loadJson() защищенный Метод

protected loadJson ( $file )

makeBaseName() публичный статический Метод

public static makeBaseName ( $className )

makeFullNsPath() публичный Метод

public makeFullNsPath ( $functions )

nextSibling() публичный Метод

public nextSibling ( $link = 'ELEMENT' )

nextSiblings() публичный Метод

public nextSiblings ( $link = 'ELEMENT' )

noAtomInside() публичный Метод

public noAtomInside ( $atom )

noChildWithRank() публичный Метод

public noChildWithRank ( $edgeName, $rank = '0' )

noClassDefinition() публичный Метод

public noClassDefinition ( )

noDelimiterIs() публичный Метод

public noDelimiterIs ( $code, $caseSensitive = false )

noDelimiterIsNot() публичный Метод

public noDelimiterIsNot ( $code, $caseSensitive = false )

noInterfaceDefinition() публичный Метод

noTraitDefinition() публичный Метод

public noTraitDefinition ( )

notSamePropertyAs() публичный Метод

public notSamePropertyAs ( $property, $name, $caseSensitive = false )

outIs() защищенный Метод

protected outIs ( $edgeName )

outIsIE() защищенный Метод

follows a link if it is there (and do nothing otherwise)
protected outIsIE ( $edgeName )

outIsNot() публичный Метод

public outIsNot ( $edgeName )

outWithRank() публичный Метод

public outWithRank ( $link = 'ARGUMENT', $rank )

outWithoutLastRank() публичный Метод

public outWithoutLastRank ( )

prepareQuery() публичный Метод

public prepareQuery ( )

previousSibling() публичный Метод

public previousSibling ( $link = 'ELEMENT' )

previousSiblings() публичный Метод

public previousSiblings ( $link = 'ELEMENT' )

printQuery() публичный Метод

public printQuery ( )

query() публичный Метод

public query ( $queryString, $arguments = null )

raw() публичный Метод

public raw ( $query )

rawQuery() публичный Метод

public rawQuery ( )

regexIs() публичный Метод

public regexIs ( $column, $regex )

regexIsNot() публичный Метод

public regexIsNot ( $column, $regex )

run() публичный Метод

public run ( )

samePropertyAs() публичный Метод

public samePropertyAs ( $property, $name, $caseSensitive = false )

saveArglistAs() публичный Метод

public saveArglistAs ( $name )

savePropertyAs() публичный Метод

public savePropertyAs ( $property, $name )

tokenIs() публичный Метод

public tokenIs ( $atom )

tokenIsNot() публичный Метод

public tokenIsNot ( $atom )

trim() публичный Метод

public trim ( $property, $chars = ''\"' )

Описание свойств

$CONTAINERS публичное статическое свойство

public static $CONTAINERS

$LITERALS публичное статическое свойство

public static $LITERALS

$analyzerQuoted защищенное свойство

Current class of the analyzer (called from below)
protected $analyzerQuoted

$analyzers публичное статическое свойство

public static $analyzers

$code защищенное свойство

protected $code

$config защищенное свойство

protected $config

$datastore публичное статическое свойство

public static $datastore

$description защищенное свойство

protected $description

$docs публичное статическое свойство

public static $docs

$gremlin защищенное свойство

protected $gremlin

$gremlinStatic публичное статическое свойство

public static $gremlinStatic

$linksDown защищенное свойство

protected $linksDown

$phpConfiguration защищенное свойство

protected $phpConfiguration

$phpVersion защищенное свойство

protected $phpVersion

$processedCount защищенное свойство

Number of found values
protected $processedCount

$queryCount защищенное свойство

Number of initial values
protected $queryCount

$rawQueryCount защищенное свойство

Number of ran queries
protected $rawQueryCount

$rowCount защищенное свойство

protected $rowCount

$severity защищенное свойство

protected $severity

$timeToFix защищенное свойство

protected $timeToFix