首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于函数调用路径的软件实现与设计一致性验证
引用本文:牟永敏,杨志嘉.基于函数调用路径的软件实现与设计一致性验证[J].中国科学:信息科学,2014(10):1290-1304.
作者姓名:牟永敏  杨志嘉
作者单位:北京信息科技大学计算机开放系统实验室;
基金项目:国家自然科学基金(批准号:61370129);北京市属高等学校创新团队建设与教师职业发展计划(批准号:IDHT20130519);北京市学科与研究生教育基金(批准号:PXM2014,014224,000032)资助项目
摘    要:软件系统开发完成后,验证其是否完成了软件设计说明书的所有功能并且与设计算法一致,是软件测试的一项重要工作.通过人工遍历分析源代码来完成实现与设计的一致性验证是复杂费力的,并且需要测试人员具备丰富的编程经验和较强的算法分析能力.论文提出了一种基于函数调用路径的软件实现自动验证方法.从设计文档和源代码两个方面出发,分别分析其函数调用关系,提取函数调用路径,生成功能簇模型.其中文档方面通过人工理解设计文档,确定函数调用关系,然后自动生成标准功能簇模型;源代码方面通过静态分析,自动获取函数调用关系,提取功能点特征,利用这些特征提取功能点的具体实现算法,自动生成软件的实际功能簇模型.对比两个功能簇模型,验证软件实现与设计的一致性.实验结果表明:算法能够准确获得软件系统的功能结构及实现算法特征,对软件实现与设计的一致性做出有效判定,为软件实现与设计的一致性自动化测试提出一种新的思路.

关 键 词:软件设计  软件实现  一致性  验证  函数调用路径  功能提取  程序理解

Verify consistency of software implementation and design based on function call path
MU YongMin,YANG ZhiJia.Verify consistency of software implementation and design based on function call path[J].Scientia Sinica Techologica,2014(10):1290-1304.
Authors:MU YongMin  YANG ZhiJia
Institution:(Open Computer System Laboratory, Computer School, Beijing Information Science & Technology University, Beijing 100101, China)
Abstract:Whether the developed software system completed all functions in the software design specification and consistent with the design algorithm is an important work in software testing. Analysis of the source code artificial and verify whether the software system is to meet the requirements of the design specification is laborious job. Testers need to have rich experience in programming and strong ability of algorithm analysis. This paper proposes a method to verify consistency of software implementation and design based on function call path. The method can be summarized as analyze the calling relationship of functions from design specifications and source code, extraction function calling path, generation function cluster model. In documents aspect, the function calling relationship can be got by manual analysis of the design specification, then the designed function cluster model can be generated automatically. We can get function calling relationship, function features by static analysis of source code and the specific implementations of function with those features. Finally, compare the two function cluster model to verify that the consistency of software implementation and design. The experimental results showed that this method can obtain the system function structure and algorithm features accurately, make effective judgment of the consistency of the design specification and the software implementation, provides a new way to verify the consistency of software implementation and design.
Keywords:software design  software implementation  consistency  verification  function call path  function extraction  program comprehension
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号