Changes between Version 13 and Version 14 of Developer/Coverage/Theory


Ignore:
Timestamp:
Sep 14, 2009, 8:00:38 PM (10 years ago)
Author:
GlennHumphrey
Comment:

Clarification of relationships

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Coverage/Theory

    v13 v14  
    2929
    3030
    31 Object Coverage requires that each line of generated assembly be executed.  This can be a very good general criteria because it ensures test cases for most of what the other criteria ensure.
     31Object Coverage requires that each line of generated assembly be executed.  This can be a very good general criteria because it ensures most of the test cases that the other criteria ensure.
    3232= Criteria Relationships =
    3333
     
    3535[[Image(CoverageCategories.png)]]]]
    3636
    37 Each of these criteria can be used independently to analyze the code in question.  Application of any one criteria will likely improve the test suite to some degree albeit at some cost.  Examination of the criteria collectively, shows that there are clear relationships between the different criteria as shown in the picture.  The completness of the test suite increases as it satifies first Statement Coverage and then Decision Coverage and finally Condition/Decision Coverage.  If the test suite satisfies Statement Coverage, it will partially satisfy Decision Coverage and Condition/Decision Coverage.  If the test suite satisfies Decision Coverage, it will completely satisfy Statement Coverage and partially satisfy Condition/Decision Coverage.  There is also a complexity relationship where Statement Coverage is the least complex to satisfy and Condition/Decision Coverage is the most complex to satisfy.  The last thing to note in the picture is the fact that Object Coverage satisfies part of all of the other criteria.
     37Each of these criteria can be used independently to analyze the code in question.  Application of any one criteria will likely improve the test suite to some degree albeit at the cost of increasing the complexity of the test suite.  Examination of the criteria collectively, shows that there are clear relationships between the different criteria as shown in the picture.  The completness and complexity of the test suite increases as it satifies first Statement Coverage and then Decision Coverage and finally Condition/Decision Coverage.  If the test suite satisfies Statement Coverage, it will partially satisfy Decision Coverage and Condition/Decision Coverage.  If the test suite satisfies Decision Coverage, it will completely satisfy Statement Coverage and partially satisfy Condition/Decision Coverage.  Note the fact that Object Coverage satisfies part of all of the other criteria.  There is also a complexity relationship where Statement Coverage is the least complex to satisfy and Condition/Decision Coverage is the most complex to satisfy.
    3838
    3939<br style="clear: both" />