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

Remove unused parameters, constants and enums of project source code #298

Open
diogomene opened this issue Nov 15, 2024 · 0 comments · May be fixed by #299
Open

Remove unused parameters, constants and enums of project source code #298

diogomene opened this issue Nov 15, 2024 · 0 comments · May be fixed by #299

Comments

@diogomene
Copy link

Some unused values are present throughout the codebase, which can negatively impact code readability, especially as the project grows in size. Beyond being code smells, these unused values may, in some cases, slightly reduce performance depending on the JavaScript interpreter used, as unnecessary memory write and read operations could occur.

To address this issue effectively, I recommend using tools like SonarQube or Qodana to inspect the codebase for unused values and other similar inefficiencies. These tools can identify occurrences and provide insights into areas requiring attention. After detection, each instance should be manually reviewed to confirm whether it can be safely removed. By doing so, we can enhance code readability and maintainability while potentially optimizing performance.

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