Skip to content

Java Rules duplicate: eco-design and ecocode rules for Java are identical.  #337

@Geekays

Description

@Geekays

Describe the bug
Java Rules duplicate: eco-design and ecocode rules for Java are identical. How to educate developers? How to differentiate a design rule and code rule? I do not see someone doing a design for writing ++1 or i++ and it is more of a coding best practice.

Currently there are 15 rules and all of them are tagged as eco-design as well as ecocode.

To Reproduce
Steps to reproduce the behavior:

  1. Install the pluugin on SonarQube
  2. Go to Rules and list. Filter for 'eco' in the tags.
  3. 15 rules are shown for eco-design as well as ecocode
  4. all these rules are identical

Expected behavior
There should have been a clear identification for the issues that comes up due to incorrect design and should get marked as eco-design

Software Versions

  • SonarQube Version: Community Edition, Version 9.4 (build 54424)
  • Plugin Version: ecoCode - Java language. 1.6.0,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions