中文
相关论文

相关论文: APIzation: Generating Reusable APIs from StackOver…

200 篇论文

Modern software relies on libraries and uses them via application programming interfaces (APIs). Correct API usage as well as many software engineering tasks are enabled when APIs have formal specifications. In this work, we analyze the…

软件工程 · 计算机科学 2019-05-17 John L. Singleton , Gary T. Leavens , Hridesh Rajan , David R. Cok

An abstractive snippet is an originally created piece of text to summarize a web page on a search engine results page. Compared to the conventional extractive snippets, which are generated by extracting phrases and sentences verbatim from a…

信息检索 · 计算机科学 2020-03-17 Wei-Fan Chen , Shahbaz Syed , Benno Stein , Matthias Hagen , Martin Potthast

Inferring the types of API elements in incomplete code snippets (e.g., those on Q&A forums) is a prepositive step required to work with the code snippets. Existing type inference methods can be mainly categorized as constraint-based or…

软件工程 · 计算机科学 2024-02-16 Zhixiang Chen , Anji Li , Neng Zhang , Jianguo Chen , Yuan Huang , Zibin Zheng

We introduce program splicing, a programming methodology that aims to automate the commonly used workflow of copying, pasting, and modifying code available online. Here, the programmer starts by writing a "draft" that mixes unfinished code,…

编程语言 · 计算机科学 2017-05-26 Yanxin Lu , Swarat Chaudhuri , Chris Jermaine , David Melski

Software developers often submit questions to technical Q&A sites like Stack Overflow (SO) to resolve code-level problems. In practice, they include example code snippets with questions to explain the programming issues. Existing research…

软件工程 · 计算机科学 2024-07-16 Saikat Mondal , Banani Roy

Developers spend much of their time reading and browsing source code, raising new opportunities for summarization methods. Indeed, modern code editors provide code folding, which allows one to selectively hide blocks of code. However this…

Reusing code is a common practice in software development: It helps developers speedup the implementation task while also reducing the chances of introducing bugs, given the assumption that the reused code has been tested, possibly in…

软件工程 · 计算机科学 2022-08-17 Rosalia Tufano , Emad Aghajani , Gabriele Bavota

An important goal for programmers is to minimize cost of identifying and correcting defects in source code. Code review is commonly used for identifying programming defects. However, manual code review has some shortcomings: a) it is time…

软件工程 · 计算机科学 2018-09-13 Balwinder Sodhi , Shipra Sharma

Programmers often search for usage examples for API methods. A tool that could generate realistic, idiomatic, and contextual usage examples for one or more APIs would be immensely beneficial to developers. Such a tool would relieve the need…

软件工程 · 计算机科学 2023-12-27 Manish Shetty , Koushik Sen , Ion Stoica

Code comments can help in program comprehension and are considered as important artifacts to help developers in software maintenance. However, the comments are mostly missing or are outdated, specially in complex software projects. As a…

软件工程 · 计算机科学 2021-03-22 Ramin Shahbazi , Rishab Sharma , Fatemeh H. Fard

Suboptimal code is prevalent in software systems. Developers often write low-quality code due to factors like technical knowledge gaps, insufficient experience, time pressure, management decisions, or personal factors. Once integrated, the…

Web API specifications are machine-readable descriptions of APIs. These specifications, in combination with related tooling, simplify and support the consumption of APIs. However, despite the increased distribution of web APIs,…

软件工程 · 计算机科学 2018-01-29 Jinqiu Yang , Erik Wittern , Annie T. T. Ying , Julian Dolby , Lin Tan

Software developers often look for solutions to their code-level problems using the Stack Overflow Q&A website. To receive help, developers frequently submit questions containing sample code segments and the description of the programming…

软件工程 · 计算机科学 2021-12-28 Saikat Mondal , Mohammad Masudur Rahman , Chanchal K. Roy , Kevin Schneider

Nowadays, developers often reuse existing APIs to implement their programming tasks. A lot of API usage patterns are mined to help developers learn API usage rules. However, there are still many missing variables to be synthesized when…

软件工程 · 计算机科学 2021-03-23 Qi Shen , Shijun Wu , Yanzhen Zou , Bing Xie

Application Programming Interfaces (APIs), which encapsulate the implementation of specific functions as interfaces, greatly improve the efficiency of modern software development. As numbers of APIs spring up nowadays, developers can hardly…

软件工程 · 计算机科学 2021-12-24 Yun Peng , Shuqing Li , Wenwei Gu , Yichen Li , Wenxuan Wang , Cuiyun Gao , Michael Lyu

RESTful APIs are a type of web services that are widely used in industry. In the last few years, a lot of effort in the research community has been spent in designing novel techniques to automatically fuzz those APIs to find faults in them.…

软件工程 · 计算机科学 2022-07-11 Man Zhang , Andrea Arcuri

Generating and maintaining API documentation with integrity and consistency can be time-consuming and expensive for evolving APIs. To solve this problem, several approaches have been proposed to automatically generate high-quality API…

软件工程 · 计算机科学 2023-03-24 Shujun Wang , Yongqiang Tian , Dengcheng He

Since programming concepts do not match their syntactic representations, code search is a very tedious task. For instance in Java or C, array doesn't match [], so using "array" as a query, one cannot find what they are looking for. Often…

信息检索 · 计算机科学 2019-04-01 Deepak Thukral , Darvesh Punia

Developers increasingly take to the Internet for code snippets to integrate into their programs. To save developers the time required to switch from their development environments to a web browser in the quest for a suitable code snippet,…

软件工程 · 计算机科学 2017-08-03 Brock Angus Campbell , Christoph Treude

Understanding the correct API usage sequences is one of the most important tasks for programmers when they work with unfamiliar libraries. However, programmers often encounter obstacles to finding the appropriate information due to either…

软件工程 · 计算机科学 2022-05-04 James Martin , Jin L. C. Guo