Assessing the Relation Between Quantity of Test Cases and Amount of Code Coverage
Anju Bansal
Anju Bansal, Computer Science & Engineering, UIET, M.D.U, Rohtak, India.
Manuscript received on May 26, 2014. | Revised Manuscript received on June 12, 2014. | Manuscript published on June 30, 2014. | PP: 184-188  | Volume-3, Issue-5, June 2014.  | Retrieval Number:  E3196063514/2013©BEIESP

Open Access | Ethics and Policies | Cite
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC BY-NC-ND license (

Abstract: The software testing process can be unpredictable due to deficiencies in the measurement process, resulting in poor quality of software releases. Code coverage analysis is a vital activity in any software testing process. It provides developers with a measure of how well their source code is being exercised by the test runs. Several types of code coverage include the statement, branch and symbol coverage. The focus of this paper is to find out the relationship, if any, between the quantity of test cases and amount of code coverage. Code coverage process is automated through software known as code coverage tool. In this research, N Cover code coverage tool is used to measure the above mentioned relationship. N Cover is the .Net code coverage tool which shows the untested part of code. For analyzing the relationship, we have used a project “Secure Mailing System” which a web based application that sends and receives messages in a secure manner by encrypting them. Results showed that there is no relationship between number of test cases and amount of code coverage. Code coverage depends on the quality of test cases rather than the quantity. The association found in this research is an important software quality indicator capable for use in describing the software test effectiveness. The results of this research are valuable data for guidance to future research in code coverage analysis.
Keywords: Code Coverage, Coverage Metrics, N Cover, Software Testing.