Supporting Web-Based API Searches in the IDE Using Signatures
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 brows...
Gespeichert in:
| Veröffentlicht in: | Proceedings / International Conference on Software Engineering S. 2295 - 2306 |
|---|---|
| Hauptverfasser: | , , |
| Format: | Tagungsbericht |
| Sprache: | Englisch |
| Veröffentlicht: |
ACM
14.04.2024
|
| Schlagworte: | |
| ISSN: | 1558-1225 |
| Online-Zugang: | Volltext |
| Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
| 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%. |
|---|---|
| AbstractList | 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%. |
| Author | Bradley, Nick C. Holmes, Reid Fritz, Thomas |
| Author_xml | – sequence: 1 givenname: Nick C. surname: Bradley fullname: Bradley, Nick C. email: ncbrad@cs.ubc.ca organization: The University of British Columbia,Canada – sequence: 2 givenname: Thomas surname: Fritz fullname: Fritz, Thomas email: fritz@ifi.uzh.ch organization: University of Zurich,Switzerland – sequence: 3 givenname: Reid surname: Holmes fullname: Holmes, Reid email: rtholmes@cs.ubc.ca organization: The University of British Columbia,Canada |
| BookMark | eNotj7FOwzAUAA0CiVIyszD4B1L8bL84b2AopUCkSiCliLF6jt02EqRRnA78PSCYbjmddJfirDt0UYhrUDMAi7cGyaEyM1MYUiWdiIwclVYppzQ4eyomgFjmoDVeiCyl1iu0Bl1hzUTc1ce-Pwxj2-3ke_T5PacY5Py1knXkodnHJNtOjvsoq4elfEu_Xt3uOh6PQ0xX4nzLHylm_5yK9eNyvXjOVy9P1WK-yhkIxpw8KstMpbelwYCNDbxVHjVr9KAbhOAcBYhF0TAXJQVjglKaG2JAMFNx85dtY4ybfmg_efjawM8GgSHzDd-rSK4 |
| CODEN | IEEPAD |
| ContentType | Conference Proceeding |
| DBID | 6IE 6IH CBEJK RIE RIO |
| DOI | 10.1145/3597503.3639089 |
| DatabaseName | IEEE Electronic Library (IEL) Conference Proceedings IEEE Proceedings Order Plan (POP) 1998-present by volume IEEE Xplore All Conference Proceedings IEEE Electronic Library (IEL) IEEE Proceedings Order Plans (POP) 1998-present |
| DatabaseTitleList | |
| Database_xml | – sequence: 1 dbid: RIE name: IEEE Electronic Library (IEL) url: https://ieeexplore.ieee.org/ sourceTypes: Publisher |
| DeliveryMethod | fulltext_linktorsrc |
| Discipline | Computer Science |
| EISBN | 9798400702174 |
| EISSN | 1558-1225 |
| EndPage | 2306 |
| ExternalDocumentID | 10549139 |
| Genre | orig-research |
| GroupedDBID | -~X .4S .DC 29O 5VS 6IE 6IF 6IH 6IK 6IL 6IM 6IN 8US AAJGR AAWTH ABLEC ADZIZ ALMA_UNASSIGNED_HOLDINGS ARCSS AVWKF BEFXN BFFAM BGNUA BKEBE BPEOZ CBEJK CHZPO EDO FEDTE I-F IEGSK IJVOP IPLJI M43 OCL RIE RIL RIO |
| ID | FETCH-LOGICAL-a191t-9b504aa98b4835d5c4daf0b52a25b12c51d779d1e66caa689d33d002ac9a1513 |
| IEDL.DBID | RIE |
| IngestDate | Wed Aug 27 01:52:49 EDT 2025 |
| IsPeerReviewed | false |
| IsScholarly | true |
| Language | English |
| LinkModel | DirectLink |
| MergedId | FETCHMERGED-LOGICAL-a191t-9b504aa98b4835d5c4daf0b52a25b12c51d779d1e66caa689d33d002ac9a1513 |
| PageCount | 12 |
| ParticipantIDs | ieee_primary_10549139 |
| PublicationCentury | 2000 |
| PublicationDate | 2024-April-14 |
| PublicationDateYYYYMMDD | 2024-04-14 |
| PublicationDate_xml | – month: 04 year: 2024 text: 2024-April-14 day: 14 |
| PublicationDecade | 2020 |
| PublicationTitle | Proceedings / International Conference on Software Engineering |
| PublicationTitleAbbrev | ICSE |
| PublicationYear | 2024 |
| Publisher | ACM |
| Publisher_xml | – name: ACM |
| SSID | ssib054357643 ssib055306466 ssj0006499 |
| Score | 2.2565508 |
| Snippet | Developers frequently use the web to locate API examples that help them solve their programming tasks. While sites like Stack Overflow (SO) contain API... |
| SourceID | ieee |
| SourceType | Publisher |
| StartPage | 2295 |
| SubjectTerms | API signatures code search Codes controlled experiment Data mining Information resources Programming Search engines Source coding Task analysis |
| Title | Supporting Web-Based API Searches in the IDE Using Signatures |
| URI | https://ieeexplore.ieee.org/document/10549139 |
| hasFullText | 1 |
| inHoldings | 1 |
| isFullTextHit | |
| isPrint | |
| link | http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV05T8MwGLVoxcBUjiJueWB1ie94YOBoRZeqEpXoVjm2U3VJUQ9-P5-dFLowsEWZIsf2e8_-vvcQuneAsZn1sVSKlgTwlhKjqCWmLAW3LIoukcIm9GiUT6dm3DSrp16YEEIqPgu9-Jju8v3SbeNRGaxwUDNAWVqopbWqm7V2k0cC7us9b6kYh6NE5CrNtqyA2zfePlTIBw5MWma8xwGisxjyvheukrBl0PnnVx2j7m-XHh7_4M8JOgjVKersYhpws2rP0GNM7lxGt4A5_ggFeQbg8vhpPMR1rXFY40WFgQji4WsfpxoC_L6Y15af6y6aDPqTlzfSpCYQC9prQ0whM2GtyQsB7MpLJ7wts0Iyy2RBmZPUa208DUo5a1VuPOce9kXrjAX45-eoXS2rcIGwFBTEiBSaBQO6RlvGcq9ciJRBhDK7RN04GrPP2hdjthuIqz_eX6MjBpQg3sVQcYPam9U23KJD97VZrFd36W9-A4e5mm4 |
| linkProvider | IEEE |
| linkToHtml | http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV27TsMwFL2CggRTeRTxxgNrSvxK4oGBR6tWlKoSlWCrHNupuqSoD76fazeFLgxsUabIsX3Ose89B-DWIMbG2vpSKVpEiLc0UgnVkSoKwTXzokuEsIm0388-PtSgalYPvTDOuVB85pr-Mdzl26lZ-qMyXOGoZpCybMOOj86q2rXW00ci8qcb7lI-ECcRnq1UG3OC7L5y96FC3nHk0jLmTY4gHfuY9414lYAu7fo_v-sAGr99emTwg0CHsOXKI6ivgxpItW6P4d5nd069X8CYvLs8ekTosuRh0CWramM3J5OSIBUk3ecWCVUE5G0yXpl-zhswbLeGT52oyk2INKqvRaRyGQutVZYL5FdWGmF1EeeSaSZzyoykNk2VpS5JjNZJpiznFndGbZRGAsBPoFZOS3cKRAqKckSKlDmFyibVjGU2Mc6TBuGK-AwafjRGnytnjNF6IM7_eH8De53ha2_U6_ZfLmCfIUHwNzNUXEJtMVu6K9g1X4vJfHYd_uw3ydidtw |
| openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=Proceedings+%2F+International+Conference+on+Software+Engineering&rft.atitle=Supporting+Web-Based+API+Searches+in+the+IDE+Using+Signatures&rft.au=Bradley%2C+Nick+C.&rft.au=Fritz%2C+Thomas&rft.au=Holmes%2C+Reid&rft.date=2024-04-14&rft.pub=ACM&rft.eissn=1558-1225&rft.spage=2295&rft.epage=2306&rft_id=info:doi/10.1145%2F3597503.3639089&rft.externalDocID=10549139 |