arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1401.7758cs.SE
收藏

利用检验和产品检验进行聚焦测试

Focusing Testing by Using Inspection and Product Metrics

Frank Elberzhager, Stephan Kremer, Jürgen Münch, Danilo Assmann

摘要:

一个众所周知的识别软件中容易出现缺陷的部分以便集中测试的方法是使用不同种类的产品度量,例如大小或复杂性。虽然这种方法已经在许多情况下进行了评估,但问题仍然是,是否有进一步的机会来提高测试的重点。一个想法是识别其他类型的信息,这些信息可以指示容易出现缺陷的软件部件的位置。特别是软件检查的数据似乎很有希望。这种数据可能已经导致软件部分具有固有的困难或编程挑战,因此可能容易出现缺陷。本文首先解释了如何使用检查和产品度量来集中测试活动。其次,我们比较了通常用于预测缺陷倾向部件的选定产品和检查指标(例如,尺寸和复杂性度量、检查缺陷内容度量和缺陷密度度量)。基于在不同环境中进行的两个案例研究的初步经验,说明了预测容易出现缺陷的零件的不同指标的适用性。研究表明,检查缺陷数据似乎是一个合适的预测器,某些检查和产品指标的组合导致了我们的上下文中的最佳优先级。此外,定性的经验,这证实了预期的好处,使用检查结果,以优化测试。

英文摘要:

A well-known approach for identifying defect-prone parts of software in order to focus testing is to use different kinds of product metrics such as size or complexity. Although this approach has been evaluated in many contexts, the question remains if there are further opportunities to improve test focusing. One idea is to identify other types of information that may indicate the location of defect-prone software parts. Data from software inspections, in particular, appear to be promising. This kind of data might already lead to software parts that have inherent difficulties or programming challenges, and in consequence might be defect-prone. This article first explains how inspection and product metrics can be used to focus testing activities. Second, we compare selected product and inspection metrics commonly used to predict defect-prone parts (e.g., size and complexity metrics, inspection defect content metrics, and defect density metrics). Based on initial experience from two case studies performed in different environments, the suitability of different metrics for predicting defect-prone parts is illustrated. The studies revealed that inspection defect data seems to be a suitable predictor, and a combination of certain inspection and product metrics led to the best prioritizations in our contexts. In addition, qualitative experience is presented, which substantiates the expected benefit of using inspection results to optimize testing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