an emerging set of integrated architecture and agile ... · agile projects are showing greater...

25
© 2013 Carnegie Mellon University SATURN 2013: An Emerging Set of Integrated Architecture and Agile Practices that Speed Up Delivery Software Engineering Institute Carnegie Mellon University Pittsburgh, PA 15213 Presenter: Stephany Bellomo Study Authors: Stephany Bellomo, Robert Nord, Ipek Ozkaya

Upload: others

Post on 24-Aug-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

© 2013 Carnegie Mellon University

SATURN 2013: An Emerging Set of Integrated Architecture and Agile Practices that Speed Up Delivery

Software Engineering InstituteCarnegie Mellon UniversityPittsburgh, PA 15213

Presenter: Stephany BellomoStudy Authors: Stephany Bellomo, Robert Nord, Ipek Ozkaya

Presenter
Presentation Notes
Title Slide Title and Subtitle text blocks should not be moved from their position if at all possible.
Page 2: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

2Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Copyright 2011 Carnegie Mellon University.

This material is based upon work supported by the Department of Defense under Contract No. FA8721-05-C-0003 with Carnegie Mellon University for the operation of the Software Engineering Institute, a federally funded research and development center.

Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the United States Department of Defense.

NO WARRANTY

THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE ENGINEERING INSTITUTE MATERIAL IS FURNISHED ON AN “AS-IS” BASIS. CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER EXPRESSED OR IMPLIED, AS TO ANY MATTER INCLUDING, BUT NOT LIMITED TO, WARRANTY OF FITNESS FOR PURPOSE OR MERCHANTABILITY, EXCLUSIVITY, OR RESULTS OBTAINED FROM USE OF THE MATERIAL. CARNEGIE MELLON UNIVERSITY DOES NOT MAKE ANY WARRANTY OF ANY KIND WITH RESPECT TO FREEDOM FROM PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT.

This material has been approved for public release and unlimited distribution except as restricted below.

Internal use:* Permission to reproduce this material and to prepare derivative works from this material for internal use is granted, provided the copyright and “No Warranty” statements are included with all reproductions and derivative works.

External use:* This material may be reproduced in its entirety, without modification, and freely distributed in written or electronic form without requesting formal permission. Permission is required for any other external and/or commercial use. Requests for permission should be directed to the Software Engineering Institute at [email protected].

*These restrictions do not apply to U.S. government entities.

Page 3: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

3Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Presentation Overview

In this presentation, we will cover the following:• An overview of findings from a series of interviews with eight project teams

using rapid, incremental development methods (Study 1)• A brief overview of an elaboration of an integrated practice, Prototyping with

Quality Attribute Focus (Study 2) • Summary of key takeaways from both studies and brief discussion of future

work

Page 4: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

4Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 1: A Summary of Integrated Practices (Findings based on A Study of Enabling Factors

for Rapid Fielding)[1]

[1] S. Bellomo, I. Ozkaya, R. Nord, “A Study of Enabling Factors for Rapid Fielding, Combined Practices to Balance Tension between Speed and Stability” (ICSE Conference 2013)

Page 5: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

5Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 1; Driving Question

Driving Question• Agile projects are showing greater promise in rapid fielding,

but what really constitutes and contributes to success?• Is it Agile management or technical practices (e.g., Scrum, XP, etc?

• It is “lightweight” architecture practices?

• Or is it something else?

Output: Set of enabling and inhibiting factors for rapid development

Research Approach: Qualitative study (interviews with 8 projects)

Page 6: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

6Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 1; Organization profileConducted eight interviews with government and commercial project teams working on iterative incremental development projectProject

IDTime in

ProductionRelease

Management Approach

Type Product Size Team Size Sprint length / Prod

Release CycleA-P1 Pre-release Scrum Case management

system<10M SLOC 10-20 2 weeks/

TBDB-P1 12 years Scrum Analysis support

system<10M SLOC 10-20 2 weeks/

6 months –1 year

C-P1 3 years Scrum Training simulator 1-10M SLOC >30 4–6 weeks/2–6 months

D-P1 Pre-release Scrum Enterprise information sharing portal

TBD >30 2 weeks/TBD

E-P1 12 years Scrum Doc management system

10-20M SLOC 9 2 weeks/1–3 months

E-P2 14 years Incremental (prior to Scrum)

SQLWindows tool <10M SLOC 10-15 N/A/1 year

E-P3 8 years Incremental (prior to Scrum)

Hardware controller <10M SLOC 5 2 weeks/2 months

E-P4 1.5 years Scrum Customization project of a packaged software

system

10-20M SLOC 6 2 weeks/3 months

Page 7: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

7Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 1; Enabling Practices within Desired State

SUMMARY OF ENABLING PRACTICES

• Vision document roadmap• Scrum collaborative mgmt style• Prototype/demo• Scrum status meeting• Test-driven development• Small dedicated team• Incremental release cycle• End user involvement• Continuous integration• …

When things were going well, we found teams applied foundational Agile practices• Ho, hum, not very

interesting; the usual Agile practices…

Page 8: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

8Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 1; Another Emerging Set of Practices

But wait!

We found another set of practices when people talked about incidents when things were not going so well (and among more experienced teams)…

Page 9: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

9Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 1; Desired State

Observed projects trying to stay within bounds of Desired State (mostly in preservation phase)

[2] F. Bachmann, R. L. Nord, and I. Ozkaya, “Architectural Tactics to support rapid and agile stability.” CrossTalk: The Journal of Defense Software Engineering, Special Issue on Rapid and Agile Stability, May/June 2012.

Page 10: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

10Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 1; Integrated Practices outside Bounds of Desired State

SUMMARY OF INTEGRATED PRACTICES*

• Release planning with architecture considerations

• Prototyping with quality attribute focus

• Release planning with joint prioritization

• Test-driven development with quality attribute focus

• Roadmap/vision with external dependency management

• Dedicated team/specialized expertise for tech insertion

When practitioners encountered a problem they would often integrate an Agile or Scrum practice with an architectural practice

*See paper for full list

Presenter
Presentation Notes
We also found these integrated practices within more experienced teams
Page 11: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

11Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 1; Inhibiting Factors-1

SUMMARY OF INHIBITORS

• Desire for features limits requirements analysis or stability-related work

• Slow business decision, feedback or review response time

• Problems due to challenges with external dependency management

• Stability-related effort not entirely visible to business

• Limitations in measuring architectural technical debt

• Inadequate analysis, design or proof-of-concept

• …

We also found eighteen “Inhibitors”- Range of technical and management/governance issues

Page 12: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

12Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 1; Inhibiting Factors-2

SUMMARY OF INHIBITORS• Desire for features limits requirements

analysis or stability-related work • Slow business decision, feedback or

review response time• Stability-related effort not entirely

visible to business• Limitations in measuring architectural

technical debt• Inadequate analysis, design or proof-

of-concept• Inconsistent testing practices and/or

deficiency in quality attribute focus• Poor testing consistency

SUMMARY OF INTEGRATED PRACTICES

• Release planning with architecture considerations

• Technical debt monitoring with quality attribute focus

• Dedicated team/specialized expertise for tech insertion

• Test-driven development with quality attribute focus

• Dynamic organization and work assignment

Exploratory Question:Some integrated practices that came from teams with more years of experience together. Would those practices have helped with these problems?

Page 13: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

13Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 1; Takeaways

Let’s talk about the findings from Study 2 then circle back to talk discuss takeaways from both studies together…

Page 14: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

14Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 2: Elaboration “Prototyping with Quality Attribute (QA) Focus” Practice

(Findings from an Integrated Practice Analysis Study)[3]

[3] S. Bellomo, I. Ozkaya, R. Nord, “Elaboration on an Integrated Architecture and Requirement Practice

Prototyping with Quality Attribute Focus” (ICSE Conference 2013, Twin Peaks Workshop)

Page 15: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

15Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 2; Team A and B Quick Profile Overview

ProjectID

Time in Production

Release Management

Approach

Type Product Size

Team Size

Sprint length /

ProdRelease

CycleTeam A Pre-release Scrum Case

management system

<10M SLOC

10-20 2 weeks/TBD

Team B 12 years Scrum Analysis support system

<10M SLOC

10-20 2 weeks/6 months –

1 year

Significantly different levels of experience together as a team

Page 16: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

16Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 2; Overview

Team B had more experience together so they served as our “exemplar practice”. We collected several findings by analyzing their practice:

• A set of prototyping guidelines they used • Requirements and Architecture integration weaving points (weaves the

practice into Scrum lifecycle)• Enablers for rapid and confident prototyping (e.g., rapid-tradeoff analysis

and flexible architecture)

Page 17: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

17Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 2; What we found-1

Summary of Team B Prototyping PracticeGuidelines

1 Prototyping should be done at least a full sprintcycle before targeted feature development…

2 Prototyping work should not be done in the samebranch…*

5 …the product owner can stop prototype work atany time or trade off a current prototypingeffort….

6 To the extent feasible, prototyping should be done in an environment technically…

7 Prototyped features are usually demonstrated atthe weekly user demo feedback sessions …

8 Minimalistic prototyping is encouraged….

First, we captured ten prototyping guidelines from Team B• Many of they are

consistent with Agile spiking practices

Not that new or exciting…

*Some rows intentionally skipped due to size constraints

Page 18: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

18Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 2; Integration Points

Weaving of Integration Points

• Release planning

• User demo

• Post-user demo meeting

Page 19: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

19Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 2; Why does this matter?

Instead of requirements and architecture practices that sit outside of the lifecycle (like waterfall) , Team B’s prototyping

practice is woven in the Scrum lifecycle

Past Approach

Weaving Approach

Page 20: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

20Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Study 2; Other Prototyping Enablers

Other Enablers for Rapid and

Effective Prototyping (for Team B)

Page 21: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

21Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Summary of Takeaways-1 (Study 1)

• We see evidence that software engineers don’t necessarily apply pure Agile or architecture practices separately• We identified a set of integrated practices used by projects to stay within

(or get back to) an acceptable range of desired state

• We also identified several inhibitors that pose great challenge to Agile projects

Agile/Scrum Practices

Architecture Practices

Integrated Practices

Key Takeaway: The work from these studies supports the stance that practice extensions, such as extensions to Scrum, are needed and

anticipated in iterative and incremental development [4][4]K. Schwaber, (blog) “Telling it like it is,” April 2012. http://kenschwaber.wordpress.com/2012/04/05/scrum-but replaced-by-scrum-and/

Page 22: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

22Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Summary of Takeaways-2 (Study 2)

• We elaborated one integrated practice, “Prototyping with Quality Attribute Focus”

• We described several factors for Team B’s prototyping success such as:• A set of prototyping guidelines • Requirements and Architecture weaving integration points • Rapid-tradeoff analysis• Flexible architecture

• We observed the practice operates at multiple levels

Key Takeaway: Discovered weaving of architecture and requirements allows for integration of architecture practices into the Scrum lifecycle

instead of conducting these activities as separate, stand-alone activities

Page 23: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

23Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Future work

Areas of interest for future work:• We would like to explore several more of the integrated practices looking for

patterns or generalizable findings• We would like to try applying the findings in the prototyping practices to

another project to validate findings• Currently working on studying architecture-related measures on Scrum

projects (contact me if you are interested in that work)

Page 24: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

24Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Contact Information

Stephany BellomoSenior Member of the Technical StaffSoftware Solutions DivisionTelephone: +1 703 859-6166Email: [email protected]

U.S. MailSoftware Engineering InstituteCustomer Relations4500 Fifth AvenuePittsburgh, PA 15213-2612USA

Webwww.sei.cmu.eduwww.sei.cmu.edu/contact.cfm

Customer RelationsEmail: [email protected]: +1 412-268-5800SEI Phone: +1 412-268-5800SEI Fax: +1 412-268-6257

Page 25: An Emerging Set of Integrated Architecture and Agile ... · Agile projects are showing greater promise in rapid fielding, but what really constitutes and contributes to success? •

25Integrated Practices (SATURN)S. Bellomo, May 1, 2013© 2013 Carnegie Mellon University

Q&A