Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
COCOMO
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Software cost estimation model}} {{distinguish|Kokomo (disambiguation){{!}}Kokomo|Docomo}} {{refimprove|date=October 2015}} The '''Constructive Cost Model''' ('''COCOMO''') is a procedural [[Estimation in software engineering|software cost estimation model]] developed by [[Barry Boehm|Barry W. Boehm]]. The model parameters are derived from fitting a [[Regression analysis|regression]] formula using data from historical projects (63 projects for COCOMO 81 and 163 projects for COCOMO II). == History == The constructive cost model was developed by Barry W. Boehm in the late 1970s<ref>{{cite web |url=http://ece.arizona.edu/~ece473/readings/14-Software%20Estimating%20Technology.doc |title=Software Estimating Technology: A Survey |last=Stutzke |first=Richard |accessdate=9 Oct 2016 |archive-date=28 March 2020 |archive-url=https://web.archive.org/web/20200328141813/https://uweb.engr.arizona.edu/~ece473/readings/14-Software%20Estimating%20Technology.doc |url-status=dead }}{{DOClink}}</ref> and published in Boehm's 1981 book ''Software Engineering Economics''<ref>{{cite book |title = Software Engineering Economics |url = https://archive.org/details/softwareengineer0000boeh |url-access = registration |last = Boehm |first = Barry |publisher=Prentice-Hall |date = 1981 |isbn = 0-13-822122-7}}</ref> as a model for estimating effort, cost, and schedule for software projects. It drew on a study of 63 projects at [[TRW Inc.|TRW]] Aerospace where Boehm was Director of Software Research and Technology. The study examined projects ranging in size from 2,000 to 100,000 [[lines of code]], and programming languages ranging from [[assembly language|assembly]] to [[PL/I]]. These projects were based on the [[waterfall model]] of software development which was the prevalent software development process in 1981. References to this model typically call it ''COCOMO 81''. In 1995 ''COCOMO II'' was developed and finally published in 2000 in the book ''Software Cost Estimation with COCOMO II''.<ref name="cocomo2">[[Barry Boehm]], Chris Abts, A. Winsor Brown, Sunita Chulani, Bradford K. Clark, Ellis Horowitz, Ray Madachy, Donald J. Reifer, and Bert Steece. ''[[Software Cost Estimation with COCOMO II (book)|Software Cost Estimation with COCOMO II]]'' (with CD-ROM). Englewood Cliffs, NJ:Prentice-Hall, 2000. {{ISBN|0-13-026692-2}}</ref> COCOMO II is the successor of COCOMO 81 and is claimed to be better suited for estimating modern software development projects; providing support for more recent [[software development process]]es and was tuned using a larger database of 161 projects. The need for the new model came as software development technology moved from mainframe and overnight batch processing to desktop development, code reusability, and the use of off-the-shelf software components. COCOMO consists of a hierarchy of three increasingly detailed and accurate forms. The first level, ''Basic COCOMO'' is good for quick, early, rough order of magnitude estimates of software costs, but its accuracy is limited due to its lack of factors to account for difference in project attributes (''Cost Drivers''). ''Intermediate COCOMO'' takes these Cost Drivers into account and ''Detailed COCOMO'' additionally accounts for the influence of individual project phases. Last one is Complete COCOMO model which addresses the shortcomings of both basic & intermediate. == Intermediate COCOMOs == ''Intermediate COCOMO'' computes software development effort as function of program size and a set of "cost drivers" that include subjective assessment of product, hardware, personnel and project attributes. This extension considers a set of four "cost drivers", each with a number of subsidiary attributes:- * Product attributes ** Required software reliability extent ** Size of application database ** Complexity of the product * Hardware attributes ** Run-time performance constraints ** Memory constraints ** Volatility of the virtual machine environment ** Required turnabout time * Personnel attributes ** Analyst capability ** Software engineering capability ** Applications experience ** Virtual machine experience ** Programming language experience * Project attributes ** Use of software tools ** Application of software engineering methods ** Required development schedule Each of the 15 attributes receives a rating on a six-point scale that ranges from "very low" to "extra high" (in importance or value). An effort multiplier from the table below applies to the rating. The product of all effort multipliers results in an ''effort adjustment factor (EAF)''. Typical values for EAF range from 0.9 to 1.4. {| class="wikitable" ! rowspan="2" style="vertical-align:bottom" |Cost Drivers !colspan="6"|Ratings |- |align="center" valign="bottom" width="10%"|Very Low |align="center" valign="bottom" width="10%"|Low |align="center" valign="bottom" width="10%"|Nominal |align="center" valign="bottom" width="10%"|High |align="center" valign="bottom" width="10%"|Very High |align="center" valign="bottom" width="10%"|Extra High |- ! {{rh}} colspan=7 |Product attributes |- | Required software reliability |align="center"|0.75 |align="center"|0.88 |align="center"|1.00 |align="center"|1.15 |align="center"|1.40 |align="center"| |- | Size of application database |align="center"| |align="center"|0.94 |align="center"|1.00 |align="center"|1.08 |align="center"|1.16 |align="center"| |- | Complexity of the product |align="center"|0.70 |align="center"|0.85 |align="center"|1.00 |align="center"|1.15 |align="center"|1.30 |align="center"|1.65 |- ! {{rh}} colspan=7 |Hardware attributes |- | Run-time performance constraints |align="center"| |align="center"| |align="center"|1.00 |align="center"|1.11 |align="center"|1.30 |align="center"|1.66 |- | Memory constraints |align="center"| |align="center"| |align="center"|1.00 |align="center"|1.06 |align="center"|1.21 |align="center"|1.56 |- | Volatility of the virtual machine environment |align="center"| |align="center"|0.87 |align="center"|1.00 |align="center"|1.15 |align="center"|1.30 |align="center"| |- | Required turnabout time |align="center"| |align="center"|0.87 |align="center"|1.00 |align="center"|1.07 |align="center"|1.15 |align="center"| |- ! {{rh}} colspan=7 |Personnel attributes |- | Analyst capability |align="center"|1.46 |align="center"|1.19 |align="center"|1.00 |align="center"|0.86 |align="center"|0.71 |align="center"| |- | Applications experience |align="center"|1.29 |align="center"|1.13 |align="center"|1.00 |align="center"|0.91 |align="center"|0.82 |align="center"| |- | Software engineer capability |align="center"|1.42 |align="center"|1.17 |align="center"|1.00 |align="center"|0.86 |align="center"|0.70 |align="center"| |- | Virtual machine experience |align="center"|1.21 |align="center"|1.10 |align="center"|1.00 |align="center"|0.90 |align="center"| |align="center"| |- | Programming language experience |align="center"|1.14 |align="center"|1.07 |align="center"|1.00 |align="center"|0.95 |align="center"| |align="center"| |- ! {{rh}} colspan=7 |Project attributes |- | Application of software engineering methods |align="center"|1.24 |align="center"|1.10 |align="center"|1.00 |align="center"|0.91 |align="center"|0.82 |align="center"| |- | Use of software tools |align="center"|1.24 |align="center"|1.10 |align="center"|1.00 |align="center"|0.91 |align="center"|0.83 |align="center"| |- | Required development schedule |align="center"|1.23 |align="center"|1.08 |align="center"|1.00 |align="center"|1.04 |align="center"|1.10 |align="center"| |} The Intermediate Cocomo formula now takes the form: :{{math|1=''E'' = {{abbr|''a''<sub>''i''</sub>|coefficient}}(KLoC){{sup|{{abbr|''b''{{sub|''i''}}|exponent}}}}(EAF)}} where ''E'' is the effort applied in person-months, '''KLoC''' is the estimated number of thousands of delivered lines of code for the project, and '''EAF''' is the factor calculated above. The coefficient ''a<sub>i</sub>'' and the exponent ''b<sub>i</sub>'' are given in the next table. :{| class="wikitable" !Software project !width="20%"|a<sub>i</sub> !width="20%"|b<sub>i</sub> !width="20%"|c<sub>i</sub> |- ! Organic |align="center"|3.2 |align="center"|1.05 |align="center"|0.38 |- ! Semi-detached |align="center"|3.0 |align="center"|1.12 |align="center"|0.35 |- ! Embedded |align="center"|2.8 |align="center"|1.20 |align="center"|0.32 |} The Development time ''D'' and also the most effective number of Persons ''P'' calculation uses ''E'' in the same way as in the Basic COCOMO: :{{math|1=''D'' = 2.5 ''E''{{sup|''c''{{sub|''i''}}}}}} :{{tmath|1=P = E/D}} Note that in addition to the EAF, the parameter ''a<sub>i</sub>'' is different in ''Intermediate COCOMO'' from the Basic model: :{| class="wikitable" !Software project !width="20%"|''a<sub>b</sub>'' |- ! Organic |align="center"|2.4 |- ! Semi-detached |align="center"|3.0 |- ! Embedded |align="center"|3.6 |} The parameters ''b'' and ''c'' are the same in both models. == See also == * [[Comparison of development estimation software]] * [[Cost overrun]] * [[Cosysmo|COSYSMO]] * [[Estimation in software engineering]] * [[Function point]] * [[Object point]] * [[Putnam model]] * [[SEER-SEM]] * [[Software development effort estimation]] * [[Software engineering economics]] * [[PRICE Systems]] == References == {{reflist}} == Further reading == *{{cite journal | last = Kemerer | first = Chris F. | title = An Empirical Validation of Software Cost Estimation Models | journal = Communications of the ACM |date=May 1987 | volume=30 | issue=5 | pages=416β42 | url = http://www.pitt.edu/~ckemerer/CK%20research%20papers/EmpiricalValidationSwCost_Kemerer87.pdf | doi=10.1145/22899.22906}} == External links == <!-- Do not add links to commercial products here - it will be deleted as SPAM --> * [https://web.archive.org/web/20170902182304/http://openscience.us/repo/effort/cocomo/coc81.html COCOMO 81 data] on tera-PROMISE * [http://shape-of-code.coding-guidelines.com/2016/05/19/cocomo-how-not-to-fit-a-model-to-data/ Analysis of the COCOMO 81 data] obtains a different value for the Organic exponent. <br> {{DEFAULTSORT:Cocomo}} [[Category:Software engineering costs]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Cite book
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite web
(
edit
)
Template:DOClink
(
edit
)
Template:Distinguish
(
edit
)
Template:ISBN
(
edit
)
Template:Math
(
edit
)
Template:Refimprove
(
edit
)
Template:Reflist
(
edit
)
Template:Rh
(
edit
)
Template:Short description
(
edit
)
Template:Tmath
(
edit
)