SlideShare a Scribd company logo
1 of 201
KI MeasurementKI Measurement
Program Starter KitProgram Starter Kit
KI Measurement Pgm Starter Kit - 2Version 3.1© 2008 Kasse Initiatives, LLC
WelcomeWelcome
Wilkommen
Bienvenido
WelKom
Bienvenue
Bienvenuto
Velkommen
Tervetuloa Witamy
Huan Yín
ЌАΛΟΣ ΟΡΙΣΑΤΕ
ようこそ
Välkommen
KI Measurement Pgm Starter Kit - 3Version 3.1© 2008 Kasse Initiatives, LLC
AgendaAgenda
 Measurement – Is it Really Necessary?
 Metrics
 Goal – Question – Metric Paradigm
 Vision, Business Objectives and Measurement Objectives
 Measurement and Analysis
 Basic Measures
 Effectiveness of Processes
 Set of Organizational Processes
 Slightly More Advanced Measures
 Peer Reviews
 Test Coverage
 Quality Factors, Quality Criteria and Quality Metrics
KI Measurement Pgm Starter Kit - 4Version 3.1© 2008 Kasse Initiatives, LLC
Agenda - 2Agenda - 2
 Quantitative Project Management
 Path to Maturity Level 4
 Understanding Variation
 Measures and Analytic Techniques
 Descriptive Statistics
 Statistical Techniques
 Statistical Methods
 Causal Analysis Techniques
 Visual Display and other PresentationTechniques
 Summary
KI Measurement Pgm Starter Kit - 5Version 3.1© 2008 Kasse Initiatives, LLC
MeasurementMeasurement
Is It ReallyIs It Really
Necessary?Necessary?
KI Measurement Pgm Starter Kit - 6Version 3.1© 2008 Kasse Initiatives, LLC
At Project Start, Do YouAt Project Start, Do You
Know…?Know…?
 Can it be done?
 How long will it take?
 How much will it cost?
 How many people will it take?
 What is the risk?
 What are the tradeoffs?
 How many errors will there be?
KI Measurement Pgm Starter Kit - 7Version 3.1© 2008 Kasse Initiatives, LLC
What Do You Know Now?What Do You Know Now?
 How much does your current development
process cost?
 How much value does each piece of the
process add?
 What would the impact be of deleting,
modifying, adding a procedure to the process?
 What activities contribute the most to the final
product cost?
 Have you tried to improve the current
development process?
 What changes in cost/value resulted from that
improvement effort?
KI Measurement Pgm Starter Kit - 8Version 3.1© 2008 Kasse Initiatives, LLC
What Do You Know Now? - 2What Do You Know Now? - 2
 What processes represent the greatest potential
for return on improvement investment?
 How would you quantify the value of the
process improvement investment?
 Do you really want to know where the money is
going in your software development projects?
 What value do you think you are delivering to
your customers? Do they agree?
 How much is the knowledge of your costs and
the value delivered worth to you?
KI Measurement Pgm Starter Kit - 9Version 3.1© 2008 Kasse Initiatives, LLC
MeasurementMeasurement
andand
MetricsMetrics
KI Measurement Pgm Starter Kit - 10Version 3.1© 2008 Kasse Initiatives, LLC
MetricsMetrics
 The term, ‘quality metric’, may be defined as a
measure of the extent or degree to which a
product possesses and exhibits a certain
(quality) or characteristic.
 Quality metrics deal with, for example, Number
of defects, or defects per thousand lines of code
– i.e., a measure of fitness for use
KI Measurement Pgm Starter Kit - 11Version 3.1© 2008 Kasse Initiatives, LLC
What Are MetricsWhat Are Metrics
 Quantitative measures of
 Process
 Product
 Cost
 Quality
 With the goals of
 Facilitating control
 Detecting deviations
 Identifying potential areas for improvement
 Determining if you are improving
KI Measurement Pgm Starter Kit - 12Version 3.1© 2008 Kasse Initiatives, LLC
(Taken from “Software Quality: How to Define, Measure, and Achieve It”,
Victor Basili, Department of Computer Science, University of Maryland)
Views of MetricsViews of Metrics
 Subjective
 No exact measurement
 An estimate of the degree a technique is applied
 A classification of a problem or experience
 An indicator
 Objective
 An absolute measure taken on the product or
process
time for development
number of lines of code
KI Measurement Pgm Starter Kit - 13Version 3.1© 2008 Kasse Initiatives, LLC
Views of Metrics - 2Views of Metrics - 2
 Product
 Measure of the actual developed product
lines of Source code
number of Documents
 Process
 Measure of the process model used for developing
the product
use of methodology
KI Measurement Pgm Starter Kit - 14Version 3.1© 2008 Kasse Initiatives, LLC
Views of Metrics - 3Views of Metrics - 3
 Cost
 Expenditure of resources
staff months
capital investment
productivity
 Quality
 Value of the product
reliability
ease of use
maintainability
KI Measurement Pgm Starter Kit - 15Version 3.1© 2008 Kasse Initiatives, LLC
Views of Metrics - 4Views of Metrics - 4
 Metrics can be used to measure:
 Status
Number of requirements
Number of hours spent on Quality Assurance
activities
Number of errors discovered by a customer
 Effectiveness
Effectiveness of Requirements Engineering
process
Effectiveness of Quality Assurance activities
Effectiveness of Peer Reviews
KI Measurement Pgm Starter Kit - 16Version 3.1© 2008 Kasse Initiatives, LLC
Metrics ConsiderationsMetrics Considerations
 Metrics are not free!
 Do not collect a metric unless you have:
a purpose/objective for collecting the metric
determined it is worth the cost of collecting it
 Use metrics as a tool not a weapon
 Use metrics as a tool for identifying and measuring
improvement activities
 Don’t use metrics to assign blame
 Metrics will change the behavior of those
required to collect them or the raw data that will
be used to derive the metrics
KI Measurement Pgm Starter Kit - 17Version 3.1© 2008 Kasse Initiatives, LLC
Goal Question MetricGoal Question Metric
(GQM)(GQM)
ParadigmParadigm
KI Measurement Pgm Starter Kit - 18Version 3.1© 2008 Kasse Initiatives, LLC
The Goal/Question/MetricThe Goal/Question/Metric
ParadigmParadigm
 The G/Q/M Paradigm is a well-known process
used to support development of a
measurement program.
 The process, regenerated by Basili, Rombach
and others, uses the goal/question/metric
framework as the structure for the
measurement process.
 Goals are issues of importance for the organization
 Questions define the issues in such a manner that
their answers indicate progress toward achieving the
Goals
 Metrics supply the data that provide the answers to
the Questions that indicate the status of efforts to
achieve the Goals
KI Measurement Pgm Starter Kit - 19Version 3.1© 2008 Kasse Initiatives, LLC
Issues of importance
to the organization
Characterize the Goals
(used to provide insight as to
the achievement of the goals)
The Goal/Question/MetricThe Goal/Question/Metric
Paradigm - 2Paradigm - 2
MetricsMetrics
QuestionsQuestions
GoalsGoals
Answer the Questions
(provide status and trends)
The Goal/Question/Metric
Framework is a commonly
Used structure for the
Measurement process
The Goal/Question/Metric
Framework is a commonly
Used structure for the
Measurement process
KI Measurement Pgm Starter Kit - 20Version 3.1© 2008 Kasse Initiatives, LLC
The Goal/Question/MetricThe Goal/Question/Metric
Paradigm - 3Paradigm - 3
Goal 2
Question 4 Question 5
Goal 1
Question 2Modularity
Question 1
Question 3
Metric 1 Metric 2 Metric 3
Metric 4
KI Measurement Pgm Starter Kit - 21Version 3.1© 2008 Kasse Initiatives, LLC
GQM MethodologyGQM Methodology
 Three High-Level Steps:
 Determine the Goal/Purpose/Objective to be
achieved (or Issue to be resolved)
 Develop questions which when answered will show
whether the goal/purpose/objective has been
achieved or the issue resolved
 Formulate quantitative answers to the questions
(these are the metrics you may want to collect)
KI Measurement Pgm Starter Kit - 22Version 3.1© 2008 Kasse Initiatives, LLC
G/Q/M Methodology - 2G/Q/M Methodology - 2
 Establish the goals of the data collection
 Develop a list of questions
 Specify the measures to answer the questions
 Collect the data
 Validate and analyze the data
 Apply the results to the project – Is the metric a
good indicator?
 Analyze measurement process for
improvement
KI Measurement Pgm Starter Kit - 23Version 3.1© 2008 Kasse Initiatives, LLC
Exercise 1Exercise 1
 Use the GQM Paradigm to develop measures
for one or more of these hard to quantify
Requirements Words
KI Measurement Pgm Starter Kit - 24Version 3.1© 2008 Kasse Initiatives, LLC
Vision,Vision,
Business Objectives,Business Objectives,
andand
Measurement ObjectivesMeasurement Objectives
KI Measurement Pgm Starter Kit - 25Version 3.1© 2008 Kasse Initiatives, LLC
VisionVision
 Where does senior management think the organization will
be in the next year, and in the next two to five years?
 What products will be in the mainstream?
 Who will the competitors be?
 Will there be collaborators or strategic alliance partners?
 What technology changes are expected and/or will be
required to support the vision?
 What does the organizational structure have to be to support
this vision?
 Who will the organization’s suppliers be?
 What must the organizational culture be to support this
vision?
 How will a Process Improvement Initiative support this
vision?
KI Measurement Pgm Starter Kit - 26Version 3.1© 2008 Kasse Initiatives, LLC
Business ObjectivesBusiness Objectives
 Examples of Business Objectives include:
 Reduce time to market
 Reduce system errors that are discovered by customers
 Improve delivery time
 Increase quality of products
 Find and fix software defects once and only once
 Reduce project risks
 Gain control of suppliers
 Improve service delivery
 Improve service availability and capacity
 Shorten find to fix repair rate
KI Measurement Pgm Starter Kit - 27Version 3.1© 2008 Kasse Initiatives, LLC
Measurement ObjectivesMeasurement Objectives
 An organization’s measurement objectives
might be:
 Reduce time to delivery to a specified percentage
 Reduce total lifecycle costs of new products by a
percentage
 Deliver specified functionality by a specified
increased percentage
 Improve prior levels of quality by reducing the
number of defects of type A that get shipped with the
product
 Improve prior customer satisfaction ratings by a
specified percentage compared to past ratings
KI Measurement Pgm Starter Kit - 28Version 3.1© 2008 Kasse Initiatives, LLC
Measurement and AnalysisMeasurement and Analysis
vs.vs.
Project Monitoring and ControlProject Monitoring and Control
 Understanding the organization’s business
objectives and the project’s information needs
based on those organization’s business
objectives as well as its own information needs
or project’s business objectives, is the first
major requirement for establishing the
organization’s measurement foundation
 Without this, measurement gets reduced to status
information that is normally collected through project
monitoring and control
KI Measurement Pgm Starter Kit - 29Version 3.1© 2008 Kasse Initiatives, LLC
MeasurementMeasurement
and Analysisand Analysis
KI Measurement Pgm Starter Kit - 30Version 3.1© 2008 Kasse Initiatives, LLC
Measurement and AnalysisMeasurement and Analysis
OverviewOverview
 A measurement initiative involves the following:
 Specifying the objectives of measurement and
analysis such that they are aligned with established
information needs and business objectives
 Defining the measures to be used, the data collection
process, the storage mechanisms, the analysis
processes, the reporting processes, and the
feedback processes
KI Measurement Pgm Starter Kit - 31Version 3.1© 2008 Kasse Initiatives, LLC
Sources of Information NeedsSources of Information Needs
 The CMMI provides us with some examples of sources
of information needs including:
 Project plans
 Monitoring of project performance
 Established management objectives at the organizational level
or project level
 Strategic plans
 Business plans
 Formal requirements or contractual obligations
 Recurring or other troublesome management or technical
problems
 Experiences of other projects or organizational entities
 External industry benchmarks
 Process improvement plans at the organizational and project
level
KI Measurement Pgm Starter Kit - 32Version 3.1© 2008 Kasse Initiatives, LLC
Sources of Information Needs - 2Sources of Information Needs - 2
 What is it about the project plans or technical
problems or experiences of other projects or
external industry benchmarks like CMMI appraisals
that suggests an information need?
 Have our ongoing project has not been meeting their
delivery dates?
 Have other projects have not been able to meet the
functionality promises that were made?
 Have technical problems that have reached production
caused significant rework and customer dissatisfaction?
KI Measurement Pgm Starter Kit - 33Version 3.1© 2008 Kasse Initiatives, LLC
 The initial focus for measurement activities is at
the project level, however, a measurement
capability may prove useful for addressing
organization- and/or enterprise-wide information
needs.
 Measurement activities should support
information needs at multiple levels including
the business, organizational unit, and project to
minimize re-work as the organization matures.
Project, OrganizationProject, Organization
and Business Focusand Business Focus
KI Measurement Pgm Starter Kit - 34Version 3.1© 2008 Kasse Initiatives, LLC
 While establishing measurement objectives, a
project/organization should:
 Document the purposes for which measurement and analysis
is done
 Specify the kinds of actions that may be taken based on the
results of the data analyses
 Continually ask the question – what value will this
measurement be to those people who will be asked to supply
the raw measurement data and who will receive the analyzed
results – “Why are we measuring this?”
 Maintain traceability of the proposed measurement objectives
to the information needs and business objectives
 Ensure business objectives are developed with clear
“WHYs” this measure will support the business and
quality goals of the organization (SEE NOTES)
Establish Measurement ObjectivesEstablish Measurement Objectives
KI Measurement Pgm Starter Kit - 35Version 3.1© 2008 Kasse Initiatives, LLC
 Example Measurement Objectives for either the
organization and/or the project to start with
include:
 Reduce time to delivery based on historical data
indicating late delivery
 Deliver specified functionality by a specified
increased percentage
 Improve prior levels of quality
 Improve levels of profit
 Improve prior customer satisfaction ratings
Establish MeasurementEstablish Measurement
Objectives - 2Objectives - 2
KI Measurement Pgm Starter Kit - 36Version 3.1© 2008 Kasse Initiatives, LLC
 Example Measurement Objectives for either the
organization and/or the project with more
emphasis on quantitative measures include:
 Reduce time to delivery to a specified percentage
 Reduce total lifecycle costs of new products by a
percentage
 Deliver specified functionality by a specified increased
percentage
 Improve prior levels of quality by reducing the number
of defects of type A that get shipped with the product
 Improve prior customer satisfaction ratings by a
specified percentage compared to past ratings
 Refer to Organizational Process Performance SP 1.3
Establish MeasurementEstablish Measurement
Objectives - 3Objectives - 3
KI Measurement Pgm Starter Kit - 37Version 3.1© 2008 Kasse Initiatives, LLC
Project’s Measurement ObjectivesProject’s Measurement Objectives
Organization’s
Measurement
Objectives
Customer
Demands
Competition
Demands
New Technologies
Opportunities
Past Project
Quality Defects
Quality Goals
Project’s
Measurement
Objectives
Given
Inherited
KI Measurement Pgm Starter Kit - 38Version 3.1© 2008 Kasse Initiatives, LLC
 Project Managers should develop their project’s
measurement objectives from their individual information
needs – not one objective for all projects
 Reduce open problem reports that come from the field when the
product is released through more and better conducted
Inspections and formal Unit Testing
 Increase defect detection found earlier in the product and
system lifecycle through Systems Test in order to reduce the
“Time to Delivery”
 Increase the number of Peer Reviews in order to reduce the
number of defects of Type A that has been shipped in previous
releases
 Reduce the number of maintenance releases to the field
through detection and removal of an increased percentage of
Major defects that reduces bottom-line profit
 Decrease the defect density of components, products and
systems in order to “Reduce the Cost of Poor Quality
Example: Project’sExample: Project’s
Measurement ObjectivesMeasurement Objectives
KI Measurement Pgm Starter Kit - 39Version 3.1© 2008 Kasse Initiatives, LLC
Base & Derived MeasuresBase & Derived Measures
 Base Measure
 A distinct property or characteristic of an
entity and the method for quantifying it.
 Derived Measure
 Data resulting from the mathematical function
of two or more base measures.
KI Measurement Pgm Starter Kit - 40Version 3.1© 2008 Kasse Initiatives, LLC
 Examples of commonly used base measures
 Estimates and actual measures of work product size
 Estimates and actual measures of effort and cost
 Estimates and actuals of environment resources
Base MeasuresBase Measures
KI Measurement Pgm Starter Kit - 41Version 3.1© 2008 Kasse Initiatives, LLC
 Define how data can and will be derived from
other measures
 Data may be generated from derived measures
which are based on combinations of data that were
collected for the defined basic measures
 Derived measures typically are expressed as
ratios, composite indices, or other aggregate
summary measures
 Derived measures are often more quantitatively
reliable and meaningfully interpretable than the
base measures used to construct them
 Moving from attribute (ordinal or interval data) to
continuous or ratio data – SEE NEXT SLIDE!
Derived MeasuresDerived Measures
KI Measurement Pgm Starter Kit - 42Version 3.1© 2008 Kasse Initiatives, LLC
Data TypesData Types
Interval data that has an
absolute zero
Ratio
Productivity
Defect Density
Preparation Rate
Cycle Time
Size
Test Hours
Data measured on a scale
that has equal intervals
IntervalContinuous Data
Severity ratings
Priority ratings
Customer Satisfaction ratings
High, Medium, or Low ratings
Categories or buckets of
data with ordering
Ordinal
Defect types
Language types
Customers
Document types
Categories or buckets of
data with no ordering
NominalAttribute or Categorical Data
ExamplesDescriptionTypes of Data
From SEI Designing Products and Processes Using Six Sigma
Basic Statistics Reference - 4
KI Measurement Pgm Starter Kit - 43Version 3.1© 2008 Kasse Initiatives, LLC
 Examples of commonly used derived measures
 Earned Value (actual cost of work performed
compared to the budgeted cost of work performed)
 Schedule Performance Index
 Cost Performance Index
 Defect density (Defects per Thousand Lines of Code)
 Peer review coverage
 Test or verification coverage
 Usability
 Reliability measures (e.g., mean time to failure)
 Quality measures (e.g., number of defects by
severity/total number of defects)
Commonly UsedCommonly Used
Derived MeasuresDerived Measures
KI Measurement Pgm Starter Kit - 44Version 3.1© 2008 Kasse Initiatives, LLC
Specify Data Collection andSpecify Data Collection and
Storage ProceduresStorage Procedures
 Specify how to collect and store the data for
each required measure
 Make explicit specifications of how, where, and
when the data will be collected
 Develop procedures for ensuring that the data
collected is valid data
 Ensure that the data is stored such that it is easily
accessed, retrieved, and restored as needed
KI Measurement Pgm Starter Kit - 45Version 3.1© 2008 Kasse Initiatives, LLC
Specify Analysis ProceduresSpecify Analysis Procedures
 Define the analysis procedures in advance
 Ensure that the results that will be fed back are
understandable and easily interpretable
 Collecting data for the sake of showing an assessor
the data is worthless
 Showing how it can be used to manage and control
the project is what counts
KI Measurement Pgm Starter Kit - 46Version 3.1© 2008 Kasse Initiatives, LLC
Specify Analysis Procedures - 2Specify Analysis Procedures - 2
Visual Display and Other Presentation Techniques
Bar Charts
Pie Charts
Radar Charts (Kiviat Diagrams)
Line Graphs
Scatter Diagrams
Check Lists
Interrelationship Diagraphs
SEE Examples of Techniques in Quantitative Management Section
KI Measurement Pgm Starter Kit - 47Version 3.1© 2008 Kasse Initiatives, LLC
Specify Analysis Procedures - 3Specify Analysis Procedures - 3
 Descriptive Statistics
 Mean (Average)
 Median
 Mode
 Distributions
 Central Tendency
 Extent of Variation
KI Measurement Pgm Starter Kit - 48Version 3.1© 2008 Kasse Initiatives, LLC
X
X X X
X
Data points vary, but as the data accumulates, it forms a distribution which occurs naturally.
Location Spread Shape
Distributions can vary in:
PROBABILITY DISTRIBUTIONS,
WHERE DO THEY COME FROM?
KI Measurement Pgm Starter Kit - 49Version 3.1© 2008 Kasse Initiatives, LLC
CollectCollect
Measurement DataMeasurement Data
 Collect the measurement data as defined, at the
points in the process that were agreed to,
according to the time scale established
 Generate data for derived measures
 Perform integrity checks as close to the source
of the data as possible
KI Measurement Pgm Starter Kit - 50Version 3.1© 2008 Kasse Initiatives, LLC
Analyze the Measurement DataAnalyze the Measurement Data
 Conduct the initial analyses
 Interpret the results and make preliminary conclusions
from explicitly stated criteria
 Conduct additional measurement and analyses
passes as necessary to gain confidence in the results
 Review the initial results with all stakeholders
 Prevents misunderstandings and rework
 Improve measurement definitions, data collection
procedures, analyses techniques as needed to ensure
meaningful results that support business objectives
KI Measurement Pgm Starter Kit - 51Version 3.1© 2008 Kasse Initiatives, LLC
Store the Measurement DataStore the Measurement Data
and Analyses Resultsand Analyses Results
 The stored information should contain or
reference the information needed to:
 Understand the measures
 Assess them for reasonableness and applicability
 The stored information should also:
 Enable the timely and cost effective future use of the
historical data and results
 Provide sufficient context for interpretation of the
data, measurement criteria, and analyses results
KI Measurement Pgm Starter Kit - 52Version 3.1© 2008 Kasse Initiatives, LLC
Communicate theCommunicate the
Measurement ResultsMeasurement Results
 Keep the relevant stakeholders up-to-date
about measurement results on a timely basis
 Follow up with those who need to know the
results
 Increases the likelihood that the reports will be used
 Assist the relevant stakeholders in
understanding and interpreting the
measurement results
KI Measurement Pgm Starter Kit - 53Version 3.1© 2008 Kasse Initiatives, LLC
Measurement and AnalysisMeasurement and Analysis
GroupGroup
 Consider creating a measurement group that is
responsible for supporting the Measurement
and Analysis activities of multiple projects
 Typically the measurement group will support the
definition, collection, analysis, and presentation of
measures that address these measurement
objectives and support project estimation and
tracking
KI Measurement Pgm Starter Kit - 54Version 3.1© 2008 Kasse Initiatives, LLC
Measurement and AnalysisMeasurement and Analysis
ToolsTools
 Incorporate tools used in performing
Measurement and Analysis activities such as:
 Statistical packages
 Database packages
 Spreadsheet programs
 Graphical or Visualization packages
 Packages that support data collection over networks
and the internet
KI Measurement Pgm Starter Kit - 55Version 3.1© 2008 Kasse Initiatives, LLC
Measurement and AnalysisMeasurement and Analysis
TrainingTraining
 Provide training to all people who will perform or
support the Measurement and Analysis process
 Data collection, analyses, and reporting processes
 Measurement tools
 Goal-Question-Metric Paradigm
 How to establish measures
how to determine efficiency and effectiveness
 Quality factors measures (e.g., maintainability,
expandability)
 Basic and advanced statistical techniques
KI Measurement Pgm Starter Kit - 56Version 3.1© 2008 Kasse Initiatives, LLC
Exercise 2Exercise 2
 In small teams, write down what you think the
organization’s Vision, Business Objectives and
Measurement Objectives are
 Compare the responses from each small team
KI Measurement Pgm Starter Kit - 57Version 3.1© 2008 Kasse Initiatives, LLC
Basic MeasuresBasic Measures
KI Measurement Pgm Starter Kit - 58Version 3.1© 2008 Kasse Initiatives, LLC
Basic MeasuresBasic Measures
 Estimate Size and/or Complexity - a relative
level of difficulty or complexity should be
assigned for each size attribute
 Examples of attributes to estimate for Systems
Engineering include:
 Number of logic gates
 Number of interfaces
 Examples of size measurements for Software
