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

Rules EC3 and EC69 are covering the same issues #359

Open
Kiiv opened this issue Nov 15, 2024 · 0 comments
Open

Rules EC3 and EC69 are covering the same issues #359

Kiiv opened this issue Nov 15, 2024 · 0 comments

Comments

@Kiiv
Copy link

Kiiv commented Nov 15, 2024

Describe the bug
Those two rules will rise an issue for the following piece of code :

for (int i = 0; i < myCollection.size(); ++i) {

To Reproduce
Analyse the code bellow.

Expected behavior
Rules should not cover the same perimeter to not rise the same issue twice. Maybe EC69 is sufficient ?

Software Versions

  • SonarQube Version: v9.9.7 (build 96285)
  • Plugin Version: v1.6.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant