what is LCSAJ coverage? if any body know tell me some thing to me
Printable View
what is LCSAJ coverage? if any body know tell me some thing to me
LCSAJ is one of the metric used in calculating the sequence of the code. LCSAJ is the abbreviated term for <b>Linear Code Sequence And Jump</b>
LCSAJ consists of the following three items (conventionally identified by line numbers in a source code listing):
a. the start of the linear sequence of executable statements,
b. the end of the linear sequence,
c. and the target line to which control flow is transferred at the end of the linear sequence.
LCSAJ is a sequence of source code lines executed in sequence. This "linear" sequence can contain decisions as long as the control flow actually continues from one line to the next at run-time. Sub-paths are constructed by concatenating LCSAJs. Researchers refer to the coverage ratio of paths of length n LCSAJs as the test effectiveness ratio (TER) n+2.
The advantage of this metric is that it is more thorough and avoids the exponential difficulty of path coverage.
The disadvantage is that it does not avoid infeasible paths.