ComputingComputer ScienceMachine LearningNatural Language ProcessingSoftware EngineeringDeep LearningRepresentation LearningSoftware MaintenanceSoftware RefactoringAutomated Program RepairBug FixingProgram RepairSoftware Development MethodologySource Code EvolutionSource Code TransformationTwo-tier Architecture
Automated Program Repair (APR) is very useful in helping developers in the process of software development and maintenance. Despite recent advances in deep learning (DL), the DL-based APR approaches still have limitations in learning bug-fixing code changes and the context of the surrounding source code of the bug-fixing code changes. These limitations lead to incorrect fixing locations or fixes. In this paper, we introduce DLFix, a two-tier DL model that treats APR as code transformation learning from the prior bug fixes and the surrounding code contexts of the fixes. The first layer is a tree-based RNN model that learns the contexts of bug fixes and its result is used as an additional weighting input for the second layer designed to learn the bug-fixing code transformations.
41
Deep learning code fragments for code clone detection
Martin White, Michele Tufano, Christopher Vendome et al. · 2016 · 569 citations