English

Polyglot Code Smell Detection for Infrastructure as Code with GLITCH

Cryptography and Security 2023-08-21 v1 Software Engineering

Abstract

This paper presents GLITCH, a new technology-agnostic framework that enables automated polyglot code smell detection for Infrastructure as Code scripts. GLITCH uses an intermediate representation on which different code smell detectors can be defined. It currently supports the detection of nine security smells and nine design & implementation smells in scripts written in Ansible, Chef, Docker, Puppet, or Terraform. Studies conducted with GLITCH not only show that GLITCH can reduce the effort of writing code smell analyses for multiple IaC technologies, but also that it has higher precision and recall than current state-of-the-art tools. A video describing and demonstrating GLITCH is available at: https://youtu.be/E4RhCcZjWbk

Keywords

Cite

@article{arxiv.2308.09458,
  title  = {Polyglot Code Smell Detection for Infrastructure as Code with GLITCH},
  author = {Nuno Saavedra and João Gonçalves and Miguel Henriques and João F. Ferreira and Alexandra Mendes},
  journal= {arXiv preprint arXiv:2308.09458},
  year   = {2023}
}
R2 v1 2026-06-28T11:58:38.394Z