Code Smells and Refactorings for Elixir
Elixir is a modern functional language gaining traction in the industry, but the internal quality of the code written with this language still lacks research. To fill this gap, this thesis investigates code smells and refactorings specific to Elixir, drawing inspiration from classic Fowler catalogs. In the first two studies, a mixed-method approach was adopted to catalog 35 code smells (23 novel and 12 traditional), validated by 181 developers, and 82 refactorings (14 novel), validated by 151 developers. In the third study, we correlated code smells and refactorings, establishing practical guidelines for the disciplined removal of smells through refactorings. The results impact both the prevention of code smells and the prioritization of refactorings in Elixir, for instance.
Authors
- Lucas Francisco da Matta Vegi (ORCID: https://orcid.org/0000-0002-7999-7098)
- Marco Túlio Valente (ORCID: https://orcid.org/0000-0002-8180-7548)
Publication Details
- Published
- 2025-07-20
- DOI
- https://doi.org/10.5753/ctd.2025.9280
- Citations
- 1
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 3.25