Aniche, M.Treude, C.Zaidman, A.Deursen, A.Gerosa, M.2017-11-072017-11-072016Proceedings of the 16th International Working Conference on Source Code Analysis and Manipulation, SCAM 2016, 2016, pp.41-5097815090385031942-5430http://hdl.handle.net/2440/109378Code 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.en© 2016 IEEESATT: Tailoring code metric thresholds for different software architecturesConference paper003006307610.1109/SCAM.2016.190003912070000052-s2.0-85010748371283974Treude, C. [0000-0002-6919-2149]