การวัดความซับซ้อนของซอฟต์แวร์
การวัดความซับซ้อนของซอฟต์แวร์เป็นการวัดปริมาณความยากของโครงสร้างและการทำงานของโค้ดผ่านการวัดเชิงปริมาณ ความซับซ้อนเชิงวัฏจักร (cyclomatic complexity) ซึ่งถูกนำเสนอโดย Thomas McCabe ในปี 1976 กลายเป็นแนวทางพื้นฐาน การวัดเหล่านี้ประเมินความสามารถในการบำรุงรักษา ความสามารถในการทดสอบ และความเสี่ยงของข้อบกพร่อง ช่วยให้ทีมสามารถระบุส่วนของโค้ดที่มีปัญหาและนำทางการปรับปรุงโครงสร้างโค้ด (refactoring) ได้
อ่านวิธีฉบับเต็ม
เข้าสู่ระบบด้วยบัญชีฟรีเพื่ออ่านส่วนนี้
Method map
The neighbourhood of related methods — select a node to explore.
แหล่งอ้างอิง
- McCabe, T. J. (1976). A complexity measure. IEEE Transactions on Software Engineering, 2(4), 308–320. DOI: 10.1109/TSE.1976.233837 ↗
- Chidamber, S. R., & Kemerer, C. F. (1994). A metrics suite for object-oriented design. IEEE Transactions on Software Engineering, 20(6), 476–493. DOI: 10.1109/32.295895 ↗
- Halstead, M. H. (1977). Elements of Software Science. Elsevier. link ↗
วิธีอ้างอิงหน้านี้
ScholarGate. (2026, June 3). Software Complexity Metrics and Measurement. ScholarGate. https://scholargate.app/th/software-engineering/software-complexity-metrics
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
- แบบจำลองการทำนายข้อบกพร่องวิศวกรรมซอฟต์แวร์↔ compare
- การวิเคราะห์โค้ดแบบสแตติกวิศวกรรมซอฟต์แวร์↔ compare
- การวัดหนี้ทางเทคนิควิศวกรรมซอฟต์แวร์↔ compare