Machine learningSoftware Metrics
التعقيد السيكلوماتيكي (Cyclomatic Complexity)
التعقيد السيكلوماتيكي (CC)، الذي قدمه توماس مكابي في عام 1976، هو مقياس كمي يقيس عدد المسارات المستقلة خطيًا عبر الرسم البياني لتدفق التحكم في الدالة. الدالة ذات التعقيد السيكلوماتيكي العالي تكون أصعب في الفهم والاختبار والصيانة؛ دعا مكابي إلى حد أقصى قدره 10 كحد للتعقيد من أجل قابلية الصيانة.
اقرأ الطريقة كاملة
للأعضاء فقط
تسجيل الدخولسجّل الدخول بحساب مجاني لقراءة هذا القسم.
Method map
The neighbourhood of related methods — select a node to explore.
المصادر
- McCabe, T. J. (1976). A complexity measure. IEEE Transactions on Software Engineering, SE-2(4), 308–320. DOI: 10.1109/TSE.1976.233837 ↗
- Campbell, G. H. (1986). Defining a good metric, a software testing perspective. ASQ Software Quality Conference. link ↗
- Nagy, C., & Kriebel, K. (2001). Achieving optimal complexity and reliability. SAMS Publishing. ISBN: 0672322285
كيف تستشهد بهذه الصفحة
ScholarGate. (2026, June 3). Cyclomatic Complexity Metric. ScholarGate. https://scholargate.app/ar/numerical-methods/cyclomatic-complexity
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- تعقيد هالستيدالطرق العددية↔ compare