Вы находитесь на странице: 1из 92

Final Project Report

<<Online Crime Reporting System>>

Project Supervisor
Mr.Hassan Raza

Submitted By

<<OCRSHR3>>

<<ATIF SHEHZAD>> <<132161065>>


<<SULEMAN SATTAR>> <<132161066>>
<<SHABBAR HUSSAIN>> <<1321630544>>

Research and Development Section, Department of


Computer Science,
NCBA&E DHA Campus

1|Page
CERTIFICATE
This is to certify that Atif Shehzad (132161065), Suleman Sattar (132161066),
Shabbar Hussain (1321630544), have worked on Online Crime Reporting
System and completed their Software Project at Department of Computer
Sciences, National College of Business Administration & Economics in partial
fulfillment of the requirement for the degree of Msc. (Computer Science) under
my guidance and supervision.

In our opinion, it is satisfactory and up to the mark and therefore fulfills the
requirements of Master Degree of Computer Science.

Supervisor / Internal Examiner

MR. HASSAN RAZA


Supervisor, CS Facility member DHA Campus
Software Projects & Research Section,
Department of Computer Sciences
NCBA&E DHA Campus

___________________
(Signature)

External Examiner/Subject Specialist


MR JUNAID BUTT MISS RABIA

_________________ _______________
(Signature) (Signature)

Accepted By:
_____________
(For office use)
Software Project Coordinator

2|Page
EXORDIUM

In the name of Allah, the Compassionate, the


Merciful.

Praise be to Allah, Lord of Creation,


The Compassionate, the Merciful,
King of Judgment-day!

You alone we worship, and to You alone we pray


for help,
Guide us to the straight path

The path of those who You have favored,

Not of those who have incurred Your wrath,


Nor of those who have gone astray.

3|Page
DEDICATION

I dedicate this project to God Almighty my creator,


my strong pillar,
my source of inspiration,
wisdom, knowledge and understanding.

He has been the source of my strength throughout


this program and on His wings only have I soared.

I also dedicated this project to my parents, teachers


and fellows they help me to complete my masters
degree program.
We would also like to thank all the faculty
members of NCBA&E specifically

MR. NOUMAN SAEED

for their critical advice and guidance without


which this project would not have been possible.
All the work done in coming up with this system is
dedicated to our parents and respected Teachers for
being with part of us in the whole process, especially
Mr. Hassan Raza who stood by us in all situations
and their thoughtful suggestions.

4|Page
ACKNOWLEDGEMENT

The satisfaction that accompanies the successful


completion of any task would be incomplete without
the mention of people whose ceaseless cooperation
made it possible whose constant guidelines and
encouragement crown all efforts with success.
We are very grateful to our project supervisor MR
Hassan Raza for the guidance, inspiration,
constructive suggestions that helped us in
preparation of this project. We won't forget to
mention our seniors for their wonderful and skillful
guidance in assisting us with the necessary support
to ensure that our project is successful. We also
thank our parents and family at large for their moral
and financial support in funding the project to
ensure successful completion of the project.

5|Page
ACCEPTENCE CERTIFICATE

The undersigned have examined the Project entitled

‘ONLINE CRIME REPORTING SYSTEM’ presented by


ATIF SHEHZAD, SHABBAR HUSSAIN and SULEMAN
SATTAR, candidates for the degree of Master of
Science in Computer Science and hereby certify that
it is worthy of acceptance.

INTERNAL SUPERVISOR
MR. HASSAN RAZA (Faculty Member NCBA&E DHA Campus)

EXTERNAL SUPERVISORS
1) MR. JUNAID BUTT (Co-Founder Tiksom)

2) MISS RABIA (Faculty Member NCBA&E DHA Campus)

3) MR. WASEEM RIAZ (Software Project Coordinator)

6|Page
TABLE OF CONTENTS

CHAPTER NO 1:
GATHERING & ANALYZING INFO

1.1 INTRODUCTION…………………………………………………..10
1.2 PURPOSE……………………………………………………………11
1.3 SCOPE………………………………………………………………..11
1.4 SUPPLEMENTARY REQUIREMENTS…………………………..11
1.4.1 USABILITY………………………………………………………..…11
1.4.2 RELIABILITY………………………………………………………..11
1.4.3 SUPPORTABILITY…………………………………………………11
1.4.4 SYSTEM REQUIREMENTS………………………………………..12

CHAPTER NO 2:
PLANNING THE PROJECT

