For example, given a code block:
public void carComeIn() {
synchronized (controlCars) {
numberCars++;
this.totalCarsEntered++; // ADDED: To automatically calculate how much the total cash amount should be
}
}
It's transformed into:
public void carComeIn () {
/* MUTANT : "SKCR (Shrink Critical Region)" */
numberCars ++;
synchronized (controlCars) {
this.totalCarsEntered ++;
} // ADDED: To automatically calculate how much the total cash amount should be
/* MUTANT : "SKCR (Shrink Critical Region)" */
}