an integrated view of process and measurement

48
Mark Kasunic Software Engineering Institute Carnegie Mellon University Pittsburgh, Pennsylvania Sponsored by the U.S. Department of Defense An Integrated View of Process and Measurement Plan Do Study Act Continuous Improvement

Upload: others

Post on 15-Oct-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An Integrated View of Process and Measurement

Mark Kasunic

Software Engineering Institute Carnegie Mellon University Pittsburgh, Pennsylvania

Sponsored by theU.S. Department of Defense

An Integrated View of Processand Measurement

Plan

DoStudy

Act

ContinuousImprovement

Page 2: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 2

Some Common Misconceptions

Process maturity Levels 2-3 focus on process definition.Measurement is largely postponed until Levels 4 and 5.

Technical Working Groups (TWGs) should be organized byCMM/CMMI process areas – therefore there should be aseparate “Measurement TWG.”

There should be two plans – one that guides process changeand one that guides how measurement is introduced andimplemented.

Only certain specialized rolesrequire competency inmeasurement skills. ����������������

Page 3: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 3

Measurement Activities in ProcessImprovement

Measurement is an essential construct of process –measurement must be woven into the fabric of process.

Definition of measurement should be an essential part of anyprocess definition work.

Measurement focuses continuous process improvement – itshould never be postponed (although the sophistication of datacollection and storage mechanisms should evolve).

Everyone needs to understand howto effectively monitor and improvetheir work processes – measurement is the key.

Page 4: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 4

Measurement Pinpoints FutureImprovement OpportunitiesIt has generally been found that variation in a few of theprocess attributes has significant impact on overallperformance. These significant-few process attributes are"key" process characteristics.

These key process characteristics are the ones we should bemeasuring.

Fre

qu

ency

Nonconformance Category

Focusimprovementefforthere

not here

Page 5: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 5

The IDEALSM

Approach

SMSM IDEAL is a service mark of IDEAL is a service mark ofCarnegie Mellon UniversityCarnegie Mellon University

Stimulus for Change SetContext

BuildSponsorship

CharterInfrastructure

InitiatingCharacterizeCurrent &Desired States

DevelopRecommendations

SetPriorities Develop

Approach

PlanActions

Diagnosing

Establishing

CreateSolution

Pilot/TestSolution

RefineSolution

ImplementSolution

Learning

AnalyzeandValidatePropose

FutureActions

Acting

Page 6: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 6

The InitiatingPhase

Stimulus for Change SetContext

BuildSponsorship

CharterInfrastructure

InitiatingCharacterizeCurrent &Desired States

DevelopRecommendations

SetPriorities Develop

Approach

PlanActions

Diagnosing

Establishing

CreateSolution

Pilot/TestSolution

RefineSolution

ImplementSolution

Learning

AnalyzeandValidatePropose

FutureActions

Acting

Page 7: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 7

Key Success Factors for Effective Launch

1 A compelling reason for change

2 Leadership of the change effort by the top executive inthe organization — responsibility cannot be delegated

3 Informed commitment of the top management team

4 Designation of a primary change agent (the EPGLeader) and an adequate mandate for change

5 Sound performance measures that drive change

The Must Haves:

1 A compelling reason for change

2 Leadership of the change effort by the top executive inthe organization — responsibility cannot be delegated

3 Informed commitment of the top management team

4 Designation of a primary change agent (the EPGLeader) and an adequate mandate for change

Page 8: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 8

Performance Measuresthat Drive Change

Measures are integral to effective change. A goal-focusedmeasurement system is the best vehicle for galvanizing managementaction and institutionalizing the targeted changes.

If you deploy a poor set of measures (or none at all), any positiveaccomplishment will be undermined by inefficiencies as managerschase an inconsistent and/or conflicting set of targets.

Performance measures must be:

• Relevant. Does the measure have a significant, demonstrablerelation to strategy and business goals?

• Reliable. Will the measure identify strengths or weaknessesof one or more business processes?

5

Page 9: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 9

Performance Measures:Reestablishing Your Business GoalsPerformance measures must be tied to and reflect the new vision thatis driving the change. And the right measures must be forged onbusiness goals that are both real and inspirational.

For most organizations, development of performance measures mustbe preceded by reestablishing or refreshing the organization’s values,vision, mission and goals.

When these are undefined, are not communicated, or are not inspiringto people, it can undermine any effort to improve.

If the values, vision, mission and goals are poorly defined, then workwill be needed before performance measures can be considered—orbefore other positive changes can be achieved.

