Estimation of Defects and Effort Requirements Engineering & Project Management Lecture.

Slides:



Advertisements
Similar presentations
Estimation using COCOMO More Science, Less Art. COCOMO History COCOMO History Constructive Cost Model Dr. Barry Boehm TRW in 1970s COCOMO
Advertisements

Metrics for Process and Projects
An Improved Approach to Project Estimation Based on Software Artifact Reuse by David T. Henrickson.
SE curriculum in CC2001 made by IEEE and ACM: Overview and Ideas for Our Work Katerina Zdravkova Institute of Informatics
May 11, 2004CS WPI1 CS 562 Advanced SW Engineering Lecture #5 Tuesday, May 11, 2004.
COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development.
University of Southern California Center for Software Engineering CSE USC 9/14/05 1 COCOMO II: Airborne Radar System Example Ray Madachy
A U Interface & Project Analysis Professor J. Alberto Espinosa Business Analysis ITEC-630 Fall 2009.
Software Quality Assurance For Software Engineering && Architecture and Design.
Chapter 23 – Project planning Part 2. Estimation techniques  Organizations need to make software effort and cost estimates. There are two types of technique.
Unified Software Practices v 5.0-D Copyright  1998 Rational Software, all rights reserved 1 /26 RUP Architecture.
Use Case Diagrams – Functional Models Chapter 5. Objectives Understand the rules and style guidelines for activity diagrams. Understand the rules and.
Human Factor in Project Management Requirements Eng. & Project Management Lecture 10 Jerzy Nawrocki Prince Jozef.
Use Cases Requirements Engineering & Project Management Lecture 2.
Software Testing Life Cycle
S oftware Q uality A ssurance Part One Reviews and Inspections.
Copyright © Jerzy R. Nawrocki Requirements Review Requirements Engineering & Project.
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 Inspection A basic tool for defect removal A basic tool for defect removal Urgent need for QA and removal can be supported by inspection Urgent.
Chapter 6 : Software Metrics
Copyright © Jerzy R. Nawrocki ISO 9126 and Non-functional Requirements Requirements.
Requirements Verification & Validation Requirements Engineering & Project Management.
Introduction to XPrince Requirements Engineering & Project Management Lecture 1.
1 UseCase-based effort estimation of software projects TDT 4290 Customer-driven project IDI, NTNU, 14. Sept Bente Anda, Simula Research Lab., Oslo,
Quality Assurance vs. Quality Control Quality Assurance An overall management plan to guarantee the integrity of data (The “system”) Quality Control A.
Project Planning & Initiation Requirements Engineering & Project Management Lecture.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
1 Chapter 23 Estimation for Software Projects. 2 Software Project Planning The overall goal of project planning is to establish a pragmatic strategy for.
Software Project Management Lecture # 3. Outline Chapter 22- “Metrics for Process & Projects”  Measurement  Measures  Metrics  Software Metrics Process.
Lecture 4 Software Metrics
Project Estimation Model By Deepika Chaudhary. Factors for estimation Initial estimates may have to be made on the basis of a high level user requirements.
Software complexity estimation by Adam Bondarowicz by Adam Bondarowicz.
SEG3300 A&B W2004R.L. Probert1 COCOMO Models Ognian Kabranov.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 26 Slide 1 Software cost estimation 2.
Computing and SE II Chapter 15: Software Process Management Er-Yu Ding Software Institute, NJU.
Estimating Cost size difficulty effort productivity work rate cost LoC, fp mm (ideal) mm $ $/mm time.
Estimation using COCOMO
Empirical Estimation Models Based upon historic data Basic Structure E = A + B * (ev) C where A, B, c are empirical constants ‘ev’ is the effort in terms.
Function Points Synthetic measure of program size used to estimate size early in the project Easier (than lines of code) to calculate from requirements.
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.
Project, People, Processes and Products Project management skills – schedule, monitoring, risk management, … People management skills – delegation, mentoring,
Change Management Requirements Engineering & Project Management Lecture 10.
LECTURE 14: Software Metrics
The COCOMO model An empirical model based on project experience. Well-documented, ‘independent’ model which is not tied to a specific software vendor.
Software Testing Process
Project Manager:PATS Project Manager Estimator:Peter Project Manager Start Date:1/1/2010 PATS Software PATS Project Team.
FUNCTION POINT ANALYSIS & ESTIMATION
Slide 1 Use Case Points. Slide 2 Use Case Points* Use Case Points (UCP) is a current technique for measuring functionality of a software system. It can.
More SQA Reviews and Inspections. Types of Evaluations  Verification Unit Test, Integration Test, Usability Test, etc  Formal Reviews  aka "formal.
by: Er. Manu Bansal Deptt of IT Software Quality Assurance.
COCOMO Software Cost Estimating Model Lab 4 Demonstrator : Bandar Al Khalil.
1 Agile COCOMO II: A Tool for Software Cost Estimating by Analogy Cyrus Fakharzadeh Barry Boehm Gunjan Sharman SCEA 2002 Presentation University of Southern.
Peopleware Requirements Engineering & Project Management Lecture 7.
Software Estimation Dror Feitelson Software Engineering Hebrew University.
Alternative Software Size Measures for Cost Estimation
Pragmatics 4 Hours.
Software Quality Assurance
Application of SysML to LLRF system design M.Grecki
Alternative Software Size Measures for Cost Estimation
Software Size Measures for Cost Estimation
Software Quality Assurance
LECTURE 14: Software Metrics
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.
Development Lifecycle
Title Introduction: Discussion & Conclusion: Methods & Results:
Use-Case Points for Estimating Software Size
COCOMO MODEL.
Presentation transcript:

Estimation of Defects and Effort Requirements Engineering & Project Management Lecture 6

J.Nawrocki, Estimation of Defects & Effort Artefact FTRs, Inspections and Walkthroughs

J.Nawrocki, Estimation of Defects & Effort Agenda Defect Injection Capture-Recapture Use-Case Points Introduction XPrince Team Project Lifecycle The Analyst Role The Architect Role The Project Manager Role Scaling up Conclusions

J.Nawrocki, Estimation of Defects & Effort Estimation of non-detected defects Defect Injection Catch-recatch

J.Nawrocki, Estimation of Defects & Effort Defect Injection 1 The artifact is injected with n defects.... kroku

J.Nawrocki, Estimation of Defects & Effort Defect Injection 1 The artifact is injected with n defects. 2 The modified artifact is subject to quality assurance.... kroku

J.Nawrocki, Estimation of Defects & Effort Defect Injection 1 The artifact is injected with n defects. 2 The modified artifact is subject to quality assurance. 3 The QA report says that k out of n injected defects and m ‘new’ defects have been detected. Defekty: 1 óstawa 2 krokó

J.Nawrocki, Estimation of Defects & Effort Defect Injection 1 The artifact is injected with n defects. 2 The modified artifact is subject to quality assurance. 3 The QA report says that k out of n injected defects and m ‘new’ defects have been detected. D = Detection rate D injected = k / n D all = m / Total D injected  D all Defekty: 1 óstawa 2 krokó

J.Nawrocki, Estimation of Defects & Effort Defect Injection 1 The artifact is injected with n defects. 2 The modified artifact is subject to quality assurance. 3 The QA report says that k out of n injected defects and m ‘new’ defects have been detected. Total  m  n / k Defekty: 1 óstawa 2 krokó D = Detection rate D injected = k / n D all = m / Total D injected  D all

J.Nawrocki, Estimation of Defects & Effort Agenda Defect Injection Capture & Recapture Use-Case Points Introduction XPrince Team Project Lifecycle The Analyst Role The Architect Role The Project Manager Role Scaling up Conclusions

J.Nawrocki, Estimation of Defects & Effort Capture-Recapture How many fish are there?

J.Nawrocki, Estimation of Defects & Effort Capture-Recapture 1 Catch a sample

