Relationship Between Model-Based Decision-Making and the Comprehension Performance of Source Code With Confusing Patterns
<bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Background:</b> Confusing source code requires deliberate comprehension. Recent psychology studies have characterized individual decision-making differences as model-free (fast and automatic) and model-based (slow and deliberative) decision-making. A framework has been proposed to estimate an individual differences in the degree of model-based control. <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Aims:</b> This study investigates the correlation of the degree of model-based control and the comprehension performance of confusing source code and compares the correlation of comprehension performance between the degree of model-based control and developer skills reported in previous studies. <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Method:</b> We conducted an observational study using source code with and without confusing code patterns. We measured the degree of model-based control for each participant. <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Results:</b> Multiple regression analysis on the results of 91 software engineers showed that the degree of model-based control has a positive correlation with the percentage of correct answers for questions about source code with confusing code patterns with statistical significance. <bold xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Conclusion:</b> In source code reviews, refactoring, and enhancement development, the appropriate developer assignment criteria using developer attributes differ between source code with and without confusing code patterns.
Authors
- Shuji Morisaki (ORCID: https://orcid.org/0000-0002-8290-0584)
- Yuichi Sugiyama (ORCID: https://orcid.org/0000-0002-8452-8835)
- Kentaro Katahira (ORCID: https://orcid.org/0000-0002-2018-3938)
- Asako Toyama (ORCID: https://orcid.org/0000-0002-5212-7316)
Institutions
- Hitotsubashi University (JP)
- Nagoya University (JP)
- National Institute of Advanced Industrial Science and Technology (JP)
Publication Details
- Journal
- IEEE Transactions on Software Engineering
- Published
- 2025-05-05
- DOI
- https://doi.org/10.1109/tse.2025.3566537
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00