Please use this identifier to cite or link to this item: https://cuir.car.chula.ac.th/handle/123456789/45429
Title: การระบุตัวแทนสินทรัพย์ทั่วไปในซอร์สโค้ดด้วยการเปรียบเทียบเส้นทางของการทดสอบซอฟต์แวร์
Other Titles: IDENTIFYING COMMON ASSET CANDIDATES IN SOURCE CODE BY COMPARING SOFTWARE TESTING PATH
Authors: สิทธิพล ลิ้มชัยชะดา
Advisors: พรศิริ หมื่นไชยศรี
Other author: จุฬาลงกรณ์มหาวิทยาลัย. คณะวิศวกรรมศาสตร์
Advisor's Email: Pornsiri.Mu@Chula.ac.th,Pornsiri.Mu@chula.ac.th
Subjects: โปรแกรมคอมพิวเตอร์ -- การทดสอบ
ซอฟต์แวร์ -- การพัฒนา
Computer programs -- Testing
Computer software -- Development
Issue Date: 2557
Publisher: จุฬาลงกรณ์มหาวิทยาลัย
Abstract: การระบุตัวแทนสินทรัพย์ทั่วไปเป็นการนำเอาส่วนประกอบร่วมของผลิตภัณฑ์ในอดีตที่มีความสามารถในการตอบสนองต่อความต้องการในขอบเขตของการทำงานเดียวกันมาแปลงให้เป็นสินทรัพย์หลักเพื่อตอบสนองความหลากหลายของผลิตภัณฑ์ สำหรับนำไปใช้ซ้ำในการประกอบเป็นผลิตภัณฑ์ที่อยู่บนความต้องการเดียวกัน ในปัจจุบันนั้นการระบุตัวแทนสินทรัพย์ทั่วไปในประเภทของซอร์สโค้ดที่มีการนิยามเชิงพฤติกรรมที่เหมือนกันแต่วิธีการเขียนที่แตกต่างกันนั้นยังมีข้อจำกัด เนื่องจากเทคนิคการตรวจหาสำเนาโค้ดโดยส่วนใหญ่อาศัยความสัมพันธ์ของโครงสร้าง ในการตรวจหา ซึ่งไม่สามารถตรวจหาสำเนาโค้ดที่มีการเขียนที่แตกต่างกันแต่มีพฤติกรรมการทำงานที่เหมือนกัน งานวิจัยนี้มีจุดประสงค์เพื่อออกแบบวิธีการแก้ปัญหาในการระบุตัวเลือกสินทรัพย์ร่วมในระดับโค้ดดังกล่าวโดยวิธีการตรวจหาความเหมือนของโค้ดที่ใช้วิธีการเขียนแตกต่างกัน แต่ให้พฤติกรรมหรือผลลัพธ์การทำงานที่เหมือนกัน (สำเนาโค้ดประเภทที่ 4) โดยใช้เส้นทางของวิธีการทดสอบซอฟต์แวร์ จากผลการทดลองพบได้ว่า การระบุตัวเลือกสินทรัพย์ร่วมในระดับโค้ดด้วยวิธีดังกล่าวสามารถสร้างตัวแทนสินทรัพย์ทั่วไปเพื่อนำมาเป็นสินทรัพย์หลักในการพัฒนาผลิตภัณฑ์ที่มีลักษณะการทำงานที่เหมือนกันของเมท็อดที่จะเกิดขึ้นในอนาคตได้
Other Abstract: Identifying common assets is to find common components of the existing products with same requirements in the scope of work and then convert them into core assets for software reuse. Currently, there are several approaches that can identify common assets from source code fragments but they have limitations. They mainly look at the structure of the code fragments which cannot be used to detect different code fragments that have the same behavior. The purpose of this research is to design an approach to identify a common asset of source code fragments that perform the same function but have different​ source code (Type 4) by comparing software testing paths. A tool supporting the approach is developed. The result shows that the proposed approach can specify common assets from different code with the same behavior. With the use of the approach and its tool, identified common assets may be reused and software development will be faster in the future.
Description: วิทยานิพนธ์ (วท.ม.)--จุฬาลงกรณ์มหาวิทยาลัย, 2557
Degree Name: วิทยาศาสตรมหาบัณฑิต
Degree Level: ปริญญาโท
Degree Discipline: วิศวกรรมซอฟต์แวร์
URI: http://cuir.car.chula.ac.th/handle/123456789/45429
URI: http://doi.org/10.14457/CU.the.2014.918
metadata.dc.identifier.DOI: 10.14457/CU.the.2014.918
Type: Thesis
Appears in Collections:Eng - Theses

Files in This Item:
File Description SizeFormat 
5470416721.pdf4.21 MBAdobe PDFView/Open


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