Docsity

Strength Training Applications in Software | CS T101, Study Guides, Projects, Research of Computer Science

Partial preview of the text

Download Strength Training Applications in Software | CS T101 and more Study Guides, Projects, Research Computer Science in PDF only on Docsity!

Software Requirements

Specification

for

Strength Training Application

B2D Solutions

Eric Berg

Josh Dodd

February 14, 2008

Software Requirements Specification for Strength Training Application Page ii Table of Contents

**1. Introduction 1

  1. Overall Description 3
  2. Product Functions 6
  3. External Interface Requirements 15
  4. Validation Criteria 16 Revision History Name Date Reason For Changes Version** Eric Berg 2-08-08 Document Initially Created 0. Josh Dodd/Eric Berg 2-14-08 Final Document 1.

[3] http://homepages.dcc.ufmg.br/~rodolfo/es-1-03/IEEE-Std-830-1998.pdf [4] Pressman, Roger S. Software Engineering, A Practitioner’s Approach. Boston: McGraw-Hill Custom Publishing, 2005.

2. Overall Description

2.1 Product Perspective

The history of strength training can be traced back to the times of the Ancient Greeks, when athletes would do such things as carry calves or other dumbbell like weights in order to increase strength. With the advancements of today’s technology, strength training has become a complex science. Basic principles of strength training involve a manipulation of the number of repetitions, sets, tempo, exercises and force to cause desired changes in strength, endurance, size of a group of muscles. In strength training terms, an exercise is a motion or group of motions of joints or muscles that target and challenge specific muscles. A repetition, or rep, is one complete cycle of on an exercise. A set is a complete cycle of a predetermined number of reps of an exercise. Tempo refers to the amount of time between reps and sets and exercise. Strength training programs are based on an individual’s one rep max. A one rep max is the performed or calculated maximum weight that an individual can successfully lift for one repetition. A work out schedule is for an athlete consists of a specific number of weeks that contain progressive routines of exercises for each determined training day. The amount of weight to be lifted by the athlete is calculated as a percentage of the one rep max for each specific exercise. Software systems in the past have failed to provide an efficient program that consistently follows this basic lifecycle of a workout routine. The most successful software developed in the strength training fields is a program called Power 5.1. This software does provide a way to manage athletes and workout, but is extremely outdated for the systems of today, and has not offered any software updates in recent years. With advances in recent advances in research and technology, strength training has become more complex in recent times. With the increased amount of knowledge of anatomy and physiology of the human body comes an increased amount of data that needs to be stored and analyzed for each individual athlete. In order to effectively train athletes, an efficient method of tracking and managing this data is needed. Currently the West Virginia University Strength and Conditioning Staff use outdated software to manage all athletes that they train. This software has many issues with efficiency, ease of use and dependability[1]. A new system is greatly needed to properly manage data and provide maximum results for both strength coaches and athletes.

2.2 User Classes and Characteristics

The users of the system are:  Administration  Coaches/Trainers  Players 2.2.1 Administration The administration will be assumed to have good data management skills and have access to all data within the system.

 The system software should comply with the Digital Millennium Copyright Act. 2.4.6 Social  The user interface should provide visual menus to the user.  All text and images in the user interface should be externalized in order to allow for localization.  The system should provide visual and audible notifications to the user when a error occurs. 2.4.7 Sustainability  System updates will be offered via internet.

2.5 User Documentation

The strength training application end users will be provided a user’s manual for both the administrators and coaches/trainers access levels. It is understood that the system interface and use training of the athletes will be provided by the coaches and trainer users.

3. Product Functions

3.1 General Functions

3.1.1 Login 3.1.1.1 Description This function is a general login function for all users. The user will be prompted for his biometric information via the fingerprint scanner, which will then be validated from the contents of the user template database. The login function will determine the permissions for user type. 3.1.1.2 Stimulus/Response Sequences

  1. User provides user name and password
  2. User name and password are paired and verified
  3. If user name/password is not verified, event is logged and an error message is displayed
  4. User is logged in and a welcome message is displayed. 3.1.1.3 Functional Requirements For a successful login, the function requires a user name and biometric information pairing that matches corresponding database template. 3.1.2 Add New User 3.1.2.1 Description This function will register new users into the system. The administrator will input personal information, user type, and a login name. The user will them be required to create a biometric fingerprint template. On submit, the function will check for duplicate entries in the database and insert the new user into the specific table in database. Only administrators will have permissions to add users (Coach/Trainer or Player) to the system. 3.1.2.2 Stimulus/Response Sequences
  5. Administrator enters all fields.
  6. Username and biometric template are paired
  7. If username is not verified an error message is displayed
  8. All other required information is verified.
  9. If information is not verified an error message is displayed
  10. User is added and a welcome message is displayed. 3.1.2.3 Functional Requirements For a successful registration, the function requires a username that has no matching database entry, as well as other information that is validated.

