The Influence of Code Smells in Efferent Neighbors on Class Stability

Zushuai Zhang, Elliott Wen, Ewan Tempero · 2026

Read The Influence of Code Smells in Efferent Neighbors on Class Stability by Zushuai Zhang, Elliott Wen, Ewan Tempero (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2602-12950.txt.

Description

Unstable classes cost maintenance effort, and code smells are often blamed, yet most studies look only at smells inside the class itself. Zushuai Zhang and two co-authors ask whether smells in neighbouring classes matter too. A class can be forced to change because a class it depends on, an efferent neighbour, changes, and ripple effects may bite harder when that neighbour smells.

Smells also cluster: they co-occur within classes and across linked classes, a pattern called interrelation, and linked smells can interact through dependencies. The study mines one year of commits from 100 top-starred GitHub projects, detecting smells and dependencies, then models neighbour smells, interrelation, and interaction as predictors of stability. The design tests whether maintainability risk travels along dependency edges, not just within single classes.

Catalog record

CREATORZushuai Zhang, Elliott Wen, Ewan Tempero
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE57 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2602-12950

Browse the full library · About the Tower of Babel