Engineering include:
 Function Points
 Lines of Code
 Number of requirements
KI Measurement Pgm Starter Kit - 59Version 3.1© 2008 Kasse Initiatives, LLC
Basic Measures - 2Basic Measures - 2
 Determine effort and cost
 Historical data or models are applied to planning parameters to
determine the project effort and cost based on the size and
complexity estimations
 Scaling data should also be applied to account for differing
sizes and complexity
 Establish the project’s schedule based on the size and
complexity estimations
 Include, or at least consider, infrastructure needs such
as critical computer resources
 Identify risks associated with the cost, resources,
schedule, and technical aspects of the project
 Control data (various forms of documentation) required
to support a project in all of its areas.
KI Measurement Pgm Starter Kit - 60Version 3.1© 2008 Kasse Initiatives, LLC
Basic Measures – 3Basic Measures – 3
 Identify the knowledge and skills needed to
perform the project according to the estimates
 Select and implement methods for providing the
necessary knowledge and skills
 Training (Internal and External)
 Mentoring
 Coaching
 On-the-job application of learned skills
 Monitor staffing needs – based on effort
required and the necessary knowledge and
skills to achieve the defined tasks
KI Measurement Pgm Starter Kit - 61Version 3.1© 2008 Kasse Initiatives, LLC
Staff Size
(Labor Category)
(Experience)
Months
2 4 6 8 10 12 14 16 18 20 22 24 26
Total
Lost
Added
Project Staff TurnoverProject Staff Turnover
KI Measurement Pgm Starter Kit - 62Version 3.1© 2008 Kasse Initiatives, LLC
Basic Measures - 4Basic Measures - 4
 Involve relevant stakeholders throughout the
