Code Smells in Elixir: Early Results from a Grey Literature Review
Elixir is a new functional programming language whose popularity is rising in the industry. However, there are few works in the literature focused on studying the internal quality of systems implemented in this language. Particularly, to the best of our knowledge, there is currently no catalog of code smells for Elixir. Therefore, in this paper, through a grey literature review, we investigate whether Elixir developers discuss code smells. Our preliminary results indicate that 11 of the 22 traditional code smells cataloged by Fowler and Beck are discussed by Elixir developers. We also propose a list of 18 new smells specific for Elixir systems and investigate whether these smells are currently identified by Credo, a well-known static code analysis tool for Elixir. We conclude that only two traditional code smells and one Elixir-specific code smell are automatically detected by this tool. Thus, these early results represent an opportunity for extending tools such as Credo to detect code smells and then contribute to improving the internal quality of Elixir systems.
Tue 17 MayDisplayed time zone: Eastern Time (US & Canada) change
07:10 - 07:40 | Session 13: Smells, Patterns, and RefactoringEarly Research Achievements (ERA) at ICPC room Chair(s): Csaba Nagy Software Institute - USI, Lugano | ||
07:10 4mTalk | Impact of Change Granularity in Refactoring Detection Early Research Achievements (ERA) DOI Pre-print Media Attached | ||
07:14 4mTalk | On the Developers' Attitude Towards CRAN Checks Early Research Achievements (ERA) Pranjay Kumar RMIT University, Davin Ie RMIT University, Melina Vidoni Australian National University DOI Pre-print Media Attached | ||
07:18 4mTalk | Does Coding in Pythonic Zen Peak Performance? Preliminary Experiments of Nine Pythonic Idioms at Scale Early Research Achievements (ERA) Pattara Leelaprute Faculty of Engineering, Kasetsart University, Bodin Chinthanet Nara Institute of Science and Technology, Supatsara Wattanakriengkrai Nara Institute of Science and Technology, Raula Gaikovina Kula Nara Institute of Science and Technology, Pongchai Jaisri Faculty of Engineering, Kasetsart University, Takashi Ishio Nara Institute of Science and Technology Pre-print Media Attached | ||
07:22 4mTalk | Code Smells in Elixir: Early Results from a Grey Literature Review Early Research Achievements (ERA) Lucas Francisco da Matta Vegi Federal University of Minas Gerais (UFMG), Marco Tulio Valente Federal University of Minas Gerais, Brazil Pre-print Media Attached | ||
07:26 14mLive Q&A | Q&A-Paper Session 13 Early Research Achievements (ERA) |