Refurbishment of object-oriented code: A methodical approach to minimize program complexity

In order to determine software testing competence, test coverage analysis techniques are commonly implemented. The uncovered areas or statements of a program are identified using a technique that employs a set of test cases best suited for the program. Depending on the current approach or the complexity of the program, the concept of test coverage is especially useful in identifying and eliminating test cases that do not contribute significantly to achieving the desired output. In other words, this technique helps in making a program more robust and error-free. It is also useful for identifying sections of a requirement that are not covered by existing test cases. The technique is helpful in creating new test cases to enhance the coverage of a program. As a rigorous quality control practice, it supports the development of experimental test coverage metrics. Therefore, ineffective test scenarios that do not contribute to increased coverage should be tracked and eliminated, thereby reducing the overall complexity of the program. Our approach in this paper aims to create a Control Flow Graph (CFG) for randomly generated object-oriented programs in Java and assess the cyclomatic complexity for each by analyzing the nodes and edges using the traditional formula from the software engineering paradigm. We then identify the best approach to write the program by applying prioritization techniques to the calculated complexity values of the object-oriented programs. This enables us to minimize the complexity of the program during the code development process.

Authors

Institutions

Publication Details

Journal
Journal of Decision Analytics and Intelligent Computing
Published
2025-05-18
DOI
https://doi.org/10.31181/jdaic10018052025k
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Refurbishment of object-oriented code: A methodical approach to minimize program complexity

Brojo Kishore Mishra, Satyajit Acharya, Santosh K. Kar
Journal of Decision Analytics and Intelligent Computing
Software Engineering Research
article

Refurbishment of object-oriented code: A methodical approach to minimize program complexity

Brojo Kishore Mishra, Satyajit Acharya, Santosh K. Kar
article en

Abstract

In order to determine software testing competence, test coverage analysis techniques are commonly implemented. The uncovered areas or statements of a program are identified using a technique that employs a set of test cases best suited for the program. Depending on the current approach or the complexity of the program, the concept of test coverage is especially useful in identifying and eliminating test cases that do not contribute significantly to achieving the desired output. In other words, this technique helps in making a program more robust and error-free. It is also useful for identifying sections of a requirement that are not covered by existing test cases. The technique is helpful in creating new test cases to enhance the coverage of a program. As a rigorous quality control practice, it supports the development of experimental test coverage metrics. Therefore, ineffective test scenarios that do not contribute to increased coverage should be tracked and eliminated, thereby reducing the overall complexity of the program. Our approach in this paper aims to create a Control Flow Graph (CFG) for randomly generated object-oriented programs in Java and assess the cyclomatic complexity for each by analyzing the nodes and edges using the traditional formula from the software engineering paradigm. We then identify the best approach to write the program by applying prioritization techniques to the calculated complexity values of the object-oriented programs. This enables us to minimize the complexity of the program during the code development process.

Journal of Decision Analytics and Intelligent ComputingVol. 5(1)
National Institute of Science and Technology (IN), Berhampur University (IN)
Openalex Percentile: Top 85%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.