DSpace Repository

EMPIRICAL STUDY OF SOURCE LEVEL DIFFICULTY

Show simple item record

dc.contributor.advisor Peraphon Sophatsathit en_US
dc.contributor.author Xiao Liu en_US
dc.contributor.other Chulalongkorn University. Faculty of Science en_US
dc.date.accessioned 2015-06-24T06:11:23Z
dc.date.available 2015-06-24T06:11:23Z
dc.date.issued 2013 en_US
dc.identifier.uri http://cuir.car.chula.ac.th/handle/123456789/42711
dc.description Thesis (M.Sc.)--Chulalongkorn University, 2013 en_US
dc.description.abstract This thesis aims to provide a straightforward measurement for source level difficulty of programs using a set of well-established measurements, namely, operators, operands, parameters, inputs and outputs, file operations, external functions or libraries, variable declarations, and flow graphs. Six popularly used programming languages, namely, C, C#, Java, Python, PHP, and Perl are selected to measure and assess source code difficulty. Four classes of problems are studied, i.e., matching, I/O, computation, and comparison, One hundred and fifty six programs written in the aforementioned programming languages are collected from the Internet to be measured. The approach transforms source code into program flow graph and utilizes traditional software metrics, namely, LOC, CCM, and HCM to measure code complexity. Experiments show that source code written in compiled languages have greater difficulty than those written in interpreted languages. In addition, there is no one language which is suitable for all types of problems. As a consequence, developers can decide on language that is appropriate for the task to be implemented. en_US
dc.description.abstractalternative วัตถุประสงค์ของวิทยานิพนธ์นี้คือวิจัยการวัดความยากระดับต้นฉบับอย่างตรงไปตรงมาโดยใช้กลุ่มตัววัดมาตรฐานที่ใช้กัน ได้แก่ ตัวดำเนินการ ปัจจัยการดำเนินการ พารามิเตอร์ อินพุตและเอาท์พุต การดำเนินการแฟ้มข้อมูล ฟังก์ชันภายนอกหรือไลบารี การประกาศตัวแปร และกราฟการใหล งานวิจัยนี้ใช้ภาษาหกชนิดในการวัดความยากคือ ซี ซีชาร์บ จาวา ไพตอน พีเอชพี และเพิล โดยศึกษาปัญหาสี่ประเภทคือ การเทียบความเหมือน อินพุต/เอาท์พุต การคำนวณ และการเปรียบเทียบ งานวิจัยนี้ใช้โปรแกรมตัวอย่าง 156 โปรแกรมจากอินเทอร์เน็ตเป็นข้อมูล วิธีวิจัยคือแปลงต้นฉบับเป็นกราฟการใหลแล้ววัดด้วยมาตรวัดซอฟต์แวร์มาตรฐาน คือ LOC, CCM, และ HCM ผลการทดลองพบว่า ต้นฉบับที่เขียนด้วยภาษาแปลมีความซับยากมากกว่าภาษาตีความ นอกจากนี้ ไม่มีภาษาหนึ่งภาษาใดที่เหมาะสมกับปัญหาทุกประเภท ผลลัพธ์เป็นการช่วยให้ผู้พัฒนาโปรแกรมสามารถเลือกภาษาที่เหมาะสมกับงานที่จะทำให้เกิดผล en_US
dc.language.iso en en_US
dc.publisher Chulalongkorn University en_US
dc.relation.uri http://doi.org/10.14457/CU.the.2013.181
dc.rights Chulalongkorn University en_US
dc.subject Computer programs -- Testing
dc.subject Computer software
dc.subject โปรแกรมคอมพิวเตอร์ -- การทดสอบ
dc.subject ซอฟต์แวร์
dc.title EMPIRICAL STUDY OF SOURCE LEVEL DIFFICULTY en_US
dc.title.alternative การศึกษาเชิงประสบการณ์ของความยากระดับต้นฉบับ en_US
dc.type Thesis en_US
dc.degree.name Master of Science en_US
dc.degree.level Master's Degree en_US
dc.degree.discipline Computer Science and Information Technology en_US
dc.degree.grantor Chulalongkorn University en_US
dc.email.advisor speraphon@gmail.com en_US
dc.identifier.DOI 10.14457/CU.the.2013.181


Files in this item

This item appears in the following Collection(s)

Show simple item record