Skip to Main content Skip to Navigation
Journal articles

Mining Architectural Violations from Version History

Cristiano Maffort 1 Marco Tulio Valente 1 Ricardo Terra 2 Mariza Bigonha 1 Nicolas Anquetil 3 Andre Hora 3
3 RMOD - Analyses and Languages Constructs for Object-Oriented Application Evolution
Inria Lille - Nord Europe, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189
Abstract : Software architecture conformance is a key software quality control activity that aims to reveal the progressive gap normally observed between concrete and planned software architectures. However, formally specifying an architecture can be difficult, as it must be done by an expert of the system having a high level understanding of it. In this paper, we present a lightweighted approach for architecture conformance based on a combination of static and historical source code analysis. The proposed approach relies on four heuristics for detecting absences (something expected was not found) and divergences (something prohibited was found) in source code based architectures. We also present an architecture conformance process based on the proposed approach. We followed this process to evaluate the architecture of two industrial-strength information systems, achieving an overall precision of 62.7% and 53.8%. We also evaluated our approach in an open-source information retrieval library, achieving an overall precision of 59.2%. We envision that an heuristic-based approach for architecture conformance can be used to rapidly raise architectural warnings, without deeply involving experts in the process.
Document type :
Journal articles
Complete list of metadata

Cited literature [45 references]  Display  Hide  Download

https://hal.inria.fr/hal-01075642
Contributor : Lse Lse <>
Submitted on : Sunday, October 19, 2014 - 11:14:27 AM
Last modification on : Friday, December 11, 2020 - 6:44:05 PM
Long-term archiving on: : Tuesday, January 20, 2015 - 10:41:41 AM

File

2015_emse.pdf
Files produced by the author(s)

Identifiers

Collections

Citation

Cristiano Maffort, Marco Tulio Valente, Ricardo Terra, Mariza Bigonha, Nicolas Anquetil, et al.. Mining Architectural Violations from Version History. Empirical Software Engineering, Springer Verlag, 2016, 21 (3), pp.41. ⟨10.1007/s10664-014-9348-2⟩. ⟨hal-01075642⟩

Share

Metrics

Record views

424

Files downloads

459