Design Rule Spaces: A New Model for Representing and Analyzing Software Architecture
- 24 January 2018
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 45 (7) , 657-682
Abstract
In this paper, we propose an architecture model called Design Rule Space (DRSpace). We model the architecture of a software system as multiple overlapping DRSpaces, reflecting the fact that any complex software system must contain multiple aspects, features, patterns, etc. We show that this model provides new ways to analyze software quality. In particular, we introduce an Architecture Root detection algorithm that captures DRSpaces containing large numbers of a project's bug-prone files, which are called Architecture Roots (ArchRoots). After investigating ArchRoots calculated from 15 open source projects, the following observations become clear: from 35% to 91% of a project's most bug-prone files can be captured by just 5 ArchRoots, meaning that bug-prone files are likely to be architecturally connected. Furthermore, these ArchRoots tend to live in the system for significant periods of time, serving as the major source of bug-proneness and high maintainability costs. Moreover, each ArchRoot reveals multiple architectural flaws that propagate bugs among files and this will incur high maintenance costs over time. The implication of our study is that the quality, in terms of bug-proneness, of a large, complex software project cannot be fundamentally improved without first fixing its architectural flaws.Keywords
Funding Information
- Division of Computing and Communication Foundations (1514315)
This publication has 108 references indexed in Scilit:
- Evaluating defect prediction approaches: a benchmark and an extensive comparisonEmpirical Software Engineering, 2011
- Choosing software metrics for defect prediction: an investigation on feature selection techniquesSoftware: Practice and Experience, 2011
- Defect prediction from static code features: current results, limitations, new approachesAutomated Software Engineering, 2010
- On the relative value of cross-company and within-company data for defect predictionEmpirical Software Engineering, 2009
- Architecture Reviews: Practice and ExperienceIEEE Software, 2005
- Abstractions for software architecture and tools to support themIEEE Transactions on Software Engineering, 1995
- Efficient implementation of adaptive softwareACM Transactions on Programming Languages and Systems, 1995
- Overview of Teknowledge's domain-specific software architecture programACM SIGSOFT Software Engineering Notes, 1994
- Part II: specifying components in RESOLVEACM SIGSOFT Software Engineering Notes, 1994
- Modechart: a specification language for real-time systemsIEEE Transactions on Software Engineering, 1994