Page 10: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 10

Project Measures Should UltimatelyTie to Customer SatisfactionAssessment

Organization’sGoals

Strategy

Initiative

Initiative

Project

Project

Project

Project

Strategy

Initiative

Initiative

Project

Project

Project

Project

ProjectGoals

Customer Needs

Customer Wants

ProjectGoals

Page 11: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 11

Assessing YourProcessMaturity

Stimulus for Change SetContext

BuildSponsorship

CharterInfrastructure

InitiatingCharacterizeCurrent &Desired States

DevelopRecommendations

SetPriorities Develop

Approach

PlanActions

Diagnosing

Establishing

CreateSolution

Pilot/TestSolution

RefineSolution

ImplementSolution

Learning

AnalyzeandValidatePropose

FutureActions

Acting

Page 12: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 12

Establish TechnicalWorkingGroups

1 2 3 4 5 6 7 8

Organize and Prepare

Conduct Organizational Scan

Understand Project’s Current State

Redesign the Process

Develop Solution

Conduct Pilot(s) and Evaluate

Facilitate Organizational Learning

Establishing Acting Learning

������ ��������������

Establishing Acting Learning

Page 13: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 13

Organize and Prepare

Conduct Organizational Scan

Establish Technical Working Groups

Understand Project’s Current State

Redesign the Process

Develop Solution

Conduct Pilot(s) and Evaluate

Facilitate Organizational Learning

1 2 3 4 5 6 7 8

1

2

3

4

5

6

7

8

The Process Change Method

Page 14: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 14

SEPG

PCM 1: Organize and Prepare

We need to get our acttogether before wejump out there to helpthe rest of theorganization.

Page 15: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 15

When Discussion Turns to Problem-SolvingProblem solving is at the core of the SEPG’s activities.

A problem is simply a gap between what is desired and whatexists.

A group with an effective problem-solving process meets twoconditions:

1 members use a systematic process for solving problems

2 all members focus on the same step of the problem-solving process at the same time

Adapted from [Senge 90, pp. 234-235]

Page 16: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 16

Generic Problem-Solving Process

1 Define the problem

2 Establish criteria for evaluating solutions

3 Identify root causes

4 Generate alternative solutions

5 Evaluate alternative solutions

6 Select the best solution

7 Develop an action plan

8 Implement the action plan

9 Evaluate outcomes and the process

Adapted from [Schwarz 94, p. 159]

1 Define the problem

2 Establish criteria for evaluating solutions

3 Identify root causes

4 Generate alternative solutions

5 Evaluate alternative solutions

6 Select the best solution

7 Develop an action plan

8 Implement the action plan

9 Evaluate outcomes and the process

Page 17: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 17

9 Evaluate Outcomes of the Process

Evaluation through measurement is the step most oftenunderemphasized.

However, evaluation is essential for a group that values validinformation.

When groups resist evaluation, several interventions are possible:

• help the group explore its reluctance to evaluate

• once barriers are identified, help group reframe the meaning ofevaluation from threat to one in which members seekcontinuous improvement of their work

• help the group consider how comprehensive their evaluationneeds to be

Page 18: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 18

PCM 2: Conduct Organizational Scan

SEPG

What do wehave outthere?

Page 19: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 19

PCM 2: Conduct Organizational Scan

SEPG

How are projectsdifferent or thesame?

Page 20: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 20

PCM 2: Conduct Organizational Scan

SEPG

Where are ourorganization’s bestpractices?

Page 21: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 21

Gather Data

Obtain artifacts. Process documentation is identified during theinterviews. This documentation is collected immediately or, ifnecessary, at a later date.

methods

metric-based documents

procedures

templatesmeasurement data

process diagrams

relevant policies

forms

Page 22: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 22

TWG #2

PCM 3: Establish TWG(s)

Project Partner

SEPG

TWG #1

Project Partner #2

TWG #3

Project Partner #3

Page 23: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 23

SEPGSEPG

PCM 4: Understand Project’s CurrentState

Project Partner

TWG

Defining the existingprocess

SEPG

Page 24: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 24

PCM 5: Redesign the Process

Existingprocess

Gap Analysis

1

2

3

4

5

CMM

TWG

SEPG

Business-basedimprovement opportunities

New Process Design

Page 25: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 25

New Design Emphasizes Measurement

The new, process-oriented organization puts an emphasis oncustomers and the value-added processes that serve them.

