Projects per year
In this paper, we identify six novel code smells related to Ansi- ble’s intricate variable precedence rules and lazy-evaluated template expressions. Their detection requires an accurate representation of control and data flow, for which we transpose the program depen- dence graph to Ansible. We use the resulting detector to empirically investigate the prevalence of these variable smells in 21,931 open- source Ansible roles, uncovering 31,334 unique smell instances across 4,260 roles. We observe an upward trend in the number of variable smells over time, that it may take a long time before they are fixed, and that code changes more often introduce new smells than fix existing ones. Our results are a call to arms for more in- depth quality checkers for IaC code, and highlight the importance of transcending syntax in IaC research.
|Title of host publication||Proceedings of MSR ’22: Proceedings of the 19th International Conference on Mining Software Repositories (MSR 2022)|
|Number of pages||12|
|Publication status||Accepted/In press - 2022|
FingerprintDive into the research topics of 'Smelly Variables in Ansible Infrastructure Code: Detection, Prevalence, and Lifetime'. Together they form a unique fingerprint.
1/11/20 → 31/10/22
De Roover, C., Mens, T., Demeyer, S. & Cleve, A.
1/01/18 → 31/12/21