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 redundant commented-out code #297

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

diogomene
Copy link

What was done?

The SonarQube tool was used to identify code smells related to commented-out code fragments with no apparent purpose in the codebase. Each occurrence was reviewed manually, and if a comment was deemed unnecessary, it was removed.

However, some instances provided valuable context, such as explanations of mathematical rules or detailed descriptions of complex functions, serving as important elements for understanding or learning from the code. Therefore, 8 out of 87 code smell occurrences were identified as valid and useful comments for the project and were retained.

Evidences?

The following issues were found by SonarQube, during analysis:

planckJsIssuesSonarQube.json

It was filtered and analyzed within an simple NodeJS script.

Resolve #296

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 redundant commented-out code to improve code quality
1 participant