Académique Documents
Professionnel Documents
Culture Documents
Slide 1
Requirements engineering
Slide 2
What is a requirement?
Types of requirements
User requirements
System requirements
Software specifications provide more (design) detail
Slide 3
User requirements
Slide 4
System requirements
Slide 5
Slide 6
Functional requirements
Non-functional requirements
Domain requirements
Slide 7
Slide 8
Complete
Consistent
Slide 9
Ambiguous/imprecise requirement
4.A.5 The database shall only support the generation and
control of configuration objects; that is, objects which are
themselves groupings of other objects in the database. The
configuration control facilities shall allow access to the objects
in a version group by the use of an incomplete name.
What about non-configuration objects?
What about other database functionality?
What about level of service other than support?
Something else?
Ian Sommerville 2000
Slide 10
Product
requir ements
Ef ficiency
requir ements
Reliability
requir ements
Usability
requirements
Performance
requirements
Or ganizational
requir ements
Portability
requirements
Delivery
requirements
Interoperability
requirements
Implementation
requir ements
Space
requir ements
Ian Sommerville 2000
External
requirements
Ethical
requirements
Standards
requirements
Legislative
requirements
Privacy
requirements
Safety
requirements
Slide 11
Product requirement
Organisational requirement
4.C.8 It shall be possible for all necessary communication between the APSE
and the user to be expressed in the standard Ada character set
9.3.2 The system development process and deliverable documents shall
conform to the process and deliverables defined in XYZCo-SP-STAN-95
External requirement
7.6.5 The system shall not disclose any personal information about
customers apart from their name and reference number to the operators of the
system
Slide 12
Rob u st ness
P ortabi li ty
Ian Sommerville 2000
Meas ure
P ro cess ed t rans acti o ns /s econ d
User/ Event res po n se ti me
Screen refresh t ime
K By tes
Nu mb er o f RAM ch ip s
Train in g time
Nu mb er o f h elp frames
Mean ti me t o failu re
P ro b ab il ity o f u n av ailab ili ty
Rat e of failu re o ccu rren ce
Av ai lab i lit y
Time to rest art aft er failu re
P ercent ag e o f event s caus in g fail ure
P ro b ab il ity o f d ata co rru pt io n on fail ure
P ercent ag e o f targ et d ep end ent st at ement s
Nu mb er o f t arget sy st ems
Software Engineering, 6th edition.
Slide 13
Requirements interaction
Slide 14
Domain Requirement:
Train protection system
The deceleration of the train shall be computed as:
Dtrain = Dcontrol + Dgradient
Problems
Understandability
Requirements are expressed in the language of the application domain
This is often not understood by software engineers
Implicitness
Domain specialists understand the area so well that they do not think of
making the domain requirements explicit
Ian Sommerville 2000
Slide 15
Slide 16
Users of a
requirements
document
System customers
Managers
System engineers
System test
engineers
System
maintenance
engineers
Requirements
elicitation and
analysis
Requir ements
specification
Feasibility
report
Requirements
validation
System
models
User and system
requirements
Requirements
document
Slide 18
Feasibility studies
Slide 19
Slide 20
Slide 21
System models
Slide 22
Scenarios
Slide 23
Requirements validation
Fixing a requirements error after delivery may cost up to 100 times the
cost of fixing an implementation error
Requirements checking
Validity
Consistency
Completeness
Realism
Verifiability
Slide 24
Reviews
Prototyping
Test-case generation
Slide 25
Key points
Slide 26