Write a Blog >>
ASE 2021
Sun 14 - Sat 20 November 2021 Australia
Wed 17 Nov 2021 21:00 - 21:20 at Kangaroo - Generation Chair(s): Bo Wang

Developer forums like StackOverflow have become essential resources to modern software development practices. However, many code snippets lack a well-defined method declaration, and thus they are often incomplete for immediate reuse. Developers must adapt the retrieved code snippets by parameterizing the variables involved and identifying the return value. This activity, which we call APIzation of a code snippet, can be tedious and time-consuming. In this paper, we present APIzator to perform APIzations of Java code snippets automatically. APIzator is grounded by four common patterns that we extracted by studying real APIzations in GitHub. APIzator presents a static analysis algorithm that automatically extracts the method parameters and return statements. We evaluated APIzator with a ground-truth of 200 APIzations collected from 20 developers. For 113 (56.50 %) and 115 (57.50 %) APIzations, APIzator and the developers extracted identical parameters and return statements, respectively. For 163 (81.50 %) APIzations, either the parameters or the return statements were identical.

Wed 17 Nov

Displayed time zone: Hobart change

21:00 - 22:00
21:00
20m
Talk
APIzation: Generating Reusable APIs from StackOverflow Code Snippets
Research Papers
Valerio Terragni University of Auckland, Pasquale Salza University of Zurich
Pre-print
21:20
20m
Talk
FIGCPS: Effective Failure-inducing Input Generation for Cyber-Physical Systems with Deep Reinforcement Learning
Research Papers
Shaohua Zhang Tianjin University, Shuang Liu Tianjin University, Jun Sun Singapore Management University, Yuqi Chen Singapore Management University, Wenzhi Huang Tianjin University, Jinyi Liu Tianjin University, Jian Liu Tianjin University, Jianye Hao Tianjin University
21:40
10m
Talk
An evolutionary approach for generating software models: The case of Kromaia in Game Software Engineering
Journal-first Papers
Daniel Blasco SVIT Research Group. Universidad San Jorge, Jaime Font San Jorge University, Spain, Mar Zamorano SVIT Research Group. Universidad San Jorge, Carlos Cetina San Jorge University, Spain
21:50
10m
Talk
Signal-based properties of cyber-physical systems: Taxonomy and logic-based characterization
Journal-first Papers
Chaima Boufaied University of Luxembourg, Maris Jukss , Domenico Bianculli University of Luxembourg, Lionel Briand University of Luxembourg; University of Ottawa, Yago Isasi Parache LuxSpace