-
Notifications
You must be signed in to change notification settings - Fork 79
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 "Optimize Database Queries" #221
Java - Rules "Optimize Database Queries" #221
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs 88.9% Coverage The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @tazemar,
thank you for you PR. I'm OK with it but several points aren't OK : please check DoD list here https://github.com/green-code-initiative/ecoCode-common/blob/main/doc/starter-pack.md#definition-of-done-of-a-pr
Also, add a new line for this new rule in RULES.md file, please.
Then, please, mention these points here to check them.
And, yes, I agree with you, if you can create an new issue associated with this PR ... please create an issue with "new rule suggestion" template when you click on "new issue".
Co-authored-by: David DE CARVALHO <[email protected]> Co-authored-by: Maxime Malgorn <[email protected]> Co-authored-by: utarwyn <[email protected]> Co-authored-by: jycr <[email protected]>
@@ -0,0 +1,11 @@ | |||
{ | |||
"title": "Optimize Database Queries", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, for me title is quite wrong, like class names above, because you deal with database queries only for relational databases (and not NOSql databases for example). Thus, could you add "SQL" word in title, class names, descriptions, documentation, etc ... please
also, there are some lacks if you check DoD list https://github.com/green-code-initiative/ecoCode-common/blob/main/doc/starter-pack.md#definition-of-done-of-a-pr - example :
- update RULES.md
- update CHANGELOG.md
- add test in real test repository
- ...
This PR has been automatically marked as stale because it has no activity for 60 days. |
Hi @tazemar, |
Rule ID : Should I open an issue?
Rule description : https://github.com/cnumr/best-practices/blob/main/chapters/BP_075_en.md