Perceptions and Difficulties of Software Engineering Students in Code Smells Refactoring

Carla Bezerra, Humberto Damasceno, J. Teixeira
{"title":"Perceptions and Difficulties of Software Engineering Students in Code Smells Refactoring","authors":"Carla Bezerra, Humberto Damasceno, J. Teixeira","doi":"10.5753/vem.2022.226804","DOIUrl":null,"url":null,"abstract":"Code smells are bad code structures that can harm the quality and maintainability of software. To remove these bad structures, developers use refactoring techniques. Refactoring helps code be easier to understand and modify by eliminating potential problems and improving the software quality. Most refactoring activities are usually performed manually and undisciplined, which can cause code degradation. Currently, concepts, practices and tools of refactoring and code smells are little discussed in undergraduate computing courses. This problem is reflected in the software industry, which generally does not use refactoring practices to improve code readability and maintainability. In this context, we present in this paper an experience report on teaching the practice of code smells refactoring, investigating the following topics: (i) skills acquired in the practice of code smells refactoring, (ii) difficulties encountered in code smells refactoring and (iii) students’ perception of code smells refactoring practices. The study was carried out in two undergraduate classes with 20 students in the course of software quality. Our findings contribute to replicating the practice in other courses that want to delve into code smell refactoring and contribute to the use of refactoring practices and code quality evaluation in the industry.","PeriodicalId":308044,"journal":{"name":"Workshops on Software Visualization, Evolution and Maintenance","volume":"26 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Workshops on Software Visualization, Evolution and Maintenance","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5753/vem.2022.226804","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Code smells are bad code structures that can harm the quality and maintainability of software. To remove these bad structures, developers use refactoring techniques. Refactoring helps code be easier to understand and modify by eliminating potential problems and improving the software quality. Most refactoring activities are usually performed manually and undisciplined, which can cause code degradation. Currently, concepts, practices and tools of refactoring and code smells are little discussed in undergraduate computing courses. This problem is reflected in the software industry, which generally does not use refactoring practices to improve code readability and maintainability. In this context, we present in this paper an experience report on teaching the practice of code smells refactoring, investigating the following topics: (i) skills acquired in the practice of code smells refactoring, (ii) difficulties encountered in code smells refactoring and (iii) students’ perception of code smells refactoring practices. The study was carried out in two undergraduate classes with 20 students in the course of software quality. Our findings contribute to replicating the practice in other courses that want to delve into code smell refactoring and contribute to the use of refactoring practices and code quality evaluation in the industry.
软件工程专业学生在代码气味重构中的感知和困难
代码气味是糟糕的代码结构,会损害软件的质量和可维护性。为了消除这些不良结构,开发人员使用重构技术。重构通过消除潜在问题和提高软件质量,帮助代码更容易理解和修改。大多数重构活动通常是手工执行的,而且没有规则,这可能会导致代码退化。目前,重构和代码气味的概念、实践和工具在本科计算课程中很少被讨论。这个问题反映在软件行业中,它通常不使用重构实践来提高代码的可读性和可维护性。在此背景下,我们在本文中提出了一份关于代码气味重构实践教学的经验报告,调查了以下主题:(i)在代码气味重构实践中获得的技能,(ii)在代码气味重构中遇到的困难,以及(iii)学生对代码气味重构实践的看法。本研究在软件质量专业两个班共20名学生中进行。我们的发现有助于在其他想要深入研究代码气味重构的课程中复制实践,并有助于在行业中使用重构实践和代码质量评估。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书