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

Refactor/remove unused functions params and values to improve code readability and performance #299

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

diogomene
Copy link

What was done?

Unused values (constants, function parameters, or enums) have been removed from the project's source code. Detection was carried out using Qodana, and the corresponding SARIF file is attached for reference.

Each flagged occurrence was carefully reviewed. Many of the unused parameter issues were due to adherence to interface contracts or abstract class method signatures. While it would be possible to address these repeated unused implementations by replacing abstract methods with non-abstract methods containing default implementations, such structural changes were intentionally avoided in this update to preserve the integrity of the existing method signatures.

Before each commit, tests were executed, and the build was successfully completed.

Evidences?

qodana.sarif.json


Resolve #298

Copy link

vercel bot commented Nov 15, 2024

@diogomene is attempting to deploy a commit to the Piqnt Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove unused parameters, constants and enums of project source code
1 participant