Skip to main content
Log in

Artificial bee colony algorithm in data flow testing for optimal test suite generation

  • Original Article
  • Published:
International Journal of System Assurance Engineering and Management Aims and scope Submit manuscript

Abstract

Meta-heuristic Artificial Bee Colony Algorithm finds its applications in the optimization of numerical problems. The intelligent searching behaviour of honey bees forms the base of this algorithm. The Artificial Bee Colony Algorithm is responsible for performing a global search along with a local search. One of the major usage areas of Artificial Bee Colony Algorithm is software testing, such as in structural testing and test suite optimization. The implementation of Artificial Bee Colony Algorithm in the field of data flow testing is still unexplored. In data flow testing, the definition-use paths which are not definition-clear paths are the potential trouble spots. The main aim of this paper is to present a simple and novel algorithm by making use of artificial bee colony algorithm in the field of data flow testing to find out and prioritize the definition-use paths which are not definition-clear paths.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10

Similar content being viewed by others

References

  • Aggarwal KK, Yogesh S (2005) Software engineering, 2nd edn. New Age International Publishers, New Delhi

    Google Scholar 

  • Akay B, Karaboga D (2012) A modified artificial bee colony algorithm for real-parameter optimization. Inf Sci 192:120–142

    Article  Google Scholar 

  • Arcuri A (2017) Many independent objective (MIO) algorithm for test suite generation. In: International symposium on search based software engineering (pp. 3–17). Springer, Cham

  • Banharnsakun A, Achalakul T, Sirinaovakul B (2011) The best-so-far selection in artificial bee colony algorithm. Appl Soft Comput 11(2):2888–2901

    Article  Google Scholar 

  • Bashir ZA, El-Hawary ME (2009) Applying wavelets to short-term load forecasting using PSO-based neural networks. IEEE Trans Power Syst 24(1):20–27

    Article  Google Scholar 

  • Baykasoğlu A, Özbakır L, Tapkan P (2007) Artificial bee colony algorithm and its application to generalized assignment problem. In: Swarm intelligence, focus on ant and particle swarm optimization. InTech

  • Berndt D, Fisher J, Johnson L, Pinglikar J, Watkins A (2003) Breeding software test cases with genetic algorithms. In: Proceedings of the 36th annual Hawaii international conference on system sciences (pp. 10). IEEE

  • Binitha S, Sathya SS (2012) A survey of bio inspired optimization algorithms. Int J Soft Comput Eng 2(2):137–151

    Google Scholar 

  • Campos J, Ge Y, Albunian N, Fraser G, Eler M, Arcuri A (2018) An empirical evaluation of evolutionary algorithms for unit test suite generation. Inf Softw Technol 104:207–235

    Article  Google Scholar 

  • Chen X, Gu Q, Zhang X, Chen D (2009) Building prioritized pairwise interaction test suites with ant colony optimization. In: 2009 ninth international conference on quality software, pp 347–352. IEEE

  • Dahiya SS, Chhabra JK, Kumar S (2010) Application of artificial bee colony algorithm to software testing. In: 2010 21st Australian software engineering conference, pp 149–154. IEEE

  • Gao WF, Liu SY (2012) A modified artificial bee colony algorithm. Comput Oper Res 39(3):687–697

    Article  Google Scholar 

  • Haider AA, Rafiq S, Nadeem A (2012) Test suite optimization using fuzzy logic. In 2012 international conference on emerging technologies, pp 1–6. IEEE

  • Karaboga N (2009) A new design method based on artificial bee colony algorithm for digital IIR filters. J Frankl Inst 346(4):328–348

    Article  MathSciNet  Google Scholar 

  • Karaboga D, Basturk B (2007) A powerful and efficient algorithm for numerical function optimization: artificial bee colony (ABC) algorithm. J Glob Optim 39(3):459–471

    Article  MathSciNet  Google Scholar 

  • Karaboga D, Gorkemli B, Ozturk C, Karaboga N (2014) A comprehensive survey: artificial bee colony (ABC) algorithm and applications. Artif Intell Rev 42(1):21–57

    Article  Google Scholar 

  • Kulkarni NJ, Naveen KV, Singh P, Srivastava PR (2011) Test case optimization using artificial bee colony algorithm. In: International conference on advances in computing and communications, pp 570–579. Springer, Berlin

  • Lam SSB, Raju MHP, Ch S, Srivastav PR (2012) Automated generation of independent paths and test suite optimization using artificial bee colony. Procedia Eng 30:191–200

    Article  Google Scholar 

  • Lin Y-K, Yeh C-T, Huang P-S (2013) A hybrid ant-tabu algorithm for solving a multistate flow network reliability maximization problem. Appl Soft Comput 13:3529–3543

    Article  Google Scholar 

  • Liu CH, Kung DC, Hsia P (2000) Object-based data flow testing of web applications. In: Proceedings first Asia–Pacific conference on quality software, pp 7–16. IEEE

  • Mala DJ, Kamalapriya M, Shobana R, Mohan V (2009) A non-pheromone based intelligent swarm optimization technique in software test suite optimization. In: 2009 international conference on intelligent agent and multi-agent systems, pp 1–5. IEEE

  • Mala DJ, Mohan V, Kamalapriya M (2010) Automated software test optimisation framework—an artificial bee colony optimisation-based approach. IET Softw 4(5):334–348

    Article  Google Scholar 

  • Mao C, Xiao L, Yu X, Chen J (2015) Adapting ant colony optimization to generate test data for software structural testing. Swarm Evolut Comput 20:23–30

    Article  Google Scholar 

  • McCaffrey JD (2009) Generation of pairwise test sets using a genetic algorithm. In: 2009 33rd annual IEEE international computer software and applications conference, vol 1, pp 626–631. IEEE

  • Nasiraghdam H, Jadid S (2012) Optimal hybrid PV/WT/FC sizing and distribution system reconfiguration using multi-objective artificial bee colony (MOABC) algorithm. Sol Energy 86:3057–3071

    Article  Google Scholar 

  • Nayak N, Mohapatra DP (2010) Automatic test data generation for data flow testing using particle swarm optimization. In: International conference on contemporary computing, pp 1–12. Springer, Berlin

  • Pham DT, Ghanbarzadeh A, Koç E, Otri S, Rahim S, Zaidi M (2006) The bees algorithm—a novel tool for complex optimisation problems. In: Intelligent production machines and systems, pp 454–459. Elsevier Science Ltd, Amsterdam

  • Selvi V, Umarani R (2010) Comparative analysis of ant colony and particle swarm optimization techniques. Int J Comput Appl 5(4):1–6

    Google Scholar 

  • Shamshiri S, Rojas JM, Fraser G, McMinn P (2015) Random or genetic algorithm search for object-oriented test suite generation? In: Proceedings of the 2015 annual conference on genetic and evolutionary computation, pp 1367–1374. ACM

  • Singh A (2009) An artificial bee colony algorithm for the leaf-constrained minimum spanning tree problem. Appl Soft Comput 9(2):625–631

    Article  Google Scholar 

  • Sommerville I (2007) Software engineering, Eight edn. Pearson Education Limited, Harlow

    MATH  Google Scholar 

  • Srivastava PR (2009) Optimisation of software testing using genetic algorithm. Int J Artif Intell Soft Comput 1(2–4):363–375

    Article  Google Scholar 

  • Srivastava PR, Baby K (2010) Automated software testing using metahurestic technique based on an ant colony optimization. In: 2010 international symposium on electronic system design, pp 235–240. IEEE

  • Srivatsava PR, Mallikarjun B, Yang XS (2013) Optimal test sequence generation using firefly algorithm. Swarm Evolut Comput 8:44–53

    Article  Google Scholar 

  • Varshney S, Mehrotra M (2016) A differential evolution based approach to generate test data for data-flow coverage. In: 2016 international conference on computing, communication and automation (ICCCA), pp 796–801. IEEE

  • Yoo S, Harman M (2010) Using hybrid algorithm for pareto efficient multi-objective test suite minimisation. J Syst Softw 83(4):689–701

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Snehlata Sheoran.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Sheoran, S., Mittal, N. & Gelbukh, A. Artificial bee colony algorithm in data flow testing for optimal test suite generation. Int J Syst Assur Eng Manag 11, 340–349 (2020). https://doi.org/10.1007/s13198-019-00862-1

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s13198-019-00862-1

Keywords

Navigation