UNIT -2 REQ
UNIT -2 REQ
User requirements
Statements in natural language plus diagrams of the services
the system provides and its operational constraints. Written for
customers.
System requirements
A structured document setting out detailed descriptions of the
system’s functions, services and operational constraints. Defines
what should be implemented so may be part of a contract
between client and contractor.
• Incomplete requirements
• Inconsistent requirements
• Ambiguous requirements
• Conflicting requirements
• Unrealistic or impractical requirements
• Gold plating (adding extra features that are not
required)
• Over-emphasis on ease of implementation
• Over-emphasis on ease of use
Functional requirements
Statements of services the system should provide, how the
system should react to particular inputs and how the system
should behave in particular situations.
May state what the system should not do.
Non-functional requirements
Constraints on the services or functions offered by the system
such as timing constraints, constraints on the development
process, standards, etc.
Often apply to the system as a whole rather than individual
features or services.
Domain requirements
Constraints on the system from the domain of operation
30/10/2014 Chapter 4 Requirements Engineering 12
Functional requirements
Product requirements
Requirements which specify that the delivered product must
behave in a particular way e.g. execution speed, reliability, etc.
Organisational requirements
Requirements which are a consequence of organisational
policies and procedures e.g. process standards used,
implementation requirements, etc.
External requirements
Requirements which arise from factors which are external to the
system and its development process e.g. interoperability
requirements, legislative requirements, etc.
Product requirement
The Mentcare system shall be available to all clinics during normal
working hours (Mon–Fri, 0830–17.30). Downtime within normal
working hours shall not exceed five seconds in any one day.
Organizational requirement
Users of the Mentcare system shall authenticate themselves using
their health authority identity card.
External requirement
The system shall implement patient privacy provisions as set out in
HStan-03-2006-priv.
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
Requirements discovery
Interacting with stakeholders to discover their requirements.
Domain requirements are also discovered at this stage.
Requirements classification and organisation
Groups related requirements and organises them into coherent
clusters.
Prioritisation and negotiation
Prioritising requirements and resolving requirements conflicts.
Requirements specification
Requirements are documented and input into the next round of
the spiral.
• It is a group technique
• It is intended to generate lots of new ideas hence
providing a platform to share views
• A highly trained facilitator is required to handle
group bias and group conflicts.
• Every idea is documented so that everyone can
see it.
• Finally, a document is prepared which consists of
the list of requirements and their priority if
possible.
Requirements 47
Need for SRS…
Requirements 49
Need for SRS…
Requirements 50
Characteristics of an SRS
What should be the characteristics of a good
SRS? Some key ones are
Complete
Unambiguous
Consistent
Verifiable
Ranked for importance and/or stability
Requirements 51
30/10/2014 Chapter 4 Requirements Engineering 52
Characteristics…
Correctness
Each requirement accurately represents some
desired feature in the final system
Completeness
All desired features/characteristics specified
Hardest to satisfy
Completeness and correctness strongly related
Unambiguous
Each req has exactly one meaning
Without this errors will creep in
Important as natural languages often used
Requirements 53
Characteristics…
Requirements 54
Components of an SRS
What should an SRS contain ?
Clarifying this will help ensure completeness
An SRS must specify requirements on
Functionality
Performance
Design constraints
External interfaces
Requirements 55
Sample format od SRS
Software SRS establishes the basic for agreement between the client and
the supplier on what the software product will do.
Requirements reviews
Systematic manual analysis of the requirements.
Prototyping
Using an executable model of the system to check requirements.
Covered in Chapter 2.
Test-case generation
Developing tests for requirements to check testability.
Verifiability
Is the requirement realistically testable?
Comprehensibility
Is the requirement properly understood?
Traceability
Is the origin of the requirement clearly stated?
Adaptability
Can the requirement be changed without a large impact on other
requirements?