Docsity

Requirements Engineering: Functional, Non-Functional, and Domain Requirements, Lecture notes of Computer Science

Partial preview of the text

Download Requirements Engineering: Functional, Non-Functional, and Domain Requirements and more Lecture notes Computer Science in PDF only on Docsity!

Lecture IV:

Requirements Engineering

General Views

Software Requirements Engineering

 The process of establishing the services that the customer requires from a system and the constraints under which the system operates and is developed.  The requirements themselves are the descriptions of the system services and constraints that are generated during the requirements engineering process.  It may range from a high-level abstract statement of a service or of a system constraint to a detailed mathematical functional specification.

Functional, Non-Functional and

Domain Requirements

Functional requirements

 Describe functionality or system services  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

Examples of functional requirements for the MoH-PMS  A user shall be able to search the appointments lists for all clinics  The system shall generate each day, for each clinic, a list of patients who are expected to attend appointments that day  Each staff member using the system shall be uniquely identified by his or her 8-digit employee number

Requirements completeness and consistency  In principle, requirements should be both complete and consistent  Complete  They should include descriptions of all facilities required  Consistent  There should be no conflicts or contradictions in the descriptions of the system facilities  In practice, it is impossible to produce a complete and consistent requirements document

Non-functional requirements  These define system properties and constraints e.g. reliability, response time and storage requirements.  Constraints are I/O 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 implementation  Non-functional requirements may affect the overall architecture of a system rather than the individual components  For example, to ensure that performance requirements are met, organize the system to minimize communications between 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

Non-functional requirements classifications  Product requirements  Requirements which specify that the delivered product must behave in a particular way e.g. execution speed, reliability  Organisational requirements  Requirements which are a consequence of organisational policies and procedures e.g. process standards used, implementation requirements  External requirements  Requirements which arise from factors which are external to the system and its development process e.g. interoperability requirements, legislative requirements

Metrics for specifying non-functional requirements Property Measure Speed Processed transactions/second User/event response time Screen refresh time Size Mbytes Number of ROM chips Ease of use Training time Number of help frames Reliability Mean time to failure Probability of unavailability Rate of failure occurrence Availability Robustness Time to restart after failure Percentage of events causing failure Probability of data corruption on failure Portability Percentage of target dependent statements Number of target systems

Domain requirements

 The system’s operational domain imposes requirements on the system.  For example, a train control system has to take into account the braking characteristics in different weather conditions  Domain requirements may be new functional requirements, constraints on existing requirements or define specific computations  If domain requirements are not satisfied, the system may be unworkable

The Software Requirements

Document

 This is the official statement of what is required of the system developers.  Should include both a definition of user requirements and a specification of the system requirements.  It is NOT a design document. As far as possible, it should set of WHAT the system should do rather than HOW it should do it. The Software Requirements Document