Chapter 1 - Introduction - v2
Chapter 1 - Introduction - v2
ENGINEERING
REQUIREMENT ENGINEERING | ITS64104
IMPORTANCE OF REQUIREMENT ENGINEERING
(Brooks, 1987)
CHAOS
REPORT-
REASONS FOR
PROJECT
FAILURES
DEFECT FIX
COST
REQUIREMENT ENGINEERING - DEFINITION
Agreement Can lead to new requirements which are not Creative solution for a conflict requirement
well understood – content dimension
Documentation Can reveal some gaps in the content Formalization of a requirement according to the
dimension guideline
Note: Requirements include the quantified and documented needs, wants and expectations of stakeholders
THREE TYPES OF REQUIREMENTS
Functional requirement
Quality requirements
Constraints
THREE TYPES OF REQUIREMENTS
Functional requirement
• Statements of services the system should provide, how the system should react to
particular input and how the system should behave in particular situations
• In some cases, the functional requirements may also state what the system should not do
• Functional system requirements describe the system function in detail, its input, output,
exceptions and so on
Quality requirements
Constraints
FUNCTIONAL REQUIREMENTS : EXAMPLES
R1 – The house information system shall generate monthly statements of allowed and
denied access
R2 – If a sensor detects damage of the window, the system shall inform the security
company
R3 – If a correct PIN is entered at the keyboard of the access system, the system shall
remove the door lock and shall record access time, date and the associated ID entered.
THREE TYPES OF REQUIREMENTS
Functional requirement
Quality requirements
• Defines a quality property for the entire system, for a system component, for service
or a function
• Usually associated with quality model (e.g ISO25010 2011, Boehm model, etc)
Constraints
ISO25010 2011: PRODUCT QUALITY MODEL
QUALITY REQUIREMENTS
Quality characteristics Description
Functional suitability This characteristic represents the degree to which a product or system provides
functions that meet stated and implied needs when used under specified conditions.
Performance Efficiency This characteristic represents the performance relative to the amount of resources used
under stated conditions
Compatibility Degree to which a product, system or component can exchange information with other
products, systems or components, and/or perform its required functions, while sharing
the same hardware or software environment.
Usability Degree to which a product or system can be used by specified users to achieve
specified goals with effectiveness, efficiency and satisfaction in a specified context of
use.
QUALITY REQUIREMENTS
Quality characteristics Description
Reliability Degree to which a system, product or component performs specified functions under
specified conditions for a specified period of time.
Security Degree to which a product or system protects information and data so that persons
or other products or systems have the degree of data access appropriate to their
types and levels of authorization
Maintainability Degree of effectiveness and efficiency with which a product or system can be
modified to improve it, correct it or adapt it to changes in environment, and in
requirements
Portability Degree of effectiveness and efficiency with which a system, product or component can
be transferred from one hardware, software or other operational or usage
environment to another.
ISO25010 2011: QUALITY IN USE
NON-FUNCTIONAL REQUIREMENTS??
YES and NO
• When the user changes his password, the system shall validate
that the new password is at least 8 characters long and contains
alphanumeric character
THREE TYPES OF REQUIREMENTS
Functional requirement
Quality requirements
Constraints
• Is an organizational or technological requirement which restricts the way the system
shall be developed
• Global issues that shapes the requirements
EXAMPLES OF TYPES OF CONSTRAINTS
Organisational/ project The effort for system development shall not exceed 480 person months.
Physical The electronic control unit in the vehicle interior shall work at temperatures from
-10 to +50 degrees Celsius.
Legal The system shall process personal data in compliance with the EU’s Data
Protection Directive 95/46/EC.
RESTRICTIONS IMPOSED BY CONSTRAINTS
R1: The output shall be presented on a mobile phone, with only iOS and Android shall be supported.
Context
MANAGEMENT
Facet Facet Facet
VALIDATION
Documentation Elicitation
Core
Activities Negotiation
Requirement Artefacts
System Context
System context
IT Development
Subjec Usage
system Context • the part of the context in which the system to be
t Facet Facet
Facet developed is operating/embedded.
Cross- Sectional Activity
Documentatio
Core Elicitation
Activities
n • the part of the context in which the system is being
developed
Negotiation
Subject facet
System Context
Development
• which information is represented in the system or
IT
Subjec
t Facet
Usage
Facet
system Context which influence or constrain the representation of
Facet information in the system.
Cross- Sectional Activity
MANAGEMENT
VALIDATION
Subject facet
System Context
Development
• which information is represented in the system or
IT
Subjec
t Facet
Usage
Facet
system Context which influence or constrain the representation of
Facet information in the system.
Cross- Sectional Activity
MANAGEMENT
VALIDATION
Context
MANAGEMENT
Facet Facet Facet
VALIDATION
Documentation Elicitation
Core
Activities Negotiation
Requirement Artefacts
Documentation Elicitation
Core
Activities Negotiation
CORE ACTIVITIES: ELICITATION
GOAL OF ELICITATION
Core Documentati
Elicitation
(1) Identify relevant requirements sources.
Activities on
(2) Elicit existing requirements from the identified
sources.
(3) Develop new and innovative requirements.
Negotiation
GOAL OF NEGOTIATION
Core Documentati
Elicitation
(1) Identify conflicts.
Activities on
(2) Analyse the cause of each conflict.
(3) Resolve the conflicts by means of appropriate
strategies.
Negotiation (4) Document conflict resolution and their rationale.
GOAL OF NEGOTIATION
Core Documentati (1) Document relevant requirements information
Activities Elicitation
on
according to the defined documentation guidelines.
(2) Specify requirements according to the defined
specification guidelines.
Negotiation
(3) Choose documentation formats and notations which
fit the stakeholder needs, and are defined for the project.
(4) Ensure consistency between different documentation
formats used. on
nt ati
• In addition to the requirements, information about elicitation and negotiation should be
c ume
documented. i n do ion
re ss mens
• Early in requirements engineering, information is often documented g di
Pro
informally/unstructured and thus not compliant with the documentation and specification
rules.
CROSS SECTIONAL ACTIVITY: VALIDATION
Requirement Engineering Context THREE (3) VALIDATION GOALS
System Context (1) Validation of requirement artifacts.
IT Development • Aims at detecting defects in requirements.
Subjec Usage Context
system • Validating the artefacts with regard to the content, the documentation and the
t Facet Facet
Facet
agreement dimensions.
Cross- Sectional Activity
MANAGEMENT
VALIDATION
MANAGEMENT
VALIDATION
• Requirements traceability.
Documentatio
Core Elicitation
n (2) Management of the core activities:
Activities
• Ensure an efficient and effective overall RE process.
Negotiation
• Plan and control the execution of the RE activities.
• Alignment of the process to the current project situation.
Scenari Solution – oriented • Identifying changes in the context relevant for the system.
Goals
os requirements • Changes typically require (re-)initiating or (re-)scheduling of one or more RE
activities.
CROSS SECTIONAL ACTIVITY: MANAGEMENT
Requirement Engineering Context THREE (3) MANAGEMENT GOALS
System Context (1) Management of the requirements artifacts throughout the system lifecycle:
IT Development
Subjec Usage Context • Prioritization of requirements.
system
t Facet Facet
Facet • Persistent recording.
• Configuration management.
Cross- Sectional Activity
MANAGEMENT
VALIDATION
• Requirements traceability.
Documentatio
Core Elicitation
n (2) Management of the core activities:
Activities
• Ensure an efficient and effective overall RE process.
Negotiation
• Plan and control the execution of the RE activities.
• Alignment of the process to the current project situation.
Scenari Solution – oriented • Identifying changes in the context relevant for the system.
Goals
os requirements • Changes typically require (re-)initiating or (re-)scheduling of one or more RE
activities.
REQUIREMENT ENGINEERING FRAMEWORK:
REQUIREMENT ARTEFACTS
Requirement Engineering Context
Definition
System Context • A goal describes a high level objective of one or more stakeholders
IT Development
Subjec Usage Context
about a property of the system to be developed or the development
system
t Facet Facet
Facet
project.
Cross- Sectional Activity
MANAGEMENT
VALIDATION
Documentatio
Elicitation
• Prescriptive nature.
Core n
Activities • Expresses stakeholders’ intentions.
• Refines the system vision into more detailed objectives to be
Negotiation
fulfilled by the system
• Should be solution free
Requirement Artefacts
MANAGEMENT
VALIDATION
Documentatio
Core Elicitation
n
Activities Circumnavigating Easy entry of Automatic
traffic jams destination navigation
Negotiation
Requirement Artefacts
Definition
System Context
IT Development
Subjec Usage Context • describes a concrete example of satisfying or failing to satisfy a goal
system
t Facet Facet
Facet (or set of goals).
Cross- Sectional Activity
Documentatio
Core Elicitation
n Characteristics of a scenario
Activities
Negotiation
• Documents a concrete example of system usage.
• Typically defines a sequence of interaction steps executed to satisfy
(or not satisfy) a goal or set of goals.
Requirement Artefacts
• Puts requirements into their context.
Scenari Solution – oriented • Increases the comprehensibility of goals.
Goals
os requirements
REQUIREMENT ENGINEERING FRAMEWORK:
REQUIREMENT ARTEFACTS
Requirement Engineering Context
EXAMPLE
System Context
IT Development
Subjec
t Facet
Usage
Facet
system Context Entry of destination:
Facet
1. Driver selects the navigation to a desired destination.
Cross- Sectional Activity
MANAGEMENT
3. Driver types in the address.
VALIDATION
Documentatio
Elicitation
4. Navigation system checks the inserted information.
Core n
Activities
Negotiation
Requirement Artefacts
System Context
Development
• Specify requirements at a level of detail sufficient for supporting
IT
Subjec Usage
system Context later development activities such as design and test
t Facet Facet
Facet
Cross- Sectional Activity
Documentatio
Core Elicitation
n • Often imply a conceptual/logical solution.
Activities
• Should be conflict-free.
Negotiation • Should be agreed on by all stakeholders.
• Should be as complete as possible.
Requirement Artefacts
System Context
IT Development (1) Data
Subjec Usage Context
system
t Facet Facet
Facet • considers the static data structures
Cross- Sectional Activity
MANAGEMENT
VALIDATION
(3) Behavioural
Requirement Artefacts
• considers the system behaviour
Scenari Solution – oriented
Goals • defines the reactions to external stimuli in form of permitted states,
os requirements
transitions and outputs.
REQUIREMENT ENGINEERING FRAMEWORK:
EXAMPLE OF SOLUTION-ORIENTED REQUIREMENTS
REQUIREMENT ENGINEERING FRAMEWORK:
REQUIREMENT ARTEFACTS
Requirement Engineering Context Goals, Scenarios and solution-oriented requirements are
used complementarily during requirements engineering.
System Context
IT Development
Subjec Usage Context
t Facet Facet
system
Facet
INTERRELATIONS:
Cross- Sectional Activity
MANAGEMENT
VALIDATION
Documentatio
solution-oriented requirements leads to a significant
Elicitation
Core
Activities
n improvement of the quality of the requirements.
Scenarios put requirements into context and thus provide a
Negotiation
basis for deriving and developing solution-oriented
requirements.
Goals and scenarios support the refinement of requirements
Requirement Artefacts
across different layers of abstraction.
Scenari Solution – oriented
Goals
os requirements
REQUIREMENT ENGINEERING FRAMEWORK:
REQUIREMENT ARTEFACTS
TYPES OF REQUIREMENT
REQUIREMENT ARTEFACTS
• Functional • Goals
• Quality • Scenarios
• Constraint • Solution Oriented
Requirements
Can be defined by