arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.09245cs.SE
收藏

Fex:C程序领域特征的辅助识别

Fex: Assisted Identification of Domain Features from C Programs

Patrick Müller, Krishna Narasimhan, Mira Mezini

摘要:

现代软件通常执行多个功能。这些功能或特征并不总是以表示这些特征的模块被单独使用的方式来组织。许多软件工程方法,如程序设计语言结构,或产品线可视化技术已被提出来组织项目作为模块。不幸的是,许多遗留软件遭受了数年或数十年的不正确编码实践,使代码中的模块几乎无法检测。在这样的场景中,期望的要求是识别表示要提取的不同特征的模块。在本文中,我们提出了一种新的方法,结合信息检索和程序分析的方法,让领域专家识别切片的程序,代表模块使用自然语言搜索条件。我们评估我们的方法,建立一个概念证明工具在C中,并提取模块从开源项目。

英文摘要:

Modern software typically performs more than one functionality. These functionalities or features are not always organized in a way for modules representing these features to be used individually. Many software engineering approaches like programming language constructs, or product line visualization techniques have been proposed to organize projects as modules. Unfortunately, much legacy software suffer from years or decades of improper coding practices that leave the modules in the code almost undetectable. In such scenarios, a desirable requirement is to identify modules representing different features to be extracted. In this paper, we propose a novel approach that combines information retrieval and program analysis approaches to allow domain experts to identify slices of the program that represent modules using natural language search terms. We evaluate our approach by building a proof of concept tool in C, and extract modules from open source projects.

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

↑