Use Case Based Estimation

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 22

Use case Based Estimation

Actors and Goals


• Use case' implies 'the ways in which a user
uses a system‘
• Actors are people or computer systems,
interacts with the S.U.D
– primary actor
– secondary actor
• Purpose of a use case is to meet the
immediate goal of an actor
Use Case Model
• Use case diagram depicts a static view of the system
functions, their static relationships with external
entities
– Scenario is a use case instance
– Specific sequence of actions that illustrates behaviors
– Main success scenario describes what happens in the most
common case when nothing goes wrong
• Activity diagram imparts a dynamic view of those
functions
The Use Case Points Method
• Classifying Actors
• Classifying Use Cases
• Technical and Environmental Factors
• Producing Estimates Based on Use Case Points
Classifying Actors
• Classify the actors as simple, average or complex
– Actor type: Simple, weighting factor 1
– Actor type: Average, weighting factor 2
– Actor type: Complex, weighting factor 3
• total unadjusted actor weights (UAW) is calculated
by counting actors there are of each kind (by degree
of complexity), multiplying each total by its
weighting factor, and adding up the products.
Classifying Use Cases (Method1)
• Depending on number of transactions in the
use case description, including secondary
scenarios;
• Each use case is then defined as simple,
average or complex
• Counting number of transactions can be done
by counting the use case steps
Use case Complexity
• Weighting Factor:
– Simple: 3 or fewer transactions, weighting factor 5
– Average: 4 to 7 transactions, weighting factor 10
– Complex: More than 7 transactions, weighting factor 15
• Each type of use case is then multiplied by the
weighting factor,
– unadjusted use case weights (UUCW)
Classifying Use Cases (Method2)
• Another mechanism for measuring use case
complexity is counting analysis classes
– Simple use case is implemented by 5 or fewer
classes
– Average use case by 5 to 10 classes
– Complex use case by more than ten classes
Classifying Use Cases (Method2)
• Each type of use case is then multiplied by the
weighting factor,
– unadjusted use case weights (UUCW)
USE CASE POINTS METHOD
• UAW is added to the UUCW to get the
unadjusted use case points (UUPC):

UUCP=UAW+UUCW
Technical and Environmental Factors
• Technical Complexity Factor (TCF) is calculated
by multiplying the value of each factor (T1-
T13) by its weight and then adding all these
numbers to get the sum called the TFactor.

TCF=0.6+(0.01*TFactor)
Technical Complexity Factors Table
Environmental Factor
• Environmental Factor (EF) is calculated by
multiplying the value of each factor (F1-F8) by its
weight and adding the products to get the sum
called the EFactor.

EF= 1.4+(-0.03*EFactor)
Environmental Factor Table
Use case points

UCP= UUCP*TCF*EF
Producing Estimates Based on Use Case
Points
• Karner proposed a factor of 20 staff hours per
use case point for a project estimate.
Case Study
• Internet application for a major bank
• Software solution was to improve communication
between customers and their contacts by enabling users
to upload news, download documents and view current
activities The development team consisted of five
programmers and one technical supervisor who was
responsible for analysis and testing. The application was
built using a standard three-layer model with a
presentation layer, application layer and a database
layer
Temporary Use case Diagram

Process Transaction
Customer Admin

Manage System
Data Collection
Calculating TCF & EF
TCF = 0.6 + (0.01*44) = 1.04
EF = 1.4 + (-0.03*16)= 0.92
Estimate Produced with the Use Case
Points Method
• Two actors are both people acting through a
GUI
• 18 simple, 41 medium and 4 complex use cases
UUCP = 2*3 + 18*5 + 41*10 + 4*15 = 566
UCP = UUCP*TCF*EF = 566*1.04*0.92
= 541.54
= 542
Total Efforts = 20 * 542
=10840 Staff Hrs

You might also like