Please use this identifier to cite or link to this item: https://cuir.car.chula.ac.th/handle/123456789/5711
Title: การออกแบบและพัฒนาเครื่องมือวัดซอฟต์แวร์สำหรับโปรแกรมเชิงวัตถุ
Other Titles: Design and implementation of a measurement tool for object-oriented programs
Authors: สมหวัง แซ่ตั้ง
Advisors: พรศิริ หมื่นไชยศรี
Other author: จุฬาลงกรณ์มหาวิทยาลัย. คณะวิศวกรรมศาสตร์
Advisor's Email: Pornsiri.M@chula.ac.th
Subjects: การโปรแกรมเชิงวัตถุ
เครื่องวัด
Issue Date: 2543
Publisher: จุฬาลงกรณ์มหาวิทยาลัย
Abstract: วิทยานิพนธ์นี้เป็นการออกแบบและพัฒนาเครื่องมือวัดซอฟต์แวร์สำหรับโปรแกรมเชิงวัตถุ ซึ่งเป็นเครื่องมือที่ใช้วัดขนาดและความซับซ้อนของโปรแกรมต้นฉบับ ที่พัฒนาด้วยภาษาจาวา ค่าวัดต่าง ๆ ที่วัดได้จากเครื่องมือนี้ได้แก่ จำนวนบรรทัดของโปรแกรมต้นฉบับ จำนวนเมทธอดในแต่ละคลาส ระดับของการขาดความสัมพันธ์ภายในคลาส และค่าวัดของไซโคลเมติกของแมคเคบ เป็นต้น ผู้พัฒนาซอฟต์แวร์สามารถใช้เครื่องมือนี้เพื่อติดตามความก้าวหน้าในการพัฒนาโปรแกรม และสามารถวิเคราะห์ความซับซ้อนของแต่ละเมทธอดเพื่อให้ผู้พัฒนาสามารถเลือกปรับปรุงเมทธอดที่มีค่าความซับซ้อนมาก ๆ ได้ นอกจากนี้ ผู้วิเคราะห์ระบบสามารถใช้เครื่องมือนี้ในการประมาณขนาดและความซับซ้อนของโปรเจคต่อไปได้ โดยเฉพาะอย่างยิ่งโปรเจคที่มีลักษณะคล้ายคลึงกัน ผู้วิจัยได้พัฒนาเครื่องมือนี้โดยการอ่านโปรแกรมต้นฉบับแล้วแปลงเป็นซินแท็กซ์ทรี และทำการท่องไปบนซินแท็กซ์ทรีเพื่อเก็บข้อมูลคุณสมบัติต่าง ๆ ของโปรแกรมต้นฉบับที่ต้องการ จากนั้นจึงนำค่าต่าง ๆ ไปใช้ในการคำนวณหาค่าวัดและแสดงผลค่าวัด
Other Abstract: This thesis is the design and implementation of a measurement tool for object-oriented programs, which is a tool for measuring size and complexity of Java source programs. This tool reports line of code (LOC), number of methods per class, lack of cohesion, McCabe's cyclomatic complexity metrics etc. Software developers can use this tool to monitor the progress of software development and to analyze the complexity of each method. It helps developers to identify complicated methods to be improved and also helps system analysts to estimate size and complexity of next projects especially the projects similar to the previous ones. This tool starts the process by reading and transforming a source program into the syntax tree. Then the tool traverses the tree to collect the program's attributes and computes the metrics to display on the output screen.
Description: วิทยานิพนธ์ (วท.ม.)--จุฬาลงกรณ์มหาวิทยาลัย, 2543
Degree Name: วิทยาศาสตรมหาบัณฑิต
Degree Level: ปริญญาโท
Degree Discipline: วิทยาศาสตร์คอมพิวเตอร์
URI: http://cuir.car.chula.ac.th/handle/123456789/5711
ISBN: 9743471006
Type: Thesis
Appears in Collections:Eng - Theses

Files in This Item:
File Description SizeFormat 
somwang.pdf1.86 MBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.