Does your configuration code smell?
Authors:
Open Access
- 14 May 2016
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 189-200
Abstract
Infrastructure as Code (IaC) is the practice of specifying computing system configurations through code, and managing them through traditional software engineering methods. The wide adoption of configuration management and increasing size and complexity of the associated code, prompt for assessing, maintaining, and improving the configuration code's quality. In this context, traditional software engineering knowledge and best practices associated with code quality management can be leveraged to assess and manage configuration code quality. We propose a catalog of 13 implementation and 11 design configuration smells, where each smell violates recommended best practices for configuration code. We analyzed 4,621 Puppet repositories containing 8.9 million lines of code and detected the cataloged implementation and design configuration smells. Our analysis reveals that the design configuration smells show 9% higher average co-occurrence among themselves than the implementation configuration smells. We also observed that configuration smells belonging to a smell category tend to co-occur with configuration smells belonging to another smell category when correlation is computed by volume of identified smells. Finally, design configuration smell density shows negative correlation whereas implementation configuration smell density exhibits no correlation with the size of a configuration management system.Keywords
Funding Information
- SENECA (642954)
This publication has 19 references indexed in Scilit:
- Co-evolution of Infrastructure and Source Code - An Empirical Study2015
- Tools and Techniques for Analyzing Product and Process Data2015
- Technical Debt2015
- ESA2014
- The GHTorent dataset and tool suite2013
- Identification of extract method refactoring opportunities for the decomposition of methodsJournal of Systems and Software, 2011
- Getting Started with Puppet2011
- Toward a Catalogue of Architectural Bad Smells2009
- Version control systemsIEEE Software, 2005
- A metrics suite for object oriented designIEEE Transactions on Software Engineering, 1994