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

Code smells refactoring #647

Open
isaniovitor opened this issue Oct 31, 2023 · 0 comments
Open

Code smells refactoring #647

isaniovitor opened this issue Oct 31, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@isaniovitor
Copy link

Summary

  • Motivation
  • List of code smells
  • Links
  • Refactoring process
  • Contact

Motivation

hello,
we are students at UFC (Federal University of Ceara - Brazil) and we would like to contribute to improving the quality of the project code. PMD was used to detect code smells in this project. PMD (Programming Mistake Detector) is a static source code analysis tool, widely used to detect code quality problems and code smells in software development projects. PMD helps identify areas of code that may be problematically inefficient or do not follow programming best practices.

List of code smells

When using pmd we find the following code smells:

  • CommentSize (195 found)
  • ExcessiveMethodLength (12 found)
  • DataClass (27 found)
  • ExcessiveClassLength (2 found)
  • ExcessiveParameterList (2 found)
  • GodClass (10 found)
  • Duplicated Code (12 found)

Links

The results of the analysis can be found here

Refactoring process

Given the list, we will create a version of the project where we will factorize the smells. The idea is to carry out a series of refactorings and check whether the smells were removed correctly.

Contact

If you want to contact us our users here on github are:

(back to top)

@isaniovitor isaniovitor added the enhancement New feature or request label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant