Software requirements specification (srs) by Dan Dharma

29
Software Requirements Specification (SRS) BY Dr. T. AVUDAIAPPAN

Transcript of Software requirements specification (srs) by Dan Dharma

Page 1: Software requirements specification (srs) by  Dan Dharma

Software Requirements Specification (SRS)

BYDr. T. AVUDAIAPPAN

Page 2: Software requirements specification (srs) by  Dan Dharma

What is an SRS

• SRS is the official statement .• SRS is a complete description of the behavior of the system to be

developed.• SRS should include both a definition of user requirements and a

specification of the system requirements.• The SRS fully describes what the software will do.

Page 3: Software requirements specification (srs) by  Dan Dharma

What is the purpose of an SRS?

SRS used to know all the requirements for the software development and thus that will help in designing the software.

Page 4: Software requirements specification (srs) by  Dan Dharma

Structure of The Requirements Document

• A number of large organizations, such as the US Department of Defense and the IEEE, have defined standards for requirements documents.• The most widely known standard is IEEE/ANSI 830-1998 (IEEE, 1998).

This IEEE standard suggests the

Page 5: Software requirements specification (srs) by  Dan Dharma
Page 6: Software requirements specification (srs) by  Dan Dharma

Structure Explained

1.INTRODUCTION Purpose

Describe the purpose of the SRS, not the purpose of the software being developed.

Scope Describe application of software (benefits, objectives). Explain what software will (not) do.

Page 7: Software requirements specification (srs) by  Dan Dharma

Structure Explained

.INTRODUCTION Definitions/acronyms/abbreviations

Definitions of terms and abbreviations that are used in the SRS.

References Specify the sources.

Overview Brief description of rest of SRS. How the SRS is organized

Page 8: Software requirements specification (srs) by  Dan Dharma

Structured Explained

OVERALL DESCRIPTION Product Perspective

Describe the functions of each component of the larger system. Product Functions

Provide a summary of the functions that the software will perform. User Characteristics

Describes general characteristics of the end users of the product.

Page 9: Software requirements specification (srs) by  Dan Dharma

Structured Explained

OVERALL DESCRIPTION Constraints

Provide a general description of any other items.E.g.1. The software system will run under Windows.2. All code shall be written in Java.

Norms and Dependencies List and description of each of the factors that affect the requirements stated

in the SRS.

Page 10: Software requirements specification (srs) by  Dan Dharma

Structured Explained

3.SPECIFIC REQUIREMENTS External Interface Requirements

The characteristics that the software must support for each human interface to the software product.E.g.1. Required screen formats2. Page layout and content of any reports or menus.3. Network Protocols

Performance Requirements Capacity

1. No. of simultaneous users2. Processing requirements for normal and peak loads

Page 11: Software requirements specification (srs) by  Dan Dharma

Structured Explained

1. Response Time2. System priorities for users and functions.

Design Constraints Specify design constrains forced by other standards, company policies,

hardware limitation, etc. that will impact this software project.

Page 12: Software requirements specification (srs) by  Dan Dharma

Characteristics of a good SRS• Correct : Every requirement given in SRS is a requirement of the software.• Unambiguous: Every requirement has exactly one explanation.• Complete: Includes all functional, performance, design, external interface

requirements; definition of the response of the software to all inputs.• Consistent: Internal consistency.• Ranked importance: Essential vs. desirable.• Verifiable: A requirement is verifiable if and only if there exists some finite cost

effective process with which a person or machine can check that the SW meets the requirement.

• Modifiable: SRS must be structured to permit effective modifications (e.g. don’t be redundant, keep requirements separate)

• Traceable: Origin of each requirement is clear.

Page 13: Software requirements specification (srs) by  Dan Dharma

Software Requirements Specification (SRS)Document

FOR LIBRARY MANAGEMENT SYSTEM

Page 14: Software requirements specification (srs) by  Dan Dharma

1.Introduction

1.1 Purpose The purpose of this document is to describe the Library Management System.

1.2 Scope Library Management System is basically updating the manual library system into a internet-based application. The project is specifically designed for the use of librarians and library users.

Page 15: Software requirements specification (srs) by  Dan Dharma

1.3 Audience Definitions, Acronyms and Abbreviations1.3.1 Audience Definitions Any suggested changes on the requirements listed on this document should be included in the last version of it so it can be a reference to developing and validating teams. 1.3.2 Acronyms and Abbreviations Acronym

Meaning

MS SQL Microsoft Structured Query Language ASP Active Server Pages ISBN International Standard Book Number IEEE Institute of Electrical and Electronics

Engineers

Page 16: Software requirements specification (srs) by  Dan Dharma

