Skip to main navigation Skip to search Skip to main content

Determining basis test paths using genetic algorithm and j48

  • Ackmad Arwan*
  • , Denny Sagita
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract

Basis tes: paths is a method that uses a graph contains nodes as a representation of codes and the lines as a sequence of code execution steps. Determination of basis test paths can be generated using a Genetic Algorithm, but the drawback was the number of iterations affect the possibility of visibility of the appropriate basis path. When the iteration is less, there is a possibility the paths do not appear all. Conversely, if the iteration is too much, all the paths have appeared in the middle of iteration. This research aims to optimize the performance of Genetic Algorithms for the generation of Basis Test Paths by determining how many iterations level corresponding to the characteristics of the code. Code metrics Node. Edge. VG. NBD. LOC were used as features to determine the number of iterations. J48 classifier was employed as a method to predict the number of iterations. There were 17 methods have selected as a data training, and 16 methods as a data test. The system was able to predict 81.5% of 58 basis paths. Efficiency test results also show that our system was able to seek Basis Paths 35% faster than the old system.

Original languageEnglish
Pages (from-to)3333-3340
Number of pages8
JournalInternational Journal of Electrical and Computer Engineering
Volume8
Issue number5
DOIs
Publication statusPublished - Oct 2018

Keywords

  • Basis test paths
  • Code metrics
  • Genetic algorithm
  • J48 software tests

Fingerprint

Dive into the research topics of 'Determining basis test paths using genetic algorithm and j48'. Together they form a unique fingerprint.

Cite this