Supporting Web-Based API Searches in the IDE Using Signatures
Nick C. Bradley, Thomas Fritz, Reid Holmes
摘要
Developers frequently use the web to locate API examples that help them solve their programming tasks. While sites like Stack Overflow (SO) contain API examples embedded within their textual descriptions, developers cannot access this API knowledge directly. Instead they need to search for and browse results to select relevant SO posts and then read through individual posts to figure out which answers contain information about the APIs that are relevant to their task. This paper introduces an approach, called Scout, that automatically analyzes search results to extract API signature information. These signatures are used to group and rank examples and allow for a unique API-based presentation that reduces the amount of information the developer needs to consider when looking for API information on the web. This succinct representation enables Scout to be integrated fully within an IDE panel so that developers can search and view API examples without losing context on their development task. Scout also uses this integration to automatically augment queries with contextual information that tailors the developer's queries, and ranks the results according to the developer's needs. In an experiment with 40 developers, we found that Scout reduces the number of queries developers need to perform by 19% and allows them to solve almost half their tasks directly from the API-based representation, reducing the number of complete SO posts viewed by approximately 64%.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
它引用的 Paper5
- When the Tab Comes Due: Challenges in the Cost Structure of Browser Tab UsageJoseph Chee Chang, Nathan Hahn, Yongsung Kim, Julina Coupland 等CHI 2021 · 24 次引用
- Recommending stack overflow posts for fixing runtime exceptions using failure scenario matchingSonal Mahajan, Negarsadat Abolhassani, Mukul R. PrasadFSE 2020 · 21 次引用
- Characterizing search activities on stack overflowJiakun Liu, Sebastian Baltes, Christoph Treude, David Lo 等FSE 2021 · 16 次引用
- Supporting Software Developers' Focused Work on Window-Based DesktopsJan Pilzer, Raphael Rosenast, André N. Meyer, Elaine M. Huang 等CHI 2020 · 8 次引用
- Do you really code? Designing and Evaluating Screening Questions for Online Surveys with ProgrammersAnastasia Danilova, Alena Naiakshina, Stefan Horstmann, Matthew SmithICSE 2021 · 5 次引用
相关 Paper
- Digging for fold: synthesis-aided API discovery for HaskellMichael B. James, Zheng Guo, Ziteng Wang, Shivani Doshi 等OOPSLA 2020 · 19 次引用
- Generating Concept based API Element Comparison Using a Knowledge GraphYang Liu, Mingwei Liu, Xin Peng, Christoph Treude 等ASE 2020 · 28 次引用
- Improving API Knowledge Discovery with ML: A Case Study of Comparable API MethodsDaye Nam, Brad A. Myers, Bogdan Vasilescu, Vincent J. HellendoornICSE 2023 · 6 次引用
- An Analysis of the Costs and Benefits of Autocomplete in IDEsShaokang Jiang, Michael CoblenzFSE 2024 · 5 次引用
- ScrAPIr: Making Web Data APIs Accessible to End UsersTarfah Alrashed, Jumana Almahmoud, Amy X. Zhang, David R. KargerCHI 2020 · 16 次引用
