CH 4
CH 4
CH 4
Requirements Engineering
Functional requirements
Functional requirements describe functionality or system services. They depend on the type of software,
expected users and the type of system where the software is used.
• Functional user requirements may be high-level statements of what the system should do.
• Functional system requirements should describe the system services in detail.
Problems arise when requirements are not precisely stated. Ambiguous requirements may be interpreted in
different ways by developers and users. In principle, requirements should be both
• Complete: they should include descriptions of all facilities required, and
• Consistent: there should be no conflicts or contradictions in the descriptions of the system facilities.
Non-functional requirements
Non-functional requirements define system properties and constraints e.g. reliability, response time and
storage requirements. Constraints are 1/0 device capability, system representations, etc. Process
requirements may also be specified mandating a particular IDE, programming language or development
method. Non-functional requirements may be more critical than functional requirements. If these are not
met, the system may be useless.
Non-functional requirements may affect the overall architecture of a system rather than the individual
components. A single non-functional requirement, such as a security requirement, may generate a number of
related functional requirements that define system services that are required. It may also generate
requirements that restrict existing requirements.
• Verifiability: can the requirements be checked?
Prototyping
Using an executable model of the system to check requirements.
Test-case generation
Developing tests for requirements to check testability.
Requirements change
Requirements management is the process of managing changing requirements during the requirements
engineering process and system development. New requirements emerge as a system is being developed
and after it has gone into use. Reasons why requirements change after the system's deployment:
• The business and technical environment of the system always changes after installation.
• The people who pay for a system and the users of that system are rarely the same people.
• Large systems usually have a diverse user community, with many users having different requirements
and priorities that may be conflicting or contradictory.