Measurement is built into all processes, providinga clear view of the current situation and how the processis performing.

Measurement enables you to assess proposed changesand the results of change.

Page 26: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 26

Why the Emphasis on Metrics?

“Software Engineering” is the term used to describe the collectionof techniques concerned with applying an engineering approachto the construction of software products. By engineeringapproach we mean

• planning • designing

• costing • implementing

• managing • testing

• modeling • maintaining

• analyzing

It would be difficult to imagine how the disciplines of electrical,mechanical and civil engineering could have evolved without acentral role for measurement.

Page 27: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 27

Process and Product Metrics

Software metrics are often classified as either process metrics orproduct metrics.

Process metrics quantify attributes of the development process andof the development environment. For example:

• resources (such as level of effort)

• duration of the design phase

Product metrics are measures of the software product. Forexample:

• size of the product (such as lines of code, number of modules)

• complexity (such as flow of control, depth of nesting, orrecursion)

• number of defectsIn general, it is likely that a productmetric is influenced by the process usedand vice versa.

Page 28: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 28

Ineffective Approach to Quality

Historically, many organizations have approached quality byperforming product measurement only. But, this approach does notimprove quality nor guarantee quality. It’s a strategy of defectdetection, not defect prevention.

Measurement of final product attributes is toolate...the quality, good or bad, is already in theproduct.

100% inspection is only 80% effective — Dr. Joseph Juran

Process

Product

Page 29: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 29

Traditional Approach is Wasteful

Input Process Rework Acceptableproduct

The emphasis is on fixingthe product

Page 30: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 30

Focus on the Process

Input Process Acceptableproduct

Measurement usedto understandand improve theprocess.

Treating the cause ratherthan the symptoms.

Rework

Page 31: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 31

Organization’sGoal

Strategy

Initiative

Initiative

Project

Project

Project

Project

Initiativemeasuresshowsupport forstrategy

Success measuresfor business line oforganization

Measures tied tobusiness goalsthat addresscustomer wantsand needs

Process andproductmeasures

Business Goals and Measures DriveProject Performance Measures

Customer Needsand Wants

Page 32: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 32

Goal-Driven Measurement

The Goal/Question/Metric (GQM) paradigm provides a frameworkinvolving three steps.

List a major goal of the process

For each goal, derive questions that must beanswered to determine if the goals are beingmet.

Decide what must be measured in order to beable to answer the questions adequately

1

2

3

[Basili 88]

Page 33: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 33

Practical Software Measurement

ImplementProcess

Technical andManagementProcesses

InformationNeeds

User Feedback

Analysis Results

MeasurementPlan

New Issues

ImprovementActions

AnalysisResults andPerformanceMeasures

TailorMeasures

ApplyMeasures

EvaluateMeasures

Core Measurement Process

See http://www.psmsc.com/

Scope of PSM

Page 34: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 34

Software Metrics: Ten Traps to Avoid

Lack of management commitment

Measuring too much, too soon

Measuring too little, too late

Measuring the wrong things

Imprecise metrics definitions

Using metrics data to evaluate individuals

Using metrics to motivate, rather than to understand

Collecting data that is not used

Lack of communication and training

Misinterpreting metrics data

1

2

3

4

5

6

7

8

9

10

[Wiegers 00]

Page 35: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 35

PCM 6: Develop Solution

TWG

SEPG

ExistingprocessNew Process Design

from PCM 5

SOFTWARE PROJECT PLANNING,TRACKING AND OVERSIGHT

A S o f t w a r e P r o j e c t L i f e C y c l e P e r s p e c t i v e

Orgname Systems Development Center

Version 1.0October 1997

Guidebookfor users of the process

CoreProcess

Systems Integration

Job Aids

Tooling

InstallationSupport

Policies

Training

Processguide

Changerequestsystem

Whole productsolution

Page 36: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 36

PCM 7: Conduct Pilots and Evaluate

Pilot thesolution

TWG

SEPG

Project Partner

Page 37: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 37

How Will You Know if the ChangeWorked?Quite often, pilot studies are conducted without measurementeither before or after the change was introduced.

Therefore, how do we know if the outcome was better or worsethan the original situation?

In these cases, interpretation is based on opinion and impressions– but there is a lack of data to back it up!

Therefore, there is less confidence in the results of the pilot –interpretation is problematic and there’s a risk that consensusabout the results are not achieved.

Page 38: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 38

Typical Approaches to Pilot StudyEvaluation

X represents the introduction of a change

O represents a measurable observation

