You are on page 1of 65

XTREME FITNESS

Done By

BACHELOR OF SCIENCE INFORMATION TECHNOLOGY

By

RAVIRAJ V. GACCHE
Seat No: -3037620

Under the Esteemed Guidance of

Prof. NITESH SHUKLA


T.Y.B.SC.(INFORMATION TECHNOLOGY)

DEPARTMENT OF INFORMATION TECHNOLOGY


CHANDRABHAN SHARMA COLLEGE OF ARTS, SCIENCE &
COMMERCE
(AFFILIATED TO UNIVERSITY OF MUMBAI)
POWAI VIHAR (POWAI), MUMBAI 400076
MAHARASHTRA
2018-2019

1
\CHANDRABHAN SHARMA COLLEGE
(AFFILIATED TO UNIVERSITY OF MUMBAI)
POWAI VIHAR (POWAI), MUMBAI 400076
MAHARASHTRA
2018-2019

DEPARTMENT OF INFORMATION TECHNOLOGY

CERTIFICATE

This is to certify that the project entitled "XTREME FITNESS "is bonafied work of
“RAVIRAJ V. GACCHE” bearing Seat. No: 3037620 submitted in partial fulfillment of the
requirements for the award of degree of BACHELOR OF SCIENCE in INFORMATION
TECHNOLOGY from University of Mumbai.

Internal Guide Coordinator

External Examiner

Date: College Seal

2
PROFORMA FOR THE APPROVAL PROJECT PROPOSAL

PRN No.: …………………… Roll no: ___________

1. Name of the Student ________________________________________

2. Title of the Project ________________________________________

3. Name of the Guide ________________________________________

4. Teaching experience of the Guide ________________________________________

5. Is this your first submission? Yes No

Signature of the Student Signature of the Guide

Date: ………………… Date: …………………….

Signature of the Coordinator

Date: …………………

3
ABSTRACT

The xtreme fitness application system intend is to automate the existing manual system
by the help of computerized apparatus and full-fledged computer software, fulfilling their
requirement, so that their valuable data/information can be stored for a lengthy portion of time
with easy retrieve and manipulation of the same. This application creates an individual efficient
fitness plan based on your characteristics. This app is easy to use and ensures the best possible
result.
The user has been wasted his / her time and the money to search for gym trainer.
Information of individual’s fitness training is stored in database. New user of Xtreme Fitness
can insert his details in web portal.
Gym Application, as report above can lead to error free, secure, well founded and fast
executives system. It can help the user to concentrate on their other activities preferably to
concentrate on the record keeping Thus it will help organization in better utilization of
resources. That means that one need not to be distracted by information that is not relevant,
while being able to reach the information.

4
ACKNOWLEDGEMENT

This is a sincere effort from us to express my heartfelt gratitude in creating the “Xtreme
Fitness”, application as my TY BSC-IT. I offer my sincere gratitude to the Principal and
Professor of my College.

We take this opportunity to express our gratitude towards Principal “Mrs. PRATIMA
SINGH” and also, we constant support during the project. Thanks to our project guide, “Mr.
NITESH SHUKLA”, for their active involvement, valuable suggestions and constant support
during the preparation of the project. Without their diligent and hard work it would have not
been possible for us to complete the project in recorded time.

I also own a debut of gratitude to all those who helped me the development of this book.
This project imparted a great deal of practice experience, which will be helpful to me in near
future.

We also thank my family members for their continued support in completing this
project work and last but not the least; we wish to thank all my friends and well-wishers who
are directly or indirectly linked with the success of our project.

5
DECLARATION

I hereby declare that the project entitled, “Xtreme Fitness” done at, CHANDRABHAN
SHARMA COLLEGE OF ART’S COMMERCE & SCIENCE (400076) has not been in
any case duplicated to submit to any other university for the award of any degree. To the best
of my knowledge other than me, no one has submitted to any other university.

The project is done in partial fulfillment of the requirements for the award of degree of
BACHELOR OF SCIENCE (INFORMATION TECHNOLOGY) to be submitted as final
semester project as part of our curriculum.

6
TABLE OF CONTENT
Chapter 1............................................................................................. 7
Introduction of Xtreme Fitness .............................................................................................. 9
1.1 Purpose ......................................................................................................................... 11
1.2 Scope ............................................................................................................................ 12
1.3 Objective…...………………………………………………………………………….…13
Chapter 2 ............................................................................................................................ 14
System Analysis .................................................................................................................. 14
2.1 Android Studio .............................................................................................................. 14
2.2 Firebase ......................................................................................................................... 15
2.1 Existing system of Xtreme Fitness: ................................................................................ 16
2.2 Proposed system of Xtreme Fitness: .............................................................................. 17
2.3 Requirement .................................................................................................................. 18
2.3.1 Software Requirement Specification ........................................................................... 18
2.3.2 Hardware Requirement Specification.......................................................................... 19
Chapter 3 ............................................................................................................................ 20
System design ..................................................................................................................... 20
3.1 Working Module ........................................................................................................... 20
3.2 Data Dictionary ............................................................................................................. 21
3.3 Use case Diagram .......................................................................................................... 23
3.4 Class Diagram ............................................................................................................... 25
3.5 E-R diagram .................................................................................................................. 27
3.6 Activity Diagram ........................................................................................................... 30
3.7 Dataflow Diagram ........................................................................................................ 32
Chapter 4……………………………………………………………………………………..34
4.1 Phase Code……………………………………………………………………………….34
4.2 Test Approach……………………………………………………………………………52
4.2.1 Unit Testing……………………………………………………………………………53
4.2.2 Integration Testing……………………………………………………………………..54
Chapter 5……………………………………………………………………………………..56
5.1 Result and Discussion……...…………………………………………………………….56
Chapter 6……………………………………………………………………………………..62
6.1 Conclusion and Future Work…………………………………………………………….62

7
Chapter 7……………………………………………………………………………………..64
7.1 Reference………………………………………………………………...……………….64

8
Chapter 1
INTRODUCTION
The main objective of the Gym Application is developed to override the problems
prevailing in the practicing manual system. This application is providing a system which is use
to maintaining their health care. It take care of all their fitness and also keeps the data of
everyday’s gym exercise. The purpose of the project is to build an application program to
reduce the time and money. We can easily get the list of all exercise and also we have complete
details for some particular fitness exercise. It can assist the user to concentrate on their fitness.
In Every corporation, whether it is big or small, has challenges to overcome and
preside over the information of trainer, gym, facility, time slot, fitness class. In all Gym
Application has different Gym needs, therefore we implement exclusive employee
management systems that are adapted to your managerial requirements
The project is completely built at administrative end and thus only the administrator is
guaranteed to access. The application is decreased as much as possible to escape errors while
entering the data. It also provide error message while entering worthless data.
To understanding the requirements and new generation capabilities we have chosen
“Android Studio” as front –end and “MYSQL lite” as back-end. Android Studio is the official
combined development environment for Google’s Android operating system, built on JetBrains
IntelliJ IDEA software and designed exactly for Android development. It is available for
download on Windows, macOS and Linux based operating operating systems.
MSQL- an Open-source relational database management system (RDBMS), also the
most popular one. SQLite: a relational database management system which is not client-server
built. It's doesn't need a server to setup and run.
Functionalities of GYM application are as follows:-
A Personalized experience:-When it’s about tracking the user activity and further assessing the
user’s fitness, the application needs to have user’s personal information like, age, height,
gender, and weight.
Integrate geolocation:-This characteristic allows the user to track his walking routes, and to
build them and record workouts.

Push notification system and reminder:-Anyone who is working out daily would never want to
miss a session. However, keeping up with the busy lives; sometimes it, does slips out of our

9
mind. In such cases a push notification from the app can be very helpfull to remind us of our
workout session.

Gamification :-We all have hard pressed five crunches or pushups the moment gym plays our
favorite song. Moreover, we tend to push ourselves more whenever there is a mark to reach.

Sleep Traker :-This is must add characteristic looking at the busy lifestyle today. The attribute
tracks the time user didn’t get the sound sleep. This specifies the moments he is active during
sleep.

Report of Gym Application :-


It creates the report on Gym, Trainer, Time Slot.
Impart Filter report on characteristic, member, Fitness Class.
You can easily export PDF for the GYM, Time slot, Facility.
Application also creates large export for Trainer, member, Fitness class

