Package org.sonarsource.dotnet.protobuf
Interface SonarAnalyzer.MetricsInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SonarAnalyzer.MetricsInfo
,SonarAnalyzer.MetricsInfo.Builder
- Enclosing class:
- SonarAnalyzer
public static interface SonarAnalyzer.MetricsInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getClassCount()
int32 class_count = 2;
int
getCodeLine(int index)
repeated int32 code_line = 14;
int
getCodeLineCount()
repeated int32 code_line = 14;
List<Integer>
getCodeLineList()
repeated int32 code_line = 14;
int
getCognitiveComplexity()
int32 cognitive_complexity = 15;
int
getComplexity()
int32 complexity = 7;
int
getExecutableLines(int index)
repeated int32 executable_lines = 16;
int
getExecutableLinesCount()
repeated int32 executable_lines = 16;
List<Integer>
getExecutableLinesList()
repeated int32 executable_lines = 16;
String
getFilePath()
string file_path = 1;
com.google.protobuf.ByteString
getFilePathBytes()
string file_path = 1;
int
getFunctionCount()
int32 function_count = 4;
int
getNonBlankComment(int index)
repeated int32 non_blank_comment = 13;
int
getNonBlankCommentCount()
repeated int32 non_blank_comment = 13;
List<Integer>
getNonBlankCommentList()
repeated int32 non_blank_comment = 13;
int
getNoSonarComment(int index)
repeated int32 no_sonar_comment = 12;
int
getNoSonarCommentCount()
repeated int32 no_sonar_comment = 12;
List<Integer>
getNoSonarCommentList()
repeated int32 no_sonar_comment = 12;
int
getStatementCount()
int32 statement_count = 3;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
-