Context: Mining Software Repositories (MSR) has become an essential activity in software development. Mining architectural information to support architecting activities, such as architecture understanding and recovery, has received a significant attention in recent years. However, there is an absence of a comprehensive understanding of the state of research on mining architectural information. Objective: This work aims to identify, analyze, and synthesize the literature on mining architectural information in software repositories in terms of architectural information and sources mined, architecting activities supported, approaches and tools used, and challenges faced. Method: A Systematic Mapping Study (SMS) has been conducted on the literature published between January 2006 and November 2021. Results: Of the 79 primary studies finally selected, 8 categories of architectural information have been mined, among which architectural description is the most mined architectural information; 12 architecting activities can be supported by the mined architectural information, among which architecture understanding is the most supported activity; 81 approaches and 52 tools were proposed and employed in mining architectural information; and 4 types of challenges in mining architectural information were identified. Conclusions: This SMS provides researchers with promising future directions and help practitioners be aware of what approaches and tools can be used to mine what architectural information from what sources to support various architecting activities.
翻译:采矿软件储存库(MSR)已成为软件开发中的一项基本活动; 支持建筑设计活动的采矿建筑资料,如建筑理解和恢复等,近年来受到高度重视; 然而,对采矿建筑资料的研究状况缺乏全面的了解; 目标: 这项工作旨在查明、分析和综合软件储存库中有关采矿建筑资料的文献,包括建筑资料和开采来源、支助的建筑活动、使用的方法和工具以及面临的挑战; 方法:系统绘图研究(SMS)于2006年1月至2021年11月出版的文献中进行; 结果:在最后选定的79项主要研究中,8类建筑资料被挖掘,其中建筑说明是最多的建筑资料; 12项建筑资料可以支持12项建筑设计活动,其中建筑资料是最受支持的活动; 提出了81项办法和52项工具,用于采矿建筑资料; 确定了采矿建筑资料方面的4类挑战; 结论:SMS为研究人员提供了有希望的未来方向,帮助从业人员了解哪些办法和工具可用于从各种来源支持各种建筑活动。