软件度量资料COCOMO

上传人:沈*** 文档编号:170029925 上传时间:2022-11-18 格式:DOC 页数:4 大小:55KB
返回 下载 相关 举报
软件度量资料COCOMO_第1页
第1页 / 共4页
软件度量资料COCOMO_第2页
第2页 / 共4页
软件度量资料COCOMO_第3页
第3页 / 共4页
点击查看更多>>
资源描述
Software Engineering Evolution & NanagementEffort Estimation COCOMO - An Empirical Estimation Model for EffortIntroduction:The structure of empirical estimation models is a formula, derived from data collected from past software projects, that uses software size to estimate effort. Size, itself, is an estimate, described as either lines of code (LOC) or function points (FP). No estimation model is appropriate for all development environments, development processes, or application types. Models must be customised (values in the formula must be altered) so that results from the model agree with the data from the particular environment.The typical formula of estimation models is:E = a + b(S)cwhere; E represents effort, in person months, S is the size of the software development, in LOC or FP, and,a, b, and c are values derived from data.The relationship seen between development effort and software size is generally: E SThis graph demonstrates that the amount of effort accelerates as size increases, i.e., the value c in the typical formula above is greater than 1. COCOMO:When Barry Boehm wrote Software Engineering Economics, published in 1981, he introduced an empirical effort estimation model (COCOMO - COnstructive COst MOdel) that is still referenced by the software engineering community. The model has been reviewed since 1981 and details of the revised and updated COCOMO 2 model, can be obtained at: http:/sunset.usc.edu/research/index.html .The original COCOMO model was a set of models; 3 development modes (organic, semi-detached, and embedded) and 3 levels (basic, intermediate, and advanced). COCOMO model levels:Basic - predicted software size (lines of code) was used to estimate development effort. Intermediate - predicted software size (lines of code), plus a set of 15 subjectively assessed cost drivers was used to estimate development effort.Advanced - on top of the intermediate model, the advanced model allows phase-based cost driver adjustments and some adjustments at the module, component, and system level.COCOMO development modes:Organic - small relatively small, simple software projects in which small teams with good application experience work to a set of flexible requirements.Embedded - the software project has tight software, hardware and operational constraints.Semi-detached - an intermediate (in size and complexity) software project in which teams with mixed experience levels must meet a mix of rigid and less than rigid requirements. COCOMO development mode definitions are taken from: Software Engineering 4th Ed., Pressman RS, McGraw Hill.COCOMO model:The general formula of the basic COCOMO model is:E = a(S)bWhere: E represents effort in person-months, S is the size of the software development in KLOC and,a and b are values dependent on the development mode,development mode:organic a = 2.4 b = 1.05semi-detached a = 3.0b = 1.12embeddeda = 3.6b = 1.20The intermediate and advanced COCOMO models incorporate 15 cost drivers. These drivers multiply the effort derived for the basic COCOMO model. The importance of each driver is assessed and the corresponding value multiplied into the COCOMO equation, which becomes: E = a(S)b x product(cost drivers)As an example of how the intermediate COCOMO model works, the following is a calculation of the estimated effort for a semi-detached project of 56 KLOC. The cost drivers are set as follows: Product cost drivers (from the table) set high = 1.15 x 1.08 x 1.15= 1.43Computer cost drivers (from the table) set nominal = 1.00Personnel cost drivers (from the table) set low = 1.19 x 1.13 x 1.17 x 1.10 x 1.07= 1.85Project cost drivers (from the table) set high = 0.91 x 0.91 x 1.04 = 0.86hence, product(cost drivers) = 1.43 x 1.00 x 1.85 x 0.86 = 2.28for a semi-detached project of 56KLOC: a = 3.0 b = 1.12 S = 56E = a(S)b x product(cost drivers)E = 3.0 x (56)1.12 x 2.28E = 3.0 x 90.78 x 2.28E = 620.94 person-monthsDescription, and Table of values, for COCOMO Cost Drivers:COSTDRIVERDESCRIPTIONRELYRequired software reliabilityDATADatabase sizeCPLXProduct complexityTIMEExecution time constraintsSTORMain storage constraintsVIRTVirtual machine volatility - degree to which the operating system changesTURNComputer turn around timeACAPAnalyst capabilityAEXPApplication experiencePCAPProgrammer capabilityVEXPVirtual machine (i.e. operating system) experienceLEXPProgramming language experienceMODPUse of modern programming practicesTOOLUse of software toolsSCEDRequired development scheduleCOCOMO - COST DRIVERSRATINGCOST DRIVERV.LOWLOWNOMINALHIGHV.HIGHEX. HIGH(PRODUCT)RELY0.750.881.001.151.40.DATA.0.941.001.081.16.CPLX0.700.851.001.151.301.65(COMPUTER)TIME.1.001.111.301.66.STOR.1.001.061.211.56.VIRT.0.871.001.151.30.TURN.0.871.001.071.15.(PERSONNEL)ACAP1.461.191.000.860.71.AEXP1.291.131.000.910.82.PCAP1.421.171.000.860.70.VEXP1.211.101.000.90.LEXP1.141.071.000.95.(PROJECT)MODP1.241.101.000.910.82.TOOL1.241.101.000.910.83.SCED1.231.081.001.041.10.Questions:1. For the above cost drivers to be multiplied together the underlying assumption is that they must be independent of each other, does this sound reasonable?2. If all cost drivers were at minimum value, what would be the product of the cost drivers?3. If all cost drivers were at maximum value, what would be the product of the cost drivers?4. Based on the results to the two questions above, what is the ratio between maximum and minimum possible predicted effort? 5. Does the possible range from maximum to minimum effort seem reasonable? 6. The SCED cost driver is unique in the above table - can you see, and explain, why?7. COCOMO starts from estimate of size, subjective assessment of 15 (independent?) cost drivers (with values - on potentially a 6-point scale - based on 60+ datasets), to estimate effort. How much confidence should you have in the final estimate?Final Observations: An effort estimation is only, ever, an estimate. Management should treat it with caution. To make empirical models as useful as possible, as much data as possible should be collected from projects and used to customise (refine) any model used. An ongoing data collection programme is essential if models are to developed and refined, and if management wishes to make informed decisions Many organisations are known to use estimation redundancy, i.e., to provide a check on a particular estimate they will use more than one estimating method. The result is usually a set of estimates from which an organisation will choose. The underlying assumptions play a large role in the final decision and organisation makes. The different estimating methods used should be documented, and all underlying assumptions should be recorded.page: 4 of 4
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 管理文书 > 施工组织


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!