![第六讲_软件工作量估计_cont[课堂使用]_第1页](http://file2.renrendoc.com/fileroot_temp3/2021-7/12/75bf3bf0-df15-4562-9faf-089e2613374f/75bf3bf0-df15-4562-9faf-089e2613374f1.gif)
![第六讲_软件工作量估计_cont[课堂使用]_第2页](http://file2.renrendoc.com/fileroot_temp3/2021-7/12/75bf3bf0-df15-4562-9faf-089e2613374f/75bf3bf0-df15-4562-9faf-089e2613374f2.gif)
![第六讲_软件工作量估计_cont[课堂使用]_第3页](http://file2.renrendoc.com/fileroot_temp3/2021-7/12/75bf3bf0-df15-4562-9faf-089e2613374f/75bf3bf0-df15-4562-9faf-089e2613374f3.gif)
![第六讲_软件工作量估计_cont[课堂使用]_第4页](http://file2.renrendoc.com/fileroot_temp3/2021-7/12/75bf3bf0-df15-4562-9faf-089e2613374f/75bf3bf0-df15-4562-9faf-089e2613374f4.gif)
![第六讲_软件工作量估计_cont[课堂使用]_第5页](http://file2.renrendoc.com/fileroot_temp3/2021-7/12/75bf3bf0-df15-4562-9faf-089e2613374f/75bf3bf0-df15-4562-9faf-089e2613374f5.gif)
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、软件工作量估计软件工作量估计 主讲人:王辉主讲人:王辉 2014-03-04 1基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 复习:项目计划的复习:项目计划的三个三个关键步骤关键步骤 q任务分解(任务分解(WBS) q工作量估计工作量估计 q资源、进度安排资源、进度安排 基础教学 复习:复习:标识项目的活动标识项目的活动-WBS 3基础教学 复习:复习:标识项目的活动标识项目的活动-混合方法混合方法 4基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 复习:软件工作量的复习:软件工作量的度量度量 q源代码行数源代码行数( (Source Li
2、ne Of Code) ):SLOC q千行代码千行代码( (Kilo Line Of Code) ):KLOC q功能点功能点( (Function Point) ):FP,实现方法无关,实现方法无关 q人月人月( (person month) ):pmpm,125125个工时个工时 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 复习:软件工作量估计的复习:软件工作量估计的方法方法 q 专家判断专家判断 q 类比估计类比估计 q 由底向上由底向上 q 自顶向下自顶向下 q Albrecht功能点功能点 q Mark II 功能点功能点 q COSMIC全功能点全功
3、能点 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 复习:复习:功能点的步骤功能点的步骤 q确定系统中的确定系统中的功能(构件)的类型功能(构件)的类型 q确定每种功能的确定每种功能的权重权重 q加权求和加权求和为系统的功能点为系统的功能点 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 复习复习:Albrecht功能功能类型类型 qExternal input (EI) types 外部输入类型外部输入类型 input transactions which update internal computer files. qExternal
4、 output (EO) types 外部输出类型外部输出类型 transactions which extract and display data from internal computer files. Generally involves creating reports qExternal inquiry (EQ) types 外部查询类型外部查询类型 user initiated transactions which provide information but do not update computer files. Normally the user inputs som
5、e data that guides the system to the information the user needs. 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 复习复习:Albrecht功能类型功能类型 qLogical interface file (LIF) types 内部逻辑文内部逻辑文 件类型件类型 equates roughly to a datastore in systems analysis terms. Created and accessed by the target system. q External interface
6、file types (EIF) 外部接口外部接口 文件类型文件类型 where data is retrieved from a datastore which is actually maintained by a different application. 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 复习复习:Albrecht功能的功能的权权 External user types Low complexityMedium complexity High complexity EI346 EO457 EQ346 LIF71015 EIF5710 基础教学
7、2021年年7月月12日日信息科学与技术学院信息科学与技术学院 课堂测试课堂测试 研发一个信息系统,该系统的外部输入类型有两个,复 杂度分别为低和高;复杂度为高的外部输出类型1个; 复杂度为中的内部逻辑文件类型2个;复杂度为低的外 部接口文件类型3个。请用Albrecht方法估计其工作量。 External user types Low complexityMedium complexity High complexity EI346 EO457 EQ346 LIF71015 EIF5710 3 + 6 + 7 + 10 * 2 + 5 * 3 = 51 基础教学 2021年年7月月12日日信
8、息科学与技术学院信息科学与技术学院 复习:复习:Mark II功能点功能点 vdata items input (Ni) vdata items output (No) ventity types accessed (Ne) #entities accessed #input items #output items FP count = Ni * 0.58 + Ne * 1.66 + No * 0.26 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 复习:复习:COSMIC全功能点全功能点 The following are counted: qEntries 进入
9、进入: movement of data into software component from a higher layer or a peer component qExits 退出退出: movements of data out qReads 读读: data movement from persistent storage qWrites 写写: data movement to persistent storage Each counts as 1 COSMIC functional size unit (Cfsu) 基础教学 2021年年7月月12日日信息科学与技术学院信息科学
10、与技术学院 软件工作量估计的软件工作量估计的具体方法具体方法 3.1 3.1 专家判断专家判断 3.2 3.2 类比估计类比估计 3.3 3.3 由底向上由底向上 3.4 3.4 自顶向下自顶向下 3.5 3.5 Albrecht功能点功能点 3.6 3.6 Mark II 功能点功能点 3.7 3.7 COSMIC全功能点全功能点 3.8 3.8 COCOMO:参数化的生产率模型:参数化的生产率模型 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 3.8 COCOMO qBoehm的COCOMO 81 (COnstructive COst MOdel, 构造型成本模
11、型) qCOCOMO II是其最新的发展 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 COCOMO 81 qBasic model effort = c x sizek qEffort 是按人月人月(pm)度量的 qSize 是按kdsi度量的,千行源代码千行源代码 qc, k取决于系统的类型类型:有机式(organic),半 相连式(semi-detached),嵌入式(embedded) 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 The COCOMO 81 Constants System typeck Organic (bro
12、adly, information systems) 2.41.05 Semi-detached 3.01.12 Embedded (broadly, real- time) 3.61.20 k exponentiation to the power of adds disproportionately more effort to the larger projects takes account of bigger management overheads 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 COCOMO II An updated version o
13、f COCOMO 81: qThere are different COCOMO II models for estimating at the early design stage and the post architecture stage when the final system is implemented. Well look specifically at the first. qThe core model is: pm = A(size)(sf) (em1) (em2) (em3). where pm = person months, A is 2.94, size is
14、number of thousands of lines of code (kdsi, kloc), sf is the scale factor, and em is an effort multiplier 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 COCOMO II: scale factor(sf) sf = B(0.91) + 0.01 Precedentedness (PREC) 有先例有先例. . Degree to which there are past examples that can be consulted Development fl
15、exibility (FLEX) 开发灵活性开发灵活性. . Degree of flexibility that exists when implementing the project Architecture/risk resolution (RESL) 构架构架/ /风险解决方案风险解决方案. . Degree of uncertainty about requirements Team cohesion (TEAM) 团队凝聚力团队凝聚力. . Process maturity (PMAT) 过程成熟度过程成熟度 Could be assessed by CMMI 基础教学 2021
16、年年7月月12日日信息科学与技术学院信息科学与技术学院 Scale Factors DriverVery low LowNom- inal HighVery high Extra high PREC6.204.963.722.481.240.00 FLEX5.074.053.042.031.010.00 RESL7.075.654.242.831.410.00 TEAM5.484.383.20 PMAT7.806.244.683.121.560.00 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 Example qA software dev
17、elopment team is developing an application which is very similar to previous ones it has developed. qA very precise software engineering document lays down very strict requirements. PREC is very high (score 1.24). qFLEX is very low (score 5.07). qThe good news is that these tight requirements are un
18、likely to change (RESL is high with a score 2.83). qThe team is tightly knit (TEAM has high score of 2.19), but processes are informal (so PMAT is low and scores 6.24) 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 Scale Factor sf = 0.91 + 0.01 (1.24 + 5.07 + 2.83 + 2.19 + 6.24) = 0.91 + 0.01 17.56 = 0.91 + 0
19、.1756 = 1.0856 If system contained 10 kloc then estimate would be 2.94 x 101.0857 = 35.8135 person months 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 COCOMO II: effort multiplier (em) RCPX Product reliability and complexity (产品的产品的 可靠性和复杂度可靠性和复杂度) RUSE Reuse required (需要的可用性需要的可用性) PDIF Platform difficulty
20、 (平台难度平台难度) PERS Personnel capability (人员的能力人员的能力) PREX Personnel Experience (人员的经验人员的经验) FCIL Facilities available (设施的可用性设施的可用性) SCED Schedule pressure (进度压力进度压力) 基础教学 2021年年7月月12日日信息科学与技术学院信息科学与技术学院 Effort Multiplier Extra low Very lowLowNom- inal HighVery high Extra high RCPX0.490.600.831.001.331.912.72 RUSE0.951.001.071.151.24 PDIF0.871.001.291.812.61 PERS2.121.621.261.000.830.630.50 PREX1.591.331.121.000.870.740.62 FCIL1.431.301.101.000.870.730.62 SCED1.431.14
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 《成本与管理会计(英文)》课件-3.1Cost flows in manufacturing business
- 音乐课介绍课件
- 高效节能电机项目招投标方案(模板)
- 2025年果酒及配制酒项目发展计划
- 2025年钢结构用H型钢项目发展计划
- 2025年太阳能电池用多晶硅、非晶硅项目合作计划书
- 2025年互联网医疗平台在线问诊服务质量优化报告
- 2025年工业互联网平台漏洞扫描技术在物联网安全防护中的应用研究
- 时尚零售行业快时尚模式下的品牌合作与联合营销报告
- 智慧城市的公共交通数据分析报告
- 合同公司变更协议书范本
- 文学概论考试要点试题及答案
- 2024–2025年中国数据标注产业深度分析报告
- 学校粉刷门窗协议书
- 2025-2031年中国材料预浸料行业市场深度研究及发展趋势预测报告
- 法人更换免责协议书
- 2025-2030年中国乡村振兴战略行业市场发展分析及前景趋势与投融资发展研究报告
- 小球弹簧(蹦极、蹦床)模型-高考物理一轮复习模型及解题技巧(解析版)
- 氢能分解与转化技术创新-全面剖析
- 2025-2030天文望远镜行业市场深度调研及发展趋势与投资战略研究报告
- 2025年小学教师资格考试《综合素质》逻辑推理能力测评题库(附答案)
评论
0/150
提交评论