Cohesion and coupling metrics for workflow process design

Post on 06-Dec-2014

2.119 views 0 download

description

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

Transcript of 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 Sironipiccoloprincipeazzurro@gmail.com

- presentation given on December 20th, 2010 -

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

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;

}

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

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation5

Coupling

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation6

From programs to workflows

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation7

Information elements structure

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation8

Partitioning into activities

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)

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation10

Metrics definition (1/3)

Relation cohesion

Information cohesion

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation11

Metrics definition (2/3)

Activity cohesion

Workflow cohesion

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation12

Metrics definition (3/3)

Coupling

Coupling/cohesion ratio

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation13

Final results

An objective metric to compare different designs

Limitations: resource allocation, timing

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.

Dec 14, 2010

Workgroup and Workflow Management Systems - Title of Presentation15

Thanks for your time