Skip to search boxSkip to navigationSkip to main content

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

Output:
Chapter in Book/Report/Conference proceeding
Conference contribution
Academic
Peer-review

Information

Output type

Output:
Chapter in Book/Report/Conference proceeding
Conference contribution
Academic
Peer-review

Original language

English

Pages from-to (Number of pages)

Pages 7-12 (6 pages)

Publication milestones

  • Published - 13/11/2020

Publication status

Published - 13/11/2020

ISBN (Electronic)

9781450381246

Host publication title

MaLTeSQuE 2020: Proceedings of the 4th ACM SIGSOFT International Workshop on Machine-Learning Techniques for Software-Quality Evaluation

Funding Details

FundersFunding numbers
H2020
-
EC
RADON H2020, 825040, 825480

Abstract

<p>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.</p>

Metrics

Metrics

Scopus
citations
23
SciVal
FWCI
2.13
SciVal
Author count
8
SciVal
Paper percentile
89
SciVal
citations
23

PlumX, opens in new tab

Captures
34
Citation count
24