3.1.6 Edit Users 3.1.6.1 Description This function is an administrative function for editing user information. The function is used to update user information on file as they progress through the system. 3.1.6.2 Stimulus/Response Sequences

  1. User indicates edit record.
  2. User enters the username of the record in which to edit
  3. If record not found in database, error message displayed to user.
  4. Prompts user to enter the information in the data fields in which to change.
  5. Displays the record with the updated information to the user. 3.1.6.3 Functional Requirements For a successful edit, user must invoke the edit function by clicking edit.

3.2 Create Workout Functions

3.2.1 Add Player 3.2.1.1 Description This function will add a player to the current workout. Included with the player name will be the following attributes: height, weight, sport, position. Only coaches and/or athletic trainers will have permission to add or remove players from a workout. 3.2.1.2 Stimulus/Response Sequences

  1. Coach/athletic trainer enters desired player name or position.
  2. Database is searched for player name or position
  3. If player name or position is not found, the appropriate message is displayed and the user is asked to enter a new player/position.
  4. If player name or position is found, the player is added to the current workout and the ‘Player Added’ message is displayed. 3.2.1.3 Functional Requirements For a successful player addition to a workout, the player must already be in the database and assigned a certain position on a valid sports team. Also, proper messaging and procedures should be implemented if an invalid entry is issued. 3.2.2 Add Exercise 3.2.2.1 Description This function will add an exercise to the current routine. All exercises are stored in a database and can be sorted by specific muscle group. Only coaches and/or athletic trainers are allowed permission to add or remove exercises from a routine.

3.2.2.2 Stimulus/Response Sequences

  1. Coach or athletic trainer enters exercise name or selects exercise from muscle group listings.
  2. Database is searched to validate exercise name.
  3. If exercise does not exist, the ‘Exercise Not Found’ message is displayed and the user is asked to enter another exercise.
  4. If the entered exercise is found, the ‘<Exercise_Name> Added’ message is displayed and that exercise is added to the routine. 3.2.2.3 Functional Requirements For a successful exercise addition, the exercise must be in the database and preferably listed under a certain muscle group. Also, proper messaging and procedures should be implemented if an invalid entry is issued. 3.2.3 Add Routine 3.2.3.1 Description This function will add a routine to the current schedule. All routines are stored in the database and include the following attributes: repetitions, sets, and percentage of maximum. Only coaches and/or athletic trainers have permission to add or remove routines from a schedule. 3.2.3.2 Stimulus/Response Sequences
  5. Coach or athletic trainer enters routine name.
  6. Database is searched to validate routine name.
  7. If routine does not exist, the ‘Routine Not Found’ message is displayed and the user is asked to enter another routine.
  8. If the entered exercise is found, the ‘<Routine_Name> Added’ message is displayed and that routine is added to the current schedule. 3.2.3.3 Functional Requirements For a successful routine addition, the routine name must be in the database. Also, proper messaging and procedures should be implemented if an invalid entry is issued. 3.2.4 Add Schedule 3.2.4.1 Description This function will add a schedule to the current workout. All schedules are stored in a database and organized by name. Only coaches and/or athletic trainers are given permission to add or remove schedules from a workout. 3.2.4.2 Stimulus/Response Sequences
  9. Coach or athletic trainer enters schedule name.
  10. Database is searched to validate the entered schedule name.
  11. If the schedule name does not exist, the ‘Schedule Not Found’ message will be displayed and the user will be asked to enter a new schedule.
  12. If the schedule name does exist, the ‘<Schedule_Name> Added’ message will be displayed and that schedule will be added to the current workout.
  13. If an unwanted schedule needs to be removed from the workout, the user may simply select that schedule and ‘delete’ it from the workout.

3.3.2 Remove Player 3.3.2.1 Description This function is used by Coaches/Trainers to remove players from the system. In this situation, the player can only be removed by the user if the player themselves are not users of the system. If the player has been added to the system by an administrator with user privileges, then they can only be removed by an administrator. 3.3.2.2 Stimulus/Response Sequences

  1. Prompt user player name.
  2. Search database for player.
  3. If player not found, display error message.
  4. If player found and has user permissions, display error message.
  5. Remove player from the system. 3.3.2.3 Functional Requirements None 3.3.3 View Player 3.3.3.1 Description This function is used by Coach/Trainer users to view player statistics. In this instance, the user is allowed to access a player file even if the player has user permissions. 3.3.3.2 Stimulus/Response Sequences
  6. Prompt user for player name.
  7. Search database for name.
  8. If player name not found, display error message.
  9. Display player profile to the user. 3.3.3.3 Functional Requirements None 3.3.4 Edit Player 3.3.4.1 Description This function will allow Coach/Trainer users to edit a players profile as the player progresses through the system. 3.3.4.2 Stimulus/Response Sequences
  10. Prompt user for player name.
  11. Search database for player profile.
  12. If player not found in database, display error message to user.
  13. If invalid parameters entered, display error message to user.
  14. Update player profile in the database.
  15. Display successful message to user

