arrow
返回

MACs: Mining API code snippets for code reuse

delete2011-06-01
delete16
PRE
AI
H
Hsu, Sheng-Kuei *
L
Lin, Shi-Jen
DOI:10.1016/j.eswa.2010.12.021delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
We apply data mining to source code projects to guide developers through related API usage patterns: Developers who code the program statement also code... Given a set of source code files, the mined association rules suggest related code snippets to form the components of object-oriented programs. The mined sequential rules predict likely additional API sequences within a method. After an initial program statement is given, our MACs prototype can correctly predict useful related API code snippets. In our evaluation, we present two studies investigating the usefulness of MACs in software development tasks. One study evaluated the utility of MACs's association pattern recommendations. The other evaluated usefulness of sequential pattern recommendations, and both drew from a sample of eight source code projects from SourceForge.net. Our experimental evaluation shows that MACs has significant potential to assist developers, especially API newcomers, and provides an alternative method for code reuse. (c) 2010 Elsevier Ltd. All rights reserved.
Keyword:
Mining software repositories
API usage pattern
Code reuse
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Expert Systems with Applications 封面图
Expert Systems with Applications
IF:
7.5
论文数:
3.0W
被引数:
11.4W

机构

N
National Central University
学者数:
375
论文数: 157
被引数: 0
引用论文

引用论文

Mining version histories to guide software changes
err2005-06-01
err469
PREAI
errZimmermann, T; Weissgerber, P; Diehl, S; Zeller, A
err分享
err收藏
err分享
err收藏
err分享
err收藏
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
学者 查看更多内容