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

The flow of control in computer programs is shaped by conditional branches. The Boolean expressions which determine the outcome of a branch may have an effect on the readability of the code. In particular, negations can make such expressions harder to understand. We conduct an experiment with 205 professional developers who needed to understand different logical expressions. The results show that the time needed to understand different expressions of similar size can vary significantly. In general, expressions with more negations take more time, and double negations are especially troublesome. However, there are multiple other factors that also have an effect. For example, literals which are TRUE take less time to process than literals that are FALSE. Regularity (where either all variables have negations or all do not, or where either all literals are TRUE or all are FALSE) also helps. But there are many confounding interactions between the factors, leading to complex outcomes. For example, when comparing De Morgan’s logically-equivalent pairs of expressions, we found that understanding a negated OR took slightly more time than the AND of two negations, but there was no difference between a negated AND and the OR of two negations. The factors we identified as influencing the understanding of expressions may contribute to advancing our knowledge of cognitive processes involved in understanding logical expressions, but much additional work is still needed. At the same time, the comparisons of equivalent forms provide some practical advice on how to write more understandable expressions.

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