3.3.4.3 Functional Requirements None 3.3.5 Add Exercise 3.3.5.1 Description This function is implemented by Coach/Trainer user groups as a way to add an exercise to the system. In this case, the user must have privileges to add exercises to the database. On submit the database will be updated. 3.3.5.2 Stimulus/Response Sequences

  1. Prompt user for exercise information.
  2. Search database duplicate exercise.
  3. Print error message if already exists.
  4. Add the exercise to the database if new exercise.
  5. Display successful message to user. 3.3.5.3 Functional Requirements None 3.3.6 Remove Exercise 3.3.6.1 Description This function is used by Coaches/Trainers to remove exercises from the system. In this situation, the exercise can only be removed by the user if the user has appropriate privileges. If the exercise has been added to the system by an administrator with user privileges, then they can only be removed by an administrator. 3.3.6.2 Stimulus/Response Sequences
  6. Prompt user exercise name.
  7. Search database for exercise.
  8. If exercise not found, display error message.
  9. If exercise found and has user permissions, display error message.
  10. Remove exercise from the system. 3.3.6.3 Functional Requirements None 3.3.7 View Exercise 3.3.7.1 Description This function is used by Coach/Trainer users to view exercise lists. In this instance, the user is allowed to access an exercise file even if the exercise has user permissions. 3.3.7.2 Stimulus/Response Sequences
  11. Prompt user for exercise name.
  12. Search database for name.
  13. If exercise name not found, display error message.
  1. Remove routine from the system. 3.3.10.3 Functional Requirements None 3.3.11 View Routine 3.3.11.1 Description This function is used by Coach/Trainer users to view routine. 3.3.11.2 Stimulus/Response Sequences
  2. Display routines to the user. 3.3.11.3 Functional Requirements None 3.3.12 Edit Routine 3.3.12.1 Description This function will allow Coach/Trainer users to edit a routine. User must have appropriate privileges. 3.3.12.2 Stimulus/Response Sequences
  3. Prompt user for routine id.
  4. Search database for routine profile.
  5. If invalid parameters entered, display error message to user.
  6. Update routine profile in the database.
  7. Display successful message to user 3.3.12.3 Functional Requirements None

4. External Interface Requirements

4.1 User Interfaces

System users will interface with the application via the keyboard. To access the application, they will have to enter their username and password. Once a positive match has been found by the application, the user will be granted access to the application. Once the user is using the application, interaction will be done via the keyboard as well as the mouse.

4.2 Hardware Interfaces

The system will use current system drivers for the mouse, keypad and printer. The application will not be concerned with how the operating system interfaces with these components, it is just required that they exist and are functional to use all the features of the application.

4.3 Software Interfaces

The application will store all data in a database, which the application will have to access to perform the desired user-requested function.

Invalid Biometric Template Valid Invalid Valid Valid Valid Valid Valid Valid Valid Error Message Invalid First Name Valid Valid Invali d Valid Valid Valid Valid Valid Valid Error Message Invalid Last Name Valid Valid Valid Invali d Valid Valid Valid Valid Valid Error Message Invalid User Type Valid Valid Valid Valid Invali d Valid Valid Valid Valid Error Message Invalid User Class Valid Valid Valid Valid Valid Invali d Valid Valid Valid Error Message Invalid Position Valid Valid Valid Valid Valid Valid Invalid Valid Valid Error Message Invalid Height Valid Valid Valid Valid Valid Valid Valid Invali d Valid Error Message Invalid Weight Valid Valid Valid Valid Valid Valid Valid Valid Invalid Error Message 5.1.4 Remove User This function will remove a user from the database, as well as all of the user’s information. The function will accept input from the administrator and locate the user to remove in the database. Only administrators will have permissions to remove users from the system. Description of Input Username First Name Last Name Expected Results Valid Username,Valid First Name, Valid Last Name Valid Valid Valid User Successfully Removed from the System Valid Username, Invalid First Name, Valid Last Name Valid Invalid Valid User Not Found Error Message Valid Username,Valid First Name, Invalid Last Name Valid Valid Invalid User Not Found Error Message Valid Username, Invalid First Name, Invalid Last Name Valid Invalid Invalid User Not Found Error Message Invalid Username, Invalid First Name, Valid Last Name Invalid Invalid Valid User Not Found Error Message Invalid Username,Valid First Invalid Valid Invalid User Not Found Error Message

Name, Invalid Last Name Invalid Username,Valid First Name, Valid Last Name Invalid Valid Valid User Not Found Error Message Invalid Username, Invalid First Name, Invalid Last Name Invalid Invalid Invalid User Not Found Error Message 5.1.5 View Users This function is an administrator function to view all users of the system. It will list all users that are currently enrolled in the system that match the defined search criteria. Description of Input User Class User Type Position Expected Results Valid User Class,Valid User Type, Valid Position Valid Valid Valid User Records Displayed Valid User Class,Invalid User Type, Valid Position Valid Invalid Valid Unable to locate matching records Error Message Valid User Class,Valid User Type, Invalid Position Valid Valid Invalid Unable to locate matching records Error Message Valid User Class, Invalid User Type, Invalid Position Valid Invalid Invalid Unable to locate matching records Error Message Invalid User Class, Invalid User Type, Valid Position Invalid Invalid Valid Unable to locate matching records Error Message Invalid User Class,Valid User Type, Invalid Position Invalid Valid Invalid Unable to locate matching records Error Message Invalid User Class,Valid User Invalid Valid Valid Unable to locate matching records