Function Sizing Methods
Function Sizing Methods
COSMIC-FFP and
IFPUG 4.1
Similarities and
Differences
Presented by : Pam Morris
TOTAL METRICS
Feature IFPUG
IFPUG 4.1 IFPUG 4.1
Allan Points
IFPUG 4.0 Unadjusted
Albrecht
FPA 3.0
NESMA1.0 NESMA 2.1
Total Metrics - 3
TOTAL METRICS Pam Morris - Profile
Member of the IFPUG Counting Practices Committee
1993 - 2000
Co-author IFPUG 4.0, IFPUG 4.1, Case Study 1,
Practical Guidelines for Counting Logical Files
IFPUG CFPS Certified since 1994
Australian Representative ISBSG Committee
Reviewer of the NESMA Manual CPM
International Workgroup convenor and project editor
ISO/IEC 14143 Functional Size Measurement Standards
Core project member COSMIC (1997 - now)
Co-author COSMIC-FFP Measurement Manual
Author and Presenter IFPUG Certified Training courses
and IFPUG IT Measurement Book
Executive Member of the Australian Software Metrics
Association (ASMA)
Chief Executive Officer of Total Metrics
Total Metrics - 4
TOTAL METRICS
Agenda
History of Functional Size
Measurement
14143-1 Definitions
14143-1 Definitions of
of Functional
Functional
Size
Size
Total Metrics - 7
TOTAL METRICS
Basic Concepts of FSM
Users USER REQUIREMENTS
Processes Stored
Data
TECHNICAL
QUALITY
9 U
FUNCTIONAL
Stored
Data
OR
Engineered
Devices
OR
Other Boundary
Software
Software to be measured
Total Metrics - 8
TOTAL METRICS
Basic Concepts of FSM
FUNCTIONAL USER =FUR
REQUIREMENTS
Processes Stored
Data
Stored
Data
OR Base Functional =BFCs
Components
Engineered
devices
OR
other
Software MEASURED
BOUNDARY FOR SIZE
Total Metrics - 9
TOTAL METRICS
IFPUG BFC Types
INPUT, OUTPUT,
ENQUIRY
9 9 9
Processes
Stored
Data Stored
Data
9
INTERNAL LOGICAL
FILE
EXTERNAL
INTERFACE
FILE 9
9)
5 Base Functional Component Types (BFC Types9
Total Metrics - 10
TOTAL METRICS
COSMIC BFC Types
COSMIC = ENTRY 9
COSMIC = READ 9
U U
Stored Stored
9
Data COSMIC = WRITE Data
COSMIC = EXIT 9
9)
4 Base Functional Component Types (BFC Types9
Total Metrics - 11
TOTAL METRICS
Sizing example:
Create New Order
ORDER HEADER SCREEN
Computer Components Automated Supply System
File Report System Admin Help Utility
Order
Number:
Order Header Details
Order /Reservation Details
Reservation
Sales Tax Exemption
.
x #
Urgent
Routine .
Description::
Order Date: / /
Contact Name:
Date Required: / /
Vendor OK
Send Invoice To :
Items
Deliver Goods To :
Print
Save
Additional Instructions:
Cancel
Total Metrics - 12
TOTAL METRICS
Eg. Create New Order
ORDER ITEM DETAILS SCREEN
Computer Components Automated Supply System
File Report System Admin Help Utility
Order
Number:
. 10711943
Order ItemDetails
Order /Reservation Details
Reservation
Order Date: / /
Order Item
Value:
Sales Tax
$ 1,387.00
$ 138.70
Description:: Update RRS Computers
Order Total $ 1,525.70
Product Items:
Product # Description Brand Name Size Unit Measure Qty Price
TEMPLATE
ORDER
ORDER PRODUCT
TEMPLATE
ORDER
LINE PRODUCT
GENERAL ITEM
LEDGER
CODES
= 3 ILFs (1 average, 2 low complexity )
GENERAL
= 24 function points
LEDGER
= 1 EIF (low)
=5 function points
Total Data Groups = 29 function points
Total Metrics - 14
IFPUG Count - Identify DETs
and FTRs
EXTERNAL INPUT 4 FTRs
24 DETs
Entering / Exiting Process
1. Order Type 2. Division Invoice 3. Reservation
Address Number
4. Date Required 5. Additional 6. Order Description Order
Order
Instructions Template
7. Contact Name 8. Priority Flag 9. Delivery Address
10.Reservation 11.Order Number. 12.Sales Tax
Number Exemption #
13.Order Date 14.Order Total 15. Sales Tax FTR
16.GL Ref Code 17.Quantity 18. Product Code FTR
19.Product 20.Item Size 21. Item Price
Description
22.Item Order 23.Error / 24.Action /control
Value confirmation
Mge
FTR
=High Complexity EI Product
= 6 function points
General FTR
Ledger
TOTAL METRICS
COSMIC Count - Group
Persistent Data - 3NF
ORDER HEADER
TEMPLATE
U U
ORDER
ORDER
PRODUCT
U
TEMPLATE
U U
ORDER
LINE PRODUCT
GENERAL ITEM
LEDGER
CODES
ORDER LINE
Group Persistent data into 3rd Normal form
U
GENERAL Not BFC
= 5 Persistent Data Groups Type
LEDGER
Total = 0 CFSU
Total Metrics - 16
TOTAL METRICS
Identify READs from
Persistent Data
Total Metrics - 17
TOTAL METRICS
Identify WRITEs to
Persistent Data
Total Metrics - 18
TOTAL METRICS
Group Transient Data ENTERing
Process - 3NF
Order Header Details Entered
Entering Process
1. Order Type 2. Date Required 3. Order Description
4. Contact Name 5. Additional 6. Delivery Address
Instructions
7. Priority Flag
7. Sales Tax
Exemption
Number
1. Error /
confirmation
Message
Map data exiting to Entities
Group Data exiting into 3rd Normal form to get 3 unique
data movement EXITS
Size of Process
Total Metrics - 22
TOTAL METRICS Comparison of Functional
Size Application Level
“Order Processing System”
IFPUG FPs
COSMIC CFSU
163 156
Total Metrics - 23
TOTAL METRICS
PROCESS
U
Stored
Data
U Stored
Data IFPUG = Logical File
U COSMIC = Persistent Data
Total Metrics - 24
TOTAL METRICS
Agenda
History of Functional Size
Measurement
Total Metrics - 29
TOTAL METRICS Result Comparisons
Process IFPUG COSMIC
-Sensitivity to - maximum sensitivity -Allows infinite order
large variations is two fold variation of magnitude
in process ¾Min size = 3 FPs ¾Min size = 2
complexity ¾Max Size = 7FPs CFSU
¾Max Size = α
(infinite) CFSU
-Sensitivity to - highest size measure - highest size measure
processes requires data does not require
which move a movements AND data process to have DG
lot of data accesses accesses.
without
accessing DGs
Data -Persistent Data - Persistent data only
contribution to contributes around 30% contributes to size via
overall size of total size in addition process accesses
to contribution from
Total Metrics - 30
process data accesses
TOTAL METRICS
Result Comparisons
Total Metrics - 31
TOTAL METRICS Resource Comparisons
Resource IFPUG COSMIC
- Manuals -Purchase from IFPUG -Download free from
-Purchase from ISO WWW
-~390 pages -Purchase from ISO
-~75 pages
Total Metrics - 32
TOTAL METRICS
Agenda
History of Functional Size
Measurement
Whento
When touse
usewhat
whatFSM
FSMMethod
Method
Total Metrics - 33
TOTAL METRICS So Which Method to Choose?
Consider
¾need and availability of support services
training
BOTH METHODS
¾Used internationally
¾ISO/IEC FSM standards
¾Collected by ISBSG Repository
¾‘work’ in most environments
¾developed and refined by international
experts (sometimes the same ones!)
Total Metrics - 35
TOTAL METRICS
More Information
IFPUG
¾www.ifpug.org/
COSMIC-FFP
¾www.cosmicon.com/
TOTAL METRICS
TOTAL METRICS
¾www.totalmetrics.com/
Total Metrics - 36
TOTAL METRICS
THANK YOU