Report generation :-
 Balance Report
 Trial Report
 Upgrade Report
 Access Control
 Client Database Report
 Calendar Report

10
1.2 Purpose

A health organization (also known as a fitness club, fitness centre, health spa, and commonly
referred to as a gym) is a place that houses exercise equipment for the reason of physical
exercise.

Facilities and Services:-

Main workout Area:-


Most health clubs have a important workout area, which primarily consists of free
weights including dumbbells and barbells and the stands and benches used with these things
and exercise machines, which use gears, cables and other mechanisms to guide the user's
exercise. This area often add in mirrors so that exercisers can monitor and preserve correct
posture during their workout. A gym that predominantly or absolutely contains of free weights
(dumbbells and barbells), as opposed to exercise machines, is sometimes referred to as a black-
iron gym, after the traditional color of weight plates.

Cardio area/exercise classes:-


A cardio theater or cardio area contains many types of cardiovascular training-related utility
such as rowing machines, stationary exercise bikes, elliptical trainers and treadmills. These
areas frequently include a number of audio-visual displays, often TVs (either included into the
equipment or placed on walls around the area itself) in order to keep exercisers entertained
during long cardio workout sessions. Some gyms deliver newspapers and magazines for users
of the cardio theatre to read while working out.

11
1.2 SCOPE

It may help collect absolute executives in details. In a very small time, the collection will be
clear-cut, straightforward and accurate. It will help a person to know the management of passed
year effortlessly and vividly. It also helps in current all works relative to Gym Website. It will
be also make smaller the cost of collecting the management & collection process will go on
well.

Our project focus at business process automation, i.e. we have tried to computerize diverse
routes of Gym Website

 In computer system the person has to fill the various forms & number forms &
number of copies of the forms can be easily generated at a time
 In computer system, it is not necessary to create the manifest but we can directly print
it, which saves our time.
 To help the staff in capturing the endeavour spent on their respective working areas.
 To utilize resources in an efficient manner by increased their productivity through
automation.
 The system produces types of information that can be used for various resolutions
 It satisfy the user requirement
 Be easy to understand by the user and Operator
 Be easy to Operate
 Have a good user interface
 Be expandable
 Delivered on schedule within the budget

12
1.3 OBJECTIVE:-
 Xtreme Fitness is a professional application that individuals reach their fitness and
health goals.
 This application helps to empower people to create healthy training habits .
 To make best use of our equipment and resources through well-attended sessions.
 Lose weight with a personal diet plan for your fitness goals.
 As application creates your health data and BMI so you know exactly where to start.
 Get personalized health and weight loss suggestion 24*7 from this application.
 Find health advice, recipes and your daily dose of motivation for your fitness goals
motivation for your fitness goals through fresh content on your app’s feed each day,
every day.
 Get personalized health and weight loss suggestion 24*7 from this application.

13
Chapter 2
Survey of Technology
2.1 Android Studio

The Android Studio IDE is able to download and use. It has a rich UI development environment
with templates to give new creator a opening pad into Android development. Developers will
find that Studio gives them the tools to build phone and tablet mixture as well as arrival
technology solution for Android.

Android Studio is purposeful to be used by development teams as small as one person or as big
as global teams. The Android Studio IDE can be connected to big teams with GIT or same
version control services for larger teams. Mature Android designer will find tools that are
essential for large teams to deliver solutions rapidly to their customers. Android mixture can
be develop using either Java or C++ in Android Studio. The workflow for Android Studio is
built around the concept of continuous integration. Continuous Integration agrees for teams to
test their code each and every time a developer checks in their work. Issues can be apprehend
and reported to the team immediately. The concept of repeatedly checking code provides
actionable feedback to the developers with the goal of releasing versions of a mobile solution
faster to the Google Play App Store. To finish this, there is rigorous support for LINT tools,
Pro-Guard and App Signing tools.

Android Studio was stated on May 16, 2013 at the Google I/O conference. It was in early
approach preview stage starting from version 0.1 in May 2013, then entered beta stage starting
from version 0.8 which was released in June 2014. The first stable build was launched in
December 2014, starting from version 1.0. The current stable version is 3.2.1, which was
released in October 2018.

Features of Android Studio:-

 Gradle-based build support


 Android-specific refactoring and quick fixes.
 Lint tools to catch performance, usability, version compatibility and other problems
 ProGuard integration and app-signing capabilities
 Template-based wizards to create common Android designs and components.

14
2.1.1FIREBASE:-
Firebase is a mobile and web application development platform developed by Firebase, Inc. in
2011, then acquired by Google in 2014.As of October 2018, the Firebase platform has 18
products, which are used by 1.5 million apps.

Firebase evolved from Envolve, a prior startup founded by James Tamplin and Andrew Lee in
2011. Envolve provided developers an API that enables the integration of online chat
functionality into their websites. After releasing the chat service, Tamplin and Lee found that
it was being used to pass application data that weren't chat messages. Developers were using
Envolve to sync application data such as game state in real time across their users. Tamplin
and Lee decided to separate the chat system and the real-time architecture that powered it. They
founded Firebase as a separate company in September 2011 and it launched to the public in
April 2012.

Firebase's first product was the Firebase Realtime Database, an API that synchronizes
application data across iOS, Android, and Web devices, and stores it on Firebase's cloud. The
product assists software developers in building real-time, collaborative applications.

15
2.2 Existing system of Gym Application:
In the existing system the work are done manually but in proposed system we have to
computerize the work using this application

 More man power.


 Time consuming.
 Consumes large volume of pare work.
 Need manual calculations.
 No direct role for higher officials.

16
2.3 Proposed system of Gym Application:
The aim of proposed system is to develop a system of improved facilities of the system. The
proposed system can overcome all the limitations of the existing system. The system provides
security and reduces the manual work.

1. Security of data.
2. Better service.
3. Proper control of the higher officials.
4. Minimize manual data entry.
5. Minimum time needed for the various processing.
6. Greater efficiency.
7. Ensure data accuracy’s.
8. Minimum time required.
9. User friendliness and interactive.

17
2.4 Requirement Analysis

2.4.1 Software Requirement Specification


The software requirement specification is produced at the the culmination of the analysis task.
The functions and performance allocated to software as part of engineering system are refined
by establishing a complete information description, a detailed functional and behavioral
description, an indication of performance requirements and design constraints, appropriate
validation criteria, and the other data pertinent to requirements.

The proposed system has the following requirements:


 System needs to maintain quality record.
 System needs to keep the records of Employee.
 System needs to update and delete the record.
 System also needs a search area.
 System needs a security system to prevent data.

Name of component Specification

Operating system Andriod Version 4.0 and above

Language Java

Database SQLite

JSON
Database driver

18
2.4.2 Hardware Requirement Specification

Name of component Specification

Sanpdragon 400 and above, Media tek


Processor P20 and above

RAM 1GB or more

Storage 2GB or more

Display Touch Screen

19
CHAPTER 3

System Design

3.1 Workout Module


The main need for the development this module is to manage of the all workout data. We
provide full workout module to help the user about fitness tips. So all excercise will be managed
by the developer and can see the list of data of all the exercise he/she as done at that particular
day & filter according to the His/Her satisfaction. All the details of each exercise and how to
perform the exercise is been provided by this module

Training Exercise Module for Beginners


 Hip-dominant (deadlifts, hinges, and swings)
 Knee-dominant (squats and lunges)
 Pushing movements (push, and presses)
 Pulling movement (rows and pullups)
 Gait pattern, such as walking and running

Admin Enquiry Module

The main purpose of developing this module is to manage the all enquiry will be managed by
admin and user be able to see the enquiry.

 Admin can manage the all enquiry


 Admin can edit and delete of the enquiry
 Admin can also see the all list of all enquiry
 Users can see enquiry on user side

20
3.2 Data Dictionary

This is usually represented as the data about. It is also termed as metadata some times which
give the all data about the data stored in database .it defines each data term encountered during
the inspection and design of new system. Data elements can report all the files or the operation.

Following some major symbols in the data dictionary

=equivalent to

+ and

[] either/or

() optional entry

Following some vital symbols in the data dictionary which defines the construction of data
dictionary entries:

