Check

Analyzer checks within an analysis run, including issue occurrences and metrics.

Each analysis run contains one or more checks (one per analyzer). Use this to get the issues found by a specific analyzer in a run.

Objects

Check

A single analyzer check as part of an analysis run.

FieldTypeDescription
idID!The ID of the object.
sequenceInt!Sequence number of the check in the analysis run it belongs to.
statusCheckStatus!The current status of the check.
analyzerAnalyzer!The analyzer related to the check.
createdAtDateTime!Time when the check was created.
updatedAtDateTime!Time when the check was last modified.
finishedAtDateTimeTime when the check finished.
summaryCheckSummary!Summary of the check.
issuesAnalysisIssueConnection!Issues found in the check.
sourceAnalysisIssueSourceFilter by issue source.
categoryIssueCategoryFilter by issue category.
severityIssueSeverityFilter by issue severity.
qStringSearch query to filter issues.
offsetIntNumber of items to skip from the beginning of the result set.
beforeStringReturns items before this cursor.
afterStringReturns items after this cursor.
firstIntReturns the first N items.
lastIntReturns the last N items.
occurrencesOccurrenceConnection!Deprecated. Use issues instead. Issue occurrences found in the check.
analyzerIn[String]Filter occurrences by analyzer shortcodes.
offsetIntNumber of items to skip from the beginning of the result set.
beforeStringReturns items before this cursor.
afterStringReturns items after this cursor.
firstIntReturns the first N items.
lastIntReturns the last N items.
metricsRepositoryMetric!List of DeepSource metrics captured in the check.

CheckSummary

Summary of a check.

FieldTypeDescription
occurrencesIntroducedIntNumber of issues introduced in the check.
occurrencesResolvedIntNumber of issues resolved in the check.
occurrencesSuppressedIntNumber of issues marked as suppressed in the check.
occurrenceDistributionByCategoryOccurrenceDistributionByCategoryThe issue category distribution for the check.

Occurrence

FieldTypeDescription
idID!The ID of the object.
pathString!File path where the issue occurrence was found.
beginLineInt!Starting line number of the issue in the file.
beginColumnInt!Starting column number of the issue in the file.
endLineInt!Ending line number of the issue in the file.
endColumnInt!Ending column number of the issue in the file.
issueIssue!The definition of the issue which has been raised.
titleString!Title describing the issue which has been raised here.

CheckConnection

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[CheckEdge]!Contains the nodes in this connection.
totalCountIntTotal number of items in the connection.

CheckEdge

A Relay edge containing a Check and its cursor.

FieldTypeDescription
nodeCheckThe item at the end of the edge.
cursorString!A cursor for use in pagination.

OccurrenceConnection

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[OccurrenceEdge]!Contains the nodes in this connection.
totalCountIntTotal number of items in the connection.

OccurrenceEdge

A Relay edge containing a Occurrence and its cursor.

FieldTypeDescription
nodeOccurrenceThe item at the end of the edge.
cursorString!A cursor for use in pagination.

AnalysisIssue

An issue occurrence found during code analysis.

FieldTypeDescription
idID!Unique identifier for this issue occurrence.
sourceAnalysisIssueSource!Source of this issue.
pathString!File path where the issue was found.
severityIssueSeverity!Severity of the issue.
categoryIssueCategory!Category of the issue.
titleStringDescription of the issue.
explanationStringDetailed explanation of the issue.
isSuppressedBoolean!Whether this issue is suppressed.
beginLineInt!Starting line number.
beginColumnInt!Starting column number.
endLineInt!Ending line number.
endColumnInt!Ending column number.
createdAtDateTime!Time when the issue was first detected.
modifiedAtDateTime!Time when the issue was last modified.
shortcodeStringIssue shortcode. Null for AI issues.
issueIssueThe issue definition. Null for AI issues.

AnalysisIssueConnection

FieldTypeDescription
pageInfoPageInfo!Pagination data for this connection.
edges[AnalysisIssueEdge]!Contains the nodes in this connection.
totalCountIntTotal number of items in the connection.

AnalysisIssueEdge

A Relay edge containing an AnalysisIssue and its cursor.

FieldTypeDescription
nodeAnalysisIssueThe item at the end of the edge.
cursorString!A cursor for use in pagination.

On this page