Write a Blog >>
ESEC/FSE 2022
Mon 14 - Fri 18 November 2022 Singapore
Mon 14 Nov 2022 17:15 - 17:22 at SRC Auditorium 2 - Software Evolution Chair(s): Miryung Kim

Developers spend a lot of time online, searching for code to help them implement their desired features. While code recommenders help improve developers’ productivity, there is currently no support for context-aware code recommendation for opportunistic code reuse on-the-go. Typical code recommendation systems provide recommendations against a search query, whereas a code recommender that supports opportunistic reuse can recommend related code snippets that represent features that the developer may want to implement next. In this paper, we present a novel Context-aware Feature-driven API usage-based Code Recommender (CA-FACER) tool, which is an Intellij IDEA plugin that leverages a developer’s development context to recommend related code snippets. We consider the methods having API usages in a developer’s active project as part of the development context. Our approach uses contextual data from a developer’s active project to find similar projects and recommends code from popular features of those projects. The popular features are identified as frequently occurring API usage based Method Clone Classes. From our experimental evaluation on 120 Android Java projects from GitHub, we observe a 46% improvement of precision using our proposed context-aware approach over a baseline system. Our technique recommends related code examples with an average precision (P@5) of 94% and 83% and a success rate of 90% and 95% for initial and evolved development stages respectively. A video demonstration of our tool is available at https://youtu.be/UjuM8WRc318.

Mon 14 Nov

Displayed time zone: Beijing, Chongqing, Hong Kong, Urumqi change

16:00 - 17:30
Software EvolutionDemonstrations / Research Papers / Industry Paper at SRC Auditorium 2
Chair(s): Miryung Kim University of California at Los Angeles, USA
16:00
15m
Research paper
Accurate Method and Variable Tracking in Commit History
Research Papers
Mehran Jodavi Concordia University, Nikolaos Tsantalis Concordia University
Link to publication DOI Pre-print
16:15
15m
Research paper
Classifying Edits to Variability in Source Code
Research Papers
Paul Maximilian Bittner University of Ulm, Christof Tinnes Siemens, Alexander Schultheiß Humboldt University of Berlin, Sören Viegener University of Ulm, Timo Kehrer University of Bern, Thomas Thüm University of Ulm
Link to publication DOI Pre-print Media Attached
16:30
15m
Talk
The Evolution of Type Annotations in Python: An Empirical StudyDistinguished Paper Award
Research Papers
Luca Di Grazia University of Stuttgart, Michael Pradel University of Stuttgart
DOI Pre-print Media Attached
16:45
15m
Talk
UTANGO: Untangling Commits with Context-Aware, Graph-Based, Code Change Clustering Learning Model
Research Papers
Yi Li New Jersey Institute of Technology, Shaohua Wang New Jersey Institute of Technology, Tien N. Nguyen University of Texas at Dallas
DOI
17:00
15m
Talk
Sometimes You Have to Treat the Symptoms: Tackling Model Drift in an Industrial Clone-and-Own Software Product Line
Industry Paper
Christof Tinnes Siemens, Wolfgang Rössler Siemens Mobility, Uwe Hohenstein Siemens, Torsten Kühn Siemens Mobility, Andreas Biesdorf Siemens, Sven Apel Saarland University
DOI
17:15
7m
Talk
Context Aware Code Recommendation in Intellij IDEA
Demonstrations
Shamsa Abid Lahore University of Management Sciences, Hamid Abdul Basit Prince Sultan University, Shafay Shamail LUMS, DHA, Lahore
17:23
7m
Talk
Python-by-Contract Dataset
Demonstrations
Jiyang Zhang University of Texas at Austin, Marko Ristin ZHAW School of Engineering, Phillip Schanely , Hans Wernher van de Venn Zurich University of Applied Sciences (ZHAW), Milos Gligoric University of Texas at Austin