Advanced search
Start date
Betweenand

Function extraction with Transformers

Grant number: 21/10104-4
Support type:Scholarships abroad - Research Internship - Master's degree
Effective date (Start): March 01, 2022
Effective date (End): August 31, 2022
Field of knowledge:Physical Sciences and Mathematics - Computer Science - Computing Methodologies and Techniques
Principal researcher:Marcelo Finger
Grantee:Alan Barzilay
Supervisor abroad: Mauricio Finavaro Aniche
Home Institution: Instituto de Matemática e Estatística (IME). Universidade de São Paulo (USP). São Paulo , SP, Brazil
Research place: Delft University of Technology (TU Delft), Netherlands  
Associated to the scholarship:20/02679-4 - NLPCode: using natural language processing techniques for automated code refactoring, BP.MS

Abstract

Natural Language Processing techniques can be applied to text in general, not only to human language but also to artificial languages such as software code. Code refactoring is a fundamental software engineering technique used both as a quality assurance tool and an important step in code correction and functionality enhancement. In this work, we propose a novel automated code refactoring model utilizing a neural transformer architecture.By utilizing source code as input to our model we wish to obtain automated suggestions of code refactoring in order to achieve better readability and attain good practices in general. The proposed model consists of a neural network that receives a vectorial representation of the source code and outputs a representation of the suggested refactored code. This network will be trained based on a repository of refactored code provided through a collaboration with TU Delft Holland, our partner institution for this BEPE project.Given the success attained in NLP tasks by the transformer architecture, we intend to explore its viability for code processing tasks, in particular for function extraction refactoring suggestions.

News published in Agência FAPESP Newsletter about the scholarship:
Articles published in other media outlets (0 total):
More itemsLess items
VEICULO: TITULO (DATA)
VEICULO: TITULO (DATA)

Please report errors in scientific publications list by writing to: cdi@fapesp.br.