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

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

Open
Geekays opened this issue Jun 3, 2024 · 0 comments
Labels
🗃️ rule rule improvment or rule development or bug ❔ question Further information is requested 🚀 enhancement New feature or request ⚖️⚖️ todiscuss_coreteam ⚖️⚖️

Comments

@Geekays
Copy link

Geekays commented Jun 3, 2024

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,
@dedece35 dedece35 added 🚀 enhancement New feature or request ❔ question Further information is requested 🗃️ rule rule improvment or rule development or bug ⚖️⚖️ todiscuss_coreteam ⚖️⚖️ labels Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗃️ rule rule improvment or rule development or bug ❔ question Further information is requested 🚀 enhancement New feature or request ⚖️⚖️ todiscuss_coreteam ⚖️⚖️
Projects
None yet
Development

No branches or pull requests

2 participants