Journal of Cybersecurity and Information Management
JCIM
2690-6775
2769-7851
10.54216/JCIM
https://www.americaspg.com/journals/show/3981
2019
2019
Components Reusability Optimization based on Re-Structure Monolithic Code
Software Department, College of Information Technology, University of Babylon, Babylon 51001, Iraq
Zeyd
Zeyd
College of Media, Al-Iraqia University, Baghdad, Iraq
Mustafa Ismael
Khudair
University Presidency, Department of Internal Affairs, University of Iraqia, Baghdad, Iraq
Ahmed Khader Ali
Ibrahim
College of Nursing, University of Babylon, Babylon 51001, Iraq
Rahman Nahi
Abid
In modern software engineering, monolithic code structures are increasingly incompatible with the flexibility demanded by today’s platforms. These tightly coupled systems pose challenges for scalability, integration, and secure deployment. This paper presents a method for restructuring monolithic Java classes into optimized, reusable software components. We analyze each class using 19 object-oriented metrics from the CKJM suite, evaluating cohesion and coupling properties. Using our proposed framework—Good Global Optimization Dynamic Weighted Metrics (GGODWM)—we cluster interrelated classes and transform them into high-level components suitable for microservice environments. These components are evaluated within a Component Base Redesign Structure (CBRS) environment to measure reusability. Our experimental results show a 52% improvement in cohesion and coupling balance, outperforming traditional Turbo_MQ-based metrics. By enhancing component modularity and reducing interdependencies, the proposed approach contributes to more secure and maintainable code, thus supporting cybersecurity goals such as reduced attack surface and easier vulnerability management.
2026
2026
81
102
10.54216/JCIM.170108
https://www.americaspg.com/articleinfo/2/show/3981