Analyzing OpenCover Code Coverage tool in Visual Studio

In software testing process, Code Coverage analysis helps by finding areas which are not exercised by set of test cases of a program or to find defects in a program which are not exercised. It ensures testing of all key functional areas is carried out effectively and includes all essential features. The coverage information is very useful for many other related activities, like unit testing, regression testing, mutation testing etc. Code Coverage Analysis tools are used for Languages like Java, C, C++, Python etc. Working on testing code of programs helps to find problem/defects in particular software. For .NET applications, the only open source code coverage tool is OpenCover. It is easy to use and powerful tool. OpenCover doesn`t complain and just ignores the arguments it doesn`t recognize. Code instrumentation is not needed for using OpenCover tool. Producing PDB files in Opencover requires building the code into debug mode and run the application using OpenCover Prompt. OpenCover tool can be used for measuring code coverage of unit tests. This paper focuses on analyzing Opencover tool cove coverage analysis tool in detail. Keywords— Code coverage, Code Covereage tools, open cover tool, unit testing using OpenCover tool, ReportGenerator, Limitations

[1]  Joy Agustin JBlanket : Support for Extreme Coverage in Java Unit Testing , 2002 .

[2]  Avi Ziv,et al.  Defining coverage views to improve functional coverage analysis , 2004, Proceedings. 41st Design Automation Conference, 2004..

[3]  Yves Ledru,et al.  Experiences in coverage testing of a Java middleware , 2005, SEM '05.

[4]  Arie van Deursen,et al.  Reconstructing requirements coverage views from design and test using traceability recovery via LSI , 2005, TEFSE '05.

[5]  J. Jenny Li,et al.  Prioritize code for testing to improve code coverage of complex software , 2005, 16th IEEE International Symposium on Software Reliability Engineering (ISSRE'05).

[6]  Ajitha Rajan,et al.  Coverage metrics for requirements-based testing , 2006, ISSTA '06.

[7]  Qian Yang,et al.  A survey of coverage based testing tools , 2006, AST '06.

[8]  Laurie Williams,et al.  A survey on code coverage as a stopping criterion for unit testing , 2008 .

[9]  N. Ramaraj,et al.  MEASURING THE EFFECTIVENESS OF OPEN COVERAGE BASED TESTING TOOLS , 2009 .

[10]  Abdul Rauf,et al.  Automated GUI Test Coverage Analysis Using GA , 2010, 2010 Seventh International Conference on Information Technology: New Generations.

[11]  Suhaimi Ibrahim,et al.  An evaluation of test coverage tools in software testing , 2011 .

[12]  Elinda Kajo,et al.  An Evaluation of Java Code Coverage Testing Tools , 2012, BCI.

[13]  Kamna Solanki,et al.  A Review on Code Coverage Analysis , 2013 .

[14]  N. Dabas,et al.  Comparison of Code Coverage Analysis Tools : A Review , 2014 .

[15]  Kenneth I. Magel,et al.  Examining the Effectiveness of Testing Coverage Tools : An Empirical Study , 2014 .

[16]  David Lo,et al.  Code coverage and test suite effectiveness: Empirical study with real bugs in large systems , 2015, 2015 IEEE 22nd International Conference on Software Analysis, Evolution, and Reengineering (SANER).

[17]  Chun-Ying Huang,et al.  Code Coverage Measurement for Android Dynamic Analysis Tools , 2015, 2015 IEEE International Conference on Mobile Services.

[18]  Tibor Gyimóthy,et al.  Relating Code Coverage, Mutation Score and Test Suite Reducibility to Defect Density , 2016, 2016 IEEE Ninth International Conference on Software Testing, Verification and Validation Workshops (ICSTW).

[19]  Oskar Alfsson An analysis of Mutation testing and Code coverage during progress of projects , 2017 .

[20]  M. N. Mahrin,et al.  A Study on Test Coverage in Software Testing , 2022 .