CSE 8314 - SW Metrics and Quality Engineering Copyright © 1995-2001, Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 1 SMU CSE 8314 /

Slides:



Advertisements
Similar presentations
Providing Feedback to Employees
Advertisements

Managing and measuring organizational performance Brent Stockwell, Strategic Initiatives Director Scottsdale City Manager’s Office
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.
Chapter 10 Schedule Your Schedule. Copyright 2004 by Pearson Education, Inc. Identifying And Scheduling Tasks The schedule from the Software Development.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M30 - Version 9.01 SMU CSE 7315 Planning and Managing a Software Project.
Computer Engineering 203 R Smith Project Tracking 12/ Project Tracking Why do we want to track a project? What is the projects MOV? – Why is tracking.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M27 - Version 9.01 SMU CSE 7315 Planning and Managing a Software Project.
W5HH Principle As applied to Software Projects
Lab/Sessional -CSE-374. SYSTEM DEVELOPMENT LIFE CYCLE.
Swami NatarajanJune 17, 2015 RIT Software Engineering Reliability Engineering.
SE 450 Software Processes & Product Metrics Reliability Engineering.
Chapter 2 – Tools of Positive Analysis
SE is not like other projects. l The project is intangible. l There is no standardized solution process. l New projects may have little or no relationship.
Capability Maturity Model
Performance Management Dan Robbins. Overview Define performance management Describe the process of developing a performance management system Discuss.
N By: Md Rezaul Huda Reza n
Project Management Chapter 3. Objectives Become familiar with estimation. Be able to create a project workplan. Understand why project teams use timeboxing.
Fourteenth Lecture Hour 9:30 – 10:20 am, Sunday, September 16 Software Management Disciplines Project Control and Process Automation (from Part III, Chapter.
Project Management : Techniques and Tools (60-499) Fall 2014 / Winter 2015.
Chapter 4 Performance Management and Appraisal
1 Profit and Cost Center Performance Evaluation CHAPTER 10 © 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in.
Chapter 6 : Software Metrics
This chapter is extracted from Sommerville’s slides. Text book chapter
How to Supervise People Discussion Session # 39. PEOPLE AND RELATIONSHIPS 1.They develop high morale and enthusiasm among their employees. 2.They know.
Introduction Complex and large SW. SW crises Expensive HW. Custom SW. Batch execution Structured programming Product SW.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M10 8/20/2001Slide 1 SMU CSE 8314 /
CMMI Case Study by Dan Fleck Reference: A CMMI Case Study: Process Engineering vs. Culture and Leadership by Jeffrey L. Dutton,Jacobs Sverdrup Reference:
SE is not like other projects. l The project is intangible. l There is no standardized solution process. l New projects may have little or no relationship.
© 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Copyright © 1994 Carnegie Mellon University Disciplined Software Engineering - Lecture 1 1 Disciplined Software Engineering Lecture #15 Software Engineering.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M16 - Version 8.01 SMU CSE 7315 Planning and Managing a Software Project.
Introduction to Measurement. According to Lord Kelvin “When you can measure what you are speaking about and express it in numbers, you know something.
Michael A. Hitt C. Chet Miller Adrienne Colella Slides by R. Dennis Middlemist Michael A. Hitt C. Chet Miller Adrienne Colella Chapter 4 Learning and Perception.
February 15, 2004 Software Risk Management Copyright © , Dennis J. Frailey, All Rights Reserved Simple Steps for Effective Software Risk Management.
Management Practices Lecture-14.
CSE SW Project Management / Module 15 - Introduction to Effort Estimation Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M15.
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M15 version 5.09Slide 1 SMU CSE.
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M14 version 3.09Slide 1 SMU CSE.
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M25 version 3.09Slide 1 SMU CSE.
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M31 version 5.09Slide 1 SMU CSE.
Copyright © , Dennis J. Frailey, All Rights Reserved Day 2, Part 1, Page 1 1/11/2004 Day 2, Part 1 Estimating Software Size Section 2 Calculating.
January 20, 2000 CSE SW Project Management / Chapter 15 – Course Summary Copyright © , Dennis J. Frailey, All Rights Reserved Slide # 1.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M13 8/20/2001Slide 1 SMU CSE 8314 /
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M37 8/20/2001Slide 1 SMU CSE 8314 /
Copyright , Dennis J. Frailey CSE Software Measurement and Quality Engineering CSE8314 M00 - Version 7.09 SMU CSE 8314 Software Measurement.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M18 8/20/2001Slide 1 SMU CSE 8314 /
CSE SW Project Management / Module 30 - Managing with Earned Value / Measurement Issues Copyright © , Dennis J. Frailey, All Rights Reserved.
Copyright , Dennis J. Frailey CSE7315 – Software Project Management CSE7315 M15 - Version 9.01 SMU CSE 7315 Planning and Managing a Software Project.
Class-oriented metrics – Weighted methods per class, depth of the inheritance tree, number of children, coupling, response for class, lack of cohesion.
CSE SW Project Management / Module 14 - Size Estimating Notes and Reuse Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M14.
9-1 Irwin/McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000 Organizational Control and Culture Organizational Control and Culture 9 9.
Copyright , Dennis J. Frailey CSE Software Measurement and Quality Engineering CSE8314 M31 - Version 7.09 SMU CSE 8314 Software Measurement.
CSE SW Project Management / Module 11 - Overview of Size Estimating Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M11 Slide.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M11 8/20/2001Slide 1 SMU CSE 8314 /
Copyright , Dennis J. Frailey CSE Software Measurement and Quality Engineering CSE8314 M04 - Version 7.09 SMU CSE 8314 Software Measurement.
CSE SW Project Management / Module 27 - Project Tracking and Oversight Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M27.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M02 8/20/2001Slide 1 SMU CSE 8314 /
CSE SW Project Management / Module 18 - Introduction to Effort Estimating Models Copyright © , Dennis J. Frailey, All Rights Reserved CSE7315M18.
Copyright , Dennis J. Frailey CSE Software Measurement and Quality Engineering CSE8314 M00 - Version 7.09 SMU CSE 8314 Software Measurement.
CSE SW Measurement and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M11 version 5.09Slide 1 SMU CSE.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M33 8/20/2001Slide 1 SMU CSE 8314 /
CS4311 Spring 2011 Process Improvement Dr
Controlling as a Management Function
CMMI Case Study by Dan Fleck
Capability Maturity Model
Software metrics.
Capability Maturity Model
Presentation transcript:

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 1 SMU CSE 8314 / NTU SE 762-N Software Metrics and Quality Engineering Module 38 Rethinking the Management Process

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 2 Metrics are Easy Change is Hard Metrics often tell us that we need to change But we often resist change, despite the best of intentions Sometimes the problem is with the process by which we manage - because we are uncomfortable changing that

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 3 Typical Management Behavior Immature software process – Poor quality – Difficult to meet schedules – Grief for software manager Denial (hide or ignore data) Blame Tradeoffs (dealing) Decision to change Change [but target is moving!!!] Repeat the cycle

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 4 Two Basic Approaches for Dealing with Need to Change 1 Aggregate (Shotgun) –Try anything and hope 2 Feedback Control (Rifle) –Try well conceived things based on models, knowledge and observation

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 5 Aggregate Approach Initiate many projects and improvements The best survive (capitalism) – Costly, but it works – Useful for purchased software (try all and pick the best)

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 6 The Aggregate Approach Happens Often Sometimes you do this unintentionally – “Keep trying until you find something that works” – Parallel efforts with different initial goals or different methods But intentional use can occur at all maturity levels

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 7 Aggregate Approach at Maturity Level 1 At this level there is no management of change, just hope – Natural selection – Costs money – Takes a long time – Does eventually work, if you stick with it

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 8 Aggregate Approach at Maturity Level 2 Uneducated management / operates by rote – Controlled use of multiple approaches Often an effective and efficient approach – But may omit the best ones! No true understanding

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 9 Aggregate Approach at Maturity Level 3 Educated management – Carefully chosen approaches – Carefully motivated use – Reward for best solution This approach is more likely to spot and nurture really good solutions – But you may make the mistake of selecting by emotion rather than by fact

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 10 Aggregate Approach at Maturity Level 4 Quantitative understanding of processes – Explore alternatives selected on the basis of sound, quantitative data – Use well chosen data to evaluate alternatives At this level you are less likely to miss the best solution because of erroneous “gut feel”

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 11 Aggregate Approach at Maturity Level 5 Continuous process improvement – Similar to level 4, but incorporated into the overall organizational process – No special effort required because it is an ongoing part of the way you do business

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 12 Feedback Control Approach Requires more investment Less costly and more effective in the long run

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 13 Feedback Control Make a model of the system Sophistication of model depends on maturity level Manager modifies system based on inputs and behavior and what the model says about the impact of changes

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 14 Level 0 or 1 Model of a System resources random factors requirements System or Process software other artifacts At this level there is no external control Programmers want: –Unlimited resources –No changes (no random factors) –Fixed requirements

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 15 Level 2 Model of a System resources random factors requirements System or Process software other artifacts control At this level there is external control But still no access to the internals of the system or process

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 16 Examples of Level 2 Control Training : make them all smarter Tools : make them all seem smarter Hire MIT Grads : make some of them smarter Hire Harvard Grads : make some of them seem smarter See Weinberg

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 17 More Examples of Level 2 Control Pay them : motivate better performance Give them interesting assignments : motivate better performance Fire all Berkeley grads (nonconformists) : motivate the rest Note 1: you still have randomness Note 2: manager must control in order to feel that she/he is contributing to the effort

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 18 Management at Level 2 Failure to plan -- don’t know what to expect or what to do Planning by rote -- well established procedures and processes and metrics for specific parts of software development Failure to observe -- don’t know whether to do anything Failure to compare -- don’t know if product is right

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 19 Symptoms of Level 2 Management Reviews emphasize quantity: – Number of hours spent – Number of lines produced Rather than quality: – Number of defects – Number of requirements met Note that requirements met and defects are much more accurate estimates of the amount of work actually completed

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 20 Level 3 Model of a System At this level the manager can do more effective planning and can delegate control to the software engineers resources random factors requirements System or Process software other artifacts control knowledge of system and outputs

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 21 Management at Level 3 Good planning – you know what to expect and what to do Planning is guided by history / standards – well established procedures, processes and metrics are the starting point, not the end point Observation – becomes the main role of the software manager

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 22 What Management Knows at Level 3 Knowledge of the product Knowledge of the process as it is really happening

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 23 Requirements for Observation Visible evidence Stable process A difference between computer science and disciplined software engineering is in the ability to observe … … which means … an appreciation of the importance of a stable process and a knowledge of how to achieve it. Weinberg

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 24 Suggestions for Level 3 Management Change by addition, not deletion or criticism Control is not the same as low defect count – True control means knowing what defects are important and which ones should be permitted to stay Feedback goes from the process to the manager, not the other way

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 25 More Suggestions for Level 3 Management Be willing to revert to aggregate methods when prudent – Example: Disk crashes -- how to recover? – If caused randomly, there may not be an established procedure you need to try everything

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 26 Levels 4 and 5 Level 4: Feedback control is applied to the process as well as to the product Level 5: Feedback control is applied to the culture as well as to the process and product

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 27 Notes on System Models Consider a car... “Is that clicking sound significant?” -- Car owner may not know -- Or worse, may think she knows based on experience with older cars (new ones don’t work the same way) -- Mechanic has current knowledge Lack of knowledge is incompetence Lack of current knowledge can be unconscious incompetence

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 28 Linear Models Consider a Software Development Effort lines of code can be done in 32 staff months -- So lines of code will take 64 staff months, right? === The above ignores integration! Non-linearity is one of the chief reasons why software efforts get into trouble Scaling often does not work

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 29 Impact of New People Work Done Progress = Total Work To be Done In order to increase progress, you want to increase the numerator and decrease the denominator But adding new people decreases the numerator and increases the denominator (although the numerator effect is temporary)

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 30 Diagram of Effects New People Training Load on Old Workers Additional management, overhead, etc Work Completed goes DOWN (temporarily) Work to be Done goes UP (permanently) Lower Productivity (permanent) Slower Progress (temporary)

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 31 The Value of Diagrams Drawing Diagrams is Very Helpful The drawing process gives insight The drawing helps communicate

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 32 Measurement Observations “You can design a measurement system for any conclusion you wish to draw.” -- Tom DeMarco Consider car advertisements comparing features The car being promoted always seems to come out best

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 33 Effective Use of DeMarco’s Principle Problem: Programmer A is good Programmer B is not so good Programmer A does not want to help B (hurts A’s performance)

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 34 Solution Effect: A teams with B Both do better in the long run New metric for rewards: A is told that her duties as a more senior technical contributor include mentoring the less experienced people, such as B Both A and B will be rewarded based on the average performance of A and B

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 35 Gene Miluk’s Questions Part 1 - Direct Impact For each measure you want to make, ask the following questions: – Why am I measuring it? – How will I measure it? – What is the desired outcome of measuring it?

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 36 Gene Miluk’s Questions Part 2 - Indirect Impact For each measure you want to make, ask: – What is a possible undesirable outcome? – What behaviors must be avoided to avoid such outcomes? – What is a possible balance impacted? Example: quality vs. cost and schedule – How can I keep the balance proper?

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 37 Summary The software manager must move from being the orchestrator of chaos -- to The controller of order -- to An observer of order

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 38 Observation by Jim Coplien (AT&T) “The most efficient and effective software projects are those where the communication between management and workers is relatively low in volume and well controlled.”

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 39 Summary Management must change as an organization matures, so as to make most effective use of metrics Both aggregate (shotgun) and feedback control (rifle) approaches are useful, although the latter is often more effective in the long run A mature organization is characterized by more management observation and less feedback

CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M38 8/20/2001Slide 40 END OF MODULE 38