Before the change Change introduced After the Change

Approach #1 X

Approach #2 X O

Typical approaches that fail

Approach #3 XO

Page 39: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 39

“Engineering” Implies a ScientificApproach

In all three approaches, there is no way to tell if the outcome from thechange was better or worse than the original situation.

Typical approaches that fail

Before the change Change introduced After the Change

Approach #1 XApproach #1 X

Approach #2 X OApproach #2 X O

Approach #3 XO

How do you knowthe change worked?

Page 40: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 40

Approaches to Validation

In the scientific and manufacturing world, improvements or innovationsare validated using a rigorous statistical approach known as design ofexperiments (DOE)

• Extraneous variables that might impact the result you’re looking atcan be held steadied or controlled

• The experimental design can employ techniques such asrandomization and replication to add clarity and confidence to theassertions that are made about the change

RunNumber

1

2

3

4

RunNumber

1

2

3

4

VariableA

-

+

-

+

VariableA

-

+

-

+

VariableB

-

-

+

+

VariableB

-

-

+

+

VariableC

-

+

-

+

VariableC

-

+

-

+

Result

7

15

21

11

Result

7

15

21

11

Page 41: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 41

Scientific Methods Do Exist

Research designs called quasi-experimentation do exist for properinterpretation of results from pilot studies … but they are rarely applied!

Before the change Change introduced After the Change

X O2O1Good approach #1

Group #2

Better a

pproach #2

Group #1 X O2O1

O4O3

Before the change Change introduced After the Change

Page 42: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 42

Consider Better Approach #2

Group #2

Group #1 X O2O1

O4O3

Do two different groups obtain thesame results to begin with?

If yes, then O2 and O4data may be comparedusing a t test.

If no, then O2 and O4 datamay be compared usinganalysis of covariance.

Before the change Change introduced After the Change

Note: A t test and the analysis of covariance method are statistical methods that provide ascientific basis for making assertions about the results of your pilot study.

Page 43: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 43

1 2 3 4 5 6 7 8

Tailor process assets

Support and monitor project(s)

Conduct ongoing evaluations and identify new improvement opportunities

Conduct improvement activities

Select target project(s) and plan

Communicate results and update the process asset library

Facilitate Organizational Learning

Page 44: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 44

Conduct “Lessons Learned” Events

The SEPG should conduct regular lessons learned events after eachmajor milestone of the PCM.

Many organizations conducting PI also implement yearly “lessonslearned” events to “check the pulse” of the organization.

• What are people’s attitudes about the changes now that they’vebeen changed?

• Now that some are experiencedwith the new way of doing things,what ideas are there for improvingwhat’s there?

Is itworking?

Page 45: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 45

Assessing PI Progress

The SEPG evaluates the progress of CMM based PI.

The Interim Profile method is a way to rapidly measure anorganization’s SPI maturity between assessments, such asa CMM-Based Appraisal for Internal Process Improvement (CBA IPI).

1

2

3

4

5

The CMM forSoftware

[Whitney 96]

Page 46: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 46

1 2 3 4 5 6 7 8

1

2

3

4

5

6

7

8

The Process Change Method

Organize and Prepare

Conduct Organizational Scan

Establish Technical Working Groups

Understand Project’s Current State

Redesign the Process

Develop Solution

Conduct Pilot(s) and Evaluate

Facilitate Organizational Learning

Page 47: An Integrated View of Process and Measurement

© 2001 by Carnegie Mellon University 47

References

The following citations were made in this presentation:

[Basili 88] V.R. Basili, V.R. and Rombach, H. D. The TAME project:Towards improvement-oriented software environments. IEEETransactions on Software Engineering, 14(6):758-773, 1988.

[Senge 90] Senge, Peter M. The Fifth Discipline. New York, NY: Doubleday,1990.

[Schwarz 94] Schwarz, Roger M. The Skilled Facilitator. San Francisco, CA:Jossey-Bass Inc., 1994

[Weigers 00] Wiegers, K.E. Process Impact, Ince.http://www.processimpact.com/articles/mtraps.html, 2000.

[Whitney 96] Whitney et. al. Interim Profile Development and Trial of aMethod to Rapidly Measure Software Engineering MaturityStatus. (CMU/SEI-94-TR-4). Pittsburgh, PA.: SoftwareEngineering Institute, Carnegie Mellon University, 1996.

Page 48: An Integrated View of Process and Measurement

������������ ��������� �� ��

Contact Information:Mark [email protected]