2.1 INTRODUCTION…………………………………………………………..15
2.2 FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTS………15
2.3 USE CASE DIAGRAMS…………………………………………………....18
2.4 USAGE SCENARIO………………………………………………………...29
2.5 METHODOLOGY ………………………………………………................55
2.6 WORK PLAN……………………………………………………………….56
2.7 PROJECT STRUCTRE……………………………………………………. 56
2.8 PROJECT SHEDULING …………………………………………………..57

CHAPTER NO 3:
DESIGNING THE PROJECT

3.1 INTRODUCTION…………………………………………………59
3.2 ERD DIAGRAM…………………………………………………...60
3.3 CONTEXT DIAGRAM…………………………………………...61
3.4 DATA FLOW DIAGRAM………………………………………..62
3.5 ACTIVITY DIAGRAM……………………………………………65

7|Page
3.6 ARCHITECTURAL DIAGRAM……………………………….….67
3.7 SEQUENCE DIAGRAM……………………………………………68
3.8 DATABASE MODEL DIAGRAM………………………………...69
3.9 CLASS DIAGRAM……………………………………………….…71

CHAPTER NO 4:
DEVELOPEMNT

4.1 INTRODUCTION………………………………………………….73
4.2 GRAPHICAL USER INTERFACES………………………………74
4.3 TEST CASES………………………………………………………..89
4.4 COCLUSION……………………………………………………….91

8|Page
CHAPTER 1
Gathering & Analyzing Info

9|Page
1.1 Introduction

This is an online comprehensive crime reporting system which is


intended to make the people to report about the crime through our
system. The objective of the system is to develop the online crime
reporting system, such that the people can use this in the real time world
for complaining and reporting about crime and missing persons, instead
of going to the police station and filing a complaint. The current system
of filing complaint in police station and producing evidence of the case
is stressful for people. This causes great burden for the public to go to
police station for the evidence or giving eye-witness account. It also
creates a panic situation among the public to provide any witness about
a crime due to lack of security for the one who gives the witness report.
FIR is the ancient system of filling and tracking the case about a crime.
This is followed since many decades everywhere. But it has many
drawbacks for security and hence it has been a source for wrong
reporting of the case and its reports. The data about the cases are written
manually in this current system and thus involves the efficiency of the
person who takes care about the FIR reporting. It can also lead to losing
of data and thus can mislead the crime case from proceeding in the right
direction.
The main drawback in the FIR system is that in case of any fire accident
in the police station or where the report has been stored, can lead to lose
the entire case reports. Thus it becomes troublesome for the law and
order personnel to pursue with the case. Other issues like natural
calamity, terrorist activities and in-person malfunction to corrupt the
FIR can lead to the obstruction of the crime case. Even the policemen in
some cases are made to do such type of activities wontedly as an act of
un-patriotism. This is not highlighted to others and also to other security
personnel.

10 | P a g e
1.2 Purpose
The crime reporting system applies to police stations all across the country.
It specifically looks into the Crime detection and prevention. Conviction of
criminals depends on a highly responsive backbone of information
management. The efficiency of the police and the effectiveness with which
it tackle crime depend on what quality of information it can derive from its
existing records and how it can have access to it.

1.3 Scope
Crime Reporting System provides the ease so that people can easily
spawn their FIR about any crime. FIR on Call, Email and Fax. People
will easily check their FIR progress by the provided FIR number.
Feedback on FIR by police. One more feature is also included is that
emergency contact numbers of police station and details of police
officers will also be

1.4 Supplementary Requirements


1.4.1 Usability
User interface must be user friendly and easily understandable. User
interfaces must be creating in GUI. It means system describes the
function in to graphical user interface

1.4.2 Reliability

It is imperative that database should be always up when put into the


fields. During period of intense activities like submission and
verification and updating of data, back up should be taken. It will help
to minimize downtime in case of failure. Any Abnormal operations shall
results should not display.

1.4.3 Supportability

Supportability refers to the Website ability to be easily modified


maintained to accommodate typical usage or change scenarios.

With the use of this system people will easily submit their data to
generate FIR about any crime and people would also be able to check

11 | P a g e
their FIR status. Facility of FIR on Call, Email and Fax will also be
available. People shall easily check their report status by the provided
FIR number. Through this system user will be able to easily submit
complaint against any police officer if there is any. Police will provide
feedback regarding FIR with the help of this system.

 The system shall allow users to create new Crime Report without
the need for additional programming.
 The system shall allow the system administrator to manage all
Users and perform different tasks without any bug.

1.4.4 System Requirements


The product will be operating in windows 10 environment and its works
all type of Operating System and Servers. Most of the features will be
compatible with the SQL and SQL Server for store the data.

1.4.4.1 Hardware Interfaces:

Processor: Pentium III or 2.0 GHz or higher.

RAM: 256 Mb or more

Hard Disk: 20 GB or more

