Metrics for Process and Projects

Slides:



Advertisements
Similar presentations
Software Engineering: A Practitioner’s Approach Chapter 25 Process and Project Metrics copyright © 1996, 2001, 2005 R.S. Pressman & Associates, Inc.
Advertisements

These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Project Estimation: Metrics and Measurement
COSC 4406 Software Engineering
Chapter 4 Software Process and Project Metrics
1 Estimating Software Development Using Project Metrics.
Metrics. A Good Manager Measures measurement What do we use as a basis? size? size? function? function? project metrics process metrics process product.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Chapter 4 Software Process and Project Metrics
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Chapter 22 Process and Project Metrics
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Process and Project Metrics
SOFTWARE METRICS FOR PROCESS AND PROJECTS LECTURE NOTES 3
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Metrics for Process and Projects
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Software Metrics.
Metrics Project and Process Metrics. Why do we measure? Assessing project status Allows us to track risks Before they go critical Adjust workflow See.
Software Engineering II - Topic: Software Process Metrics and Project Metrics Instructor: Dr. Jerry Gao San Jose State University
A Good Manager Measures
Software Process and Product Metrics
Project Metrics Infsy 570 Dr. R. Ocker.
Software Engineering Software Process and Project Metrics.
Chapter 6 : Software Metrics
Product Metrics An overview. What are metrics? “ A quantitative measure of the degree to which a system, component, or process possesses a given attribute.”
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
CS460 © 2003 Ray S. Babcock Metrics The term metrics refers to any measurement related to software development. ● Lines of Code ● number of defects ● defects.
1 Chapter 4 Software Process and Project Metrics.
Software Project Management Lecture # 3. Outline Chapter 22- “Metrics for Process & Projects”  Measurement  Measures  Metrics  Software Metrics Process.
Software Metrics – part 2 Mehran Rezaei. Software Metrics Objectives – Provide State-of-art measurement of software products, processes and projects Why.
Lecture 4 Software Metrics
Chapter 9 Project Management. Introduction Effective project management requires a well-structured project and diligent oversight A well-structured project.
Estimation - Software Metrics Managers frequently have to measure the productivity of software engineers.
Computing and SE II Chapter 15: Software Process Management Er-Yu Ding Software Institute, NJU.
Chapter 3: Software Project Management Metrics
1 Software Engineering: A Practitioner’s Approach Chapter 25 Process and Project Metrics Software Engineering: A Practitioner’s Approach Chapter 25 Process.
Software Engineering B.Tech IT/II Sem-II Term: Unit-7 PPT SLIDES Text Books:1.Software Engineering, A practitioner’s approach Roger s. Pressman.
SOFTWARE PROCESS AND PROJECT METRICS. Topic Covered  Metrics in the process and project domains  Process, project and measurement  Process Metrics.
Hussein Alhashimi. “If you can’t measure it, you can’t manage it” Tom DeMarco,
Advanced Software Engineering Lecture 4: Process & Project Metrics.
Chapter 22 Metrics for Process and Projects Software Engineering: A Practitioner’s Approach 6 th Edition Roger S. Pressman.
Software Project Management Lecture # 3. Outline Metrics for Process and Projects  Introduction  Software Metrics Process metrics Project metrics Direct.
1 These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
1 Software Engineering: A Practitioner’s Approach Chapter 25 Process and Project Metrics Software Engineering: A Practitioner’s Approach Chapter 25 Process.
Chapter 22 Process and Project Metrics
Software Engineering B.Tech Ii csE Sem-II
Software Engineering (CSI 321)
Chapter 4 Software Process and Project Metrics
Software Project Sizing and Cost Estimation
Why Do We Measure? assess the status of an ongoing project
For University Use Only
Why Do We Measure? assess the status of an ongoing project
Chapter 25 Process and Project Metrics
Software Engineering: A Practitioner’s Approach, 6/e Chapter 22 Process and Project Metrics copyright © 1996, 2001, 2005 R.S. Pressman & Associates,
Software metrics.
Process and Project Metrics
Why Do We Measure? assess the status of an ongoing project
Process and Project Metrics
Why Do We Measure? assess the status of an ongoing project
Chapter 32 Process and Project Metrics
Chapter 22 Process and Project Metrics
Metrics for Process and Projects
Presentation transcript:

Metrics for Process and Projects Course Instructor: Aisha Azeem

A Good Manager Measures process process metrics project metrics measurement product metrics product What do we use as a basis? • size? • function?

Why Do We Measure? assess the status of an ongoing project track potential risks uncover problem areas before they go “critical,” adjust work flow or tasks, evaluate the project team’s ability to control quality of software work products.

Process Measurement We measure the efficacy of a software process indirectly. That is, we derive a set of metrics based on the outcomes that can be derived from the process. Outcomes include measures of errors uncovered before release of the software defects delivered to and reported by end-users work products delivered (productivity) human effort expended calendar time expended schedule conformance We also derive process metrics by measuring the characteristics of specific software engineering tasks.

