Requirements - HitchhikifyTeam/hitchhikify GitHub Wiki

Functional Requirements

Use Case Diagram

Use-case Diagram Click here to edit the diagram, you can read here how to edit images

One more use case: When the user is not moving send notification and ask if the ride is over Another one: view statistics

Use case descriptions

SSA1
Name Start a ride
Goal As a hitchhiker I want to be able to tell the system that the next ride have been started so that the system calculates my statistics correctly.
Roles Hitchhiker
Preconditions and Input
  • Hitchhiker has one active trip
  • App is in the state 'Waiting for a ride'
Description
  1. Hitchhiker executes 'Start ride' function
  2. System changes the state to 'During the ride' and starts showing the number of kilometers since the start of the ride and statistics of the whole trip:
    • number of rides = number of cars
    • duration of the trip
    • kilometers since the beginning of the trip
    • average speed for the whole trip
    see the mockup
Exceptions
Alternative descriptions
Business rules
Quality Requirements
Business data
Postconditions and output The system is in the 'Ride' state
SSA2
Name Finish a ride
Goal As a hitchiker i want to be able to tell the system that the ride is over so that the system calculates my statistics correctly.
Roles Hitchhiker
Preconditions and Input The system is in the state 'Ride'
Description
  1. Hitchhiker executes 'Finish ride' function
  2. System changes the state to 'Waiting for the ride' and starts showing how much time the hitchhiker is waiting for the next ride and statistics of the whole trip:
    • number of rides = number of cars
    • duration of the trip
    • kilometers since the beginning of the trip
    • average speed for the whole trip
    see the mockup
Exceptions
Alternative descriptions
Business rules
Quality Requirements
Business data
Postconditions and output
SSA3
Name
Goal
Roles
Preconditions and Input
Description
Exceptions
Alternative descriptions
Business rules
Quality Requirements
Business data
Postconditions and output
SSA1
Name
Goal
Roles
Preconditions and Input
Description
Exceptions
Alternative descriptions
Business rules
Quality Requirements
Business data
Postconditions and output
SSA1
Name
Goal
Roles
Preconditions and Input
Description
Exceptions
Alternative descriptions
Business rules
Quality Requirements
Business data
Postconditions and output

Quality Requirements

Constraints

⚠️ **GitHub.com Fallback** ⚠️