After the project is judged to be feasible, the real needs of users must be found out, studied and agreed. This is the most difficult part of the work, since people and not machines are involved.
Requirements Elicitation
Elicitation is the gathering of requirements from stakeholders, who are the people affected by the system, such as users, managers and customers. The techniques include interviews, in which analysts ask questions, questionnaires for many users, observation of the work in its setting, document analysis of forms and reports, brainstorming and joint application development (JAD) workshops, prototyping, and use cases that describe the use of the system. The problems are that users cannot explain what they want, use their own terms, have conflicting needs, and change their minds, and that the organisation and its politics influence the requirements.
Definition: Elicitation. The activity of discovering the requirements of a system by communicating with stakeholders and studying the environment.
Requirements Analysis
Analysis studies the gathered requirements to make them clear and complete. The analyst classifies requirements into groups, checks them for conflicts and missing parts, negotiates changes with the stakeholders, and arranges them in order of priority. Models are drawn to understand the problem, such as data flow diagrams. The aim is to get a consistent set of requirements that all agree on.
Requirements Validation
Validation checks that the requirements describe the system that the customer actually needs. It looks for validity, consistency, completeness, realism and verifiability. Reviews by the customer and developers, prototyping, and writing test cases from the requirements are used. The cost of fixing an error rises sharply with time, and an error found in the requirements phase costs far less than one found after delivery.
Requirements Management
Requirements management controls the changes of requirements during and after development. Requirements change because the business changes, users understand more, and technology moves. Every requirement has a unique identity, and a traceability link joins it to the design, code and tests. A change control process records each request, assesses its cost, effect and benefit, and approves or rejects it. A baseline is a version of the requirements that is agreed and that can be changed only through the change process.
Table 2.2: Elicitation techniques
| Technique | Strength | Limitation |
|---|---|---|
| Interview | Detailed, personal | Time consuming |
| Questionnaire | Reaches many users | Little detail |
| Observation | Shows real work | Takes time, may change behaviour |
| Prototype | Users react to a sample | Cost of building |
| JAD workshop | Quick agreement | Needs skilled leader |
Example 2.2: Choosing a technique
Problem: A bank wants a loan processing system. There are 200 branch staff, and the analyst also wants to know how officers actually handle special cases. Which techniques should be used?
Solution:
- A questionnaire collects general needs from 200 staff at low cost.
- Observation and interviews with a few loan officers reveal how special cases are handled.
Result: Use a questionnaire for breadth, with observation and interviews for depth.
Common mistakes
- Relying on one elicitation technique only.
- Accepting every requested change without checking its cost.
- Skipping validation and finding errors only at the testing stage.
Key takeaways
- Elicitation gathers requirements from stakeholders by interviews, questionnaires, observation, JAD and prototypes.
- Analysis classifies, checks and prioritises requirements.
- Validation checks validity, consistency, completeness, realism and verifiability.
- Management uses traceability, baselines and change control.
Practice questions
- What is a stakeholder?
- What is requirements validation?
- What is a baseline?
Answers to the practice questions
- A person or group affected by the system, such as users, managers and customers.
- Checking that the requirements describe the system the customer actually needs.
- An agreed version of the requirements that can be changed only through the change process.
Sources
- Official BCA syllabus Advanced Software Engineering, course code 25BCA405DS01, Unit II