1.4.4.2 Software Interfaces:

Database:SQL Server

Application: PHP

12 | P a g e
Communication Interfaces

In this System user communicate with administrator online.

Implementation

The Product is developed using SQL. The backend database for this system is
SQL Server. The product is accomplished with login facility that provide after
registration so that specific function is available to specific members.

Html : Basic Website Language


PHP 5.2: For Dynamic Pages Coding
CSS: For Layout Style Sheet
JavaScript: For Scripting
J-QUERY: For Dynamic Scripting & Coding
Sublime Text: For Code Editing
My-SQL Database: For Database Design & Storage

13 | P a g e
CHAPTER 2
Planning the Project

14 | P a g e
2.1 Introduction

Crimes are increasing rapidly in the society but the assessment is not
well. So society is in great need of quick and easy report system for
crimes and the rectification / counter measures.
With the use of this system people will easily submit their data to
generate FIR about any crime and people would also be able to check
their FIR status. Facility of FIR on Call, Email and Fax will also be
available. People shall easily check their report status by the provided
FIR number. Through this system user will be able to easily submit
complaint against any police officer if there is any. Police will provide
feedback regarding FIR with the help of this system.
Records will be stored in databases of different crimes in different ratio
within the specific area. Latest crime news flashes will also appear on
the system site. One more feature is also included and that is emergency
contact numbers of police stations and details of police officers will also
be available, so that people can contact them easily and quickly in
emergency situations. Citizens will be able to easily search the nearest
police station. There is also a gallery portion in which the pictures will
be displayed regarding special police events.

Competitors/Competitive Analysis

 KPK Police
 Faisalabad Police
 CPLC Lahore

2.2 Functional and non Functional Requirements:

2.2.1 Functional Requirements

The functional requirements of Online Crime reporting system are as follow:

 System should provide the services to login admin panel to authorized


administrative person.

 System should be available for any condition for mange the online

15 | P a g e
crime reporting system.

 Only Admin / Authorized person Can Login into Admin Panel

 System should provide the safety and security services for saving
unauthorized access.

 System should provide the services to add missing citizen in the public
presented area of the web page.

 System should provide the services to update the entered data.

 System should provide the interface for Admin Person that can add
criminal’s data for general public for safety.

 System should provide the interface for admin to add police station in
the system database.

 System should provide the interface for admin to manage complaints.

 System should provide the interface for admin to logout safely.

 System should provide the interface to add or remove the user in the
database.

 System should available for update and enter data from admin and also
for user.

 Only admin can edit profile in the system.

 Only admin can mange complaints.

 System should provide the interface to general public user for


registration and login services.

 System should provide the interface to user for manage and check the
status about their complaints.

2.2.2 Non Functional Requirements:

The Nonfunctional requirements of the proposed model of lab management


system are as follow:
1) System will provide backup of data on the specified time basis.

16 | P a g e
2) System will provide the easy to use and easy to learn graphical user
interface(GUI)
3) System will provide the response to the user in minimum time slag.
4) System will provide the auto recovery facilities.
5) System will be reliable.
6) System will be flexible.
7) System will be efficient.
User Interfaces

User interface must be user friendly and easily understandable. User interfaces
must be creating in GUI. It means system describes the function in to graphical
user interface.

Reliability

It is imperative that database should be always up when put into the fields.
During period of intense activities like submission and verification and
updating of data, back up should be taken. It will help to minimize downtime
in case of failure. Any Abnormal operations shall results should not display.

Security

The database should be protected physically by having server located in an


enclosed and grunted facility. Virus scanning should be installed to protect
from viruses. The server should be installed under firewall so that server only
internal users can access it. The system shall be compatible with All Security
Standards. There should be terms and Conditions and a check on the content
added by the users.

17 | P a g e
2.3 Use Case Diagrams.

The use case diagrams for the proposed system Online Crime Reporting system
are defined by parts and grand is described at the end of this topic.
1. Use Case for Admin Authority.

2. Use case for add Safety Tips.

3. Use Cases Add Missing Citizen

4. Use Case Update Missing Citizen

5. Use Case Add Criminal

18 | P a g e
6. Use cases Add Station

7. Use cases Manage Complaints

8. Use cases Add Crime Type

9. Use cases Logout

10. Use cases Registration

19 | P a g e
11. Use cases Login

12. Use cases Update Profile

13. Use cases Manage Complaints

14. Use cases Add Missing Citizen

20 | P a g e
15. Use Cases update Missing Citizen

16. Use Cases Delete Missing Citizen

17. Use cases Add Criminal

18. Use cases Delete Criminal

21 | P a g e
19. Use cases Update Criminal

20. Use cases Logout

21. Use Case Registration

22. Use cases Login

22 | P a g e
23. Use cases Update Profile

24. Use cases Submit Complaint

25. Use cases Check Complaint

26. Use Case Check Stations

23 | P a g e
27. Use cases Logout

24 | P a g e
Admin Use Case Diagram

25 | P a g e
Police Use case Diagram

26 | P a g e
User Use Case Diagram

27 | P a g e
Online Crime Reporting System Use Case Diagram

28 | P a g e
2.4 Usage Scenario

Use Case Title Login


Use Case Id UC-1
Requirement Id REQ 01
Description: Administrator is going to login his account.
Pre Conditions:
1. Administrator must have an account.
Task Sequence Exceptions
1. The administrator enters the user name.
2. The password entered.
3. Login to his Account.
4. There is a problem in the data provided; some data needs to be
corrected.
 Administrator checks the available information and corrects the
error.
 Administrator continues from the step 3.
5. System after confirmation adds the new account.
6. System sends the account creation email to the administrator’s email
id and user’s email address.
Post Conditions: Access is granted.
Unresolved issues:
Authority: Administrator
Modification history: 1.0
Author: Online Crime Reporting System
Description: Administrator is going to login his account

29 | P a g e
Use Case Title Add Safety Tips
Use Case Id UC-2
Requirement Id REQ 02
Description: Administrator Adding Safety Tips.
Pre Conditions:
1 The Administrator has logged in the system
2. The Administrator has the right to add safety tips.
Task Sequence Exceptions
1. The Administrator starts add new safety tips.
2. New safety tips page is displayed
3. The Administrator enters safety tips
4. The Administrator activate the save command.
5. New information saves in the database.
5 Use case ends successfully.
Post Conditions: New safety tips added successfully
Unresolved issues:
Authority: Administrator
Modification history: 1.0
Author: Online Crime Reporting System
Description: Administrator Adding Safety Tips

30 | P a g e
Use Case Title Add Missing Citizen
Use Case Id UC-3
Requirement Id REQ 03
Description: Administrator is going to add Missing Citizen.
Pre Conditions:
1 The Administrator has logged in system
2 The Administrator has the right to add Missing Citizen
Task Sequence Exceptions
1 The Administrator has the right to add missing citizen.

2 Add new missing citizen page displayed.

3 The Administrator enters information of missing citizen

4 Activate save command.


.
5 New information saves in database.
.
6 Use case ends successfully.
Post Conditions: Missing Citizen has been added successfully
Unresolved issues:
Authority: Administrator
Modification history: 1.0
Author: Online Crime Reporting System
Description: Administrator is going to add Missing Citizen

31 | P a g e
Use Case Title Update Missing Citizen
Use Case Id UC-4
Requirement Id REQ 04
Description: Administrator is going to update Missing Citizen.
Pre Conditions:
1 The Administrator has logged in system.
2 The Administrator has the right to update Missing Citizen
Task Sequence Exceptions
1. The Administrator has the right to update missing citizen
2. Update missing citizen page displayed.
3. The Administrator enters new information of missing citizen.
4. Activate save command.
5. New information saves in database.
6. Use case ends successfully.
Post Conditions: Missing Citizen has been updated successfully.
Unresolved issues:
Authority: Administrator
Modification history: 1.0
Author: Online Crime Reporting System
Description: Administrator is going to update Missing Citizen.

32 | P a g e
Use Case Title Add Criminal
Use Case Id UC-5
Requirement Id REQ 05
Description: Administrator is going to add Criminal
Pre Conditions:
1. The Administrator has logged in system.
2. The Administrator has the right to add Criminal.
Task Sequence Exceptions
1. The Administrator has the right to add Criminal.
2. Add new most wanted page displayed.
3. The Administrator enters information of Criminal.
4. Activate save command
5. New information saves in database.
6. Use case ends successfully.
Post Conditions: Criminal (Most Wanted) has been added successfully.
Unresolved issues:
Authority: Administrator
Modification history: 1.0
Author: Online Crime Reporting System
Description: Administrator is going to add Criminal

33 | P a g e
Use Case Title Add Station
Use Case Id UC-6
Requirement Id REQ 06
Description: Administrator Adding Police station
Pre Conditions:
1 The Administrator has logged in the system
2 The Administrator has the right to add stations.
Task Sequence Exceptions
1. The Administrator starts add new station..
2. New station page is displayed.
3. The Administrator enters station information.
4. The Administrator activate the save command.
5. New information saves in the database
6. Use case ends successfully.
Post Conditions: New station added successfully.
Unresolved issues: station is not added correctly
Authority: Administrator
Modification history: 1.0
Author: Online Crime Reporting System
Description: Administrator Adding Police station

