Seite - 152 - in The Future of Software Quality Assurance
Bild der Seite - 152 -
Text der Seite - 152 -
152 A. L.Smith
Table 1 Mothra operators Type Description
aar Array for array replacement
abs Absolute value insertion
acr Array constant replacement
aor Arithmeticoperator replacement
asr Array for variable replacement
car Constant for array replacement
cnr Comparable array replacement
csr Constant for scalar replacement
der DOstatement end replacement
lcr Logical connector replacement
ror Relational operator replacement
sar Scalar for array replacement
scr Scalar for constant replacement
svr Scalar variable replacement
crp Constant replacement
dsa Data statement alterations
glr Goto label replacement
rsr Return statement replacement
san Statement analysis
sdl Statement deletion
src Source constant replacement
uoi Unary operation insertion
course, the volume of potential operators and their resulting mutations of software
code is enormous,andno implementationcanbeviewedasexhaustive.
Running the software under test through a mutation operator could result in a
number of changes to the code. Four example, rule-based operators are applied to
this code:
Pseudo Code
allowEntrance = false
if (customerHasMembershipCard or customerHasAccessCard):
allowEntrance = true
price = 0
else:
if(weekend):
allowEntrance = true
price = 10
The Future of Software Quality Assurance
- Titel
- The Future of Software Quality Assurance
- Autor
- Stephan Goericke
- Verlag
- Springer Nature Switzerland AG
- Ort
- Cham
- Datum
- 2020
- Sprache
- englisch
- Lizenz
- CC BY 4.0
- ISBN
- 978-3-030-29509-7
- Abmessungen
- 15.5 x 24.1 cm
- Seiten
- 276
- Kategorie
- Informatik