Full Text:   <6770>

Summary:  <1541>

CLC number: TP311.5

On-line Access: 2021-07-20

Received: 2020-03-26

Revision Accepted: 2020-06-23

Crosschecked: 2021-06-08

Cited: 0

Clicked: 5174

Citations:  Bibtex RefMan EndNote GB/T7714

 ORCID:

Guo-hua Shen

https://orcid.org/0000-0003-2182-0019

Haijuan Wang

https://orcid.org/0000-0002-2088-3563

-   Go to

Article info.
Open peer comments

Frontiers of Information Technology & Electronic Engineering  2021 Vol.22 No.7 P.957-968

http://doi.org/10.1631/FITEE.2000126


Analyzing close relations between target artifacts for improving IR-based requirement traceability recovery


Author(s):  Haijuan Wang, Guohua Shen, Zhiqiu Huang, Yaoshen Yu, Kai Chen

Affiliation(s):  College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing 211106, China; more

Corresponding email(s):   18895681787@163.com, ghshen@nuaa.edu.cn, zqhuang@nuaa.edu.cn, yaoshen.yu@outlook.com

Key Words:  Requirement traceability, Information retrieval, Close relations, Target artifacts


Haijuan Wang, Guohua Shen, Zhiqiu Huang, Yaoshen Yu, Kai Chen. Analyzing close relations between target artifacts for improving IR-based requirement traceability recovery[J]. Frontiers of Information Technology & Electronic Engineering, 2021, 22(7): 957-968.

@article{title="Analyzing close relations between target artifacts for improving IR-based requirement traceability recovery",
author="Haijuan Wang, Guohua Shen, Zhiqiu Huang, Yaoshen Yu, Kai Chen",
journal="Frontiers of Information Technology & Electronic Engineering",
volume="22",
number="7",
pages="957-968",
year="2021",
publisher="Zhejiang University Press & Springer",
doi="10.1631/FITEE.2000126"
}

%0 Journal Article
%T Analyzing close relations between target artifacts for improving IR-based requirement traceability recovery
%A Haijuan Wang
%A Guohua Shen
%A Zhiqiu Huang
%A Yaoshen Yu
%A Kai Chen
%J Frontiers of Information Technology & Electronic Engineering
%V 22
%N 7
%P 957-968
%@ 2095-9184
%D 2021
%I Zhejiang University Press & Springer
%DOI 10.1631/FITEE.2000126

TY - JOUR
T1 - Analyzing close relations between target artifacts for improving IR-based requirement traceability recovery
A1 - Haijuan Wang
A1 - Guohua Shen
A1 - Zhiqiu Huang
A1 - Yaoshen Yu
A1 - Kai Chen
J0 - Frontiers of Information Technology & Electronic Engineering
VL - 22
IS - 7
SP - 957
EP - 968
%@ 2095-9184
Y1 - 2021
PB - Zhejiang University Press & Springer
ER -
DOI - 10.1631/FITEE.2000126


Abstract: 
requirement traceability is an important and costly task that creates trace links from requirements to different software artifacts. These trace links can help engineers reduce the time and complexity of software maintenance. The information retrieval (IR) technique has been widely used in requirement traceability. It uses the textual similarity between software artifacts to create links. However, if two artifacts do not share or share only a small number of words, the performance of the IR can be very poor. Some methods have been developed to enhance the IR by considering relations between target artifacts, but they have been limited to code rather than to other types of target artifacts. To overcome this limitation, we propose an automatic method that combines the IR method with the close relations between target artifacts. Specifically, we leverage close relations between target artifacts rather than just text matching from requirements to target artifacts. Moreover, the method is not limited to the type of target artifacts when considering the relations between target artifacts. We conduct experiments on five public datasets and take account of trace links between requirements and different types of software artifacts. Results show that under the same recall, the precisions on the five datasets improve by 40%, 8%, 20%, 4%, and 6%, respectively, compared with the baseline method. The precision on the five datasets improves by an average of 15.6%, showing that our method outperforms the baseline method when working under the same conditions.

通过分析目标制品间的紧密关系改进基于信息检索的需求追踪恢复

