Skip to content

Code Analysis

Static Code Analysis (SCA) scans source repositories for accessibility issues in the code itself (for example, ESLint jsx-a11y rules). Results reflect the current state: only the latest scan run per repository and branch is counted, so re-scans do not multiply the results.

Discovering repositories and branches

list_code_analysis_repositories

Lists the distinct repositories that have code analysis scan runs for an organization.

list_code_analysis_branches

Lists the distinct branches that have code analysis scan runs, optionally narrowed to specific repositories.

Runs and issues

list_code_analysis_runs

Lists code analysis scan runs for an organization, with repository, branch, commit SHA, total issue count, and timestamp. Optionally filter by repository or branch.

get_code_analysis_run

Returns the detail of a single code analysis run, including its individual issues (file, line, column, rule, message, severity).

list_code_analysis_issues

Lists the current code analysis issues for an organization. Optionally filter by repository, branch, severity, rule, or file path.

get_code_analysis_dashboard

Returns aggregated code analysis statistics for an organization: issue trend over time and total issues (totalIssues) per repository, branch, and severity.