计算机科学 ›› 2017, Vol. 44 ›› Issue (Z11): 480-484.doi: 10.11896/j.issn.1002-137X.2017.11A.102

• 综合、交叉与应用 • 上一篇    下一篇

功能需求到测试用例的可追溯性研究

翟宇鹏,洪玫,杨秋辉   

  1. 四川大学计算机学院 成都610065,四川大学计算机学院 成都610065,四川大学计算机学院 成都610065
  • 出版日期:2018-12-01 发布日期:2018-12-01

Research on Traceability of Functional Requirements to Test Case

ZHAI Yu-peng, HONG Mei and YANG Qiu-hui   

  • Online:2018-12-01 Published:2018-12-01

摘要: 软件开发主要由需求收集、设计、实现、测试和维护等几个阶段构成,其中维护始终是主要开销。在维护阶段,开发人员必须理解程序才能定位缺陷,而系统的需求和源代码、测试用例等之间的可追溯性连接能帮助减少开发人员在理解程序时的工作量。研究现有的功能定位技术和可追溯性方法,通过对现有方法的改进,提出了一种集成动态执行信息和IR技术的方案来建立需求到测试用例的可追溯性连接,用以辅助开发人员在维护阶段的工作。

关键词: 软件开发,软件维护,需求可追溯性,功能定位

Abstract: Software development mainly comprises of requirements gathering,design,development,testing and maintenance.Maintenance is the main cost in the lifetime of software.During maintenance,developers have to understand program in order to locate the defect.The traceability links among requirements,source code and test cases can effectively help developers to understand the program.In this paper,the existing feature location methods and traceability methods were analyzed.Based these existing methods,an improved method which integrates dynamic execution information and information retrieval was proposed.This method can assist developers during the maintenance by establishing traceability links between requirements and test cases.

Key words: Software development,Software maintenance,Requirements traceability,Feature location

[1] DAGENAIS B,OSSHER H,BELLAMY R K E,et al.Moving into a new software project landscape[C]∥Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering.ACM,2010:275-284.
[2] LIU D,MARCUS A,POSHYVANYK D,et al.Feature location via information retrieval based filtering of a single scenario execution trace[C]∥Proceedings of the Twenty-second IEEE/ACM International Conference on Automated Software Engineering.ACM,2007:234-243.
[3] WILDE N,CASEY C.Early field experience with the software reconnaissance technique for program comprehension[C]∥International Conference on Software Maintenance.IEEE,1996:312-318.
[4] ABADI A,NISENSON M,SIMIONOVICI Y.A TraceabilityTechnique for Specifications[C]∥ICPC.2008:103-112.
[5] ANTONIOL G,CANFORA G,CASAZZA G,et al.Recovering traceability links between code and documentation[J].IEEE Transactions on Software Engineering,2002,28(10):970-983.
[6] MARCUS A,MALETIC J I.Recovering documentation-to-sour-ce-code traceability links using latent semantic indexing[C]∥25th International Conference on Software Engineering.IEEE,2003:125-135.
[7] POSHYVANYK D,GUHNEUC Y G,MARCUS A,et al.Feature location using probabilistic ranking of methods based on execution scenarios and information retrieval[J].IEEE Tran-sactions on Software Engineering,2007,33(6):420-432.
[8] DIT B,REVELLE M,GETHERS M,et al.Feature location in source code:a taxonomy and survey[J].Journal of Software:Evolution and Process,2013,25(1):53-95.
[9] EADDY M,AHO A V,ANTONIOL G,et al.Cerberus:Tracing requirements to source code using information retrieval,dynamic analysis,and program analysis[C]∥The 16th IEEE Internatio-nal Conference on Program Comprehension(ICPC 2008).IEEE,2008:53-62.
[10] WONG W E,GOKHALE S S,HORGAN J R,et al.Locating program features using execution slices[C]∥1999 IEEE Symposium on Application-Specific Systems and Software Enginee-ring and Technology(ASSET’99).IEEE,1999:194-203.
[11] PETRENKO M,RAJLICH V.Concept location using program dependencies and information retrieval (DepIR)[J].Information and Software Technology,2013,55(4):651-659.
[12] ALI N,SABAN A,GUHNEUC Y G,et al.Improving bug location using binary class relationships[C]∥2012 IEEE 12th International Working Conference on Source Code Analysis and Manipulation (SCAM).IEEE,2012:174-183.
[13] DIT B,REVELLE M,POSHYVANYK D.Integrating information retrieval,execution and link analysis algorithms to improve feature location in software[J].Empirical Software Enginee-ring,2013,18(2):277-309.
[14] http://sourceforge.net/projects/muttracer.
[15] LIU D,MARCUS A,POSHYVANYK D,et al.Feature location via information retrieval based filtering of a single scenario execution trace[C]∥Proceedings of the Twenty-second IEEE/ACM International Conference on Automated Software Engineering.ACM,2007:234-243.

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!