SATT: Tailoring Code Metric Thresholds for Different Software Architectures

Conference Paper (2016)
Author(s)

Mauricio Aniche (Universidade de São Paulo, TU Delft - Electrical Engineering, Mathematics and Computer Science)

Christoph Treude (University of Adelaide)

Andy Zaidman (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Arie van Deursen (TU Delft - Electrical Engineering, Mathematics and Computer Science)

Marco Aurélio Gerosa (Universidade de São Paulo)

Research Group
Software Engineering
DOI related publication
https://doi.org/10.1109/SCAM.2016.19 Final published version
More Info
expand_more
Publication Year
2016
Language
English
Research Group
Software Engineering
Pages (from-to)
41-50
ISBN (print)
978-1-5090-3848-0
ISBN (electronic)
978-1-5090-3848-0
Event
2016 IEEE 16th International Working Conference on Source Code Analysis and Manipulation (Scam 2016) (2016-10-02 - 2016-10-03), Raleigh, NC, United States
Downloads counter
370
Collections
Institutional Repository
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Code metric analysis is a well-known approach for assessing the quality of a software system. However, current tools and techniques do not take the system architecture (e.g., MVC, Android) into account. This means that all classes are assessed similarly, regardless of their specific responsibilities. In this paper, we propose SATT (Software Architecture Tailored Thresholds), an approach that detects whether an architectural role is considerably different from others in the system in terms of code metrics, and provides a specific threshold for that role. We evaluated our approach on 2 different architectures (MVC and Android) in more than 400 projects. We also interviewed 6 experts in order to explain why some architectural roles are different from others. Our results shows that SATT can overcome issues that traditional approaches have, especially when some architectural role presents very different metric values than others.

Files

TUD_SERG_2016_023.pdf
(pdf | 0.258 Mb)
License info not available