Metrics is a JSON Structure definition published by Amazon CodeGuru Reviewer, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-reviewer/refs/heads/main/json-structure/amazon-codeguru-reviewer-metrics-structure.json",
"name": "Metrics",
"description": "Information about the statistics from the code review.",
"type": "object",
"properties": {
"MeteredLinesOfCodeCount": {
"allOf": [
{
"$ref": "#/components/schemas/LinesOfCodeCount"
},
{
"description": " <code>MeteredLinesOfCodeCount</code> is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines."
}
]
},
"SuppressedLinesOfCodeCount": {
"allOf": [
{
"$ref": "#/components/schemas/LinesOfCodeCount"
},
{
"description": " <code>SuppressedLinesOfCodeCount</code> is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the <code>excludeFiles</code> variable in the <code>aws-codeguru-reviewer.yml</code> file. This number does not include non-code lines such as comments and blank lines. "
}
]
},
"FindingsCount": {
"allOf": [
{
"$ref": "#/components/schemas/FindingsCount"
},
{
"description": "Total number of recommendations found in the code review."
}
]
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.