An approach of optimal path generation using ant colony optimization

Software Testing is one of the indispensable parts of the software development lifecycle and structural testing is one of the most widely used testing paradigms to test various software. Structural testing relies on code path identification, which in turn leads to identification of effective paths. Aim of the current paper is to present a simple and novel algorithm with the help of an ant colony optimization, for the optimal path identification by using the basic property and behavior of the ants. This novel approach uses certain set of rules to find out all the effective/optimal paths via ant colony optimization (ACO) principle. The method concentrates on generation of paths, equal to the cyclomatic complexity. This algorithm guarantees full path coverage.

[1]  Serhiy D. Shtovba Ant Algorithms: Theory and Applications , 2005, Programming and Computer Software.

[2]  Phil McMinn,et al.  Search‐based software test data generation: a survey , 2004, Softw. Test. Verification Reliab..

[3]  Robert Sedgewick,et al.  Algorithms in Java , 2003 .

[4]  William E. Howden,et al.  Functional Program Testing , 1978, IEEE Transactions on Software Engineering.

[5]  Chiou Peng Lam,et al.  An Ant Colony Optimization Approach to Test Sequence Generation for Statebased Software Testin , 2005, QSIC.

[6]  D. Jeya Mala,et al.  IntelligenTester - Test Sequence Optimization Framework using Multi-Agents , 2008, J. Comput..

[7]  Thomas Stützle,et al.  The Ant Colony Optimization Metaheuristic: Algorithms, Applications, and Advances , 2003 .

[8]  Martin Kardos,et al.  Model Based Formal Verification of Distributed Production Control Systems , 2004, SoftSpez Final Report.

[9]  Anas N. Al-Rabadi,et al.  A comparison of modified reconstructability analysis and Ashenhurst‐Curtis decomposition of Boolean functions , 2004 .

[10]  Marco Dorigo,et al.  Ant colony optimization , 2006, IEEE Computational Intelligence Magazine.

[11]  M. Kumar,et al.  Generation of test data using meta heuristic approach , 2008, TENCON 2008 - 2008 IEEE Region 10 Conference.

[12]  Mark Harman,et al.  The Current State and Future of Search Based Software Engineering , 2007, Future of Software Engineering (FOSE '07).

[13]  Giuliano Antoniol,et al.  Automatic mutation test input data generation via ant colony , 2007, GECCO '07.

[14]  Gregory H. Harris,et al.  Review of "Algorithms in C++, third edition by Robert Sedgewick." Addison-Wesley 2002. , 2003, SOEN.

[15]  Witold Pedrycz,et al.  Computational intelligence in software engineering , 1997, CCECE '97. Canadian Conference on Electrical and Computer Engineering. Engineering Innovation: Voyage of Discovery. Conference Proceedings.

[16]  Lionel C. Briand On the many ways software engineering can benefit from knowledge engineering , 2002, SEKE '02.

[17]  William E. Howden,et al.  Functional program testing and analysis , 1986 .

[18]  Huaizhong Li,et al.  An ant colony optimization approach to test sequence generation for state based software testing , 2005, Fifth International Conference on Quality Software (QSIC'05).

[19]  Aditya P. Mathur,et al.  Foundations of Software Testing , 2007 .

[20]  Thomas Stützle,et al.  A Comparison of Particle Swarm Optimization Algorithms Based on Run-Length Distributions , 2006, ANTS Workshop.

[21]  Simon Parsons Ant Colony Optimization by Marco Dorigo and Thomas Stützle, MIT Press, 305 pp, ISBN 0-262-04219-3 , 2005, Knowl. Eng. Rev..