Skip to main content

Systolic Genetic Search for Software Engineering: The Test Suite Minimization Case

  • Conference paper
  • First Online:
Applications of Evolutionary Computation (EvoApplications 2014)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 8602))

Included in the following conference series:

Abstract

The Test Suite Minimization Problem (TSMP) is a \(\mathcal {NP}\)-hard real-world problem that arises in the field of software engineering. It lies in selecting the minimal set of test cases from a large test suite, ensuring that the test cases selected cover a given set of elements of a computer program under test. In this paper, we propose a Systolic Genetic Search (SGS) algorithm for solving the TSMP. We use the global concept of SGS to derive a particular algorithm to explicitly exploit the high degree of parallelism available in modern GPU architectures. The experimental evaluation on seven real-world programs shows that SGS is highly effective for the TSMP, as it obtains the optimal solution in almost every single run for all the tested software. It also outperforms two competitive Genetic Algorithms. The GPU-based implementation of SGS has achieved a high performance, obtaining runtime reductions of up to 40\(\times \) compared to its sequential implementation, and solving all the instances considered in less than nine seconds.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Alba, E., (ed.): Parallel Metaheuristics: A New Class of Algorithms. Wiley (2005)

    Google Scholar 

  2. Arito, F., Chicano, F., Alba, E.: On the application of sat solvers to the test suite minimization problem. In: Fraser, G., Teixeira de Souza, J. (eds.) SSBSE 2012. LNCS, vol. 7515, pp. 45–59. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  3. Chen, T.Y., Lau, M.F.: Heuristics towards the optimization of the size of a test suite. In: Procs. of the 3rd Int. Conf. on Software Quality Management, pp. 415–424 (1995)

    Google Scholar 

  4. Chen, T.Y., Lau, M.F.: A simulation study on some heuristics for test suite reduction. Information and Software Technology 40(13), 777–787 (1998)

    Article  Google Scholar 

  5. Do, H., Elbaum, S., Rothermel, G.: Supporting controlled experimentation with testing techniques: An infrastructure and its potential impact. Empirical Softw. Engg. 10(4), 405–435 (2005)

    Article  Google Scholar 

  6. Harman, M., Mansouri, S.A., Zhang, Y.: Search-based software engineering: Trends, techniques and applications. ACM Comput. Surv. 45(1), 11 (2012)

    Article  Google Scholar 

  7. Harrold, M.J., Gupta, R., Soffa, M.L.: A methodology for controlling the size of a test suite. ACM Trans. Softw. Eng. Methodol. 2(3), 270–285 (1993)

    Article  Google Scholar 

  8. Hutchins, M., Foster, H., Goradia, T., Ostrand, T.: Experiments of the effectiveness of dataflow- and controlflow-based test adequacy criteria. In: Proc. of the 16th Int. Conf. on Software Engineering, pp. 191–200 (1994)

    Google Scholar 

  9. Kung, H.T.: Why systolic architectures? Computer 15(1), 37–46 (1982)

    Article  Google Scholar 

  10. Kung, H.T., Leiserson, C.E.: Systolic arrays (for VLSI). In: Sparse Matrix Proceedings, pp. 256–282 (1978)

    Google Scholar 

  11. Offutt, J., Pan, J., Voas, J.: Procedures for reducing the size of coverage-based test sets. In: Procs. of the Twelfth Int. Conf. on Testing Computer Software (1995)

    Google Scholar 

  12. Pedemonte, M., Alba, E., Luna, F.: Towards the design of systolic genetic search. In: IEEE 26th International Parallel and Distributed Processing Symposium Workshops & PhD Forum, pp. 1778–1786 IEEE Computer Society (2012)

    Google Scholar 

  13. Pedemonte, M., Luna, F., Alba, E.: New ideas in parallel metaheuristics on gpu: Systolic genetic search. In: Tsutsui, S., Collet, P.: Massively Parallel Evolutionary Computation on GPGPUs. Natural Computing Series, pp. 203–225, Springer (2013)

    Google Scholar 

  14. Sheskin, D.J.: Handbook of Parametric and Nonparametric Statistical Procedures, Fifth edition, Chapman and Hall/CRC (2011)

    Google Scholar 

  15. Yoo, S., Harman, M.: Pareto efficient multi-objective test case selection. In: Proceedings of the 2007 Int. Symposium on Software Testing and Analysis, pp. 140–150 (2007)

    Google Scholar 

  16. Yoo, S., Harman, M.: Regression testing minimization, selection and prioritization: a survey. Softw. Test. Verif. Reliab. 22(2), 67–120 (2012)

    Article  Google Scholar 

  17. Yoo, S., Harman, M., Ur, S.: Highly scalable multi objective test suite minimisation using graphics cards. In: Proceedings of the Third International Conference on Search Based Software Engineering, pp. 219–236 (2011)

    Google Scholar 

  18. Yoo, S., Harman, M., Ur, S.: Gpgpu test suite minimisation: search based software engineering performance improvement using graphics cards. Empirical Software Engineering 18(3), 550–593 (2013)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Martín Pedemonte .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Pedemonte, M., Luna, F., Alba, E. (2014). Systolic Genetic Search for Software Engineering: The Test Suite Minimization Case. In: Esparcia-Alcázar, A., Mora, A. (eds) Applications of Evolutionary Computation. EvoApplications 2014. Lecture Notes in Computer Science(), vol 8602. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-45523-4_55

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-45523-4_55

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-45522-7

  • Online ISBN: 978-3-662-45523-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics