scispace - formally typeset
Open AccessJournal ArticleDOI

Estimating software testing complexity

Reads0
Chats0
TLDR
The definition of a new measure of the difficulty for a computer to generate test cases, called Branch Coverage Expectation (BCE), which is much more correlated with the code coverage than the existing complexity measures.
Abstract
Context: Complexity measures provide us some information about software artifacts. A measure of the difficulty of testing a piece of code could be very useful to take control about the test phase. Objective: The aim in this paper is the definition of a new measure of the difficulty for a computer to generate test cases, we call it Branch Coverage Expectation (BCE). We also analyze the most common complexity measures and the most important features of a program. With this analysis we are trying to discover whether there exists a relationship between them and the code coverage of an automatically generated test suite. Method: The definition of this measure is based on a Markov model of the program. This model is used not only to compute the BCE, but also to provide an estimation of the number of test cases needed to reach a given coverage level in the program. In order to check our proposal, we perform a theoretical validation and we carry out an empirical validation study using 2600 test programs. Results: The results show that the previously existing measures are not so useful to estimate the difficulty of testing a program, because they are not highly correlated with the code coverage. Our proposed measure is much more correlated with the code coverage than the existing complexity measures. Conclusion: The high correlation of our measure with the code coverage suggests that the BCE measure is a very promising way of measuring the difficulty to automatically test a program. Our proposed measure is useful for predicting the behavior of an automatic test case generator.

read more

Content maybe subject to copyright    Report

Citations
More filters
Journal ArticleDOI

Reducing scheduling sequences of message-passing parallel programs

TL;DR: The proposed approach can greatly reduce scheduling sequences, and shorten execution time of a program for covering the target statement, hence improving the efficiency of testing the program.
Journal ArticleDOI

Software Testing Effort Estimation and Related Problems: A Systematic Literature Review

TL;DR: This systematic literature review presents a detailed overview of testing effort estimation task, including challenges and approaches to automating it and the solutions proposed in the literature, and exhaustively investigates related research topics.
Journal ArticleDOI

Efficiently Generating Test Data to Kill Stubborn Mutants by Dynamically Reducing the Search Domain

TL;DR: This article proposes a method of generating test data by dynamically reducing the search domain under the criterion of strong mutation testing and applies the proposed method to test eight benchmark and industrial programs.
Proceedings ArticleDOI

Behavioral and dynamic security functions chaining for Android devices

TL;DR: An approach for dynamically outsourcing and composing security functions for mobile devices, according to the network behavior of their running applications, which can be fully outsourced or split between in-cloud and on-device.
Book

Open Source Development, Communities and Quality: IFIP 20th World Computer Congress, Working Group 2.3 on Open Source Software, September 7-10, 2008, ... in Information and Communication Technology)

TL;DR: This book constitutes the refereed proceedings of IFIP Working Group 2.13 Open Source Software held in Milan, Italy on September 7-10, 2008.
References
More filters
Book

A complexity measure

TL;DR: In this paper, a graph-theoretic complexity measure for managing and controlling program complexity is presented. But the complexity is independent of physical size, and complexity depends only on the decision structure of a program.
Journal ArticleDOI

A Complexity Measure

TL;DR: Several properties of the graph-theoretic complexity are proved which show, for example, that complexity is independent of physical size and complexity depends only on the decision structure of a program.
Book

Art of Software Testing

TL;DR: Comprehensively covers psychological and economic principles, managerial aspects of testing, test tools, high-order testing, code inspections, and debugging, and programming students will find this reference work indispensible.
Book

The Art of Software Testing

TL;DR: The Art of Software Testing, Third Edition as discussed by the authors provides a brief but powerful and comprehensive presentation of time-proven software testing approaches, and is an investment that will pay for itself with the first bug you find.
Book

Handbook of Evolutionary Computation

TL;DR: The Oxford University Press and the Institute of Physics have joined forces to create a major reference publication devoted to EC fundamentals, models, algorithms and applications, intended to become the standard reference resource for the evolutionary computation community.
Related Papers (5)