Professional Documents
Culture Documents
University of Gujrat
Submitted By
Amtul Masawar (2019-GCUF-067405)
Maida Ijaz (2019-GCUF-067411)
Bisma Khalid (2019-GCUF-067402)
Rabia Asgher (2019-GCUF-067412)
Final Semester Project
Session: ADP (CS) 2019-2021
Supervised By
Online Doctor Finder
STATEMENT OF SUBMISSION
It is verified that this project titled Online Crime Management System by Amtul
MasawarD/O
Maida Ijaz (Roll # 2019-GCUF-067411) Rabia Asghar D/O Imtiaz Rasool (Roll #
18250819021) and Bisma D/O Nazar Hussain, Roll # (18250819-036), students of
associate degree in (Computer science) at Department of Computer Science, GC
University Faisalabad, Pakistan, contains sufficient material required for the award of
above said degree.
Head of Department,
Assistant Prof. Department of Computer Science,
Project Supervisor Faculty of Computing & IT, Department of Computer Science, GC University
Faisalabad, Punjab
Pakistan.
ACKNOWLEDGEMENT
Start with the name of Allah, who is most benevolent and most generous. All praises to
Allah almighty, who gave us strengths and ability to complete this project. We truly
acknowledge the cooperation and help made by Head of Department, Computer Science
Dept. University of Gujrat. He has been a constant source of guidance throughout the
course of this project We would also like to thank our honorable supervisor Assistant
Prof. Najeeb Ur Rehman for his help and guidance throughout this project. His valuable
help, constructive comments and suggestions contributed to the success of this project.
We are also thankful to our families whose unflinching faith in us has driven us forward.
Finally, we want to say thanks to our friends who were there to support us.
Abstract
The “Crime Management System” is a web based application for online complaining and
computerized management of crime records. Here in this website a person who wishes to file a
complaint or report an incident must register before log-in and once the admin authenticates
the user he or she can login into the website and file a complaint. This complaint will be
received by police and police can send a message regarding status of the complaint to the user
who filed the complaint. Police can use this software to manage different crimes and some of
the works which is done in police station manually. Police gets their login password from
admin directly. Some of the modules like unidentified dead bodies, missing persons, and most
wanted criminals can be viewed through the website without logging in. So this website helps
police to find out the problems in the society without them actually coming to the police
station. Key Words: FIR-First Information Report
TABLE OF CONTENTS
CHAPTER 1: PROJECT FEASIBILITY...............................................................................1
1.1. INTRODUCTION.................................................................................................................1
1.2. PROJECT/PRODUCT FEASIBILITY REPORT.........................................................................1
1.2.1. Technical Feasibility.................................................................................................1
1.2.2. Operational Feasibility.............................................................................................2
1.2.3. Economic Feasibility.................................................................................................2
1.2.4. Schedule Feasibility..................................................................................................2
1.2.5. Specification Feasibility............................................................................................2
1.2.6. Information Feasibility..............................................................................................2
1.2.7. Motivational Feasibility............................................................................................2
1.2.8. Legal & Ethical Feasibility.......................................................................................2
1.3. PROJECT/PRODUCT SCOPE.................................................................................................2
1.4. PROJECT/PRODUCT COSTING.............................................................................................3
1.4.1. Project Cost Estimation By Function Point Analysis................................................3
1.4.2. Project Cost Estimation by using COCOMO’81 (Constructive Cost Model)...........4
1.5. TASK DEPENDENCY TABLE...............................................................................................5
1.6. CPM - CRITICAL PATH METHOD.......................................................................................6
1.7. GANTT CHART...................................................................................................................7
1.8. INTRODUCTION OF TEAM MEMBERS AND SKILL-SET........................................................7
1.9. TASK AND MEMBER ASSIGNMENT TABLE.........................................................................8
1.10. TOOLS AND TECHNOLOGY WITH REASONING...................................................................8
1.11. VISION DOCUMENT........................................................................................................10
1.12. RISK LIST......................................................................................................................10
1.13. PRODUCT FEATURES/ PRODUCT DECOMPOSITION.........................................................10
CHAPTER 2: SOFTWARE REQUIREMENT SPECIFICATIONS (SRS)......................11
2.1 INTRODUCTION.................................................................................................................11
2.2 EXISTING SYSTEM............................................................................................................11
5.6.1. Purpose...................................................................................................................34
5.6.2. Outline.....................................................................................................................34
5.7. TEST LOG.........................................................................................................................35
5.7.1. Purpose..................................................................................................................35
5.7.2. Outline.....................................................................................................................35
5.8. TEST INCIDENT REPORTS..................................................................................................36
5.8.1. Purpose...................................................................................................................36
5.8.2. Outline.....................................................................................................................36
5.9. TEST SUMMARY REPORT.................................................................................................37
5.9.1. Purpose...................................................................................................................37
5.9.2. Outline.....................................................................................................................37
TABLE OF FIGURES
Figure 1:Network Diagram ................................................................................................. 6
Figure 2:Gantt Chart ........................................................................................................... 7
Figure 3: ERD - Online Doctor Finder ............................................................................. 13
Figure 4: Context Level DFD ........................................................................................... 14
Figure 5: Level-1 DFD...................................................................................................... 15
Figure 6: Level-2 DFD...................................................................................................... 15
Figure 7: State Transition Diagram................................................................................... 16
Figure 8: Architecture Diagram ........................................................................................ 17
Figure 9: Component Diagram ......................................................................................... 18
Figure 10: Homepage View .............................................................................................. 19
Figure 11: Admin Login Side ........................................................................................... 20
8. There will be categories of crime so that the people can report easily about the particular
crime.
9. 1.2Criminal record:
10. This website will contain the details related to the criminals in the particular case.
11. 1.3 Complaint registration:
12. The details of the complaints that are registered can also be stored through this website.
13. 1.4 Police database management:
14. The details of the police in the particular police station can be maintained through this
website
• Technical
• Operational
• Economic
• Schedule
• Specification
• Information
• Motivational
• Legal and Ethical
Basic COCOMO:
Cost Drivers (M) = 1.15 x 1.00 x 0.85 x 0.7 x 1.00 x 1.00 x 1.00 x 1.15 x 1.65 x 1.30 = 1.69
Type Effort
Organic PM= 2.4 (86.707)1.05 x 1.69 = 439.59
Semi-Detached PM= 3.0 (86.707)1.12 x 1.69 = 750.9
Required
Index Activity Description Duration week
Predecessor
Activity Duration ES EF LS LF TS FS
A 3 0 3 0 3 0 0
B 13 3 16 0 13 3 3
C 13 3 16 -1 12 4 4
D 2 3 5 10 12 7 7
E 2 3 5 0 2 3 3
F 2 16 18 14 16 2 2
G 1 3 4 2 3 1 1
H 4 16 20 12 16 4 4
I 1 20 21 20 21 0 0
J 3 21 24 21 24 0 0
• Server implementation
2019-GCUF-073063 Maida Ijaz Documentation
•
• Server implementation
18250819-036 Tayyaba Nazar Documentation
•
T1 21 None
T2 91 T1(M3)
T3 91 T1(M2)
T4 14 T3(M1)
T5 14 T2(M4)
T6 10 T2(M4)
T7 10 T3(M2)
T8 5 T3(M4)
T9 14 T1,T2,T3,T4(M1, M2,M3,M4)
T10 7 T2(M1)
T11 28 T3,T4(M4)
Task Engineer
T1 Tayyaba Nazar
T2 Sundus Imtiaz
T3 Ghashia Rashid
T4 Sundus Imtiaz
T5 Tayyaba Nazar, Ghashia Rashid
T6 Tayyaba Nazar
T7 Sundus Imtiaz
T8 Tayyaba Nazar, Ghashia Rashid, Sundus Imtiaz
T9 Tayyaba Nazar, Ghashia Rashid, Sundus Imtiaz
T10 Tayyaba Nazar
T11 Ghashia Rashid
1.10. Tools and Technology with reasoning
Software Requirements:
• Microsoft Windows 7/8/10 or Linux.
• XAMPP (MySQL, Apache, PHP).
• Notepad++ or any other text editor.
• Chrome or any other browser. Hardware Requirements:
• Intel Processor 2.0 GHz or above.
• 2 GB RAM or more.
• 160 GB or more Hard Disk Drive or above.
There are different tools and technologies that are used to make a complete website. We will
use the following technologies to make our website.
MYSQL
MySQL is a database system used on the web to store data in the database. MYSQL is
widely used with PHP, also both are free and open source. The combination of PHP and
MySQL gives lot of options to create just about any kind of website from small website to
big project. Also, there are some core languages that are most important for website
development. It is the building block of any website.
HTML 5.0
Most widely used language that is used to make the structure of the website.
CSS 3.0
It describes how the HTML elements are to be displayed on the screen.
JavaScript
The behavior of our website will be controlled by the JavaScript.
Bootstrap
It used to develop the responsive and mobile-first website.
JQuery
Its JavaScript libraries to make it much easier to use JavaScript on website
1. Executive Support:
Wavering, inconsistent or weak executive commitment is often a project's biggest
risk.
2. Scope:
The quality of your estimates, dependencies, and scope management. If an estimate is
just a guess, that is a risk.
3. Stakeholders:
Stakeholders with a negative attitude towards a project may intentionally throw up
roadblocks every step of the way.
5. Design:
Low quality design is a risk. You might want to highlight the design of complex or
experimental components as separate risks.
6. Integration:
Whatever you're delivering needs to integrate with the processes, systems,
organizations, culture and knowledge of the environment. Integration risks are
common.
7. Requirements
Garbage in, garbage out. If requirements aren't feasible or are detached from business
realities, your project may fail.
2.1 Introduction
A software requirements specification (SRS) is a description of a software system to be
developed. The software requirements specification lays out functional and non-functional
requirements, and it may include a set of use-cases that describe user interactions that the
software must provide to the user for perfect interaction. Software requirements specification
Perform Refinement:
Based on our Business Logic, external entities are:
• Admin
• Appointment Status (Accepted, Rejected)
• Clinics
• Doctor/Patient
• Blog
• User/Visitor’s Activity
3.1. Introduction:
Analysis & Design Model for structured approach must contain following artifacts:
Identify Attributes
User: [user-id, name, address, login-id, pw]
Doctor: [doc-id, name, specialization]
Appointment: [app-id, pat-id, doc-id, date, time, status]
Level 1 DFD:
Level 2 DFD:
Two major structural patterns or two major alternatives are Transform (Flow) Analysis and
Transaction (Flow) Analysis.
• Review the fundamental system model i.e. DFD and Software Requirement
Specification document.
• Review and refine data flow diagrams for the software
• Determine whether DFD exhibits transform or transaction characteristics
• Flow chart
• Box Diagram
• Decision Table
• Pseudocode
1. Site maps
2. Storyboards
3. Navigational maps
4. Traceability Matrix
4.3.4 Blog:
Software testing is a process of running with intent of finding errors in software. Software
testing assures the quality of software and represents final review of other phases of software
like specification, design, code generation etc. Testing is the process of executing the
program with the intention of finding out errors. During testing, the program to be tested is
executed with a set of test cases and the output of the programs for the test case is evaluated
to determine if the program is performing as it is expected to be. The success of testing in
revealing errors in program depends critically on the test cases. In software system the use of
testing is not limited to the testing phase. The results of testing are used later on during
maintenance also. Following are standard artifacts, which must be included in this
deliverable:
1. Test Plan
2. Test Design Specification
3. Test Case Specification
4. Test Procedure Specification
5. Test Item Transmittal Report
6. Test Log
7. Test Incident Report
8. Test Summary Report
5.2.1. Purpose
The purpose of this test plan is including performance testing to ensure that the website loads
properly and quickly, there are no broken links and that the website is accessible and to
ensure that the website loads properly across web browsers such as Safari, Google Chrome,
5.2.2. Outline
A test plan shall have the following structure:
5.2.2.2. Introduction
The goal of this document is to develop a test plan for the status of all test items. All the test
items are in working state and functioning properly. The actual result is same as expected in
test plan. The required system is achieved and there are not any pending items. This
document defines all the procedures and activities required for testing of the functionalities of
this website which are specified in Vision document. The main objectives of this test plan are
to define the activities to perform testing, define the test deliverables documents and to
identify the various risks and contingencies involved in testing. E-commerce supports the
following objectives:
User:
• Login successfully
• Registered Successfully
• Search Doctors
• Apply search filters
• Change Password
• View appointment
• Take appointment
• View prescription
• View profile
• Update profile
Doctor:
• Registered Successfully
• Login Successfully
• View reserved appointments
• Add prescription
• View prescription
• View profile
• Update profile
Admin:
• View & change appointment status
• View, add & delete doctors
• View & add patient
• View & add clinic
• Update Blog
5.2.2.6. Approach
Test will be conducted as per documented test cases. Each member will test each feature and
mark each case as Pass/Fail. Each test person will observe the actual results and all relevant
5.2.2.12. Responsibilities
Each member is responsible for designing, preparing, executing and documentation of the
system properly. The test manager is responsible for testing, managing and resolving the
issues of the whole system.
5.2.2.16 Approvals
The team member who manages the testing process and the team leader who manages the
whole product must approve this plan.
Name: Mr. Najeeb Ur Rehman
Title: Project Supervisor
Signature:
Date: 23-08-2020
5.3.1. Purpose
To prescribe the scope, approach, resources, and schedule of the testing activities. To identify
the items being tested, the features to be tested, the testing tasks to be performed, the
personnel responsible for each task, and the risks associated with this plan.
5.3.2. Outline
A test plan shall have the following structure:
The sections shall be ordered in the specified sequence. Additional sections may be included
immediately prior to Approvals. If some or all of the content of a section is in another
document, then a reference to that material may be listed in place of the corresponding
content.
The referenced material must be attached to the test plan or available to users of the plan.
Details on the content of each section are contained in the following sub-clauses.
5.3.2.2. Introduction
The test plan is for testing the whole system including modules and their features. The testing
of modules of the application will be conducted manually within 3-4 days.
Admin:
• View & change appointment status
• View & add doctors
• View & add patient
• View & add clinic
• Update Blogs
5.3.2.5. Features not to be tested • User Query in Admin panel: it will not be tested because
admin will respond to user’s query manually, so this feature doesn’t need to be tested
• Network Security: Testing network security is out of our scope
5.3.2.6. Approach
Test will be conducted as per documented test cases. Each member will test each feature and
mark each case as Pass/Fail. Each test person will observe the actual results and all relevant
details. As, when all the tests will be completed then the test manager will analyze the test
report.
5.3.2.14. Schedule
The testing will take 3-4 days. Some components and their features will be testing in a day.
5.3.2.16. Approvals
The team member who manages the testing process and the team leader who manages the
whole product must approve this plan.
Name: Mr. Najeeb Ur Rehman
Title: Project Supervisor
Signature:
Date: 23-08-2020
5.4.1. Purpose
Test design specification ensures all Functional and Design Requirements are implemented as
specified in the documentation. Test Plan is also made to provide a procedure for testing, to
identify the documentation process for testing and to identify the test methods for testing.
5.4.2. Outline
A test case specification shall have the following structure:
a. Test case specification identifier
b. Test items
c. Input specifications
d. Output specifications
e. Environmental needs
f. Special procedural requirements
g. Inter case dependencies
5.4.2.1. Test case specification identifier
Test plan identifier is Doctor Finder Web Portal TC_ID_1.0.
5.5.1. Purpose
The purpose of Test Procedure Specification is to specify the steps for executing a set of test
cases or, more generally, the steps used to analyze a software item in order to evaluate a set
of features.
5.5.2 Outline
A test procedure specification shall have the following structure:
a. Test procedure specification identifier
b. Purpose
c. Special requirements
• Manage Doctor
• Manage patient
• Manage appointment
• see feedback
Test Identification TC-003
Status Passed
5.6.1. Purpose
To identify the test items being transmitted for testing. It includes the person responsible for
each item, its physical location, and its status. Any variations from the current item
requirements and designs are noted in this report.
5.6.2. Outline
A test item transmittal report shall have the following structure:
5.6.2.2. Transmitted items The whole system of ‘Doctor Finder Web Portal’ is transmitted
to the targeted person for use. All team members are responsible for its transmittal and they
ensure this.
5.6.2.3. Location
Identify the location of the transmitted items. Identify the media that contain the items being
transmitted. When appropriate, indicate how specific media are labeled or identified.
5.6.2.4. Status
The status of all test items being transmitted is passed. All the test items are in working state
and functioning properly. The actual result is same as expected in test plan. The required
system is achieved and there are not any pending items.
5.6.2.5. Approvals
The team member who manages the testing process and the team leader who manages the
whole product must approve this plan.
5.7.2. Outline
A test log shall have the following structure:
a. Test log identifier;
b. Description;
c. Activity and event entries.
5.7.2.2. Description
All the items are tested for the ‘Doctor Finder Web Portal’. The testing of this web portal is
conducted manually. While testing the website, a peculiar event was occurred but later on it
has been fixed and now it started working properly.
Every member (Ghashia Rashid, Sundus Imtiaz & Tayyaba Nazar) of the team tested each
function. The testing was done exactly in 3-4 days and then tested the website by them.
Ghashia Rashid tested the Doctor Panel TP-001 of website on 22-08- 2020. Sundus Imtiaz
tested the Patient Panel TP-002 of website on 22-08-2020 And Tayyaba Nazar tested the
Admin Panel TP-003 of the website.
working smoothly
5.8.1. Purpose
The purpose of the Test Incident Report is to document any event that occurs during the
testing process that requires investigation.
5.8.2. Outline
A test incident report shall have the following structure:
5.8.2.2. Summary
When testing the admin panel, the updating feature of clinics was problematic
Test Item: Admin Panel
ID: TC-003
Test Procedure Specification: User have Laptop & Internet connectivity.
Incident description
Inputs Open admin panel
Expected results Smooth updating of clinics
Actual Results Updating problem
5.9.1. Purpose
To summarize the results of the designated testing activities and to provide evaluations based
on these results.
5.9.2. Outline
A test summary report shall have the following structure:
a. Test summary report identifier
b. Summary
c. Variances
d. Comprehensive assessment
e. Summary of results
f. Evaluation
g. Summary of activities
h. Approvals
5.9.2.2. Summary
All components were tested, there were some bugs as expected but later they were fixed.
Now, each component is working properly.
5.9.2.3. Variances
Some of the errors come out from testing of web portal from underlying environment. We
have issues regarding the updates in clinics table.
5.9.2.8. Approvals
The team member who manages the testing process and the team leader who manages the
whole product must approve this plan.
Name: Mr. Najeeb Ur Rehman
Title: Project Supervisor
Signature:
Date: 23-08-2020