product lifecycle
 Track technical performance (Completion of
activities and milestones against the
schedule Example:
 Product components designed, constructed, unit
tested and integrated
 Compare actual milestones completed vs.
established commitments
 Monitor commitments and critical dependencies
against those documented in the project plan
KI Measurement Pgm Starter Kit - 63Version 3.1© 2008 Kasse Initiatives, LLC
Basic Measures - 5Basic Measures - 5
 Track quality – Problems/Defects (open/closed
by product/activity)
 Problems and defects are direct contributors to the
amount of rework that must be performed—a
significant cost factor in development and
maintenance
KI Measurement Pgm Starter Kit - 64Version 3.1© 2008 Kasse Initiatives, LLC
Basic Measures - 6Basic Measures - 6
 The number and frequency of problems and
defects in a product are inversely proportional
to its quality
 Problems and defects are among the few direct
measures of processes and products
 Tracking them provides objective insight into
trends in discovery rates, repairs, process and
product issues, and responsiveness to
customers
 The measures also provide the foundation for
quantifying several of the quality attributes —
maintainability, expandability, reliability,
correctness, completeness
KI Measurement Pgm Starter Kit - 65Version 3.1© 2008 Kasse Initiatives, LLC
Basic Measures - 7Basic Measures - 7
 Problems and defects are direct contributors to
the amount of rework that must be performed—
a significant cost factor in development and
maintenance
 Knowledge of where and how the
problems/defects occur will support
improvement in methods of detection,
prevention, and prediction—all of which will
improve cost control
KI Measurement Pgm Starter Kit - 66Version 3.1© 2008 Kasse Initiatives, LLC
Exercise 3Exercise 3
 As a class, develop a definition of rework
KI Measurement Pgm Starter Kit - 67Version 3.1© 2008 Kasse Initiatives, LLC
Effectiveness ofEffectiveness of
ProcessesProcesses
KI Measurement Pgm Starter Kit - 68Version 3.1© 2008 Kasse Initiatives, LLC
Effectiveness of ProcessesEffectiveness of Processes
 In addition to defining the processes that we
wish to follow on our project, we need to ensure
we are following them and we should be able to
determine if the processes are working for us
the way we expected them to
 How well are the processes working?
KI Measurement Pgm Starter Kit - 69Version 3.1© 2008 Kasse Initiatives, LLC
Efficiency and EffectivenessEfficiency and Effectiveness
Measures for RequirementsMeasures for Requirements
 Number of change requests per month
compared with the original number of
requirements for the project
 Critical change requests
 Intermediate change requests
 Nice to have change requests
 Time spent on change requests up until a Y/N
decision is given from the Senior Contract
group
 Number and size of critical change requests
that arise after the requirements phase has
been completed
KI Measurement Pgm Starter Kit - 70Version 3.1© 2008 Kasse Initiatives, LLC
Efficiency and EffectivenessEfficiency and Effectiveness
Measures for Requirements - 2Measures for Requirements - 2
 Impact of the change requests on project
progress - effort spent on the change requests
versus the amount of effort to execute the
original project
 Actual cost of processing a change request
compared with budgeted or predicted costs
 Actually make the change
 Filling in the forms
 Impact Analysis
 Authorization
 Replanning
KI Measurement Pgm Starter Kit - 71Version 3.1© 2008 Kasse Initiatives, LLC
Efficiency and EffectivenessEfficiency and Effectiveness
Measures for Requirements - 3Measures for Requirements - 3
 Rescheduling
 Re-negotiating commitments
 SQA effort
 SCM effort
 Test effort
 Number of change requests accepted versus
the total number of change requests during the
project’s lifetime
 Number of change requests accepted but not
implemented in a given time frame
KI Measurement Pgm Starter Kit - 72Version 3.1© 2008 Kasse Initiatives, LLC
Set of StandardSet of Standard
OrganizationalOrganizational
ProcessesProcesses
KI Measurement Pgm Starter Kit - 73Version 3.1© 2008 Kasse Initiatives, LLC
Importance of an OrganizationalImportance of an Organizational
View of ProcessesView of Processes
 Builds a common vocabulary
 Allows others to anticipate behavior and be
more proactive in their interactions
 Allows the organization to measure a controlled
set of processes to gain economy of scale
 Trends can be seen and predictability can be
achieved
 Process performance baselines can be
developed to support quantitative management
later
KI Measurement Pgm Starter Kit - 74Version 3.1© 2008 Kasse Initiatives, LLC
Organizational MeasurementOrganizational Measurement
RepositoryRepository
 Develop an organization measurement
repository - include:
 Product and process measures that are related to
the organization’s set of standard processes
 The related information needed to understand
and interpret the measurement data and asses it
for reasonableness and applicability
 Develop operational definitions for the
measures to specify the point in the process
where the data will be collected and for the
procedures for collecting valid data
KI Measurement Pgm Starter Kit - 75Version 3.1© 2008 Kasse Initiatives, LLC
Organizational MeasurementOrganizational Measurement
Repository - 2Repository - 2
 Examples of classes of commonly used
measures include:
 Size of work products (lines of code, function or
feature points, complexity)
 Effort and cost
 Actual measures of size, effort, and cost
 Quality measures
 Work product inspection coverage
 Test or verification coverage
 Reliability measures
KI Measurement Pgm Starter Kit - 76Version 3.1© 2008 Kasse Initiatives, LLC
Slightly MoreSlightly More
Advanced MeasuresAdvanced Measures
KI Measurement Pgm Starter Kit - 77Version 3.1© 2008 Kasse Initiatives, LLC
Peer ReviewsPeer Reviews
KI Measurement Pgm Starter Kit - 78Version 3.1© 2008 Kasse Initiatives, LLC
Defect TypesDefect Types
 A Major defect is one that could cause a failure or
unexpected result if uncorrected.
 For documents it is major if it could cause the user to make a
mistake.
 A Major Defect can have a negative impact on factors
such as:
 Cost
 Schedule
 Performance
 Quality
 Risk
 Customer Satisfaction
 Each organization must define for itself what a
major defect is in relation to Inspections and
Structured Walkthroughs
KI Measurement Pgm Starter Kit - 79Version 3.1© 2008 Kasse Initiatives, LLC
Defect Types - 2Defect Types - 2
 A Minor defect is one that won’t cause a failure
or unexpected result if uncorrected.
 Economically and/or strategically unimportant
to the organization
 No serious impact to the product
 Inconsistency in format
 Spelling or grammar in a project plan
KI Measurement Pgm Starter Kit - 80Version 3.1© 2008 Kasse Initiatives, LLC
Defect CorrectionDefect Correction
 A defect may be identified as Minor and turn out
to be Major
 Identify and correct Major defects FIRST, to
ensure the highest return of error correction
 Inspection should be used to increase the
probability that all of the defects are identified
and corrected to produce the highest quality
product
KI Measurement Pgm Starter Kit - 81Version 3.1© 2008 Kasse Initiatives, LLC
Defect ClassificationDefect Classification
 Once a defect is identified as Major or Minor, it
should be classified
 Categorizes the defect
 Provides the rationale for determining if a defect
exists
 Stratifies the defect data collected for better trend
analysis, causal analysis and process improvement
KI Measurement Pgm Starter Kit - 82Version 3.1© 2008 Kasse Initiatives, LLC
Classification ExamplesClassification Examples
 Logic (LO) – Some aspect of logic was omitted
or implemented incorrectly in the product
 Duplicate Logic
 Extreme Conditions Neglected
 Unnecessary Function
 Missing Condition Test
 Computational Problem (CP) – Some aspect of
an algorithm was incorrectly coded
 Interface (IF) – Some aspect of the software or
hardware interfaces does not function properly
 Example: Interface defects between two programs,
between two systems, or the interface between a
user and the system
KI Measurement Pgm Starter Kit - 83Version 3.1© 2008 Kasse Initiatives, LLC
Classification Examples - 2Classification Examples - 2
 Data Handling Problem (DH) – Some aspect of
data manipulation was handled incorrectly
 Quality Factors (QF) – Quality factors such as
reliability, maintainability, expandability or
interoperability are not defined or defined
incorrectly
 Verification and validation activities will not be able
to show the system exhibits the quality
characteristics that are required
 Process Failure (PF) – This defect is a direct
result of a failure in the product development
process
KI Measurement Pgm Starter Kit - 84Version 3.1© 2008 Kasse Initiatives, LLC
Classification Examples - 3Classification Examples - 3
 Ambiguous (AM) – The statement can be
interpreted to mean more than one thing
 Requirements or specifications have uncertain or
multiple interpretations
 Incomplete Item (IC) – The statement or
description does not seem to consider all
aspects of the situation it attempts to describe
 Incorrect Item (IT) – The statement or
description is incorrect
 Missing Item (MI) – The statement or
description that must be included in the
document is missing
KI Measurement Pgm Starter Kit - 85Version 3.1© 2008 Kasse Initiatives, LLC
Classification Examples - 4Classification Examples - 4
 Conflicting Items (CF) – Two or more
statements or descriptions conflict or contradict
each other.
 Redundant Items (RD) – The statement
repeats another statement and detracts from
clarity rather than enhancing it
 Illogical Item (IL) – The statement does not
make sense in reference to other statements
within the same document or other documents
to which it refers
 Non-Verifiable Item (NV) – The statement
(usually a requirement) or functional
description cannot be verified by any
reasonable testing method
KI Measurement Pgm Starter Kit - 86Version 3.1© 2008 Kasse Initiatives, LLC
Classification Examples - 5Classification Examples - 5
 Unachievable Item (UA) – The statement
cannot be true in the reasonable lifetime of the
product
 Interoperability Problem (IP) – The product or
product component is not compatible with other
system products or product components
 Standards Conformance Problem (ST) – The
product or product component does not
conform to a standard, where conformance to a
particular standard is specified in the
requirements
KI Measurement Pgm Starter Kit - 87Version 3.1© 2008 Kasse Initiatives, LLC
Peer ReviewPeer Review
MeasuresMeasures
 Optimum Checking Rate (e.g., Number of
pages to be checked per hour)
 Logging Rate (e.g., Number of major and
defects logged per hour)
 Number of Major and Minor Defects
 Effectiveness - Number of Major Defects
found in this stage compared to the total
number of defects found so far
KI Measurement Pgm Starter Kit - 88Version 3.1© 2008 Kasse Initiatives, LLC
Peer ReviewPeer Review
Measures - 2Measures - 2
 Correct-Fix Rate – the percentage of edit
correction attempts which correctly fix a defect
and do not introduce any new defects
 Default: 83% five out of six correction attempts
 Fix-Fail-Rate – the percentage of edit correction
attempts which either fail to correct the defect or
introduce a new defect
 Default: 17% one out of six correction attempts
KI Measurement Pgm Starter Kit - 89Version 3.1© 2008 Kasse Initiatives, LLC
TestingTesting
KI Measurement Pgm Starter Kit - 90Version 3.1© 2008 Kasse Initiatives, LLC
Defects Discovered DuringDefects Discovered During
TestingTesting
 Effectiveness - Number of Major defects found
in a particular testing phase or instantiation of a
testing phase compared to the total number of
defects found during testing
 Number of defects projected to escape from the
current testing phase
KI Measurement Pgm Starter Kit - 91Version 3.1© 2008 Kasse Initiatives, LLC
TestTest
CoverageCoverage
KI Measurement Pgm Starter Kit - 92Version 3.1© 2008 Kasse Initiatives, LLC
Test Coverage TerminologyTest Coverage Terminology
 Code coverage analysis is the process of
 Finding areas of a program not exercised by a set of
test cases
 Creating additional test cases to increase coverage
 Determining a quantitative measure of code
coverage, which is an indirect measure of quality
 Code coverage analysis is sometimes called
test coverage analysis
 The terms are most often shortened to simple
code coverage or test coverage
KI Measurement Pgm Starter Kit - 93Version 3.1© 2008 Kasse Initiatives, LLC
Statement CoverageStatement Coverage
 Statement coverage measures whether each
executable statement is encountered
 Block coverage is the same as statement
coverage except that the unit of code measured
is each sequence of non-branching statements
KI Measurement Pgm Starter Kit - 94Version 3.1© 2008 Kasse Initiatives, LLC
Statement Coverage - 2Statement Coverage - 2
 Do-While loops are considered the same as
non-branching statements
 Statement coverage is completely insensitive
to the logical operators (| | and &&)
 Statement coverage cannot distinguish
consecutive “switch” labels
KI Measurement Pgm Starter Kit - 95Version 3.1© 2008 Kasse Initiatives, LLC
Decision CoverageDecision Coverage
 Decision coverage measures whether boolean
expressions tested in control structures (such
as if-statements or while-statements) evaluated
to both true and false
 The entire boolean expression is considered one
true-or-false predicate regardless of whether it
contains logical “and” or logical “or” operators
 A disadvantage of decision coverage is that this
measure branches within boolean expressions
which occur due to short-circuit operators
KI Measurement Pgm Starter Kit - 96Version 3.1© 2008 Kasse Initiatives, LLC
Decision Coverage - 2Decision Coverage - 2
If ( condition1 && (condition2 | | function1()))
statement1;
Else
statement2;
This measure could consider the control structure
completely exercised without a call to function1
The test expression is true when condition1 is true and
condition2 is true
The test expression is false when condition1 is false
The short circuit operators preclude a call to function1
KI Measurement Pgm Starter Kit - 97Version 3.1© 2008 Kasse Initiatives, LLC
Condition CoverageCondition Coverage
 Condition coverage measures the true or false
outcome of each boolean sub-expression
 Condition coverage is similar to decision
coverage but has better sensitivity to the control
flow
 However, full condition coverage does not
guarantee full decision coverage
KI Measurement Pgm Starter Kit - 98Version 3.1© 2008 Kasse Initiatives, LLC
Condition Coverage - 2Condition Coverage - 2
Bool f(bool e) {return false;}
Bool a[2] = {false, false};
If (f(a && b)) ….
If (a [int (a && b) ] ) …
If ((a && b) ? False : False) …
All three of the if-statements above branch false
regardless of the values of a and b
However, if you exercise this code with a and b
having all possible combinations of values,
condition coverage reports full coverage
KI Measurement Pgm Starter Kit - 99Version 3.1© 2008 Kasse Initiatives, LLC
Multiple Condition CoverageMultiple Condition Coverage
 Multiple condition coverage measures whether
every possible combination of boolean
subexpression occurs
 For languages with short circuit operators such
as C, C++, and Java, an advantage of multiple
condition coverage is that it requires very
thorough testing
 Multiple condition testing is similar to condition
testing
KI Measurement Pgm Starter Kit - 100Version 3.1© 2008 Kasse Initiatives, LLC
Multiple Condition Coverage - 2Multiple Condition Coverage - 2
 A disadvantage of this measure is that is can
be difficult to determine the minimum set of test
cases required
 This measure could also required a varied
number of test cases among conditions that
have similar complexity
a && b && (c | | (d && e))
((a | | b) && (c | | d) ) && e
To achieve full multiple condition coverage, the
first condition requires 6 test cases while the
second condition requires 11 test cases
KI Measurement Pgm Starter Kit - 101Version 3.1© 2008 Kasse Initiatives, LLC
Path CoveragePath Coverage
 Path coverage measures whether each of the
possible paths in each function have been
followed
 A path is a unique sequence of branches from the
function entry to the exit
 Possible combinations of logical conditions
 Loops introduce an unbounded number of paths
 Boundary-interior path testing considers two
possibilities for loops – zero repetitions and more
than zero
 Do-While loops consider two possibilities also – one
iteration and more than one iteration
KI Measurement Pgm Starter Kit - 102Version 3.1© 2008 Kasse Initiatives, LLC
Path Coverage - 2Path Coverage - 2
 Path coverage has the advantage of requiring
very thorough testing
 Path coverage has two disadvantages:
 The number of paths is exponential to the number of
branches – a function containing 10 if-statements
has 1024 paths to test – adding one more doubles
the count to 2048
 Many paths are impossible to exercise due to
relationships of data
KI Measurement Pgm Starter Kit - 103Version 3.1© 2008 Kasse Initiatives, LLC
Exercise 4Exercise 4
 In small team come up with some workable
definitions of “Effectiveness of Processes” for:
 Configuration Management
 Supplier Management
 Quality Assurance
 Product Integration
KI Measurement Pgm Starter Kit - 104Version 3.1© 2008 Kasse Initiatives, LLC
Quality Factors,Quality Factors,
Quality Criteria,Quality Criteria,
andand
Quality MetricsQuality Metrics
KI Measurement Pgm Starter Kit - 105Version 3.1© 2008 Kasse Initiatives, LLC
User oriented view of
an aspect of product
quality
Software oriented
characteristics or
indicate
quality attributes
Quantitative measures
of characteristics
FACTOR
CRITERIONCRITERIONCRITERION
METRIC METRICMETRIC
Software Quality MetricsSoftware Quality Metrics
 Software Quality is described through a number of
factors (reliability, maintainability)
 Each factor has several attributes that describe it called
criteria
 Each criterion has associated with it several metrics
which taken together quantify the criterion
KI Measurement Pgm Starter Kit - 106Version 3.1© 2008 Kasse Initiatives, LLC
Correctness......................................Does the software comply with the requirements?
Efficiency..........................................How much resource is needed?
Expandability................................... How easy is it to expand the software?
Flexibility.......................................... How easy is it to change it?
Integrity.............................................How secure is it?
Interoperability.................................Does it interface easily?
Manageability...................................Is it easily managed?
Maintainability..................................How easy is it to repair?
Portability......................................... How easy is it to transport?
Usability............................................How easy is it to use?
Reliability..........................................How often will it fail?
Reusability........................................Is it reusable in other systems?
Safety................................................Does it prevent hazards?
Survivability..................................... Can it survive during failure?
Verifiability....................................... Is performance verification easy?
Software Quality
The “Ilities” of Software QualityThe “Ilities” of Software Quality
KI Measurement Pgm Starter Kit - 107Version 3.1© 2008 Kasse Initiatives, LLC
User’s Need for SoftwareUser’s Need for Software
QualityQuality
User’s Needs User’s Concerns Quality Factors
Functional
Performance
Change
Management
How secure is it?
How often will it fail?
Can it survive during failure
How easy is it to use?
How much is needed in the way of resources?
Does it comply with requirements?
Does it prevent hazards?
Does it interface easily?
How easy is it to repair?
How easy is it to expand?
How easy is it to change?
How easy is it to transport?
Is it reusable in other systems?
Is performance verification easy?
Is the software easily managed?
INTEGRITY
RELIABILITY
SURVIVABILITY
USABILITY
EFFICIENCY
CORRECTNESS
SAFETY
INTEROPERABILITY
MAINTAINABILITY
EXPANDABILITY
FLEXIBILITY
PORTABILITY
REUSABILITY
VERIFIABILITY
MANAGEABILITY
KI Measurement Pgm Starter Kit - 108Version 3.1© 2008 Kasse Initiatives, LLC
Software QualitySoftware Quality
FactorsFactors
KI Measurement Pgm Starter Kit - 109Version 3.1© 2008 Kasse Initiatives, LLC
Quality FactorsQuality Factors
Correctness
Efficiency
Expandability
Flexibility
Integrity
Interoperability
Maintainability
Manageability
 Portability
 Reliability
 Reusability
 Safety
 Survivability
 Usability
 Verifiability
KI Measurement Pgm Starter Kit - 110Version 3.1© 2008 Kasse Initiatives, LLC
Expandability
Modularity
Augmentability
Modularity Simplicity
Self -
Descriptiveness
Support
Generality
ExpandabilityExpandability
 Expandability deals with the aspects of software
maintenance, that is increasing the software’s
functionality or performance to meet new needs
 Adding a new type of deduction to an existing payroll
program
 Adding an interface to a new sensor
KI Measurement Pgm Starter Kit - 111Version 3.1© 2008 Kasse Initiatives, LLC
Expandability - 2Expandability - 2
 Fitness for use regarding expandability means
that the software was built to be open ended
making it easy to modify it to add new
capabilities
KI Measurement Pgm Starter Kit - 112Version 3.1© 2008 Kasse Initiatives, LLC
Maintainability
Modularity
Completeness
Consistency Simplicity
Self
Descriptiveness
Traceability
Visibility
Modularity
MaintainabilityMaintainability
 Maintainability deals with the ease of finding and fixing
errors
 Fitness for use regarding maintainability means that the
software is productive through the maintenance
lifecycle, covering error detection through the issue of a
new release
KI Measurement Pgm Starter Kit - 113Version 3.1© 2008 Kasse Initiatives, LLC
Portability
ModularityIndependence Support
Modularity Self
Descriptiveness
PortabilityPortability
 Portability deals with transporting the software
to execute on a host processor or operating
system different from the one for which it was
designed
 Recompiling a FORTRAN program on a different
computer
 Changing the operating system of an existing
computer
KI Measurement Pgm Starter Kit - 114Version 3.1© 2008 Kasse Initiatives, LLC
Portability - 2Portability - 2
 Fitness for use regarding portability means that
the software may be used on several different
operating systems or computers
KI Measurement Pgm Starter Kit - 115Version 3.1© 2008 Kasse Initiatives, LLC
Usability
Operability Training
UsabilityUsability
 Usability deals with the initial effort required to
learn, and the recurring effort to use the
functionality of the system
KI Measurement Pgm Starter Kit - 116Version 3.1© 2008 Kasse Initiatives, LLC
Usability - 2Usability - 2
 Usability can be enhanced or degraded by:
 The naturalness of the user interface
 The readability of documentation
 The number of keystrokes required for a given
command
 Fitness for use regarding usability means that
the software is easier to use than not to use
KI Measurement Pgm Starter Kit - 117Version 3.1© 2008 Kasse Initiatives, LLC
Quality CriteriaQuality Criteria
KI Measurement Pgm Starter Kit - 118Version 3.1© 2008 Kasse Initiatives, LLC
Quality CriteriaQuality Criteria
 Accuracy Achieving required precision in
calculations and outputs
 Anomaly Management Nondisruptive failure recovery
 Augmentability Ease of expansion in
functionality and data
 Autonomy Degree of decoupling from
execution environment
 Commonality Use of standards to achieve
interoperability
 Completeness All software is necessary and
sufficient
 Consistency Use of standards to achieve
uniformity
 Distributivity Geographical separation of
functions and data
KI Measurement Pgm Starter Kit - 119Version 3.1© 2008 Kasse Initiatives, LLC
Quality Criteria - 2Quality Criteria - 2
 Document Quality Access to complete
understandable information
 Efficiency of Comm. Economic use of
communication resources
 Efficiency of Processing Economic use of processing
resources
 Efficiency of Storage Economic use of storage
resources
 Functional Scope Range of applicability of a
function
 Generality Range of applicability of a
unit
 Independence Degree of decoupling from
support environment
 Modularity Orderliness of design and
Implementation
KI Measurement Pgm Starter Kit - 120Version 3.1© 2008 Kasse Initiatives, LLC
Quality Criteria - 3Quality Criteria - 3
 Operability Ease of operating the software
 Safety Management Software design to avoid hazards
 Self-descriptiveness Understandability of design and
source code
 Simplicity Straightforward implementation of
functions
 Support Functionality supporting the
management of changes
 System accessibility Controlled access to software
and data
 System compatibility Ability of two or more systems to
work in harmony
KI Measurement Pgm Starter Kit - 121Version 3.1© 2008 Kasse Initiatives, LLC
Quality Criteria - 4Quality Criteria - 4
 Traceability Ease of relating code to
requirements and
vice versa
 Training Provisions to learn how to use
the software
 Virtuality Logical implementation to
represent physical
components
 Visibility Insight into validity and
progress of development
KI Measurement Pgm Starter Kit - 122Version 3.1© 2008 Kasse Initiatives, LLC
Anomaly ManagementAnomaly Management
 The software is said to have Anomaly
Management built in if it can detect and recover
from such error conditions rather than disrupting
processing or halting
 The software should be designed for
survivability when faced with software or
hardware failure
KI Measurement Pgm Starter Kit - 123Version 3.1© 2008 Kasse Initiatives, LLC
Anomaly Management - 2Anomaly Management - 2
 Anomaly Management includes detection and
containment of, and recovery from:
 Improper input data
 Computational failures
 Hardware faults
 Device failures
 Communication errors
 Suggestions and questions for achieving
required levels of anomaly management:
 Does a documented requirements statement exist for
the error tolerance of input data?
KI Measurement Pgm Starter Kit - 124Version 3.1© 2008 Kasse Initiatives, LLC
Anomaly Management - 3Anomaly Management - 3
 Is there a range for input values and is this checked?
 Are conflicting requests and illegal combinations
identified and checked?
 Is all input data available for processing and is it
checked before processing is begun?
 Is there a requirement for recovery from
computational failures?
 Are there alternative means to continue execution in
the presence of errors?
KI Measurement Pgm Starter Kit - 125Version 3.1© 2008 Kasse Initiatives, LLC
Anomaly Management - 4Anomaly Management - 4
 Are loops and multiple index parameters range
tested before use?
 Are subscripts checked?
 Are critical output parameters checked before
processing?
 Is error checking information included in
communications messages?
 Do alternate communication routes exist in case
of failure of the main path?
KI Measurement Pgm Starter Kit - 126Version 3.1© 2008 Kasse Initiatives, LLC
Quality MetricsQuality Metrics
KI Measurement Pgm Starter Kit - 127Version 3.1© 2008 Kasse Initiatives, LLC
Quality Metrics ExamplesQuality Metrics Examples
(Reliability)(Reliability)
 Reliability
 Accuracy checks to see that the results produced by
software is within required accuracy tolerances
Do mathematical libraries exist for all
mathematical calculations to achieve the precision
requirements?
Count the number of different data representations
- the lower the count, the higher the probability of
achieving accuracy
Count the number of data representation
conversions - the lower the count, the higher the
probability of achieving accuracy
KI Measurement Pgm Starter Kit - 128Version 3.1© 2008 Kasse Initiatives, LLC
Quality Metrics ExamplesQuality Metrics Examples
(Reliability) -(Reliability) - 22
 Reliability
 Anomaly Management checks if the system can
detect and recover from error conditions rather than
disrupting processing or halting?
determine if all input values accepted by a module
has a range of accepted values and if this is
checked before further processing
determine if all loop parameters are range tested
before execution
Do alternate communication paths exist in case of
failure of the main path?
KI Measurement Pgm Starter Kit - 129Version 3.1© 2008 Kasse Initiatives, LLC
Quality Metrics ExamplesQuality Metrics Examples
(Reliability)(Reliability) - 3- 3
 Reliability - continued
 Simplicity can be measured using
McCabe’s cyclomatic complexity
counting minimum number of statements per
module, minimum number of module interfaces,
etc.
counting the number of Go To's
counting nesting levels beyond three
 A simple metric is to assess the number of errors per
delivered lines of code
KI Measurement Pgm Starter Kit - 130Version 3.1© 2008 Kasse Initiatives, LLC
Quality Metrics ExamplesQuality Metrics Examples
(Portability)(Portability)
 Portability
 Independence
count number of references to underlying
operating system
count number of expressions dependent on word
size
count number of calls to software system library
routines
KI Measurement Pgm Starter Kit - 131Version 3.1© 2008 Kasse Initiatives, LLC
Quality Metrics ExamplesQuality Metrics Examples
(Portability)(Portability) - 2- 2
 Portability - continued
 Modularity
count number of times local data is accessed from
outside the module where it resides
count number of times output data is not returned
to the calling unit
count number of times that units are not
separately compilable
KI Measurement Pgm Starter Kit - 132Version 3.1© 2008 Kasse Initiatives, LLC
Quality Metrics ExamplesQuality Metrics Examples
(Portability)(Portability) - 3- 3
 Portability - continued
 Self-descriptiveness
count the number of modules that are written
according to organization standards
examine the comments on global data definitions -
count deviations from standards
count the number of decision points and transfers
of control that do not have comments provided
count the number of Block and Indentation
Guidelines that have been violated
KI Measurement Pgm Starter Kit - 133Version 3.1© 2008 Kasse Initiatives, LLC
Quality Metrics ExamplesQuality Metrics Examples
(Portability)(Portability) - 4- 4
 Portability - continued
 Support
count the number of trouble reports closed before
Delivery
count how many modules are able to be tested
through automated testing techniques
Does a reuse library exist?
count the number or percentage of modules in the
library that are reused
Does a database of test software exist?
KI Measurement Pgm Starter Kit - 134Version 3.1© 2008 Kasse Initiatives, LLC
Quantitative ProjectQuantitative Project
ManagementManagement
KI Measurement Pgm Starter Kit - 135Version 3.1© 2008 Kasse Initiatives, LLC
When higher degrees of quality and
performance are demanded, the organization
and projects must determine if they have the
ability to improve the necessary processes to
satisfy the increased demands
Achieving the necessary quality and process
performance objectives requires stabilizing
the processes or subprocesses that
contribute most to the achievement of the
objectives
Assuming the technical requirements can be
met, the next decision is to determine if it is
cost effective
QuantitativeQuantitative
Management ConceptsManagement Concepts
KI Measurement Pgm Starter Kit - 136Version 3.1© 2008 Kasse Initiatives, LLC
Path to Maturity Level 4Path to Maturity Level 4
KI Measurement Pgm Starter Kit - 137Version 3.1© 2008 Kasse Initiatives, LLC
Why Is Early Consideration ofWhy Is Early Consideration of
Quantitative ManagementQuantitative Management
Important?Important?
 Measurements needed for performing
quantitative management may (or may not) be
different from measurements needed for
analysis performed with defined processes
 To perform quantitative management, analysis
of a history of measurement data is required
 Delaying consideration of measurement needs
for quantitative management will impact the
existing measurement program
KI Measurement Pgm Starter Kit - 145Version 3.1© 2008 Kasse Initiatives, LLC
Selecting the SubprocessesSelecting the Subprocesses
To Be Statistically ManagedTo Be Statistically Managed
 Criteria should be established to identify which
subprocesses are the main contributors to
achieving the identified quality and process
performance objectives and for which predictable
performance is important
 Identify the product and process attributes of the
selected subprocesses that will be measured and
controlled
 Defect density
 Cycle time
 Test coverage
KI Measurement Pgm Starter Kit - 146Version 3.1© 2008 Kasse Initiatives, LLC
Understanding VariationUnderstanding Variation
Understanding Variation
The Key to Managing Chaos
Donald J. Wheeler, SPC Press, 2000
KI Measurement Pgm Starter Kit - 147Version 3.1© 2008 Kasse Initiatives, LLC
Understanding VariationUnderstanding Variation
 Understanding variation is achieved by
collecting and analyzing process and product
measures so that special causes of variation
can be identified and addressed to achieve
predictable performance
 All characteristics of processes and products
display variation when measured over time
 Variation may be due to
 Natural or common causes
 Special or “assignable” causes of variation
 Understanding and controlling variation is the
essence of CMMI Maturity L4 & L5
KI Measurement Pgm Starter Kit - 148Version 3.1© 2008 Kasse Initiatives, LLC
Common Causes of VariationCommon Causes of Variation
 Common causes of variation
 Variation in process performance due to normal
interaction among the process components (people,
machines, material, environment, and methods)
 Characterized by a stable and consistent pattern of
measured values over time
 Variation due to common cause is random but will
vary within predictable bounds
 Unexpected results are extremely rare
 Predictable is synonymous with in control
KI Measurement Pgm Starter Kit - 149Version 3.1© 2008 Kasse Initiatives, LLC
Florac, W.A. & Carleton, A.D. Measuring the Software Process
Addison-Wesley, 1999
X X X
X
X
X X
X
x
X
X
X
X
X X
X
Variation in
Measured Values
Frequency
of
Measured
Values Time
X
X X
X
The Concept of ControlledThe Concept of Controlled
VariationVariation
KI Measurement Pgm Starter Kit - 150Version 3.1© 2008 Kasse Initiatives, LLC
Special Causes of VariationSpecial Causes of Variation
 Special or Assignable causes of variation
 Arise from events that are not part of the normal
process
 Represent sudden or persistent abnormal changes
due to one or more of the process components
inputs to the process
environment
process steps themselves
the way the process steps are executed
 Examples of assignable causes of variation include
inadequately trained people, tool failures, failures to
follow the process
KI Measurement Pgm Starter Kit - 151Version 3.1© 2008 Kasse Initiatives, LLC
Florac, W.A. & Carleton, A.D. Measuring the Software Process
Addison-Wesley, 1999
X X X
X
X X X
X
x
X
X
X
X
X
X X
X X X
X
Variation in
Measured Values
Frequency
of
Measured
Values
Time
Concept of Uncontrolled orConcept of Uncontrolled or
Assignable Causes of VariationAssignable Causes of Variation
KI Measurement Pgm Starter Kit - 152Version 3.1© 2008 Kasse Initiatives, LLC
Process VariationProcess Variation
 Reducing process variation is an important
aspect to quantitative management:
 It is important to focus on subprocesses that can be
controlled to achieve a predictable performance
 Statistical process control is often better
focused on organizational areas such as
Product Lines where there is high similarity of
processes, than on the organization’s entire set
of products
KI Measurement Pgm Starter Kit - 153Version 3.1© 2008 Kasse Initiatives, LLC
MeasuresMeasures
and Analyticand Analytic
TechniquesTechniques
KI Measurement Pgm Starter Kit - 154Version 3.1© 2008 Kasse Initiatives, LLC
Select Measures and AnalyticSelect Measures and Analytic
TechniquesTechniques
 Specify the operational definitions of the measures,
their collection points in the subprocesses and how
the measures will be validated
 State specific target measures or ranges to be met
for each measured attribute of each selected
process
 Set up the organizational support environment to
support the collection and analysis of statistical
measures
 Identify the appropriate statistical analysis
techniques that are expected to be useful in
statistically managing the selected subprocesses
KI Measurement Pgm Starter Kit - 155Version 3.1© 2008 Kasse Initiatives, LLC
Select Measures andSelect Measures and
Analytic Techniques - 2Analytic Techniques - 2
 Examples of subprocess control measures include:
 Requirements volatility
 Ratios of estimated to measured values of the
planning parameters
 Coverage and efficiency of work product inspections
 Test coverage and efficiency
 Reliability, Maintainability, and Expandability
 Percentage of the total defects inserted or found in
the different stages of the lifecycle
KI Measurement Pgm Starter Kit - 156Version 3.1© 2008 Kasse Initiatives, LLC
Descriptive StatisticsDescriptive Statistics
KI Measurement Pgm Starter Kit - 157Version 3.1© 2008 Kasse Initiatives, LLC
Basic Statistical TermsBasic Statistical Terms
 Mean
 Median
 Mode
 Variance
 Central Tendency and Dispersion
KI Measurement Pgm Starter Kit - 158Version 3.1© 2008 Kasse Initiatives, LLC
MeanMean
 Suppose you were given five numbers and
asked to find the average or “mean” of those
five numbers
 1 4 5 8 2
 x = 1/5 (1 + 8 + 3 + 6 + 2) = 4
 Let xj = an individual value of x --> the mean of
any number of values x1, x2, …xn can be
represented by
 x = 1/n (x1 + x2 + x3 + x4 + ………xn) OR
 x = 1/n Σ i=1,n xi
 The mean is a measure of central tendency
KI Measurement Pgm Starter Kit - 159Version 3.1© 2008 Kasse Initiatives, LLC
MedianMedian
 The Median is another measure of central
tendency
 Sort the data by magnitude and the median is the
value in the middle
 There are as many numbers bigger than the median
value as there are smaller
 The median is often more illuminating than the
average where the occasional value might distort the
average
KI Measurement Pgm Starter Kit - 160Version 3.1© 2008 Kasse Initiatives, LLC
Median - 2Median - 2
 Given the following auction figures for buying a
house in thousands of dollars
185 190 145 220 1060 200 170
 Sorting the numbers yields
145 170 185 190 200 220 1060
 The Mean would be 310
 The Median would be 190 – a much better
indicator
 If there are an even number of values –
average the middle two values to get the
median
KI Measurement Pgm Starter Kit - 161Version 3.1© 2008 Kasse Initiatives, LLC
ModeMode
 The Mode is another measure of central
tendency. It means the most common number
in the data set
7 8 7 8 8 9 6 5 10 8
 Sorting the data into order yields
5 6 7 7 8 8 8 8 9 10
 If the numbers represented shoe sizes, the
shop owner would probably want to stock the
most commonly sold shoes than the average or
even median foot size of their customers
KI Measurement Pgm Starter Kit - 162Version 3.1© 2008 Kasse Initiatives, LLC
VarianceVariance
• Two shooters each fire ten shots into a separate target
• The shooter on the left has the tighter group but is off-
target
• The shooter on the right seems to be more on target
but is not as good a shot
More Precise
More Accurate
KI Measurement Pgm Starter Kit - 163Version 3.1© 2008 Kasse Initiatives, LLC
Variance - 2Variance - 2
 There are two separate concepts
 Accuracy – The distance between the process
average and the target
 Precision – The tightness of the grouping
KI Measurement Pgm Starter Kit - 164Version 3.1© 2008 Kasse Initiatives, LLC
Central TendencyCentral Tendency
and Dispersionand Dispersion
 Central tendency implies location, the balance
point or middle of a group of values
 Examples: mean, median
 Dispersion implies spread, the distance
between values or how much the values tend to
differ from one another
 Examples: Range, standard deviation
KI Measurement Pgm Starter Kit - 165Version 3.1© 2008 Kasse Initiatives, LLC
Continuous DistributionContinuous Distribution
x1 x2 x3 x4 x5 x6
x7
-∞ +∞
Spread
KI Measurement Pgm Starter Kit - 166Version 3.1© 2008 Kasse Initiatives, LLC
Statistical TechniquesStatistical Techniques
KI Measurement Pgm Starter Kit - 167Version 3.1© 2008 Kasse Initiatives, LLC
 Linear Regression Analysis – Used to define the
mathematical relationship between an output
variable (y) and one or more input variables (x)
 Regression models are used to predict the value of
the outcome or dependent variable (y) as a function
of the value of the input or independent variables (x)
 Logistic Regression – Used to predict a discrete
or attribute (y) outcome using either continuous or
discrete (x) factors
 Nominal
 Ordinal
 Binominal
Examples of Statistical TechniquesExamples of Statistical Techniques
KI Measurement Pgm Starter Kit - 168Version 3.1© 2008 Kasse Initiatives, LLC
 Monte Carlo Simulation (Allows modeling of
variables that are uncertain
 Can put in a range of values instead of a single value
 Analyzes simultaneous effects of many different
uncertain variables creating a more realistic analysis
 Establishes confidence levels for outcomes
 Process Model Simulation – Describe how
things must/should/could be done instead of
the process itself which describes what
really happens
 A rough anticipation of what the process will look
like
Examples of Statistical Techniques - 2Examples of Statistical Techniques - 2
KI Measurement Pgm Starter Kit - 169Version 3.1© 2008 Kasse Initiatives, LLC
Confidence and PredictionConfidence and Prediction
Intervals – ExampleIntervals – Example
Regression Depicting Confidence and Prediction
Intervals
320
300
280
260
240
220
200
Regression
U95%PI
L95%PI
U95%CI
L95% CI
Y-Data
2007 Carnegie Mellon University
o
ooo o o oo oo ooo o o oooo oo o ooo oo
30 32 33 34 35 36 37 38 39 40 41 42
X-Data
KI Measurement Pgm Starter Kit - 170Version 3.1© 2008 Kasse Initiatives, LLC
Statistical MethodsStatistical Methods
KI Measurement Pgm Starter Kit - 171Version 3.1© 2008 Kasse Initiatives, LLC
 Hypothesis Testing – Evaluate actual process
performance (mean and variation) relative to a
standard or specification to:
 Determine if differences exist between
processes
 Verify process improvements by comparing
before and after process performance baselines
(PPBs)
Statistical MethodsStatistical Methods
KI Measurement Pgm Starter Kit - 172Version 3.1© 2008 Kasse Initiatives, LLC
 Analysis of Variance (ANOVA) – Test for significant
differences on more than two group means and
estimate the 95% confidence interval of each group
mean
 Used together with Dummy Variable Regression
 Chi Square – Tests for significant differences with
attribute or categorical data
 Used together with Logistic Regression
 Used to verify that data fit into a particular distribution or
belong to a family of distributions
 Enables you to see if knowledge of one discrete factor is
useful in predicting a separate discrete outcome
 The presence of such a predictive relationship may be
utilized when developing a predictive model
Statistical MethodsStatistical Methods
KI Measurement Pgm Starter Kit - 173Version 3.1© 2008 Kasse Initiatives, LLC
Quantitative Data AnalysisQuantitative Data Analysis
Methods and ToolsMethods and Tools
KI Measurement Pgm Starter Kit - 174Version 3.1© 2008 Kasse Initiatives, LLC
There are a number of quantitative tools
considered to be applicable to statistical
process or quality control:
 Quantifying and Predicting Process Performance
Control Charts
Histograms
 Cause and Effect Relationships
Cause-and-effect (fishbone) diagrams
Pareto charts
Scatter diagrams
Interrelationship Diagraphs
Run charts
Check sheets
Bar charts
Force Field Diagram
Quantitative Data AnalysisQuantitative Data Analysis
Methods and ToolsMethods and Tools
KI Measurement Pgm Starter Kit - 175Version 3.1© 2008 Kasse Initiatives, LLC
Control charts – techniques for quantifying
process behavior
 Focuses attention on detecting and monitoring
process variation over time
 Distinguishes special from common causes of
variation, as a guide to local or management action
 Helps improve a process to perform consistently, and
predictably for higher quality, lower cost, and higher
effective capacity
Control ChartsControl Charts
KI Measurement Pgm Starter Kit - 176Version 3.1© 2008 Kasse Initiatives, LLC
Control Charts - 2Control Charts - 2
 Control Chart Characteristics
 Classical control charts have a centerline and control
limits on both sides of the centerline
 Both the centerline and the limits represent estimates
that are calculated from a set of observations
collected while the process is running
 The centerline and control limits cannot be assigned
arbitrarily as they are intended to show what the
process can actually do
KI Measurement Pgm Starter Kit - 177Version 3.1© 2008 Kasse Initiatives, LLC
 
                             
 
                             
                             
                             
                             
 
Upper
Control
Limit
(UCL)
Lower
Control
Limit
(LCL)
Upper and
Lower
Control Limits
represent the
natural variation
In the process
Upper and
Lower
Control Limits
represent the
natural variation
In the process
METRIC:PROCESS CONTROL CHART TYPE:
Plotted points are either
individual measurements or the
means of small groups of
measurements
Plotted points are either
individual measurements or the
means of small groups of
measurements
The chart is used for continuous
and time control of the process
and prevention of causes
The chart is used for continuous
and time control of the process
and prevention of causes
The chart is analyzed using
standard Rules to define the
control status of the process
The chart is analyzed using
standard Rules to define the
control status of the process
Data
relating to
the process
Data
relating to
the process
Center Line (CL)
(Mean of data used to
set up the chart)
Statistical Methods for Software Quality
Adrian Burr – Mal Owen, 1996
Common Cause Variation
Numerical data taken
in time sequence
Numerical data taken
in time sequence
KI Measurement Pgm Starter Kit - 178Version 3.1© 2008 Kasse Initiatives, LLC
 
                             
 
                             
                             
                             
                             
 
Upper
Control
Limit
(UCL)
Lower
Control
Limit
(LCL)
Upper and
Lower
Control Limits
represent the
natural variation
In the process
Upper and
Lower
Control Limits
represent the
natural variation
In the process
METRIC:PROCESS CONTROL CHART TYPE:
A point above or below the
control lines suggests that the
measurement has a special
preventable or removable cause
A point above or below the
control lines suggests that the
measurement has a special
preventable or removable cause
Plotted points are either
individual measurements or the
means of small groups of
measurements
Plotted points are either
individual measurements or the
means of small groups of
measurements
The chart is used for continuous
and time control of the process
and prevention of causes
The chart is used for continuous
and time control of the process
and prevention of causes
The chart is analyzed using
standard Rules to define the
control status of the process
The chart is analyzed using
standard Rules to define the
control status of the process
Data
relating to
the process
Data
relating to
the process
Center Line (CL)
(Mean of data used to
set up the chart)
Statistical Methods for Software Quality
Adrian Burr – Mal Owen, 1996
Special Cause Variation
Numerical data taken
in time sequence
Numerical data taken
in time sequence
KI Measurement Pgm Starter Kit - 179Version 3.1© 2008 Kasse Initiatives, LLC
HistogramsHistograms
 Histograms – summarizes data from a process
that has been collected over a period of time,
and graphically present its frequency
distribution in bar form
 Show the frequencies of events that have occurred in
ways that make it easy to compare distributions and see
central tendencies
 Illustrates quickly the underlying distribution of the data
 Helps indicate if there has been a change in the process
 Provides useful information for predicting future
performance of the process
 Helps answer the question “Is the process capable of
meeting my customers requirements?”Florac, W.A. & Carleton, A.D. Measuring the Software Process 
Addison-Wesley, 1999
KI Measurement Pgm Starter Kit - 180Version 3.1© 2008 Kasse Initiatives, LLC
DetermineDetermine
SubprocessSubprocess
CapabilityCapability
KI Measurement Pgm Starter Kit - 181Version 3.1© 2008 Kasse Initiatives, LLC
Monitor Performance ofMonitor Performance of
Selected SubprocessesSelected Subprocesses
 Process capability is analyzed for those
subprocesses and those measured attributes
for which objectives have been set
 A capable process is one that is satisfying its
quality and process performance objectives
along with the customer requirements or
customer specifications and can be expected to
satisfy those objectives in the future
 Voice of the process
 Voice of the customer
KI Measurement Pgm Starter Kit - 182Version 3.1© 2008 Kasse Initiatives, LLC
Monitor Performance ofMonitor Performance of
Selected Subprocesses - 4Selected Subprocesses - 4
Customer
Requirements
Process
Within
Requirements
or Customer
Specifications
Process
Too Variable
Variation – what is the
variation or spread of
the data?
The Memory Jogger II A Pocket Guide of Tools
For Continuous Improvement & Effective Planning,
Michael Brassard & Diane Ritter, 1994
KI Measurement Pgm Starter Kit - 183Version 3.1© 2008 Kasse Initiatives, LLC
Stable Process
(Process Performance
Is Predictable)
Quality & Process
Performance
Meets Customer
Requirements
Monitor Performance ofMonitor Performance of
Selected Subprocesses - 4Selected Subprocesses - 4
KI Measurement Pgm Starter Kit - 184Version 3.1© 2008 Kasse Initiatives, LLC
Causal AnalysisCausal Analysis
TechniquesTechniques
KI Measurement Pgm Starter Kit - 185Version 3.1© 2008 Kasse Initiatives, LLC
Conduct Causal AnalysisConduct Causal Analysis
 Analyze defect data in the processes and
associated work products
 When a stable process does not meet its specified
product quality, service quality, or process
performance objectives
 During the task, if and when problems demand
additional meetings
 When a work product exhibits an unexpected
deviation from its requirements
 Analyze the selected defects and other
problems to determine their root causes
KI Measurement Pgm Starter Kit - 186Version 3.1© 2008 Kasse Initiatives, LLC
Conduct Causal Analysis - 2Conduct Causal Analysis - 2
 Examples of methods for determining causes
and other relationships that exist among critical
issues include:
 Cause and Effect (Fishbone Diagrams)
 Pareto analysis
 Scatter Diagrams
 Run charts
 Interrelationship Diagraphs
 Check Sheets
 Bar Charts
 Force Fields
KI Measurement Pgm Starter Kit - 187Version 3.1© 2008 Kasse Initiatives, LLC
Visual DisplayVisual Display
and otherand other
PresentationPresentation
TechniquesTechniques
KI Measurement Pgm Starter Kit - 188Version 3.1© 2008 Kasse Initiatives, LLC
Cause and EffectCause and Effect
Diagrams (Fishbone)Diagrams (Fishbone)
 Cause-and-effect (fishbone) diagrams
 Allows the project team to identify, explore, and
graphically display all of the possible causes related
to a problem to discover its root cause
 Helps the team to probe for, map, and prioritize a set
of factors that are thought to affect a particular
process, problem or outcome
 Helpful in eliciting and organizing information from
people who work within a process and know what
might be causing it to perform the way it does
 Focuses the project team on causes, not symptoms
Florac, W.A. & Carleton, A.D. Measuring the Software Process 
Addison-Wesley, 1999
KI Measurement Pgm Starter Kit - 189Version 3.1© 2008 Kasse Initiatives, LLC
Req’mts
Defects
Missing
Requirement
Incorrect
Requirement
Infeasible
Requirement
Vague
Requirement
Customer
Requirement Changed
Cause and Effect DiagramsCause and Effect Diagrams
(Fishbone)(Fishbone)
KI Measurement Pgm Starter Kit - 190Version 3.1© 2008 Kasse Initiatives, LLC
Exercise 5Exercise 5
 Use the Fishbone or “Cause and Effect”
visualization technique to determine the most
significant causes for lack of adequate Quality
Assurance support in most large organizations
KI Measurement Pgm Starter Kit - 191Version 3.1© 2008 Kasse Initiatives, LLC
Pareto ChartsPareto Charts
 Pareto charts – special form of histogram or bar
chart
 Help focus investigations and solution finding by
ranking problems, causes, or actions in terms of their
amounts, frequencies of occurrence, or economic
consequences
 Based on the proven Pareto principle: 20% of the
sources cause 80% of any problem
 Helps prevent “shifting the problem” where the
“solution” removes some causes but worsens others
KI Measurement Pgm Starter Kit - 192Version 3.1© 2008 Kasse Initiatives, LLC
Pareto ChartsPareto Charts
 Percentage of Defects Detected During
System Testing by Phase Where Defect Was
Injected
50
25
20
5
0
10
20
30
40
50
60
Req'mts Design Code Test
KI Measurement Pgm Starter Kit - 193Version 3.1© 2008 Kasse Initiatives, LLC
Scatter DiagramsScatter Diagrams
 Scatter diagrams – display empirically observed
relationships between two process
characteristics
 A pattern in the plotted points may suggest that the
two factors are associated
 The scatter diagram does not predict cause and
effect relationships between two variables
KI Measurement Pgm Starter Kit - 194Version 3.1© 2008 Kasse Initiatives, LLC
Scatter DiagramsScatter Diagrams
KI Measurement Pgm Starter Kit - 195Version 3.1© 2008 Kasse Initiatives, LLC
 Run charts – specialized, time-sequenced
form of scatter diagram that can be used to
examine data quickly and informally for
trends or other patterns that occur over
time
 Monitors the performance of one or more
processes over time to detect trends, shifts, or
cycles
 Allows a team to compare a performance
measure before and after implementation of a
solution to measure its impact
 Tracks useful information for predicting trends
Run ChartsRun Charts
KI Measurement Pgm Starter Kit - 196Version 3.1© 2008 Kasse Initiatives, LLC
NumberofRequiredChangestoaModule
astheProjectApproachesSystemsTest
Syntax
Check
Desk
Check
Code
Review
Unit
Test
Integration
and Test
Systems
Test
Run Charts - 2Run Charts - 2
KI Measurement Pgm Starter Kit - 197Version 3.1© 2008 Kasse Initiatives, LLC
Interrelationship DiagraphsInterrelationship Diagraphs
 Interrelationship diagraphs – Allows a team to
systematically identify, analyze, and classify the
cause and effect relationships that exist among
critical issues
 Key drivers can become the heart of an effective
solution
 Encourages team members to think in multiple
directions
 Allows the key issues to emerge naturally rather than
be forced by a dominant member
 Allows a team to identify a root cause even when
credible data does not exist
KI Measurement Pgm Starter Kit - 198Version 3.1© 2008 Kasse Initiatives, LLC
What are the issues
relating
to traffic jams?
A- A- Auto 
Accidents
In= 4  Out=1
B-B- Road
Construction
In= 0  Out= 2
D-D- Weather
Conditions
In=2  Out=3
F- F- Mechanical 
Breakdown
In= 0  Out=2
C-C- Rush Hour 
Traffic
In= 6  Out= 1
E-E- Cultural 
Events
In= 2  Out= 2
InterrelationshipsInterrelationships
DiagraphDiagraph
KI Measurement Pgm Starter Kit - 199Version 3.1© 2008 Kasse Initiatives, LLC
Check SheetsCheck Sheets
 Check Sheets
 Allows a project team to systematically record and
compile data from historical sources or observations
as they happen
Patterns and trends can be clearly detected and
shown
 Builds, with each observation a clearer picture of the
facts as opposed to opinions of the team member
 Ensures that recordings are made consistently
 Makes patterns in the data become obvious quickly
KI Measurement Pgm Starter Kit - 200Version 3.1© 2008 Kasse Initiatives, LLC
Check Sheets - 2Check Sheets - 2
 Check Sheets - continued
 Must agree upon the definition of what is being
observed
 Data must be collected over a sufficient period of
time to be sure the data represents “typical” results
during a “typical” cycle for your business
KI Measurement Pgm Starter Kit - 201Version 3.1© 2008 Kasse Initiatives, LLC
Proof and Checking ErrorsProof and Checking Errors
Errors 
Classification
Book Chapters
31 2 54 Total
Spelling
Punctuation
Missing Information
Redundancy
Technical Errors
Format Errors
Incomplete Concepts
Total
////
//
/
//
//
///
///
//
///
/
//
//
//
/
//
//
////
//
/
/
/
/
///
///
//
//
16
12
6
9
8
3
11 12 11 10 10 54
KI Measurement Pgm Starter Kit - 202Version 3.1© 2008 Kasse Initiatives, LLC
Bar ChartsBar Charts
 Bar Charts
 Similar to histograms but are not normally based on
measures of continuous variables or frequency
counts
 Bar charts are defined on discrete values
 Bar charts can display numerical value not just
counts or relative frequencies
Example: Bar charts can be used to display data
such as the total size, cost, or elapsed time
associated with individual entities
Florac, W.A. & Carleton, A.D. Measuring the Software Process 
Addison-Wesley, 1999
KI Measurement Pgm Starter Kit - 203Version 3.1© 2008 Kasse Initiatives, LLC
Bar Charts - 2Bar Charts - 2
 Bar Charts - continued
 Cell width is irrelevant and there are always gaps
between the cells
 The concepts of average and standard deviation
have no meaning for the independent variable in bar
charts that are defined on discrete scales
 Medians, modes, and ranges can be used
Florac, W.A. & Carleton, A.D. Measuring the Software Process 
Addison-Wesley, 1999
KI Measurement Pgm Starter Kit - 204Version 3.1© 2008 Kasse Initiatives, LLC
Bar ChartBar Chart
Injected
Found
Escaped
Reqts
analysis
Design Code Unit
test
Component
test
System
test
Customer
use
Defect Analysis
Software Activity
45
40
35
30
25
20
15
10
5
0
PercentofDefects
KI Measurement Pgm Starter Kit - 205Version 3.1© 2008 Kasse Initiatives, LLC
Force FieldsForce Fields
 Force Fields – Positives or Negatives of
Change
 Identifies the forces and factors in place that support
or work against the solution of an issue or problem
 Positives are reinforced – negatives are reduced or
eliminated
 Presents the “positives” and “negatives” of a
situation so that they are easily compared
 Forces people to think together about all the aspects
of making the desired change a permanent one
 Encourages honest reflection on the real underlying
roots of a problem and its solution
 Encourages people to agree about the relative
priority of factors on each side of the “balance sheet”
KI Measurement Pgm Starter Kit - 206Version 3.1© 2008 Kasse Initiatives, LLC
Force Fields - 2Force Fields - 2
FearofPublicSpeaking
Increases Self-Esteem ->
Helps career ->
Communicates ideas ->
Contributes to a plan/solution ->
Encourages others to speak ->
Helps others to change ->
Increases energy of group ->
Helps clarify speaker’s ideas by
getting feedback from others ->
Helps others to see new
perspective ->
<- Past Embarrassments
<- Afraid to make mistakes
<- Lack of knowledge on the topic
<- Afraid people will be indifferent
<- Afraid people will laugh
<- May forget what to say
<- Too revealing of personal
thoughts
<- Afraid of offending group
<- Fear that nervousness will show
<- Lack of confidence in personal
appearance
Driving Forces Restraining Forces
KI Measurement Pgm Starter Kit - 207Version 3.1© 2008 Kasse Initiatives, LLC
SummarySummary
 Evolving a Measurement Program for Systems /
Software Engineering Process Improvement
includes:
 Clearly defining the need for a measurement
program
 Establishing a measurement initiative with objectives
that are aligned with established information needs
and business objectives
 Ensuring basic measures are included for planning,
tracking, and taking corrective action as necessary
 Incorporating process effectiveness measures
 Establishing organizational standard processes
KI Measurement Pgm Starter Kit - 208Version 3.1© 2008 Kasse Initiatives, LLC
Summary - 2Summary - 2
 Establish and utilize measures such as peer review
measures, testing measures, and risk management
measures
 Evolve into project management based on a
quantitative understanding of the organization’s and
project’s defined processes

More Related Content

What's hot

Changes in CMMI-DEV and SCAMPI-A v1.3 - An Implementation Perspective
Changes in CMMI-DEV and SCAMPI-A v1.3 - An Implementation PerspectiveChanges in CMMI-DEV and SCAMPI-A v1.3 - An Implementation Perspective
Changes in CMMI-DEV and SCAMPI-A v1.3 - An Implementation PerspectiveRajesh Naik
 
Project quality management
Project quality managementProject quality management
Project quality managementsyeda zoya mehdi
 
The Metrics of Project Management Performance and PMBOK
The Metrics of Project Management Performance and PMBOKThe Metrics of Project Management Performance and PMBOK
The Metrics of Project Management Performance and PMBOKLiana Underwood
 
CMMI Project Planning Presentation
CMMI Project Planning PresentationCMMI Project Planning Presentation
CMMI Project Planning PresentationTiago Teixeira
 
Project monitoring and control measures in cmmi
Project monitoring and control measures in cmmiProject monitoring and control measures in cmmi
Project monitoring and control measures in cmmiijcsit
 
A lean model based outlook on cost & quality optimization in software projects
A lean model based outlook on cost & quality optimization in software projectsA lean model based outlook on cost & quality optimization in software projects
A lean model based outlook on cost & quality optimization in software projectsSonata Software
 
The metrics that matter using scalability metrics for project planning of a d...
The metrics that matter using scalability metrics for project planning of a d...The metrics that matter using scalability metrics for project planning of a d...
The metrics that matter using scalability metrics for project planning of a d...Mary Chan
 
PMP Training - 08 project quality management
PMP Training - 08 project quality managementPMP Training - 08 project quality management
PMP Training - 08 project quality managementejlp12
 
Ensuring Project Quality Powerpoint Presentation Slides
Ensuring Project Quality Powerpoint Presentation SlidesEnsuring Project Quality Powerpoint Presentation Slides
Ensuring Project Quality Powerpoint Presentation SlidesSlideTeam
 
Quality metrics in project management
Quality metrics in project managementQuality metrics in project management
Quality metrics in project managementselinasimpson1601
 
Case study on Six Sigma (2014 ExL Conference)
Case study on Six Sigma (2014 ExL Conference)Case study on Six Sigma (2014 ExL Conference)
Case study on Six Sigma (2014 ExL Conference)George Betts, MBA, CPM
 
Project quality (and test process) metrics
Project quality (and test process) metricsProject quality (and test process) metrics
Project quality (and test process) metricsZbyszek Mockun
 
Quality Engineering material
Quality Engineering materialQuality Engineering material
Quality Engineering materialTeluguSudhakar3
 
Measure phase lean six sigma tollgate template
Measure phase   lean six sigma tollgate templateMeasure phase   lean six sigma tollgate template
Measure phase lean six sigma tollgate templateSteven Bonacorsi
 
PMP Key-exam-concepts-QA-QC-VS-VS
PMP Key-exam-concepts-QA-QC-VS-VSPMP Key-exam-concepts-QA-QC-VS-VS
PMP Key-exam-concepts-QA-QC-VS-VSAnand Bobade
 
Ch26 - software engineering 9
Ch26 - software engineering 9Ch26 - software engineering 9
Ch26 - software engineering 9Ian Sommerville
 
Best Practices Fusion: Lean Six Sigma & CMMI
Best Practices Fusion: Lean Six Sigma & CMMIBest Practices Fusion: Lean Six Sigma & CMMI
Best Practices Fusion: Lean Six Sigma & CMMIggack
 

What's hot (20)

Changes in CMMI-DEV and SCAMPI-A v1.3 - An Implementation Perspective
Changes in CMMI-DEV and SCAMPI-A v1.3 - An Implementation PerspectiveChanges in CMMI-DEV and SCAMPI-A v1.3 - An Implementation Perspective
Changes in CMMI-DEV and SCAMPI-A v1.3 - An Implementation Perspective
 
Project quality management
Project quality managementProject quality management
Project quality management
 
The Metrics of Project Management Performance and PMBOK
The Metrics of Project Management Performance and PMBOKThe Metrics of Project Management Performance and PMBOK
The Metrics of Project Management Performance and PMBOK
 
CMMI Project Planning Presentation
CMMI Project Planning PresentationCMMI Project Planning Presentation
CMMI Project Planning Presentation
 
Six Sigma - The Journey of Quality and Management
Six Sigma - The Journey of Quality and Management Six Sigma - The Journey of Quality and Management
Six Sigma - The Journey of Quality and Management
 
Project monitoring and control measures in cmmi
Project monitoring and control measures in cmmiProject monitoring and control measures in cmmi
Project monitoring and control measures in cmmi
 
A lean model based outlook on cost & quality optimization in software projects
A lean model based outlook on cost & quality optimization in software projectsA lean model based outlook on cost & quality optimization in software projects
A lean model based outlook on cost & quality optimization in software projects
 
The metrics that matter using scalability metrics for project planning of a d...
The metrics that matter using scalability metrics for project planning of a d...The metrics that matter using scalability metrics for project planning of a d...
The metrics that matter using scalability metrics for project planning of a d...
 
PMP Training - 08 project quality management
PMP Training - 08 project quality managementPMP Training - 08 project quality management
PMP Training - 08 project quality management
 
Ensuring Project Quality Powerpoint Presentation Slides
Ensuring Project Quality Powerpoint Presentation SlidesEnsuring Project Quality Powerpoint Presentation Slides
Ensuring Project Quality Powerpoint Presentation Slides
 
Dit yvol4iss14
Dit yvol4iss14Dit yvol4iss14
Dit yvol4iss14
 
Quality metrics in project management
Quality metrics in project managementQuality metrics in project management
Quality metrics in project management
 
Case study on Six Sigma (2014 ExL Conference)
Case study on Six Sigma (2014 ExL Conference)Case study on Six Sigma (2014 ExL Conference)
Case study on Six Sigma (2014 ExL Conference)
 
Project quality (and test process) metrics
Project quality (and test process) metricsProject quality (and test process) metrics
Project quality (and test process) metrics
 
Quality Engineering material
Quality Engineering materialQuality Engineering material
Quality Engineering material
 
S3 p2 lee_kong_hui
S3 p2 lee_kong_huiS3 p2 lee_kong_hui
S3 p2 lee_kong_hui
 
Measure phase lean six sigma tollgate template
Measure phase   lean six sigma tollgate templateMeasure phase   lean six sigma tollgate template
Measure phase lean six sigma tollgate template
 
PMP Key-exam-concepts-QA-QC-VS-VS
PMP Key-exam-concepts-QA-QC-VS-VSPMP Key-exam-concepts-QA-QC-VS-VS
PMP Key-exam-concepts-QA-QC-VS-VS
 
Ch26 - software engineering 9
Ch26 - software engineering 9Ch26 - software engineering 9
Ch26 - software engineering 9
 
Best Practices Fusion: Lean Six Sigma & CMMI
Best Practices Fusion: Lean Six Sigma & CMMIBest Practices Fusion: Lean Six Sigma & CMMI
Best Practices Fusion: Lean Six Sigma & CMMI
 

Viewers also liked

Administrative Assistant
Administrative AssistantAdministrative Assistant
Administrative AssistantCristi Ruthven
 
up to date Resume 2016
up to date Resume 2016up to date Resume 2016
up to date Resume 2016Nicole Kircher
 
3 days time table urdu
3 days time table   urdu3 days time table   urdu
3 days time table urduNasir Ali
 
Fiche n°3 Territoires et Transition énergétique : exemple de Liffré
Fiche n°3 Territoires et Transition énergétique : exemple de LiffréFiche n°3 Territoires et Transition énergétique : exemple de Liffré
Fiche n°3 Territoires et Transition énergétique : exemple de LiffréPhilippe de Brisoult
 
Đổi mới giáo dục đại học - Bài viết cho Hội thảo quốc gia năm 2015
Đổi mới giáo dục đại học - Bài viết cho Hội thảo quốc gia năm 2015Đổi mới giáo dục đại học - Bài viết cho Hội thảo quốc gia năm 2015
Đổi mới giáo dục đại học - Bài viết cho Hội thảo quốc gia năm 2015Son La College
 
Latvijas Banka Monthly Newsletter 12/2016
Latvijas Banka Monthly Newsletter 12/2016Latvijas Banka Monthly Newsletter 12/2016
Latvijas Banka Monthly Newsletter 12/2016Latvijas Banka
 
Live Labels: e-Ink displays in a museum environment
Live Labels: e-Ink displays in a museum environmentLive Labels: e-Ink displays in a museum environment
Live Labels: e-Ink displays in a museum environmentNils Pokel
 
Day hoc dua vao tuong tac trong dao tao giao vien tieu hoj trinh do dai hoc
Day hoc dua vao tuong tac trong dao tao giao vien tieu hoj trinh do dai hocDay hoc dua vao tuong tac trong dao tao giao vien tieu hoj trinh do dai hoc
Day hoc dua vao tuong tac trong dao tao giao vien tieu hoj trinh do dai hocChau Phan
 

Viewers also liked (12)

Discovering discovery
Discovering discoveryDiscovering discovery
Discovering discovery
 
Administrative Assistant
Administrative AssistantAdministrative Assistant
Administrative Assistant
 
up to date Resume 2016
up to date Resume 2016up to date Resume 2016
up to date Resume 2016
 
3 days time table urdu
3 days time table   urdu3 days time table   urdu
3 days time table urdu
 
Fiche n°3 Territoires et Transition énergétique : exemple de Liffré
Fiche n°3 Territoires et Transition énergétique : exemple de LiffréFiche n°3 Territoires et Transition énergétique : exemple de Liffré
Fiche n°3 Territoires et Transition énergétique : exemple de Liffré
 
Đổi mới giáo dục đại học - Bài viết cho Hội thảo quốc gia năm 2015
Đổi mới giáo dục đại học - Bài viết cho Hội thảo quốc gia năm 2015Đổi mới giáo dục đại học - Bài viết cho Hội thảo quốc gia năm 2015
Đổi mới giáo dục đại học - Bài viết cho Hội thảo quốc gia năm 2015
 
Latvijas Banka Monthly Newsletter 12/2016
Latvijas Banka Monthly Newsletter 12/2016Latvijas Banka Monthly Newsletter 12/2016
Latvijas Banka Monthly Newsletter 12/2016
 
ID Sample Display
ID Sample DisplayID Sample Display
ID Sample Display
 
Live Labels: e-Ink displays in a museum environment
Live Labels: e-Ink displays in a museum environmentLive Labels: e-Ink displays in a museum environment
Live Labels: e-Ink displays in a museum environment
 
Does College Pay?
Does College Pay?Does College Pay?
Does College Pay?
 
human resource
human resourcehuman resource
human resource
 
Day hoc dua vao tuong tac trong dao tao giao vien tieu hoj trinh do dai hoc
Day hoc dua vao tuong tac trong dao tao giao vien tieu hoj trinh do dai hocDay hoc dua vao tuong tac trong dao tao giao vien tieu hoj trinh do dai hoc
Day hoc dua vao tuong tac trong dao tao giao vien tieu hoj trinh do dai hoc
 

Similar to KI Measurement Pgm Starter Kit

Improve phase lean six sigma tollgate template
Improve phase   lean six sigma tollgate templateImprove phase   lean six sigma tollgate template
Improve phase lean six sigma tollgate templateSteven Bonacorsi
 
Improve phase lean six sigma tollgate template
Improve phase   lean six sigma tollgate templateImprove phase   lean six sigma tollgate template
Improve phase lean six sigma tollgate templateSteven Bonacorsi
 
2006 017 001_23922
2006 017 001_239222006 017 001_23922
2006 017 001_23922Kieran Caren
 
7 Reasons Why Value Stream Integration Improves Software Quality assurance
7 Reasons Why Value Stream Integration Improves Software Quality assurance7 Reasons Why Value Stream Integration Improves Software Quality assurance
7 Reasons Why Value Stream Integration Improves Software Quality assuranceTasktop
 
IRJET- Quality Improvement for LED Lights using Six Sigma
IRJET- Quality Improvement for LED Lights using Six SigmaIRJET- Quality Improvement for LED Lights using Six Sigma
IRJET- Quality Improvement for LED Lights using Six SigmaIRJET Journal
 
Fail to prepare - Softworld 2011
Fail to prepare -  Softworld 2011Fail to prepare -  Softworld 2011
Fail to prepare - Softworld 2011Sageukofficial
 
Fail to prepare, prepare to fail: implementing ERP and CRM systems
Fail to prepare, prepare to fail: implementing ERP and CRM systemsFail to prepare, prepare to fail: implementing ERP and CRM systems
Fail to prepare, prepare to fail: implementing ERP and CRM systemsSageukofficial
 
Making Smart Choices: Strategies for CMMI Adoption
Making Smart Choices: Strategies for CMMI AdoptionMaking Smart Choices: Strategies for CMMI Adoption
Making Smart Choices: Strategies for CMMI Adoptionrhefner
 
Improving IT application services with six sigma
Improving IT application services with six sigmaImproving IT application services with six sigma
Improving IT application services with six sigmastuimrozsm
 
Importance of software quality metrics
Importance of software quality metricsImportance of software quality metrics
Importance of software quality metricsPiyush Sohaney
 
OM2_Lecture 11vvvhhbbjjbjdjjeebjrhvhuuhh
OM2_Lecture 11vvvhhbbjjbjdjjeebjrhvhuuhhOM2_Lecture 11vvvhhbbjjbjdjjeebjrhvhuuhh
OM2_Lecture 11vvvhhbbjjbjdjjeebjrhvhuuhhrammanoharjharupnaga
 
Jurnal an example of using key performance indicators for software development
Jurnal   an example of using key performance indicators for software developmentJurnal   an example of using key performance indicators for software development
Jurnal an example of using key performance indicators for software developmentRatzman III
 
1) 6Sigma - DEFINE MWSI.ppt
1) 6Sigma - DEFINE MWSI.ppt1) 6Sigma - DEFINE MWSI.ppt
1) 6Sigma - DEFINE MWSI.pptKrzysztofKnop1
 
