• No results found

Assessing Quality Processes with ODC COQUALMO

N/A
N/A
Protected

Academic year: 2021

Share "Assessing Quality Processes with ODC COQUALMO"

Copied!
18
0
0

Loading.... (view fulltext now)

Full text

(1)

Ray Madachy, Barry Boehm

USC Center for Systems and Software Engineering

{madachy, boehm}@usc.edu

2008 International Conference on Software Process

May 10, 2008

Assessing Quality Processes with

ODC COQUALMO

(2)

Introduction

Cost, schedule and quality are highly correlated factors in

software processes.

In recognition, the COnstructive QUALity MOdel

(COQUALMO) was created to predict defects as an

extension of the COCOMO II software cost model

Supports cost/schedule/quality tradeoff analyses

ODC COQUALMO is a further extension that predicts

software defects introduced and removed classifying

them with Orthogonal Defect Classification (ODC) defect

types

ODC COQUALMO is initially targeted to support critical

NASA flight projects on the Constellation program *

* This work was partially sponsored by NASA AMES Software Risk Advisory Tools Cooperative Agreement No. NNA06CB29A

(3)

COQUALMO is a COCOMO extension that predicts

the number of residual defects in a software product

[Chulani, Boehm 1999]

Uses COCOMO II cost estimation inputs with defect

removal parameters to predict the numbers of generated, detected and remaining defects for requirements, design and code

Enables 'what-if' analyses that demonstrate the

impact of

Defect removal techniques for automated analysis, peer reviews, and execution testing on defect types

Effects of personnel, project, product and platform characteristics on software quality

Provides insights into

Assessment of payoffs for quality investments

(4)

ODC

COQUALMO

Overview

COCOMO II ODC COQUALMO Defect Removal Model Software size Software product, process, platform and personnel attributes

Defect removal capability levels

Automated analysis

Peer reviews

Execution testing and tools

Software development effort and schedule

Number of residual defects

Defect Introduction

Model

Defect density per unit of size

RequirementsCorrectness CompletenessConsistencyAmbiguity/TestabilityDesignInterfaceTimingClass/Object/FunctionMethod/Logic/AlgorithmData Values/InitializationChecking

Code (same 6 types as Design)

COQUALMO extensions to COCOMO II in red

(5)

COQUALMO Defect Removal Rating Scales

- Top Level

Highly advanced tools, model-based test More advance test tools, preparation. Dist-monitoring Well-defined

test seq. and basic test coverage tool system Basic test Test criteria based on checklist Ad-hoc test and debug No testing Execution Testing and Tools Extensive review checklist Statistical control Root cause analysis, formal follow Using historical data Formal review roles and Well-trained people and basic checklist Well-defined preparation, review, minimal follow-up Ad-hoc informal walk-through No peer review Peer Reviews Formalized specification, verification. Advanced dist-processing More elaborate req./design Basic dist-processing Intermediate-level module Simple req./design Compiler extension Basic req. and

design consistency Basic compiler capabilities Simple compiler syntax checking Automated Analysis Extra High Very High High Nominal Low Very Low

(6)

ODC Extension

ODC COQUALMO decomposes defects using ODC

categories [Chillarege et al. 1992]

Enables tradeoffs of different detection efficiencies for the removal practices per type of defect

The ODC taxonomy provides well-defined criteria

for the defect types and has been successfully

applied on NASA projects

ODC defects are mapped to operational flight risks

With more granular defect definitions, ODC

COQUALMO enables tradeoffs of different

detection efficiencies for the removal practices per

type of defect.

(7)

ODC Defect Categories

Requirements

Correctness

Completeness

Consistency

Ambiguity/Testability

Design/Code

Interface

Timing

Class/Object/Function

Method/Logic/Algorithm

Data Values/Initialization

Checking

• Data collection forms with detailed definitions and examples available from USC

(8)

Defect Types Matter to User

no defects affect operations

Aerobic Mode: Biking Mode:

2 defects / 7 machines

Running Mode:

(9)

Supports Value-Based Perspective

Motivations

V&V techniques have different detection

efficiencies for different types of defects

Effectiveness may vary over the lifecycle

Different defect types have different flight risk

impacts

Scarce V&V resources to optimize

V&V methods may have overlapping capabilities

for detecting defects

ODC COQUALMO with other tools can help

quantify the best combination of V&V

(10)

Complementary Risk Techniques

V&V processes are designed and optimized

with ODC COQUALMO by integrating it with

different risk minimization techniques

For NASA we have demonstrated linkage

with machine learning [Menzies,

Richardson 2005] , strategic optimization

and JPL’s Defect Detection and Prevention

(DDP) risk management method

Can determine the impact of V&V techniques on

(11)

Defect Calibrations

The initial ODC defect distribution pattern is per JPL rover

studies [Lutz and Mikulski 2003]

A rigorous two round Delphi survey was completed to

quantify ODC defect detection efficiencies, gauging the

effect of different defect removal techniques against the

ODC categories (example defect detection efficiencies

below)

V&V Technique and Defect Type Very Low Low Nominal High Very High Extra High

