Matching dependence-related queries in the system dependence graph | |
Wang, Xiaoyin ; Lo, David ; Cheng, Jiefeng ; Zhang, Lu ; Mei, Hong ; Yu, Jeffrey Xu | |
2010 | |
英文摘要 | In software maintenance and evolution, it is common that developers want to apply a change to a number of similar places. Due to the size and complexity of the code base, it is challenging for developers to locate all the places that need the change. A main challenge in locating the places that need the change is that, these places share certain common dependence conditions but existing code searching techniques can hardly handle dependence relations satisfactorily. In this paper, we propose a technique that enables developers to make queries involving dependence conditions and textual conditions on the system dependence graph of the program. We carried out an empirical evaluation on four searching tasks taken from the development history of two real-world projects. The results of our evaluation indicate that, compared with code-clone detection, our technique is able to locate many required code elements that code-clone detection cannot locate, and compared with text search, our technique is able to effectively reduce false positives without losing any required code elements. ? 2010 ACM.; EI; 0 |
语种 | 英语 |
DOI标识 | 10.1145/1858996.1859091 |
内容类型 | 其他 |
源URL | [http://ir.pku.edu.cn/handle/20.500.11897/329545] ![]() |
专题 | 信息科学技术学院 |
推荐引用方式 GB/T 7714 | Wang, Xiaoyin,Lo, David,Cheng, Jiefeng,et al. Matching dependence-related queries in the system dependence graph. 2010-01-01. |
个性服务 |
查看访问统计 |
相关权益政策 |
暂无数据 |
收藏/分享 |
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。
修改评论