Bad design decisions in software development can progressively affect the internal quality of a software system, causing architecture erosion. Such bad decisions are called Architectural Smells (AS) and should be detected as soon as possible, because their presence heavily hinders the maintainability and evolvability of the software. Many detection approaches rely on software analysis techniques which inspect the structure of the system under analysis and check with rules the presence of AS. However, some recent approaches leverage natural language processing techniques to recover semantic information from the system. This kind of information is useful to detect AS which violate "conceptual" design principles, such as the separation of concerns one. In this research study, I propose two detection strategies for AS detection based on code2vec, a neural model which is able to predict semantic properties of given snippets of code.

Pigazzini, I. (2019). Automatic detection of architectural bad smells through semantic representation of code. In ECSA '19 Proceedings of the 13th European Conference on Software Architecture - Volume 2 (pp.59-62). New York : Association for Computing Machinery [10.1145/3344948.3344951].

Automatic detection of architectural bad smells through semantic representation of code

Pigazzini, I
2019

Abstract

Bad design decisions in software development can progressively affect the internal quality of a software system, causing architecture erosion. Such bad decisions are called Architectural Smells (AS) and should be detected as soon as possible, because their presence heavily hinders the maintainability and evolvability of the software. Many detection approaches rely on software analysis techniques which inspect the structure of the system under analysis and check with rules the presence of AS. However, some recent approaches leverage natural language processing techniques to recover semantic information from the system. This kind of information is useful to detect AS which violate "conceptual" design principles, such as the separation of concerns one. In this research study, I propose two detection strategies for AS detection based on code2vec, a neural model which is able to predict semantic properties of given snippets of code.
paper
Architectural (bad) smells detection; Architecture erosion; Code embeddings; Software concerns;
architectural (bad) smells detection, architecture erosion, code embeddings, software concerns
English
13th European Conference on Software Architecture, ECSA 2019
2019
ECSA '19 Proceedings of the 13th European Conference on Software Architecture - Volume 2
9781450371421
2019
2
59
62
reserved
Pigazzini, I. (2019). Automatic detection of architectural bad smells through semantic representation of code. In ECSA '19 Proceedings of the 13th European Conference on Software Architecture - Volume 2 (pp.59-62). New York : Association for Computing Machinery [10.1145/3344948.3344951].
File in questo prodotto:
File Dimensione Formato  
Doctoral_Symposium_ecsa2019.pdf

Solo gestori archivio

Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Dimensione 616.51 kB
Formato Adobe PDF
616.51 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/242853
Citazioni
  • Scopus 7
  • ???jsp.display-item.citation.isi??? 7
Social impact