期刊文献+
共找到1篇文章
< 1 >
每页显示 20 50 100
Context-Aware Change Pattern for Code Transformation 被引量:1
1
作者 LIU Zhiping 《Wuhan University Journal of Natural Sciences》 CAS CSCD 2018年第4期355-361,共7页
When source code is over-specific to some concrete contexts, developers have to manually change the source code retrieved from the Internet. To solve this problem, we propose the context-aware change pattern(CACP). ... When source code is over-specific to some concrete contexts, developers have to manually change the source code retrieved from the Internet. To solve this problem, we propose the context-aware change pattern(CACP). For a piece of source code, we extract the changes and changes-relevant context from the past code changes, identifying CACP that is the abstract common part of the changes and context. By using CACP, the retrieved source code could be transformed into the suitable one according to different user needs. From the Github we extracted 7 topics, collected 5-6 code snippets per topic and performed 5 different experiments which illustrated that CACP improves code transformation accuracy by 73.84%. 展开更多
关键词 code transformation context-aware change pattern code change
下载PDF
上一页 1 下一页 到第 页
使用帮助 返回顶部