Cargando…

A Structural Testing Model Using SDA Algorithm

Path testing is the most needed and useful coverage criterion in structural testing. Tracing and obtaining the resultant paths is the main problem in path coverage testing. Evolutionary techniques are adopted in many software product evaluation methods such as generating and selection of input test...

Descripción completa

Detalles Bibliográficos
Autores principales: S, Saju Sankar, S S, Vinod Chandra
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7354813/
http://dx.doi.org/10.1007/978-3-030-53956-6_36
_version_ 1783558170518487040
author S, Saju Sankar
S S, Vinod Chandra
author_facet S, Saju Sankar
S S, Vinod Chandra
author_sort S, Saju Sankar
collection PubMed
description Path testing is the most needed and useful coverage criterion in structural testing. Tracing and obtaining the resultant paths is the main problem in path coverage testing. Evolutionary techniques are adopted in many software product evaluation methods such as generating and selection of input test data. The priority of the feasible paths is also to be determined. In this paper, we proposes an optimization algorithm for identifying the effective test data execution paths in control flow graph for the program module under test and finding the most efficient test paths using modified smell detection agent based optimization algorithm. New innovations are being conducted for bio-motivated algorithmic techniques from the characteristics of animal behavior. Smell detection agent based algorithm helps to identify most feasible paths and it uses sequential search to obtain all paths in a graph. The tester achieves the paths to be tested through a number of smell spot values from the source node to the target node. We will use control flow graph to produce perfect test paths and cyclomatic complexity number for obtaining the number of feasible test paths. The best feasible paths are prioritized using smell detection agent algorithm such that all the paths are thoroughly tested which ensures structural testing. This algorithm generates paths equal to the cyclomatic complexity. It can be illustrated that the proposed approach guarantees full path coverage.
format Online
Article
Text
id pubmed-7354813
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-73548132020-07-13 A Structural Testing Model Using SDA Algorithm S, Saju Sankar S S, Vinod Chandra Advances in Swarm Intelligence Article Path testing is the most needed and useful coverage criterion in structural testing. Tracing and obtaining the resultant paths is the main problem in path coverage testing. Evolutionary techniques are adopted in many software product evaluation methods such as generating and selection of input test data. The priority of the feasible paths is also to be determined. In this paper, we proposes an optimization algorithm for identifying the effective test data execution paths in control flow graph for the program module under test and finding the most efficient test paths using modified smell detection agent based optimization algorithm. New innovations are being conducted for bio-motivated algorithmic techniques from the characteristics of animal behavior. Smell detection agent based algorithm helps to identify most feasible paths and it uses sequential search to obtain all paths in a graph. The tester achieves the paths to be tested through a number of smell spot values from the source node to the target node. We will use control flow graph to produce perfect test paths and cyclomatic complexity number for obtaining the number of feasible test paths. The best feasible paths are prioritized using smell detection agent algorithm such that all the paths are thoroughly tested which ensures structural testing. This algorithm generates paths equal to the cyclomatic complexity. It can be illustrated that the proposed approach guarantees full path coverage. 2020-06-22 /pmc/articles/PMC7354813/ http://dx.doi.org/10.1007/978-3-030-53956-6_36 Text en © Springer Nature Switzerland AG 2020 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic.
spellingShingle Article
S, Saju Sankar
S S, Vinod Chandra
A Structural Testing Model Using SDA Algorithm
title A Structural Testing Model Using SDA Algorithm
title_full A Structural Testing Model Using SDA Algorithm
title_fullStr A Structural Testing Model Using SDA Algorithm
title_full_unstemmed A Structural Testing Model Using SDA Algorithm
title_short A Structural Testing Model Using SDA Algorithm
title_sort structural testing model using sda algorithm
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7354813/
http://dx.doi.org/10.1007/978-3-030-53956-6_36
work_keys_str_mv AT ssajusankar astructuraltestingmodelusingsdaalgorithm
AT ssvinodchandra astructuraltestingmodelusingsdaalgorithm
AT ssajusankar structuraltestingmodelusingsdaalgorithm
AT ssvinodchandra structuraltestingmodelusingsdaalgorithm