agile/xp overview object mentor, inc. copyright 1998-2004 by object mentor, inc all rights reserved...

32
Agile/XP Overview Object Mentor, Inc. Copyright 1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org www.objectmentor.com www.junit.o rg www.xprogramming.co m

Upload: iris-shields

Post on 29-Jan-2016

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

Agile/XP OverviewObject Mentor, Inc.

Copyright 1998-2004 by Object Mentor, IncAll Rights Reserved

fitnesse.org

www.objectmentor.com

www.junit.orgwww.xprogramming.com

Page 2: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

2

How do you manage a software project?

Badly?

Hope and prayer?

With Great Difficulty

Dictate and Motivate?`

Page 3: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

3

Mismanagement of a project leads to:

Producing the wrong product.

Producing a product of inferior quality.

Being late.

Working 80 hour weeks.

Page 4: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

4

The inevitable trade-off.

Good (Quality)

Fast (Time to Market)

Cheap (Cost Effectiveness)

Done

Pick any three…

Page 5: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

5

Finding the optimum solution.

We need to manage the project to the best possible outcome.

An outcome that maximizes all four qualities.

To do this, we need:

Data.

Page 6: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

6

Wouldn’t this be great?

Velocity

0

10

20

30

40

50

60

1/20

/2003

1/27

/2003

2/3/

2003

2/10

/2003

2/17

/2003

2/24

/2003

3/3/

2003

3/10

/2003

Sto

ry P

oin

ts

Page 7: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

7

…and this…

Story Points Remaining

0

100

200

300

400

500

600

1/20

/2003

1/27

/2003

2/3/

2003

2/10

/2003

2/17

/2003

2/24

/2003

3/3/

2003

3/10

/2003

Sto

ry P

oin

ts

Page 8: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

8

If we had these two charts on the wall…

Story Points Remaining

0

100

200

300

400

500

600

1/20

/2003

1/27

/2003

2/3/

2003

2/10

/2003

2/17

/2003

2/24

/2003

3/3/

2003

3/10

/2003

Sto

ry P

oin

ts

Velocity

0

10

20

30

40

50

60

1/20

/2003

1/27

/2003

2/3/

2003

2/10

/2003

2/17

/2003

2/24

/2003

3/3/

2003

3/10

/2003

Sto

ry P

oin

ts

Then managers could just look at them to seeThe status of the project.

Page 9: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

9

What is the first thing

known about a project?

The Management Paradox

Page 10: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

10

! !

! !

Page 11: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

11

The Delivery Date is Frozen

Page 12: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

12

The

Spec

V1

The

Spec

V2

The

Spec

V3

The

Spec

V3

The

Spec

VN.1

The

Spec

VN.2

The Spec is Never Frozen

Page 13: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

13

Analysis

Design

Implementation

DFDERD

DDST

1 May 1 Nov1 Jul 1 Sep

The Waterfall Model

Managing the Development of Large Software SystemsDr. Winston W. Royce — 1970

Page 14: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

14

Royce’s actual diagram.

Page 15: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

15

Royce’s Observation

Page 16: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

16

Royce’s Conclusion

Page 17: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

17

How did W/F get to be the norm?

2167

2167A

Everybody copied the good ol’ DoD.

Page 18: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

18

Requirements and Failure

$37B worth of DoD projects using 2167A

Required extensive rewo rk to meet true

needs.20%

Never used. Egregio usly

failed to meet needs.

46%

Jarzombek Study.

Failure attributed to use of waterfall.

Page 19: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

19

Over specification.Actual use o f Waterfa ll Requested Features

A lways7%

Often13%

S ometimes16%Rarely

19%

Never45%

Page 20: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

20

Code Waste

In a study of 400 waterfall projects:

Only 5% - 15% of the code was ever used.

Page 21: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

21

Long Projects Fail.

Pro ject S uccess. 23 ,000 pro jects

0

5

10

15

20

25

30

35

40

45

6 9 12 18 24 36

Months

Pe

rce

nt

su

cc

es

s

Page 22: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

22

Analysis

Design

Implementation

DFDERD

DDST

1 May 1 Nov1 Jul 1 Sep

Let’s go to a meeting.

Page 23: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

23

Iterative Development.

Exploration

Slices cut across all sub-system s

UI

Comms

ControlSome UI, Comms, and

Control for

some behavior

Data is generated and used to calibrate the plan

Page 24: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

24

Calculate the Date.

High level analysis and Design

S lices cut across a ll sub-system s

The Calculated Date

. . . . . . . . [ ]

Page 25: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

25

More data shrinks the error bars.

High level analysis and Design

S lices cut across a ll sub-system s

The Calculated Date

. . . . . . . . [ ]

Page 26: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

26

Without data, all you can manage is:

! !

!

Page 27: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

27

Without data managers can:

This project will be done on time!

Or HEADS will ROLL!

Page 28: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

28

OR….

You guys are great.

I have faith in you.

I know you can do it!

I sure hope

you can

Page 29: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

29

But when we have data…

Story Points Remaining

0

100

200

300

400

500

600

1/20

/2003

1/27

/2003

2/3/

2003

2/10

/2003

2/17

/2003

2/24

/2003

3/3/

2003

3/10

/2003

Sto

ry P

oin

ts

Velocity

0

10

20

30

40

50

60

1/20

/2003

1/27

/2003

2/3/

2003

2/10

/2003

2/17

/2003

2/24

/2003

3/3/

2003

3/10

/2003

Sto

ry P

oin

ts

Managers can…. manage.

Page 30: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

30

The control knobs of project mgt.

Schedule

Quality

Staff Scope

Page 31: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

31

Metaphor

CollectiveOwnership

CodingStandard

SustainablePace

ContinuousIntegration

WholeTeam

Planning Game

Small Releases

Customer Tests

SimpleDesign

PairProgramming

Test-Driven Development

DesignImprovement

XP Practices

www.XProgramming.com

Page 32: Agile/XP Overview Object Mentor, Inc. Copyright  1998-2004 by Object Mentor, Inc All Rights Reserved fitnesse.org

32

Contact Information

Robert C. [email protected]

Website:www.objectmentor.com

FitNesse:www.fitnesse.org