期刊文献+

Graph Embedding Based API Graph Search and Recommendation 被引量:3

原文传递
导出
摘要 Searching application programming interfaces (APIs) is very important for developers to reuse software projects. Existing natural language based API search mainly faces the following challenges. 1) More accurate results are required as software projects evolve to be more heterogeneous and complex. 2) The semantic relationships between APIs (e.g., inheritances between classes, and invocations between methods) need to be illustrated so that developers can better understand their usage scenarios. To deal with these issues, we propose GeAPI, a novel graph embedding based approach for API graph search and recommendation in this paper. First, we build a software project’s API graph automatically from its source code and represent each API using graph embedding methods. Second, we search the API graph with a question in natural language, and return the corresponding subgraph that is composed of relevant code elements and their associated relationships, as the best answer of the question. In experiments, we select three well-known open source projects, JodaTime, Apache Lucene and POI, as examples to perform API search tasks. The experimental results show that our approach GeAPI improves F1-score by 10% compared with the existing shortest path based API search approach, while reduces the average response time about 60 times.
出处 《Journal of Computer Science & Technology》 SCIE EI CSCD 2019年第5期993-1006,共14页 计算机科学技术学报(英文版)
  • 相关文献

参考文献1

二级参考文献7

  • 1Biggerstaff T J. Mitbander B G,Webster D. The concept assign-ment problem in program understanding[C]//Proceedings of the 15th International Conference on Software Engineering. IEEE Computer Society Press, 1993 : 482-498. 被引量:1
  • 2Dit B, Revelle M, Gethers M, et al. Feature Location in Source Code: A Taxonomy and Survey[J]. Journal of Software: Evolu- tion and Process,2013,25(1) :53-95. 被引量:1
  • 3Trifu M. Using Dataflow Information for Concern Identification in Object-Oriented Software Systems[C]//Proceedings of Euro- pean Conference on Software Maintenance and Reengineering (CSMR' 08). 2008:193-202. 被引量:1
  • 4Robillard M P. To pology Analysis of Software Dependencies [J]. ACM Transactions on Software Engineering and Metho- dology, 2008,17 (4) : 1-36. 被引量:1
  • 5Wong W E, Gokhale S S, Horgan J R, et al. Locating program features using execution slices[C]//Proceedings of IEEE Sym- posium on Application-Specific Systems and Software Enginee- ring and Technology (ASSET'99). March 1999: 194 -203. 被引量:1
  • 6Eisenberg A D, De Voider K. Dynamic Feature Traces: Finding Features in Unfamiliar Code[C]//Proceedings of 21st IEEE In- ternational Conference on Software Maintenance (ICSM' 05 ). Buda pest, Hungary, September 2005 : 337-346. 被引量:1
  • 7Zhao W, Zhang L, Liu Y, et al. SNIAFL: Towards a Static Non - interactive Approach to Feature Location [J]. ACM Transac- tions on Software Engineering and Methodologies (TOS[M), 2006,15(2).,195- 226. 被引量:1

共引文献3

同被引文献23

引证文献3

二级引证文献10

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部