Applying Lean Sigma Into Validation
Applying Lean Sigma Into ValidationApplying Lean Sigma Into Validation
Applying Lean Sigma Into Validationtjcornish
 
How big sky optimizes decisions
How big sky optimizes decisionsHow big sky optimizes decisions
How big sky optimizes decisionsJohn Dillard
 
Process and product quality assurance
Process and product quality assuranceProcess and product quality assurance
Process and product quality assuranceIJCSES Journal
 
Testing Metrics: Project, Product, Process
Testing Metrics: Project, Product, ProcessTesting Metrics: Project, Product, Process
Testing Metrics: Project, Product, ProcessTechWell
 

Similar to KI Measurement Pgm Starter Kit (20)

Improve phase lean six sigma tollgate template
Improve phase   lean six sigma tollgate templateImprove phase   lean six sigma tollgate template
Improve phase lean six sigma tollgate template
 
Improve phase lean six sigma tollgate template
Improve phase   lean six sigma tollgate templateImprove phase   lean six sigma tollgate template
Improve phase lean six sigma tollgate template
 
2006 017 001_23922
2006 017 001_239222006 017 001_23922
2006 017 001_23922
 
7 Reasons Why Value Stream Integration Improves Software Quality assurance
7 Reasons Why Value Stream Integration Improves Software Quality assurance7 Reasons Why Value Stream Integration Improves Software Quality assurance
7 Reasons Why Value Stream Integration Improves Software Quality assurance
 
