计算机科学与探索 ›› 2014, Vol. 8 ›› Issue (12): 1452-1462.DOI: 10.3778/j.issn.1673-9418.1408001

• 系统软件与软件工程 • 上一篇    下一篇

面向行为主题的软件特征定位方法

何  云1+,王  炜1,2,李  彤1,2,张秀洋1,韩俊明1   

  1. 1. 云南大学 软件学院,昆明 650091
    2. 云南省软件工程重点实验室,昆明 650091
  • 出版日期:2014-12-01 发布日期:2014-12-08

Behavior and Topic Oriented Software Feature Location Method

HE Yun1+, WANG Wei1,2, LI Tong1,2, ZHANG Xiuyang1, HAN Junming1   

  1. 1. College of Software, Yunnan University, Kunming 650091, China
    2. Key Laboratory for Software Engineering of Yunnan Province, Kunming 650091, China
  • Online:2014-12-01 Published:2014-12-08

摘要: 软件特征定位是成功实施软件演化意图的前提条件。针对当前特征定位方法准确率低,定位空间庞大和自动化程度不高等问题,提出了一种面向行为主题的混合特征定位方法。该方法将软件系统的行为知识和主题知识进行有机整合,实现了行为知识对主题知识的约简,并最终通过分析主题知识与软件功能属性间的相似性实现特征定位。实验结果表明,与传统的基于文本的特征定位方法相比,该方法具有较好的查全率、查准率和综合性能,从而验证了该方法的有效性。

关键词: 特征定位, 软件演化, 行为知识, 主题知识

Abstract: Feature location is one of the prerequisites for the sooth realization of software evolution intent. There are some problems in current location method, such as low precision, huge location space and low automatic degree. For these problems, this paper proposes a feature location method based on behavior knowledge and topic knowledge. This method combines the behavior knowledge with topic knowledge to reduce the state space of feature location, and then realizes the feature location by analyzing the similarity between topic knowledge and software function attributes. The experimental results show that compared with traditional textual feature location method, the proposed method has higher recall, precision and comprehensive performance. Finally, the experiments validate the effectiveness of the proposed method.

Key words: feature location, software evolution, behavior knowledge, topic knowledge