Skip to main content

用于代码质量的 Ruby CodeQL 查询

浏览 CodeQL 使用的查询,以分析用 Ruby 编写的代码的质量。

Code Quality uses the following CodeQL queries to analyze Ruby code and detect code quality issues on:

  • Your default branch, with results shown on the repository's "Standard findings" dashboard
  • Pull requests, with findings shown as comments made by github-code-quality[bot]

Copilot Autofix suggestions are provided for findings where possible.

Query nameCategorySeverity
Useless assignment to local variableMaintainabilityWarning
Database query in a loopReliabilityInfo
Potentially uninitialized local variableReliabilityError