Samiksha Jaiswal (Editor)

Software requirements specification

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

A software requirements specification (SRS) is a description of a software system to be developed. It lays out functional and non-functional requirements, and may include a set of use cases that describe user interactions that the software must provide.

Contents

Software requirements specification establishes the basis for an agreement between customers and contractors or suppliers (in market-driven projects, these roles may be played by the marketing and development divisions) on what the software product is to do as well as what it is not expected to do. Software requirements specification permits a rigorous assessment of requirements before design can begin and reduces later redesign. It should also provide a realistic basis for estimating product costs, risks, and schedules. Used appropriately, software requirements specifications can help prevent software project failure.

The software requirements specification document enlists enough and necessary requirements that are required for the project development. To derive the requirements we need to have clear and thorough understanding of the products to be developed or being developed. This is achieved and refined with detailed and continuous communications with the project team and customer till the completion of the software.

The SRS may be one of a contract deliverable Data Item Descriptions or have other forms of organizationally-mandated content.

Structure

An example organization of an SRS is as follows:

  • Purpose
  • Definitions
  • System overview
  • References
  • Overall description
  • Product perspective
  • System Interfaces
  • User interfaces
  • Hardware interfaces
  • Software interfaces
  • Communication Interfaces
  • Memory Constraints
  • Design constraints
  • Operations
  • Site Adaptation Requirements
  • Product functions
  • User characteristics
  • Constraints, assumptions and dependencies
  • Specific requirements
  • External interface requirements
  • Functional requirements
  • Performance requirements
  • Logical database requirement
  • Software System attributes
  • Reliability
  • Availability
  • Security
  • Maintainability
  • Portability
  • others..
  • Goals

    The Software Requirements Specification (SRS) is a communication tool between stakeholders and software designers. The specific goals of the SRS are:

  • Facilitating reviews
  • Describing the scope of work
  • Providing a reference to software designers (i.e. navigation aids, document structure)
  • Providing a framework for testing primary and secondary use cases
  • Including features to customer requirements
  • Providing a platform for ongoing refinement (via incomplete specs or questions)
  • Reliability Availability Security Maintainability Portability.

    Requirements Smells

    Following the idea of Code smells, the notion of requirements smells has been proposed to describe issues in requirements specification where the requirement is not necessarily wrong but could be problematic. In particular, the requirements smell :

  • is an indicator for a quality problem of a requirements artifact.
  • does not necessarily lead to a defect and, thus, has to be judged by the context.
  • has a concrete location in the requirements artifact itself, e.g. a word or a sequence.
  • has a concrete detection mechanism (which can be automatic or manual and more or less accurate).
  • Examples of requirements smells are Subjective Language, Ambiguous Adverbs and Adjectives, Superlatives and Negative Statements. Several of these smells can also be automatically detected with tools like Requirements Scout.

    References

    Software requirements specification Wikipedia