1. Words should be defined to understand for what they need and not the variable need by
which they may be report in the program.
2. Each word must be different but We cannot have two definition of the same client at
time
3. Aliases or synonyms are permit when two or more enters show the same meaning for
example a vendor number may also be called as customer number
4. A self-defining word should not be decay it means that the reduction of any information
in to subpart should not be decomposed it means that the reduction of any information
in to subpart should be done only if it is really required that it is not easy to understand
directly
5. Data dictionary comprise information such as the Number of records save in the file, of
the frequency of a process will run, security factor like pass word which user must enter
to get excess to in the information

21
TABLE 4.2. 1 - USER DETAILS
Data Type Null Primary Key Description
User Id Varchar(20) Not Null Yes Unique name
Password Varchar(30) Not Null No Password
should have
special
character,
number,
capital letter
Phone Int Allow Null No To contact
Number with user
Email Varchar(30) Allow Null No To contact
with user

Table 4.2.2-BMI DETAILS

Data Type Null For Key Description


Height Float Not Null Yes Height of
user
Weight Float Not Null Yes Weight of
user

22
3.3 Use case Diagram
A use case diagram at its simple to be a representation of a user's interaction with the all system
that shows the relationship between the user and the different use cases in which the user is
involved. A use case diagram can easy to identify the different types of users of in system and
the different use cases and will often be any other types of diagrams as well.

The use case model for any system consists of the “use case”. Use cases represents different
Ways in which the system can be used by the user.

Application

While a use case might drill into a lot of detail about every possibility in a use-case diagram
can help provide a higher-level of view of the system. It has been said before that the Use case
diagrams are for your system. They provide the simple and graphical representation of what
the system must be actually do something.

Due to their simplistic nature, use case diagrams can be a good communicating with each tool
for stakeholders. The drawing attempt to the real world and provide a view for
the stakeholder to understand the system is going to be designed. Siu and Lee conducted
research to determine if there was a valid and situation for use case diagrams at all or if they
were unnecessary What was found was that is the use case diagrams conveyed the intent of
the system in a more simple manner to stakeholders and that they were interpreted completely
than class diagram.

The need of the use case diagrams is simple they provide the low level of the vision of system
and convey the requirements in laypeople's terms for the stakeholders. Additional diagrams
and document can be used to be provided by a complete functional and technical view of the
system.

In the use case diagram each use case is represented by an ellipse with the name of use case
written inside the ellipse. The Different users of the system are represented by using stick
person icon.The stick person icon normally referred to as an Actor.The line connecting the
actor and the use cases is called the communication relationship. When a stick person icon
represents an external system it is annotated by the stereo type <<external system>>.

23
Use case diagram of Gym Application

24
3.4 Class Diagram
In software engineering, a class diagram is the Unified Modeling Language (UML) is a type of
static structure diagram that describes the structure of a system by showing the systems classes
and their attributes operations and the relationships among objects.

The class diagram is the main building block of object oriented model It is used for the
general concept of the modeling of the systematically application and for the detailed of
modeling &translating the models into program code to Class diagrams can also be used
for data modeling. The classes use in the diagram represent both the main elements,
interactions & the application classes to be program.

In this diagram the classes are represented with the help of the boxes that contain three
compartments:-

1. The upper level of the compartment contains the name of the class. It is printed in bold
and centre and the first letter is capital.
2. The middle of the compartment contains the various attributes of the class. They are
left aligned and the first letter in lowercase.
3. The lower compartment contains the operations of the class can execute and They are
also left-aligned in the first letter is lowercase

A class with three compartments.

In the design of a system, the number of classes are identified in the grouped together in a class
diagram that helps to determine the static relations between each other. With detailed the all
modeling, the class of the concept to be design are often to split into a number of subclasses.

In one manner to further describe the behavior of the systems, to be in the class diagrams can
be complemented by the state diagram or UML state machine.

25
Class diagram of Gym Application

26
3.5 E-R diagram
An entity relationship of the model is usually the result of systematic analysis to be define and
describe what is the important processes in the area of a business. It does not define the business
processes it only presents a business data schema in graphical form. It is usually drawn in a
graphically form as boxes that are connected by lines which express the associations and
dependencies between entities. An ER model can also be expressed in a verbal form, one
building may be divided into two or three apartments, but one apartment can only be located
in one building.

Entities may be in the character is not only the relationships but also it is also additional
properties which can be include identifiers it is called as primary keys Diagrams created to be
represent attributes as well as the entities &relationships may be it is called as entity attribute
relationship diagrams, rather than the entity relationship models.

