arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1902.00526cs.SE
收藏

多视图学习方法在软件理解中的应用

Applications of Multi-view Learning Approaches for Software Comprehension

Amir Saeidi, Jurriaan Hage, Ravi Khadka, Slinger Jansen

摘要:

程序理解是指个体对现有软件系统的理解能力,软件系统包含大量噪声和缺失的数据,这使得程序理解更加困难。软件系统由各种视图组成,包括模块依赖图、执行日志、演化信息和源代码中使用的词汇表,这些视图共同定义了软件系统。这些视图中的每一个都包含独特的和互补的信息;它们一起可以更准确地描述数据。在本文中,我们研究了结合不同信息源以提高程序理解任务性能的各种技术。我们采用最先进的技术,从学习1)找到一个合适的相似性函数为每个视图,2)比较不同的多视图学习技术,将软件系统分解成高层次的单元,并给出组件级的建议重构的系统,以及跨视图的源代码搜索。在10个比较大的Java软件系统上进行的实验表明,通过融合来自不同观点的知识,我们可以保证一个下限的质量模块化,甚至提高后it. We继续通过整合不同的信息源,给出一组高层次的建议,如何重构的软件系统。此外,我们演示了如何学习一个联合子空间允许跨视图执行跨模态检索,产生的结果是更符合用户的意图查询。本文中概述的多视图方法可以用于解决软件工程中的问题,这些问题可以根据学习问题进行编码,例如软件错误预测和特征定位。

英文摘要:

Program comprehension concerns the ability of an individual to make an understanding of an existing software system to extend or transform it. Software systems comprise of data that are noisy and missing, which makes program understanding even more difficult. A software system consists of various views including the module dependency graph, execution logs, evolutionary information and the vocabulary used in the source code, that collectively defines the software system. Each of these views contain unique and complementary information; together which can more accurately describe the data. In this paper, we investigate various techniques for combining different sources of information to improve the performance of a program comprehension task. We employ state-of-the-art techniques from learning to 1) find a suitable similarity function for each view, and 2) compare different multi-view learning techniques to decompose a software system into high-level units and give component-level recommendations for refactoring of the system, as well as cross-view source code search. The experiments conducted on 10 relatively large Java software systems show that by fusing knowledge from different views, we can guarantee a lower bound on the quality of the modularization and even improve upon it. We proceed by integrating different sources of information to give a set of high-level recommendations as to how to refactor the software system. Furthermore, we demonstrate how learning a joint subspace allows for performing cross-modal retrieval across views, yielding results that are more aligned with what the user intends by the query. The multi-view approaches outlined in this paper can be employed for addressing problems in software engineering that can be encoded in terms of a learning problem, such as software bug prediction and feature location.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