IRJET- Quality Improvement for LED Lights using Six Sigma
IRJET- Quality Improvement for LED Lights using Six SigmaIRJET- Quality Improvement for LED Lights using Six Sigma
IRJET- Quality Improvement for LED Lights using Six Sigma
 
Fail to prepare - Softworld 2011
Fail to prepare -  Softworld 2011Fail to prepare -  Softworld 2011
Fail to prepare - Softworld 2011
 
Fail to prepare, prepare to fail: implementing ERP and CRM systems
Fail to prepare, prepare to fail: implementing ERP and CRM systemsFail to prepare, prepare to fail: implementing ERP and CRM systems
Fail to prepare, prepare to fail: implementing ERP and CRM systems
 
Making Smart Choices: Strategies for CMMI Adoption
Making Smart Choices: Strategies for CMMI AdoptionMaking Smart Choices: Strategies for CMMI Adoption
Making Smart Choices: Strategies for CMMI Adoption
 
Improving IT application services with six sigma
Improving IT application services with six sigmaImproving IT application services with six sigma
Improving IT application services with six sigma
 
CMMi & IT Governance
CMMi & IT GovernanceCMMi & IT Governance
CMMi & IT Governance
 
Importance of software quality metrics
Importance of software quality metricsImportance of software quality metrics
Importance of software quality metrics
 
Sanitized tb swstmppp1516july
Sanitized tb swstmppp1516julySanitized tb swstmppp1516july
Sanitized tb swstmppp1516july
 
OM2_Lecture 11vvvhhbbjjbjdjjeebjrhvhuuhh
OM2_Lecture 11vvvhhbbjjbjdjjeebjrhvhuuhhOM2_Lecture 11vvvhhbbjjbjdjjeebjrhvhuuhh
OM2_Lecture 11vvvhhbbjjbjdjjeebjrhvhuuhh
 
Jurnal an example of using key performance indicators for software development
Jurnal   an example of using key performance indicators for software developmentJurnal   an example of using key performance indicators for software development
Jurnal an example of using key performance indicators for software development
 
1) 6Sigma - DEFINE MWSI.ppt
1) 6Sigma - DEFINE MWSI.ppt1) 6Sigma - DEFINE MWSI.ppt
1) 6Sigma - DEFINE MWSI.ppt
 
Applying Lean Sigma Into Validation
Applying Lean Sigma Into ValidationApplying Lean Sigma Into Validation
Applying Lean Sigma Into Validation
 
How big sky optimizes decisions
How big sky optimizes decisionsHow big sky optimizes decisions
How big sky optimizes decisions
 
Process and product quality assurance
Process and product quality assuranceProcess and product quality assurance
Process and product quality assurance
 
CMMI.ppt
CMMI.pptCMMI.ppt
CMMI.ppt
 
Testing Metrics: Project, Product, Process
Testing Metrics: Project, Product, ProcessTesting Metrics: Project, Product, Process
Testing Metrics: Project, Product, Process
 

