Recommending Code Understandability Improvements based on Code Reviews

被引:2
作者
Oliveira, Delano [1 ]
机构
[1] Univ Fed Pernambuco, Recife, PE, Brazil
来源
2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS (ASEW 2021) | 2021年
关键词
D O I
10.1109/ASEW52652.2021.00035
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Developers spend 70% of their time understanding code. Code that is easy to read can save time, while hard-to-read code can lead to the introduction of bugs. However, it is difficult to establish what makes code more understandable. Although there are guides and directives on improving code understandability, in some contexts, these practices can have a detrimental effect. Practical software development projects often employ code review to improve code quality, including understandability. Reviewers are often senior developers who have contributed extensively to projects and have an in-depth understanding of the impacts of different solutions on code understandability. This paper is an early research proposal to recommend code understandability improvements based on code reviewer knowledge. The core of the proposal comprises a dataset of code understandability improvements extracted from code reviews. This dataset will serve as a basis to train machine learning systems to recommend understandability improvements.
引用
收藏
页码:131 / 132
页数:2
相关论文
共 15 条
[1]   Indentation: Simply a Matter of Style or Support for Program Comprehension? [J].
Bauer, Jennifer ;
Siegmund, Janet ;
Peitek, Norman ;
Hofmeister, Johannes C. ;
Apel, Sven .
2019 IEEE/ACM 27TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2019), 2019, :154-164
[2]   Confusion Detection in Code Reviews [J].
Ebert, Felipe ;
Castor, Fernando ;
Novielli, Nicole ;
Serebrenik, Alexander .
2017 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2017, :549-553
[3]  
Fowler Martin, 2018, Refactoring: improving the design of existing code, Vsecond
[4]   Understanding Misunderstandings in Source Code [J].
Gopstein, Dan ;
Iannacone, Jake ;
Yan, Yu ;
DeLong, Lois ;
Zhuang, Yanyan ;
Yeh, Martin K. -C. ;
Cappos, Justin .
ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, :129-139
[5]  
Han D., 2020, 20 SCAM
[6]  
Hellendoorn V. J., 2021, ESEC FSE
[7]   Are Static Analysis Violations Really Fixed? A Closer Look at Realistic Usage of SonarQube [J].
Marcilio, Diego ;
Bonifacio, Rodrigo ;
Monteiro, Eduardo ;
Canedo, Edna ;
Luz, Welder ;
Pinto, Gustavo .
2019 IEEE/ACM 27TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2019), 2019, :209-219
[8]  
Medeiros F., 2019, INVESTIGATION MISUND
[9]   PROGRAM INDENTATION AND COMPREHENSIBILITY [J].
MIARA, RJ ;
MUSSELMAN, JA ;
NAVARRO, JA ;
SHNEIDERMAN, B .
COMMUNICATIONS OF THE ACM, 1983, 26 (11) :861-867
[10]   I Know What You Did Last Summer An Investigation of How Developers Spend Their Time [J].
Minelli, Roberto ;
Mocci, Andrea ;
Lanza, Michele .
2015 IEEE 23RD INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION ICPC 2015, 2015, :25-35