This version of SWEHB is associated with NPR 7150.2B. Click for the latest version of the SWEHB based on NPR7150.2C
188.8.131.52 For Class A, B, and C software projects, each Center Director shall establish and maintain a software cost repository(ies) that contains at least the following measures:
a. Planned and actual effort and cost.
b. Planned and actual schedule dates for major milestones.
c. Both planned and actual values for key cost parameters that typically include software size, requirements count, defects counts for maintenance or sustaining engineering projects, and cost model inputs.
d. Project descriptors or metadata that typically includes software class, software domain/type, and requirements volatility.
NPR 7150.2, NASA Software Engineering Requirements, does not include any notes for this requirement.
A cost repository is a tool for capturing and maintaining the historical project data useful for generating project estimates. Establishing, maintaining, and using a cost repository enables projects and programs to develop credible software cost estimates.
Software organizations and those supporting the cost estimation process should maintain a historical record of the data used to generate the cost estimates as well as the actual costs associated with those projects. Comparing the actual costs to the estimated costs and determining the basis for the differences allows for improved accuracy in future estimations. Additionally, data in cost repositories can help determine project cost growth over time and deviation between estimates and actuals.
Cost repositories are useful during all levels of planning: proposals, concept studies, feasibility studies, detailed task planning, as well as independent cost assessments. Cost repositories should be populated during the cost estimation process and updated throughout the process so that the data in the repository accurately reflects the data used as the basis for the cost estimate. The data need to be “sufficient to break them down to the lower levels needed to estimate various [work breakdown structure] (WBS) elements.” 419 Additionally, cost model inputs should have a pedigree associated with them. (Information on cost model input pedigree can be found in NASA-STD-7009 272 and NASA-HDBK-7009 460.)
Cost repositories should contain technical, schedule, program, and cost data in a format that allows meaningful data roll-up and comparison across multiple projects. The recommended minimum data set includes:
- Planned and actual effort.
- Planned and actual schedule dates (e.g., start, major milestones, completion).
- Planned and actual cost.
- Planned and actual values for key cost parameters such as:
- Software size (e.g., lines of new, reused, and modified-reused code).
- Requirements count.
- Defects count for maintenance or sustaining engineering projects.
- Cost model inputs (e.g., complexity, requirements volatility).
- Project descriptors or metadata that typically includes software class, software domain/type, and requirements volatility.
Additional repository data could include:
- Project name, organization.
- Software language.
- Software classification.
- Constraints (e.g., resources, budget, schedule).
A cost repository could be a simple spreadsheet or a database depending on the amount data to be stored and maintained for the organization as well as the number of stakeholders who need to access, use, and maintain the data. The implementation tool could also depend upon the type of analysis that will be performed on the data and whether there is benefit to having the tool perform some of that analysis.
Data in cost repositories should be reported to or accessible by organizational and Center-level data systems for organizational or Center-level analysis, measurements, and process improvements.
NASA-specific software cost estimation process information is available in Software Processes Across NASA (SPAN), accessible to NASA users from the SPAN tab in this Handbook.
Additional guidance related to software cost repositories may be found in the following related requirements in this Handbook:
4. Small Projects
No additional guidance is available for small projects. The community of practice is encouraged to submit guidance candidates for this paragraph.
- GAO Cost Estimating and Assessment Guide, Best Practices for Developing and Managing Capital Program Costs.GAO-09-3SP. United States Government Accountability Office. Applied Research and Methods. March, 2009.
Tools relative to this SWE may be found in the table below. You may wish to reference the Tools Table in this handbook for an evolving list of these and other tools in use at NASA. Note that this table should not be considered all-inclusive, nor is it an endorsement of any particular tool. Check with your Center to see what tools are available to facilitate compliance with this requirement.
No tools have been currently identified for this SWE. If you wish to suggest a tool, please leave a comment below.
6. Lessons Learned
The NASA Lessons Learned database contains the following lessons learned related to cost estimation:
- Know How Your Software Measurement Data Will Be Used. Lesson Number 1772: When software measurement data used to support cost estimates is provided to NASA by a project without an understanding of how NASA will apply the data, discrepancies may produce erroneous cost estimates that disrupt the process of project assessment and approval. Major flight projects should verify how NASA plans to interpret such data and use it in their parametric cost estimating model, and consider duplicating the NASA process using the same or a similar model prior to submission. 567