CCMT: A Code Complexity Measuring Tool
摘要
As the complexity of software systems continues to grow, effectively managing this intricacy becomes paramount. In response, this study introduces the Code Complexity Measuring Tool (CCMT), a comprehensive solution designed to address the growing challenges in assessing code complexity. CCMT redefines complexity measurement by incorporating nine fundamental factors: size, type of control structures, nesting level of control structures, inheritance level of statements, try-catch blocks, recursion, array declarations, compound conditional statements, and input–output statements. This sophisticated instrument, tailored to these factors, enables precise complexity estimation by strategically assigning distinct weightings, yielding a holistic code complexity evaluation. Its adaptability and flexibility make it not just a tool for the present but a catalyst for the future. CCMT has the potential to integrate seamlessly into cutting-edge domains like AI-driven software development, ensuring its continued relevance and significance in the ever-changing landscape of software engineering.