Title :
A Method for Detecting and Measuring Architectural Layering Violations in Source Code
Author :
Sarkar, Santonu ; Rama, Girish Maskeri ; Shubha, R.
Author_Institution :
Infosys Technol. Ltd., Bangalore
Abstract :
The layered architecture pattern has been widely adopted by the developer community in order to build large software systems. The layered organization of software modules offers a number of benefits such as reusability, changeability and portability to those who are involved in the development and maintenance of such software systems. But in reality as the system evolves over time, rarely does the actual source code of the system conform to the conceptual horizontal layering of modules. This in turn results in a significant degradation of system maintainability. In order to re-factor such a system to improve its maintainability, it is very important to discover, analyze and measure violations of layered architecture pattern. In this paper we propose a technique to discover such violations in the source code and quantitatively measure the amount of non-conformance to the conceptual layering. The proposed approach evaluates the extent to which the module dependencies across layers violate the layered architecture pattern. In order to evaluate the accuracy of our approach, we have applied this technique to discover and analyze such violations to a set of open source applications and a proprietary business application by taking the help of domain experts wherever possible.
Keywords :
software architecture; software maintenance; architectural layering violations; open source applications; proprietary business application; software development; software maintenance; software systems; source code; system maintainability; Application software; Art; Computer architecture; Degradation; Pattern analysis; Software design; Software maintenance; Software quality; Software reusability; Software systems;
Conference_Titel :
Software Engineering Conference, 2006. APSEC 2006. 13th Asia Pacific
Conference_Location :
Kanpur
Print_ISBN :
0-7695-2685-3
DOI :
10.1109/APSEC.2006.7