KI Measurement Pgm Starter Kit

  • 1. KI MeasurementKI Measurement Program Starter KitProgram Starter Kit
  • 2. KI Measurement Pgm Starter Kit - 2Version 3.1© 2008 Kasse Initiatives, LLC WelcomeWelcome Wilkommen Bienvenido WelKom Bienvenue Bienvenuto Velkommen Tervetuloa Witamy Huan Yín ЌАΛΟΣ ΟΡΙΣΑΤΕ ようこそ Välkommen
  • 3. KI Measurement Pgm Starter Kit - 3Version 3.1© 2008 Kasse Initiatives, LLC AgendaAgenda  Measurement – Is it Really Necessary?  Metrics  Goal – Question – Metric Paradigm  Vision, Business Objectives and Measurement Objectives  Measurement and Analysis  Basic Measures  Effectiveness of Processes  Set of Organizational Processes  Slightly More Advanced Measures  Peer Reviews  Test Coverage  Quality Factors, Quality Criteria and Quality Metrics
  • 4. KI Measurement Pgm Starter Kit - 4Version 3.1© 2008 Kasse Initiatives, LLC Agenda - 2Agenda - 2  Quantitative Project Management  Path to Maturity Level 4  Understanding Variation  Measures and Analytic Techniques  Descriptive Statistics  Statistical Techniques  Statistical Methods  Causal Analysis Techniques  Visual Display and other PresentationTechniques  Summary
  • 5. KI Measurement Pgm Starter Kit - 5Version 3.1© 2008 Kasse Initiatives, LLC MeasurementMeasurement Is It ReallyIs It Really Necessary?Necessary?
  • 6. KI Measurement Pgm Starter Kit - 6Version 3.1© 2008 Kasse Initiatives, LLC At Project Start, Do YouAt Project Start, Do You Know…?Know…?  Can it be done?  How long will it take?  How much will it cost?  How many people will it take?  What is the risk?  What are the tradeoffs?  How many errors will there be?
  • 7. KI Measurement Pgm Starter Kit - 7Version 3.1© 2008 Kasse Initiatives, LLC What Do You Know Now?What Do You Know Now?  How much does your current development process cost?  How much value does each piece of the process add?  What would the impact be of deleting, modifying, adding a procedure to the process?  What activities contribute the most to the final product cost?  Have you tried to improve the current development process?  What changes in cost/value resulted from that improvement effort?
  • 8. KI Measurement Pgm Starter Kit - 8Version 3.1© 2008 Kasse Initiatives, LLC What Do You Know Now? - 2What Do You Know Now? - 2  What processes represent the greatest potential for return on improvement investment?  How would you quantify the value of the process improvement investment?  Do you really want to know where the money is going in your software development projects?  What value do you think you are delivering to your customers? Do they agree?  How much is the knowledge of your costs and the value delivered worth to you?
  • 9. KI Measurement Pgm Starter Kit - 9Version 3.1© 2008 Kasse Initiatives, LLC MeasurementMeasurement andand MetricsMetrics
  • 10. KI Measurement Pgm Starter Kit - 10Version 3.1© 2008 Kasse Initiatives, LLC MetricsMetrics  The term, ‘quality metric’, may be defined as a measure of the extent or degree to which a product possesses and exhibits a certain (quality) or characteristic.  Quality metrics deal with, for example, Number of defects, or defects per thousand lines of code – i.e., a measure of fitness for use
  • 11. KI Measurement Pgm Starter Kit - 11Version 3.1© 2008 Kasse Initiatives, LLC What Are MetricsWhat Are Metrics  Quantitative measures of  Process  Product  Cost  Quality  With the goals of  Facilitating control  Detecting deviations  Identifying potential areas for improvement  Determining if you are improving
  • 12. KI Measurement Pgm Starter Kit - 12Version 3.1© 2008 Kasse Initiatives, LLC (Taken from “Software Quality: How to Define, Measure, and Achieve It”, Victor Basili, Department of Computer Science, University of Maryland) Views of MetricsViews of Metrics  Subjective  No exact measurement  An estimate of the degree a technique is applied  A classification of a problem or experience  An indicator  Objective  An absolute measure taken on the product or process time for development number of lines of code
  • 13. KI Measurement Pgm Starter Kit - 13Version 3.1© 2008 Kasse Initiatives, LLC Views of Metrics - 2Views of Metrics - 2  Product  Measure of the actual developed product lines of Source code number of Documents  Process  Measure of the process model used for developing the product use of methodology
  • 14. KI Measurement Pgm Starter Kit - 14Version 3.1© 2008 Kasse Initiatives, LLC Views of Metrics - 3Views of Metrics - 3  Cost  Expenditure of resources staff months capital investment productivity  Quality  Value of the product reliability ease of use maintainability
  • 15. KI Measurement Pgm Starter Kit - 15Version 3.1© 2008 Kasse Initiatives, LLC Views of Metrics - 4Views of Metrics - 4  Metrics can be used to measure:  Status Number of requirements Number of hours spent on Quality Assurance activities Number of errors discovered by a customer  Effectiveness Effectiveness of Requirements Engineering process Effectiveness of Quality Assurance activities Effectiveness of Peer Reviews
  • 16. KI Measurement Pgm Starter Kit - 16Version 3.1© 2008 Kasse Initiatives, LLC Metrics ConsiderationsMetrics Considerations  Metrics are not free!  Do not collect a metric unless you have: a purpose/objective for collecting the metric determined it is worth the cost of collecting it  Use metrics as a tool not a weapon  Use metrics as a tool for identifying and measuring improvement activities  Don’t use metrics to assign blame  Metrics will change the behavior of those required to collect them or the raw data that will be used to derive the metrics
  • 17. KI Measurement Pgm Starter Kit - 17Version 3.1© 2008 Kasse Initiatives, LLC Goal Question MetricGoal Question Metric (GQM)(GQM) ParadigmParadigm
  • 18. KI Measurement Pgm Starter Kit - 18Version 3.1© 2008 Kasse Initiatives, LLC The Goal/Question/MetricThe Goal/Question/Metric ParadigmParadigm  The G/Q/M Paradigm is a well-known process used to support development of a measurement program.  The process, regenerated by Basili, Rombach and others, uses the goal/question/metric framework as the structure for the measurement process.  Goals are issues of importance for the organization  Questions define the issues in such a manner that their answers indicate progress toward achieving the Goals  Metrics supply the data that provide the answers to the Questions that indicate the status of efforts to achieve the Goals
  • 19. KI Measurement Pgm Starter Kit - 19Version 3.1© 2008 Kasse Initiatives, LLC Issues of importance to the organization Characterize the Goals (used to provide insight as to the achievement of the goals) The Goal/Question/MetricThe Goal/Question/Metric Paradigm - 2Paradigm - 2 MetricsMetrics QuestionsQuestions GoalsGoals Answer the Questions (provide status and trends) The Goal/Question/Metric Framework is a commonly Used structure for the Measurement process The Goal/Question/Metric Framework is a commonly Used structure for the Measurement process
  • 20. KI Measurement Pgm Starter Kit - 20Version 3.1© 2008 Kasse Initiatives, LLC The Goal/Question/MetricThe Goal/Question/Metric Paradigm - 3Paradigm - 3 Goal 2 Question 4 Question 5 Goal 1 Question 2Modularity Question 1 Question 3 Metric 1 Metric 2 Metric 3 Metric 4
  • 21. KI Measurement Pgm Starter Kit - 21Version 3.1© 2008 Kasse Initiatives, LLC GQM MethodologyGQM Methodology  Three High-Level Steps:  Determine the Goal/Purpose/Objective to be achieved (or Issue to be resolved)  Develop questions which when answered will show whether the goal/purpose/objective has been achieved or the issue resolved  Formulate quantitative answers to the questions (these are the metrics you may want to collect)
  • 22. KI Measurement Pgm Starter Kit - 22Version 3.1© 2008 Kasse Initiatives, LLC G/Q/M Methodology - 2G/Q/M Methodology - 2  Establish the goals of the data collection  Develop a list of questions  Specify the measures to answer the questions  Collect the data  Validate and analyze the data  Apply the results to the project – Is the metric a good indicator?  Analyze measurement process for improvement
  • 23. KI Measurement Pgm Starter Kit - 23Version 3.1© 2008 Kasse Initiatives, LLC Exercise 1Exercise 1  Use the GQM Paradigm to develop measures for one or more of these hard to quantify Requirements Words
  • 24. KI Measurement Pgm Starter Kit - 24Version 3.1© 2008 Kasse Initiatives, LLC Vision,Vision, Business Objectives,Business Objectives, andand Measurement ObjectivesMeasurement Objectives
  • 25. KI Measurement Pgm Starter Kit - 25Version 3.1© 2008 Kasse Initiatives, LLC VisionVision  Where does senior management think the organization will be in the next year, and in the next two to five years?  What products will be in the mainstream?  Who will the competitors be?  Will there be collaborators or strategic alliance partners?  What technology changes are expected and/or will be required to support the vision?  What does the organizational structure have to be to support this vision?  Who will the organization’s suppliers be?  What must the organizational culture be to support this vision?  How will a Process Improvement Initiative support this vision?
  • 26. KI Measurement Pgm Starter Kit - 26Version 3.1© 2008 Kasse Initiatives, LLC Business ObjectivesBusiness Objectives  Examples of Business Objectives include:  Reduce time to market  Reduce system errors that are discovered by customers  Improve delivery time  Increase quality of products  Find and fix software defects once and only once  Reduce project risks  Gain control of suppliers  Improve service delivery  Improve service availability and capacity  Shorten find to fix repair rate
  • 27. KI Measurement Pgm Starter Kit - 27Version 3.1© 2008 Kasse Initiatives, LLC Measurement ObjectivesMeasurement Objectives  An organization’s measurement objectives might be:  Reduce time to delivery to a specified percentage  Reduce total lifecycle costs of new products by a percentage  Deliver specified functionality by a specified increased percentage  Improve prior levels of quality by reducing the number of defects of type A that get shipped with the product  Improve prior customer satisfaction ratings by a specified percentage compared to past ratings
  • 28. KI Measurement Pgm Starter Kit - 28Version 3.1© 2008 Kasse Initiatives, LLC Measurement and AnalysisMeasurement and Analysis vs.vs. Project Monitoring and ControlProject Monitoring and Control  Understanding the organization’s business objectives and the project’s information needs based on those organization’s business objectives as well as its own information needs or project’s business objectives, is the first major requirement for establishing the organization’s measurement foundation  Without this, measurement gets reduced to status information that is normally collected through project monitoring and control
  • 29. KI Measurement Pgm Starter Kit - 29Version 3.1© 2008 Kasse Initiatives, LLC MeasurementMeasurement and Analysisand Analysis
  • 30. KI Measurement Pgm Starter Kit - 30Version 3.1© 2008 Kasse Initiatives, LLC Measurement and AnalysisMeasurement and Analysis OverviewOverview  A measurement initiative involves the following:  Specifying the objectives of measurement and analysis such that they are aligned with established information needs and business objectives  Defining the measures to be used, the data collection process, the storage mechanisms, the analysis processes, the reporting processes, and the feedback processes
  • 31. KI Measurement Pgm Starter Kit - 31Version 3.1© 2008 Kasse Initiatives, LLC Sources of Information NeedsSources of Information Needs  The CMMI provides us with some examples of sources of information needs including:  Project plans  Monitoring of project performance  Established management objectives at the organizational level or project level  Strategic plans  Business plans  Formal requirements or contractual obligations  Recurring or other troublesome management or technical problems  Experiences of other projects or organizational entities  External industry benchmarks  Process improvement plans at the organizational and project level
  • 32. KI Measurement Pgm Starter Kit - 32Version 3.1© 2008 Kasse Initiatives, LLC Sources of Information Needs - 2Sources of Information Needs - 2  What is it about the project plans or technical problems or experiences of other projects or external industry benchmarks like CMMI appraisals that suggests an information need?  Have our ongoing project has not been meeting their delivery dates?  Have other projects have not been able to meet the functionality promises that were made?  Have technical problems that have reached production caused significant rework and customer dissatisfaction?
  • 33. KI Measurement Pgm Starter Kit - 33Version 3.1© 2008 Kasse Initiatives, LLC  The initial focus for measurement activities is at the project level, however, a measurement capability may prove useful for addressing organization- and/or enterprise-wide information needs.  Measurement activities should support information needs at multiple levels including the business, organizational unit, and project to minimize re-work as the organization matures. Project, OrganizationProject, Organization and Business Focusand Business Focus
  • 34. KI Measurement Pgm Starter Kit - 34Version 3.1© 2008 Kasse Initiatives, LLC  While establishing measurement objectives, a project/organization should:  Document the purposes for which measurement and analysis is done  Specify the kinds of actions that may be taken based on the results of the data analyses  Continually ask the question – what value will this measurement be to those people who will be asked to supply the raw measurement data and who will receive the analyzed results – “Why are we measuring this?”  Maintain traceability of the proposed measurement objectives to the information needs and business objectives  Ensure business objectives are developed with clear “WHYs” this measure will support the business and quality goals of the organization (SEE NOTES) Establish Measurement ObjectivesEstablish Measurement Objectives
  • 35. KI Measurement Pgm Starter Kit - 35Version 3.1© 2008 Kasse Initiatives, LLC  Example Measurement Objectives for either the organization and/or the project to start with include:  Reduce time to delivery based on historical data indicating late delivery  Deliver specified functionality by a specified increased percentage  Improve prior levels of quality  Improve levels of profit  Improve prior customer satisfaction ratings Establish MeasurementEstablish Measurement Objectives - 2Objectives - 2
  • 36. KI Measurement Pgm Starter Kit - 36Version 3.1© 2008 Kasse Initiatives, LLC  Example Measurement Objectives for either the organization and/or the project with more emphasis on quantitative measures include:  Reduce time to delivery to a specified percentage  Reduce total lifecycle costs of new products by a percentage  Deliver specified functionality by a specified increased percentage  Improve prior levels of quality by reducing the number of defects of type A that get shipped with the product  Improve prior customer satisfaction ratings by a specified percentage compared to past ratings  Refer to Organizational Process Performance SP 1.3 Establish MeasurementEstablish Measurement Objectives - 3Objectives - 3
  • 37. KI Measurement Pgm Starter Kit - 37Version 3.1© 2008 Kasse Initiatives, LLC Project’s Measurement ObjectivesProject’s Measurement Objectives Organization’s Measurement Objectives Customer Demands Competition Demands New Technologies Opportunities Past Project Quality Defects Quality Goals Project’s Measurement Objectives Given Inherited
  • 38. KI Measurement Pgm Starter Kit - 38Version 3.1© 2008 Kasse Initiatives, LLC  Project Managers should develop their project’s measurement objectives from their individual information needs – not one objective for all projects  Reduce open problem reports that come from the field when the product is released through more and better conducted Inspections and formal Unit Testing  Increase defect detection found earlier in the product and system lifecycle through Systems Test in order to reduce the “Time to Delivery”  Increase the number of Peer Reviews in order to reduce the number of defects of Type A that has been shipped in previous releases  Reduce the number of maintenance releases to the field through detection and removal of an increased percentage of Major defects that reduces bottom-line profit  Decrease the defect density of components, products and systems in order to “Reduce the Cost of Poor Quality Example: Project’sExample: Project’s Measurement ObjectivesMeasurement Objectives
  • 39. KI Measurement Pgm Starter Kit - 39Version 3.1© 2008 Kasse Initiatives, LLC Base & Derived MeasuresBase & Derived Measures  Base Measure  A distinct property or characteristic of an entity and the method for quantifying it.  Derived Measure  Data resulting from the mathematical function of two or more base measures.
  • 40. KI Measurement Pgm Starter Kit - 40Version 3.1© 2008 Kasse Initiatives, LLC  Examples of commonly used base measures  Estimates and actual measures of work product size  Estimates and actual measures of effort and cost  Estimates and actuals of environment resources Base MeasuresBase Measures
  • 41. KI Measurement Pgm Starter Kit - 41Version 3.1© 2008 Kasse Initiatives, LLC  Define how data can and will be derived from other measures  Data may be generated from derived measures which are based on combinations of data that were collected for the defined basic measures  Derived measures typically are expressed as ratios, composite indices, or other aggregate summary measures  Derived measures are often more quantitatively reliable and meaningfully interpretable than the base measures used to construct them  Moving from attribute (ordinal or interval data) to continuous or ratio data – SEE NEXT SLIDE! Derived MeasuresDerived Measures
  • 42. KI Measurement Pgm Starter Kit - 42Version 3.1© 2008 Kasse Initiatives, LLC Data TypesData Types Interval data that has an absolute zero Ratio Productivity Defect Density Preparation Rate Cycle Time Size Test Hours Data measured on a scale that has equal intervals IntervalContinuous Data Severity ratings Priority ratings Customer Satisfaction ratings High, Medium, or Low ratings Categories or buckets of data with ordering Ordinal Defect types Language types Customers Document types Categories or buckets of data with no ordering NominalAttribute or Categorical Data ExamplesDescriptionTypes of Data From SEI Designing Products and Processes Using Six Sigma Basic Statistics Reference - 4
  • 43. KI Measurement Pgm Starter Kit - 43Version 3.1© 2008 Kasse Initiatives, LLC  Examples of commonly used derived measures  Earned Value (actual cost of work performed compared to the budgeted cost of work performed)  Schedule Performance Index  Cost Performance Index  Defect density (Defects per Thousand Lines of Code)  Peer review coverage  Test or verification coverage  Usability  Reliability measures (e.g., mean time to failure)  Quality measures (e.g., number of defects by severity/total number of defects) Commonly UsedCommonly Used Derived MeasuresDerived Measures
  • 44. KI Measurement Pgm Starter Kit - 44Version 3.1© 2008 Kasse Initiatives, LLC Specify Data Collection andSpecify Data Collection and Storage ProceduresStorage Procedures  Specify how to collect and store the data for each required measure  Make explicit specifications of how, where, and when the data will be collected  Develop procedures for ensuring that the data collected is valid data  Ensure that the data is stored such that it is easily accessed, retrieved, and restored as needed
  • 45. KI Measurement Pgm Starter Kit - 45Version 3.1© 2008 Kasse Initiatives, LLC Specify Analysis ProceduresSpecify Analysis Procedures  Define the analysis procedures in advance  Ensure that the results that will be fed back are understandable and easily interpretable  Collecting data for the sake of showing an assessor the data is worthless  Showing how it can be used to manage and control the project is what counts
  • 46. KI Measurement Pgm Starter Kit - 46Version 3.1© 2008 Kasse Initiatives, LLC Specify Analysis Procedures - 2Specify Analysis Procedures - 2 Visual Display and Other Presentation Techniques Bar Charts Pie Charts Radar Charts (Kiviat Diagrams) Line Graphs Scatter Diagrams Check Lists Interrelationship Diagraphs SEE Examples of Techniques in Quantitative Management Section
  • 47. KI Measurement Pgm Starter Kit - 47Version 3.1© 2008 Kasse Initiatives, LLC Specify Analysis Procedures - 3Specify Analysis Procedures - 3  Descriptive Statistics  Mean (Average)  Median  Mode  Distributions  Central Tendency  Extent of Variation
  • 48. KI Measurement Pgm Starter Kit - 48Version 3.1© 2008 Kasse Initiatives, LLC X X X X X Data points vary, but as the data accumulates, it forms a distribution which occurs naturally. Location Spread Shape Distributions can vary in: PROBABILITY DISTRIBUTIONS, WHERE DO THEY COME FROM?
  • 49. KI Measurement Pgm Starter Kit - 49Version 3.1© 2008 Kasse Initiatives, LLC CollectCollect Measurement DataMeasurement Data  Collect the measurement data as defined, at the points in the process that were agreed to, according to the time scale established  Generate data for derived measures  Perform integrity checks as close to the source of the data as possible
  • 50. KI Measurement Pgm Starter Kit - 50Version 3.1© 2008 Kasse Initiatives, LLC Analyze the Measurement DataAnalyze the Measurement Data  Conduct the initial analyses  Interpret the results and make preliminary conclusions from explicitly stated criteria  Conduct additional measurement and analyses passes as necessary to gain confidence in the results  Review the initial results with all stakeholders  Prevents misunderstandings and rework  Improve measurement definitions, data collection procedures, analyses techniques as needed to ensure meaningful results that support business objectives
  • 51. KI Measurement Pgm Starter Kit - 51Version 3.1© 2008 Kasse Initiatives, LLC Store the Measurement DataStore the Measurement Data and Analyses Resultsand Analyses Results  The stored information should contain or reference the information needed to:  Understand the measures  Assess them for reasonableness and applicability  The stored information should also:  Enable the timely and cost effective future use of the historical data and results  Provide sufficient context for interpretation of the data, measurement criteria, and analyses results
  • 52. KI Measurement Pgm Starter Kit - 52Version 3.1© 2008 Kasse Initiatives, LLC Communicate theCommunicate the Measurement ResultsMeasurement Results  Keep the relevant stakeholders up-to-date about measurement results on a timely basis  Follow up with those who need to know the results  Increases the likelihood that the reports will be used  Assist the relevant stakeholders in understanding and interpreting the measurement results
  • 53. KI Measurement Pgm Starter Kit - 53Version 3.1© 2008 Kasse Initiatives, LLC Measurement and AnalysisMeasurement and Analysis GroupGroup  Consider creating a measurement group that is responsible for supporting the Measurement and Analysis activities of multiple projects  Typically the measurement group will support the definition, collection, analysis, and presentation of measures that address these measurement objectives and support project estimation and tracking
  • 54. KI Measurement Pgm Starter Kit - 54Version 3.1© 2008 Kasse Initiatives, LLC Measurement and AnalysisMeasurement and Analysis ToolsTools  Incorporate tools used in performing Measurement and Analysis activities such as:  Statistical packages  Database packages  Spreadsheet programs  Graphical or Visualization packages  Packages that support data collection over networks and the internet
  • 55. KI Measurement Pgm Starter Kit - 55Version 3.1© 2008 Kasse Initiatives, LLC Measurement and AnalysisMeasurement and Analysis TrainingTraining  Provide training to all people who will perform or support the Measurement and Analysis process  Data collection, analyses, and reporting processes  Measurement tools  Goal-Question-Metric Paradigm  How to establish measures how to determine efficiency and effectiveness  Quality factors measures (e.g., maintainability, expandability)  Basic and advanced statistical techniques
  • 56. KI Measurement Pgm Starter Kit - 56Version 3.1© 2008 Kasse Initiatives, LLC Exercise 2Exercise 2  In small teams, write down what you think the organization’s Vision, Business Objectives and Measurement Objectives are  Compare the responses from each small team
  • 57. KI Measurement Pgm Starter Kit - 57Version 3.1© 2008 Kasse Initiatives, LLC Basic MeasuresBasic Measures
  • 58. KI Measurement Pgm Starter Kit - 58Version 3.1© 2008 Kasse Initiatives, LLC Basic MeasuresBasic Measures  Estimate Size and/or Complexity - a relative level of difficulty or complexity should be assigned for each size attribute  Examples of attributes to estimate for Systems Engineering include:  Number of logic gates  Number of interfaces  Examples of size measurements for Software Engineering include:  Function Points  Lines of Code  Number of requirements
  • 59. KI Measurement Pgm Starter Kit - 59Version 3.1© 2008 Kasse Initiatives, LLC Basic Measures - 2Basic Measures - 2  Determine effort and cost  Historical data or models are applied to planning parameters to determine the project effort and cost based on the size and complexity estimations  Scaling data should also be applied to account for differing sizes and complexity  Establish the project’s schedule based on the size and complexity estimations  Include, or at least consider, infrastructure needs such as critical computer resources  Identify risks associated with the cost, resources, schedule, and technical aspects of the project  Control data (various forms of documentation) required to support a project in all of its areas.
  • 60. KI Measurement Pgm Starter Kit - 60Version 3.1© 2008 Kasse Initiatives, LLC Basic Measures – 3Basic Measures – 3  Identify the knowledge and skills needed to perform the project according to the estimates  Select and implement methods for providing the necessary knowledge and skills  Training (Internal and External)  Mentoring  Coaching  On-the-job application of learned skills  Monitor staffing needs – based on effort required and the necessary knowledge and skills to achieve the defined tasks
  • 61. KI Measurement Pgm Starter Kit - 61Version 3.1© 2008 Kasse Initiatives, LLC Staff Size (Labor Category) (Experience) Months 2 4 6 8 10 12 14 16 18 20 22 24 26 Total Lost Added Project Staff TurnoverProject Staff Turnover
  • 62. KI Measurement Pgm Starter Kit - 62Version 3.1© 2008 Kasse Initiatives, LLC Basic Measures - 4Basic Measures - 4  Involve relevant stakeholders throughout the product lifecycle  Track technical performance (Completion of activities and milestones against the schedule Example:  Product components designed, constructed, unit tested and integrated  Compare actual milestones completed vs. established commitments  Monitor commitments and critical dependencies against those documented in the project plan
  • 63. KI Measurement Pgm Starter Kit - 63Version 3.1© 2008 Kasse Initiatives, LLC Basic Measures - 5Basic Measures - 5  Track quality – Problems/Defects (open/closed by product/activity)  Problems and defects are direct contributors to the amount of rework that must be performed—a significant cost factor in development and maintenance
  • 64. KI Measurement Pgm Starter Kit - 64Version 3.1© 2008 Kasse Initiatives, LLC Basic Measures - 6Basic Measures - 6  The number and frequency of problems and defects in a product are inversely proportional to its quality  Problems and defects are among the few direct measures of processes and products  Tracking them provides objective insight into trends in discovery rates, repairs, process and product issues, and responsiveness to customers  The measures also provide the foundation for quantifying several of the quality attributes — maintainability, expandability, reliability, correctness, completeness
  • 65. KI Measurement Pgm Starter Kit - 65Version 3.1© 2008 Kasse Initiatives, LLC Basic Measures - 7Basic Measures - 7  Problems and defects are direct contributors to the amount of rework that must be performed— a significant cost factor in development and maintenance  Knowledge of where and how the problems/defects occur will support improvement in methods of detection, prevention, and prediction—all of which will improve cost control
  • 66. KI Measurement Pgm Starter Kit - 66Version 3.1© 2008 Kasse Initiatives, LLC Exercise 3Exercise 3  As a class, develop a definition of rework
  • 67. KI Measurement Pgm Starter Kit - 67Version 3.1© 2008 Kasse Initiatives, LLC Effectiveness ofEffectiveness of ProcessesProcesses
  • 68. KI Measurement Pgm Starter Kit - 68Version 3.1© 2008 Kasse Initiatives, LLC Effectiveness of ProcessesEffectiveness of Processes  In addition to defining the processes that we wish to follow on our project, we need to ensure we are following them and we should be able to determine if the processes are working for us the way we expected them to  How well are the processes working?
  • 69. KI Measurement Pgm Starter Kit - 69Version 3.1© 2008 Kasse Initiatives, LLC Efficiency and EffectivenessEfficiency and Effectiveness Measures for RequirementsMeasures for Requirements  Number of change requests per month compared with the original number of requirements for the project  Critical change requests  Intermediate change requests  Nice to have change requests  Time spent on change requests up until a Y/N decision is given from the Senior Contract group  Number and size of critical change requests that arise after the requirements phase has been completed
  • 70. KI Measurement Pgm Starter Kit - 70Version 3.1© 2008 Kasse Initiatives, LLC Efficiency and EffectivenessEfficiency and Effectiveness Measures for Requirements - 2Measures for Requirements - 2  Impact of the change requests on project progress - effort spent on the change requests versus the amount of effort to execute the original project  Actual cost of processing a change request compared with budgeted or predicted costs  Actually make the change  Filling in the forms  Impact Analysis  Authorization  Replanning
  • 71. KI Measurement Pgm Starter Kit - 71Version 3.1© 2008 Kasse Initiatives, LLC Efficiency and EffectivenessEfficiency and Effectiveness Measures for Requirements - 3Measures for Requirements - 3  Rescheduling  Re-negotiating commitments  SQA effort  SCM effort  Test effort  Number of change requests accepted versus the total number of change requests during the project’s lifetime  Number of change requests accepted but not implemented in a given time frame
  • 72. KI Measurement Pgm Starter Kit - 72Version 3.1© 2008 Kasse Initiatives, LLC Set of StandardSet of Standard OrganizationalOrganizational ProcessesProcesses
  • 73. KI Measurement Pgm Starter Kit - 73Version 3.1© 2008 Kasse Initiatives, LLC Importance of an OrganizationalImportance of an Organizational View of ProcessesView of Processes  Builds a common vocabulary  Allows others to anticipate behavior and be more proactive in their interactions  Allows the organization to measure a controlled set of processes to gain economy of scale  Trends can be seen and predictability can be achieved  Process performance baselines can be developed to support quantitative management later
  • 74. KI Measurement Pgm Starter Kit - 74Version 3.1© 2008 Kasse Initiatives, LLC Organizational MeasurementOrganizational Measurement RepositoryRepository  Develop an organization measurement repository - include:  Product and process measures that are related to the organization’s set of standard processes  The related information needed to understand and interpret the measurement data and asses it for reasonableness and applicability  Develop operational definitions for the measures to specify the point in the process where the data will be collected and for the procedures for collecting valid data
  • 75. KI Measurement Pgm Starter Kit - 75Version 3.1© 2008 Kasse Initiatives, LLC Organizational MeasurementOrganizational Measurement Repository - 2Repository - 2  Examples of classes of commonly used measures include:  Size of work products (lines of code, function or feature points, complexity)  Effort and cost  Actual measures of size, effort, and cost  Quality measures  Work product inspection coverage  Test or verification coverage  Reliability measures
  • 76. KI Measurement Pgm Starter Kit - 76Version 3.1© 2008 Kasse Initiatives, LLC Slightly MoreSlightly More Advanced MeasuresAdvanced Measures
  • 77. KI Measurement Pgm Starter Kit - 77Version 3.1© 2008 Kasse Initiatives, LLC Peer ReviewsPeer Reviews
  • 78. KI Measurement Pgm Starter Kit - 78Version 3.1© 2008 Kasse Initiatives, LLC Defect TypesDefect Types  A Major defect is one that could cause a failure or unexpected result if uncorrected.  For documents it is major if it could cause the user to make a mistake.  A Major Defect can have a negative impact on factors such as:  Cost  Schedule  Performance  Quality  Risk  Customer Satisfaction  Each organization must define for itself what a major defect is in relation to Inspections and Structured Walkthroughs
  • 79. KI Measurement Pgm Starter Kit - 79Version 3.1© 2008 Kasse Initiatives, LLC Defect Types - 2Defect Types - 2  A Minor defect is one that won’t cause a failure or unexpected result if uncorrected.  Economically and/or strategically unimportant to the organization  No serious impact to the product  Inconsistency in format  Spelling or grammar in a project plan
  • 80. KI Measurement Pgm Starter Kit - 80Version 3.1© 2008 Kasse Initiatives, LLC Defect CorrectionDefect Correction  A defect may be identified as Minor and turn out to be Major  Identify and correct Major defects FIRST, to ensure the highest return of error correction  Inspection should be used to increase the probability that all of the defects are identified and corrected to produce the highest quality product
  • 81. KI Measurement Pgm Starter Kit - 81Version 3.1© 2008 Kasse Initiatives, LLC Defect ClassificationDefect Classification  Once a defect is identified as Major or Minor, it should be classified  Categorizes the defect  Provides the rationale for determining if a defect exists  Stratifies the defect data collected for better trend analysis, causal analysis and process improvement
  • 82. KI Measurement Pgm Starter Kit - 82Version 3.1© 2008 Kasse Initiatives, LLC Classification ExamplesClassification Examples  Logic (LO) – Some aspect of logic was omitted or implemented incorrectly in the product  Duplicate Logic  Extreme Conditions Neglected  Unnecessary Function  Missing Condition Test  Computational Problem (CP) – Some aspect of an algorithm was incorrectly coded  Interface (IF) – Some aspect of the software or hardware interfaces does not function properly  Example: Interface defects between two programs, between two systems, or the interface between a user and the system
  • 83. KI Measurement Pgm Starter Kit - 83Version 3.1© 2008 Kasse Initiatives, LLC Classification Examples - 2Classification Examples - 2  Data Handling Problem (DH) – Some aspect of data manipulation was handled incorrectly  Quality Factors (QF) – Quality factors such as reliability, maintainability, expandability or interoperability are not defined or defined incorrectly  Verification and validation activities will not be able to show the system exhibits the quality characteristics that are required  Process Failure (PF) – This defect is a direct result of a failure in the product development process
  • 84. KI Measurement Pgm Starter Kit - 84Version 3.1© 2008 Kasse Initiatives, LLC Classification Examples - 3Classification Examples - 3  Ambiguous (AM) – The statement can be interpreted to mean more than one thing  Requirements or specifications have uncertain or multiple interpretations  Incomplete Item (IC) – The statement or description does not seem to consider all aspects of the situation it attempts to describe  Incorrect Item (IT) – The statement or description is incorrect  Missing Item (MI) – The statement or description that must be included in the document is missing
  • 85. KI Measurement Pgm Starter Kit - 85Version 3.1© 2008 Kasse Initiatives, LLC Classification Examples - 4Classification Examples - 4  Conflicting Items (CF) – Two or more statements or descriptions conflict or contradict each other.  Redundant Items (RD) – The statement repeats another statement and detracts from clarity rather than enhancing it  Illogical Item (IL) – The statement does not make sense in reference to other statements within the same document or other documents to which it refers  Non-Verifiable Item (NV) – The statement (usually a requirement) or functional description cannot be verified by any reasonable testing method
  • 86. KI Measurement Pgm Starter Kit - 86Version 3.1© 2008 Kasse Initiatives, LLC Classification Examples - 5Classification Examples - 5  Unachievable Item (UA) – The statement cannot be true in the reasonable lifetime of the product  Interoperability Problem (IP) – The product or product component is not compatible with other system products or product components  Standards Conformance Problem (ST) – The product or product component does not conform to a standard, where conformance to a particular standard is specified in the requirements
  • 87. KI Measurement Pgm Starter Kit - 87Version 3.1© 2008 Kasse Initiatives, LLC Peer ReviewPeer Review MeasuresMeasures  Optimum Checking Rate (e.g., Number of pages to be checked per hour)  Logging Rate (e.g., Number of major and defects logged per hour)  Number of Major and Minor Defects  Effectiveness - Number of Major Defects found in this stage compared to the total number of defects found so far
  • 88. KI Measurement Pgm Starter Kit - 88Version 3.1© 2008 Kasse Initiatives, LLC Peer ReviewPeer Review Measures - 2Measures - 2  Correct-Fix Rate – the percentage of edit correction attempts which correctly fix a defect and do not introduce any new defects  Default: 83% five out of six correction attempts  Fix-Fail-Rate – the percentage of edit correction attempts which either fail to correct the defect or introduce a new defect  Default: 17% one out of six correction attempts
  • 89. KI Measurement Pgm Starter Kit - 89Version 3.1© 2008 Kasse Initiatives, LLC TestingTesting
  • 90. KI Measurement Pgm Starter Kit - 90Version 3.1© 2008 Kasse Initiatives, LLC Defects Discovered DuringDefects Discovered During TestingTesting  Effectiveness - Number of Major defects found in a particular testing phase or instantiation of a testing phase compared to the total number of defects found during testing  Number of defects projected to escape from the current testing phase
  • 91. KI Measurement Pgm Starter Kit - 91Version 3.1© 2008 Kasse Initiatives, LLC TestTest CoverageCoverage
  • 92. KI Measurement Pgm Starter Kit - 92Version 3.1© 2008 Kasse Initiatives, LLC Test Coverage TerminologyTest Coverage Terminology  Code coverage analysis is the process of  Finding areas of a program not exercised by a set of test cases  Creating additional test cases to increase coverage  Determining a quantitative measure of code coverage, which is an indirect measure of quality  Code coverage analysis is sometimes called test coverage analysis  The terms are most often shortened to simple code coverage or test coverage
  • 93. KI Measurement Pgm Starter Kit - 93Version 3.1© 2008 Kasse Initiatives, LLC Statement CoverageStatement Coverage  Statement coverage measures whether each executable statement is encountered  Block coverage is the same as statement coverage except that the unit of code measured is each sequence of non-branching statements
  • 94. KI Measurement Pgm Starter Kit - 94Version 3.1© 2008 Kasse Initiatives, LLC Statement Coverage - 2Statement Coverage - 2  Do-While loops are considered the same as non-branching statements  Statement coverage is completely insensitive to the logical operators (| | and &&)  Statement coverage cannot distinguish consecutive “switch” labels
  • 95. KI Measurement Pgm Starter Kit - 95Version 3.1© 2008 Kasse Initiatives, LLC Decision CoverageDecision Coverage  Decision coverage measures whether boolean expressions tested in control structures (such as if-statements or while-statements) evaluated to both true and false  The entire boolean expression is considered one true-or-false predicate regardless of whether it contains logical “and” or logical “or” operators  A disadvantage of decision coverage is that this measure branches within boolean expressions which occur due to short-circuit operators
  • 96. KI Measurement Pgm Starter Kit - 96Version 3.1© 2008 Kasse Initiatives, LLC Decision Coverage - 2Decision Coverage - 2 If ( condition1 && (condition2 | | function1())) statement1; Else statement2; This measure could consider the control structure completely exercised without a call to function1 The test expression is true when condition1 is true and condition2 is true The test expression is false when condition1 is false The short circuit operators preclude a call to function1
  • 97. KI Measurement Pgm Starter Kit - 97Version 3.1© 2008 Kasse Initiatives, LLC Condition CoverageCondition Coverage  Condition coverage measures the true or false outcome of each boolean sub-expression  Condition coverage is similar to decision coverage but has better sensitivity to the control flow  However, full condition coverage does not guarantee full decision coverage
  • 98. KI Measurement Pgm Starter Kit - 98Version 3.1© 2008 Kasse Initiatives, LLC Condition Coverage - 2Condition Coverage - 2 Bool f(bool e) {return false;} Bool a[2] = {false, false}; If (f(a && b)) …. If (a [int (a && b) ] ) … If ((a && b) ? False : False) … All three of the if-statements above branch false regardless of the values of a and b However, if you exercise this code with a and b having all possible combinations of values, condition coverage reports full coverage
  • 99. KI Measurement Pgm Starter Kit - 99Version 3.1© 2008 Kasse Initiatives, LLC Multiple Condition CoverageMultiple Condition Coverage  Multiple condition coverage measures whether every possible combination of boolean subexpression occurs  For languages with short circuit operators such as C, C++, and Java, an advantage of multiple condition coverage is that it requires very thorough testing  Multiple condition testing is similar to condition testing
  • 100. KI Measurement Pgm Starter Kit - 100Version 3.1© 2008 Kasse Initiatives, LLC Multiple Condition Coverage - 2Multiple Condition Coverage - 2  A disadvantage of this measure is that is can be difficult to determine the minimum set of test cases required  This measure could also required a varied number of test cases among conditions that have similar complexity a && b && (c | | (d && e)) ((a | | b) && (c | | d) ) && e To achieve full multiple condition coverage, the first condition requires 6 test cases while the second condition requires 11 test cases
  • 101. KI Measurement Pgm Starter Kit - 101Version 3.1© 2008 Kasse Initiatives, LLC Path CoveragePath Coverage  Path coverage measures whether each of the possible paths in each function have been followed  A path is a unique sequence of branches from the function entry to the exit  Possible combinations of logical conditions  Loops introduce an unbounded number of paths  Boundary-interior path testing considers two possibilities for loops – zero repetitions and more than zero  Do-While loops consider two possibilities also – one iteration and more than one iteration
  • 102. KI Measurement Pgm Starter Kit - 102Version 3.1© 2008 Kasse Initiatives, LLC Path Coverage - 2Path Coverage - 2  Path coverage has the advantage of requiring very thorough testing  Path coverage has two disadvantages:  The number of paths is exponential to the number of branches – a function containing 10 if-statements has 1024 paths to test – adding one more doubles the count to 2048  Many paths are impossible to exercise due to relationships of data
  • 103. KI Measurement Pgm Starter Kit - 103Version 3.1© 2008 Kasse Initiatives, LLC Exercise 4Exercise 4  In small team come up with some workable definitions of “Effectiveness of Processes” for:  Configuration Management  Supplier Management  Quality Assurance  Product Integration
  • 104. KI Measurement Pgm Starter Kit - 104Version 3.1© 2008 Kasse Initiatives, LLC Quality Factors,Quality Factors, Quality Criteria,Quality Criteria, andand Quality MetricsQuality Metrics
  • 105. KI Measurement Pgm Starter Kit - 105Version 3.1© 2008 Kasse Initiatives, LLC User oriented view of an aspect of product quality Software oriented characteristics or indicate quality attributes Quantitative measures of characteristics FACTOR CRITERIONCRITERIONCRITERION METRIC METRICMETRIC Software Quality MetricsSoftware Quality Metrics  Software Quality is described through a number of factors (reliability, maintainability)  Each factor has several attributes that describe it called criteria  Each criterion has associated with it several metrics which taken together quantify the criterion
  • 106. KI Measurement Pgm Starter Kit - 106Version 3.1© 2008 Kasse Initiatives, LLC Correctness......................................Does the software comply with the requirements? Efficiency..........................................How much resource is needed? Expandability................................... How easy is it to expand the software? Flexibility.......................................... How easy is it to change it? Integrity.............................................How secure is it? Interoperability.................................Does it interface easily? Manageability...................................Is it easily managed? Maintainability..................................How easy is it to repair? Portability......................................... How easy is it to transport? Usability............................................How easy is it to use? Reliability..........................................How often will it fail? Reusability........................................Is it reusable in other systems? Safety................................................Does it prevent hazards? Survivability..................................... Can it survive during failure? Verifiability....................................... Is performance verification easy? Software Quality The “Ilities” of Software QualityThe “Ilities” of Software Quality
  • 107. KI Measurement Pgm Starter Kit - 107Version 3.1© 2008 Kasse Initiatives, LLC User’s Need for SoftwareUser’s Need for Software QualityQuality User’s Needs User’s Concerns Quality Factors Functional Performance Change Management How secure is it? How often will it fail? Can it survive during failure How easy is it to use? How much is needed in the way of resources? Does it comply with requirements? Does it prevent hazards? Does it interface easily? How easy is it to repair? How easy is it to expand? How easy is it to change? How easy is it to transport? Is it reusable in other systems? Is performance verification easy? Is the software easily managed? INTEGRITY RELIABILITY SURVIVABILITY USABILITY EFFICIENCY CORRECTNESS SAFETY INTEROPERABILITY MAINTAINABILITY EXPANDABILITY FLEXIBILITY PORTABILITY REUSABILITY VERIFIABILITY MANAGEABILITY
  • 108. KI Measurement Pgm Starter Kit - 108Version 3.1© 2008 Kasse Initiatives, LLC Software QualitySoftware Quality FactorsFactors
  • 109. KI Measurement Pgm Starter Kit - 109Version 3.1© 2008 Kasse Initiatives, LLC Quality FactorsQuality Factors Correctness Efficiency Expandability Flexibility Integrity Interoperability Maintainability Manageability  Portability  Reliability  Reusability  Safety  Survivability  Usability  Verifiability
  • 110. KI Measurement Pgm Starter Kit - 110Version 3.1© 2008 Kasse Initiatives, LLC Expandability Modularity Augmentability Modularity Simplicity Self - Descriptiveness Support Generality ExpandabilityExpandability  Expandability deals with the aspects of software maintenance, that is increasing the software’s functionality or performance to meet new needs  Adding a new type of deduction to an existing payroll program  Adding an interface to a new sensor
  • 111. KI Measurement Pgm Starter Kit - 111Version 3.1© 2008 Kasse Initiatives, LLC Expandability - 2Expandability - 2  Fitness for use regarding expandability means that the software was built to be open ended making it easy to modify it to add new capabilities
  • 112. KI Measurement Pgm Starter Kit - 112Version 3.1© 2008 Kasse Initiatives, LLC Maintainability Modularity Completeness Consistency Simplicity Self Descriptiveness Traceability Visibility Modularity MaintainabilityMaintainability  Maintainability deals with the ease of finding and fixing errors  Fitness for use regarding maintainability means that the software is productive through the maintenance lifecycle, covering error detection through the issue of a new release
  • 113. KI Measurement Pgm Starter Kit - 113Version 3.1© 2008 Kasse Initiatives, LLC Portability ModularityIndependence Support Modularity Self Descriptiveness PortabilityPortability  Portability deals with transporting the software to execute on a host processor or operating system different from the one for which it was designed  Recompiling a FORTRAN program on a different computer  Changing the operating system of an existing computer
  • 114. KI Measurement Pgm Starter Kit - 114Version 3.1© 2008 Kasse Initiatives, LLC Portability - 2Portability - 2  Fitness for use regarding portability means that the software may be used on several different operating systems or computers
  • 115. KI Measurement Pgm Starter Kit - 115Version 3.1© 2008 Kasse Initiatives, LLC Usability Operability Training UsabilityUsability  Usability deals with the initial effort required to learn, and the recurring effort to use the functionality of the system
  • 116. KI Measurement Pgm Starter Kit - 116Version 3.1© 2008 Kasse Initiatives, LLC Usability - 2Usability - 2  Usability can be enhanced or degraded by:  The naturalness of the user interface  The readability of documentation  The number of keystrokes required for a given command  Fitness for use regarding usability means that the software is easier to use than not to use
  • 117. KI Measurement Pgm Starter Kit - 117Version 3.1© 2008 Kasse Initiatives, LLC Quality CriteriaQuality Criteria
  • 118. KI Measurement Pgm Starter Kit - 118Version 3.1© 2008 Kasse Initiatives, LLC Quality CriteriaQuality Criteria  Accuracy Achieving required precision in calculations and outputs  Anomaly Management Nondisruptive failure recovery  Augmentability Ease of expansion in functionality and data  Autonomy Degree of decoupling from execution environment  Commonality Use of standards to achieve interoperability  Completeness All software is necessary and sufficient  Consistency Use of standards to achieve uniformity  Distributivity Geographical separation of functions and data
  • 119. KI Measurement Pgm Starter Kit - 119Version 3.1© 2008 Kasse Initiatives, LLC Quality Criteria - 2Quality Criteria - 2  Document Quality Access to complete understandable information  Efficiency of Comm. Economic use of communication resources  Efficiency of Processing Economic use of processing resources  Efficiency of Storage Economic use of storage resources  Functional Scope Range of applicability of a function  Generality Range of applicability of a unit  Independence Degree of decoupling from support environment  Modularity Orderliness of design and Implementation
  • 120. KI Measurement Pgm Starter Kit - 120Version 3.1© 2008 Kasse Initiatives, LLC Quality Criteria - 3Quality Criteria - 3  Operability Ease of operating the software  Safety Management Software design to avoid hazards  Self-descriptiveness Understandability of design and source code  Simplicity Straightforward implementation of functions  Support Functionality supporting the management of changes  System accessibility Controlled access to software and data  System compatibility Ability of two or more systems to work in harmony
  • 121. KI Measurement Pgm Starter Kit - 121Version 3.1© 2008 Kasse Initiatives, LLC Quality Criteria - 4Quality Criteria - 4  Traceability Ease of relating code to requirements and vice versa  Training Provisions to learn how to use the software  Virtuality Logical implementation to represent physical components  Visibility Insight into validity and progress of development
  • 122. KI Measurement Pgm Starter Kit - 122Version 3.1© 2008 Kasse Initiatives, LLC Anomaly ManagementAnomaly Management  The software is said to have Anomaly Management built in if it can detect and recover from such error conditions rather than disrupting processing or halting  The software should be designed for survivability when faced with software or hardware failure
  • 123. KI Measurement Pgm Starter Kit - 123Version 3.1© 2008 Kasse Initiatives, LLC Anomaly Management - 2Anomaly Management - 2  Anomaly Management includes detection and containment of, and recovery from:  Improper input data  Computational failures  Hardware faults  Device failures  Communication errors  Suggestions and questions for achieving required levels of anomaly management:  Does a documented requirements statement exist for the error tolerance of input data?
  • 124. KI Measurement Pgm Starter Kit - 124Version 3.1© 2008 Kasse Initiatives, LLC Anomaly Management - 3Anomaly Management - 3  Is there a range for input values and is this checked?  Are conflicting requests and illegal combinations identified and checked?  Is all input data available for processing and is it checked before processing is begun?  Is there a requirement for recovery from computational failures?  Are there alternative means to continue execution in the presence of errors?
  • 125. KI Measurement Pgm Starter Kit - 125Version 3.1© 2008 Kasse Initiatives, LLC Anomaly Management - 4Anomaly Management - 4  Are loops and multiple index parameters range tested before use?  Are subscripts checked?  Are critical output parameters checked before processing?  Is error checking information included in communications messages?  Do alternate communication routes exist in case of failure of the main path?
  • 126. KI Measurement Pgm Starter Kit - 126Version 3.1© 2008 Kasse Initiatives, LLC Quality MetricsQuality Metrics
  • 127. KI Measurement Pgm Starter Kit - 127Version 3.1© 2008 Kasse Initiatives, LLC Quality Metrics ExamplesQuality Metrics Examples (Reliability)(Reliability)  Reliability  Accuracy checks to see that the results produced by software is within required accuracy tolerances Do mathematical libraries exist for all mathematical calculations to achieve the precision requirements? Count the number of different data representations - the lower the count, the higher the probability of achieving accuracy Count the number of data representation conversions - the lower the count, the higher the probability of achieving accuracy
  • 128. KI Measurement Pgm Starter Kit - 128Version 3.1© 2008 Kasse Initiatives, LLC Quality Metrics ExamplesQuality Metrics Examples (Reliability) -(Reliability) - 22  Reliability  Anomaly Management checks if the system can detect and recover from error conditions rather than disrupting processing or halting? determine if all input values accepted by a module has a range of accepted values and if this is checked before further processing determine if all loop parameters are range tested before execution Do alternate communication paths exist in case of failure of the main path?
  • 129. KI Measurement Pgm Starter Kit - 129Version 3.1© 2008 Kasse Initiatives, LLC Quality Metrics ExamplesQuality Metrics Examples (Reliability)(Reliability) - 3- 3  Reliability - continued  Simplicity can be measured using McCabe’s cyclomatic complexity counting minimum number of statements per module, minimum number of module interfaces, etc. counting the number of Go To's counting nesting levels beyond three  A simple metric is to assess the number of errors per delivered lines of code
  • 130. KI Measurement Pgm Starter Kit - 130Version 3.1© 2008 Kasse Initiatives, LLC Quality Metrics ExamplesQuality Metrics Examples (Portability)(Portability)  Portability  Independence count number of references to underlying operating system count number of expressions dependent on word size count number of calls to software system library routines
  • 131. KI Measurement Pgm Starter Kit - 131Version 3.1© 2008 Kasse Initiatives, LLC Quality Metrics ExamplesQuality Metrics Examples (Portability)(Portability) - 2- 2  Portability - continued  Modularity count number of times local data is accessed from outside the module where it resides count number of times output data is not returned to the calling unit count number of times that units are not separately compilable
  • 132. KI Measurement Pgm Starter Kit - 132Version 3.1© 2008 Kasse Initiatives, LLC Quality Metrics ExamplesQuality Metrics Examples (Portability)(Portability) - 3- 3  Portability - continued  Self-descriptiveness count the number of modules that are written according to organization standards examine the comments on global data definitions - count deviations from standards count the number of decision points and transfers of control that do not have comments provided count the number of Block and Indentation Guidelines that have been violated
  • 133. KI Measurement Pgm Starter Kit - 133Version 3.1© 2008 Kasse Initiatives, LLC Quality Metrics ExamplesQuality Metrics Examples (Portability)(Portability) - 4- 4  Portability - continued  Support count the number of trouble reports closed before Delivery count how many modules are able to be tested through automated testing techniques Does a reuse library exist? count the number or percentage of modules in the library that are reused Does a database of test software exist?
  • 134. KI Measurement Pgm Starter Kit - 134Version 3.1© 2008 Kasse Initiatives, LLC Quantitative ProjectQuantitative Project ManagementManagement
  • 135. KI Measurement Pgm Starter Kit - 135Version 3.1© 2008 Kasse Initiatives, LLC When higher degrees of quality and performance are demanded, the organization and projects must determine if they have the ability to improve the necessary processes to satisfy the increased demands Achieving the necessary quality and process performance objectives requires stabilizing the processes or subprocesses that contribute most to the achievement of the objectives Assuming the technical requirements can be met, the next decision is to determine if it is cost effective QuantitativeQuantitative Management ConceptsManagement Concepts
  • 136. KI Measurement Pgm Starter Kit - 136Version 3.1© 2008 Kasse Initiatives, LLC Path to Maturity Level 4Path to Maturity Level 4
  • 137. KI Measurement Pgm Starter Kit - 137Version 3.1© 2008 Kasse Initiatives, LLC Why Is Early Consideration ofWhy Is Early Consideration of Quantitative ManagementQuantitative Management Important?Important?  Measurements needed for performing quantitative management may (or may not) be different from measurements needed for analysis performed with defined processes  To perform quantitative management, analysis of a history of measurement data is required  Delaying consideration of measurement needs for quantitative management will impact the existing measurement program
  • 138. KI Measurement Pgm Starter Kit - 145Version 3.1© 2008 Kasse Initiatives, LLC Selecting the SubprocessesSelecting the Subprocesses To Be Statistically ManagedTo Be Statistically Managed  Criteria should be established to identify which subprocesses are the main contributors to achieving the identified quality and process performance objectives and for which predictable performance is important  Identify the product and process attributes of the selected subprocesses that will be measured and controlled  Defect density  Cycle time  Test coverage
  • 139. KI Measurement Pgm Starter Kit - 146Version 3.1© 2008 Kasse Initiatives, LLC Understanding VariationUnderstanding Variation Understanding Variation The Key to Managing Chaos Donald J. Wheeler, SPC Press, 2000
  • 140. KI Measurement Pgm Starter Kit - 147Version 3.1© 2008 Kasse Initiatives, LLC Understanding VariationUnderstanding Variation  Understanding variation is achieved by collecting and analyzing process and product measures so that special causes of variation can be identified and addressed to achieve predictable performance  All characteristics of processes and products display variation when measured over time  Variation may be due to  Natural or common causes  Special or “assignable” causes of variation  Understanding and controlling variation is the essence of CMMI Maturity L4 & L5
  • 141. KI Measurement Pgm Starter Kit - 148Version 3.1© 2008 Kasse Initiatives, LLC Common Causes of VariationCommon Causes of Variation  Common causes of variation  Variation in process performance due to normal interaction among the process components (people, machines, material, environment, and methods)  Characterized by a stable and consistent pattern of measured values over time  Variation due to common cause is random but will vary within predictable bounds  Unexpected results are extremely rare  Predictable is synonymous with in control
  • 142. KI Measurement Pgm Starter Kit - 149Version 3.1© 2008 Kasse Initiatives, LLC Florac, W.A. & Carleton, A.D. Measuring the Software Process Addison-Wesley, 1999 X X X X X X X X x X X X X X X X Variation in Measured Values Frequency of Measured Values Time X X X X The Concept of ControlledThe Concept of Controlled VariationVariation
  • 143. KI Measurement Pgm Starter Kit - 150Version 3.1© 2008 Kasse Initiatives, LLC Special Causes of VariationSpecial Causes of Variation  Special or Assignable causes of variation  Arise from events that are not part of the normal process  Represent sudden or persistent abnormal changes due to one or more of the process components inputs to the process environment process steps themselves the way the process steps are executed  Examples of assignable causes of variation include inadequately trained people, tool failures, failures to follow the process
  • 144. KI Measurement Pgm Starter Kit - 151Version 3.1© 2008 Kasse Initiatives, LLC Florac, W.A. & Carleton, A.D. Measuring the Software Process Addison-Wesley, 1999 X X X X X X X X x X X X X X X X X X X X Variation in Measured Values Frequency of Measured Values Time Concept of Uncontrolled orConcept of Uncontrolled or Assignable Causes of VariationAssignable Causes of Variation
  • 145. KI Measurement Pgm Starter Kit - 152Version 3.1© 2008 Kasse Initiatives, LLC Process VariationProcess Variation  Reducing process variation is an important aspect to quantitative management:  It is important to focus on subprocesses that can be controlled to achieve a predictable performance  Statistical process control is often better focused on organizational areas such as Product Lines where there is high similarity of processes, than on the organization’s entire set of products
  • 146. KI Measurement Pgm Starter Kit - 153Version 3.1© 2008 Kasse Initiatives, LLC MeasuresMeasures and Analyticand Analytic TechniquesTechniques
  • 147. KI Measurement Pgm Starter Kit - 154Version 3.1© 2008 Kasse Initiatives, LLC Select Measures and AnalyticSelect Measures and Analytic TechniquesTechniques  Specify the operational definitions of the measures, their collection points in the subprocesses and how the measures will be validated  State specific target measures or ranges to be met for each measured attribute of each selected process  Set up the organizational support environment to support the collection and analysis of statistical measures  Identify the appropriate statistical analysis techniques that are expected to be useful in statistically managing the selected subprocesses
  • 148. KI Measurement Pgm Starter Kit - 155Version 3.1© 2008 Kasse Initiatives, LLC Select Measures andSelect Measures and Analytic Techniques - 2Analytic Techniques - 2  Examples of subprocess control measures include:  Requirements volatility  Ratios of estimated to measured values of the planning parameters  Coverage and efficiency of work product inspections  Test coverage and efficiency  Reliability, Maintainability, and Expandability  Percentage of the total defects inserted or found in the different stages of the lifecycle
  • 149. KI Measurement Pgm Starter Kit - 156Version 3.1© 2008 Kasse Initiatives, LLC Descriptive StatisticsDescriptive Statistics
  • 150. KI Measurement Pgm Starter Kit - 157Version 3.1© 2008 Kasse Initiatives, LLC Basic Statistical TermsBasic Statistical Terms  Mean  Median  Mode  Variance  Central Tendency and Dispersion
  • 151. KI Measurement Pgm Starter Kit - 158Version 3.1© 2008 Kasse Initiatives, LLC MeanMean  Suppose you were given five numbers and asked to find the average or “mean” of those five numbers  1 4 5 8 2  x = 1/5 (1 + 8 + 3 + 6 + 2) = 4  Let xj = an individual value of x --> the mean of any number of values x1, x2, …xn can be represented by  x = 1/n (x1 + x2 + x3 + x4 + ………xn) OR  x = 1/n Σ i=1,n xi  The mean is a measure of central tendency
  • 152. KI Measurement Pgm Starter Kit - 159Version 3.1© 2008 Kasse Initiatives, LLC MedianMedian  The Median is another measure of central tendency  Sort the data by magnitude and the median is the value in the middle  There are as many numbers bigger than the median value as there are smaller  The median is often more illuminating than the average where the occasional value might distort the average
  • 153. KI Measurement Pgm Starter Kit - 160Version 3.1© 2008 Kasse Initiatives, LLC Median - 2Median - 2  Given the following auction figures for buying a house in thousands of dollars 185 190 145 220 1060 200 170  Sorting the numbers yields 145 170 185 190 200 220 1060  The Mean would be 310  The Median would be 190 – a much better indicator  If there are an even number of values – average the middle two values to get the median
  • 154. KI Measurement Pgm Starter Kit - 161Version 3.1© 2008 Kasse Initiatives, LLC ModeMode  The Mode is another measure of central tendency. It means the most common number in the data set 7 8 7 8 8 9 6 5 10 8  Sorting the data into order yields 5 6 7 7 8 8 8 8 9 10  If the numbers represented shoe sizes, the shop owner would probably want to stock the most commonly sold shoes than the average or even median foot size of their customers
  • 155. KI Measurement Pgm Starter Kit - 162Version 3.1© 2008 Kasse Initiatives, LLC VarianceVariance • Two shooters each fire ten shots into a separate target • The shooter on the left has the tighter group but is off- target • The shooter on the right seems to be more on target but is not as good a shot More Precise More Accurate
  • 156. KI Measurement Pgm Starter Kit - 163Version 3.1© 2008 Kasse Initiatives, LLC Variance - 2Variance - 2  There are two separate concepts  Accuracy – The distance between the process average and the target  Precision – The tightness of the grouping
  • 157. KI Measurement Pgm Starter Kit - 164Version 3.1© 2008 Kasse Initiatives, LLC Central TendencyCentral Tendency and Dispersionand Dispersion  Central tendency implies location, the balance point or middle of a group of values  Examples: mean, median  Dispersion implies spread, the distance between values or how much the values tend to differ from one another  Examples: Range, standard deviation
  • 158. KI Measurement Pgm Starter Kit - 165Version 3.1© 2008 Kasse Initiatives, LLC Continuous DistributionContinuous Distribution x1 x2 x3 x4 x5 x6 x7 -∞ +∞ Spread
  • 159. KI Measurement Pgm Starter Kit - 166Version 3.1© 2008 Kasse Initiatives, LLC Statistical TechniquesStatistical Techniques
  • 160. KI Measurement Pgm Starter Kit - 167Version 3.1© 2008 Kasse Initiatives, LLC  Linear Regression Analysis – Used to define the mathematical relationship between an output variable (y) and one or more input variables (x)  Regression models are used to predict the value of the outcome or dependent variable (y) as a function of the value of the input or independent variables (x)  Logistic Regression – Used to predict a discrete or attribute (y) outcome using either continuous or discrete (x) factors  Nominal  Ordinal  Binominal Examples of Statistical TechniquesExamples of Statistical Techniques
  • 161. KI Measurement Pgm Starter Kit - 168Version 3.1© 2008 Kasse Initiatives, LLC  Monte Carlo Simulation (Allows modeling of variables that are uncertain  Can put in a range of values instead of a single value  Analyzes simultaneous effects of many different uncertain variables creating a more realistic analysis  Establishes confidence levels for outcomes  Process Model Simulation – Describe how things must/should/could be done instead of the process itself which describes what really happens  A rough anticipation of what the process will look like Examples of Statistical Techniques - 2Examples of Statistical Techniques - 2
  • 162. KI Measurement Pgm Starter Kit - 169Version 3.1© 2008 Kasse Initiatives, LLC Confidence and PredictionConfidence and Prediction Intervals – ExampleIntervals – Example Regression Depicting Confidence and Prediction Intervals 320 300 280 260 240 220 200 Regression U95%PI L95%PI U95%CI L95% CI Y-Data 2007 Carnegie Mellon University o ooo o o oo oo ooo o o oooo oo o ooo oo 30 32 33 34 35 36 37 38 39 40 41 42 X-Data
  • 163. KI Measurement Pgm Starter Kit - 170Version 3.1© 2008 Kasse Initiatives, LLC Statistical MethodsStatistical Methods
  • 164. KI Measurement Pgm Starter Kit - 171Version 3.1© 2008 Kasse Initiatives, LLC  Hypothesis Testing – Evaluate actual process performance (mean and variation) relative to a standard or specification to:  Determine if differences exist between processes  Verify process improvements by comparing before and after process performance baselines (PPBs) Statistical MethodsStatistical Methods
  • 165. KI Measurement Pgm Starter Kit - 172Version 3.1© 2008 Kasse Initiatives, LLC  Analysis of Variance (ANOVA) – Test for significant differences on more than two group means and estimate the 95% confidence interval of each group mean  Used together with Dummy Variable Regression  Chi Square – Tests for significant differences with attribute or categorical data  Used together with Logistic Regression  Used to verify that data fit into a particular distribution or belong to a family of distributions  Enables you to see if knowledge of one discrete factor is useful in predicting a separate discrete outcome  The presence of such a predictive relationship may be utilized when developing a predictive model Statistical MethodsStatistical Methods
  • 166. KI Measurement Pgm Starter Kit - 173Version 3.1© 2008 Kasse Initiatives, LLC Quantitative Data AnalysisQuantitative Data Analysis Methods and ToolsMethods and Tools
  • 167. KI Measurement Pgm Starter Kit - 174Version 3.1© 2008 Kasse Initiatives, LLC There are a number of quantitative tools considered to be applicable to statistical process or quality control:  Quantifying and Predicting Process Performance Control Charts Histograms  Cause and Effect Relationships Cause-and-effect (fishbone) diagrams Pareto charts Scatter diagrams Interrelationship Diagraphs Run charts Check sheets Bar charts Force Field Diagram Quantitative Data AnalysisQuantitative Data Analysis Methods and ToolsMethods and Tools
  • 168. KI Measurement Pgm Starter Kit - 175Version 3.1© 2008 Kasse Initiatives, LLC Control charts – techniques for quantifying process behavior  Focuses attention on detecting and monitoring process variation over time  Distinguishes special from common causes of variation, as a guide to local or management action  Helps improve a process to perform consistently, and predictably for higher quality, lower cost, and higher effective capacity Control ChartsControl Charts
  • 169. KI Measurement Pgm Starter Kit - 176Version 3.1© 2008 Kasse Initiatives, LLC Control Charts - 2Control Charts - 2  Control Chart Characteristics  Classical control charts have a centerline and control limits on both sides of the centerline  Both the centerline and the limits represent estimates that are calculated from a set of observations collected while the process is running  The centerline and control limits cannot be assigned arbitrarily as they are intended to show what the process can actually do
  • 170. KI Measurement Pgm Starter Kit - 177Version 3.1© 2008 Kasse Initiatives, LLC                                                                                                                                                             Upper Control Limit (UCL) Lower Control Limit (LCL) Upper and Lower Control Limits represent the natural variation In the process Upper and Lower Control Limits represent the natural variation In the process METRIC:PROCESS CONTROL CHART TYPE: Plotted points are either individual measurements or the means of small groups of measurements Plotted points are either individual measurements or the means of small groups of measurements The chart is used for continuous and time control of the process and prevention of causes The chart is used for continuous and time control of the process and prevention of causes The chart is analyzed using standard Rules to define the control status of the process The chart is analyzed using standard Rules to define the control status of the process Data relating to the process Data relating to the process Center Line (CL) (Mean of data used to set up the chart) Statistical Methods for Software Quality Adrian Burr – Mal Owen, 1996 Common Cause Variation Numerical data taken in time sequence Numerical data taken in time sequence
  • 171. KI Measurement Pgm Starter Kit - 178Version 3.1© 2008 Kasse Initiatives, LLC                                                                                                                                                             Upper Control Limit (UCL) Lower Control Limit (LCL) Upper and Lower Control Limits represent the natural variation In the process Upper and Lower Control Limits represent the natural variation In the process METRIC:PROCESS CONTROL CHART TYPE: A point above or below the control lines suggests that the measurement has a special preventable or removable cause A point above or below the control lines suggests that the measurement has a special preventable or removable cause Plotted points are either individual measurements or the means of small groups of measurements Plotted points are either individual measurements or the means of small groups of measurements The chart is used for continuous and time control of the process and prevention of causes The chart is used for continuous and time control of the process and prevention of causes The chart is analyzed using standard Rules to define the control status of the process The chart is analyzed using standard Rules to define the control status of the process Data relating to the process Data relating to the process Center Line (CL) (Mean of data used to set up the chart) Statistical Methods for Software Quality Adrian Burr – Mal Owen, 1996 Special Cause Variation Numerical data taken in time sequence Numerical data taken in time sequence
  • 172. KI Measurement Pgm Starter Kit - 179Version 3.1© 2008 Kasse Initiatives, LLC HistogramsHistograms  Histograms – summarizes data from a process that has been collected over a period of time, and graphically present its frequency distribution in bar form  Show the frequencies of events that have occurred in ways that make it easy to compare distributions and see central tendencies  Illustrates quickly the underlying distribution of the data  Helps indicate if there has been a change in the process  Provides useful information for predicting future performance of the process  Helps answer the question “Is the process capable of meeting my customers requirements?”Florac, W.A. & Carleton, A.D. Measuring the Software Process  Addison-Wesley, 1999
  • 173. KI Measurement Pgm Starter Kit - 180Version 3.1© 2008 Kasse Initiatives, LLC DetermineDetermine SubprocessSubprocess CapabilityCapability
  • 174. KI Measurement Pgm Starter Kit - 181Version 3.1© 2008 Kasse Initiatives, LLC Monitor Performance ofMonitor Performance of Selected SubprocessesSelected Subprocesses  Process capability is analyzed for those subprocesses and those measured attributes for which objectives have been set  A capable process is one that is satisfying its quality and process performance objectives along with the customer requirements or customer specifications and can be expected to satisfy those objectives in the future  Voice of the process  Voice of the customer
  • 175. KI Measurement Pgm Starter Kit - 182Version 3.1© 2008 Kasse Initiatives, LLC Monitor Performance ofMonitor Performance of Selected Subprocesses - 4Selected Subprocesses - 4 Customer Requirements Process Within Requirements or Customer Specifications Process Too Variable Variation – what is the variation or spread of the data? The Memory Jogger II A Pocket Guide of Tools For Continuous Improvement & Effective Planning, Michael Brassard & Diane Ritter, 1994
  • 176. KI Measurement Pgm Starter Kit - 183Version 3.1© 2008 Kasse Initiatives, LLC Stable Process (Process Performance Is Predictable) Quality & Process Performance Meets Customer Requirements Monitor Performance ofMonitor Performance of Selected Subprocesses - 4Selected Subprocesses - 4
  • 177. KI Measurement Pgm Starter Kit - 184Version 3.1© 2008 Kasse Initiatives, LLC Causal AnalysisCausal Analysis TechniquesTechniques
  • 178. KI Measurement Pgm Starter Kit - 185Version 3.1© 2008 Kasse Initiatives, LLC Conduct Causal AnalysisConduct Causal Analysis  Analyze defect data in the processes and associated work products  When a stable process does not meet its specified product quality, service quality, or process performance objectives  During the task, if and when problems demand additional meetings  When a work product exhibits an unexpected deviation from its requirements  Analyze the selected defects and other problems to determine their root causes
  • 179. KI Measurement Pgm Starter Kit - 186Version 3.1© 2008 Kasse Initiatives, LLC Conduct Causal Analysis - 2Conduct Causal Analysis - 2  Examples of methods for determining causes and other relationships that exist among critical issues include:  Cause and Effect (Fishbone Diagrams)  Pareto analysis  Scatter Diagrams  Run charts  Interrelationship Diagraphs  Check Sheets  Bar Charts  Force Fields
  • 180. KI Measurement Pgm Starter Kit - 187Version 3.1© 2008 Kasse Initiatives, LLC Visual DisplayVisual Display and otherand other PresentationPresentation TechniquesTechniques
  • 181. KI Measurement Pgm Starter Kit - 188Version 3.1© 2008 Kasse Initiatives, LLC Cause and EffectCause and Effect Diagrams (Fishbone)Diagrams (Fishbone)  Cause-and-effect (fishbone) diagrams  Allows the project team to identify, explore, and graphically display all of the possible causes related to a problem to discover its root cause  Helps the team to probe for, map, and prioritize a set of factors that are thought to affect a particular process, problem or outcome  Helpful in eliciting and organizing information from people who work within a process and know what might be causing it to perform the way it does  Focuses the project team on causes, not symptoms Florac, W.A. & Carleton, A.D. Measuring the Software Process  Addison-Wesley, 1999
  • 182. KI Measurement Pgm Starter Kit - 189Version 3.1© 2008 Kasse Initiatives, LLC Req’mts Defects Missing Requirement Incorrect Requirement Infeasible Requirement Vague Requirement Customer Requirement Changed Cause and Effect DiagramsCause and Effect Diagrams (Fishbone)(Fishbone)
  • 183. KI Measurement Pgm Starter Kit - 190Version 3.1© 2008 Kasse Initiatives, LLC Exercise 5Exercise 5  Use the Fishbone or “Cause and Effect” visualization technique to determine the most significant causes for lack of adequate Quality Assurance support in most large organizations
  • 184. KI Measurement Pgm Starter Kit - 191Version 3.1© 2008 Kasse Initiatives, LLC Pareto ChartsPareto Charts  Pareto charts – special form of histogram or bar chart  Help focus investigations and solution finding by ranking problems, causes, or actions in terms of their amounts, frequencies of occurrence, or economic consequences  Based on the proven Pareto principle: 20% of the sources cause 80% of any problem  Helps prevent “shifting the problem” where the “solution” removes some causes but worsens others
  • 185. KI Measurement Pgm Starter Kit - 192Version 3.1© 2008 Kasse Initiatives, LLC Pareto ChartsPareto Charts  Percentage of Defects Detected During System Testing by Phase Where Defect Was Injected 50 25 20 5 0 10 20 30 40 50 60 Req'mts Design Code Test
  • 186. KI Measurement Pgm Starter Kit - 193Version 3.1© 2008 Kasse Initiatives, LLC Scatter DiagramsScatter Diagrams  Scatter diagrams – display empirically observed relationships between two process characteristics  A pattern in the plotted points may suggest that the two factors are associated  The scatter diagram does not predict cause and effect relationships between two variables
  • 187. KI Measurement Pgm Starter Kit - 194Version 3.1© 2008 Kasse Initiatives, LLC Scatter DiagramsScatter Diagrams
  • 188. KI Measurement Pgm Starter Kit - 195Version 3.1© 2008 Kasse Initiatives, LLC  Run charts – specialized, time-sequenced form of scatter diagram that can be used to examine data quickly and informally for trends or other patterns that occur over time  Monitors the performance of one or more processes over time to detect trends, shifts, or cycles  Allows a team to compare a performance measure before and after implementation of a solution to measure its impact  Tracks useful information for predicting trends Run ChartsRun Charts
  • 189. KI Measurement Pgm Starter Kit - 196Version 3.1© 2008 Kasse Initiatives, LLC NumberofRequiredChangestoaModule astheProjectApproachesSystemsTest Syntax Check Desk Check Code Review Unit Test Integration and Test Systems Test Run Charts - 2Run Charts - 2
  • 190. KI Measurement Pgm Starter Kit - 197Version 3.1© 2008 Kasse Initiatives, LLC Interrelationship DiagraphsInterrelationship Diagraphs  Interrelationship diagraphs – Allows a team to systematically identify, analyze, and classify the cause and effect relationships that exist among critical issues  Key drivers can become the heart of an effective solution  Encourages team members to think in multiple directions  Allows the key issues to emerge naturally rather than be forced by a dominant member  Allows a team to identify a root cause even when credible data does not exist
  • 191. KI Measurement Pgm Starter Kit - 198Version 3.1© 2008 Kasse Initiatives, LLC What are the issues relating to traffic jams? A- A- Auto  Accidents In= 4  Out=1 B-B- Road Construction In= 0  Out= 2 D-D- Weather Conditions In=2  Out=3 F- F- Mechanical  Breakdown In= 0  Out=2 C-C- Rush Hour  Traffic In= 6  Out= 1 E-E- Cultural  Events In= 2  Out= 2 InterrelationshipsInterrelationships DiagraphDiagraph
  • 192. KI Measurement Pgm Starter Kit - 199Version 3.1© 2008 Kasse Initiatives, LLC Check SheetsCheck Sheets  Check Sheets  Allows a project team to systematically record and compile data from historical sources or observations as they happen Patterns and trends can be clearly detected and shown  Builds, with each observation a clearer picture of the facts as opposed to opinions of the team member  Ensures that recordings are made consistently  Makes patterns in the data become obvious quickly
  • 193. KI Measurement Pgm Starter Kit - 200Version 3.1© 2008 Kasse Initiatives, LLC Check Sheets - 2Check Sheets - 2  Check Sheets - continued  Must agree upon the definition of what is being observed  Data must be collected over a sufficient period of time to be sure the data represents “typical” results during a “typical” cycle for your business
  • 194. KI Measurement Pgm Starter Kit - 201Version 3.1© 2008 Kasse Initiatives, LLC Proof and Checking ErrorsProof and Checking Errors Errors  Classification Book Chapters 31 2 54 Total Spelling Punctuation Missing Information Redundancy Technical Errors Format Errors Incomplete Concepts Total //// // / // // /// /// // /// / // // // / // // //// // / / / / /// /// // // 16 12 6 9 8 3 11 12 11 10 10 54
  • 195. KI Measurement Pgm Starter Kit - 202Version 3.1© 2008 Kasse Initiatives, LLC Bar ChartsBar Charts  Bar Charts  Similar to histograms but are not normally based on measures of continuous variables or frequency counts  Bar charts are defined on discrete values  Bar charts can display numerical value not just counts or relative frequencies Example: Bar charts can be used to display data such as the total size, cost, or elapsed time associated with individual entities Florac, W.A. & Carleton, A.D. Measuring the Software Process  Addison-Wesley, 1999
  • 196. KI Measurement Pgm Starter Kit - 203Version 3.1© 2008 Kasse Initiatives, LLC Bar Charts - 2Bar Charts - 2  Bar Charts - continued  Cell width is irrelevant and there are always gaps between the cells  The concepts of average and standard deviation have no meaning for the independent variable in bar charts that are defined on discrete scales  Medians, modes, and ranges can be used Florac, W.A. & Carleton, A.D. Measuring the Software Process  Addison-Wesley, 1999
  • 197. KI Measurement Pgm Starter Kit - 204Version 3.1© 2008 Kasse Initiatives, LLC Bar ChartBar Chart Injected Found Escaped Reqts analysis Design Code Unit test Component test System test Customer use Defect Analysis Software Activity 45 40 35 30 25 20 15 10 5 0 PercentofDefects
  • 198. KI Measurement Pgm Starter Kit - 205Version 3.1© 2008 Kasse Initiatives, LLC Force FieldsForce Fields  Force Fields – Positives or Negatives of Change  Identifies the forces and factors in place that support or work against the solution of an issue or problem  Positives are reinforced – negatives are reduced or eliminated  Presents the “positives” and “negatives” of a situation so that they are easily compared  Forces people to think together about all the aspects of making the desired change a permanent one  Encourages honest reflection on the real underlying roots of a problem and its solution  Encourages people to agree about the relative priority of factors on each side of the “balance sheet”
  • 199. KI Measurement Pgm Starter Kit - 206Version 3.1© 2008 Kasse Initiatives, LLC Force Fields - 2Force Fields - 2 FearofPublicSpeaking Increases Self-Esteem -> Helps career -> Communicates ideas -> Contributes to a plan/solution -> Encourages others to speak -> Helps others to change -> Increases energy of group -> Helps clarify speaker’s ideas by getting feedback from others -> Helps others to see new perspective -> <- Past Embarrassments <- Afraid to make mistakes <- Lack of knowledge on the topic <- Afraid people will be indifferent <- Afraid people will laugh <- May forget what to say <- Too revealing of personal thoughts <- Afraid of offending group <- Fear that nervousness will show <- Lack of confidence in personal appearance Driving Forces Restraining Forces
  • 200. KI Measurement Pgm Starter Kit - 207Version 3.1© 2008 Kasse Initiatives, LLC SummarySummary  Evolving a Measurement Program for Systems / Software Engineering Process Improvement includes:  Clearly defining the need for a measurement program  Establishing a measurement initiative with objectives that are aligned with established information needs and business objectives  Ensuring basic measures are included for planning, tracking, and taking corrective action as necessary  Incorporating process effectiveness measures  Establishing organizational standard processes
  • 201. KI Measurement Pgm Starter Kit - 208Version 3.1© 2008 Kasse Initiatives, LLC Summary - 2Summary - 2  Establish and utilize measures such as peer review measures, testing measures, and risk management measures  Evolve into project management based on a quantitative understanding of the organization’s and project’s defined processes

Editor's Notes

  1. process - how well process is working product - is product complete; meet user requirements; (e.g., errors in field; compare to performance) project - is project following plan?
  2. The goals provide the foundation for the measurement program. They force those considering measurement to clearly define program requirements in terms of goals/strategic or tactical vision. This ensures that data collection has a purpose and is done according to a process in a methodical manner.
  3. Projects may choose to store project-specific data and results in a project-specific repository. When data are shared more widely across projects, the data may reside in the organization’s measurement repository.
  4. Let us look at an example. An organization’s CEO states that the organization and its projects should meet the delivery time, decrease the cost of poor quality, and meet the functionality promised with each delivery. What is the information need? “Why is there a focus on “Deliver on Time”? Have the projects not been delivering on time in the past and it has become a problem? Is there a market window that when not met causes great financial loss? Are other business units dependent on our project’s prompt delivery? Why make an organizational measurement objective to deliver with the promised functionality? Have projects in the past not been able to deliver on the agreed upon date with the full promised functionality? Is this causing customer dissatisfaction? Is this causing the organization to fall behind its competitors?
  5. Quality and Process Performance Measurement Objectives
  6. Define the criteria for evaluating the utility of the analyzed results – determine: Were the results provided on a timely basis? Were the results understandable? Were the results able to be used in decision making? Did the measurement work submitted provide clear benefits to the decision makers? Was there a significant amount of missing data when the analyses were conducted? Was there a sampling bias? Is the measurement statistically repeatable?
  7. Information typically stored includes the following: Measurement Plans Specifications of measures Sets of data that have been collected Analysis reports and presentations
  8. Development Progress tracking requires that activities/work products have predefined entry and exit criteria Software defect and rework data help determine: the amount and type of resources needed for rework activities; progress made; and the technical quality of the software and the development processes; expected completion date; and the expected resources needed to support delivered software The rest of this module takes a look at each of the basic measures. We will attempt to show some of the potential variations. However, the main focus of this module is to discuss the standardization of the measures/data that is going to be collected. We will use the companion manual which contains some guidance in terms of standardizing data.
  9. Technical approach defines a top-level strategy for development of the products. It includes: Decisions on architectural features such as distributed or client-server systems Robotics Composite materials Geosynchronous versus low-earth-orbit Artificial intelligence Other specialty engineering disciplines such as safety, security and ergonomics Attribute determination depends on the currently available technology Number of logic gates for integrated circuit design Lines of code or function points Complexity of requirements for systems engineering
  10. Risks are analyzed to determine the impact, probability of occurrence , and time-frame in which the problem is likely to occur Data may be: Reports Manuals Notebooks Charts Drawings Specifications Files Correspondence
  11. Select and implement methods for providing the necessary knowledge and skills Training (Internal and External) Mentoring Coaching On-the-job application of learned skills Staffing Ramp up and ramp down by life-cycle phase Handling of resource conflicts
  12. Losses of most concern are those that are unplanned. An additional concern is whether those added are of comparable skill levels to those that have been lost. Turnover is defined as the number of unplanned staff losses during the reporting period. If turnover exceeds 10-15%, the manager should investigate the reasons for the departures. This figure represents the project as a whole. Additional graphs can be drawn for each software component or for each build. The effect of turnover is that knowledge already built up is lost, and re-familiarizing new employees with the project will cause some delays in the schedule
  13. A Stakeholder is a group or individual that is affected by or in some way accountable for the outcome of an undertaking. For each major activity, the stakeholders that are affected by the activity and those who have expertise needed to conduct the activity should be identified Stakeholders in the later phases of the lifecycle should have early input to the requirements and design decisions that affect them Systems Engineering Systems Test Software Quality Assurance Software Configuration Management Documentation Support Database Administration
  14. Development Progress tracking requires that activities/work products have predefined entry and exit criteria Software defect and rework data help determine: the amount and type of resources needed for rework activities; progress made; and the technical quality of the software and the development processes; expected completion date; and the expected resources needed to support delivered software The rest of this module takes a look at each of the basic measures. We will attempt to show some of the potential variations. However, the main focus of this module is to discuss the standardization of the measures/data that is going to be collected. We will use the companion manual which contains some guidance in terms of standardizing data.
  15. The organizational measurement repository must be designed and implemented including: Developing the procedures for storing and retrieving the measures Entering the specified measures Making the people aware of the measurement repository and making the contents available for use throughout the organization Training the people in making effective use of the measures, including how to interpret them for use on their own projects Examples of classes of commonly used measures include: Size of work products (lines of code, function or feature points, complexity) Effort and cost Actual measures of size, effort, and cost Quality measures Work product inspection coverage Test or verification coverage Reliability measures
  16. Revising the measurement repository as: additional process measurement data becomes available processes are revised and new product or process measures are needed finer granularity of data is required greater visibility into the process is required measurements are no longer used or needed
  17. A Major defect is one that could cause a malfunction or unexpected result if uncorrected. For documents it is major if it could cause the user to make a mistake. A Minor defect is one that won’t cause a malfunction or unexpected result if uncorrected. Correct-Fix Rate – the percentage of edit correction attempts which correctly fix a defect and do not introduce any new defects Default: 83% five out of six correction attempts Fix-Fail-Rate – the percentage of edit correction attempts which either fail to correct the defect or introduce a new defect Default: 17% one out of six correction attempts
  18. A – TrueA - True B – TrueB - True C – TrueC - False D – False or TrueD - True E – False or TrueE - False A – TrueA – False B – TrueB - True C – FalseC – False or True D – TrueD – False or True E – TrueE – False or True A – TrueA - True B – TrueB - False C – FalseC – False or True D – FalseD – False or True E – TrueE – False or True
  19. Software quality is based on user needs Operational needs - deals with the use of the software to perform the tasks it was intended to perform Maintenance needs - deals with modifying the software in one way or another to aid the user Operational Needs Functionality deals with what the software does while executing Performance deals with how well it does it Example: Functionality of communication software refers to the ability the software has to transmit and receive interprocessor messages Performance of communication software refers to the rate at which messages can be transmitted and received using it Maintenance Needs Change deals with modifying the software either to correct errors, adapt code to new environments, or add new functionality Management needs deal with planning for change, controlling versions of the software, testing, and installation
  20. Software quality criteria is defined in terms of the characteristics that the software exhibits The next four slides provides the one sentence description of the Software Quality Criteria
  21. Two of the 27 definitions of Software Quality Criteria are presented here to give the participants an idea of the level of detail! The complete set of Software Quality Criteria definitions can be found in the Supplemental Material
  22. Two of the 27 definitions of Software Quality Criteria are presented here to give the participants an idea of the level of detail! The complete set of Software Quality Criteria definitions can be found in the Supplemental Material
  23. The next few slides contain examples of metrics that correspond to the quality factors This is not an attempt to provide a complete list of metrics, but to provide a few of examples to provide the Project Leaders and metrics engineers with hints so they can create their own metrics depending on the quality factors and quality criteria that is required Metrics should be created by examining the Software Quality Criteria checklists provided in the Supplemental Material -&amp;gt; Instructors are encouraged to turn to Software Quality Criteria section in the Companion Manual and review a few more of these. At least point them out to the participants This shows a translation into design activities!!
  24. The next few slides contain examples of metrics that correspond to the quality factors This is not an attempt to provide a complete list of metrics, but to provide a few of examples to provide the Project Leaders and metrics engineers with hints so they can create their own metrics depending on the quality factors and quality criteria that is required Metrics should be created by examining the Software Quality Criteria checklists provided in the Supplemental Material -&amp;gt; Instructors are encouraged to turn to Software Quality Criteria section in the Companion Manual and review a few more of these. At least point them out to the participants This shows a translation into design activities!!
  25. It is important to define and measure your processes with an eye towards improving those processes. The earlier an organization can start collecting and archiving meaningful process data, the easier it will be to perform quantitative management activities.
  26. Process performance measures reflect the effectiveness of the process and/or the effectiveness of following the process. It is a kind of “quality” indicator for the process and/or for following the process. Examples for process performance measures include cycle time, defect removal rate, productivity, severity of defects, peer review coverage, test coverage, change request open time, reliability, defect density, and rework time.
  27. The CMMI is composed of five maturity levels Each maturity level with the exception of Level 1 is composed of several process areas Each process area is organized into five sections called common features The common features specify the practices The practices when viewed collectively should accomplish the goals of the process area This module will discuss each of these topics in detail and get the participants familiar with the physical layout of information in the CMMI Instructors are encouraged to have the participants open their CMMI reference manuals and refer them to it often as you present this module
  28. Histograms Can be used to characterize the observed values of almost any product or process attribute Examples Module size Defect repair time Time between failure Defects found per test or inspection Daily backlogs Histograms can be helpful for revealing differences that have taken place across processes, projects, or times
  29. Examples of methods for selecting defects include: Pareto analysis Histograms Process capability analysis
  30. Histograms Can be used to characterize the observed values of almost any product or process attribute Examples Module size Defect repair time Time between failure Defects found per test or inspection Daily backlogs Histograms can be helpful for revealing differences that have taken place across processes, projects, or times
  31. The project managers have ultimate responsibility for the planning and control of everything related to the project. Thus they must manage the interfaces to external entities that influence the product, staff, or customer. In most organizations, the project manager (as well as the team) must interact with various groups external to the project team, including Quality Assurance Configuration management Senior management Customer The customer may be an actual customer who takes delivery, a marketing group responsible for defining requirements, or another group within the organization who receives the results (e.g., a project is defined as the integration test for a large system could define the customer as the qualification test team Some organizations have established groups external to projects to handle functions such as documentation, validation, final qualification testing… These may also therefore be external groups the project manager needs to interact with.
  32. The project managers have ultimate responsibility for the planning and control of everything related to the project. Thus they must manage the interfaces to external entities that influence the product, staff, or customer. In most organizations, the project manager (as well as the team) must interact with various groups external to the project team, including Quality Assurance Configuration management Senior management Customer The customer may be an actual customer who takes delivery, a marketing group responsible for defining requirements, or another group within the organization who receives the results (e.g., a project is defined as the integration test for a large system could define the customer as the qualification test team Some organizations have established groups external to projects to handle functions such as documentation, validation, final qualification testing… These may also therefore be external groups the project manager needs to interact with.