Skip to main content

Agility Based Coverage Improvement

  • Conference paper
  • First Online:
Lean and Agile Software Development (LASD 2022)

Abstract

Recent source code transformation techniques are adopted for coverage-driven testing to ensure software quality. However, due to the limitations present in constraint solvers of concolic testing, they lag to meet desired satisfaction level for testing safety avionics softwares. Particularly, they have the limitation of generating required number of qualitative test cases. So, we propose an agile-based automated test case augmentation technique that flips concolic based test cases that are obtained through source code transformation techniques to achieve high “Modified Condition/Decision Coverage" (MC/DC) score. This work has four technical contributions. The first contribution is code instrumentation of the input program to make it tool supportive. The second contribution is to propose a technique that can generate new effective test cases through agile process by augmenting concolic test cases. The third contribution is to propose a minimizer that can remove redundant and infeasible test cases. The fourth contribution is to propose a framework for MC/DC computation. To validate the proposed technique, it is experimented on two recent source code transformation techniques such as JPCT and JEXNCT and achieved 16.69% and 19.47% increase on MC/DC score respectively than existing technique using some benchmark input Java programs.

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 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.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

Notes

  1. 1.

    https://github.com/osl/jCUTE/tree/master/src/tests.

  2. 2.

    http://www.programmingsimplified.com/java-sthe proposedce-codes.

  3. 3.

    http://rers-challenge.org/.

References

  1. Ammann, P., Offutt, J., Huang. H.: Coverage criteria for logical expressions. In: 14th International Symposium on Softare Reliability Engineering, 2003. ISSRE 2003, pp. 99–107. IEEE (2003)

    Google Scholar 

  2. Baluda, M., Braione, P., Denaro, G., Pezzè, M.: Enhancing structural software coverage by incrementally computing branch executability. Softw. Qual. J. 19(4), 725–751 (2011)

    Article  Google Scholar 

  3. Bokil, P., Darke, P., Shrotri, U., Venkatesh, R.: Automatic test data generation for C programs. In: 2009 Third IEEE International Conference on Secure Software Integration and Reliability Improvement, pp. 359–368. IEEE (2009)

    Google Scholar 

  4. Burnim, J., Sen, J.: Heuristics for scalable dynamic test generation. In: 2008 23rd IEEE/ACM International Conference on Automated Software Engineering, pp. 443–446. IEEE (2008)

    Google Scholar 

  5. Collins, E., Dias-Neto, A., de Lucena Jr., V.F.: Strategies for agile software testing automation: an industrial experience. In: 2012 IEEE 36th Annual Computer Software and Applications Conference Workshops, pp. 440–445. IEEE (2012)

    Google Scholar 

  6. Das, A., Mall, R.: Automatic generation of MC/DC test data. Int. J. Softw. Eng. 2(1) (2013)

    Google Scholar 

  7. Godboley, S., Dutta, A., Mohapatra, D.P., Mall, D.: J3 model: a novel framework for improved modified condition/decision coverage analysis. Comput. Stand. Interf. 50, 1–17 (2017)

    Google Scholar 

  8. Godboley, S., Dutta, A., Mohapatra, D.P., Mall, R.: GECOJAP: a novel source-code preprocessing technique to improve code coverage. Comput. Stand. Interf. 55, 27–46 (2018)

    Google Scholar 

  9. Harman, M.: Open problems in testability transformation. In: 2008 IEEE International Conference on Software Testing Verification and Validation Workshop, pp. 196–209. IEEE (2008)

    Google Scholar 

  10. Harman, M., et al.: Testability transformation – program transformation to improve testability. In: Hierons, R.M., Bowen, J.P., Harman, M. (eds.) Formal Methods and Testing. LNCS, vol. 4949, pp. 320–344. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-78917-8_11

    Chapter  Google Scholar 

  11. Harman, M., Lin, H., Hierons, R., Wegener, J., Sthamer, H., Baresel, A., Roper, M.: Testability transformation. IEEE Transa. Softw. Eng. 30(1), 3–16 (2004)

    Article  Google Scholar 

  12. Jiang, B., et al.: Assuring the model evolution of protocol software specifications by regression testing process improvement. Softw. Pract. Exp. 41(10), 1073–1103 (2011)

    Google Scholar 

  13. Jones,J.A., Harrold. M.J.: Test-suite reduction and prioritization for modified condition/decision coverage. IEEE Trans. Softw. Eng. 29(3), 195–209 (2003)

    Google Scholar 

  14. Kim,Y., Kim, M.: Score: a scalable concolic testing tool for reliable embedded software. In: Proceedings of the 19th ACM SIGSOFT Symposium and the 13th European Conference on Foundations of Software Egineering, pp. 420–423 (2011)

    Google Scholar 

  15. Richard Kuhn, D.: Fault classes and error detection capability of specification-based testing. ACM Trans. Softw. Eng. Methodol. (TOSEM) 8(4), 411–424 (1999)

    Google Scholar 

  16. Mjeda, A., Hinchey, H.: Ctmcontrol: addressing the MC/DC objective for safety-critical automotive software (2013)

    Google Scholar 

  17. Nordhoff, S.: Do-178c/ed-12c. SQS Software Quality Systems, Cologne, Germany, Undated. White Paper 24 (2012). http://www.sqs.com/us/_download/DO-178C_ED-12C.pdf

  18. Pandita, R., Xie, T., Tillmann, N., De Halleux. J.: Guided test generation for coverage criteria. In: 2010 IEEE International Conference on Software Maintenance, pp. 1–10. IEEE (2010)

    Google Scholar 

  19. Qu, X., Robinson, B.: A case study of concolic testing tools and their limitations. In: 2011 International Symposium on Empirical Software Engineering and Measurement, pp. 117–126. IEEE (2011)

    Google Scholar 

  20. Sen, K., Agha, G.: A race-detection and flipping algorithm for automated testing of multi-threaded programs. In: Bin, E., Ziv, A., Ur, S. (eds.) HVC 2006. LNCS, vol. 4383, pp. 166–182. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-70889-6_13

    Chapter  Google Scholar 

  21. Tiwari, S.: Automatic Generation of Testcases for High MCDC Coverage. M. Tech Thesis, IIT Kanpur (2014)

    Google Scholar 

  22. Wegener, J., Baresel, A., Sthamer, H.: Evolutionary test environment for automatic structural testing. Inf. Softw. Technol. 43(14), 841–854 (2001)

    Article  Google Scholar 

  23. Williams, N., Marre, B., Mouy, P., Roger, M.: PathCrawler: automatic generation of path tests by combining static and dynamic analysis. In: Dal Cin, M., Kaâniche, M., Pataricza, A. (eds.) EDCC 2005. LNCS, vol. 3463, pp. 281–292. Springer, Heidelberg (2005). https://doi.org/10.1007/11408901_21

    Chapter  Google Scholar 

  24. Woodward, M.R., Hennell, M.A.: On the relationship between two control-flow coverage criteria: all IJ-paths and MCDC. Inf. Softw. Technol. 48(7), 433–440 (2006)

    Article  Google Scholar 

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

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Swadhin Kumar Barisal .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Barisal, S.K., Dutta, A., Godboley, S., Sahoo, B., Mohapatra, D.P. (2022). Agility Based Coverage Improvement. In: Przybyłek, A., Jarzębowicz, A., Luković, I., Ng, Y.Y. (eds) Lean and Agile Software Development. LASD 2022. Lecture Notes in Business Information Processing, vol 438. Springer, Cham. https://doi.org/10.1007/978-3-030-94238-0_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-94238-0_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-94237-3

  • Online ISBN: 978-3-030-94238-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics