Lune

ICSE2024Top-tier venue

Supporting Web-Based API Searches in the IDE Using Signatures

Nick C. Bradley, Thomas Fritz, Reid Holmes

Abstract

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%.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on5

  1. When the Tab Comes Due: Challenges in the Cost Structure of Browser Tab UsageJoseph Chee Chang, Nathan Hahn, Yongsung Kim, Julina Coupland et al.CHI 2021 · 24 citations
  2. Recommending stack overflow posts for fixing runtime exceptions using failure scenario matchingSonal Mahajan, Negarsadat Abolhassani, Mukul R. PrasadFSE 2020 · 21 citations
  3. Characterizing search activities on stack overflowJiakun Liu, Sebastian Baltes, Christoph Treude, David Lo et al.FSE 2021 · 16 citations
  4. Supporting Software Developers' Focused Work on Window-Based DesktopsJan Pilzer, Raphael Rosenast, André N. Meyer, Elaine M. Huang et al.CHI 2020 · 8 citations
  5. Do you really code? Designing and Evaluating Screening Questions for Online Surveys with ProgrammersAnastasia Danilova, Alena Naiakshina, Stefan Horstmann, Matthew SmithICSE 2021 · 5 citations

Related papers

  1. Digging for fold: synthesis-aided API discovery for HaskellMichael B. James, Zheng Guo, Ziteng Wang, Shivani Doshi et al.OOPSLA 2020 · 19 citations
  2. Generating Concept based API Element Comparison Using a Knowledge GraphYang Liu, Mingwei Liu, Xin Peng, Christoph Treude et al.ASE 2020 · 28 citations
  3. Improving API Knowledge Discovery with ML: A Case Study of Comparable API MethodsDaye Nam, Brad A. Myers, Bogdan Vasilescu, Vincent J. HellendoornICSE 2023 · 6 citations
  4. An Analysis of the Costs and Benefits of Autocomplete in IDEsShaokang Jiang, Michael CoblenzFSE 2024 · 5 citations
  5. ScrAPIr: Making Web Data APIs Accessible to End UsersTarfah Alrashed, Jumana Almahmoud, Amy X. Zhang, David R. KargerCHI 2020 · 16 citations
Dusk over the sea between two cliffs drawn in fine vertical lines