Exavier.Mutators.AOR3 (exavier v0.3.0)
Mutates arithmetic operators into another operation..
Conditionals are replaced according to the table below.
Original | Mutation |
---|---|
+ | / |
- | / |
* | + |
/ | + |
rem/2 | + |
For example:
a = b + 5
will be mutated into
a = b / 5
Mutates arithmetic operators into another operation..
Conditionals are replaced according to the table below.
Original | Mutation |
---|---|
+ | / |
- | / |
* | + |
/ | + |
rem/2 | + |
For example:
a = b + 5
will be mutated into
a = b / 5