Fixing Faults in C and Java Source Code

Author:

Scanniello Giuseppe1,Risi Michele2,Tramontana Porfirio3,Romano Simone1

Affiliation:

1. University of Basilicata, Potenza, PZ, Italy

2. University of Salerno, Fisciano, SA, Italy

3. University of Naples „Federico II”, Naples, NA, Italy

Abstract

We carried out a family of controlled experiments to investigate whether the use of abbreviated identifier names, with respect to full-word identifier names, affects fault fixing in C and Java source code. This family consists of an original (or baseline) controlled experiment and three replications. We involved 100 participants with different backgrounds and experiences in total. Overall results suggested that there is no difference in terms of effort, effectiveness, and efficiency to fix faults, when source code contains either only abbreviated or only full-word identifier names. We also conducted a qualitative study to understand the values, beliefs, and assumptions that inform and shape fault fixing when identifier names are either abbreviated or full-word. We involved in this qualitative study six professional developers with 1--3 years of work experience. A number of insights emerged from this qualitative study and can be considered a useful complement to the quantitative results from our family of experiments. One of the most interesting insights is that developers, when working on source code with abbreviated identifier names, adopt a more methodical approach to identify and fix faults by extending their focus point and only in a few cases do they expand abbreviated identifiers.

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Cited by 23 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Enhancing Function Name Prediction using Votes-Based Name Tokenization and Multi-task Learning;Proceedings of the ACM on Software Engineering;2024-07-12

2. A Quantitative Investigation of Trends in Confusing Variable Pairs Through Commits: Do Confusing Variable Pairs Survive?;Proceedings of the 28th International Conference on Evaluation and Assessment in Software Engineering;2024-06-18

3. On Fixing Bugs: Do Personality Traits Matter?;Product-Focused Software Process Improvement;2023-12-02

4. On the Investigation of Empirical Contradictions - Aggregated Results of Local Studies on Readability and Comprehensibility of Source Code;Empirical Software Engineering;2023-11

5. An Accurate Identifier Renaming Prediction and Suggestion Approach;ACM Transactions on Software Engineering and Methodology;2023-09-29

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3