KI Measurement Program Starter Kit v3.1
Transcript of KI Measurement Program Starter Kit v3.1
KI Measurement KI Measurement Program Starter KitProgram Starter Kit
KI Measurement Pgm Starter Kit - 2Version 3.1© 2008 Kasse Initiatives, LLC
WelcomeWelcome
Wilkommen
Bienvenido
WelKom
Bienvenue
BienvenutoVelkommen
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
MeasurementMeasurementIs It Really Necessary?Is It Really Necessary?
KI Measurement Pgm Starter Kit - 6Version 3.1© 2008 Kasse Initiatives, LLC
At Project Start, Do You Know…?At Project Start, Do You 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
Measurement Measurement and and
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 Metric Goal Question Metric (GQM) (GQM)
ParadigmParadigm
KI Measurement Pgm Starter Kit - 18Version 3.1© 2008 Kasse Initiatives, LLC
The Goal/Question/Metric The 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 importanceto the organization
Characterize the Goals(used to provide insight as tothe achievement of the goals)
The Goal/Question/Metric The Goal/Question/Metric Paradigm - 2Paradigm - 2
MetricsMetrics
QuestionsQuestions
GoalsGoals
Answer the Questions (provide status and trends)
The Goal/Question/MetricFramework is a commonlyUsed structure for theMeasurement process
KI Measurement Pgm Starter Kit - 20Version 3.1© 2008 Kasse Initiatives, LLC
The Goal/Question/Metric The Goal/Question/Metric Paradigm - 3Paradigm - 3
Goal 2
Question 4 Question 5
Goal 1
Question 2ModularityQuestion 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,
and and 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 Analysisvs.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
Measurement Measurement and Analysisand Analysis
KI Measurement Pgm Starter Kit - 30Version 3.1© 2008 Kasse Initiatives, LLC
Measurement and Analysis Measurement 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, Organization Project, 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 Measurement Establish 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 Measurement Establish 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 OpportunitiesPast Project
Quality DefectsQuality Goals
Project’s Measurement
ObjectivesG
iven
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’s Example: 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
ProductivityDefect DensityPreparation RateCycle TimeSizeTest Hours
Data measured on a scale that has equal intervals
IntervalContinuous Data
Severity ratingsPriority ratingsCustomer Satisfaction ratingsHigh, Medium, or Low ratings
Categories or buckets of data with ordering
Ordinal
Defect typesLanguage typesCustomersDocument types
Categories or buckets of data with no ordering
NominalAttribute or Categorical Data
ExamplesDescriptionTypes of Data
From SEI Designing Products and Processes Using Six SigmaBasic 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 Used Commonly Used Derived MeasuresDerived Measures
KI Measurement Pgm Starter Kit - 44Version 3.1© 2008 Kasse Initiatives, LLC
Specify Data Collection and Specify 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 TechniquesBar ChartsPie ChartsRadar Charts (Kiviat Diagrams)Line GraphsScatter DiagramsCheck ListsInterrelationship 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
Collect Collect 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 Data and Store the Measurement Data and Analyses ResultsAnalyses 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 the Communicate 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 Analysis GroupMeasurement and Analysis Group
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 Analysis ToolsMeasurement and Analysis Tools
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 Analysis Measurement 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)
Months2 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 - 4 Basic 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 of Effectiveness 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 Effectiveness Efficiency 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 Effectiveness Measures Efficiency and Effectiveness Measures for Requirements - 2for 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 Effectiveness Measures Efficiency and Effectiveness Measures for Requirements - 3for 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 Standard Set of Standard Organizational Organizational
ProcessesProcesses
KI Measurement Pgm Starter Kit - 73Version 3.1© 2008 Kasse Initiatives, LLC
Importance of an Organizational Importance 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 Measurement Organizational 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 Measurement Organizational 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 More Slightly 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 ReviewMeasuresMeasures
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 ReviewMeasures - 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 During TestingDefects Discovered During Testing
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
TestTestCoverageCoverage
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 bHowever, 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,
andandQuality MetricsQuality Metrics
KI Measurement Pgm Starter Kit - 105Version 3.1© 2008 Kasse Initiatives, LLC
User oriented view ofan aspect of product
quality
Software orientedcharacteristics or
indicatequality attributes
Quantitative measuresof 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 Quality The “Ilities” of Software Quality
KI Measurement Pgm Starter Kit - 107Version 3.1© 2008 Kasse Initiatives, LLC
User’s Need for Software QualityUser’s Need for Software Quality
User’s Needs User’s Concerns Quality FactorsFunctional
Performance
Change
Management
How secure is it?How often will it fail?Can it survive during failureHow 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?
INTEGRITYRELIABILITYSURVIVABILITYUSABILITY
EFFICIENCYCORRECTNESSSAFETYINTEROPERABILITY
MAINTAINABILITYEXPANDABILITYFLEXIBILITYPORTABILITYREUSABILITY
VERIFIABILITYMANAGEABILITY
KI Measurement Pgm Starter Kit - 108Version 3.1© 2008 Kasse Initiatives, LLC
Software Quality Software Quality FactorsFactors
KI Measurement Pgm Starter Kit - 109Version 3.1© 2008 Kasse Initiatives, LLC
Quality FactorsQuality Factors
CorrectnessEfficiencyExpandabilityFlexibilityIntegrityInteroperabilityMaintainabilityManageability
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
SelfDescriptiveness
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 SelfDescriptiveness
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 Examples Quality 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 Examples Quality 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 Examples Quality Metrics Examples (Reliability)(Reliability) - - 33
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 Examples Quality 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 Examples Quality 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 Examples Quality 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 Examples Quality 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 Project Quantitative 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 demandsAchieving the necessary quality and process performance objectives requires stabilizing the processes or subprocesses that contribute most to the achievement of the objectivesAssuming the technical requirements can be met, the next decision is to determine if it is cost effective
Quantitative Management Quantitative Management ConceptsConcepts
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 of Why Is Early Consideration of Quantitative Management Important?Quantitative Management 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 Subprocesses Selecting 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 VariationUnderstanding Variation
The Key to Managing ChaosDonald 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, LLCFlorac, W.A. & Carleton, A.D. Measuring the Software Process
Addison-Wesley, 1999
X X X X
X X X X
xX X X
X X X X
Variation inMeasured Values
Frequency of
Measured Values Time
X X X X
The Concept of Controlled The 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 inMeasured Values
Frequency of
Measured Values
Time
Concept of Uncontrolled or Concept 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
Measures Measures and Analytic and Analytic TechniquesTechniques
KI Measurement Pgm Starter Kit - 154Version 3.1© 2008 Kasse Initiatives, LLC
Select Measures and Analytic Select 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 and Analytic Select Measures and Analytic Techniques - 2Techniques - 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
Median Median
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 - 2 Median - 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 Tendency Central 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 Prediction Intervals – Confidence and Prediction Intervals – ExampleExample
Regression Depicting Confidence and Prediction Intervals
320
300
280
260
240
220
200
Regression
U95%PI
L95%PI
U95%CI
L95% CI
Y- D
ata
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 AnalysisMethods and Tools Methods 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 Analysis Quantitative 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
UpperControlLimit(UCL)
LowerControlLimit(LCL)
Upper andLower
Control Limitsrepresent the
natural variationIn the process
METRIC:PROCESS CONTROL CHART TYPE:
Plotted points are eitherindividual measurements or the
means of small groups ofmeasurements
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
Datarelating to
the process
Center Line (CL)(Mean of data used toset up the chart)
Statistical Methods for Software QualityAdrian Burr – Mal Owen, 1996
Common Cause Variation
Numerical data takenin time sequence
KI Measurement Pgm Starter Kit - 178Version 3.1© 2008 Kasse Initiatives, LLC
UpperControlLimit(UCL)
LowerControlLimit(LCL)
Upper andLower
Control Limitsrepresent the
natural variationIn the process
METRIC:PROCESS CONTROL CHART TYPE:
A point above or below thecontrol lines suggests that the
measurement has a specialpreventable or removable cause
Plotted points are eitherindividual measurements or the
means of small groups ofmeasurements
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
Datarelating to
the process
Center Line (CL)(Mean of data used toset up the chart)
Statistical Methods for Software QualityAdrian Burr – Mal Owen, 1996
Special Cause Variation
Numerical data takenin 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
Determine Determine Subprocess CapabilitySubprocess Capability
KI Measurement Pgm Starter Kit - 181Version 3.1© 2008 Kasse Initiatives, LLC
Monitor Performance of Monitor 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 of Selected Monitor Performance of Selected Subprocesses - 4Subprocesses - 4
CustomerRequirements
Process Within
Requirementsor Customer
Specifications
Process Too Variable
Variation – what is the variation or spread ofthe data?
The Memory Jogger II A Pocket Guide of ToolsFor 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 CustomerRequirements
Monitor Performance of Monitor Performance of Selected Subprocesses - 4Selected Subprocesses - 4
KI Measurement Pgm Starter Kit - 184Version 3.1© 2008 Kasse Initiatives, LLC
Causal Analysis Causal 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 Display Visual Display and otherand other
Presentation TechniquesPresentation Techniques
KI Measurement Pgm Starter Kit - 188Version 3.1© 2008 Kasse Initiatives, LLC
Cause and Effect Cause 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’mtsDefects
MissingRequirement
IncorrectRequirement
InfeasibleRequirement
VagueRequirement
CustomerRequirement Changed
Cause and Effect Diagrams Cause 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
2520
5
0102030405060
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
Num
ber o
f Req
uire
d C
hang
es to
a M
odul
e a
s th
e Pr
ojec
t App
roac
hes
Syst
ems
Test
SyntaxCheck
DeskCheck
CodeReview
UnitTest
Integrationand Test
SystemsTest
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
AccidentsIn= 4 Out=1 B-B- Road
ConstructionIn= 0 Out= 2
D-D- WeatherConditions
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
InterrelationshipsInterrelationshipsDiagraph Diagraph
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
Reqtsanalysis
Design Code Unittest
Componenttest
Systemtest
Customeruse
Defect Analysis
Software Activity
45
40
35
30
25
20
15
10
5
0
Perc
ent o
f Def
ects
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 - 2Fe
ar o
f Pub
lic S
peak
ing 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