RecommendationSummary
¶
Source code in docs_src/capo_codeguru_reviewer/types/recommendation_summary.py
description
instance-attribute
¶
description: NotRequired[Text]
A description of the recommendation generated by CodeGuru Reviewer for the lines of code between the start line and the end line.
end_line
instance-attribute
¶
end_line: NotRequired[LineNumber]
Last line where the recommendation is applicable in the source commit or source branch. For a single line comment the start line and end line values are the same.
file_path
instance-attribute
¶
file_path: NotRequired[FilePath]
Name of the file on which a recommendation is provided.
recommendation_category
instance-attribute
¶
recommendation_category: NotRequired[RecommendationCategory]
The type of a recommendation.
recommendation_id
instance-attribute
¶
recommendation_id: NotRequired[RecommendationId]
The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
rule_metadata
instance-attribute
¶
rule_metadata: NotRequired[RuleMetadata]
Metadata about a rule. Rule metadata includes an ID, a name, a list of tags, and a short and long description. CodeGuru Reviewer uses rules to analyze code. A rule's recommendation is included in analysis results if code is detected that violates the rule.
severity
instance-attribute
¶
severity: NotRequired[Severity]
The severity of the issue in the code that generated this recommendation.
start_line
instance-attribute
¶
start_line: NotRequired[LineNumber]
Start line from where the recommendation is applicable in the source commit or source branch.