Hussein Alhashimi. “If you can’t measure it, you can’t manage it” Tom DeMarco, 1982 2.

Slides:



Advertisements
Similar presentations
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Advertisements

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.
Chapter 4 Software Process and Project Metrics
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Chapter 22 Process and Project Metrics
Process and Project Metrics
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
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.
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 Quality Metrics
Software Engineering II - Topic: Software Process Metrics and Project Metrics Instructor: Dr. Jerry Gao San Jose State University
R&D SDM 1 Metrics How to measure and assess software engineering? 2009 Theo Schouten.
 QUALITY ASSURANCE:  QA is defined as a procedure or set of procedures intended to ensure that a product or service under development (before work is.
Software Process and Product Metrics
OHT 21.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Software Quality assurance (SQA) SWE 333 Dr Khalid Alnafjan
 The software systems must do what they are supposed to do. “do the right things”  They must perform these specific tasks correctly or satisfactorily.
Cmpe 589 Spring Software Quality Metrics Product  product attributes –Size, complexity, design features, performance, quality level Process  Used.
Validation Metrics. Metrics are Needed to Answer the Following Questions How much time is required to find bugs, fix them, and verify that they are fixed?
1 Software Quality CIS 375 Bruce R. Maxim UM-Dearborn.
Software Engineering Software Process and Project Metrics.
Chapter 6 : Software Metrics
Software Measurement & Metrics
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 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 Quality Metrics
OHT 21.1 Galin, SQA from theory to implementation © Pearson Education Limited 2004 Software Quality assurance (SQA) SWE 333 Dr Khalid Alnafjan
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
Computing and SE II Chapter 15: Software Process Management Er-Yu Ding Software Institute, NJU.
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.
Prepared by: Hussein Alhashimi.  This course introduces fundamental concepts related to Quality Assurance and Measurements and Metrics in the software.
A Metrics Program. Advantages of Collecting Software Quality Metrics Objective assessments as to whether quality requirements are being met can be made.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 15a: Product Metrics for Software Software Engineering: A Practitioner’s Approach, 6/e Chapter.
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.
Prepared by: Hussein Alhashimi.  which of the following is quality assurance and which is quality control:  Project quality plan Quality Assurance 
What is a software? Computer Software, or just Software, is the collection of computer programs and related data that provide the instructions telling.
SPM UNIT 2 - Prof S. S. Deshmukh. Software measurements  Measurement gives us the insight by providing mechanism for evaluation.  There are four reasons.
Software Metrics 1.
Chapter 22 Process and Project Metrics
Software Engineering (CSI 321)
Lecture 15: Technical Metrics
Software Project Sizing and Cost Estimation
Software engineering.
Software Metrics “How do we measure the software?”
Progression of Test Categories
Chapter 25 Process and Project Metrics
COCOMO Models.
Quality Measurable characteristic Cyclomatic complexity Cohesion
Software metrics.
Process and Project Metrics
Chapter # 7 Software Quality Metrics
Metrics for process and Projects
Chapter 32 Process and Project Metrics
Chapter 22 Process and Project Metrics
Metrics for Process and Projects
Software verification and Validation
COCOMO MODEL.
Presentation transcript:

Hussein Alhashimi

“If you can’t measure it, you can’t manage it” Tom DeMarco,

Process Measure the efficiency of processes. What works, what doesn't. Project Assess the status of projects. Track risk. Identify problem areas. Adjust work flow. Product Measure predefined product attributes (generally related to ISO9126 Software Characteristics) 3

 Three kinds of Software Quality Metrics ◦ Product Metrics - describe the characteristics of product  size, complexity, design features, performance, and quality level ◦ Process Metrics - used for improving software development/maintenance process  effectiveness of defect removal, pattern of testing defect arrival, and response time of fixes ◦ Project Metrics - describe the project characteristics and execution  number of developers, cost, schedule, productivity, etc.  fairly straight forward 4

Quality requirements that the software product must meet Quality factors – Management-oriented attributes of software that contribute to its quality Quality subfactors – Decompositions of a quality factor to its technical components Metrics – quantitative measures of the degree to which given attributes (factors) are present 5

 Measurement ◦ is the act of obtaining a measure  Measure ◦ provides a quantitative indication of the size of some product or process attribute, E.g., Number of errors  Metric ◦ is a quantitative measure of the degree to which a system, component, or process possesses a given attribute (IEEE Software Engineering Standards 1993) : Software Quality - E.g., Number of errors found per person hours expended 6

Desired attributes of Metrics (Ejiogu, 1991) – Simple and computable – Empirical and intuitively persuasive – Consistent and objective – Consistent in the use of units and dimensions – Independent of programming language, so directed at models (analysis, design, test, etc.) or structure of program – Effective mechanism for quality feedback 7

Quality requirement – “The product will be easy to use” Quality factor(s) – Usability (An attribute that bears on the effort needed for use and on the assessment of such use by users) Quality subfactors – Understandability, ease of learning, operability, communicativeness 8

Understandability – The amount of effort required to understand software Ease of learning – The degree to which user effort required to learn how to use the software is minimized Operability – The degree to which the effort required to perform an operation is minimized Communicativeness – The degree to which software is designed in accordance with the psychological characteristics of users 9

Understanding  Learning time: Time for new user to gain basic understanding of features of the software Ease of learning  Learning time: Time for new user to learn how to perform basic functions of the software Operability  Operation time: Time required for a user to perform operation(s) of the software Communicativeness  Human factors: Number of negative comments from new users regarding ergonomics, human factors, etc. 10

 Correctness: ◦ defects per KLOC  maintainability ◦ mean time to change (MTTC) the time it takes to analyze the change request, design an appropriate modification, implement the change, test it, and distribute the change to all users ◦ spoilage = (cost of change / total cost of system)  integrity ◦ threat = probability of attack (that causes failure) ◦ security = probability attack is repelled Integrity =  [1 - threat * (1 - security)] 11

Number and type of defects found during requirements, design, code, and test inspections Number of pages of documentation delivered Number of new source lines of code created Number of source lines of code delivered Total number or source lines of code delivered Average complexity of all modules delivered Average size of modules Total number of modules Total number of bugs found as a result of unit testing Total number of bugs found as a result of integration testing Total number of bugs found as a result of validation testing Productivity, as measured by KLOC per person-hour 12

 Metrics for the analysis model  Metrics for the design model  Metrics for the source code  Metrics for testing 13

Average find-fix cycle time Number of person-hours per inspection Number of person-hours per KLOC Average number of defects found per inspection Number of defects found during inspections in each defect category Average amount of rework time Percentage of modules that were inspected 14

 which of the following is a software quality metric.  Project quality plan (No)  Number of errors per 1000 line of code (KLOC) (Yes)  Contract proposal review (No)  Time required to understand employee payroll calculation module. (Yes) 15

 Detailed design inspection (No)  Test plan sign-off (No)  Number of severe errors found in software installation plan (yes)  Room temperature (No) 16

 Total failure time of hotel tracking system. (yes)  Number of changes made to requirements document (yes) 17

 Suggest a software quality metric that will perform the following:  Measure the speed of a student course registration module  Measure how easy it is to learn new student data entry module  Measure how many student can be registered in one hour  Measure the quality of a programmer coding  Predict the quality of software development plan  Predict the quality of end user manual  Predict the quality of requirements document 18