An ER model is typically implementing as a database. In the simple relational database


implement in each row of a table which are shows in one instance of an entity type and each
field in a table represents the attribute of this type. In a relational database in a relation between
entities is implemented by sort sing the first key of the one entity as a pointer or "foreign key
in the table of another entity model of relationship.

There is a tradition for ER diagram data models to be built in two or three levels of abstraction.
Note that the conceptual logical-physical hierarchy below is used in other kinds of specified
and is different from of they are three schema approach to be in software engineering.

Conceptual data model

This is the high level ER model in the contains of the least of granular detail but establishes the
overall scope of is to be included within the model. The ER model normally defines master
reference data entities that are commonly used by the any organization. of a ER diagram model
may be used as the foundation for one of The need of the concept of the ER model is then to
be structural commonly for the master of data entities between the set of logical er models.
The concept of the data model may be used to form common relation between er models as
well as a basis for data model.

27
Logical data model

A logical ER model does not require any type of the ER model is especially if the scope of the
logical Entity Relation model includes only the development of information system. The
logical ER model require more detail than the conceptual ER model. In adding to the master
data entities operations and transaction data entities are now defined its very well. The details
of each data entity are developed and the relationships between the data entities are The logical
ER model is however developed independent of the specific database management system into
which it can be implemented.

Physical data model

One or many physical Entity Relation models may be developed from each logical ER model.
The physical ER model is normally developed and instantiated as a database. Therefore, each
physical ER model must contain take a detail to produce a database and each physical ER
model is only for based on technology dependent model since each database management
system is any ware any time in different phase.

The physical data model is normally instead in the structure of a database management system
as a relational database management system in objects such as database tables, database
indexes, such as unique key indexes, and data base such as a foreign key constraint or a
commonly in . The ER model is also normally used in to the design modifications
implementation to the relational database objects and to maintain the structural of the database.

28
Entity relationship Diagram of Gym Application

29
3.6 Activity Diagram
Activity diagrams are graphically represented of workflows of stepwise activities will be
performed and actions with support for choice, iteration and concurrency. In the Unified
Modeling Language, activity diagrams are intended to model both computational and
organizational processes as well as the data flows intersecting with the all related activities in
uml. Although activity diagrams primary shows the overall flow of control they can also
include elements showing the flow of data between activities through one or more data stores

Activity diagrams are constructed from a limited no of shapes and attribute which can be
connected with the arrows. The most important shape are given below:

 ellipses represent the various actions;


 diamonds represent the decisions of attributeC
 bars represent the start orend to join of concurrent activities
 a hole black circle represents the start initial position of the node of the workflow
 an circled black circle represents the end of final node of attribute

Activity diagrams can be regarded as a form of a structured flowchart combined with a tradition
of data flow diagram. Typical flowchart techniques will be use in the constructs for expressing
concurrency using activity diagram. Whenever the joining and split symbols to be shown in
activity diagrams only solve this for simple cases the all aver meaning of the model is not clear
when they are combined with decisions of various loop.

While in activity diagrams were a special matching form of state diagrams in, the activity
diagrams were normalized to be based on professor semantics or increasing the scope of
situations that can be using in the activity diagrams. These changes in of cause many activity
diagrams to be interpreted very much differently in activity diagram.

Activity diagrams version can be used in various type of domains. Can be design of the
embedded systems software. It is possibility to verify such a specific model that can be using
model checking technique.

30
31
3.7 Dataflow Diagram
A data flow diagram data flow diagram is a graphically represented of the flow of data through
the information of the system modeling it’s all process take a time in data flow diagram A
DFD is often used as a first step to create an overview of the system without going into get all
over detail which can later be. Use in Data flow diagram can also be used for
the visualization of data processing structured design

A data flow diagram shows what kind of information will be input and output given from the
system of the DFD. How can I the data will be advance through the system and whenever the
data will be stored. In any system of DFD. It does not show any information about process
timing or other processes will be operate in one manner in parallel or traditional structured of
a flowchart which focuses on control of flow in UML activity workflow diagram, which
presents the both of control data flows as a unified model.

