Application of particle swarm optimisation for coverage estimation in software testing. (10th February 2021)
- Record Type:
- Journal Article
- Title:
- Application of particle swarm optimisation for coverage estimation in software testing. (10th February 2021)
- Main Title:
- Application of particle swarm optimisation for coverage estimation in software testing
- Authors:
- Boopathi, M.
Sujatha, R.
Kumar, C. Senthil - Abstract:
- A Markov approach for test case generation and code coverage estimation using particle swarm optimisation technique is proposed. Initially, the DD-graph is taken from control flow graph of the software code by joining decision to decision. The DD-graph identifies the sequences of independent paths using c-uses and p-uses based on set theory approach and compared to cyclomatic complexity. Automatic test cases are generated and the nature of test cases are integer, float and Boolean variables. Using this initial test suite, the code coverage summary is generated using gcov code coverage analysis tool, the branch probability percentage is considered as TPM values with respect to each branch in the DD-graph. Path coverage is used as a fitness function which is the product of node coverage and TPM values. Iterate this algorithm until reaches 100% code coverage among each independent test path. The randomness of the proposed approach is compared to genetic algorithm.
- Is Part Of:
- International journal of computational science and engineering. Volume 23:Number 4(2020)
- Journal:
- International journal of computational science and engineering
- Issue:
- Volume 23:Number 4(2020)
- Issue Display:
- Volume 23, Issue 4 (2020)
- Year:
- 2020
- Volume:
- 23
- Issue:
- 4
- Issue Sort Value:
- 2020-0023-0004-0000
- Page Start:
- 367
- Page End:
- 380
- Publication Date:
- 2021-02-10
- Subjects:
- DD-graph -- test paths identification -- cyclomatic complexity -- mixed data type variables -- gcov coverage compiler -- branch coverage -- software testing -- Markov chain -- TPM-based fitness function -- particle swarm optimisation technique -- randomness and convergence speed -- most critical paths
Computer science -- Mathematics -- Periodicals
Computer simulation -- Mathematical aspects -- Periodicals
Computational intelligence -- Periodicals
004.015105 - Journal URLs:
- http://www.inderscience.com/jhome.php?jcode=ijcse ↗
http://www.inderscience.com/ ↗ - Languages:
- English
- ISSNs:
- 1742-7185
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 14950.xml