J.Nawrocki, Estimation of Defects & Effort Capture-Recapture 1 Catch a sample 2 Tag them

J.Nawrocki, Estimation of Defects & Effort Capture-Recapture 1 Catch a sample 2 Tag them 3 Release them

J.Nawrocki, Estimation of Defects & Effort Capture-Recapture 1 Catch a sample 2 Tag them 3 Release them 4 Catch another group

J.Nawrocki, Estimation of Defects & Effort Capture-Recapture 1 Catch a sample 2 Tag them 3 Release them 4 Catch another group 5 How many tagged?

J.Nawrocki, Estimation of Defects & Effort Capture-Recapture 1 Catch a sample 2 Tag them 3 Release them 4 Catch another group 5 How many tagged?

J.Nawrocki, Estimation of Defects & Effort Capture-Recapture 1 Catch a sample 2 Tag them 3 Release them 4 Catch another group 5 How many tagged? Total = 20 * 30 / 5 = 120

J.Nawrocki, Estimation of Defects & Effort Capture-Recapture A B C Total defects = A * B / C If C = 0... Artefact

J.Nawrocki, Estimation of Defects & Effort Capture-Recapture More than 2 reviewers A B unique Most unique defects found All others Total defects = A * B / C

J.Nawrocki, Estimation of Defects & Effort Agenda Defect Injection Capture-Recapture Use-Case Points Introduction XPrince Team Project Lifecycle The Analyst Role The Architect Role The Project Manager Role Scaling up Conclusions

J.Nawrocki, Estimation of Defects & Effort COCOMO II – Post-architectural model Size in KSLOC An average project: PM NS = 2.94  Size E where 0.91  E  Very low LowNomi nal HighVery high Extra high Precedentedness Dev. Flexibility Risk Resolution Team Cohesion Process Maturity Scale Factors

J.Nawrocki, Estimation of Defects & Effort Scale Factors and Development Effort E= E= 1 E= 0.91 Person-Month Lines of Code [KSLOC]

J.Nawrocki, Estimation of Defects & Effort Function Points

J.Nawrocki, Estimation of Defects & Effort Function Points FP = UT * CM FP – Function points UT – Unadjusted total CM – Complexity multiplier : CM = *  Influence_factors 14 Influence factors, points for each

J.Nawrocki, Estimation of Defects & Effort Actors 1 point: Simple - Defined API 2 points : Average - TCP/IP or text 3 points : Complex - GUI

J.Nawrocki, Estimation of Defects & Effort Use Cases 5 points : Simple – up to 3 transactions 10 points : Average – 4-7 transactions 15 points : Complex – more than 7 transactions Paper pre-submission Main scenario 1. System displays a form. 2. Author fills-in the form. 3. System checks the data. Extensions 3a. Wrong data format. 3a1. System displays an appropriate message. Return to Step 2.

J.Nawrocki, Estimation of Defects & Effort Use-Case Points where: TCF = (0.01 * TFactor) EF = ( –0.03 * EFactor) UCP = UUCP * TCF * EF Effort = UCP * [h] Unadjusted Use-Case Points

J.Nawrocki, Estimation of Defects & Effort Technical Factors T1 Distributed System 2 T2 Response adjectives 2 T3 End-user efficiency 1 T4 Complex processing 1 T5 Reusable code 1 T6 Easy to install 0.5 T7 Easy to use 0.5 T8 Portable 2 T9 Easy to change 1 T10 Concurrent 1 T11 Security features 1 T12 Access for third parties 1 T13 Special training required1

J.Nawrocki, Estimation of Defects & Effort Environment Factors F1 Familiar with RUP 1.5 F2 Application experience 0.5 F3 Object-oriented experience 1 F4 Lead analyst capability 0.5 F5 Motivation 1 F6 Stable requirements 2 F7 Part-time workers -1 F8 Dicult programming language -2

J.Nawrocki, Estimation of Defects & Effort Summary Defect estimation: Defect injection Capture-Recapture Effort estimation: Use case points

J.Nawrocki, Estimation of Defects & Effort Questions?