Skip to content

[CHALLENGE24][Samarium] Implement rules EC82, EC205, EC1245 - #58

Open
massiltag wants to merge 2 commits into
green-code-initiative:mainfrom
massiltag:challenge24-samarium
Open

[CHALLENGE24][Samarium] Implement rules EC82, EC205, EC1245#58
massiltag wants to merge 2 commits into
green-code-initiative:mainfrom
massiltag:challenge24-samarium

Conversation

@massiltag

Copy link
Copy Markdown

No description provided.

massiltag added 2 commits May 29, 2024 17:47
EC1245 : Avoid energy consuming methods check
EC82 : Make non reassigned variable constants
CRJVM205 : Force Lazy fetch types for JPA entity associations
@github-actions

Copy link
Copy Markdown

This PR has been automatically marked as stale because it has no activity for 30 days.
Please add a comment if you want to keep the issue open. Thank you for your contributions!

@dedece35

dedece35 commented Jan 3, 2025

Copy link
Copy Markdown
Member

Hi @massiltag,
thank you for your work but I must merge your work with some other PRs dealing with Java EC82 rule.
I created the new PR #89 for EC82 rule part.

This new rule is now available for the next release of the Java plugin.

Thank you a lot.

PS : all the PR dealing with EC82 rule which have been merged into the new above PR :

PS2 : I will work soon on the two other parts of your PR (EC205 and EC1245)

@dedece35

dedece35 commented Jan 3, 2025

Copy link
Copy Markdown
Member

@massiltag

for EC1245 rule, I understand the implementation, but I need a prove to accept your implementation. Do you have some issue or web documentation relating your list of sentences to avoid ?

@github-actions github-actions Bot removed the stale label Jan 4, 2025
@github-actions

github-actions Bot commented Feb 3, 2025

Copy link
Copy Markdown

This PR has been automatically marked as stale because it has no activity for 30 days.
Please add a comment if you want to keep the issue open. Thank you for your contributions!

@github-actions github-actions Bot added the stale label Feb 3, 2025
@github-actions github-actions Bot removed the stale label Feb 16, 2025
@github-actions

Copy link
Copy Markdown

This PR has been automatically marked as stale because it has no activity for 30 days.
Please add a comment if you want to keep the issue open. Thank you for your contributions!

@github-actions github-actions Bot added the stale label Mar 18, 2025
@dedece35 dedece35 moved this from Backlog to Review in progress in Hackathon Kanban - JAVA May 2, 2026
@dedece35

dedece35 commented Aug 7, 2026

Copy link
Copy Markdown
Member

Hi @massiltag

several PR have worked on this same subject (FetchType Lazy instead of Eager for OneToMany et ManyToMany relations).

After worked on a complete analysis to check if this rule is relevant :

  • first, I found that the rule already exists in SonarQube as a built-in rule : S6904
  • secondly, no proof was found to check relevancy
  • thirdly, I decided to launch an analysis with EnergyTracer tool which can do real measures

Thus I created a new PR to :

  • add this analysis
  • clean all old references to this same subject

Here is the PR : green-code-initiative/creedengo-rules-specifications#487

Sorry, but the work on EC205 won't be accepted.
thank you for the work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Review in progress

Development

Successfully merging this pull request may close these issues.

2 participants