Interface SonarAnalyzer.MetricsInfoOrBuilder

    • Method Detail

      • getFilePath

        String getFilePath()
        string file_path = 1;
        Returns:
        The filePath.
      • getFilePathBytes

        com.google.protobuf.ByteString getFilePathBytes()
        string file_path = 1;
        Returns:
        The bytes for filePath.
      • getClassCount

        int getClassCount()
        int32 class_count = 2;
        Returns:
        The classCount.
      • getStatementCount

        int getStatementCount()
        int32 statement_count = 3;
        Returns:
        The statementCount.
      • getFunctionCount

        int getFunctionCount()
        int32 function_count = 4;
        Returns:
        The functionCount.
      • getComplexity

        int getComplexity()
        int32 complexity = 7;
        Returns:
        The complexity.
      • getNoSonarCommentList

        List<Integer> getNoSonarCommentList()
        repeated int32 no_sonar_comment = 12;
        Returns:
        A list containing the noSonarComment.
      • getNoSonarCommentCount

        int getNoSonarCommentCount()
        repeated int32 no_sonar_comment = 12;
        Returns:
        The count of noSonarComment.
      • getNoSonarComment

        int getNoSonarComment​(int index)
        repeated int32 no_sonar_comment = 12;
        Parameters:
        index - The index of the element to return.
        Returns:
        The noSonarComment at the given index.
      • getNonBlankCommentList

        List<Integer> getNonBlankCommentList()
        repeated int32 non_blank_comment = 13;
        Returns:
        A list containing the nonBlankComment.
      • getNonBlankCommentCount

        int getNonBlankCommentCount()
        repeated int32 non_blank_comment = 13;
        Returns:
        The count of nonBlankComment.
      • getNonBlankComment

        int getNonBlankComment​(int index)
        repeated int32 non_blank_comment = 13;
        Parameters:
        index - The index of the element to return.
        Returns:
        The nonBlankComment at the given index.
      • getCodeLineList

        List<Integer> getCodeLineList()
        repeated int32 code_line = 14;
        Returns:
        A list containing the codeLine.
      • getCodeLineCount

        int getCodeLineCount()
        repeated int32 code_line = 14;
        Returns:
        The count of codeLine.
      • getCodeLine

        int getCodeLine​(int index)
        repeated int32 code_line = 14;
        Parameters:
        index - The index of the element to return.
        Returns:
        The codeLine at the given index.
      • getCognitiveComplexity

        int getCognitiveComplexity()
        int32 cognitive_complexity = 15;
        Returns:
        The cognitiveComplexity.
      • getExecutableLinesList

        List<Integer> getExecutableLinesList()
        repeated int32 executable_lines = 16;
        Returns:
        A list containing the executableLines.
      • getExecutableLinesCount

        int getExecutableLinesCount()
        repeated int32 executable_lines = 16;
        Returns:
        The count of executableLines.
      • getExecutableLines

        int getExecutableLines​(int index)
        repeated int32 executable_lines = 16;
        Parameters:
        index - The index of the element to return.
        Returns:
        The executableLines at the given index.