Sun 4 Nov 2018 11:00 - 11:15 at Rock Lake - NL4SE Workshop II

Converting source or unit test code to English has been shown to improve the maintainability, understandability, and analysis of software and tests. Code summarizers identify 'important' statements in the source/tests and convert them to easily understood English sentences using static analysis and NLP techniques. However, current test summarization approaches handle only a subset of the variation and customization allowed in the JUnit assert API (a critical component of test cases) which may affect the accuracy of conversions.
In this paper, we present our work towards improving JUnit test summarization with a detailed process for converting a total of 45 unique JUnit assertions to English, including 37 previously-unhandled variations of the assertThat method. This process has also been implemented and released as the AssertConvert tool. Initial evaluations have shown that this tool generates English conversions that accurately represent a wide variety of assertion statements which could be used for code summarization or other NLP analyses.

Sun 4 Nov

Displayed time zone: Guadalajara, Mexico City, Monterrey change

10:30 - 12:00
NL4SE Workshop IINL4SE at Rock Lake
10:30
15m
Talk
Total Recall, Language Processing, and Software Engineering
NL4SE
10:45
15m
Talk
Is “Naturalness” a Result of Deliberate Choice?
NL4SE
Kevin Lee University of California at Davis, USA, Casey Casalnuovo University of California at Davis, USA
11:00
15m
Talk
A Fine-Grained Approach for Automated Conversion of JUnit Assertions to English
NL4SE
Danielle Gonzalez Rochester Institute of Technology, USA, Suzanne Prentice University of South Carolina, USA, Mehdi Mirakhorli Rochester Institute of Technology
11:15
15m
Talk
TestNMT: Function-to-Test Neural Machine Translation
NL4SE
Robert White University College London, UK, Jens Krinke University College London
11:30
15m
Talk
3CAP: Categorizing the Cognitive Capabilities of Alzheimer’s Patients in a Smart Home Environment
NL4SE
Kate M. Bowers , Reihaneh H. Hariri Oakland University, USA, Katey A. Price Albion College, USA
11:45
15m
Talk
Generating Comments from Source Code with CCGs
NL4SE
Sergey Matskevich Drexel University, USA, Colin Gordon Drexel University