How much does this commit cost? -A position paper

16
How much does integrating this commit cost? - A position paper Yujuan Jiang, Bram Adams, Daniel M. German 1

description

We propose a model called ISOMO to measure quantitatively the effort in the software integration process.

Transcript of How much does this commit cost? -A position paper

Page 1: How much does this commit cost? -A position paper

How much does integrating this commit cost?

- A position paper

Yujuan Jiang, Bram Adams, Daniel M. German1

Page 2: How much does this commit cost? -A position paper

2

Page 3: How much does this commit cost? -A position paper

Merge%cost% Update%cost% Maintain%cost% Remove%cost%

0.8%

4.5%3.5% 2.7%

2.1%

4.4%

3% 5.5%

1.5%

Commit&2&Text

Cost

Time

Audiobus and its Profile

Text Text

3

Easy to Merge, Hard to Synchronize!

Page 4: How much does this commit cost? -A position paper

Integration & its Challenges

external library

host project

platform:Java 7

dependency: Java 8

4

Page 5: How much does this commit cost? -A position paper

Integration: Different & Everywhere

Page 6: How much does this commit cost? -A position paper

Does it have external dependencies?

How much effort do I need to pay?

Is this integration worth the effort?

What will this integration change?

Will it cause further risk?

.......integrator

Panic Story of Integrator

6

Page 7: How much does this commit cost? -A position paper

ISOMO: Integration of Software cOst

MOdel

7

Page 8: How much does this commit cost? -A position paper

8

ISOMO: 4 Dimensions & 9 Subfactors

Merge Cost Update Cost

Maintenance Cost Removal Cost

Cherry-picking

Local patch

Refactoring

Roll-back

Risk analysisCherry-picking

Local patchRebasing

Local patch

Page 9: How much does this commit cost? -A position paper

ISOMO: Quantify the Cost of Integration

9

Merge Cost

Update Cost

Maintenance Cost

Removal Cost

ISOMO

Page 10: How much does this commit cost? -A position paper

Current solution VS. ISOMO

Merge Cost

Update Cost

Maintenance Cost

Removal Cost

CO

ST

How & Why ?Yes & No ?

Page 11: How much does this commit cost? -A position paper

Application of ISOMO: Comparing the Risk of Commits

Merge%cost% Update%cost% Maintain%cost% Remove%cost%

6%3.5% 2.5% 3.8%

5.8%

1.4%0.8%

1.5%

3.5%

Commit&1&

Merge%cost% Update%cost% Maintain%cost% Remove%cost%

0.8%

4.5%3.5% 2.7%

2.1%

4.4%

3% 5.5%

1.5%

Commit&2&

Text

Text

Apple App

Audiobus

Page 12: How much does this commit cost? -A position paper

Challenges Encountered

12

Page 13: How much does this commit cost? -A position paper

Challenges Encountered 1

How to Evaluate the Model???

Is there any ground truth?

Page 14: How much does this commit cost? -A position paper

Challenges Encountered 2

Where can we get the data???

Bug report?

Repository?

Page 15: How much does this commit cost? -A position paper

15

Merge Cost Update Cost

Maintenance Cost Removal Cost

Cherry-picking

Local patch

Refactoring

Roll-back

Risk analysisCherry-picking

Local patchRebasing

Local patch

Challenges Encountered 3How to measure them?

Page 16: How much does this commit cost? -A position paper

ISOMO: Integration of Software cOst

MOdel

16