Proposing SQL Statement Coverage Metrics: Difference between revisions
Programsam (talk | contribs) |
Programsam (talk | contribs) |
||
| Line 120: | Line 120: | ||
Target statement coverage measures the percentage of SQL statements executed at least once during execution of the test suite. | Target statement coverage measures the percentage of SQL statements executed at least once during execution of the test suite. | ||
'''Definition''': A set of input validation tests satisfies target statement coverage if and only if for every SQL statement t ∈ T, there exists at least one test in the input validation test cases which executes t. | '''Definition''': A set of input validation tests satisfies target statement coverage if and only if for every SQL statement ''t'' ∈ '''T''', there exists at least one test in the input validation test cases which executes t. | ||
'''Metric''': The target statement coverage criterion can be measured by the percentage of SQL statements tested at least once by the test set out of total SQL | '''Metric''': The target statement coverage criterion can be measured by the percentage of SQL statements tested at least once by the test set out of total SQL | ||