EASE 2024
Tue 18 - Fri 21 June 2024 Salerno, Italy
Wed 19 Jun 2024 14:30 - 14:45 at Room Capri - Program Comprehension Chair(s): Nicole Novielli

Variables’ names significantly impact the readability of source code in which they are used. Programmers can make the variables easy to understand by choosing meaningful names. However, even though individual variables have meaningful names, a collection of them might adversely affect the code readability when a variable’s name is highly similar to another’s, such as "bottomRight'' vs. "bottomHeight.'' Such a pair of variables with highly similar names is referred to as a "confusing variable pair.'' Programmers may avoid confusing variable pairs because they tend to cause mixing up or misreading of variables during programming and code review activities. In order to examine practical trends of how confusing variable pairs have appeared or disappeared over commits, this paper conducts a large-scale investigation of 100 Java projects and 100 Python ones randomly selected from GitHub. The study reports the following findings. (1) The average number of confusing variable pairs appearing in a Java source file is 1.4, and that in a Python source file is 1.3. (2) Once a confusing variable pair is born, about 67–75% survive, but about 25–33% disappear by code modifications through code commits. (3) Confusing variable pairs tend to appear in at most 20–30% of source files within a project, and code maintenance making those pairs disappear would be performed at 6–14% of source files. (4) Although the appearance/disappearance trends do not seem to vary among projects, there are some outlier projects in which significantly more confusing variable pairs appear.

Wed 19 Jun

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

14:00 - 15:20
Program ComprehensionResearch Papers / Short Papers, Vision and Emerging Results at Room Capri
Chair(s): Nicole Novielli University of Bari
14:00
15m
Talk
Adversarial Attack and Robustness Improvement on Code Summarization
Research Papers
Xi Ding Sun Yat-Sen University, Yuan Huang Sun Yat-sen University, Xiangping Chen Sun Yat-Sen University, Jing Bian Sun Yat-Sen University
14:15
15m
Talk
Understanding Logical Expressions with Negations: Its Complicated
Research Papers
Aviad Baron Hebrew University, Ilai Granot Hebrew University, Ron Yosef Hebrew University, Dror Feitelson Hebrew University
14:30
15m
Talk
A Quantitative Investigation of Trends in Confusing Variable Pairs Through Commits: Do Confusing Variable Pairs Survive?
Research Papers
Hirohisa Aman Ehime University, Sousuke Amasaki Okayama Prefectural University, Tomoyuki Yokogawa Okayama Prefectural University, Minoru Kawahara Ehime University
14:45
10m
Talk
When simplicity meets effectiveness: Detecting code comments coherence with word embeddings and LSTM
Short Papers, Vision and Emerging Results
Michael Dubem Igbomezie University of L'Aquila, Phuong T. Nguyen University of L’Aquila, Davide Di Ruscio University of L'Aquila
Pre-print
14:55
10m
Talk
Exploring Influence of Feature Toggles on Code Complexity
Short Papers, Vision and Emerging Results
Md Tajmilur Rahman Gannon University, Imran Shalabi Gannon University, Tushar Sharma Dalhousie University
15:05
15m
Talk
An Empirical Study on the Energy Usage and Performance of Pandas and Polars Data Analysis Python Libraries
Research Papers
Felix Nahrstedt Vrije Universiteit Amsterdam, Mehdi Karmouche Vrije Universiteit Amsterdam, Karolina Bargieł Vrije Universiteit Amsterdam, Pouyeh Banijamali Vrije Universiteit Amsterdam, Apoorva Nalini Pradeep Kumar Vrije Universiteit Amsterdam, Ivano Malavolta Vrije Universiteit Amsterdam
Pre-print