Package org.sonar.php
Class PHPAnalyzer
- java.lang.Object
-
- org.sonar.php.PHPAnalyzer
-
public class PHPAnalyzer extends Object
-
-
Constructor Summary
Constructors Constructor Description PHPAnalyzer(List<PHPCheck> checks, File workingDir, ProjectSymbolData projectSymbolData)PHPAnalyzer(List<PHPCheck> checks, List<PHPCheck> testFilesChecks, File workingDir, ProjectSymbolData projectSymbolData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PhpIssue>analyze()List<PhpIssue>analyzeTest()List<CpdVisitor.CpdToken>computeCpdTokens()FileMeasurescomputeMeasures(org.sonar.api.measures.FileLinesContext fileLinesContext)Set<Integer>computeNoSonarLines()org.sonar.api.batch.sensor.symbol.NewSymbolTablegetSymbolHighlighting(org.sonar.api.batch.sensor.SensorContext context, org.sonar.api.batch.fs.InputFile inputFile)org.sonar.api.batch.sensor.highlighting.NewHighlightinggetSyntaxHighlighting(org.sonar.api.batch.sensor.SensorContext context, org.sonar.api.batch.fs.InputFile inputFile)voidnextFile(PhpFile file)voidterminate()
-
-
-
Method Detail
-
nextFile
public void nextFile(PhpFile file)
-
terminate
public void terminate()
-
computeMeasures
public FileMeasures computeMeasures(org.sonar.api.measures.FileLinesContext fileLinesContext)
-
getSyntaxHighlighting
public org.sonar.api.batch.sensor.highlighting.NewHighlighting getSyntaxHighlighting(org.sonar.api.batch.sensor.SensorContext context, org.sonar.api.batch.fs.InputFile inputFile)
-
getSymbolHighlighting
public org.sonar.api.batch.sensor.symbol.NewSymbolTable getSymbolHighlighting(org.sonar.api.batch.sensor.SensorContext context, org.sonar.api.batch.fs.InputFile inputFile)
-
computeCpdTokens
public List<CpdVisitor.CpdToken> computeCpdTokens()
-
-