Creator: ACSession No: 5 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringSeptember 2005 Software Measurement - Basics CSE300 Advanced Software.

Slides:



Advertisements
Similar presentations
Testing and Quality Assurance
Advertisements

SOFTWARE TESTING. INTRODUCTION  Software Testing is the process of executing a program or system with the intent of finding errors.  It involves any.
4/25/2015 Marketing Research 1. 4/25/2015Marketing Research2 MEASUREMENT  An attempt to provide an objective estimate of a natural phenomenon ◦ e.g.
1 Estimating Software Development Using Project Metrics.
5/15/2015Marketing Research1 MEASUREMENT  An attempt to provide an objective estimate of a natural phenomenon ◦ e.g. measuring height ◦ or weight.
Managing Software Quality Main issues:  Quality cannot be added as an afterthought  To measure is to know  Product quality vs process quality.
Creator: ACSession No: 13 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringFebruary 2006 Testing - Techniques CSE300 Advanced Software Engineering.
Software engineering for real-time systems
Software Quality Metrics
Software Metrics II Speaker: Jerry Gao Ph.D. San Jose State University URL: Sept., 2001.
Project Measurement Source: Practical Software Measurement John McGarry, et.al.
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.
SE 450 Software Processes & Product Metrics 1 Defect Removal.
Creator: ACSession No: 1 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringSeptember 2006 Introduction to the Module CSE300 Advanced Software.
Creator: ACSession No: 12 Slide No: 1Reviewer: CSE300Advanced Software EngineeringJanuary 2006 Testing Strategy CSE300 Advanced Software Engineering University.
Creator: ACSession No: 9 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringNovember 2005 Risk Management CSE300 Advanced Software Engineering.
Creator: ACSession No: 10 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringDecember 2005 Project Management CSE300 Advanced Software Engineering.
Creator: ACSession No: 19 Slide No: 1Reviewer: - CSE300Advanced Software EngineeringMarch 2007 ‘Agile Methods’ (part 2) CSE300 Advanced Software Engineering.
SOFTWARE PROJECT MANAGEMENT Project Quality Management Dr. Ahmet TÜMAY, PMP.
Measurement in Survey Research MKTG 3342 Fall 2008 Professor Edward Fox.
Quality of Information systems. Quality Quality is the degree on which a product satifies the requirements Quality management requires that : that requirements.
University of Toronto Department of Computer Science © 2001, Steve Easterbrook CSC444 Lec22 1 Lecture 22: Software Measurement Basics of software measurement.
Lecture 17 Software Metrics
Software Measurement Activities. Software Measurement Framework SEG3202 N. El Kadri.
McGraw-Hill/Irwin Business Research Methods, 10eCopyright © 2008 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 11 Measurement.
McGraw-Hill/Irwin Business Research Methods, 10eCopyright © 2008 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 11 Measurement.
1 Software Quality CIS 375 Bruce R. Maxim UM-Dearborn.
Software Engineering Software Process and Project Metrics.
SWEN 5430 Software Metrics Slide 1 Quality Management u Managing the quality of the software process and products using Software Metrics.
Software Metrics  The measurement of a particular characteristic of a software program's performance or efficiency. (
University of Sunderland CIFM03Lecture 4 1 Software Measurement and Reliability CIFM03 Lecture 4.
Creator: ACSession No: 16 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringFebruary 2006 (Software Quality) Configuration Management CSE300 Advanced.
Software Measurement & 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.”
1Software Measurement Advanced Software Engineering COM360 University of Sunderland © 2001.
Software Metrics Software Engineering.
Creator: ACSession No: 15 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringFebruary 2006 Software Quality Assurance & Software Quality Control.
Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation.
Software Quality Metrics
Lecture 4 Software Metrics
Software Testing and Quality Assurance Software Quality Assurance 1.
Managing Software Quality Main issues:  Quality cannot be added as an afterthought  To measure is to know  Product quality vs process quality ©2008.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Software Verification, Validation and Testing.
Cmpe 589 Spring 2006 Lecture 2. Software Engineering Definition –A strategy for producing high quality software.
Introduction to Measurement. According to Lord Kelvin “When you can measure what you are speaking about and express it in numbers, you know something.
Creator: ACSession No: 7 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringSeptember 2005 Software Measurement – Estimation and Productivity CSE300.
Defect Classes and the defect repository
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 Engineering1  Verification: The software should conform to its specification  Validation: The software should do what the user really requires.
1 SEI Capability Maturity Model Advanced Software Engineering COM360 University of Sunderland © 2000.
Chapter 7 Measuring of data Reliability of measuring instruments The reliability* of instrument is the consistency with which it measures the target attribute.
12-1 Chapter 12 Measurement Learning Objectives Understand... distinction between measuring objects, properties, and indicants of properties similarities.
McGraw-Hill/IrwinCopyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved. MEASUREMENT Chapter 11.
Theory and Practice of Software Testing
Metrics "A science is as mature as its measurement tools."
Class-oriented metrics – Weighted methods per class, depth of the inheritance tree, number of children, coupling, response for class, lack of cohesion.
Software Design Derived from Dr. Fawcett’s slides CSE784 – Software Studio Fall 2009.
Project Management Quality Management. Introduction Project planning Gantt chart and WBS Project planning Network analysis I Project planning Network.
SOFTWARE TESTING LECTURE 9. OBSERVATIONS ABOUT TESTING “ Testing is the process of executing a program with the intention of finding errors. ” – Myers.
Emilia Mendes Professora Visitante CAPES/ Associate Professor Univ. Auckland, NZ. Introdução a Métricas, Qualidade e Medição de Software.
Software Metrics 1.
Lecture 15: Technical Metrics
For University Use Only
Lecture 17 Software Metrics
Quality Measurable characteristic Cyclomatic complexity Cohesion
Software metrics.
Measurement What is it and why do it? 2/23/2019
Chapter 19 Technical Metrics for Software
Using the CMM. Using the CMM Maturity Levels CMM History.
Coupling Interaction: It occurs due to methods of a class invoking methods of other classes. Component Coupling: refers to interaction between two classes.
Presentation transcript:

