Have a personal or library account? Click to login
Effect or Program Constructs on Code Readability and Predicting Code Readability Using Statistical Modeling Cover

Effect or Program Constructs on Code Readability and Predicting Code Readability Using Statistical Modeling

Open Access
|Jun 2021

Abstract

In software, code is the only part that remains up to date, which shows how important code is. Code readability is the capability of the code that makes it readable and understandable for professionals. The readability of code has been a great concern for programmers and other technical people in development team because it can have a great influence on software maintenance. A lot of research has been done to measure the influence of program constructs on the code readability but none has placed the highly influential constructs together to predict the readability of a code snippet. In this article, we propose a novel framework using statistical modeling that extracts important features from the code that can help in estimating its readability. Besides that using multiple correlation analysis, our proposed approach can measure dependencies among di erent program constructs. In addition, a multiple regression equation is proposed to predict the code readability. We have automated the proposals in a tool that can do the aforementioned estimations on the input code. Using those tools we have conducted various experiments. The results show that the calculated estimations match with the original values that show the effectiveness of our proposed work. Finally, the results of the experiments are analyzed through statistical analysis in SPSS tool to show their significance.

DOI: https://doi.org/10.2478/fcds-2021-0009 | Journal eISSN: 2300-3405 | Journal ISSN: 0867-6356
Language: English
Page range: 127 - 145
Submitted on: Jan 21, 2020
Accepted on: Apr 27, 2021
Published on: Jun 17, 2021
Published by: Poznan University of Technology
In partnership with: Paradigm Publishing Services
Publication frequency: 4 issues per year

© 2021 Aisha Batool, Muhammad Bilal Bashir, Muhammad Babar, Adnan Sohail, Naveed Ejaz, published by Poznan University of Technology
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.