1.4 References • IEEE 830-1998 standard for writing SRS document. • I Sommerville, Software Engineering, 8th ed, Addison-Wesley, 2007.

Page 17: Software requirements specification (srs) by  Dan Dharma

2. Overall Description2.1 Product Perspective Library Management System is a replacement for the ordinary library management systems which depend on paper work for recording book and users information. 2.2 Product Functions  2.2.1 Administrators • Admin should be able to insert, modify and delete books. • Can accept or reject a new user according to the library policy or payment

methods. • Increase the period for borrowing a book for specific type or group of users. • Can get the information (status report) of any member who has borrowed a book. • Add and edit book categories and arrange books by categories. • Add and edit authors and publishers information. • Can send lateness warnings to people who have exceeded deadline date. • Can record books returned by users.

Page 18: Software requirements specification (srs) by  Dan Dharma

2.2.2 Normal Users (Library Members) • The member should be provided with the updated information about

the books catalog. • Members are given a access to check their account’s information and

change it. • Members have the ability to search through books by subject, title,

authors or any information related to the book. • Can extend the period of borrowing books according to the library

policy. • The customer may suggest a book to be brought to the library book

collection.

Page 19: Software requirements specification (srs) by  Dan Dharma

2.3 Operating Environment The Library Management System is a website and shall operate in all famous browsers, for a model we are taking Microsoft Internet Explorer ,Google Chrome, Mozilla Firefox with Flash Player and JavaScript.2.4 User Characteristics • Users of this Library Management System are members, librarians and the

administrators who maintain the website. • Members and librarians are assumed to have basic knowledge of computers and

Internet browsing.• Administrators of the system should have more knowledge of internal modules of

the system and are able to rectify small problems that may arise due to disk crashes, power failures and other catastrophes.

Page 20: Software requirements specification (srs) by  Dan Dharma

2.5 Design and Implementation Constraints • The information of all users, books and libraries must be stored in a database that

is accessible by the website. • MS SQL Server will be used as SQL engine and database. • The Online Library System is running 24 hours a day. • Users may access from any computer that has Internet browsing capabilities and

an Internet connection. • Users must have their correct usernames and passwords to enter into their online

accounts and do actions.

Page 21: Software requirements specification (srs) by  Dan Dharma

2.6 Norms and Dependencies

• The product needs the following third party products. • Microsoft SQL server to store the database. • ASP.net to develop the Product.

Page 22: Software requirements specification (srs) by  Dan Dharma

3. External Interfaces Requirements

3.1 User Interfaces Login Interface : In case the user is not registered yet, he can enter the details and register. Which asks the user to type his username and password . If the user entered either his username or password incorrectly then an error message occurs. Search : The member or librarian can enter the type of book he is looking for and the title he is interested in them ,then he can search for the required book by entering the book name.

Page 23: Software requirements specification (srs) by  Dan Dharma

• Categories view :Categories view shows the books categories view with ability to Liberian to add/edit or delete category from the list.  Librarian’s Control Panel This control panel will allow librarians to add, confirm, or remove users; add, edit, or remove a medium. And manage lending options.

Page 24: Software requirements specification (srs) by  Dan Dharma

3.2 Hardware Interfaces Only the recommended configuration (basic requirements of a computer system ) no other specific hardware is required to run the software.   3.3 Software Interfaces • Browser to load and view the web pages • Operating System  

Page 25: Software requirements specification (srs) by  Dan Dharma

4.Functional Requirements

 4.1.1 Librarian: Insert book : This action is done to add new book to library book collection  Delete / modify book : This event is to delete an existing book or modify its information. Delete member: Admin can delete a member due to some specific rules.Return book: Admin should confirm the return of books borrowed by users

Page 26: Software requirements specification (srs) by  Dan Dharma

4.1.2 Normal User : Register: When new user enters for the first time then he has to registerExtending borrowing deadline : Member can extend the borrowing time to some limit decided by Admin 4.1.3 Common Functions :Login : Both Admin and members must be logged in before they modify any informationSearch for book : When user or admin wants to search on some book by name, author or subject etc.

Page 27: Software requirements specification (srs) by  Dan Dharma

5.Behaviroal Requirements

Page 28: Software requirements specification (srs) by  Dan Dharma

6. Non-functional Requirements

Error handlingLibrary Management System shall handle expected and non-expected errors in ways that prevent loss in information and long downtime period.

Performance RequirementsThe system shall accommodate high number of books and users without any fault.

Safety RequirementsSystem use shall not cause any harm to human users

Page 29: Software requirements specification (srs) by  Dan Dharma

Security Requirements • System will use secured database• Normal users can just read information but they cannot edit or modify anything

except their personal and some other information.• System will have different types of users and every user has access constraints