Anda di halaman 1dari 33

Software Design Description for Social Reformer 1

Software Design Description

for

Social Reformer

Prepared by
Group Members Name:

Syed Urwa Shah SP14-BSE-062 syedurwashah@gmail.com

Murtaza Khan SP14-BSE-0 @gmail.com

Abdullah SP14-BSE-059 abdullahsaeed@gmail.com

Supervisor: Mukhtiar Zamin

Date: 22-06-2017

Department of Computer Science


COMSATS INSTITUTE OF INFORMATION and TECHNOLOGY
ABBOTTABAD.
Software Design Description for Social Reformer 2

TableofContents
Table of Contents...........................................................................................................................2
1. Introduction..............................................................................................................................3
1.1 Product Description........................................................................................................................3
1.2 Product Vision................................................................................................................................3
1.3 Product Oppurtunity.......................................................................................................................3
2. Use Cases...................................................................................................................................4
2.1 System Architecture: Use Case Diagram........................................................................................4
2.2 Fully Dressed Use Cases.................................................................................................................5
3. System Sequence....................................................................................................................19
3.1 System Sequence Diagram............................................................................................................19
3.2 Sequence Diagram........................................................................................................................24
4. Package Diagram...................................................................................................................29
4.1 Package Diagram...............................................................................................................29
5. Deployment Diagram.............................................................................................................30
5.1 Deployment Diagram....................................................................................................................30
6. Class Diagram........................................................................................................................31
6.1 Class Diagram...............................................................................................................................31
7. ERD.........................................................................................................................................32
7.1 Entity Relationship Diagram.........................................................................................................32
8. Activity Diagram....................................................................................................................33
8.1 Activity Diagram..........................................................................................................................33
9. Collaboration Diagram..........................................................................................................34
9.1 Collaboration Diagram..................................................................................................................34
Software Design Description for Social Reformer 3

1 Introduction

1.1 Product Description:


The purpose of our project is to unite the people in society who wants to bring reforms by
giving their time and money to bring positive change in the society. Social Reformer will
provide an effective real-time platform for such type of people. Our platform provides user to
report an issue and willing volunteers will join us to resolve the reported issues. The system
will bring up the good people in society.

1.2 Product Vision:


To provide a platform to user to bring social reforms in a society. It will help to bring unity in
the society. It will improve the ability that how to manage things with available resources. It will bring
some fruitful results in the society.

1.3 Product Opportunity:


Existing system for Extreme Programming is not efficient and people cant add Such as Exploration phase,
Planning phase, Iterations to release phase, productionizing phase, Maintenance phase, Death phase.
Secondly the System will provide an interface for developers to select their desire stories. The system will
identify effort estimation and prioritization of stories.
Software Design Description for Social Reformer 4

2 Use Cases
2.1 System Architecture: Use Case Diagram:
Software Design Description for Social Reformer 5
2.2 Fully Dressed Use Cases:
2.2.1 Registration:

ID: 1

Function Register to use Social Reformer

Description User can register to use social reformer

Inputs Name, Password, Confirm Password, Contact number

Primary Actor User

Outputs User successfully registered

Destination Timeline

Basic Flow User enter username

User enter password

User enter confirm password

User click the register button

User Registered successfully

Alternatives If the User enters wrong password, he/she would have a message to enter
correct password.

Requires Website should be in working condition

Pre-condition All inputs must be filled.

Post-condition User registered Successfully.

Side Effects Database Updated.

2.2.2 Login:

ID: 2

Function Login
Software Design Description for Social Reformer 6

Description User can login

Inputs Username, Password

Primary Actor User

Outputs User successfully logged in

Destination Timeline

Basic Flow User enters username.


User enters Password.
User Click the Login button.
User is successfully logged in

Alternatives If the User enters invalid username, he/she would have a message to enter
valid name

If the User enters wrong password, he/she would have a message to enter correct
password.

Requires Website should be in working condition

Pre-condition User must be registered

Post-condition User successfully logged in

Side Effects N/A

2.2.3 Sign Out:

ID: 3

Function Sign out

Description User can sign out

Inputs User click on sign out button

Primary Actor User

Outputs User successfully sign out


Software Design Description for Social Reformer 7

Destination Login form

Basic Flow User click on sign out button


User successfully sign out

Alternatives N/A

Requires Website should be in working condition

Pre-condition User must be logged in

Post-condition User successfully sign-out

Side Effects N/A

2.2.4 Issue Reporting:

ID: 4

Function Issue Reporting

Description User can report an issue

Inputs Title, Textual details, Some Images, Video/Voice Message, category, location
Estimated volunteers required, Estimated finance required
Primary Actor User

Outputs Report an issue form opened successfully

Destination Report an issue form

Basic Flow User clicks Report Issue button


User enters a title of an issue
User select the category of an issue
User enter some textual details of an issue
User provides some images of issue and also, he/she can provide some video/voice
message to further elaborate the issue
System will automatically generate the location of the issue but if not generated
precisely/specifically then user can select the location by him/herself
User can provide estimated finance required
Software Design Description for Social Reformer 8
User can provide the estimated volunteers required

Alternatives User does not click Report Issue button

Requires Website should be in working condition

Pre-condition User must be logged in

Post-condition Issue reported successfully

Side Effects N/A

2.2.5 Scheduler Module:

ID: 5

Function Scheduler Module

Description System will arrange a meeting for willing volunteers after some specific threshold
reached

Inputs Verification of an issue

Primary Actor User

Outputs Meeting is scheduled successfully

Destination It will be added in the issue in progress section

Basic Flow User will verify/validate an issue by hitting the verify button

Alternatives

Requires Website should be in working condition

Pre-condition Issue must be verified by volunteers

Post-condition Meeting has been scheduled successfully

Side Effects N/A

2.2.6 Play Game:


Software Design Description for Social Reformer 9

ID: 6

Function Play game

Description Player can play the game

Inputs Player click on play button

Primary Actor Player

Outputs Player successfully started the game

Destination Game view

Basic Flow Player click play out button


Player successfully started the game

Alternatives None

Requires Website should be in working condition

Pre-condition Player must be logged in

Post-condition Player successfully started the game

Side Effects None.

2.2.7 Tracking Module:

ID: 7

Function Tracking Module

Description System will keep track of progress of a reported issue

Inputs

Primary Actor

Outputs Successfully tracked

Destination It will be added in the issue in progress section


Software Design Description for Social Reformer 10

Basic Flow Player will select the object to be placed.


Player will place the object on the desired place
Object is successfully placed on path

Alternatives Player does not select the object and try to place it

Requires Website should be in working condition

Pre-condition Issue must be reported

Post-condition Issue resolved successfully

Side Effects N/A

2.2.8 Audited Module:

ID: 8

Function Audited Module

Description Registered users can provide feedback

Inputs Ratings bar

Primary Actor Registered user

Outputs Feedback provided successfully

Destination N/A

Basic Flow Registered user will select feedback

Registered user will provide the feedback according to the task completion status

Feedback is successfully provided to the other registered user.

Alternatives Registered user does not select the ratings and clicked on done button

Requires Website should be in working condition

Pre-condition Volunteer
Software Design Description for Social Reformer 11

Post-condition Feedback provided successfully

Side Effects N/A

2.2.9 Collect Coins:

ID: 9

Function Collect coins

Description Player can collect coins

Inputs Player will click on the coin

Primary Actor Player

Outputs Successfully collected

Destination

Basic Flow Player will click the coin.


Coin is successfully collected
Points are updated.
Score is updated.

Alternatives Player click on fruit , not on coin

Requires Game is in working condition

Pre-condition Coin should be available

Post-condition Coin collected successfully

Side Effects None

2.2.10 Collect Fruits:


Software Design Description for Social Reformer 12

ID: 10

Function Collect fruits

Description Player can collect fruits

Inputs Player will click on the fruit

Primary Actor Player

Outputs Successfully collected

Destination Score

Basic Flow Player will click on the fruit.


Fruit is successfully collected
Points are updated.
Score is updated.

Alternatives Player click on fruit , not on coin

Requires Game is in working condition

Pre-condition fruit should be available

Post-condition Fruits collected successfully

Side Effects None

2.2.11 View Scoreboard:

ID: 11

Function View score board

Description player can view score board

Inputs Clicked the score board button

Primary Actor Player


Software Design Description for Social Reformer 13

Outputs Score board screen opened successfully

