An Experimental Study on Detecting Semantic Defects in Object-Oriented Programs using Software Reading Techniques

A. O. Mohammed, Ziad A. Abdelnabi, Abdelsalam M. Maatuk, Abdalmunam Abdalla
{"title":"An Experimental Study on Detecting Semantic Defects in Object-Oriented Programs using Software Reading Techniques","authors":"A. O. Mohammed, Ziad A. Abdelnabi, Abdelsalam M. Maatuk, Abdalmunam Abdalla","doi":"10.1145/2832987.2833025","DOIUrl":null,"url":null,"abstract":"Software defects are categorized into two main types: Syntax and Semantic defects. Syntax defects are easily to capture using compliers (or interpreters) that programming languages have. However, compliers are incapable to detect semantic defects, and this makes programmers re-read the source code a number of times to figure out where the defects locations are. Semantic defects are unable to be detected by compilers, as they are logical errors, and need the code file to be inspected carefully to catch them. This paper presents an approach to help programmers in discovering semantic defects in object oriented programming. As software code reading techniques play the most important role in capturing semantic defects, we have conducted a number of controlled experiments using three reading techniques, in order to test their efficiency and effectiveness.","PeriodicalId":416001,"journal":{"name":"Proceedings of the The International Conference on Engineering & MIS 2015","volume":"33 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-09-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the The International Conference on Engineering & MIS 2015","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2832987.2833025","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10

Abstract

Software defects are categorized into two main types: Syntax and Semantic defects. Syntax defects are easily to capture using compliers (or interpreters) that programming languages have. However, compliers are incapable to detect semantic defects, and this makes programmers re-read the source code a number of times to figure out where the defects locations are. Semantic defects are unable to be detected by compilers, as they are logical errors, and need the code file to be inspected carefully to catch them. This paper presents an approach to help programmers in discovering semantic defects in object oriented programming. As software code reading techniques play the most important role in capturing semantic defects, we have conducted a number of controlled experiments using three reading techniques, in order to test their efficiency and effectiveness.
基于软件读取技术的面向对象程序语义缺陷检测实验研究
软件缺陷主要分为两类:语法缺陷和语义缺陷。使用编程语言的编译器(或解释器)很容易捕获语法缺陷。然而,编译器无法检测语义缺陷,这使得程序员多次重新阅读源代码以找出缺陷所在的位置。编译器无法检测到语义缺陷,因为它们是逻辑错误,需要仔细检查代码文件才能捕获它们。本文提出了一种帮助程序员发现面向对象编程中的语义缺陷的方法。由于软件代码阅读技术在捕获语义缺陷方面发挥着最重要的作用,我们使用三种阅读技术进行了大量的对照实验,以测试它们的效率和有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信