Vertical Code Completion: Going Beyond the Current Ctrl+Space

  • Luiz Laerte Nunes Silva Junior UFF
  • Thiago Nazareth Oliveira UFF
  • Alexandre Plastino UFF
  • Leonardo Gresta Paulino Murta UFF

Abstract


In the software development field, the amount ofdata related to documentation and to the source code itselfis huge. Relevant knowledge can be extracted from this data,provided that adequate tools are in place. In this context, datamining can be seen as an important tool. This paper presentsan approach to mine sequential patterns from source code andto suggest these patterns to developers, according to what isbeing coded. As a result, a plugin for the Eclipse IDE, calledVertical Code Completion, was developed and applied over thesource code repository of an academic management system.The obtained patterns were analyzed by the developers ofthis system with different expertise levels and the proposedapproach reached good results, indicating that 71.6% of thesuggestions were relevant.
Keywords: Software, Java, Data mining, Unified modeling language, Computer architecture, Documentation, Context, Code Completion, Sequential Pattern Mining, Software Maintenance
Published
2012-09-23
SILVA JUNIOR, Luiz Laerte Nunes; OLIVEIRA, Thiago Nazareth; PLASTINO, Alexandre; MURTA, Leonardo Gresta Paulino. Vertical Code Completion: Going Beyond the Current Ctrl+Space. In: BRAZILIAN SYMPOSIUM ON SOFTWARE COMPONENTS, ARCHITECTURES, AND REUSE (SBCARS), 6. , 2012, Natal/RN. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2012 . p. 81-90.