Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ruby: adjust precision of rb/useless-assignment-to-local #19476

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

Merged
merged 1 commit into from
May 13, 2025

Conversation

yoff
Copy link
Contributor

@yoff yoff commented May 12, 2025

from medium to high. It was initially set to medium due to the number of alerts observed on the Java top 100 via MRVA. However, after triaging a large number of these, it does indeed seem that they are almost all true positives.

@Copilot Copilot AI review requested due to automatic review settings May 12, 2025 18:54
@yoff yoff requested a review from a team as a code owner May 12, 2025 18:54
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR raises the precision level of the Ruby rb/useless-assignment-to-local query from medium to high and documents the change.

  • Updated the @precision tag in the query metadata.
  • Added a change-note entry recording the precision adjustment.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
ruby/ql/src/queries/variables/DeadStoreOfLocal.ql Changed @precision from medium to high
ruby/ql/src/change-notes/2025-05-12-rb-useless-assignment-to-local-precision-high.md Added note on precision update

@yoff yoff force-pushed the ruby/DeadStoreOfLocal-precision-high branch from 3a88562 to a501678 Compare May 12, 2025 21:26
hvitved
hvitved approved these changes May 13, 2025
@yoff yoff merged commit 1c863b1 into github:main May 13, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.