Thu 8 Nov 2018 14:37 - 15:00 at Horizons 10-11 - Software Maintenance II Chair(s): Emerson Murphy-Hill

When being trained on API documentation and tutorials, Word2Vec
produces vector representations to estimate the relevance between
texts and API elements. However, existing Word2Vec-based approaches to
measure document similarities aggregate Word2Vec vectors of individual
words or APIs to build the representation of a document as if the
words are independent. Thus, the semantics of API descriptions or code
fragments are not well represented. In this work, we conjecture that
we need a new model that fits with API documentation better than
Word2Vec. We present D2Vec, a neural network model that considers two
complementary contexts to better capture the semantics of API
documentation. First, we connect the global context of the current API
topic under description to all the text phrases within the description
of that API. Second, the local orders of words and API elements in the
text phrases are maintained in computing the vector representations
for the APIs. We conducted an experiment to verify two intrinsic
properties of D2Vec's vectors: 1) similar words and relevant API
elements are projected into nearby locations; and 2) some vector
operations carry semantics. We demonstrate the usefulness and good
performance of D2Vec in three applications: API code search
(text-to-code retrieval), API tutorial fragment search (code-to-text
retrieval), and mining API mappings between software libraries
(code-to-code retrieval). Finally, we provide actionable insights and
implications for researchers in using our model in other
applications with other types of documents.

Conference Day
Thu 8 Nov

Displayed time zone: Guadalajara, Mexico City, Monterrey change

13:30 - 15:00
Software Maintenance IIResearch Papers / Journal-First at Horizons 10-11
Chair(s): Emerson Murphy-HillNorth Carolina State University
Automating Change-level Self-admitted Technical Debt Determination
Meng Yan, Xin XiaMonash University, Emad ShihabConcordia University, David LoSingapore Management University, Jianwei Yin, Xiaohu Yang
Large-Scale Study of Substitutability in the Presence of Effects
Research Papers
Jackson MaddoxIowa State University, USA, Yuheng LongIowa State University, Hridesh RajanIowa State University
An Empirical Study on Crash Recovery Bugs in Large-Scale Distributed Systems
Research Papers
Yu GaoInstitute of Software, Chinese Academy of Sciences, Wensheng DouInstitute of Software, Chinese Academy of Sciences, Feng QinOhio State University, USA, Chushu GaoInstitute of Software, Chinese Academy of Sciences, Dong WangInstitute of Software at Chinese Academy of Sciences, China, Jun WeiState Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing, Ruirui HuangAlibaba Group, China, Li ZhouAlibaba Group, China, Yongming WuAlibaba Group, China
Complementing Global and Local Contexts in Representing API Descriptions to Improve API Retrieval Tasks
Research Papers
Thanh NguyenIowa State University, Ngoc Tran, Hung Phan, Trong NguyenIowa State University, USA, Linh Truong, Trong NguyenIowa State University, USA, Hoan Anh NguyenIowa State University, USA, Tien N. NguyenUniversity of Texas at Dallas