CSC375 · 2081 · 10 marks
Explain the importance of software pricing. Highlight COCOMO cost modeling technique. List its disadvantage.
Explain the importance of software pricing. Highlight COCOMO cost modeling technique. List its disadvantage.[10]
Quick answer
Software pricing is a critical activity in software project management. It must take into account broader organizational, economic, political, and business considerations. Simply calculating the cost of development is not enough; pricing decisions are influenced by many strategic factors.
Software Pricing, COCOMO Cost Modeling, and Its Disadvantages
1. Importance of Software Pricing
The major factors that affect software pricing are:
| Factor | Explanation |
|---|---|
| Market Entry Strategy | A development organization may quote a low price if it wants to move into a new segment of the software market. Accepting low profit in one project may give the opportunity of more profit later. |
| Uncertain Cost Estimation | If an organization has no clear idea about cost estimation, it may increase its price by adding a contingency amount to cover unexpected expenses. |
| Unclear Requirements | If the customer is not clear about their requirements, there is a chance of changing requirements later. In such cases, the organization may initially lower its price to win the contract. |
| Financial Health | If the financial health of the organization is not good, they may lower their price to gain a contract and establish themselves in business. |
| Competitive Positioning | Pricing helps an organization position itself competitively in the market against rival software vendors. |
Why Software Pricing Matters:
- It determines the profitability and sustainability of a software organization.
- It affects the bidding and tendering process for software contracts.
- It helps in resource planning -- knowing how much to invest in development, testing, and maintenance.
- Roughly 60% of costs are development costs and 40% are testing costs, so accurate pricing ensures these are covered.
- For customer software, evolution costs often exceed development costs, making long-term pricing strategy essential.
2. COCOMO Cost Modeling Technique
Definition
The Constructive Cost Model (COCOMO) is an algorithmic software cost estimation model. It predicts or estimates:
- The effort required for the project (in person-months)
- The total project cost
- The scheduled time for the project
This model depends on the number of lines of code (LOC) for software product development.
Estimation Approaches
COCOMO fits within the broader software estimation process, which includes estimating:
- Size of the software product
- Effort required
- Overall cost of the project
Estimation can be done using either:
- Top-down approach (also called Macro Model): Overall cost is derived from global properties of the project.
- Bottom-up approach: The cost of each software component is estimated individually and then combined to arrive at the overall project cost. COCOMO's detailed model is the leading method using this bottom-up approach.
Types / Levels of COCOMO
COCOMO is applied at three levels depending on the accuracy needed:
a) Basic COCOMO
- Estimates effort and duration based purely on lines of code (LOC).
- Uses the formula:
Effort (E) = a * (KLOC)^b [person-months]
Duration (D) = c * (E)^d [months]
Where a, b, c, d are constants that depend on the project type.
b) Intermediate COCOMO
- Extends Basic COCOMO by introducing cost driver attributes such as:
- Product attributes (reliability, complexity)
- Hardware attributes (memory constraints)
- Personnel attributes (analyst capability)
- Project attributes (use of software tools)
- These attributes adjust the effort estimate more accurately.
c) Detailed COCOMO (Advanced)
- Uses the bottom-up approach.
- The cost of each individual software component is estimated and then combined.
- It aims at constructing the estimate of a system from the knowledge gained about small software components and their interactions.
- Provides the most accurate estimate among the three levels.
Project Categories in COCOMO
| Mode | Description | Example |
|---|---|---|
| Organic | Small, simple projects with experienced teams | Payroll system |
| Semi-detached | Medium complexity, mixed experience | Compiler design |
| Embedded | Complex, tight constraints (hardware/software) | Air traffic control |
3. Disadvantages of COCOMO
Despite being widely used, COCOMO has several notable disadvantages:
-
Dependence on Lines of Code (LOC)
- The model relies heavily on LOC as the primary input. LOC is difficult to estimate accurately at the early stages of a project, making early estimates unreliable.
-
Does Not Handle Modern Development Well
- COCOMO was designed for traditional software development. It does not adequately address object-oriented development, component-based development, or agile methodologies.
-
Difficulty in Accurate Cost Driver Assessment
- In Intermediate and Detailed COCOMO, the cost drivers (effort multipliers) are subjective and require expert judgment, which can introduce human bias into the estimation.
-
Not Suitable for All Project Types
- COCOMO is less effective for real-time systems, embedded systems, or projects with rapidly changing requirements, as these do not fit neatly into its three project categories.
-
Ignores Reuse and COTS Components
- The model does not properly account for reused code, commercial off-the-shelf (COTS) components, or third-party libraries, which are common in modern software development.
-
Historical Data Dependency
- The constants (
a,b,c,d) used in the formulas are derived from historical project data. If an organization's projects differ significantly from the data used to calibrate the model, the estimates will be inaccurate.
- The constants (
-
Does Not Consider Team Dynamics
- COCOMO does not fully account for team communication overhead, organizational culture, or management quality, all of which significantly affect project cost and schedule.
Summary Table
| Aspect | Detail |
|---|---|
| Software Pricing | Strategic decision based on market, finance, and requirements clarity |
| COCOMO Type | Algorithmic cost estimation model |
| Input | Lines of Code (KLOC) |
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.