Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby: Query for N+1 queries problem #18317

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Ruby: initial version of N+1 queries problem

cbe4fb8
Select commit
Loading
Failed to load commit list.
Draft

Ruby: Query for N+1 queries problem #18317

Ruby: initial version of N+1 queries problem
cbe4fb8
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Dec 18, 2024 in 1m 44s

5 configurations not found

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 5 configurations present on refs/heads/main were not found:

Actions workflow (rust-analysis.yml)

  • ❓  .github/workflows/rust-analysis.yml:analyze/language:rust

Actions workflow (csv-coverage-metrics.yml)

  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-csharp
  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-java

Actions workflow (codeql-analysis.yml)

  • ❓  .github/workflows/codeql-analysis.yml:CodeQL-Build

Actions workflow (cpp-swift-analysis.yml)

  • ❓  .github/workflows/cpp-swift-analysis.yml:CodeQL-Build

New alerts in code changed by this pull request

  • 5 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 5 in ruby/ql/lib/codeql/ruby/frameworks/ActiveRecord.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

Redundant import, the module is already imported inside
codeql.ruby.dataflow.FlowSummary
.

Check warning on line 8 in ruby/ql/lib/codeql/ruby/frameworks/ActiveRecord.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant import Warning

Redundant import, the module is already imported inside
codeql.ruby.dataflow.FlowSummary
.

Check warning on line 11 in ruby/ql/src/queries/performance/ActiveRecordAssociationQueriedInLoop.ql

See this annotation in the file changed.

Code scanning / CodeQL

Misspelling Warning

This comment contains the common misspelling 'assocation', which should instead be 'association'.

Check warning on line 263 in ruby/ql/src/queries/performance/ActiveRecordAssociationQueriedInLoop.ql

See this annotation in the file changed.

Code scanning / CodeQL

Singleton set literal Warning

Singleton set literal can be replaced by its member.

Check warning on line 274 in ruby/ql/src/queries/performance/ActiveRecordAssociationQueriedInLoop.ql

See this annotation in the file changed.

Code scanning / CodeQL

Misspelling Warning

This comment contains the non-US spelling 'modelled', which should instead be 'modeled'.