34 | P a g e
Use Case Title Manage Complaints
Use Case Id UC-7
Requirement Id REQ 07
Description:
Administrator can manage complaints
Pre Conditions:
1 The Administrator has logged in system.
2 The Administrator has the right to manage complaints.
Task Sequence Exceptions
1 The Administrator has right to manage the complaints.
2 The Administrator can check complaints
Post Conditions: The complaints have been managed successfully.
Unresolved issues: Error in management or not efficient management.
Authority: Administrator
Modification history: 1.0
Author: Online Crime Reporting System
Description: Administrator can manage complaints

Use Case Title Delete Crime Type


Use Case Id UC-8
Requirement Id REQ 08
Description: Administrator is going to delete crime type..
Pre Conditions:
 The Administrator has logged in system.
 The Administrator has the right to delete crime type
Task Sequence Exceptions
1. The Administrator has the right to add crime types
2. Delete crime type page displayed
3. Activate save command.
4. New information saves in database
5. Use case ends successfully
Post Conditions: The crime type has been deleted successfully
Unresolved issues: • Wrong information added
Authority: Administrator
Modification history: 1.0
Author: Online Crime Reporting System
Description: Administrator is going to delete crime type

35 | P a g e
Use Case Title Logout
Use Case Id UC-9
Requirement Id REQ 09
Description: Administrator is going to logout
.
Pre Conditions:
 The Administrator has logged in system.
 The Administrator has the right to logout after completing his tasks.
Task Sequence Exceptions
1 The Administrator can complete his task.
2 Administrator can click logout button.
3 Use case completed successfully..
Post Conditions:
 The administrator has been logout successfully
Unresolved issues:
Authority: Administrator
Modification history: 1.0
Author: Online Crime Reporting System
Description: Administrator is going to logout

36 | P a g e
Use Case Title Registration
Use Case Id UC-1
Requirement Id REQ 10
Description: Police is going to register him.
.
Pre Conditions:
 Go to the site of online crime reporting system
 Apply for Registration
Task Sequence Exceptions
1. Information of police member entered into database
2. Get an account in system
Post Conditions:
 Police registered successfully
Unresolved issues: •
Authority: Police
Modification history: 1.0
Author: Online Crime Reporting System
Description: Police is going to register him

37 | P a g e
Use Case Title Login
Use Case Id UC-2
Requirement Id REQ 11
Description: Police is going to login his account.
Pre Conditions:
 Police must have an account
Task Sequence Exceptions
1. The police member enters the user name
2. The password entered
3. Login to his Account
Post Conditions:
 Access is granted
Unresolved issues: •
Authority: Police
Modification history: 1.0
Author: Online Crime Reporting System
Description: Police is going to login his account.

38 | P a g e
Use Case Title Edit Profile
Use Case Id UC-3
Requirement Id REQ 12
Description: Police is going to edit his profile.
Pre Conditions:
 The Police member has logged in system.
 The Police member has the right to edit his profile.
Task Sequence Exceptions
1. The police have the right to change his profile.
2. Edit profile page displayed
3. The Police enter new information
4. Activate save command
5. New information saves in database
6. Use case ends successfully.
Post Conditions:
 Police member profile edited successfully
Unresolved issues: •
Authority: Police
Modification history: 1.0
Author: Online Crime Reporting System
Description: Police is going to edit his profile.

39 | P a g e
Use Case Title Manage Complaints
Use Case Id UC-4
Requirement Id REQ 13
Description: Police can manage complaints.
Pre Conditions:
 The Police have logged in system.
 The Police has the right to manage complaints
Task Sequence Exceptions
1 The Police has right to manage the complaints.
2 The Police can check complaints
Post Conditions:
 The complaints have been managed successfully.
Unresolved issues: •
Authority: Police
Modification history: 1.0
Author: Online Crime Reporting System
Description: Police can manage complaints

40 | P a g e
Use Case Title Add Missing Citizen
Use Case Id UC-5
Requirement Id REQ 14
Description: Police is going to add Missing Citizen..
Pre Conditions:
 The Police have logged in system.
 The Police have the right to add Missing Citizen.
Task Sequence Exceptions
1. The Police have the right to add missing citizen.
2. Add new missing citizen page displayed
3. The Police enter information of missing citizen.
4. Activate save command
5. New information saves in database
6. Use case ends successfully
Post Conditions:
 Missing Citizen has been added successfully..
Unresolved issues: •
Authority: Police
Modification history: 1.0
Author: Online Crime Reporting System
Description: Police is going to add Missing Citizen.

