错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

CCMT: A Code Complexity Measuring Tool

  • D. I. De Silva,
  • M. V. N. Godapitiya,
  • Y. S. Kodithuwakku,
  • T. Y. Dewmin,
  • I. H. M. B. L. Dayananda,
  • K. R. A. W. Fernando

摘要

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.