Creator: ACSession No: 5 Slide No: 1Reviewer: SS CSE300Advanced Software EngineeringSeptember 2005 Software Measurement - Basics CSE300 Advanced Software Engineering University of Sunderland © 2005 Anne Comer

CSE300Advanced Software EngineeringSeptember 2005 Creator/Editor: ACSession No:5 Slide No: 2Reviewer: SS Where does Software Measurement fit in? Look at software measurement from the perspective of software quality assurance….. SQA REVIEWS TESTING MEASURE- MENT STANDARDS& PROCEDURES

CSE300Advanced Software EngineeringSeptember 2005 Creator/Editor: ACSession No:5 Slide No: 3Reviewer: SS Software Measurement is... ”the objective assignment of numbers or symbols to attributes of a software process or product in such a way as to describe them according to clearly defined rules...”

CSE300Advanced Software EngineeringSeptember 2005 Creator/Editor: ACSession No:5 Slide No: 4Reviewer: SS Why should we measure? what are our goals? what information is required? what can we collect? How do we act upon the data?

CSE300Advanced Software EngineeringSeptember 2005 Creator/Editor: ACSession No:5 Slide No: 5Reviewer: SS DON’T! Don’t define what you won’t collect.. Don’t collect what you won’t analyse.. Don’t analyse what you won’t use..

CSE300Advanced Software EngineeringSeptember 2005 Creator/Editor: ACSession No:5 Slide No: 6Reviewer: SS Goal / Question / Metric Goal - achieve a 10-fold improvement in post- release defects Question - how many existing faults? how effective are inspection techniques? How effective are tests? Metric - no. & type of faults, no. of defects found, % paths tested, complexity of code

CSE300Advanced Software EngineeringSeptember 2005 Creator/Editor: ACSession No:5 Slide No: 7Reviewer: SS What can be measured? Product examples… Spec. - size, functionality, maintainability Design - size, modularity, coupling, cohesion Code - size, modularity, reliability, algorithmic complexity, maintainability Test - coverage, complexity, size

CSE300Advanced Software EngineeringSeptember 2005 Creator/Editor: ACSession No:5 Slide No: 8Reviewer: SS What can be measured? Process examples… Spec. - time, effort, changes, stability Design - time, effort, no. of inspection faults Testing- time, effort, no. of failures

CSE300Advanced Software EngineeringSeptember 2005 Creator/Editor: ACSession No:5 Slide No: 9Reviewer: SS Objective & Subjective Data Objective (hard) & subjective (soft) All measures must be objective – NO. Real issue is consistency, repeatability and minimisation of errors and ‘noise’ Use measures to characterise, evaluate, predict, or improve

CSE300Advanced Software EngineeringSeptember 2005 Creator/Editor: ACSession No:5 Slide No: 10Reviewer: SS Slow acceptance of measurement Inconclusive validation studies No agreement over standard measurements Insufficient tool support Initial set-up expense General lack of quality management

CSE300Advanced Software EngineeringSeptember 2005 Creator/Editor: ACSession No:5 Slide No: 11Reviewer: SS Those ‘well-defined rules’.. Nominal- names / categories Ordinal - ‘cold, warm, hot’ ‘small, med, large’ Interval - temperature ‘20 o C, 40 o C’ - scale Ratio - absolute temperature ‘20 o K, 40 o K’, time Absolute - counting no. of occurrences

CSE300Advanced Software EngineeringSeptember 2005 Creator/Editor: ACSession No:5 Slide No: 12Reviewer: SS Analysis.. Nominal - equivalence Ordinal - as above + greater than Interval - as above + equality of any intervals Ratio - as above + ratio of any 2 scale values Absolute - as above + geometric mean, coeff. of variation

CSE300Advanced Software EngineeringSeptember 2005 Creator/Editor: ACSession No:5 Slide No: 13Reviewer: SS Function Points & Cyclomatic Complexity Function Points: Measure of functionality for ‘size’ -no. of external inputs -no. of external outputs -no. of enquiries -no. of files -no. external interfaces Cyclomatic Complexity: Module complexity based on a ‘graph’ of the module - nodes - predicate nodes

CSE300Advanced Software EngineeringSeptember 2005 Creator/Editor: ACSession No:5 Slide No: 14Reviewer: SS Measurement and the CMM Maturity LevelCharacteristicsType of Metrics to use OptimisingImprovement fed back to the process Process, plus feedback for changing the process Quantitatively Managed Measured processProcess, plus feedback for control DefinedProcess defined and institutionalised Product ManagedProcess dependent on individuals Project management InitialAd hocBaseline