Destination Score board screen

Basic Flow Player click score board button


Score board screen opened
Player successfully view the previous score.

Alternatives None

Requires Game should be in working condition

Pre-condition Player must be logged in

Post-condition Score board viewed successfully

Side Effects None

2.2.12 View User Manual:

ID: 12

Function View user manual

Description Player can view user manual

Inputs click on User manual button

Primary Actor Player

Outputs User manual screen opened successfully

Destination User manual window

Basic Flow Player click user manual button


User manual window opened
Player successfully view the information inside user manual.

Alternatives None

Requires Game should be in working condition


Software Design Description for Social Reformer 14

Pre-condition Player must be logged in

Post-condition User manual viewed successfully

Side Effects None

2.2.13 View Characters:

ID: 13

Function View characters

Description player can view characters

Inputs Click on character button

Primary Actor Player

Secondary Actor

Outputs Character screen opened successfully

Destination character screen

Basic Flow Player click user manual button


User manual screen opened
Player click on character button
Player successfully view the information inside character screen.

Alternatives Player does not click on character button

Requires Game should be in working condition

Pre-condition Player must be logged in

Post-condition Characters viewed successfully

Side Effects None


Software Design Description for Social Reformer 15

2.2.14 View Objects:

ID: 14

Function View objects

Description player can view objects

Inputs Click on object button

Primary Actor Player

Outputs objects screen opened successfully

Destination Objects ` screen

Basic Flow Player click user manual button


User manual screen opened
Player click on objects button
Player successfully view the information inside objects screen.

Alternatives Player does not click on objects button

Requires Game should be in working condition

Pre-condition Player must be logged in

Post-condition objects viewed successfully

Side Effects None

2.2.15 View Weapons:

ID: 15

Function View weapons

Description player can view weapons

Inputs Click on weapon button


Software Design Description for Social Reformer 16

Primary Actor Player

Outputs weapon screen opened successfully

Destination weapon screen

Basic Flow Player click user manual button


User manual screen opened
Player click on weapon button
Player successfully view the information inside weapon screen.

Alternatives Player does not click on weapon button

Requires Game should be in working condition

Pre-condition Player must be logged in

Post-condition weapons viewed successfully

Side Effects None

2.2.16 View Environment:

ID: 16

Function View environment

Description player can view environment

Inputs Click on the environment button

Primary Actor Player

Outputs environment screen opened successfully

Destination character screen

Basic Flow Player click user manual button


User manual screen opened
Software Design Description for Social Reformer 17

Player click on environment button


Player successfully view the information inside environment screen.

Alternatives Player does not click on environment button

Requires Game should be in working condition

Pre-condition Player must be logged in

Post-condition Characters viewed successfully

Side Effects None


Software Design Description for Social Reformer 18

3 System Sequence

3.1 System Sequence Diagram:


3.1.1

3.1.2
Software Design Description for Social Reformer 19
3.1.3

3.1.4

3.1.5

3.1.6
Software Design Description for Social Reformer 20

3.1.7

3.1.8

3.1.9
Software Design Description for Social Reformer 21

3.1.10

3.1.11

3.1.12
Software Design Description for Social Reformer 22

3.1.13

3.1.14

3.2 Sequence Diagram:


Software Design Description for Social Reformer 23
3.2.1

3.2.2

3.2.3

3.2.4
Software Design Description for Social Reformer 24

3.2.5

3.2.6
Software Design Description for Social Reformer 25
3.2.7

3.2.8

3.2.9
Software Design Description for Social Reformer 26
3.2.10

3.2.11

3.12

3.13
Software Design Description for Social Reformer 27

3.14
Software Design Description for Social Reformer 28

4 Package Diagram

4.1 Package Diagram:


Software Design Description for Social Reformer 29

5 Deployment Diagram

5.1 Deployment Diagram:


Software Design Description for Social Reformer 30

6 Class Diagram

6.1 Class Diagram:


Software Design Description for Social Reformer 31

7 ERD Diagram

7.1 Entity Relationship Diagram:


Software Design Description for Social Reformer 32

8 Activity Diagram

8.1
Software Design Description for Social Reformer 33

9 Collaboration Diagram

9.1 Collaboration Diagram

Revisions
*********************************************************************

Anda mungkin juga menyukai