Data flow diagrams are also called as bubble flow of charts. In Data flow diagram is a design
the tool to be used in the down-to upper approach to Systems Design. This Data Flow Diagram
are in next exploded to the produce will be showing that shows some of the detail of the system
being modeled. The data flow diagram shows how the system are divided into any other system
to be connected processes the each of which deals with one or more of the data flows to or from
an internal agent, and which together provide all of the functional in the system as a whole.to
be coroneted It also identification of internal data stores that can be must be present in one of
the system to do its job very well and shows all flow of data between the any other type of parts
of the system. In Data flow diagrams are one of the essential perspectives of the structure
systems analysis a& design method The sponsorof a hole project and the end of the users will
be need to be consulted throughout all stage of a systems evolution in data flow diagram with
a data flow diagram, users can also able to visualize how the system will operate in what is the
main system will accomplish, &how the system will be implementing. The old system's in data
flow diagrams can be up to down &compared with both system of the data they can also new
systems data flow diagrams to draw compare both diagram to implement a more efficient
system DFD can be using the service of to provide end user with a physical idea of data they
input step by step has an effect upon the structure of the whole system order to dispatch in
various report How any system is developing it can be specified through a data flow diagram
model.

32
Dataflow Diagram of Gym Application

33
Chapter 4
Implementation and Testing Phase Code

Login XML file

34
Login Java file

35
Registration Xml File

36
37
Registration Java file

38
Main Activity Xml File

39
Main Activity Java file

40
Stage Activity Xml file

41
Stage Activity java file

42
Plank Activity Xml file

43
Plank Activity Java File

44
45
BMI Activity XML File

46
BMI Activity Java File

47
Time Picker Fragment

48
Notification Helper

49
Set Alarm Activity Xml file

50
Set Alarm Activity Java File

51
4.1 Testing Approach

The purpose of testing approach is to find code defects in functions or in a unit of work. testing
is the most efficient, effective, and inexpensive phase in terms of defect detection.

There are many different versions of browsers, so the browser’s compatibility must be
maintained to make sure the system is correctly displayed under different browsers. IE Tester
can be used to test various versions of IE browsers’ effects of the same system. Such browsers
as Firefox, Google and Opera are installed to test the system. Finally, the tests are all passed.

The unit test technical approach is to validate the following: internal logic, error handling, field
processing, computations calculations, data handling access, range of possible inputs/outputs,
and cross-field edits. Using the application documentation as a guide, the developer moves
through the code he/she has written and ensures all the requirements and the coding standards
have been met. Best practices provide that the developer will engage peers to review his/her
code.

Unit test plans should cover the technical details of the program. Expected results focus on
internal code and the inputs and the outputs from the code. In-depth, high-quality unit testing
will shorten future testing phases by reducing the defect rate. The purpose is to validate that
each unit of the software performs as designed.

Unit testing is a method by which individual units of source code are tested to determine if they
are fit for use. A unit is the smallest testable part of an application like functions procedures,
classes, interfaces.

Unit tests are typically written and run by software developers to ensure that code meets its
design and behaves as intended. The goal of unit testing is to isolate each part of the program
and show that the individual parts are correct. Unit tests find problems early in the
development.

52
4.1.1Unit Testing

Unit testing is a method by which individual units of source code are tested to determine if they
are fit for use. A unit is the smallest testable part of an application like functions procedures,
classes, interfaces.

Unit tests are typically written and run by software developers to ensure that code meets its
design and behaves as intended.

The goal of unit testing is to isolate each part of the program and show that the individual parts
are correct. Unit tests find problems early in the development cycle.

After the development of all modules, we first go for Unit testing. In Unit testing, we check
that all the modules are working properly as individual. If there is no any error in Unit testing
than we go for Integration Testing.

Unit testing is a level of the software testing process where individual unit/components of a
software/system are tested. The purpose is to validate that each unit of the software performs
as designed.

A unit is the smallest testable part of software. It usually has one or a few input and usually a
single output. In procedural programming a unit may be an individual program, function,
procedure etc. In object-oriented programming, the smallest unit is a method, which may
belong to a base/super class, abstract class or derived/child class.

Unit testing is the process of testing an individual, low-level program in an isolated


environment before testing its integration with other units. Unit testing verifies the code

