Cohesion and coupling metrics for workflow process design

15
Dec 14, Workgroup and Workflow Management Systems - Title of P 1 Cohesion and Coupling Metrics for Workflow Process Design Polo Regionale di Como of the Politecnico di Milano Workgroup and Workflow Management Systems Giorgio Sironi [email protected] - presentation given on December 20 th , 2010 -

description

Translating software engineering coupling and cohesion metrics in the field of workflow schemas

Transcript of Cohesion and coupling metrics for workflow process design

Page 1: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation1

Cohesion and Coupling Metrics for Workflow

Process Design

Polo Regionale di Como of the Politecnico di Milano

Workgroup and Workflow Management Systems

Giorgio [email protected]

- presentation given on December 20th, 2010 -

Page 2: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation2

In search of a metric

Number(s) to measure the “quality” of a workflow schema

RobustnessClarity

Page 3: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation3

Let's start from a class

public class Car

{

private Engine engine;

private Wheel[] wheels;

private Tire[] tires;

private Person driver;

}

Page 4: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation4

Cohesion

engine wheels tires driver

accelerate() x x

brake() x x

checkUp() x x x

ignite() x x

Page 5: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation5

Coupling

Page 6: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation6

From programs to workflows

Page 7: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation7

Information elements structure

Page 8: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation8

Partitioning into activities

Page 9: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation9

Mathematical treatment

Set D of information elements

Operations O = {(p, cs) ∈ D × P(D)}

Activities A ⊆ O

W = {A1, A2, A3, …} (partition)

Page 10: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation10

Metrics definition (1/3)

Relation cohesion

Information cohesion

Page 11: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation11

Metrics definition (2/3)

Activity cohesion

Workflow cohesion

Page 12: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation12

Metrics definition (3/3)

Coupling

Coupling/cohesion ratio

Page 13: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation13

Final results

An objective metric to compare different designs

Limitations: resource allocation, timing

Page 14: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation14

References

[1] W. Stevens, G. Myers, L. Constantine, "Structured Design", IBM Systems Journal

[2] Reijers, H.A., and Vanderfeesten, I.T.P. Cohesion and Coupling Metrics for Workflow Process Design.

Page 15: Cohesion and coupling metrics for workflow process design

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation15

Thanks for your time