DEV Community

Cover image for What you need to know about software requirements
Alicia Marianne
Alicia Marianne

Posted on

What you need to know about software requirements

Imagine that you have a client who asks you to create a web application that will provide him all the demands of his customers. And that is all that your client will inform you, will you be able to build it? Is clear that you miss more information, and the requirements exists for it, but do you know what is a requirement? What is the consequences when we don't have them well defined? Which types of requirements exists? This article will try to give answer for some of this questions in a easy way.

Summary

What is a requirement?

First of all, we need to understand what is a requirement in the software development context.
Shari Pleeger give us a good definition of it:

System characteristic or a description of something the system is capable of accomplishing to achieve its objectives

In other words, a requirement is a statement that identifies a product or process operational, functional or design constraint or characteristic, which is unambiguous, testable, measurable and necessary for the acceptance of the product or process (by consumers or internal quality assurance guidelines).
Every requirement is created based on an existent problem in the reality, the software is only one way to solve it.

Why they matters and consequence of poorly-defined requirements

Now that we know what is a requirement, we must ask:

"Why is so important for a person that works with IT know about it?"

And i will give you some of reasons of it. With a requirement we are able to:

  • Provide the basis for project planning
  • Essential for studying change requests
  • Allow risk management from the earliest stages of development
  • They are the basis for acceptance tests
  • Contract management

Image1

What can happen if we have poorly-defined requirements?
The first and logical consequence is the delay on the delivery of the project. When we start a project, or a sprint without having all the clear requirements for what is going to be developed, the probability of existing bugs is huge! consequently more work for the developers, the QA team, reducing the quality of life of them.
If it appears in Production, we will have a lot of unsatisfied users, making the confidence of the product reduce what can cause the system fall into disuse. Other consequence is the cost to maintain the system.

How we can have a good requirement

The way the requirement is written will vary from team to team, but what they should all have in common are the following three characteristics:

  • Unambiguous
  • Testable
  • Measurable

Levels of requirements

User requirements

The user requirements are the definition of what our software needs to do. It can describe a problem that the user is facing through their necessities, expectations, restrictions, and interfaces.
This type of requirement are written for the customers and we use natural language plus diagrams. One example for a user requirement that we can use, for a to do list app:

The user should be able to insert a new task on the list

System Requirements

System requirements are specifications that define the capabilities and constraints of the hardware, software, and network components needed for a system to operate effectively.
These requirements are crucial for designing, implementing, and maintaining a system. They are responsible to describe what must be done, not how to do it.
Using the same requirement that we already used, we can go into more details on it:

User requirement System Requirement
The user should be able to insert a new task on the list - The user should be able to add the task click on the button insert
- The task add should appear on the list when the user click on the button
insert
- The access to the task list will be available only for logged users

Types of requirements

Functional requirements

Functional requirements describes the actions that one system should execute. They describe what the system should provide, how the system should react to particular inputs and how the system should behave in particular situations. They can describe as well what the system should not do.

A functional requirement can describe an user or system requirement.

Non-functional requirements

Non-functional requirements describe services or functions that the system or environment should provide. They are responsible to define the architecture of the system. We have different categories for non-functional requirements, they are:

  1. Performance:
    • Response Time: Specifies the maximum acceptable time for the system to respond to user input.
    • Throughput: Defines the number of transactions or operations the system can handle in a given time.
  2. Usability:
    • User Interface (UI) and User Experience (UX): Specifies criteria related to the design, ease of use, and overall user experience.
    • Accessibility: Ensures that the system is usable by individuals with disabilities.
  3. Reliability:
    • Availability: Specifies the percentage of time the system should be operational.
    • Fault Tolerance: Defines the system's ability to continue functioning in the presence of faults or errors.
  4. Security:
    • Authentication: Describes how users are identified and verified.
    • Authorization: Specifies the level of access granted to different users or roles.
    • Data Encryption: Requires the use of encryption to protect sensitive data.
  5. Scalability:
    • Horizontal Scalability: Describes how well the system can handle an increase in load by adding more hardware.
    • Vertical Scalability: Describes how well the system can handle an increase in load by increasing the capacity of existing hardware.
  6. Compatibility:
    • Hardware Compatibility: Ensures the system can run on specified hardware configurations.
    • Software Compatibility: Ensures the system can work with specified software components.
  7. Maintainability:
    • Modifiability: Describes the ease with which the system can be modified or updated.
    • Testability: Specifies the ease with which the system can be tested to ensure its correctness.
  8. Portability:
    • Platform Independence: Describes the ability of the system to run on different operating systems.
    • Data Portability: Ensures that data can be easily transferred between different systems.
  9. Documentation:
    • User Documentation: Specifies the requirements for user manuals and guides.
    • Technical Documentation: Describes the requirements for system architecture, API documentation, etc.
  10. Regulatory and Compliance:
    • Legal Requirements: Ensures that the system complies with relevant laws and regulations.
    • Industry Standards: Specifies adherence to industry-specific standards.

Conclusion

As we saw, the software requirements are really important for us and there is a bunch of different types of requirements, but the most important of all of it is to make sure that before start development, we have them well defined.
I hope this content will be useful for you. 
If you have any questions, feel free to reach out to me! 
Bisous 💅🏼

Top comments (7)

Collapse
 
cherryramatis profile image
Cherry Ramatis

Probably one of the best article I saw on this theme, I’m getting better at gathering requirements over time

Collapse
 
lliw profile image
William Rodrigues

Such great article about software requirements, this will improve alot my knowledge about it since I'm learning about it right now in college. I will certainly use it for future references, thank you a lot!

Collapse
 
incrementis profile image
Akin C.

Hello Alicia Marianne,

thank you for your article.
I enjoyed reading it.
In my opinion it is well structured and the language is easy to understand.

Collapse
 
m4rri4nne profile image
Alicia Marianne

Thank you!

Collapse
 
livreprogramacao profile image
LP - Fábio Santos Almeida

Very useful. Well done!

Collapse
 
ryan_gozlyngg profile image
!Ryan Gozlyngg

Very well explained, thank you for share with us.

Collapse
 
indiawalktjhrough profile image
indiawalkthrough