International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 179 - Number 49 |
Year of Publication: 2018 |
Authors: Abdullah H. Ahmed, Dujan B. Taha |
10.5120/ijca2018917266 |
Abdullah H. Ahmed, Dujan B. Taha . Generation of Optimal Testing Paths using Anti –Ant Colony Algorithm. International Journal of Computer Applications. 179, 49 ( Jun 2018), 20-25. DOI=10.5120/ijca2018917266
The most important issue for software industry is to ensure software quality. The software that delivered to the end user must have high quality that meets user requirements. Software must be tested to ensure its quality. In the context of the path-based testing it is important to find the optimal paths from all possible code execution paths to reduce testing process cost and time. The optimal paths are the less number of the paths that cover all source code statements. The proposed algorithm accepts java source code as an input and generates the control flow graph(CFG) corresponding to that code. Using anti-ant colony optimization, the optimal paths corresponding to the source code will be generated. The proposed algorithm determines the minimum set of paths that cover all source code statements efficiently and accurately.