Using Genetic Algorithm as Test Data Generator for Stored PL/SQL Program Units

HTML  Download Download as PDF (Size: 394KB)  PP. 65-73  
DOI: 10.4236/jsea.2013.62011    5,670 Downloads   10,806 Views  Citations

ABSTRACT

PL/SQL is the most common language for ORACLE database application. It allows the developer to create stored program units (Procedures, Functions, and Packages) to improve software reusability and hide the complexity of the execution of a specific operation behind a name. Also, it acts as an interface between SQL database and DEVELOPER. Therefore, it is important to test these modules that consist of procedures and functions. In this paper, a new genetic algorithm (GA), as search technique, is used in order to find the required test data according to branch criteria to test stored PL/SQL program units. The experimental results show that this was not fully achieved, such that the test target in some branches is not reached and the coverage percentage is 98%. A problem rises when target branch is depending on data retrieved from tables; in this case, GA is not able to generate test cases for this branch.

Share and Cite:

Alshraideh, M. , Mahafzah, B. , Salman, H. and Salah, I. (2013) Using Genetic Algorithm as Test Data Generator for Stored PL/SQL Program Units. Journal of Software Engineering and Applications, 6, 65-73. doi: 10.4236/jsea.2013.62011.

Copyright © 2026 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.