41 | P a g e
Use Case Title Update Missing Citizen
Use Case Id UC-6
Requirement Id REQ 15
Description: Police is going to update Missing Citizen.
Pre Conditions:
 The Police have logged in system.
 The Police have the right to update Missing Citizen
Task Sequence Exceptions
1. The Police have the right to update missing citizen.
2. Update missing citizen page displayed.
3. The Police enter new information of missing citizen
4. Activate save command
5. New information saves in database
6. Use case ends successfully
Post Conditions:
 Missing Citizen has been updated successfully
Unresolved issues: •
Authority: Administrator
Modification history: 1.0
Author: Online Crime Reporting System
Description: Police is going to update Missing Citizen.

42 | P a g e
Use Case Title Delete Missing Citizen
Use Case Id UC-7
Requirement Id REQ 16
Description: Police is going to add Criminal.
Pre Conditions:
 The Police have logged in system.
 The Police have the right to add Criminal
Task Sequence Exceptions
1. The Police have the right to add Criminal.
2. Add new most wanted page displayed
3. The Police enter information of Criminal
4. Activate save command
5. New information saves in database.
6. Use case ends successfully
Post Conditions:
 Criminal (Most Wanted) has been added successfully
Unresolved issues: •
Authority: Police
Modification history: 1.0
Author: Online Crime Reporting System
Description: Police is going to add Criminal.

43 | P a g e
Use Case Title Add Criminal
Use Case Id UC-8
Requirement Id REQ 17
Description: Police is going to add Criminal.
Pre Conditions:
 The Police have logged in system.
 The Police have the right to add Criminal
Task Sequence Exceptions
1. The Police have the right to add Criminal.
2. Add new most wanted page displayed
3. The Police enter information of Criminal
4. Activate save command
5. New information saves in database.
6. Use case ends successfully
Post Conditions:
 Criminal (Most Wanted) has been added successfully
Unresolved issues: •
Authority: Police
Modification history: 1.0
Author: Online Crime Reporting System
Description: Police is going to add Criminal.

44 | P a g e
Use Case Title Delete Criminal
Use Case Id UC-9
Requirement Id REQ 18
Description: Police is going to delete Criminal
Pre Conditions:
 The Police have logged in system.
 The Police have the right to delete Criminal
Task Sequence Exceptions
1. The Police have the right to delete Criminal
2. Delete Criminal page displayed.
3. The Police select specific Criminal for deletion.
4. Activate command
5. Selected citizen delete from database.
6. Use case ends successfully.
Post Conditions:
 Criminal has been deleted successfully.
Unresolved issues:
Authority: Police
Modification history: 1.0
Author: Online Crime Reporting System
Description: Police is going to delete Criminal

45 | P a g e
Use Case Title Update Criminal
Use Case Id UC-10
Requirement Id REQ 19
Description: Police is going to Update Criminal..
Pre Conditions:
 The Police have logged in system.
 The Police have the right to Update Criminal.
Task Sequence Exceptions
1. The Police have the right to Update Criminal
2. Update Criminal page displayed
3. The Police select specific Criminal for Update
4. Activate command .
5. Selected citizen Updated in database..
6. Use case ends successfully.
Post Conditions:
 A Criminal has been Update successfully..
Unresolved issues:
Authority: Police
Modification history: 1.0
Author: Online Crime Reporting System
Description: Police is going to Update Criminal

46 | P a g e
Use Case Title Logout
Use Case Id UC-11
Requirement Id REQ 20
Description: Police , user and admin are going to logout.
Pre Conditions:
 The Police have logged in system.
 The Police have the right to logout after completing his tasks..
Task Sequence Exceptions
1. The Police have logged in system.
2. The Police have the right to logout after completing his tasks.
Post Conditions:
 The Police have been logout successfully.
Unresolved issues:
Authority: Police
Modification history: 1.0
Author: Online Crime Reporting System
Description: Police is going to logout

47 | P a g e
Use Case Title Add User
Use Case Id UC-1
Requirement Id REQ 21
Description: Society User is going to register him
Pre Conditions:
 Go to the site of online crime reporting system
 Apply for Registration
Task Sequence Exceptions
1. Information of Society User entered into database
2. Get an account in system
Post Conditions:
a. Society User registered successfully.
Unresolved issues:
Authority: Society User
Modification history: 1.0
Author: Online Crime Reporting System
Description: Society User is going to register him

48 | P a g e
Use Case Title Login
Use Case Id UC-2
Requirement Id REQ 22
Description: Society User is going to login his account
Pre Conditions:
 Society User must have an account.
