计算机科学
工件(错误)
软件工程
建筑
追踪
建筑模式
过程(计算)
软件
软件设计
软件开发
人工智能
程序设计语言
艺术
视觉艺术
作者
Arman Shahbazian,Youn Kyu Lee,Duc Le,Yuriy Brun,Nenad Medvidović
出处
期刊:
[Institute of Electrical and Electronics Engineers]
日期:2018-04-01
卷期号:: 95-9509
被引量:70
标识
DOI:10.1109/icsa.2018.00019
摘要
Designing and maintaining a software system's architecture typically involve making numerous design decisions, each potentially affecting the system's functional and nonfunctional properties. Understanding these design decisions can help inform future decisions and implementation choices and can avoid introducing regressions and architectural inefficiencies later. Unfortunately, design decisions are rarely well documented and are typically a lost artifact of the architecture creation and maintenance process. The loss of this information can thus hurt development. To address this shortcoming, we develop RecovAr, a technique for automatically recovering design decisions from the project's readily available history artifacts, such as an issue tracker and version control repository. RecovAr uses state-of-the-art architectural recovery techniques on a series of version control commits and maps those commits to issues to identify decisions that affect system architecture. While some decisions can still be lost through this process, our evaluation on Hadoop and Struts, two large open-source systems with over 8 years of development each and, on average, more than 1 million lines of code, shows that RecovAr has the recall of 75% and a precision of 77%. Our work formally defines architectural design decisions and develops an approach for tracing such decisions in project histories. Additionally, the work introduces methods to classify whether decisions are architectural and to map decisions to code elements. Finally, our work contributes a methodology engineers can follow to preserve design-decision knowledge in their projects.
科研通智能强力驱动
Strongly Powered by AbleSci AI