| Literature DB >> 33270654 |
Ayesha Kiran1, Wasi Haider Butt1, Arslan Shaukat1, Muhammad Umar Farooq1, Urooj Fatima1, Farooque Azam1, Zeeshan Anwar2.
Abstract
In the process of software development, regression testing is one of the major activities that is done after making modifications in the current system or whenever a software system evolves. But, the test suite size increases with the addition of new test cases and it becomes in-efficient because of the occurrence of redundant, broken, and obsolete test cases. For that reason, it results in additional time and budget to run all these test cases. Many researchers have proposed computational intelligence and conventional approaches for dealing with this problem and they have achieved an optimized test suite by selecting, minimizing or reducing, and prioritizing test cases. Currently, most of these optimization approaches are single objective and static in nature. But, it is mandatory to use multi-objective dynamic approaches for optimization due to the advancements in information technology and associated market challenges. Therefore, we have proposed three variants of self-tunable Adaptive Neuro-fuzzy Inference System i.e. TLBO-ANFIS, FA-ANFIS, and HS-ANFIS, for multi-objective regression test suites optimization. Two benchmark test suites are used for evaluating the proposed ANFIS variants. The performance of proposed ANFIS variants is measured using Standard Deviation and Root Mean Square Error. A comparison of experimental results is also done with six existing methods i.e. GA-ANFIS, PSO-ANFIS, MOGA, NSGA-II, MOPSO, and TOPSIS and it is concluded that the proposed method effectively reduces the size of regression test suite without a reduction in the fault detection rate.Entities:
Year: 2020 PMID: 33270654 PMCID: PMC7714168 DOI: 10.1371/journal.pone.0242708
Source DB: PubMed Journal: PLoS One ISSN: 1932-6203 Impact factor: 3.240
Fig 1The basic architecture of ANFIS [43].
Basic parameters for TLBO.
| Serial. No | Parameter | Assigned Value |
|---|---|---|
| 1 | No. of iterations | 1000 |
| 2 | Size of population | 50 |
Control parameters for HS.
| Serial. No | Parameter | Assigned Value |
|---|---|---|
| 1 | No. of iterations | 1000 |
| 2 | Harmony memory size | 50 |
| 3 | Number of New Harmonies | 20 |
| 4 | Harmony Memory Consideration Rate | 0.9 |
| 5 | Pitch Adjustment Rate | 0.1 |
| 6 | Fret Width (Bandwidth) | 0.02*(VarMax-VarMin) |
| 7 | Fret Width Damp Ratio | 0.995 |
Control parameters for FA.
| Serial. No | Parameter | Assigned Value |
|---|---|---|
| 1 | Number of iterations | 1000 |
| 2 | Swarm Size | 25 |
| 3 | Light Absorption Coefficient (Gamma) | 1 |
| 4 | Attraction Coefficient Base Value | 2 |
| 5 | Coefficient of Mutation | 0.2 |
| 6 | Damping Ratio of Mutation Coefficient | 0.98 |
| 7 | Uniform Mutation Range | (VarMax-VarMin)* 0.05 |
Fig 2Overview of proposed methodology.
Variables.
| Serial. No | Parameter | Notation |
|---|---|---|
| 1 | Test Case | SC |
| 2 | Test Suite | O |
| 3 | Optimized Test Cases | OT |
| 4 | Coverage of Requirements | CR |
| 5 | Impact of Requirement Failure | IFR |
| 6 | Total requirements in a test suite | TR |
| 7 | Requirements covered by a test case | TC |
| 8 | Rate of Detected Faults | RDF |
| 9 | Total faults in a test suite | TF |
| 10 | Faults detected by a test case | DF |
| 11 | Time of Execution | ET |
Fig 3Graphical representation of difference between target and output by implementing TLBO-ANFIS (A) for PDP (B) for SPT.
Fig 5Graphical representation of difference between target and output by implementing FA-ANFIS (A) for PDP (B) for SPT.
Prediction error of proposed ANFIS variants on first case study.
| Case Study I: PDP | ||||||
|---|---|---|---|---|---|---|
| Error | TLBO-ANFIS | HS-ANFIS | FA-ANFIS | |||
| Training | Testing | Training | Testing | Training | Testing | |
| 0.05 | 0.04 | 0.07 | 0.08 | 0.04 | 0.04 | |
| 0.05 | 0.06 | 0.06 | 0.06 | 0.07 | 0.07 | |
Prediction error of proposed ANFIS variants on second case study.
| Case Study II: SPT | ||||||
|---|---|---|---|---|---|---|
| Error | TLBO-ANFIS | HS-ANFIS | FA-ANFIS | |||
| Training | Testing | Training | Testing | Training | Testing | |
| 0.05 | 0.05 | 0.06 | 0.06 | 0.04 | 0.04 | |
| 0.05 | 0.05 | 0.06 | 0.07 | 0.04 | 0.04 | |
Comparison of proposed ANFIS variants in terms of execution time.
| TLBO-ANFIS | HS-ANFIS | FA-ANFIS | |
|---|---|---|---|
| 1.71 min | 1.93 min | 4.32 min | |
| 6.89 min | 4.68 min | 38.71 min |
Evaluation of experimental results.
| Case Study I: PDP | Case Study II: SPT | |||||||
|---|---|---|---|---|---|---|---|---|
| Algorithm | RTS | FDR | RTE | LRC | RTS | FDR | RTE | LRC |
| 57.57 | 0 | 65.19 | 59.48 | 54.54 | 0 | 55.52 | 48.01 | |
| 60.60 | 0 | 63.52 | 62.71 | 57.57 | 0 | 62.47 | 53.39 | |
| 63.63 | 25 | 58.14 | 64.95 | 67.67 | 0 | 69.20 | 72.11 | |
Fig 6Comparison results for PDP.
Fig 7Comparison results for SPT.