An Empirical Study of the Relationships between Code Readability and Software Complexity

08/30/2019
by   Duaa Alawad, et al.
0

Code readability and software complexity are important software quality metrics that impact other software metrics such as maintainability, reusability, portability and reliability. This paper presents an empirical study of the relationships between code readability and program complexity. The results are derived from an analysis of 35 Java programs that cover 23 distinct code constructs. The analysis includes six readability metrics and two complexity metrics. Our study empirically confirms the existing wisdom that readability and complexity are negatively correlated. Applying a machine learning technique, we also identify and rank those code constructs that substantially affect code readability.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/11/2019

Empirical Study of Phased Model of Software Change

Software change is the basic task of software evolution and maintenance....
research
12/14/2020

Software Quality Assessment for Robot Operating System

Robot Operating System (ROS) is widely used in academia and industry, an...
research
01/19/2023

Source Code Metrics for Software Defects Prediction

In current research, there are contrasting results about the applicabili...
research
07/22/2023

A Quantitative Analysis of Open Source Software Code Quality: Insights from Metric Distributions

Code quality is a crucial construct in open-source software (OSS) with t...
research
07/09/2021

An Empirical Study of Data Constraint Implementations in Java

Software systems are designed according to guidelines and constraints de...
research
12/05/2022

Empirical Study of Co-Renamed Identifiers

Background: The renaming of program identifiers is the most common refac...
research
02/20/2023

Black Boxes, White Noise: Similarity Detection for Neural Functions

Similarity, or clone, detection has important applications in copyright ...

Please sign up or login with your details

Forgot password? Click here to reset