Professional Documents
Culture Documents
Requirement Analysis
Requirement Analysis
Preparation of list of
requirements of every
stakeholder
Preparation of consolidated
Steps of structured interview list and review the list
Version
Consolidate List Of Initial Requirements:
Return book
<<extend>>
Fine Calculation
Include relationship
51
Object Oriented Software Engineering by Yogesh Singh & Ruchika Malhotra
Use case approach
Use case diagram represents the top view of
the system.
Use cases reside within the system and actors
act from outside the system. Use case diagram
is also used to present functionality of the
system, but for proper explanation, it should
read along with use cases.
Issue Book
Library Staff
Student/Faculty/
Return Book <<extend>>
Empoyee
Reserve Book
Fine Calculation
Query Book
Se arch Catalog
Ge nera te Report
Use case approach
Use case template
1, Brief Description. Describe a quick background of the use case.
2. Actors. List the actors that interact and participate in this use case.
3. Flow of Events.
3.1. Basic flow. List the primary events that will occur when this use case is executed.
3.2. Alternative flows. Any subsidiary events that can occur in the use case should be
separately listed. List each such event as an alternative flow. A use case can have as
many alternative flows as required.
4. Special Requirements. Business rules for the basic and alternative flow should be
listed as special requirements in the use case narration. These business rules will also
be used for writing test cases. Both success and failure scenarios should be described
here.
5. Pre-conditions. Pre-conditions that need to be satisfied for the use case of perform.
6. Post-conditions. Define the different states in which you expect the system to be in,
after the use case executes.
7. Extension Points.
Object Oriented Software Engineering by Yogesh Singh & Ruchika Malhotra
Use case approach
Use case template
1. Introduction. Describe brief purpose of the use case.
2. Actors. List the actors that interact and participate in this use case.
3. Pre-condition. Condition that need to be satisfied for the use case to execute.
4. Post-condition. After the execution of the use case, different states of the systems are
defined here.
5. Flow of Events.
5.1. Basic flow. List the primary events that will occur when this use case is executed.
5.2. Alternative flow. Any other possible flow in this use case, if there, should be
separately listed. A use case may have many alternative flows.
6. Special Requirements. Business rules for the basic and alternative flows should be
listed as special requirements. Both success and failure scenarios should be described.
7. Associated use cases. List the related use cases, if any.
Alternate flows
Alternative Flow 1: Late Return of Book
If the duration for which the book has been kept by the student is more than 15 days, then
a fine calculation use case is called.
Alternative Flow 2: User exits
This allows the user to exit at any time during the use case. The use case ends.
Special Requirement
None
Associated use case
Login
Basic Flow
basic flow
Alternative
Flow 3
Alternative Flow 4
Alternative Flow 1
Post
conditions
Ending of use case
Alternative Flow 2
Alternative
Flow 1
Alternative Flow 3
Modifiable
A requirement is modifiable if changes can be made easily,
completely and consistently while retaining its structure and style.
Requirement should also be non redundant. Redundancy itself is
not an error, but it can easily lead to errors.
1. Introduction
1.1 Purpose
1.2 Scope
1.3 Definition, Acronyms and abbreviations
1.4 References
1.5 Overview
Object Oriented Software Engineering by Yogesh Singh & Ruchika Malhotra 85
Software Requirement Specification Document
3. Specific Requirements
3.1 External Interfaces
3.2 Functions
3.3 Performance requirements
2.2Product Functions
2.3User Characteristics
2.4Constraints
2.5Assumptions for dependencies
2.6Apportioning of requirements
3. Specific Requirements
3.1 External Interfaces
3.2 Functions
3.3 Performance requirements
3.4 Logical Database Requirements
3.5 Design Constraints
3.5.1 Standards Compliance 88
Object Oriented Software Engineering by Yogesh Singh & Ruchika Malhotra
Software Requirement Specification Document
1. Introduction
This section gives the overview of the complete SRS
document.
1.1 Purpose
We should describe the purpose of the SRS document and
also list the intended audience for the document. The
purpose of LMS is given below:
1.1 Purpose
The library management system (LMS) maintains the information about various
books available in the library. The LMS also maintains records of all the
students, faculty and employees in the university. These records are maintained
in order to provide membership to them.
Object Oriented Software Engineering by Yogesh Singh & Ruchika Malhotra 90
Software Requirement Specification
Document
1.2 Scope
The task of this sub section is to:
Assign a name to the software under development.
List the functions which will be provided and also those
functions which the software will not do.
Explain the applications of the software along with possible
benefits and objectives.
Maintain consistency amongst statements.
1.2 Scope
Name of the software is Library Management System (LMS). The
system will be referred as LMS in rest of the SRS. The proposed
LMS must be able to perform the following functions:
Dos
Issue of login Id and password to system operators.
Maintain details of books available in the library.
Maintain details of the students in the university to provide student
membership.
Maintain details of the faculty and employees in the university to
provide faculty and employees membership.
Issue a book.
Dos
Return a book, and calculates fine if the book is being returned after the
specified due date.
Reserve a book.
Provide search facility to check the availability of book in the library.
Generate the following reports:
List of books issued by a member.
Details of books issued and returned on daily basis.
Receipt of fine.
Total available books in the library.
List of library members along with issued books.
List of available books in the library:
Author wiseBook title wisePublisher wiseSubject wise
Don’ts
Periodicals section is not covered.
Book bank (if any) is not covered.
Records of digital books are not available.
Purchase of books facility is not available.
Benefits
The LMS provides the following benefits:
Easy searching of books.
Efficient issue and return of books.
Accurate and automated fine calculation.
Printing of reports.
1.4 References
Provide list of all documents including
books, research papers referenced
anywhere in the SRS document. The
referenced material used in LMS is given
as:
‘Software Engineering’ by K.K.
Aggarwal & Yogesh Singh, New Age
Publishing House, 3rd Edition, 2008.
IEEE Recommended Practice for
Software Requirements Specifications –
IEEE Std 830-1998.
IEEE Standard for Software Test
Documentation – IEEE Std. 829-1998.
1.5 Overview
This subsection of the SRS gives the overview of the software
system. Explain what the rest of the SRS contains and also gives
details about the organization of the SRS document.
2. Overall description
This section discusses the general factors which affect the
requirements and final product specific requirements are not
discussed. This section may help to write specific requirements of
section 3 of the SRS document.
X
traces
IRD
Initial
requirements