Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Applying Genetic Algorithms to Test JUH DBs Exceptions

Author 1: Mohammad Alshraideh Author 2: Ezdehar Jawabreh Author 3: Basel A. Mahafzah Author 4: Heba M. AL Harahsheh
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 4, No. 7 · Published 2013

DOI: https://doi.org/10.14569/IJACSA.2013.040702

Abstract

Database represents an essential part of software applications. Many organizations use database as a repository for large amount of current and historical information. With this context testing database applications is a key issue that deserves attention. SQL Exception handling mechanism can increase the reliability of the system and improve the robustness of the software. But the exception handling code that is used to respond to exceptional conditions tends to be the source of the systems failure. It is difficult to test the exception handling by traditional methods. This paper presents a new technique that combines mutation testing and global optimization based search algorithm to test exceptions code in Jordan University Hospital (JUH) database application. Thus, using mutation testing to speed the raising of exception and global optimization technique in order to automatically generate test cases, we used fitness function depends on range of data related to each query. We try to achieve the coverage of three types of PL/SQL exceptions, which are No_Data_Found (NDF), Too_Many_Rows (TMR) and Others exceptions. The results show that TMR exception is not always covered this due to existence of primary key in the query, also uncovered status appear in nested exceptions.

Keywords

How to Cite this Article

Alshraideh, M., Jawabreh, E., Mahafzah, B. A., & Harahsheh, H. M. A. (2013). Applying Genetic Algorithms to Test JUH DBs Exceptions. International Journal of Advanced Computer Science and Applications, 4(7). https://doi.org/10.14569/IJACSA.2013.040702

Alshraideh, Mohammad, et al.. "Applying Genetic Algorithms to Test JUH DBs Exceptions." International Journal of Advanced Computer Science and Applications, vol. 4, no. 7, 2013, https://doi.org/10.14569/IJACSA.2013.040702.

@article{Alshraideh2013,
  title     = {Applying Genetic Algorithms to Test JUH DBs Exceptions},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {4},
  number    = {7},
  year      = {2013},
  publisher = {The Science and Information Organization},
  author    = {Mohammad Alshraideh and Ezdehar Jawabreh and Basel A. Mahafzah and Heba M. AL Harahsheh},
  doi       = {10.14569/IJACSA.2013.040702},
  url       = {https://doi.org/10.14569/IJACSA.2013.040702}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.