Cmpe 589 Spring 2008. Software Quality Metrics Product  product attributes –Size, complexity, design features, performance, quality level Process  Used.

Slides:



Advertisements
Similar presentations
FPA – IFPUG CPM 4.1 Rules.
Advertisements

Metrics to improve software process
Early Effort Estimation of Business Data-processing Enhancements CS 689 November 30, 2000 By Kurt Detamore.
Project Estimation: Metrics and Measurement
Metrics. A Good Manager Measures measurement What do we use as a basis? size? size? function? function? project metrics process metrics process product.
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.
Metrics for Process and Projects
Software Quality Metrics Overview
R&D SDM 1 Metrics How to measure and assess software engineering? 2009 Theo Schouten.
Software project management (intro)
1 PROJECT SIZING AND ESTIMATING - EFFECTIVELY USING FUNCTIONAL MEASUREMENT Southern California Software Process Improvement.
CS 551 Estimation Fall December QSE Lambda Protocol Prospectus Measurable Operational Value Prototyping or Modeling sQFD Schedule, Staffing,
SOFTWARE PROJECT MANAGEMENT AND COST ESTIMATION © University of LiverpoolCOMP 319slide 1.
3. Software product quality metrics The quality of a product: -the “totality of characteristics that bear on its ability to satisfy stated or implied needs”.
Software Process and Product Metrics
Software Metrics/Quality Metrics
1 Software Quality Metrics Ch 4 in Kan Steve Chenoweth, RHIT What do you measure?
1 U08784 Software Project Management lecturer: Timothy Au url:
Software Metric capture notions of size and complexity.
Copyright © The David Consulting Group, Inc. 1 UNDERSTANDING and EFFECTIVELY USING FUNCTIONAL MEASUREMENT Presented By The David Consulting Group.
Page 1 COCOMO Model The original COCOMO model was first published by Barry Boehm in 1981 at CSE Center for Software Engineering. This is an acronym derived.
1 ECE 453 – CS 447 – SE 465 Software Testing & Quality Assurance Lecture 22 Instructor Paulo Alencar.
COCOMO Models Ognian Kabranov SEG3300 A&B W2004 R.L. Probert.
Software Metrics - Data Collection What is good data? Are they correct? Are they accurate? Are they appropriately precise? Are they consist? Are they associated.
Software Estimation and Function Point Analysis Presented by Craig Myers MBA 731 November 12, 2007.
Chapter 6 : Software Metrics
Function Point Analysis What is Function Point Analysis (FPA)? It is designed to estimate and measure the time, and thereby the cost, of developing new.
Software Measurement & Metrics
Sizing Your Development Effort Using Function Point Analysis Mike Pasley Logic Central
Software Metrics Software Engineering.
Software Engineering SM ? 1. Outline of this presentation What is SM The Need for SM Type of SM Size Oriented Metric Function Oriented Metric 218/10/2015.
1 Estimation Function Point Analysis December 5, 2006.
Software Project Management Lecture # 3. Outline Chapter 22- “Metrics for Process & Projects”  Measurement  Measures  Metrics  Software Metrics Process.
OHTO -99 SOFTWARE ENGINEERING “SOFTWARE PRODUCT QUALITY” Today: - Software quality - Quality Components - ”Good” software properties.
Software Quality Metrics
Lecture 4 Software Metrics
Copyright © 1994 Carnegie Mellon University Disciplined Software Engineering - Lecture 3 1 Software Size Estimation I Material adapted from: Disciplined.
Disciplined Software Engineering Lecture #3 Software Engineering Institute Carnegie Mellon University Pittsburgh, PA Sponsored by the U.S. Department.
Function Point Analysis. Function Points Analysis (FPA) What is Function Point Analysis (FPA)? Function points are a standard unit of measure that represent.
SEG3300 A&B W2004R.L. Probert1 COCOMO Models Ognian Kabranov.
Introduction to Software Project Estimation I (Condensed) Barry Schrag Software Engineering Consultant MCSD, MCAD, MCDBA Bellevue.
Chapter 3: Software Project Management Metrics
Cmpe 589 Spring 2006 Lecture 2. Software Engineering Definition –A strategy for producing high quality software.
SOFTWARE PROCESS AND PROJECT METRICS. Topic Covered  Metrics in the process and project domains  Process, project and measurement  Process Metrics.
©1999 Addison Wesley LongmanSlide 3.1 Managing IS Projects Planning –Decomposing Project into Activities –Estimating resources –Developing a schedule –Setting.
Estimating “Size” of Software There are many ways to estimate the volume or size of software. ( understanding requirements is key to this activity ) –We.
Effort Estimation In WBS,one can estimate effort (micro-level) but needed to know: –Size of the deliverable –Productivity of resource in producing that.
Software Quality Metrics III. Software Quality Metrics  The subset of metrics that focus on quality  Software quality metrics can be divided into: End-product.
Hussein Alhashimi. “If you can’t measure it, you can’t manage it” Tom DeMarco,
540f07cost12oct41 Reviews Postmortem u Surprises? u Use white background on slides u Do not zip files on CD u Team leader should introduce team members.
Advanced Software Engineering Lecture 4: Process & Project Metrics.
FUNCTION POINT ANALYSIS & ESTIMATION
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Cost9b 1 Living with Function Points Bernstein and Lubashevsky Text pp
Estimation Questions How do you estimate? What are you going to estimate? Where do you start?
Cost23 1 Question of the Day u Which of the following things measure the “size” of the project in terms of the functionality that has to be provided in.
RET Rules One of the following rules applies when counting RETs:
Why Do We Measure? assess the status of an ongoing project
Function Point Analysis
Software Planning
Lecture 17 Software Metrics
Function Point.
Software Metrics “How do we measure the software?”
More on Estimation In general, effort estimation is based on several parameters and the model ( E= a + b*S**c ): Personnel Environment Quality Size or.
COCOMO Models.
Software metrics.
Why Do We Measure? assess the status of an ongoing project
COCOMO MODEL.
Presentation transcript:

