A model for concurrent states and its coverage criteria

Hideharu Kojima, Y. Kakuda, Juichi Takahashi, T. Ohta
{"title":"A model for concurrent states and its coverage criteria","authors":"Hideharu Kojima, Y. Kakuda, Juichi Takahashi, T. Ohta","doi":"10.1109/ISADS.2009.5207390","DOIUrl":null,"url":null,"abstract":"Recently, the embedded software, which is implemented in high definition TVs, recorders and cellar phones and so on, are complicated. There are several reasons. One of the reasons is that embedded software will be implemented with libraries for concurrent processing such as pthread in C language. Developers have to be aware that concurrent programming by using multithread, multi-process and so on. However, concurrent programming is harder than sequential programming. It is possible to cause defects such as race conditions, dead lock and so on. In this paper, we employ ACP (all concurrent paths) and CMFG (concurrent module flow graph) to execute white box testing for the source code of the concurrent software. The number of test cases of ACP becomes huge when the number of blocks increases. In this paper, we propose to suppress the number of test cases of ACP and measure the coverage of ACP by a tool.","PeriodicalId":342911,"journal":{"name":"2009 International Symposium on Autonomous Decentralized Systems","volume":"83 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-03-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 International Symposium on Autonomous Decentralized Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISADS.2009.5207390","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8

Abstract

Recently, the embedded software, which is implemented in high definition TVs, recorders and cellar phones and so on, are complicated. There are several reasons. One of the reasons is that embedded software will be implemented with libraries for concurrent processing such as pthread in C language. Developers have to be aware that concurrent programming by using multithread, multi-process and so on. However, concurrent programming is harder than sequential programming. It is possible to cause defects such as race conditions, dead lock and so on. In this paper, we employ ACP (all concurrent paths) and CMFG (concurrent module flow graph) to execute white box testing for the source code of the concurrent software. The number of test cases of ACP becomes huge when the number of blocks increases. In this paper, we propose to suppress the number of test cases of ACP and measure the coverage of ACP by a tool.
并发状态模型及其覆盖标准
目前,用于高清电视、录像机、手机等的嵌入式软件较为复杂。有几个原因。其中一个原因是嵌入式软件将使用用于并发处理的库来实现,例如C语言中的pthread。开发人员必须意识到并发编程通过使用多线程、多进程等。然而,并发编程比顺序编程更难。有可能造成竞争条件、死锁等缺陷。本文采用ACP (all concurrent paths)和CMFG (concurrent module flow graph)对并行软件的源代码进行白盒测试。随着区块数量的增加,ACP的测试用例数量也会越来越多。在本文中,我们提出抑制ACP的测试用例的数量,并通过一个工具来度量ACP的覆盖率。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信