使用变更集描述作为数据源以辅助特征定位
Using Changeset Descriptions as a Data Source to Assist Feature Location
AI总结:
本研究提出利用变更集描述作为数据源辅助特征定位,实证表明该方法高效,方法级粒度配置更优,但旧变更集可能降低有效性。
摘要:
特征定位旨在帮助开发人员在源代码中发现功能。许多基于文本的特征定位技术利用信息检索,并依赖源代码的注释和标识符来描述软件实体。一个有趣的替代方案是使用变更集中被修改代码的变更集描述作为数据源来描述此类软件实体。为了研究这一点,我们实现了一种利用变更集描述的技术,并进行了一项实证研究以观察该技术的整体性能。此外,我们研究了粒度(即软件实体的文件级或方法级)和变更集范围包含(即最近或所有历史变更集)如何影响这种方法。初步研究的结果(使用Rhino和Mylyn.Tasks系统)表明,该方法可能产生一种潜在高效的特征定位技术。结果还表明,在方法级粒度下配置该技术的工作量方面具有优势,并且来自较旧系统的较旧变更集可能降低该技术的有效性。
英文摘要:
Feature location attempts to assist developers in discovering functionality in source code. Many textual feature location techniques utilize information retrieval and rely on comments and identifiers of source code to describe software entities. An interesting alternative would be to employ the changeset descriptions of the code altered in that changeset as a data source to describe such software entities. To investigate this we implement a technique utilizing changeset descriptions and conduct an empirical study to observe this technique's overall performance. Moreover, we study how the granularity (i.e. file or method level of software entities) and changeset range inclusion (i.e. most recent or all historical changesets) affect such an approach. The results of a preliminary study with Rhino and Mylyn.Tasks systems suggest that the approach could lead to a potentially efficient feature location technique. They also suggest that it is advantageous in terms of the effort to configure the technique at method level granularity and that older changesets from older systems may reduce the effectiveness of the technique.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。