integrating quality into project portfolio management

36
Integra(ng Quality into Project Por3olio Management Friday, October 28, 2011

Upload: chris-sterling

Post on 28-Nov-2014

6.225 views

Category:

Technology


2 download

DESCRIPTION

Traditionally, projects are managed based on cost, schedule, and scope. This continues to be insufficient and leads to poor outcomes, unsustainable development efforts, quality issues, and software that may meet requirements but not the expectations of users. This talk will go into how organizations can integrate quality and value considerations into their portfolio management strategies leading to less surprises and more valuable outcomes. The talk will go into detail about how Agile, Lean thinking, and Managing Software Debt can give a more holistic view of the project portfolio.

TRANSCRIPT

Page 1: Integrating Quality into Project Portfolio Management

Integra(ng  Quality  into  Project  Por3olio  Management

Friday, October 28, 2011

Page 2: Integrating Quality into Project Portfolio Management

Chris  SterlingCo-­‐founder  of  Agile  Advantage  and  VP  of  Engineering  (www.AgileAdvantage.com)  

Author  of  Book  “Managing  So;ware  Debt:  Building  for  Inevitable  Change”

Consults  on  so;ware  technology,  Agile  technical  pracGces,  Scrum,  and  effecGve  management  techniques

CerGfied  Scrum  Trainer

InnovaGon  Games®  Trained  Facilitator

Open  Source  Developer

2

Email:  [email protected]  Web:  h5p://www.agileadvantage.comBlog:  h5p://www.ge<ngagile.comFollow  me  on  Twi5er:  @csterwa

Friday, October 28, 2011

Page 3: Integrating Quality into Project Portfolio Management

Agenda

Pa5erns  for  Scaling  Agile  delivery• Problems  of  Scaling  SoDware  Delivery

Balancing  Signal  to  Noise  at  Scale• DefiniHon  of  Done• Source  Control  Management

• ConHnuous  IntegraHon• Quality  DashboardsPorNolio  Management  Decisions:• Commit,  Transform,  Kill

3

Friday, October 28, 2011

Page 4: Integrating Quality into Project Portfolio Management

Pa6erns  for  Scaling  Agile  delivery

Friday, October 28, 2011

Page 5: Integrating Quality into Project Portfolio Management

Component  Teams

“Component  Team”  structure

Separate  Product  Backlog

Managing  dependencies  is  oDen  serialized

ProblemaHc  integraHon  issues  are  typically  faced  if  mulHple  components  are  required  to  release

Use  an  “IntegraHon  Team”  to  pull  components  together

Causes  more  rework  than  “Feature  Team”  structure

5

Friday, October 28, 2011

Page 6: Integrating Quality into Project Portfolio Management

Feature  Teams

“Feature  Team”  structure

Uses  common  Product  Backlog

IntegraHon  is  done  in  parallel

Requires  high  levels  of  communicaHon  across  teams  to  resolve  integraHon  issues

Forces  Product  Owners  to  be  more  coordinated  

Sprints  should  be  synchronized

Cross  team  ferHlizaHon  is  arequirement  to  successfully  deliver  in  parallel

6

Friday, October 28, 2011

Page 7: Integrating Quality into Project Portfolio Management

Story  MapAreas  of  funcHonality/capabiliHes  on  top

Place  associated  user  stories  verHcally

7

Friday, October 28, 2011

Page 8: Integrating Quality into Project Portfolio Management

Story  Map  -­‐  Next  ReleaseDraw  line  that  represents  viable  release• Customer  features  above  the  line  are  “in”

• Do5ed  line  represents  negoHability

!"#8

Friday, October 28, 2011

Page 9: Integrating Quality into Project Portfolio Management

Forming  the  Meta-­‐Scrum

9

Friday, October 28, 2011

Page 10: Integrating Quality into Project Portfolio Management

Problems  Scaling  Agile  methods

10

Dependencies  across  teams

IntegraHon  points  across  architecture

Cross-­‐team  coordinaHon

Inconsistent  quality  standards

MulHple  lists  of  work

Larger  batches  created  for  deployment

MulH-­‐level  planning

And  probably  much  more...

Friday, October 28, 2011

Page 11: Integrating Quality into Project Portfolio Management

Balancing  Signal  Indicators  

Value

Quality Constraints(Schedule,  Cost,  Scope)Source:  Jim  Highsmith

11

Friday, October 28, 2011

Page 12: Integrating Quality into Project Portfolio Management

Problems  We’ll  Focus  On  -­‐  Quality

12

Dependencies  across  teams

Integra(on  points  across  architecture

Cross-­‐team  coordina(on

Inconsistent  quality  standards

Mul(ple  lists  of  work

Larger  batches  created  for  deployment

MulH-­‐level  planning

And  probably  much  more...

Friday, October 28, 2011

Page 13: Integrating Quality into Project Portfolio Management

DefiniUon  of  Done  -­‐  Assert  QualityAcceptance defined criteria for each user story

Unit tests written and passed

Code compiles with no errors and no warnings

New code doesn’t break existing code

Test case review (Dev to review test case written)

Architectural impact assessed and artifacts updated if necessary

Comments in code

Error codes added

Code reviewed by peer

Code checked in with reference to US#/Task#

Tested on FE

Integration test written & passes

Test code reviewed

Environment requirements documented

Interface document updated/added and checked in to SVN

Acceptance criteria verified complete

All P1-P3 bugs for the story are closed

Test approves user story

Story demonstrated to product owner and accepted on Target Platform

13

Friday, October 28, 2011

Page 14: Integrating Quality into Project Portfolio Management

Release  DefiniUon  of  Done

Every  release  should  have  clear  quality  criteria

With  a  “Release  DefiniHon  of  Done”  you  can  understand  targets  be5er

Measure  the  gap  between  the  teams’  DefiniHon  of  Done  and  a  Release  DefiniHon  of  Done.• This  gap  is  a  source  of  quality  issues  and  represents  significant  risk  to  schedule

Friday, October 28, 2011

Page 15: Integrating Quality into Project Portfolio Management

Release  DefiniUon  of  Done

Every  release  should  have  clear  quality  criteria

With  a  “Release  DefiniHon  of  Done”  you  can  understand  targets  be5er

Measure  the  gap  between  the  teams’  DefiniHon  of  Done  and  a  Release  DefiniHon  of  Done.• This  gap  is  a  source  of  quality  issues  and  represents  significant  risk  to  schedule

Friday, October 28, 2011

Page 16: Integrating Quality into Project Portfolio Management

TradiUonal  Source  Control  Management

15

Friday, October 28, 2011

Page 17: Integrating Quality into Project Portfolio Management

TradiUonal  Source  Control  Management

15

Main  Branch

Friday, October 28, 2011

Page 18: Integrating Quality into Project Portfolio Management

TradiUonal  Source  Control  Management

15

Main  Branch

Version  1Branch

Integrate  forVersion  2

CodeComplete

Friday, October 28, 2011

Page 19: Integrating Quality into Project Portfolio Management

TradiUonal  Source  Control  Management

15

Main  BranchDebt

Death  March

Version  1Branch

Integrate  forVersion  2

CodeComplete

Friday, October 28, 2011

Page 20: Integrating Quality into Project Portfolio Management

TradiUonal  Source  Control  Management

15

Main  BranchDebt

Death  March {Debt  accrues  quickly  within  stabilizaBon  periods

Version  1Branch

Integrate  forVersion  2

CodeComplete

Friday, October 28, 2011

Page 21: Integrating Quality into Project Portfolio Management

Flexible  Source  Control  Management

16

Friday, October 28, 2011

Page 22: Integrating Quality into Project Portfolio Management

Flexible  Source  Control  Management

16

Main Branch

Friday, October 28, 2011

Page 23: Integrating Quality into Project Portfolio Management

Flexible  Source  Control  Management

16

Main Branch

Version 1

Friday, October 28, 2011

Page 24: Integrating Quality into Project Portfolio Management

Flexible  Source  Control  Management

16

Main Branch

Version 1 Version 2

Friday, October 28, 2011

Page 25: Integrating Quality into Project Portfolio Management

Flexible  Source  Control  Management

16

Main Branch

Version 1 Version 2{Not Easy! Must have proper infrastructure to do this.

Friday, October 28, 2011

Page 26: Integrating Quality into Project Portfolio Management

ConUnuous  IntegraUon

17

Friday, October 28, 2011

Page 27: Integrating Quality into Project Portfolio Management

18

Friday, October 28, 2011

Page 28: Integrating Quality into Project Portfolio Management

Por3olio  Management  Decisions:

Commit,  Transform,  KillSource:  Johanna  Rothman

“Manage  Your  Project  PorBolio”hDp://www.amazon.com/Manage-­‐Your-­‐Project-­‐PorBolio-­‐first/dp/B004SMU0OW

Friday, October 28, 2011

Page 29: Integrating Quality into Project Portfolio Management

EsUmates  are  Unreliable  but  Useful

20

EsHmate  using  relaHve  size

Affinity  EsHmaHng  technique*

Affinity  EsHmaHng  How-­‐To:  h5p://www.ge<ngagile.com/2008/07/04/affinity-­‐esHmaHng-­‐a-­‐how-­‐to/

Friday, October 28, 2011

Page 30: Integrating Quality into Project Portfolio Management

PorYolio  Level  Project  Commitment

21

Friday, October 28, 2011

Page 31: Integrating Quality into Project Portfolio Management

PorYolio  Project  TransformaUon

22

Friday, October 28, 2011

Page 32: Integrating Quality into Project Portfolio Management

Early  Warning  Signs

23

Early  Warnings:•Broken  Builds•Broken  Automated  Tests•Broken  Custom  Thresholds

Friday, October 28, 2011

Page 33: Integrating Quality into Project Portfolio Management

24

Early  Warnings:•Design  Debt  in  DuplicaWon  (DRY)•Technical  Debt  in  Code  Complexity•Quality  Debt  in  Bug  DB  (Break/Fix)•Other  Custom  Thresholds

Friday, October 28, 2011

Page 34: Integrating Quality into Project Portfolio Management

25

Project  PorYolio  Kill?

Early  Warnings:•When  transform  and  re-­‐”commit”  is  not  a  valid  opWon:•“Kill”  should  be  an  opWon  on  the  table  MORE

Friday, October 28, 2011

Page 35: Integrating Quality into Project Portfolio Management

Thank  you!

Ques(ons  &  Answers

Friday, October 28, 2011

Page 36: Integrating Quality into Project Portfolio Management

Come  see  us  at  AgileAdvantage.com

27

Friday, October 28, 2011