inference-based detection of architectural violations in mvc2

32

Upload: shinpei-hayashi

Post on 22-Jan-2018

1.761 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Inference-Based Detection of Architectural Violations in MVC2
Page 2: Inference-Based Detection of Architectural Violations in MVC2

•••

••

Page 3: Inference-Based Detection of Architectural Violations in MVC2
Page 4: Inference-Based Detection of Architectural Violations in MVC2

••

•••

Page 5: Inference-Based Detection of Architectural Violations in MVC2

••••

Page 6: Inference-Based Detection of Architectural Violations in MVC2

Page 7: Inference-Based Detection of Architectural Violations in MVC2

••

public static void completeTask() {long id = Long.parseLong(params.get("id"));Task task = Task.findById(id);

task.status = Task.COMPLETED;task.completedDate = new Date();task.save();

render();}

Page 8: Inference-Based Detection of Architectural Violations in MVC2

••

public static void completeTask() {long id = Long.parseLong(params.get("id"));Task task = Task.findById(id);

task.complete();

render();} public void complete() {

status = Task.COMPLETED;completedDate = new Date();save();

}

Page 9: Inference-Based Detection of Architectural Violations in MVC2
Page 10: Inference-Based Detection of Architectural Violations in MVC2
Page 11: Inference-Based Detection of Architectural Violations in MVC2
Page 12: Inference-Based Detection of Architectural Violations in MVC2
Page 13: Inference-Based Detection of Architectural Violations in MVC2
Page 14: Inference-Based Detection of Architectural Violations in MVC2
Page 15: Inference-Based Detection of Architectural Violations in MVC2

public static void completeTask() {long id = Long.parseLong(params.get("id"));Task task = Task.findById(id);

task.status = Task.COMPLETED;task.completedDate = new Date();task.save();

render();}

Page 16: Inference-Based Detection of Architectural Violations in MVC2
Page 17: Inference-Based Detection of Architectural Violations in MVC2
Page 18: Inference-Based Detection of Architectural Violations in MVC2

•••

Page 19: Inference-Based Detection of Architectural Violations in MVC2
Page 20: Inference-Based Detection of Architectural Violations in MVC2
Page 21: Inference-Based Detection of Architectural Violations in MVC2
Page 22: Inference-Based Detection of Architectural Violations in MVC2
Page 23: Inference-Based Detection of Architectural Violations in MVC2
Page 24: Inference-Based Detection of Architectural Violations in MVC2
Page 25: Inference-Based Detection of Architectural Violations in MVC2

••

••

••

••

••

Page 26: Inference-Based Detection of Architectural Violations in MVC2

••

•••

Page 27: Inference-Based Detection of Architectural Violations in MVC2

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0

Page 28: Inference-Based Detection of Architectural Violations in MVC2

Page 29: Inference-Based Detection of Architectural Violations in MVC2

••

Page 30: Inference-Based Detection of Architectural Violations in MVC2

•••

Page 31: Inference-Based Detection of Architectural Violations in MVC2

••

public static void completeTask() {long id = Long.parseLong(params.get("id"));Task task = Task.findById(id);

task.status = Task.COMPLETED;task.completedDate = new Date();task.save();

render();}

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0

Page 32: Inference-Based Detection of Architectural Violations in MVC2