object matches the technical design, properly handles the data and the available paths through
the software execute reliably. This testing is typically performed on the developers’
workstations, and then repeated on the server-based development environment. Limited
interfacing of components is likely to occur in this phase by a developer.

53
4.1.2 Integration Testing

Integration testing in the software testing model comes before system testing and after the unit
testing has been done.

The way that integration testing works is by, getting the individual modules that have been
through the unit testing phase and integrating each module into a group. The integration testing
phase will make sure when the modules are being integrated together that any problems, for
example errors or bugs, caused due to the integration of the modules are eliminated. Integration
testing does not deal with the integration of the whole system but deals with the integration of
process in the system.

In the integration testing stage there are three things that are created, to ensure that the
integration of the modules is successful and that it runs successfully as well, a test plan, test
cases and test data is produced to effectively test that the integration is successful. Test data is
normally used by test cases but I have mentioned each type below;

Integration Test Plan: -

Integration testing tests integration or interfaces between components, interactions to different


parts of the system such as an operating system, file system and hardware or interfaces between
systems.

Integration testing is done by a specific integration tester or test team.

After the Unit testing, we integrate different-different modules together. Than we check that
integrated modules are working properly together. If after the integration, project work
properly than we goes for System Testing.

54
Integration Test Cases: -
Test cases is created to make sure that the output, of the integrated modules are producing the
expected output and is working exactly how it is supposed to work. This is simply a way to
spot any errors or bugs that might have been made in the integration phase. The tester will
then work through the program and document all the data using the test case that was created,
the test case will test all inputs and outputs in the integrated modules.

Below is a simple test case, this was created by myself for a program that I created in collage,
I have also included some test data in the test case to show exactly how it works.

If you are dealing with a large application or program, then there may be various test cases
that might need to be created to test separate sections of the program. The various test cases
are normally gathered together and referred to as test suites, which is a set of test cases.

55
Chapter 5

Results and Discussion


Log in Activity

56
Registration Activity

57
Main Activity

Exercise List

58
Exercise

BMI Activity

59
Set Alarm Activity

Alarm

60
Alarm Notification

61
Chapter 6

Conclusion and Future work


Conclusion:-

I hope you have enjoyed learning about how to stay healthy and fit. There are many ways to
exercise along with many healthy foods you can eat to help stay fit. When exercising it is good
to make sure your pulse rate is good, and that you warm up your muscles before exercising and
to make sure you do a cool down to help your muscles cool down.

When making sure you are exercising right or eating right it is best to use an activity pyramid
to keep track of all the different kinds of activity you do. To make sure you eat right it is best
to check the nutrition label on the back of every food to make sure you are consuming the right
amount of calories.

To create the level of enthusiasm among the users this app has a practical approach. Daily
progress report with the live status of the user helps to maintain the progress.

Here is this App that allows the user to maintain the record right from the first day of Gym.
The progress report tracker helps to keep a record of from what user started with a certain
weight.

Understanding the requirement of the user these statistics definitely scale the most accurate
measure of progress which always adds the craze to move forward with the desired results.
Therefore, if you ever wanted to manage and track your progress this app is here to assist you.

62
Future Work

The future work of this application is to raise your awareness, as a fitness professional in his
personal Life, as to how people may select fitness exercise from the many activity that are out
there. If we know what people are looking for from a fitness app then we know what we are
competing with from a gym or online trainers point of view.

In Future we will Import:-

1. Progress Bar – which will show the progress of user.


2. Navigation Drawer – for better performance.
3. New Stages – new exercise stages will be added.
4. Calendar – which will show on which date the exercise is done by the user.

63
Chapter 7

References
Website:-

 https://www.youtube.com/channel/UCgnv52hqclx0fTopBi9llDQ/featured

 https://www.youtube.com/watch?v=zmjfAcnosS0

 https://www.youtube.com/watch?v=lF5m4o_CuNg

 https://www.youtube.com/watch?v=KySFSzm-qVg

 https://www.youtube.com/watch?v=8vMVTeKrDFM

 https://www.youtube.com/watch?v=CKqIpDqjj44

64
Plagiarism Report

Plagiarism Checker X
Originality Report
Similarity Found: 10%
Date: Monday April 15, 2019

Remarks: Low Plagiarism Detected - Your Document needs


Optional Improvement.

65

You might also like