Results 1 to 4 of 4

Thread: Code Coverage is used as a measure of what ?

  1. #1
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Code Coverage is used as a measure of what ?

    Code Coverage is used as a measure of what ?

    a. Defects
    b. Trends analysis
    c. Test Effectiveness
    d. Time Spent Testing

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  2. #2
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Re: Code Coverage is used as a measure of what ?

    Hi Brijesh,

    Code Coverage can be used a measure of Test Effectiveness.

    Reason
    Code Coverage basically describes the degree to which the source code of a program has been tested. Since we cover Function Coverage, Decision Coverage, Condition Coverage, Path Coverage as well as Statement Coverage, I suppose it would show if our testing process missed out on some part of the code.

    Maybe test scenarios or testcases did not handle the branching of code which occurs on particular conditions. This would reduce the Test Effectiveness quotient measured using Function Point Analysis.

    Cheers.....


  3. #3

    Re: Code Coverage is used as a measure of what ?

    Hi,

    The answer is c. Test Effectiveness. Code coverage is used to measure how effective the testing is done.

    Basically Code coverage is a activity done in the White Box Testing. While doing code coverage the following are validated

    i. All the statements in the code are executed atleast once
    ii. All the Decision statements are executed and covered
    iii. All the conditions are tested


  4. #4
    Junior Member
    Join Date
    Dec 2007
    Answers
    3

    Re: Code Coverage is used as a measure of what ?

    Code coverage is used as a measure of Test effectiveness bcoz it involves designing and executing test cases and finding out the percentage of code that is covered by testing.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact