Skip to content

Rules EC3 and EC69 are covering the same issues #359

@Kiiv

Description

@Kiiv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions