Skip to content

SKCR considers in-line comments as statements when shrinking a critical region #3

@luisarojas

Description

@luisarojas

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)" */
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions