Code Smells in Clojure: Initial Findings from a Grey Literature Review

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Araújo, Walber, Truta, José, Vegi, Lucas, Valente, Marco Tulio, Brunet, João
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911710441373696
author Araújo, Walber
Truta, José
Vegi, Lucas
Valente, Marco Tulio
Brunet, João
author_facet Araújo, Walber
Truta, José
Vegi, Lucas
Valente, Marco Tulio
Brunet, João
contents Code smells are widely used indicators of poor code quality, revealing structural problems and areas where improvement can be made. Although extensively studied in object-oriented languages, functional programming languages remain comparatively underexplored in literature. This paper presents early results from a grey literature investigation of code smells in Clojure, a modern functional programming language that runs on the Java Virtual Machine (JVM) and is widely adopted in open source and industrial systems. Inspired by prior work on Elixir, we manually inspected developer discussions retrieved through Google search, extracted quality concerns discussed by developers, and had 44 practitioners evaluate the relevance of non-traditional smell candidates. As preliminary results, we cataloged 26 code smells, including 12 Clojure-specific, 9 functional-style, and 5 traditional Fowler smells. We also analyzed tool support and observed a significant gap, as existing Clojure linters cover only 2 of these 26 smells. These early findings provide an initial characterization of how Clojure developers discuss code smells, a preliminary set of smell-like problems specific to this ecosystem, and an early assessment of tool support for their detection.
format Preprint
id arxiv_https___arxiv_org_abs_2605_24049
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Code Smells in Clojure: Initial Findings from a Grey Literature Review
Araújo, Walber
Truta, José
Vegi, Lucas
Valente, Marco Tulio
Brunet, João
Software Engineering
Code smells are widely used indicators of poor code quality, revealing structural problems and areas where improvement can be made. Although extensively studied in object-oriented languages, functional programming languages remain comparatively underexplored in literature. This paper presents early results from a grey literature investigation of code smells in Clojure, a modern functional programming language that runs on the Java Virtual Machine (JVM) and is widely adopted in open source and industrial systems. Inspired by prior work on Elixir, we manually inspected developer discussions retrieved through Google search, extracted quality concerns discussed by developers, and had 44 practitioners evaluate the relevance of non-traditional smell candidates. As preliminary results, we cataloged 26 code smells, including 12 Clojure-specific, 9 functional-style, and 5 traditional Fowler smells. We also analyzed tool support and observed a significant gap, as existing Clojure linters cover only 2 of these 26 smells. These early findings provide an initial characterization of how Clojure developers discuss code smells, a preliminary set of smell-like problems specific to this ecosystem, and an early assessment of tool support for their detection.
title Code Smells in Clojure: Initial Findings from a Grey Literature Review
topic Software Engineering
url https://arxiv.org/abs/2605.24049