Article
Title: "Effect or Program Constructs on Code Readability and Predicting Code Readability Using Statistical Modeling "
Authors: Aisha Batool, Muhammad Bilal Bashir, Muhammad Babar Adnan Sohail, Naveed Ejaz
Pages: 127-145
DOI: 10.2478/fcds-2021-0009
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 be- cause 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 read- ability. Besides that using multiple correlation analysis, our proposed approach can measure dependencies among different 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.

Open access to full text at De Gruyter Online