Requirement Engineering Presentation Transcript:
Requirement Engineering Definitions
Importance of Requirements
Role of Requirements
Some Risks from Inadequate Requirement
Levels of Software Requirements
Software development life cycle divided into four phases namely vision, definition, development, and maintenance.
Each one of these stages has a different focus of activity.
During the vision phases, the focus is on why do we want to have this system.
During definition phase the focus shifts from why to what needs to be built to fulfill the previously outlined vision.
During development the definition is realized into design and implementation of the system.
Finally during maintenance all the changes and enhancements to keep the system up and running and adapt to the new environment and needs are carried out.
Requirement engineering mainly deals with the definition phase of the system.
Requirement engineering is the name of the process when the system services and constraints are established.
It is the starting point of the development process with the focus of activity on what and not how.
4.Software Requirement Definitions
Jones defines software requirements as a statement of needs by a user that triggers the development of a program or system.
Alan Davis defines software requirements as a user need or necessary feature, function, or attribute of a system that can be sensed from a position external to that system.
According to Sommerville, requirements are a specification of what should be implemented. They are descriptions of how the system should behave, or of a system property or attribute. They may be a constraint on the development process of the system.
5.IEEE defines software requirements as:
1) A condition or capability needed by user to solve a problem or achieve an objective.
2) A condition or capability that must be met or possessed by a system or system component to satisfy a contract, standard, specification, or other formally imposed document.
3) A documented representation of a condition or capability as in 1 or 2.
6.As can be seen, these definitions slightly differ from one another but essentially say the same thing:
A software requirement is a document that describes all the services provided by the system along with the constraints under which it must operate.
7.Importance of Requirements
The hardest single part of building a software system is deciding precisely what to build. No other part of the conceptual work is as difficult as establishing the detailed technical requirements, including all the interfaces to people, to machines, and to other software systems. No other part of the work so cripples the system if done wrong. No other part is more difficult to rectify later. Fred Brooks
8.Many of the problems encountered in SW development are attributed to shortcoming in requirement gathering and documentation process.
It has been noted that 40-60% of all defects found in software projects can be traced back to poor requirements.
9.Importance of Requirements-I
This following graph shows the relative cost of fixing problem at the various stages of software development.
Boehm (1981) has reported that correcting an error after development costs 68 times more.
Other studies suggest that it can be as high as 200 times. Since cost is directly related with the success or failure of projects, it is clear from all this discussion that having sound requirements is the most critical success factor for any project
10.Role of Requirements
Software requirements document plays the central role in the entire software development process.
To start with, it is needed in the project planning and feasibility phase. In this phase, a good understanding of the requirements is needed to determine the time and resources required to build the software. As a result of this analysis, the scope of the system may be reduced before embarking upon the software development.
Once these requirements have been finalized, the construction process starts. During this phase the software engineer starts designing and coding the software. Once again, the requirement document serves as the base reference document for these activities.
It can be clearly seen that other activities such as user documentation and testing of the system would also need this document for their own deliverables.
On the other hand, the project manager would need this document to monitor and track the progress of the project and if needed, change the project scope by modifying this document through the change control process
11.Some Risks from Inadequate Requirement Process
Insufficient user involvement leads to unacceptable products.
Creeping user requirements contribute to overruns and degrade product quality.
Ambiguous requirements lead to ill-spent time and rework.
Gold-plating by developers and users adds unnecessary features.
12.Some Risks from Inadequate Requirement Process-II
Smallest specifications lead to missing key requirements and hence result in an unacceptable product.
13. Levels of Software Requirements
These are used to state the high-level business objective of the organization or customer requesting the system or product. They are used to document main system features and functionalities without going into their basic details. They are captured in a document describing the project vision and scope.
2) User Requirements
User requirements add further detail to the business requirements. They are called user requirements because they are written from a user’s perspective and the focus of user requirement describe tasks the user must be able to accomplish in order to fulfill the above stated business requirements. They are captured in the requirement definition document.
14.Levels of Software Requirements-I
3) Functional Requirements
The next level of detail comes in the form of what is called functional requirements. They bring-in the system’s view and define from the system’s perspective the software functionality the developers must build into the product to enable users to accomplish their tasks stated in the user requirements - thereby satisfying the business requirements.
4) Non-Functional Requirements
A software requirement as a document that describes all the services provided by the system along with the constraints under which it must operate. That is, the requirement document should not only describe the functionality needed and provided by the system, but it must also specify the constraints under which it must operate. Constraints are restrictions that are placed on the choices available to the developer for design and construction of the software product. These kinds of requirements are called Non-Functional Requirements. These are used to describe external system interfaces, design and implementation constraints, quality and performance attributes. These also include regulations, standards, and contracts to which the product must conform.
15.Word Processing System Example
Let us assume that we have a word-processing system that does not have a spell checker. In order to be able to sell the product, it is determined that it must have a spell checker.
Hence the business requirement could be stated as: user will be able to correct spelling errors in a document efficiently. Hence, the Spell checker will be included as a feature in the product.