Process / pipelineCode quality assessment

การวัดความซับซ้อนของซอฟต์แวร์

การวัดความซับซ้อนของซอฟต์แวร์เป็นการวัดปริมาณความยากของโครงสร้างและการทำงานของโค้ดผ่านการวัดเชิงปริมาณ ความซับซ้อนเชิงวัฏจักร (cyclomatic complexity) ซึ่งถูกนำเสนอโดย Thomas McCabe ในปี 1976 กลายเป็นแนวทางพื้นฐาน การวัดเหล่านี้ประเมินความสามารถในการบำรุงรักษา ความสามารถในการทดสอบ และความเสี่ยงของข้อบกพร่อง ช่วยให้ทีมสามารถระบุส่วนของโค้ดที่มีปัญหาและนำทางการปรับปรุงโครงสร้างโค้ด (refactoring) ได้

เปิดใน MethodMindเร็ว ๆ นี้วิดีโอเร็ว ๆ นี้Download slides

อ่านวิธีฉบับเต็ม

สำหรับสมาชิกเท่านั้น

เข้าสู่ระบบด้วยบัญชีฟรีเพื่ออ่านส่วนนี้

เข้าสู่ระบบ

Method map

The neighbourhood of related methods — select a node to explore.

แหล่งอ้างอิง

  1. McCabe, T. J. (1976). A complexity measure. IEEE Transactions on Software Engineering, 2(4), 308–320. DOI: 10.1109/TSE.1976.233837
  2. 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
  3. 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 side by side

ถูกอ้างอิงโดย

ScholarGateSoftware Complexity Metrics (Software Complexity Metrics and Measurement). สืบค้นเมื่อ 2026-06-15 จาก https://scholargate.app/th/software-engineering/software-complexity-metrics · ชุดข้อมูล: https://doi.org/10.5281/zenodo.20539026