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
Modifier and TypeMethodDescriptionintint32 class_count = 2;intgetCodeLine(int index) repeated int32 code_line = 14;intrepeated int32 code_line = 14;repeated int32 code_line = 14;intint32 cognitive_complexity = 15;intint32 complexity = 7;intgetExecutableLines(int index) repeated int32 executable_lines = 16;intrepeated int32 executable_lines = 16;repeated int32 executable_lines = 16;string file_path = 1;com.google.protobuf.ByteStringstring file_path = 1;intint32 function_count = 4;intgetNonBlankComment(int index) repeated int32 non_blank_comment = 13;intrepeated int32 non_blank_comment = 13;repeated int32 non_blank_comment = 13;intgetNoSonarComment(int index) repeated int32 no_sonar_comment = 12;intrepeated int32 no_sonar_comment = 12;repeated int32 no_sonar_comment = 12;intint32 statement_count = 3;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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
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
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.
-