DeepIaC - Deep Learning-Based Linguistic Anti-pattern Detection in IaC.

Research output: Other contributionAcademic

1 Citation (Scopus)

Abstract

Linguistic anti-patterns are recurring poor practices concerning inconsistencies among the naming, documentation, and implementation of an entity. They impede readability, understandability, and maintainability of source code. This paper attempts to detect linguistic anti-patterns in infrastructure as code (IaC) scripts used to provision and manage computing environments. In particular, we consider inconsistencies between the logic/body of IaC code units and their names. To this end, we propose a novel automated approach that employs word embeddings and deep learning techniques. We build and use the abstract syntax tree of IaC code units to create their code embedments. Our experiments with a dataset systematically extracted from open source repositories show that our approach yields an accuracy between 0.785 and 0.915 in detecting inconsistencies.

Original languageEnglish
Number of pages6
Volumeabs/2009.10801
ISBN (Electronic)9781450381246
DOIs
Publication statusPublished - 13 Nov 2020

Bibliographical note

DBLP's bibliographic metadata records provided through http://dblp.org/search/publ/api are distributed under a Creative Commons CC0 1.0 Universal Public Domain Dedication. Although the bibliographic metadata records are provided consistent with CC0 1.0 Dedication, the content described by the metadata records is not. Content may be subject to copyright, rights of privacy, rights of publicity and other restrictions.

Keywords

  • Code Embedding
  • Deep Learning
  • Defects
  • IaC
  • Infrastructure Code
  • Linguistic Anti-patterns
  • Word2Vec

Fingerprint Dive into the research topics of 'DeepIaC - Deep Learning-Based Linguistic Anti-pattern Detection in IaC.'. Together they form a unique fingerprint.

Cite this