CORC  > 北京大学  > 信息科学技术学院
Understanding how the requirements are implemented in source code
Zhao, W ; Zhang, L ; Liu, Y ; Luo, J ; Sun, JS
2003
关键词program comprehension software maintenance traceability information retrieval static analysis TRACEABILITY SYSTEMS
英文摘要For software maintenance and evolution, a common problem is to understand how each requirement is implemented in the source code. The basic solution of this problem is to find the fragment of source code that is corresponding to the implementation of each requirement. This can be viewed as a requirement-slicing problem --slicing the source code according to each individual requirement. In this paper, we present an approach to find the set of functions that is corresponding to each requirement. The main idea of our method is to combine the information retrieval technology with the static analysis of source code structures. First, we retrieve the initial function sets through some information retrieval model using functional requirements as the queries and identifier information (such as function names, parameter names, variable names etc.) of functions in the source code as target documents. Then we complement each retrieved initial function set by analyzing the call graph extracted from the source code. A premise of our approach is that programmers should use meaningful names as identifiers. Furthermore, we perform an experimental study based on a GNU system. We use two basic metrics: precision and recall (which are the common practice in the information retrieval field), to evaluate our approach. We also compare the results directly acquired from information retrieval with those that are complemented through static source code structure analysis.; Computer Science, Software Engineering; CPCI-S(ISTP); 4
语种英语
内容类型其他
源URL[http://ir.pku.edu.cn/handle/20.500.11897/406972]  
专题信息科学技术学院
推荐引用方式
GB/T 7714
Zhao, W,Zhang, L,Liu, Y,et al. Understanding how the requirements are implemented in source code. 2003-01-01.
个性服务
查看访问统计
相关权益政策
暂无数据
收藏/分享
所有评论 (0)
暂无评论
 

除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。


©版权所有 ©2017 CSpace - Powered by CSpace