An Empirical Study on Source Code Feature Extraction in Preprocessing of IR-Based Requirements Traceability

可追溯性 计算机科学 源代码 冗余(工程) 跟踪(心理语言学) 预处理器 注释 软件质量 编码(集合论) 数据挖掘 特征(语言学) 情报检索 软件工程 程序设计语言 人工智能 软件 软件开发 语言学 哲学 集合(抽象数据类型) 操作系统
作者
Bangchao Wang,Yang Deng,Ruiqi Luo,Huan Jin
标识
DOI:10.1109/qrs57517.2022.00110
摘要

In information retrieval-based (IR-based) requirements traceability research, a great deal of researches have focused on establishing trace links between requirements and source code. However, as the description styles of source code and requirements are very different, how to better preprocess the code is crucial for the quality of trace link generation. This paper aims to draw empirical conclusions about code feature extraction, annotation importance assessment, and annotation redundancy removal through comprehensive experiments, which impact the quality of trace links generated by IR-based methods between requirements and source code. The results show that when the average annotaion density is higher than 0.2, feature extraction is recommended. Removing redundancy from code with high annotation redundancy can enhance the quality of trace links. The above experiences can help developers to improve the quality of trace link generation and provide them with advice on writing code.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
领导范儿应助听话的清采纳,获得20
刚刚
刚刚
尺素寸心发布了新的文献求助10
1秒前
1122334发布了新的文献求助10
2秒前
2秒前
斯文败类应助hyl采纳,获得10
2秒前
3秒前
3秒前
4秒前
4秒前
4秒前
CC2333发布了新的文献求助10
5秒前
胡胡嘉嘉磊磊完成签到,获得积分10
6秒前
7秒前
7秒前
yq发布了新的文献求助10
8秒前
hyyyh发布了新的文献求助10
8秒前
霖珞发布了新的文献求助10
9秒前
别看了完成签到,获得积分10
9秒前
11秒前
CC2333完成签到,获得积分10
11秒前
小马甲应助LY采纳,获得10
11秒前
11秒前
wbqdssl完成签到,获得积分10
12秒前
12秒前
月光闪给月光闪的求助进行了留言
12秒前
鱼叔发布了新的文献求助10
12秒前
在水一方应助科研通管家采纳,获得10
12秒前
Owen应助科研通管家采纳,获得10
12秒前
英姑应助科研通管家采纳,获得10
13秒前
超帅寻双应助科研通管家采纳,获得20
13秒前
13秒前
yier完成签到,获得积分10
13秒前
Mr_Shu发布了新的文献求助10
13秒前
11111发布了新的文献求助10
13秒前
13秒前
14秒前
14秒前
14秒前
科研通AI2S应助一个小胖子采纳,获得10
15秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Kinesiophobia : a new view of chronic pain behavior 2000
Research for Social Workers 1000
Mastering New Drug Applications: A Step-by-Step Guide (Mastering the FDA Approval Process Book 1) 800
The Social Psychology of Citizenship 600
Signals, Systems, and Signal Processing 510
Discrete-Time Signals and Systems 510
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5912077
求助须知:如何正确求助?哪些是违规求助? 6829927
关于积分的说明 15784268
捐赠科研通 5036954
什么是DOI,文献DOI怎么找? 2711472
邀请新用户注册赠送积分活动 1661809
关于科研通互助平台的介绍 1603887