Title: Code coverage using intelligent water drop (IWD)

Authors: Komal Agarwal; Manish Goyal; Praveen Ranjan Srivastava

Addresses: Department of Computer Science and Information Systems, Birla Institute of Technology and Science (BITS), Pilani, Pilani Campus, Rajasthan-333031, India ' Department of Computer Science and Information Systems, Birla Institute of Technology and Science (BITS), Pilani, Pilani Campus, Rajasthan-333031, India ' Department of Computer Science and Information Systems, Birla Institute of Technology and Science (BITS), Pilani, Pilani Campus, Rajasthan-333031, India

Abstract: Software testing is one of the most challenging and arduous phase of software development life cycle (SDLC) which helps in determining the software quality. Code coverage is a widely used testing paradigm, which describes the degree to which the code has been tested. Aim of the current paper is to propose an optimised code coverage algorithm with the help of an emerging technique, i.e., intelligent water drop (IWD). This approach uses dynamic parameters for finding all the optimal paths using basic properties of natural water drops. It proposes how test cases can be considered as an IWD moving on the edges of the control dependency graph for finding the optimal paths. The algorithm guarantees complete code coverage by generating automated test sequences.

Keywords: code coverage; intelligent water drop; IWD; control dependence graph; CDG; test case; software testing; software development; software quality; optimal paths; automated test sequences.

DOI: 10.1504/IJBIC.2012.051396

International Journal of Bio-Inspired Computation, 2012 Vol.4 No.6, pp.392 - 402

Received: 07 Dec 2011
Accepted: 20 May 2012

Published online: 22 Sep 2014 *

Full-text access for editors Full-text access for subscribers Purchase this article Comment on this article