Cont . . . Provides a mechanism for objective evaluation Assists in Estimation Quality control Productivity assessment Project Control Tactical decision-making Acts as management tool

Process Metrics Quality-related Productivity-related focus on quality of work products and deliverables Productivity-related Production of work-products related to effort expended Statistical SQA data error categorization & analysis Defect removal efficiency propagation of errors from process activity to activity Reuse data The number of components produced and their degree of reusability

Project Metrics used to minimize the development schedule by making the adjustments necessary to avoid delays and mitigate potential problems and risks used to assess product quality on an ongoing basis and, when necessary, modify the technical approach to improve quality. every project should measure: inputs—measures of the resources (e.g., people, tools) required to do the work. outputs—measures of the deliverables or work products created during the software engineering process. results—measures that indicate the effectiveness of the deliverables.

Typical Project Metrics Effort/time per software engineering task Errors uncovered per review hour Scheduled vs. actual milestone dates Changes (number) and their characteristics Distribution of effort on software engineering tasks

Metrics in the Process and Project Domains Process metrics are collected across all projects and over long periods of time Project metrics enable a software project manager to Assess the status of an ongoing project Track potential risks Uncover problem areas before they go “critical” Adjust work flow or tasks Evaluate the project team’s ability to control quality of software work products

Process Metrics and Software Process Improvement Product Technology People Process Customer characteristics Business conditions Development environment Fig: Determinants for s/w quality and organizational effectiveness

Process Metrics and Software Process Improvement There are “private and public” uses for different types of process data Software metrics etiquette Use common sense and organizational sensitivity when interpreting metrics data Provide regular feedback to the individuals and teams who collect measures and metrics Don’t use metrics to appraise individuals

Cont. . . Software metrics etiquette (contd.) Work with practitioners and teams to set clear goals and metrics that will be used to achieve them Never use metrics to threaten individuals or teams Metrics data that indicate a problem area should not be considered “negative”. These data are merely an indicator for process improvement Don’t obsess on a single metric to the exclusion of other important metrics

Cont . . . Statistical Software Process Improvement (SSPI) Error Some flaw in a s/w engineering work product that is uncovered before the s/w is delivered to the end-user Defect A flaw that is uncovered after delivery to the end-user

Software Measurement S/W measurement can be categorized in two ways: Direct measures of the s/w process (e.g., cost and effort applied) and product (e.g., lines of code (LOC) produced, etc.) Indirect measures of the product (e.g., functionality, quality, complexity, etc.) Requires normalization of both size- and function-oriented metrics

Size-Oriented Metrics Lines of Code (LOC) can be chosen as the normalization value Example of simple size-oriented metrics Errors per KLOC (thousand lines of code) Defects per KLOC $ per KLOC Pages of documentation per KLOC

Cont . . . Controversy regarding use of LOC as a key measure According to the proponents LOC is an “artifact” of all s/w development projects Many existing s/w estimation models use LOC or KLOC as a key input According to the opponents LOC measures are programming language dependent They penalize well-designed but shorter programs Cannot easily accommodate nonprocedural languages Difficult to predict during estimation

Function-Oriented Metrics The most widely used function-oriented metric is the function point (FP) Computation of the FP is based on characteristics of the software’s information domain and complexity

Cont. . . Controversy regarding use of FP as a key measure According to the proponents It is programming language independent Can be predicted before coding is started According to the opponents Based on subjective rather than objective data Has no direct physical meaning – it’s just a number

Object-Oriented Metrics Number of Scenario scripts Number of key classes Number of support classes Average number of support classes per key class Number of subsystems

Use-Case Oriented Metrics The use-case is independent of programming language The no. of use-cases is directly proportional to the size of the application in LOC and to the no. of test cases There is no standard size for a use-case Its application as a normalizing measure is suspect

Web Engineering Project Metrics Number of static Web pages Number of dynamic Web pages Number of internal page links Number of persistent data objects Number of external systems interfaced Number of static content objects Number of dynamic content objects Number of executable functions

Web Engineering Project Metrics (2) Let, Nsp = number of static Web pages Ndp = number of dynamic Web pages Then, Customization index, C = Ndp/(Ndp + Nsp) The value of C ranges from 0 to 1

Metrics for Software Quality Goals of s/w engineering Produce high-quality systems Meet deadlines Satisfy market need The primary thrust at the project level is to measure errors and defects

Measuring Quality Correctness Defects per KLOC Maintainability Mean-time-to-change (MTTC) Integrity Threat and security integrity =  [1 – (threat  (1 - security))] Usability

Defect Removal Efficiency (DRE) Can be used at both the project and process level DRE = E / (E + D), [E = Error, D = Defect] Or, DREi = Ei / (Ei + Ei+1), [for ith activity] Try to achieve DREi that approaches 1

Integrating Metrics within the Software Process Software engineering process Software project Data collection Measures e.g. LOC, FP, Defects, Errors Software product Metrics e.g. No. of FP, Size, Error/KLOC, DRE Metrics computation Metrics evaluation Indicators e.g. Process efficiency, Product complexity, relative overhead Fig: - Software metrics collection process