Decoding Confusing Code: Social Representations among Developers

R. Mello, José Aldo Silva da Costa, Benedito de Oliveira, Márcio Ribeiro, B. Neto, Rohit Gheyi, Alessandro F. Garcia, Willy Tiengo
{"title":"Decoding Confusing Code: Social Representations among Developers","authors":"R. Mello, José Aldo Silva da Costa, Benedito de Oliveira, Márcio Ribeiro, B. Neto, Rohit Gheyi, Alessandro F. Garcia, Willy Tiengo","doi":"10.1109/CHASE52884.2021.00010","DOIUrl":null,"url":null,"abstract":"Context. Confusing code is any code element in which developers have considerable difficulty reaching its comprehension. These difficulties may result from a plethora of characteristics of the source code and external issues. In this way, there is still a lack of knowledge on the core issues of confusing code. This knowledge is important for optimizing efforts in promoting program comprehension. Goal. In this paper, we investigate the social representations of confusing code among two distinct communities of software developers from industry. Method. We conducted free association tasks with the developers to characterize what is in their minds about confusing code. Then, we compiled and classified the associations composing the social representations of confusing code by each community. Finally, we compared the social representations from both communities. Results. We found that developers of both communities strongly associate confusing code with a common set of undesirable characteristics of the source code, such as different types of code smells and the badly naming of code elements. Besides, we found that the incidence of confusing code is a potential source of discouragement and conflict. In this way, we discuss alternatives for development teams overcoming these issues. Conclusion. The findings of our study reveal an initial set of core issues of confusing code. These issues can drive future investigations on technologies for promoting code comprehension.","PeriodicalId":278682,"journal":{"name":"2021 IEEE/ACM 13th International Workshop on Cooperative and Human Aspects of Software Engineering (CHASE)","volume":"48 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE/ACM 13th International Workshop on Cooperative and Human Aspects of Software Engineering (CHASE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CHASE52884.2021.00010","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

Context. Confusing code is any code element in which developers have considerable difficulty reaching its comprehension. These difficulties may result from a plethora of characteristics of the source code and external issues. In this way, there is still a lack of knowledge on the core issues of confusing code. This knowledge is important for optimizing efforts in promoting program comprehension. Goal. In this paper, we investigate the social representations of confusing code among two distinct communities of software developers from industry. Method. We conducted free association tasks with the developers to characterize what is in their minds about confusing code. Then, we compiled and classified the associations composing the social representations of confusing code by each community. Finally, we compared the social representations from both communities. Results. We found that developers of both communities strongly associate confusing code with a common set of undesirable characteristics of the source code, such as different types of code smells and the badly naming of code elements. Besides, we found that the incidence of confusing code is a potential source of discouragement and conflict. In this way, we discuss alternatives for development teams overcoming these issues. Conclusion. The findings of our study reveal an initial set of core issues of confusing code. These issues can drive future investigations on technologies for promoting code comprehension.
解码令人困惑的代码:开发者之间的社会表征
上下文。令人困惑的代码是开发人员难以理解的任何代码元素。这些困难可能源于源代码的过多特征和外部问题。这样,对于代码混淆的核心问题,仍然缺乏认识。这些知识对于优化提高程序理解能力的努力是重要的。的目标。在本文中,我们研究了来自行业的两个不同的软件开发人员社区中混淆代码的社会表征。方法。我们对开发人员进行了自由联想任务,以描述他们对令人困惑的代码的想法。然后,我们对各个社区构成混淆码社会表征的关联进行了编译和分类。最后,我们比较了两个群体的社会表征。结果。我们发现,两个社区的开发人员都强烈地将令人困惑的代码与源代码的一组共同的不受欢迎的特征联系在一起,例如不同类型的代码气味和代码元素的糟糕命名。此外,我们发现混淆代码的发生率是令人沮丧和冲突的潜在来源。通过这种方式,我们讨论了开发团队克服这些问题的替代方案。结论。我们的研究结果揭示了混乱代码的初始核心问题。这些问题可以推动未来对促进代码理解的技术的研究。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书