Ncover is tool to test the coverage of the code. Code coverage is a software metrics which shows how many lines of your code gets executed, how much the source code of our code has been tested
Some terms associated to code coverage are:
1. Unit Testing
Unit Testing confirms that our program for a particular functionality works perfect, for example If you are writing a program to do a Create operation ,you need to test that functionality whether it works perfect.
2. Code Coverage Criteria
There are different types of Code coverage criteria:
Statement Coverage — > This Coverage tests ensure that all the lines in the source of the program is executed.
Condition coverage —>Each condition in the program such as if, else statements has been executed.
Functional coverage —> This Coverage ensures that all the functions in the program are executed so that we can confirm that the coverage will be high.
Path coverage —-> The paths where we define in the code is covered and also the switch cases.
Entry /Exit coverage —>Each return statements and calling functions inside another functions are executed.
Code coverage mainly focus on how much the test cases written by a developer is fine and how much it tests the application and also its shows the quality of a software application.
Use Ncover to deliver a quality software .
Also Read Microsoft FXCop
Also Read Acrobat Reader Printing
Know More about DotNet, FXCop, Ncover
If you liked my post, feel free to subscribe to my rss feeds
























BlogoSquare