Cmpe 589 Spring 2008

Software Quality Metrics Product  product attributes –Size, complexity, design features, performance, quality level Process  Used to improve development and maintenance processes –Effectiveness of defect removal, the response time of the fix process Project  Describe project attributes/characteristics and execution –The number of developers, the staffing pattern, cost, schedule and productivity

Software Quality Engineering Seeks relationships among in-process metrics, project characteristics, and end- product quality (then use this to improve)

Product Quality Metrics Mean time to failure (MTTF) Defect density Customer problems Customer satisfaction

Product Quality Metrics Measured by –the number of “bugs” (functional defects) –How long the software can run before it “crashes” MTTF is used in safety critical systems –Measures the time between failures Defect density is used in commercial apps –Defects relative to the software size

Defect vs. Failures Human mistakes: resulting in incorrect software operation Failure- software module no longer carries out intended function or performance level

Defect Density Metrics Time frame – L.O.P – Life of Product –Four years (?) LOC – Lines of Code KLOC – Thousand lines of code Time Frame/ LOC or KLOC

Lines of Code Count only executable lines Count executable lines plus data definitions Count executable lines, data definitions, and comments Count executable lines, data definitions, comments, and job control language Count lines as physical lines on an input screen Count lines as terminated by logical delimiters

Lines of Code In the context of defect rate calculation Productivity studies –The amount of LOC is negatively correlated with design efficiency Enhancements and new versions –LOC count for the entire product and the changed code –Defect tracking

Maintenance Process Answer: compute defect rates for new and old code Change flagging- (comments) – ID number linked to specific requirement, version release number

Function Points A collection of executable statements that performs a certain task together with declarations of the formal parameters and local variables manipulated by those statements Originated by Albrecht at IBM in mid 70s

Function Points Weighted total of 5 major components: –Number of external inputs (transaction types)X4 –Number of external outputs (report types)X5 –Number of logical internal files (the ones that user may concieve, not the physical files)X10 –Number of external interface files (files accessed by the apps but not maintained by it)X7 –Number of external inquiries (types of online inquiries supported) X4 These are average weighting factors

Function Points There are low and high weighting factors depending on the complexity assessment of the app.: –External input: low complexity,3; high complexity, 6 –External output: low complexity, 4; high complexity, 7 –Logical internal file:low complexity, 7; high complexity, 15 –External interface file: low complexity, 5; high complexity, 10 –External inquiry: low complexity, 3; high complexity, 6

Function Points Complexity is defined as set of standards according to objective guidelines –e.g. For the external output: if the no of data element types is 20 or more and the no of file types referenced is 2 or more, than complexity is high. Calculate Function Counts (FC): FC = Σ Σ w  x i=1 5 j=1 3 ij

Function Points Scale from 0 to 5 to assess the impact of 14 general system characteristics: –Data communications –Distributed functions –Performance –Heavily used configuration –Transaction rate –Online data entry –End-user efficiency –Online update –Complex processing –Reusability –Installation ease –Operational ease –Multiple sites –Facilitation of change

Function Points Sum up the scores and calculate Value Adjustment Factor (VAF) VAF = Σc¡ c¡ = the score for general system characteristic i. The number of function points is obtained: FP = FC x VAF International Function Point User’s Group Standard (IFPUG, 1999) i=1 14

Function Points Issues related to the function point metric: –More research is needed on: meaning of FP and the derivation algorithm –Various other standards than IFPUG –Time consuming and expensive –Accurate calculation need certified FP specialists

Function Points: example From Jones (2000). Software Assessments, Benchmarks, and Best Practices –The average no of software defects in US is approx. 5 per function point during the entire life cycle –Defect removal efficiency is calculated by the level of CMM –The estimated defect rates per function point: Level 1: 0.75 Level 2: 0.44 Level 3: 0.27 Level 4: 0.14 Level 5: 0.05

Customer Satisfaction Customer problems metric- problems using product Problems per user month (PUM) = (number of valid defects/time period) Compute this every month if you want to lower PUM Ex. Number of installed licenses times the number sold per month to reduce PUM –Improve development process and reduce product defects –Reduce non-defects oriented problems- improve, support, usability, documentation, communication, training –Increase sales of installed licenses

Scopes of Three Quality Metrics Defects Customer Satisfaction Customer Problems