汪海娟1,沈国华1,2,3,黄志球1,2,3,喻垚慎1,陈凯1
1南京航空航天大学计算机科学与技术学院,中国南京市,211106
2软件新技术与产业化协同创新中心,中国南京市,211106
3高安全系统的软件开发与验证技术工信部重点实验室,中国南京市,211106
摘要:需求追踪是一项重要且昂贵的任务,它创建了从需求到不同软件制品的追踪链。这些追踪链可以帮助工程师节约软件维护时间并降低维护复杂性。信息检索技术在需求追踪中应用广泛。它使用软件制品之间的文本相似性来创建链接。然而,如果两个制品不共享或仅共享少量单词,信息检索性能可能非常差。已有一些方法通过考虑目标制品之间的关系来增强信息检索,但它们仅限于代码,而无法应用于其他类型的目标制品。为克服这一局限,本文提出一种将信息检索方法与目标制品间的紧密关系相结合的自动化方法。具体地,我们增加了对目标制品间紧密关系的考虑,而不仅仅是从需求到目标制品的文本匹配。此外,在考虑目标制品间的关系时,该方法并不局限于目标制品的类型。我们在5个公共数据集上进行了实验,并考虑了需求和不同类型的软件制品之间的追踪链。结果表明,在相同的查全率下,5个数据集的查准率较之基线方法分别提高40%、8%、20%、4%和6%。5个数据集的查准率平均提高15.6%,这表明在相同条件下,本文所提方法优于基线方法。

关键词:需求追踪;信息检索;紧密关系;目标制品

Darkslateblue:Affiliate; Royal Blue:Author; Turquoise:Article

Reference

[1]Abadi A, Nisenson M, Simionovici Y, 2008. A traceability technique for specifications. Proc 16th IEEE Int Conf on Program Comprehension, p.103-112.

[2]Antoniol G, Canfora G, Casazza G, et al., 2002. Recovering traceability links between code and documentation. IEEE Trans Softw Eng, 28(10):970-983.

[3]Armstrong BT, 2013. Can Clustering Improve Requirements Traceability? A Tracelab-Enabled Study. MS Thesis, California Polytechnic State University, San Luis Obispo, USA.

[4]Burgstaller B, Egyed A, 2010. Understanding where requirements are implemented. Proc IEEE Int Conf on Software Maintenance, p.1-5.

[5]Chen XF, Grundy J, 2011. Improving automated documentation to code traceability by combining retrieval techniques. Proc 26th IEEE/ACM Int Conf on Automated Software Engineering, p.223-232.

[6]Dekhtyar A, Hayes JH, Larsen J, 2007. Make the most of your time: how should the analyst work with automated traceability tools? Proc 3rd Int Workshop on Predictor Models in Software Engineering, Article 4.

[7]de Lucia A, Fasano F, Oliveto R, et al., 2005. ADAMS Re-Trace: a traceability recovery tool. Proc 9th European Conf on Software Maintenance and Reengineering, p.32-41.

[8]Dietrich T, Cleland-Huang J, Shin Y, 2013. Learning effective query transformations for enhanced requirements trace retrieval. Proc 28th IEEE/ACM Int Conf on Automated Software Engineering, p.586-591.

[9]Du TB, Shen GH, Huang ZQ, et al., 2020. Automatic traceability link recovery via active learning. Front Inform Technol Electron Eng, 21(8):1217-1225.

[10]Gethers M, Oliveto R, Poshyvanyk D, et al., 2011. On integrating orthogonal information retrieval methods to improve traceability recovery. Proc 27th IEEE Int Conf on Software Maintenance, p.133-142.

[11]Ghannem A, Hamdi MS, Kessentini M, et al., 2017. Search-based requirements traceability recovery: a multi-objective approach. Proc IEEE Congress on Evolutionary Computation, p.1183-1190.

[12]Gotel OCZ, Finkelstein CW, 1994. An analysis of the requirements traceability problem. Proc IEEE Int Conf on Requirements Engineering, p.94-101.

