Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

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

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

  • Research Articles
  • Published:
Frontiers of Information Technology & Electronic Engineering Aims and scope Submit manuscript

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.

摘要

需求追踪是一项重要且昂贵的任务,它创建了从需求到不同软件制品的追踪链。这些追踪链可以帮助工程师节约软件维护时间并降低维护复杂性。信息检索技术在需求追踪中应用广泛。它使用软件制品之间的文本相似性来创建链接。然而,如果两个制品不共享或仅共享少量单词,信息检索性能可能非常差。已有一些方法通过考虑目标制品之间的关系来增强信息检索,但它们仅限于代码,而无法应用于其他类型的目标制品。为克服这一局限,本文提出一种将信息检索方法与目标制品间的紧密关系相结合的自动化方法。具体地,我们增加了对目标制品间紧密关系的考虑,而不仅仅是从需求到目标制品的文本匹配。此外,在考虑目标制品间的关系时,该方法并不局限于目标制品的类型。我们在5个公共数据集上进行了实验,并考虑了需求和不同类型的软件制品之间的追踪链。结果表明,在相同的查全率下,5个数据集的查准率较之基线方法分别提高40%、8%、20%、4%和6%。5个数据集的查准率平均提高15.6%,这表明在相同条件下,本文所提方法优于基线方法。

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

References

  • Abadi A, Nisenson M, Simionovici Y, 2008. A traceability technique for specifications. Proc 16th IEEE Int Conf on Program Comprehension, p.103–112. https://doi.org/10.1109/ICPC.2008.30

  • Antoniol G, Canfora G, Casazza G, et al., 2002. Recovering traceability links between code and documentation. IEEE Trans Softw Eng, 28(10):970–983. https://doi.org/10.1109/TSE.2002.1041053

    Article  Google Scholar 

  • Armstrong BT, 2013. Can Clustering Improve Requirements Traceability? A Tracelab-Enabled Study. MS Thesis, California Polytechnic State University, San Luis Obispo, USA. https://doi.org/10.15368/theses.2013.231

    Book  Google Scholar 

  • Burgstaller B, Egyed A, 2010. Understanding where requirements are implemented. Proc IEEE Int Conf on Software Maintenance, p.1–5. https://doi.org/10.1109/ICSM.2010.5609699

  • 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. https://doi.org/10.1109/ASE.2011.6100057

  • 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. https://doi.org/10.1109/PROMISE.2007.8

  • de Lucia A, Fasano F, Oliveto R, et al., 2005. ADAMS ReTrace: a traceability recovery tool. Proc 9th European Conf on Software Maintenance and Reengineering, p.32–41. https://doi.org/10.1109/CSMR.2005.7

  • 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. https://doi.org/10.1109/ASE.2013.6693117

  • 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. https://doi.org/10.1631/FITEE.1900222

    Article  Google Scholar 

  • 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. https://doi.org/10.1109/ICSM.2011.6080780

  • 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. https://doi.org/10.1109/CEC.2017.7969440

  • Gotel OCZ, Finkelstein CW, 1994. An analysis of the requirements traceability problem. Proc IEEE Int Conf on Requirements Engineering, p.94–101. https://doi.org/10.1109/ICRE.1994.292398

  • 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. https://doi.org/10.1109/ICSE.2017.9

  • 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).

  • Hayes JH, Dekhtyar A, Sundaram SK, 2005. Improving after-the-fact tracing and mapping: supporting software quality predictions. IEEE Softw, 22(6):30–37. https://doi.org/10.1109/MS.2005.156

    Article  Google Scholar 

  • 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. https://doi.org/10.1109/TSE.2006.3

    Article  Google Scholar 

  • 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. https://doi.org/10.1007/s11334-007-0024-1

    Article  Google Scholar 

  • 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. https://doi.org/10.1109/ICSE.2012.6227244

  • 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. https://doi.org/10.1109/SANER.2017.7884610

  • 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. https://doi.org/10.1007/978-3-642-14192-8_19

  • 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. https://doi.org/10.1109/RE.2006.48

  • Mahmoud A, Niu N, 2011. TraCter: a tool for candidate traceability link clustering. Proc IEEE 19th Int Requirements Engineering Conf, p.335–336. https://doi.org/10.1109/RE.2011.6051663

  • Mahmoud A, Niu N, 2013. Supporting requirements traceability through refactoring. Proc 21st IEEE Int Requirements Engineering Conf, p.32–41. https://doi.org/10.1109/RE.2013.6636703

  • Mahmoud A, Niu N, 2014. Supporting requirements to code traceability through refactoring. Requir Eng, 19(3):309–329. https://doi.org/10.1007/s00766-013-0197-0

    Article  Google Scholar 

  • 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. https://doi.org/10.1109/ICSE.2003.1201194

  • 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. https://doi.org/10.1109/ICPC.2010.20

  • 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. https://doi.org/10.1109/CSMR.2013.29

  • 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. https://doi.org/10.1016/j.entcs.2009.07.009

    Article  Google Scholar 

  • 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. https://doi.org/10.1109/APSEC.2017.14

  • 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. https://doi.org/10.1109/COMPSAC.2006.66

  • 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. https://doi.org/10.1007/s10664-009-9114-z

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Contributions

Haijuan WANG designed the research, processed the data, and drafted the manuscript. Guohua SHEN and Zhiqiu HUANG helped organize the manuscript. Yaoshen YU and Kai CHEN revised and finalized the paper.

Corresponding author

Correspondence to Guohua Shen  (沈国华).

Additional information

Compliance with ethics guidelines

Haijuan WANG, Guohua SHEN, Zhiqiu HUANG, Yaoshen YU, and Kai CHEN declare that they have no conflict of interest.

Project supported by the National Key Research and Development Program, China (No. 2018YFB1003902), the National Natural Science Foundation of China (No. 61772270), and the Funding of the Key Laboratory of Safety-Critical Software (No. 1015-XCA1816403)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wang, H., Shen, G., Huang, Z. et al. Analyzing close relations between target artifacts for improving IR-based requirement traceability recovery. Front Inform Technol Electron Eng 22, 957–968 (2021). https://doi.org/10.1631/FITEE.2000126

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1631/FITEE.2000126

Key words

关键词

CLC number