Conference Proceedings
Optimising the fit of stack overflow code snippets into existing code
B Reid, C Treude, M Wagner
GECCO 2020 Companion - Proceedings of the 2020 Genetic and Evolutionary Computation Conference Companion | Association for Computing Machinery | Published : 2020
Abstract
Software developers often reuse code from online sources such as Stack Overflow within their projects. However, the process of searching for code snippets and integrating them within existing source code can be tedious. In order to improve efficiency and reduce time spent on code reuse, we present an automated code reuse tool for the Eclipse IDE (Integrated Developer Environment), NLP2TestableCode. NLP2TestableCode can not only search for Java code snippets using natural language tasks, but also evaluate code snippets based on a user's existing code, modify snippets to improve fit and correct errors, before presenting the user with the best snippet, all without leaving the editor. NLP2Testab..
View full abstractRelated Projects (1)
Grants
Awarded by Australian Research Council