See edit history of this section
Post feedback on this section
- 1. The Requirement
- 2. Rationale
- 3. Guidance
- 4. Small Projects
- 5. Resources
- 6. Lessons Learned
- 7. Software Assurance
1. Requirements
3.2.2 The project manager’s software cost estimate(s) shall satisfy the following conditions:
a. Covers the entire software life cycle.
b. Is based on selected project attributes (e.g., programmatic assumptions/constraints, assessment of the size, functionality, complexity, criticality, reuse code, modified code, and risk of the software processes and products).
c. Is based on the cost implications of the technology to be used and the required maturation of that technology.
d. Incorporates risk and uncertainty, including end state risk and threat assessments for cybersecurity.
e. Includes the cost of the required software assurance support.
f. Includes other direct costs.
1.1 Notes
In the event of a decision to outsource, it is a best practice that both the acquirer (NASA) and the provider (contractor/subcontractor) be responsible for developing software cost estimates. For any class of software that has significant risk exposure, consider performing at least two cost estimates.
1.2 History
1.3 Applicability Across Classes
Class A B C D E F Applicable?
Key: - Applicable | - Not Applicable
2. Rationale
Credible software cost estimates are a vital activity performed as part of a project and software life cycle management (NPR 7150.2, NASA Software Engineering Requirements, Chapter 3). Software cost estimates are required to meet NASA policies and have specific characteristics that make them credible and provide programs and projects with confidence in the cost of work to be performed.
3. Guidance
Credible software cost estimates for NASA are required to meet specific conditions. When preparing cost estimates, the software acquirer and the software provider work together to develop cost estimates that meet the conditions described below. See SWE-033 - Acquisition vs. Development Assessment.
The software cost estimate(s) and associated estimation data should be documented in a software cost driver sheet (a sample is available in Software Processes Across NASA (SPAN), accessible to NASA users from the SPAN tab in this Handbook) that supports the development of a parametric cost estimate.
3.1 Life Cycle Coverage
A credible software project cost estimate covers the entire software life cycle from concept to retirement, including maintenance, support (SWE-015 - Cost Estimation), and associated project attributes such as annual percent lines of code changed. A breakout of cost by life cycle phase and activity is a good estimating practice and cost estimates should be updated to reflect new assumptions.
3.2 Project Attributes
Software cost estimates are based on project attributes, including the estimated size of the software, functionality, complexity, criticality, and risk. Other attributes to consider include the use of reused and/or modified code, database size, documentation requirements, and required reusability. Many of these attributes apply to the software being created, the processes used to create and verify that software, and the products made throughout the life cycle such as requirements documentation, architecture, detailed design, test plans, procedures, etc. (SWE-015 - Cost Estimation).
3.3 Technology Implications
Given the need to use the latest technology to achieve its missions, NASA's cost estimates take into account the cost implications of the technology to be used and the required maturation of that technology. When developing a software cost estimate, maintain all assumptions and data associated with the technology to be used on the software project, and maintain good data and records associated with any cost-saving identified from the use of software technology. Make sure that the software estimate maintains data showing the cost required for the maturation of any planned use of new technology. New technology can be defined as any new software development environments or tools or software development associated with new or unproven technology.
3.4 Risk and Uncertainty
Risk and uncertainty both relate to the same underlying concept – randomness. Risk is quantifiable; uncertainty arises from imperfect knowledge. See SWE-086 - Continuous Risk Management.
When developing a cost estimate, it is important to identify common software risks, assess their impact on the cost estimate, and make revisions to the estimate based on these impacts, e.g., incorporate allowances for uncertainty in sizing and other cost estimation model inputs.
A risk is an event that has the potential to cause a significant impact on technical, cost, and/or schedule performance.
Compile known major risks.
As you generate the software risk list, consider the following:
- WBS elements are affected.
- When it would occur.
- Likelihood of occurrence.
- Impact (consequences).
- What it would cost to mitigate the impact.
- Stakeholder and user perspectives.
Risk and uncertainty can be estimated and analyzed in various ways:
- Risk matrices (e.g., 5x5).
- Expected risk (likelihood of impact).
- Monte Carlo methods (Monte Carlo methods use random numbers to obtain numerical solutions when analytical methods are too difficult to use) produce distributions.
Monte Carlo methods use random numbers to obtain numerical solutions when analytical methods are too difficult to use. When using Monte Carlo methods with cost models, they are used to simulate the estimated cost distribution.
The project team may add the results of the expected risk impact or identified mitigations to the bottom-up estimate. The cost models have Monte Carlo algorithms that produce a cost distribution and the identified risks are used to determine which model inputs should be entered with a wider range.
3.4.1 Guidance on "end state risk and threat assessments for cybersecurity"
The intent is to make sure that projects/programs are looking at the software product as a whole, not just during development.
The cost estimate(s) should include the cost of supporting any cybersecurity risk and threat assessments throughout the planned software use. Including estimating for cybersecurity software assessments and checks during the mission, commend and memory monitoring during the mission, software modifications if needed, and software COTS updates as needed to address a cybersecurity threat.
end state - specified situation at the successful completion of the final phase of the project, when the software is no longer needed for the project.
3.5 Software Assurance Support
Support efforts such as software assurance and, when applicable, Independent Verification and Validation (IV&V) also have costs associated with them that are important to include in the software cost estimation. Including software assurance in the cost, estimate helps ensure that the project fully understands the software assurance activities that should be performed on the project and provides the appropriate level of funding for those activities. It is important for software assurance and the project to discuss the risks associated with reducing or limiting the software assurance effort on a project which may be caused, in part, by limited funding.
See also Topic 8.51 - Software Assurance Plan,
3.6 Other Costs
Other factors to consider when developing the cost estimate include:
- Procurement of equipment such as workstations, testbeds, and simulators.
- Procurement or shared costs of tools such as compilers, licenses, and configuration management tools.
- Travel for reviews, customer interfaces, and vendor visits.
- Training.
See SWE-142 - Software Cost Repositories.
3.7 Additional Guidance
Additional guidance related to this requirement may be found in the following materials in this Handbook:
Related Links |
---|
3.8 Center Process Asset Libraries
SPAN - Software Processes Across NASA
SPAN contains links to Center managed Process Asset Libraries. Consult these Process Asset Libraries (PALs) for Center-specific guidance including processes, forms, checklists, training, and templates related to Software Development. See SPAN in the Software Engineering Community of NEN. Available to NASA only. https://nen.nasa.gov/web/software/wiki 197
See the following link(s) in SPAN for process assets from contributing Centers (NASA Only).
SPAN Links |
---|
4. Small Projects
The conditions for cost estimates apply to small as well as large tasks but should be scaled to fit the size and scope of the task. All estimates are made using some combination of the basic estimation methods of analogy or Cost Estimating Relationship (CER). Whatever method is used, it is most important that the assumptions and formulas used be documented to enable more thorough reviews and to make it easier to revise estimates at future dates when assumptions may need to be revised. A documented estimate is the first line of defense against arbitrary budget cuts. Small projects nominally use the analogy estimates methods if the development organization has data to support them. The use of at least two estimates is always considered to be a best practice for small and large software estimation activities.
5. Resources
5.1 References
- (SWEREF-116) 2008. Accessed August 15, 2011 at http://ceh.nasa.gov. This URL is a website that lists multiple resources for download.
- (SWEREF-136) Boehm, Barry. Englewood Cliffs, NJ:Prentice-Hall, 1981.
- (SWEREF-166) Database of cost metrics for NASA missions: http://www.nasa.gov/offices/ooe/CADRe_ONCE.html#.U0Qc-BC9Z8E, (Accessed December 09, 2014). This URL is a website that lists multiple resources for download.
- (SWEREF-184) Stutzke, R., Addison-Wesley Professional (May 6, 2005).
- (SWEREF-197) Software Processes Across NASA (SPAN) web site in NEN SPAN is a compendium of Processes, Procedures, Job Aids, Examples and other recommended best practices.
- (SWEREF-306) Reifer, D., (2000). A Poor Man 's Guide to Estimating Software Costs. 8th ed., Reifer Consultants, Inc.
- (SWEREF-419) GAO-09-3SP. United States Government Accountability Office. Applied Research and Methods. March, 2009.
- (SWEREF-572) Public Lessons Learned Entry: 2218.
5.2 Tools
NASA users find this in the Tools Library in the Software Processes Across NASA (SPAN) site of the Software Engineering Community in NEN.
The list is informational only and does not represent an “approved tool list”, nor does it represent an endorsement of any particular tool. The purpose is to provide examples of tools being used across the Agency and to help projects and centers decide what tools to consider.
6. Lessons Learned
6.1 NASA Lessons Learned
The NASA Lessons Learned database contains the following lesson learned related to cost estimation:
- Flight Software Engineering Lessons. Lesson Number 2218 572: The engineering of flight software is a major consideration in establishing the JPL project total cost and schedule because every mission requires a significant amount of new software to implement new spacecraft functionality. Constraints to the development and testing of software concurrent to engineering the rest of the flight system have led to flight software errors, including the loss of some missions. The findings of several JPL studies and flight mishap investigations suggest a number of recommendations for mitigating software engineering risk.
6.2 Other Lessons Learned
Other Lessons Learned from experience (Hihn, Jairus M. JPL. 818.354.1248) and the JPL Cost Estimation Handbook available in SPAN include the following concepts:
- Common costs left out of cost estimates.
- Review preparation.
- Documentation.
- Fixing Anomalies and Engineering Change Requests (ECRs)’s.
- Testing.
- Maintenance.
- Basic management and coordination activities.
- Technical leads do spend time doing management activities.
- Mission Support Software Components.
- Development and test environments.
- Travel.
- Training.
7. Software Assurance
a. Covers the entire software life cycle.
b. Is based on selected project attributes (e.g., programmatic assumptions/constraints, assessment of the size, functionality, complexity, criticality, reuse code, modified code, and risk of the software processes and products).
c. Is based on the cost implications of the technology to be used and the required maturation of that technology.
d. Incorporates risk and uncertainty, including end state risk and threat assessments for cybersecurity.
e. Includes the cost of the required software assurance support.
f. Includes other direct costs.
7.1 Tasking for Software Assurance
1. Assess the project's software cost estimate(s) to determine if the stated criteria listed in "a" through "f" are satisfied.
7.2 Software Assurance Products
- Software Assurance Plan Assessment
- Software Engineering Plans Assessment
Assessment of the project's cost estimate, including any issues or risks, identified.
Objective Evidence
- Evidence of confirmation that the cost estimates are complete.
- Evidence that there is a cost estimate for the software assurance support.
7.3 Metrics
- Planned SA resource allocation versus actual SA resource allocation.
- Comparison of initial SA cost estimates vs. final cost (capturing assumptions and differences)
- # of detailed software requirements vs. # of estimated SLOC to be developed by the project
See also Topic 8.18 - SA Suggested Metrics.
7.4 Guidance
For this requirement, software assurance needs to assess the project cost estimate to determine whether all the conditions stated in the requirement are satisfied:
- Covers the entire software life cycle.
- Is based on selected project attributes (e.g., assessment of the size, functionality, complexity, criticality, reuse code, modified code, and risk of the software processes and products).
- Is based on the cost implications of the technology to be used and the required maturation of that technology.
- Incorporates risk and uncertainty, including cybersecurity.
- Includes the cost of the required software assurance support.
- Includes other direct costs.
a. Verify that the project cost estimate covers all the life cycle phases that the project is participating in from the project conception stage and approval stages, through requirement development and analysis, design, implementation, testing, acceptance, operations, and maintenance through retirement. The life cycle phases should be defined in the project or software development plan.
b. Verify that the attributes considered important for this project have been accounted for in any grassroots estimate, as well as in the inputs to any models used for estimation.
c. If new technology is to be used on this project, verify the cost estimate has been adjusted to account for learning curves, potential immaturity of tools and processes, and any other issues that might affect the project's costs and schedules.
d. Verify that any potential risks and uncertainties have been documented and incorporated into the uncertainty factors for the cost.
e. Verify that the software assurance effort and the safety assurance effort, if applicable, have been incorporated into the cost estimate. If these are not included in the models used to estimate the project costs, add a factor of 5 to 6% of the software cost or a grassroots software assurance estimate for this support.
f. Verify that the cost estimate includes other direct costs including the following "typical forgot items":
- Procurements: Might include development and test environments, project management and development tools (CM system, issue tracking system, risks management tool, software diagnostic tools like static analyzers, etc., COTS software, hardware (computers, lab set-ups, etc.)
- Training for the project team as well as assurance personnel, operators, customers
- Travel for meetings, training
- Project activities that are often forgotten: management activities, development, and production of documentation, preparation for reviews, fixing anomalies
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.
7.5 Additional Guidance
Additional guidance related to this requirement may be found in the following materials in this Handbook:
0 Comments