Automated Analysis Requirements Ambiguity/Testability 0.021 0.057 0.293 0.400 0.514 0.621 Completeness 0.014 0.079 0.314 0.400 0.500 0.593 Consistency 0.014 0.043 0.316 0.451 0.581 0.736 Correctness 0.007 0.086 0.279 0.386 0.486 0.571 Design/Code Checking 0.014 0.119 0.347 0.504 0.646 0.779 Class/Object/Function 0.064 0.197 0.330 0.470 0.589 0.707 Data Values/Initialization 0.086 0.246 0.371 0.533 0.656 0.743 Interface 0.043 0.159 0.296 0.430 0.544 0.636

(12)

Sample Defect Removal Profiles

Note differences between methods for specific defect types (e.g. completeness, timing) 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%

Very Low Low Nominal High Very High Extra High

Peer Reviews Rating

D e fe c t D e tect io n E ff ic ie n cy (% o f D e fe c ts Foun d ) Ambiguity/Testability Completeness Consistency Correctness Checking Class/Object/Function Data Values/Initialization Interface Method/Logic/Algorithm Timing 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%

Very Low Low Nominal High Very High Extra High

Execution and Tools Rating

D e fect D e tect io n E ff ici en cy (% o f D e fect s Fo u n d ) Ambiguity/Testability Completeness Consistency Correctness Checking Class/Object/Function Data Values/Initialization Interface Method/Logic/Algorithm Timing

(13)
(14)

ODC COQUALMO Defect Outputs

1501 653 483 131 495 783 1566 1566 1174 1957 1338 582 431 116 442 742 1484 1484 1113 163 71 52 14 54 41 82 82 62 0 500 1000 1500 2000 2500 Requirements - Correctness Requirements - Completeness Requirements - Consistency Requirements - Ambiguity/Testability Requirements - Requirements Enhancement Design - Interface Design - Timing Design - Class/Object/Function Design - Method/Logic/Algorithm Type # Defects Introduced Removed Remaining

(15)

Dynamic ODC COQUALMO

Portion for Requirements Completeness defects only

requirements detection start time

completeness defects

completeness defect generation rate

total completeness defects

completeness defect fraction

completness defect detection rate

completeness defects found

~

execution testing and tools completeness defect detection effic composite completness

defect detection efficiency

~

peer reviews

completeness defect detection efficiency

~

automated analysis

completeness defect detection efficiency

requirements defect generation elaboration function

requirements defect detection elaboration function

~

requirements defect multiplier requirements

defect fraction

Continuous simulation version using system dynamics models defect generation and detection rates over time

Can be used for interactive training to assess decisions midstream or suitable for continuous usage on a project when updated with actuals

(16)

Dynamic ODC COQUALMO

Sample Output

Effect on Code Timing Defects when applying increased V&V for Execution Testing and Tools at 18 months:

(17)

Conclusions and Ongoing Work

Software estimation models can play an important role

in facilitating the right balance of activities to meet

project goals

ODC COQUALMO can be used in different ways to reason about and optimize V&V processes

We are recalibrating ODC COQUALMO with a

combination of empirical data and Delphi survey

results

Includes specialized calibrations with some CSSE industrial affiliates for other domains

Continuing to tailor the model for NASA flight projects

Analyzing empirical case studies and data from manned and unmanned NASA flight projects, as well as other USC-CSSE industrial affiliates who serve as contractors on space projects

Integrating the model with complementary techniques

(18)

References

[Chulani, Boehm 1999] Chulani S, Boehm B, “Modeling software defect introduction and removal: COQUALMO

(COnstructive QUALity MOdel)”, USC-CSE Technical Report 99-510, 1999

[Chillarege et al. 1992] R. Chillarege, I. Bhandari, J. Chaar, M. Halliday, D. Moebus, B. Ray, and M. Wong,

"Orthogonal Defect Classification -- A Concept for In-Process Measurements," IEEE Transactions on Software Engineering, vol. 18, no. 11, pp. 943-956, November 1992

[Lutz, Mikulski 2003] Lutz R, Mikulski I, “Final Report: Adapting ODC for Empirical Analysis of Pre-Launch

Anomalies”, version 1.2, JPL Caltech report, December 2003

[Menzies, Richardson 2005] Menzies, T., and Richardson J.: “XOMO: Understanding Development Options for Autonomy”, In: 20th International Forum on COCOMO and Software cost Modeling, USC, 2005

References

Related documents

Each program shall include in its protocol written admission and readmission criteria for determining clients' eligibility and suitability for treatment.. These criteria

1. Even though you may think you understand the text, when you come to answer the questions you may often find your understanding incomplete. The true test of

Bundle package for Universities and Technical Colleges with the ability to install up to and including 20 copies (any combination) of any application in the MeasurLink 8 suite

In a 2006 article, Cotter et al attempted to answer the question: “Is antiretroviral therapy during pregnancy associated with an increased risk of preterm delivery, low birth

The aim of this article is to plot an itinerary over three movies representative of Cinema Novo: Deus e o diabo na terra do Sol (1964), Macunaíma (1969), and Como era gostoso o

The legitimacy theory and its ability to add insight to use of social and environmental disclosure has been tested in several studies using different methods to examining

performance in the current sample was composed of the following PBM sub-scores: Airplane Tracking Task Average Distance Z-score, the Vertical Tracking Task Average Distance Z-score,

In a second step, consistent with the seminal work of Burt (2000) investigating the business perspective of individual senior managers (with the often cited illustrative case