[13]Guo J, Cheng JH, Cleland-Huang J, 2017. Semantically enhanced software traceability using deep learning techniques. Proc IEEE/ACM 39th Int Conf on Software Engineering, p.3-14.

[14]Hayes JH, 2012. Be the change you want to see in requirements engineering: a letter to myself. Dagstuhl Seminar, Requirements Management-Novel Perspectives and Challenges (12442).

[15]Hayes JH, Dekhtyar A, Sundaram SK, 2005. Improving after-the-fact tracing and mapping: supporting software quality predictions. IEEE Softw, 22(6):30-37.

[16]Hayes JH, Dekhtyar A, Sundaram SK, 2006. Advancing candidate link generation for requirements tracing: the study of methods. IEEE Trans Softw Eng, 32(1):4-19.

[17]Hayes JH, Dekhtyar A, Sundaram SK, et al., 2007. REquirements TRacing On target (RETRO): improving software maintenance through traceability recovery. Innov Syst Softw Eng, 3(3):193-202.

[18]Keenan E, Czauderna A, Leach G, et al., 2012. TraceLab: an experimental workbench for equipping researchers to innovate, synthesize, and comparatively evaluate traceability solutions. Proc 34th Int Conf on Software Engineering, p.1375-1378.

[19]Kuang HY, Nie J, Hu H, et al., 2017. Analyzing closeness of code dependencies for improving IR-based traceability recovery. Proc IEEE 24th Int Conf on Software Analysis, Evolution and Reengineering, p.68-78.

[20]Leuser J, Ott D, 2010. Tackling semi-automatic trace recovery for large specifications. Proc 16th Int Working Conf on Requirements Engineering: Foundation for Software Quality, p.203-217.

[21]Lin J, Lin CC, Cleland-Huang J, et al., 2006. Poirot: a distributed tool supporting enterprise-wide automated traceability. Proc 14th IEEE Int Requirements Engineering Conf, p.363-364.

[22]Mahmoud A, Niu N, 2011. TraCter: a tool for candidate traceability link clustering. Proc IEEE 19th Int Requirements Engineering Conf, p.335-336.

[23]Mahmoud A, Niu N, 2013. Supporting requirements traceability through refactoring. Proc 21st IEEE Int Requirements Engineering Conf, p.32-41.

[24]Mahmoud A, Niu N, 2014. Supporting requirements to code traceability through refactoring. Requir Eng, 19(3):309-329.

[25]Marcus A, Maletic JI, 2003. Recovering documentation-to-source-code traceability links using latent semantic indexing. Proc 25th Int Conf on Software Engineering, p.125-135.

[26]Oliveto R, Gethers M, Poshyvanyk D, et al., 2010. On the equivalence of information retrieval methods for automated traceability link recovery. Proc IEEE 18th Int Conf on Program Comprehension, p.68-71.

[27]Panichella A, McMillan C, Moritz E, et al., 2013. When and how using structural information to improve IR-based traceability recovery. Proc 17th European Conf on Software Maintenance and Reengineering, p.199-208.

[28]Wang XB, Lai GH, Liu C, 2009. Recovering relationships between documentation and source code based on the characteristics of software engineering. Electron Notes Theor Comput Sci, 243:121-137.

[29]Zhao T, Cao QH, Sun Q, 2017. An improved approach to traceability recovery based on word embeddings. Proc 24th Asia-Pacific Software Engineering Conf, p.81-89.

[30]Zou XC, Settimi R, Cleland-Huang J, 2006. Phrasing in dynamic requirements trace retrieval. Proc 30th Annual Int Computer Software and Applications Conf, p.265-272.

[31]Zou XC, Settimi R, Cleland-Huang J, 2010. Improving automated requirements trace retrieval: a study of term-based enhancement methods. Empir Softw Eng, 15(2):119-146.

Open peer comments: Debate/Discuss/Question/Opinion

<1>

Please provide your name, email address and a comment





Journal of Zhejiang University-SCIENCE, 38 Zheda Road, Hangzhou 310027, China
Tel: +86-571-87952783; E-mail: cjzhang@zju.edu.cn
Copyright © 2000 - 2024 Journal of Zhejiang University-SCIENCE