skip to main content
research-article

CodeCover: enhancement of CodeCover

Published:11 February 2014Publication History
Skip Abstract Section

Abstract

The previous published paper on the topic of CodeCover highlights the strengths of CodeCover and discusses the versatility of the tool for various coverage testing needs. In this paper we are highlighting a portion of work done as part of a study project. This paper talks about the minimal efforts needed to tweak the product for specific needs. The existing, well structured code base of CodeCover can be reused as a library for implementing the work to be carried out. The impact to the lower layer of the product is minimal and at times nil for implementing the intended task because of the well laid design. In this paper we talk about how the CodeCover can be used to prioritize the test cases for uncovered branches of the code under test for a given session of testing.

References

  1. Abhinandan H. Patil, Dr.Nandini S. Sidnal. CodeCover: A CodeCoverage tool for JAVA Projects in ERCICA, Elsevier publications-2013.Google ScholarGoogle Scholar
  2. CodeCover home page= http://www.codecover.org/Google ScholarGoogle Scholar
  3. H. Agrawal, J.R Horgan, E. W Krauser and S. London. Incremental Regression Testing. In ICSM 93: Proceedings of the International Conference on Software Maintenance, IEEE Computer Society. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. S. Elbaum, A. G. Malishevsky, and G. Rothermel. Test case prioritization: A family of empirical studies. IEEE Trans.Google ScholarGoogle Scholar
  5. M. J. Harrold, J. A. Jones, T. Li, D. Liang, A. Orso, M. Pennings, S. Sinha, S. A. Spoon, and A. Gujarathi. Regression test selection for java software. In OOPSLA '01: Proceedings of the 16th ACM SIGPLAN conference on Object Oriented Programming, Systems, Languages, and Applications,pages 312--326, New York, NY, USA, 2001. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. J. A. Jones and M. J. Harrold. Test-suite reduction and prioritization for modified condition/decision coverage. IEEE Trans. Softw. Eng., 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. M. Lyu, J. Horgan, and S. London. A coverage analysis tool for the effectiveness of software testing. IEEE Trans. on Reliability, 1994.Google ScholarGoogle Scholar
  8. G. Rothermel, M. J. Harrold, J. Ostrin, and C. Hong. An empirical study of the effects of minimization on the fault detection capabilities of test suites. In ICSM '98: Proceedings of the International Conference on Software Maintenance,Washington, DC, USA, 1998. IEEE Computer Society. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. A. Srivastava and J. Thiagarajan. Effectively prioritizing tests in development environment. In ISSTA '02: Proceedings of the 2002 ACM SIGSOFT International Symposium on Software Testing and Analysis, pages 97--106, New York, NY, USA, 2002. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. V. Vipindeep and P. Jalote. Efficient static analysis with path pruning using coverage data. In WODA '05: Proceedings of the 3rd Workshop on Dynamic analysis, pages 1--6, New York, NY, USA, 2005. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Misurda J. Clause J.A. Demand-driven structural testing with dynamic instrumentation. In Software Engineering, 2005. ICSE 2005. Proceedings. 27th International Conference. IEEE Conference Publications. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Williams. T. W and Mercer. M.R. Code Coverage, what does it mean in terms of quality. IEEE Conference Publications 2001.Google ScholarGoogle ScholarCross RefCross Ref
  13. Sakamoto. K and Washizaki H. Open Code Coverage Framework: A Consistent and Flexible Framework for Measuring Test Coverage Supporting Multiple Programming Languages. IEEE Conference Publications 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Adler. Y and Behar. N. Code Coverage Analysis In Practice for Large Systems. IEEE Conference Publications 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Del Frate. F and Grag. P. On the correlation between code coverage and software reliability. IEEE Conference Publications 1995.Google ScholarGoogle ScholarCross RefCross Ref
  16. Berner. S and Weber. R. Enhancing Software Testing by Judicious Use of Code Coverage Information. IEEE Conference Publications 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Lawrence. J and Clarke. S. How well do professional developers test with code coverage visualizations? An empirical study. IEEE Conference PublicationsGoogle ScholarGoogle Scholar
  18. Wong. W. E and Yu Qi. Effective Fault Localization using Code Coverage. IEEE Conference Publications 2007 Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Karcich. R. M and Skibbe. R. On software reliability and code coverage. IEEE Conference Publications 1996.Google ScholarGoogle ScholarCross RefCross Ref
  20. Mauro Pezze and Michal young. Software Testing and Analysis: Process,Principles, and Techniques. Chapter 14 Structural Testing.Google ScholarGoogle Scholar
  21. Code Cover Detailed Design Page=http://codecover.org/development/Design.pdfGoogle ScholarGoogle Scholar
  22. Code Cover in Command line=http://codecover.org/documentation/tutorials/how_to_batch.htmlGoogle ScholarGoogle Scholar
  23. CodeCover Ant integration=http://codecover.org/documentation/tutorials/ant_manual.htmlGoogle ScholarGoogle Scholar
  24. CoffeeMaker= http://agile.csc.ncsu.edu/SEMaterials/tutorials/coffee_maker/Google ScholarGoogle Scholar
  25. CodeCover Installation=http://codecover.org/documentation/install.htmlGoogle ScholarGoogle Scholar
  26. Metrics Plug in For Eclipse= http://metrics.sourceforge.net/.Google ScholarGoogle Scholar
  27. Hong Mei and Dan Hao. A Static approach to prioritizing Junit Test cases.IEEE transactions 2012.Google ScholarGoogle Scholar
  28. Bluemke, I.; Rembiszewski, A. Dataflow Approach to Testing Java Programs. IEEE conferences 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Li, J.J.; Horgan, J.R. A tool suite for diagnosis and testing of software design specifications. IEEE conference publications 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Van Rompaey, B.; Demeyer, S.Estimation of Test Code Changes Using Historical Release Data.IEEE conference publication 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  31. Williams, T.W.; Mercer, M.R.; Mucha, J.P.; Kapur, R.Code coverage, what does it mean in terms of quality?.IEEE conference publications 2001.Google ScholarGoogle Scholar
  32. Li, J.J. Prioritize code for testing to improve code coverage of complex software. IEEE conference publications 2005/ Google ScholarGoogle ScholarDigital LibraryDigital Library
  33. Elbaum, S.; Gable, D.; Rothermel, G.The impact of software evolution on code coverage information. IEEE conference publications 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  34. Minakova, K.; Reinsalu, U.; Chepurov, A.; Raik, J.; Jenihhin, M.; Ubar, R. High-level decision diagram manipulations for code coverage analysis. IEEE Conference publications 2008.Google ScholarGoogle ScholarCross RefCross Ref
  35. Del Frate, F.; Garg, P.; Mathur, A.P.; Pasquini, A. On the correlation between code coverage and software reliability. IEEE conference publications 1995.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. CodeCover: enhancement of CodeCover

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader