S/W Project Estimation - 소프트웨어 공학, 네가지 추정기법
문제 제기: s/w 프로젝트를 한 가지를 임의로 선정하고 그것에 대한 네 가지 추정기법을 사용하여 s/w규모를 산출하라.
Project Scope:
기능- 기분과 날씨, 얼굴형 등에 다른 화장기법 연출
입력- 사용자 정보, 원하는 색조, 오늘의 기분 등
출력- 오늘의 날씨, 적절한 화장법 등
성능- 오늘의 날시는 기상청에서 받아와 입력받은 사용자 정보와 색조 등을 통해 알맞는 화장법을 출력
제약조건- 표현이 어려움, 사람의 수많은 감정기복의 변화
Estimation:
LOC기반의 측정 - 노력(Effort/PM) = LOC/1인당 월 평균 생산 코드 라인의 수
- 비용 = 노력 * 1인당 월 평균 인건비
Function |
Estimated LOC |
User interface & Control functions |
36000 |
Network Modulation Process |
2300 |
Database Management |
1450 |
Weather Control Functions |
7500 |
Feeling Input Functions |
6500 |
Makeup Control Functions |
25000 |
Image Analysis Modules |
1740 |
Face Shapes Functions |
2100 |
User Authentication Functions |
1700 |
Estimated lines of code |
84290 |
노력(Effort/PM) = 84290 / 150 = 51
비용 = 51 * 3800($) = 193800($)
FP(기능 점수) 기반의 측정 - FP(기능점수) = count total * [0.65 + 0.01 *]
- 생산성 = FP/1인당 월 평균 FP
- 비용 = FP/Cost * 1인당 월 평균 인건비
Information Domain Value |
Weighting Factor | ||||
Count |
Simple |
Average |
Complex |
total | |
External Inputs(EIs) |
15 |
9 |
20 |
30 |
135 |
External Outputs(EOs) |
17 |
12 |
19 |
25 |
204 |
External Inquiries(EQs) |
20 |
11 |
26 |
41 |
220 |
Internal Logical Files(ILFs) |
6 |
3 |
8 |
12 |
18 |
External Interface Files(EIFs) |
53 |
27 |
49 |
70 |
1431 |
Count total |
|
|
|
|
2008 |
Factor 1.Backup and recovery 2.Data communications 3.Distributed processing 4.Performance critical 5.Existing operating environment 6.On-line data entry 7.Input transaction over multiple screens 8.Information domain values complex 9.Internal processing complex 10.Code designed for reuse 11.Conversion/installation in design 12.Multiple installations 13.Application designed for change 14.ILFs updated online |
Value
4 5 3 2 2 5 3 1 4 5 3 2 4 2 |
FP = 2008* [0.65 + (0.01 * 45)] = 2209
FP/PM = 2209/310 = 7.1FP/PM
비용 = 67 * 3800($) = 254600(4)
프로세스 기반의 추정 - 표로 확인
Activity → |
CC |
Planning |
Risk analysis |
Engineering |
Construction release |
CE |
Total | ||
Task→ |
|
|
|
Analysis |
Design |
Code |
Test |
|
|
|
|
|
|
|
|
|
|
|
|
Function |
|
|
|
|
|
|
|
|
|
↓ |
|
|
|
|
|
|
|
|
|
UICF |
|
|
|
0.50 |
4.10 |
0.40 |
5.00 |
n/a |
10.00 |
NMP |
|
|
|
0.40 |
0.80 |
3.00 |
2.10 |
n/a |
6.30 |
DM |
|
|
|
2.03 |
2.30 |
0.25 |
1.00 |
n/a |
5.58 |
WCF |
|
|
|
4.10 |
2.75 |
1.12 |
4.00 |
n/a |
11.97 |
FIF |
|
|
|
0.20 |
1.00 |
0.80 |
1.70 |
n/a |
3.70 |
MCF |
|
|
|
4.70 |
2.50 |
1.72 |
1.80 |
n/a |
10.72 |
IAM |
|
|
|
1.00 |
1.00 |
1.00 |
2.00 |
n/a |
5.00 |
FSF |
|
|
|
0.10 |
0.40 |
0.20 |
0.80 |
n/a |
1.50 |
UAF |
|
|
|
0.50 |
0.10 |
1.00 |
2.00 |
n/a |
3.60 |
|
|
|
|
|
|
|
|
|
|
Totals |
0.25 |
0.25 |
0.5 |
13.50 |
14.95 |
9.77 |
22.40 |
|
58.37 |
|
|
|
|
|
|
|
|
|
|
% effort |
0.5% |
0.5% |
1% |
20.8% |
21.3% |
18.6% |
37.3% |
|
|
S/W Equation에 의한 추정 -
E : P-M(Person Month) 단위의 노력
t : 프로젝트 기간
B : 숙련도 요인 (=0.39)
P : 생산성 인자 (=1900)
E = (84290 * (0.39^0.333)/1900)^3 * 1/(42^4) = 73PM