Task Sequence Exceptions
1. The Society User member enters the user name
2. The password entered
3. Login to his Account
Post Conditions:
b. Access is granted.
Unresolved issues:
Authority: Society User r
Modification history: 1.0
Author: Online Crime Reporting System
Description: Society User is going to login his account

49 | P a g e
Use Case Title Edit Profile
Use Case Id UC-3
Requirement Id REQ 23
Description: Society User is going to edit his profile.
Pre Conditions:
 The Society User has logged in system.
 The Society User has the right to edit his profile
Task Sequence Exceptions
1. The Society User has the right to change his profile..
2. Edit Society User page displayed.
3. The Society User enters new information.
4. Activate save command
5. New information saves in database.
6. Use case ends successfully..
Post Conditions:
A. User member profile edited successfully
Unresolved issues:
Authority: Society User
Modification history: 1.0
Author: Online Crime Reporting System
Description: Society User is going to edit his profile.

50 | P a g e
Use Case Title Submit Complaint
Use Case Id UC-4
Requirement Id REQ 24
Description: Society User is going to submit report.
Pre Conditions:
 Society User has an account
 Login to his account
 Go to submission report page & click on submit report
 Report written & submitted
Task Sequence Exceptions
1. Society User can submit reports.

2. Submitted Report page displayed.


3. Use case ends successfully.
Post Conditions:
c. Report Submitted successfully
Unresolved issues:
Authority: Society User
Modification history: 1.0
Author: Online Crime Reporting System
Description: S Society User is going to submit report

51 | P a g e
Use Case Title Check Complaint
Use Case Id UC-5
Requirement Id REQ 25
Description: Society User is going to Check report
Pre Conditions:
 Society User has an account
 Login to his account
 Go to Check report page
Task Sequence Exceptions
1. Society User can submit reports.

2. Check Report page displayed.


3. Use case ends successfully.
Post Conditions:
A. Report Checked successfully
Unresolved issues:
Authority: Society User
Modification history: 1.0
Author: Online Crime Reporting System
Description: Society User is going to Check report

52 | P a g e
Use Case Title Check Stations
Use Case Id UC-6
Requirement Id REQ 25
Description: Society User is going to Check Station.
Pre Conditions:
 Society User must has an account
 Login to his account
 Submit Complaint
 View the Station to whom which user submits complaint
Task Sequence Exceptions
1. Check station page displayed.
Post Conditions:
A. Checking station successfully.
Unresolved issues:
Authority: Society User
Modification history: 1.0
Author: Online Crime Reporting System
Description: User is going to Check Station.

53 | P a g e
Use Case Title Check Stations
Use Case Id UC-7
Requirement Id REQ 26
Description: Society User is going to Check Station.
Pre Conditions:
 The Society User has logged in system.
 The Society User has the right to logout after completing his tasks.
Task Sequence Exceptions
1. The Society User can complete his task.
2. Society User can click logout button.
3. Use case completed successfully.
Post Conditions:
A. The Society User has been logout successfully
Unresolved issues:
Authority: Society User
Modification history: 1.0
Author: Online Crime Reporting System
Description: Society User is going to Check Station...

54 | P a g e
2.5 Adopted Methodology:

2.5.1 Waterfall Model:


Waterfall Model was being Chosen because of all requirements were
known beforehand and the objective of our software development is the
computerization/automation of an already existing manual working
system.

Reasons to choose waterfall model are:


1) Waterfall model is simple to implement and also the amount of
resources required for irate minimal.
2) In this model, output is generated after each stage (as seen before),
therefore it has high visibility. The client and project manager gets a
feel that there is considerable progress.
3) Project management, both at internal level and client's level, is easy
again because of visible outputs after each phase. Deadlines can be
set for the completion of each phase and evaluation can be done from
time to time, to check if project is going as per milestones.
4) This methodology is significantly better than the haphazard
approach to develop Web Application. It provides a template into
which methods of analysis, design, and coding, testing and
maintenance can be placed.
5) This methodology is preferred in projects where quality is more
important as compared to schedule.

55 | P a g e
2.6 Work Plan:

2.7 Project Structure


The system work or project structure is divided into two members:
1) Atif Shehzad
2) Shabbar Hussain Akbar
3) Suleman Sattar
And the work distribution is shown in the diagram below:

Atif Shehzad

Online Crime Shabbar Hussain


Reporting System Akbar

Suleman Sattar

56 | P a g e
2.8 Project Scheduling / Gantt Chart

57 | P a g e
CHAPTER 3
Designing the Project

58 | P a g e
3.1 Introduction:

The department of police is an independent statutory body which was


created to maintain an effective and efficient police service for public.

The product provides a framework, which is error free. We know a


