A.2 Control statements for which coverage information is acquired
The following table indicates for each control statement whether coverage information is acquired.
|
Item |
C0 |
C1 |
|---|---|---|
|
if |
N |
Y |
|
if condition |
Y |
N |
|
then |
N |
N |
|
elif |
N |
Y |
|
elif condition |
Y |
N |
|
else |
N |
Y |
|
fi |
N |
C |
|
for |
N |
Y |
|
variable |
N |
N |
|
in |
N |
N |
|
wordlist |
N |
N |
|
do |
N |
N |
|
done |
N |
Y |
|
while |
N |
Y |
|
while condition |
Y |
N |
|
until |
N |
Y |
|
until condition |
Y |
N |
|
case |
N |
N |
|
expression |
N |
N |
|
pattern) |
N |
Y |
|
*) |
N |
Y |
|
;; |
N |
N |
|
esac |
N |
C |
- Legend:
-
Y: Coverage information is acquired and displayed.
- C: Coverage information is acquired and displayed in the following cases:
-
fi: When the else clause is not specified
esac: When the * pattern is not specified. The * pattern is the default matching pattern for when none of the other patterns in the case statement is matched.
N: No coverage information is acquired.