PHP 클래스 Exakat\Analyzer\Analyzer

파일 보기 프로젝트 열기: exakat/exakat 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$CONTAINERS
$LITERALS
$analyzers
$datastore
$docs
$gremlinStatic

보호된 프로퍼티들

프로퍼티 타입 설명
$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