Package org.sonar.php

Class PHPAnalyzer

java.lang.Object
org.sonar.php.PHPAnalyzer

public class PHPAnalyzer extends Object
  • Constructor Details

  • Method Details

    • nextFile

      public void nextFile(org.sonar.api.batch.fs.InputFile inputFile) throws com.sonar.sslr.api.RecognitionException
      Throws:
      com.sonar.sslr.api.RecognitionException
    • analyze

      public List<PhpIssue> analyze()
    • analyzeTest

      public List<PhpIssue> analyzeTest()
    • terminate

      public void terminate()
    • computeMeasures

      public FileMeasures computeMeasures(org.sonar.api.measures.FileLinesContext fileLinesContext)
    • computeNoSonarLines

      public Set<Integer> computeNoSonarLines()
    • currentFileTree

      public CompilationUnitTree currentFileTree()
    • currentFileSymbolTable

      public SymbolTable currentFileSymbolTable()