A risk is an uncertain event that, if it happens, harms the project. Planning for risk before it strikes is cheaper and safer than reacting after.
Reactive and Proactive Risk Strategies
A reactive strategy waits for problems to occur and then deals with them, which is sometimes called "fire fighting". The team acts only when the risk becomes a problem, and the cost is often high. A proactive strategy begins before work starts. Risks are found, their likelihood and effect are assessed, and plans are made to avoid or reduce them. Proactive risk management is the aim of software engineering, although a small risk may be accepted and handled reactively.
Definition: Risk. A potential problem that may or may not occur, but which would cause loss or harm to the project if it did.
Software Risks
A risk has two features. Uncertainty means that it may or may not happen, and loss means that there are consequences if it does. Project risks threaten the plan, such as a shortage of staff, a budget cut, or an unreasonable deadline. Technical risks threaten quality and timing, such as an ambiguous specification, difficult technology or a flawed design. Business risks threaten the viability of the product, such as building a product that no one wants or losing support from management. Risks are also known, which are found by evaluation, predictable, which are drawn from past experience, and unpredictable.
Risk Identification
Risk identification is a systematic attempt to list the risks. A risk checklist is used, covering product size, business impact, customer characteristics, process definition, development environment, technology to be built and staff size and experience. Brainstorming and the study of earlier projects help to find further risks. The output is a list of risks with a short description of each.
Risk Projection
Risk projection, also called risk estimation, rates each risk in two ways. The probability that the risk will occur and the impact of the consequences are estimated. The impact is usually rated as negligible, marginal, critical or catastrophic. The risk exposure is the product of the probability and the cost of the loss, RE = P × C, and it is used to rank risks. Risks with a high exposure get the most attention, and risks below a cut-off line are not managed actively.
Risk Refinement
Risk refinement restates a general risk in the condition-transition-consequence (CTC) form. A condition is what is known now, the transition is what may happen, and the consequence is the result. Splitting a broad risk in this way makes it easier to find the cause and plan the response.
Table 2.4: Impact categories of a risk
| Category | Effect on the project | Example |
|---|---|---|
| Negligible | Small inconvenience | Minor delay in a report |
| Marginal | Some delay or cost | Slip of a week |
| Critical | Major delay, lower quality | Key module is unusable |
| Catastrophic | Project fails | Loss of the customer |
Example 2.4: Computing risk exposure
Problem: Two risks are listed. A: key developer leaves, probability 30 percent, loss 200000 rupees. B: change in requirements, probability 60 percent, loss 80000 rupees. Which one should be managed first?
Solution:
- RE of A = 0.30 × 200000 = 60000 rupees.
- RE of B = 0.60 × 80000 = 48000 rupees.
Result: Risk A has the higher exposure of 60000 rupees, so it is managed first.
risks = {"A key developer leaves": (0.30, 200000),
"B requirements change": (0.60, 80000)}
ranked = sorted(risks.items(), key=lambda r: -r[1][0] * r[1][1])
for name, (p, c) in ranked:
print(name, p * c)
Output
A key developer leaves 60000.0
B requirements change 48000.0
Common mistakes
- Ignoring a risk because its probability is low, even though its impact is catastrophic.
- Listing risks once at the start and never reviewing them.
- Confusing a risk, which may happen, with a problem, which has happened.
Key takeaways
- A proactive strategy plans for risks before they occur.
- A risk has uncertainty and loss.
- Risk exposure = probability × cost of loss.
- Refinement restates a risk in the condition-transition-consequence form.
Practice questions
- Distinguish reactive and proactive risk strategies.
- How is risk exposure calculated?
- Name the three types of software risk.
Answers to the practice questions
- Reactive acts after a problem occurs, proactive plans before work starts.
- Probability of the risk multiplied by the cost of the loss.
- Project, technical and business risks.
Sources
- Official BCA syllabus Software Engineering, course code 26BCA403DS03, Unit II
