Print Page | Close Window

Code Coverage Introduction

Printed From: One Stop Testing
Category: Software Testing @ OneStopTesting
Forum Name: Beginners @ OneStopTesting
Forum Discription: New to the Club...!!! Don't Worry, We are here for you...!!! Learn the very basics of Software Testing and other pertinent Informations.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=6526
Printed Date: 15Feb2025 at 5:30pm


Topic: Code Coverage Introduction
Posted By: raghugn
Subject: Code Coverage Introduction
Date Posted: 30Jun2009 at 12:57am

Code coverage introduction

Code coverage is a measure used in software testing. It describes the degree to which the source code of a program has been tested.
 

It is a form of testing that looks at the code directly and as such comes under the heading of white box testing. Currently, the use of code coverage is extended to the field of digital hardware, the contemporary design methodology of which relies on Hardware description languages (HDL's).

Code coverage techniques were amongst the first techniques invented for systematic software testing. The first published reference was by Miller and Maloney in Communications of the ACM in 1963.




Replies:
Posted By: skumar75.qa
Date Posted: 21Sep2009 at 12:47am
Code coverage:-
1) It a verification activity, we can verifiy degree of code of the programme be tested. It is blongs to White box testing. we can validate all the object, menthods,functions  and declared vairiable  within a programme executed atlease once a time.  So as a white box tester we can give different kinds of test data and we can verify the all parts of code executed at lest once.
 
2) we can use below white box technique for code coverage
     1) Path coverage
     2) statement coverage
     3_ Decision making
     4) functional / methios /veraible



Print Page | Close Window