Watts This Smell: A Comprehensive Taxonomy of Software Energy Smells
Not on the map. Why?
Abstract (arXiv)
As software proliferates across domains, its aggregate energy footprint has become a major concern. To reduce software's growing environmental footprint, developers need to identify and refactor energy smells: source code implementations, design choices, or programming practices that lead to inefficient use of computing resources. Existing catalogs of such smells are either domain-specific, limited to performance anti-patterns, lack fine-grained root cause classification, or remain unvalidated against measured energy data. In this paper, we present a comprehensive, language-agnostic, taxonomy of software energy smells. Through a systematic literature review of 60 papers and exhaustive snowballing, we coded 320 inefficiency patterns into 12 primary energy smells and 65 root causes mapped to the primary smells. To empirically validate this taxonomy, we profile over 21,000 functionally equivalent Python code pairs for energy, time, and memory, and classified the top 3000 pairs by energy difference using a multi-step LLM pipeline, mapping 55 of the 65 root causes to real code. The analysis reveals that 71% of samples exhibit multiple co-occurring smells, memory-related smells yield the highest per-fix energy savings, while power draw variation across patterns confirms that energy optimization cannot be reduced to performance optimization alone. Along with the taxonomy, we release the labeled dataset, including energy profiles and reasoning traces, to the community. Together, they provide a shared vocabulary, actionable refactoring guidelines, and an empirical foundation for energy smell detection, energy-efficient code generation, and green software engineering at large.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). First posted on arXiv 6 Apr 2026.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026SmellCC: A Tool for Automated Code Smells Remediation ↗
- 2026Beyond Strict Rules: Assessing the Effectiveness of Large Language Models for Code Smell Detection ↗
- 2026SmellBench: Evaluating LLM Agents on Architectural Code Smell Repair
- 2025Toward Green Code: Prompting Small Language Models for Energy-Efficient Code Generation
- 2025How Do Agentic AI Systems Deal With Software Energy Concerns? A Pull Request-Based Study
- 2026SmellBench: Towards Fine-Grained Evaluation of Code Agents on Refactoring Tasks
- 2026Mining Architectural Quality Under Agentic AI Adoption: A Causal Study of Java Repositories
- 2026Watts and Debts of Agentic Frameworks: An Empirical Study (Registered Report)