测量需求质量以预测可测试性

J. Hayes, Wenbin Li, Tingting Yu, Xue Han, Mark Hays, Clinton Woodson
{"title":"测量需求质量以预测可测试性","authors":"J. Hayes, Wenbin Li, Tingting Yu, Xue Han, Mark Hays, Clinton Woodson","doi":"10.1109/AIRE.2015.7337622","DOIUrl":null,"url":null,"abstract":"Software bugs contribute to the cost of ownership for consumers in a software-driven society and can potentially lead to devastating failures. Software testing, including functional testing and structural testing, remains a common method for uncovering faults and assessing dependability of software systems. To enhance testing effectiveness, the developed artifacts (requirements, code) must be designed to be testable. Prior work has developed many approaches to address the testability of code when applied to structural testing, but to date no work has considered approaches for assessing and predicting testability of requirements to aid functional testing. In this work, we address requirement testability from the perspective of requirement understandability and quality using a machine learning and statistical analysis approach. We first use requirement measures to empirically investigate the relevant relationship between each measure and requirement testability. We then assess relevant requirement measures for predicting requirement testability. We examined two datasets, each consisting of requirement and code artifacts. We found that several measures assist in delineating between the testable and non-testable requirements, and found anecdotal evidence that a learned model of testability can be used to guide evaluation of requirements for other (non-trained) systems.","PeriodicalId":320862,"journal":{"name":"2015 IEEE Second International Workshop on Artificial Intelligence for Requirements Engineering (AIRE)","volume":"75 6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":"{\"title\":\"Measuring Requirement Quality to Predict Testability\",\"authors\":\"J. Hayes, Wenbin Li, Tingting Yu, Xue Han, Mark Hays, Clinton Woodson\",\"doi\":\"10.1109/AIRE.2015.7337622\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Software bugs contribute to the cost of ownership for consumers in a software-driven society and can potentially lead to devastating failures. Software testing, including functional testing and structural testing, remains a common method for uncovering faults and assessing dependability of software systems. To enhance testing effectiveness, the developed artifacts (requirements, code) must be designed to be testable. Prior work has developed many approaches to address the testability of code when applied to structural testing, but to date no work has considered approaches for assessing and predicting testability of requirements to aid functional testing. In this work, we address requirement testability from the perspective of requirement understandability and quality using a machine learning and statistical analysis approach. We first use requirement measures to empirically investigate the relevant relationship between each measure and requirement testability. We then assess relevant requirement measures for predicting requirement testability. We examined two datasets, each consisting of requirement and code artifacts. We found that several measures assist in delineating between the testable and non-testable requirements, and found anecdotal evidence that a learned model of testability can be used to guide evaluation of requirements for other (non-trained) systems.\",\"PeriodicalId\":320862,\"journal\":{\"name\":\"2015 IEEE Second International Workshop on Artificial Intelligence for Requirements Engineering (AIRE)\",\"volume\":\"75 6 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2015-08-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"8\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2015 IEEE Second International Workshop on Artificial Intelligence for Requirements Engineering (AIRE)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/AIRE.2015.7337622\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 IEEE Second International Workshop on Artificial Intelligence for Requirements Engineering (AIRE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/AIRE.2015.7337622","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8

摘要

在软件驱动的社会中,软件bug增加了消费者的拥有成本,并可能导致毁灭性的失败。软件测试,包括功能测试和结构测试,仍然是发现错误和评估软件系统可靠性的常用方法。为了提高测试的有效性,开发的工件(需求、代码)必须设计成可测试的。先前的工作已经开发了许多方法来处理应用于结构测试时代码的可测试性,但是到目前为止还没有工作考虑评估和预测需求的可测试性来辅助功能测试的方法。在这项工作中,我们使用机器学习和统计分析方法,从需求可理解性和质量的角度来处理需求可测试性。我们首先使用需求度量来实证地研究每个度量和需求可测试性之间的相关关系。然后我们评估预测需求可测试性的相关需求度量。我们检查了两个数据集,每个数据集都由需求和代码工件组成。我们发现一些方法有助于在可测试和不可测试的需求之间进行描述,并且发现一个可测试性的学习模型可以用来指导其他(未经训练的)系统的需求评估的轶事证据。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Measuring Requirement Quality to Predict Testability
Software bugs contribute to the cost of ownership for consumers in a software-driven society and can potentially lead to devastating failures. Software testing, including functional testing and structural testing, remains a common method for uncovering faults and assessing dependability of software systems. To enhance testing effectiveness, the developed artifacts (requirements, code) must be designed to be testable. Prior work has developed many approaches to address the testability of code when applied to structural testing, but to date no work has considered approaches for assessing and predicting testability of requirements to aid functional testing. In this work, we address requirement testability from the perspective of requirement understandability and quality using a machine learning and statistical analysis approach. We first use requirement measures to empirically investigate the relevant relationship between each measure and requirement testability. We then assess relevant requirement measures for predicting requirement testability. We examined two datasets, each consisting of requirement and code artifacts. We found that several measures assist in delineating between the testable and non-testable requirements, and found anecdotal evidence that a learned model of testability can be used to guide evaluation of requirements for other (non-trained) systems.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信