Write a Blog >>
ICSE 2021
Mon 17 May - Fri 4 June 2021

This program is tentative and subject to change.

Thu 27 May 2021 15:25 - 15:45 at Blended Sessions Room 2 - 3.3.2. API: Development Chair(s): Carolyn Seaman

Library developers can provide classes and methods with underdetermined specifications that allow flexibility in future implementations. Library users may write code that relies on a specific implementation rather than on the specification, e.g., assuming mistakenly that the order of elements cannot change in the future. Prior work proposed the NonDex approach that detects such wrong assumptions.

We present a novel approach, called DexFix, to repair wrong assumptions on underdetermined specifications in an automated way. We run the NonDex tool on 200 open-source Java projects and detect 275 tests that fail due to wrong assumptions. The majority of failures are from iterating over HashMap/HashSet collections and the getDeclaredFields method. We provide several new repair strategies that can fix these violations in both the test code and the main code. We implement our strategies in a prototype DexFix tool. Our experiments show that DexFix can fix 119 tests from our sample of 275 tests. We have already reported 102 fixes as GitHub pull requests: 64 have been merged, with only 5 rejected, and the remaining pending.

This program is tentative and subject to change.

Thu 27 May
Times are displayed in time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

15:05 - 16:05
3.3.2. API: Development Technical Track / SEIP - Software Engineering in Practice at Blended Sessions Room 2
Chair(s): Carolyn SeamanUniversity of Maryland Baltimore County
15:05
20m
Paper
Unveiling the Mystery of API Evolution in Deep Learning Frameworks -- A Case Study of Tensorflow 2SEIP
SEIP - Software Engineering in Practice
Zejun ZhangZhejiang University, Yanming YangMonash University, Xin XiaMonash University, David LoSingapore Management University, Xiaoxue RenZhejiang University, John GrundyMonash University
Pre-print
15:25
20m
Paper
Domain-Specific Fixes for Flaky Tests with Wrong Assumptions on Underdetermined SpecificationsTechnical Track
Technical Track
Peilun ZhangUniversity of Illinois at Urbana-Champaign, Yanjie JiangBeijing Institute of Technology, Anjiang WeiPeking University, Victoria StoddenUniversity of Illinois at Urbana-Champaign, Darko MarinovUniversity of Illinois at Urbana-Champaign, August ShiThe University of Texas Austin
Pre-print
15:45
20m
Paper
Studying Test Annotation Maintenance in the WildTechnical Track
Technical Track
Dong Jae KimConcordia University, Nikolaos TsantalisConcordia University, Tse-Hsun (Peter) ChenConcordia University, Jinqiu YangConcordia University
Link to publication Pre-print