Pith

open record

sign in

arxiv: 2208.07624 · v1 · pith:CXGKEZ3B · submitted 2022-08-16 · cs.SE

Don't Reinvent the Wheel: Towards Automatic Replacement of Custom Implementations with APIs

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:CXGKEZ3Brecord.jsonopen to challenge →

classification cs.SE
keywords customapisimplementationsautomaticallybuildingcodedevelopersgiven
0
0 comments X
read the original abstract

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 production. Despite these benefits, opportunities for reuse are not always in plain sight and, thus, developers may miss them. We present our preliminary steps in building RETIWA, a recommender able to automatically identify custom implementations in a given project that are good candidates to be replaced by open source APIs. RETIWA relies on a ``knowledge base'' consisting of real examples of custom implementation-to-API replacements. In this work, we present the mining strategy we tailored to automatically and reliably extract replacements of custom implementations with APIs from open source projects. This is the first step towards building the envisioned recommender.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.