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

[EC2] [Java] Multiple if-else statement #216

Closed
dedece35 opened this issue Aug 7, 2023 · 2 comments
Closed

[EC2] [Java] Multiple if-else statement #216

dedece35 opened this issue Aug 7, 2023 · 2 comments
Assignees
Labels
🗃️ rule rule improvment or rule development or bug 🏆 challenge2023 🏆 Work done during the ecoCode Challenge 2023 java __PRIO_HIGH__

Comments

@dedece35
Copy link
Member

dedece35 commented Aug 7, 2023

Now EC2 implementation was refactored and improved on PHP (#200) and in review on Python (green-code-initiative/creedengo-python#1)
We can do the same work on Java implementation.

idea : maybe "multiple if else" is compliant with 4 usages of one variable (now : non compliant with 3 usages)

@dedece35 dedece35 added 🗃️ rule rule improvment or rule development or bug java 🏆 challenge2023 🏆 Work done during the ecoCode Challenge 2023 labels Aug 7, 2023
@dedece35 dedece35 self-assigned this Aug 7, 2023
@dedece35 dedece35 changed the title EC2 [Java]: Multiple if-else statemen EC2 [Java]: Multiple if-else statement Aug 7, 2023
@dedece35 dedece35 changed the title EC2 [Java]: Multiple if-else statement [EC2] [Java] Multiple if-else statement Aug 25, 2023
@dedece35
Copy link
Member Author

PR : #222

@dedece35
Copy link
Member Author

dedece35 commented Sep 1, 2023

done with PR #222 merged

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 🏆 challenge2023 🏆 Work done during the ecoCode Challenge 2023 java __PRIO_HIGH__
Projects
None yet
Development

No branches or pull requests

1 participant