Blogs (1) >>
ASE 2019
Sun 10 - Fri 15 November 2019 San Diego, California, United States
Tue 12 Nov 2019 16:40 - 17:00 at Cortez 2&3 - Code and Artifact Analysis Chair(s): Sarah Nadi

Developers often reuse code snippets from online forums, such as Stack Overflow, GitHub Gists to learn API usages of software frameworks or libraries. Those code snippets often have ambiguous undeclared external references. This makes it difficult to learn and use those APIs correctly. Reusing those code snippets to solve development tasks also requires resolving external references of those APIs. However, manually resolving fully qualified names (FQN) of API elements is a non-trivial task. In this paper, we propose a novel context-sensitive technique, COSTER, to resolve FQNs of API elements in those code snippets. The technique collects locally specific source code elements as well as globally related tokens as the context of FQNs, calculate association score, and build an occurrence likelihood dictionary. While inferring an API element, it collects the code context and ranks candidate FQNs from the dictionary by considering the association score of the tokens in the context, similarity between the context, and similarity between the API element. Evaluation with code examples collected from GitHub and Stack Overflow posts shows that our proposed technique improves precision and recall by 3-18% compared to existing state-of-the-art techniques. The proposed technique significantly reduces the training time compared to the StatType, a state-of-the-art technique, without sacrificing accuracy. Extensive analyses on results establish the facts of the robustness of the proposed technique.

Tue 12 Nov

Displayed time zone: Tijuana, Baja California change

16:00 - 17:40
Code and Artifact AnalysisJournal First Presentations / Research Papers at Cortez 2&3
Chair(s): Sarah Nadi University of Alberta
16:00
20m
Talk
Emotions Extracted from Text vs. True Emotions –An Empirical Evaluation in SE Context
Research Papers
Yi Wang Rochester Institute of Technology
16:20
20m
Talk
Collaborative feature location in models through automatic query expansion
Journal First Presentations
Francisca Pérez SVIT Research GroupUniversidad San Jorge, Jaime Font San Jorge University, Spain, Lorena Arcega San Jorge University, Carlos Cetina San Jorge University, Spain
Link to publication
16:40
20m
Talk
Learning from Examples to Find Fully Qualified Names of API Elements in Code Snippets
Research Papers
C M Khaled Saifullah Department of Computer Science, University of Saskatchewan, Muhammad Asaduzzaman Postdoctoral Research Fellow, Software Analysis and Intelligence Lab, Queen's University, Canada, Chanchal K. Roy University of Saskatchewan
Pre-print
17:00
20m
Talk
Inferring Program Transformations From Singular Examples via Big Code
Research Papers
Jiajun Jiang Peking University, Luyao Ren Peking University, Yingfei Xiong Peking University, Lingming Zhang The University of Texas at Dallas
Link to publication Pre-print
17:20
20m
Talk
Extracting and studying the Logging-Code-Issue-Introducing changes in Java-based large-scale open source software systems
Journal First Presentations
Boyuan Chen York University, Zhen Ming (Jack) Jiang York University
Link to publication