crime management system is actually a serious process. So even a simple error
lead to big problems. So it should be error free and our object is to build error
free software.

3.1.1 User Classes & Characteristics

There are following kinds of users.

1) Users:
a. Who will be using the above features by accessing the Crime
reporting System’s database and can submit report.
2) Administrator:
a. Who will be using the features of Crime reporting? System
database.
3) Police:
a. Who will is acting as the controller and he will have all the
privileges of Crime Reporting System.

59 | P a g e
3.2 ERD Diagram:

60 | P a g e
3.3 Context Diagram

61 | P a g e
3.4 Data Flow Diagram
3.4.1 Administrator DFD level 1

62 | P a g e
3.4.2 Police DFD level 1

63 | P a g e
3.4.3 Society User DFD level 1

64 | P a g e
3.5 Activity Diagrams
3.5.1 Admin

3.5.2 Police User

65 | P a g e
3.5.3 Society User

66 | P a g e
3.6 Architectural Diagrams

USER
LOGIN

APPLICATION INTERFACE

RECORD RECORD RECORD REPORTS


ENTRY UPDATING MODIFICATION

FRONT END

DATA COLLECTION

BACK END

DATA BASE

SYSTEM LEVEL

67 | P a g e
3.7 Sequence Diagram

68 | P a g e
3.8 Database Model Diagram

69 | P a g e
70 | P a g e
3.9 Class Diagram

Class Diagram provides an overview of the target system by describing


the objects and classes inside the system and the relationships between
them.

Class diagram resembles a flowchart in which classes are represented as


boxes, each box having three rectangles inside. The top rectangle contains
the name of the class; the middle rectangle contains the attributes of the
class; the lower rectangle contains the methods, also called operations, of
the class. Lines, which may have arrows at one or both ends, connect the
boxes. These lines define the relationships, also called associations,
between the classes.

71 | P a g e
CHAPTER 4
Development

72 | P a g e
4.1 Introduction

This document is the guideline for Crime Reporting System


website so that user can use website in more useful, easy and efficient
way. This manual provides help to users for using this website without
any dissonance; moreover it facilitates users with the description of
almost all main features of website.
Each main function that can be performed through this website is
explained with the help of screenshots and their brief description.

73 | P a g e
4.2 Graphical User Interfaces

Home Page

74 | P a g e
About us

75 | P a g e
Submit Fir

76 | P a g e
Most Wanted

77 | P a g e
Fir Status

78 | P a g e
Statistics

79 | P a g e
Gallery

80 | P a g e
Police Contacts

81 | P a g e
Register

82 | P a g e
Login

83 | P a g e
Admin

84 | P a g e
Police User

85 | P a g e
Profile

86 | P a g e
User Profile

87 | P a g e
Submit Fir

88 | P a g e
4.3 Test Cases

System
Test Case ID: Record Entry Administrator
Testers:
Version: 1.0 Date: 2017
Use case Ref: Record Entry
Purpose: Admin wants to add record in the system
Pre-Conditions: Application is running.
The user clicks the Add record button on the main
screen and is directed to the record entry screen.
Execution User provides the data field shown in the entry screen.
Description: Clicks the add button.
After successful add, admin is directed to the new
entry record.
Input: Data of user record
Expected
Admin add record successfully
Result:
Result: Successfully Add record in system

89 | P a g e
System
Test Case ID: Login_test_1.1 Administrator
Testers:
Version: 1.0 Date: 2017
Use case Ref: Login
Purpose: Admin wants to login to the application
Pre-Conditions: Application is running.
The user clicks the sign in button on the main screen
and is directed to the sign in screen.
User provides the password in the password field
Execution
shown in the login screen.
Description:
Clicks the sign in button.
After successful login admin is directed to the home
page of the application.
Input: User Name and Password
Expected
Admin Logged In successfully
Result:
Result: Successfully Login

90 | P a g e
4.4 Conclusion
The Crime Reporting System is a web based system, and it is developed
successfully using cod (HTML, CSS, Bootstrap, JavaScript, JQuery, PHP)
platform for development.
The Crime Reporting System facilitates the user to:
 User will be facilitated to generate their FIR and view it.
 FIR on call, Email and Fax.
 FIR status check.
 Complaint system regarding Police.
 Response and Feedback regarding FIR.
 Different Crime’s Ratio within specific Area using Database records.
 News Flashes about latest crimes and events.
 Gallery
 Citizens will look up nearest police station.
 Details about police station staff.
 Emergency contact details of police to handle any situation quickly.

Crime Reporting System provides these services to the user in a friendly


environment.

91 | P a g e
Supervisor Remarks Area:

92 | P a g e

Вам также может понравиться