You are on page 1of 50

A

PROJECT REPORT
On

Submitted in the partial fulfillment of the Requirement for the Award of the
degree of

Submitted by
Rakesh kumar
[1247910031]

Santosh Pal
[1247910035]

Anuj
[1247910008]

Under the Supervision of

Mr. Praveen Verma
May, 2016
Department of Computer Science and Engineering

Rajshree Institute of Management & Technology, Bareilly

CERTIFICATE

This is to certify that the following students of B.Tech final year in Computer Science &
Engineering of Batch 2012-16 have carried out the project titled “CRIME REPORTING
SYSTEM”.

Rakesh kumar

Santosh Pal

Anuj

[1247910031]

[1247910035]

[1247910008]

This project has been completed under the ordinance governing the course leading the
bachelor degree in computer science at Rajshree Institute of Management & Technology,
Bareilly affiliated to A.P.J. Abdul Kalam Technical University (Lucknow).

Approved for submission

Mr. Praveen Verma

Mrs. Jyoti Agarwal

(Project Guide)

(H.O.D. CS/IT)

ACKNOWLEDGEMENT

To comprehend the knowledge gained and to utilize its gist in a constructive manner to uplift
mankind is in all the duty of a concerned pupil. So extending this project report, in itself is a
matter of gratification, as it is driving us along the same path as enlightened by him.

On successful completion of our project, we owe this moment of satisfaction with a deep
gratitude towards our Parents, Project Guide Mr. Praveen Verma, Project Co-Ordinator and
HOD of CS/IT Department Mrs. Jyoti Agarwal. We are also thankful to Dr. Saket Agarwal,
Dean Academics, R.I.M.T Bareilly, whose zeal for the subject and continued guidance inspired
us to succeed in preparing the project. His invaluable guidance and encouragement in our project
work was an important aspect of our success.

We find ourselves delighted working on this project and would like to express our sincere
gratitude to Department of Computer Science / Information Technology, R.I.M.T who gave us
the opportunity to undertake this project work. We consider it a pleasant duty to express our deep
sense of appreciation,

gratitude and indebtedness

to

thank the Entire

Computer

Science/Information Technology Department for their valuable help and guidance in making this
project successful.

The acknowledgement would be incomplete without rendering thanks to all those colleagues and
friends who have joined hands in the successful completion of this project.

Rakesh Kumar (1247910031)
Santosh Pal (1247910035)
Anuj (1247910008)

Preface

It gives us great pleasure in designing our project for Crime Reporting System. Crime Reporting
System is unique software valuable for the paper less examination. It is made with several goals
in mind. It is design to provide all essential information related to online reporting of crimes. It
presents the modules which are Login Form, Register FIR, Services, Contact us.
We hope this project will fulfill requirements of the students. Mr. Praveen Verma, the guide of
project deserves a special appreciation for his valuable efforts in bringing out this project in such
an excellence form. We also thanks our parents for their help and suggestion to complete this
project.
In spite of all words efforts some errors may not be there. We shall be grateful to the use of the
same are brought to our notice. Suggestion and comments for further improvements of the
project will be acknowledged.

May, 2016

Rakesh Kumar (1247910031)
Santosh Pal (1247910035)
Anuj (1247910008)

Contents

Sr. No.

Title

1

Abstract

2

Existing System

3

Need for new System

4

Functional Specification

5

Hardware and Software Requirement

6

System Flow Chart

7

Timeline Chart

8

E-R Diagram

9

UML Diagrams
9.1 Use Case Diagram
9.2 Activity Diagram
9.3 Class Diagram
9.4 Sequence Diagram

10

Database Tables

11

Testing

12

Post Implementation Review

13

Future Enhancement

14

Conclusion

15

Bibliography

Using username and password. view the nearby police stations.both human and natural. so there is no need to go to police station for the reporting of crime. User can log in and register the FIR with his specific id. the user can login in into his/her profile. view the details of the police officers. Any new user can register himself/herself on this website and instantly get the user id and password. . It saves time as it allows number of person to give report at a single time and takes immediate action on that report. read news about the crimes happening in the country. read the guidelines to register FIR. In this web application. user can view the missing persons. and can see the results as well. It also thereby helps in saving resources.Abstract This crime reporting interface aims at providing facility to register the online report about the crime. It is automatically generated by the server.

record file is used. require more man power. • Reduce the man power. • When other police station require any criminal information at that time they need to call that police station. • Visitor can easily get the information about the crime and criminal. . • There are many drawbacks like time consuming.EXISTING SYSTEM • All criminal records are stored in a file. • Citizens can’t get the information and the current status of the criminals of all cities. •Member can view the current status of the criminal. NEED FOR NEW SYSTEM •Citizens not need to go police station to see the criminal’s information. • To add any new record. They can directly see information on website. and also reduce the time.

FUNCTIONAL SPECIFICATION USER SPECIFICATION: • Admin:  Admin will be protected by username and password. • Login Module:  Using the username and password admin and all Member can login in The system and manage the application. .  Ordinary user of website will not be permitted to enter into the application. • Member Module:  Each of member view the criminal records and status. • Visitor:  Visitor can view news. • Member:  Member can add information about crime.  Admin can manage all records related to application that manage the crime detail. MODULE SPECIFICATION: •Registration:  New user can register in the system.  Member can add details of criminal. view missing citizens and view guideline about registration of FIR.

On all platforms except Windows. Java Script 5. php BB. Flickr and YouTube. MySQL is also used in many high-profile. MySQL is a popular choice of database for use in web applications. other applications.Technologies used: This project is a web application that is developed in PHP having MySql as back end. CSS Database (MySql): A database management system (DBMS) is a computer software application that interacts with the user. . Coding (PHP ) 4. MODx. Users may use the included command line tools or install MySQL. ODBC (Open Database Connectivity) is a standard programming language middleware API for accessing database management systems (DBMS). Apache. and administration of databases. Perl/PHP/Python". LAMP is an acronym for "Linux. Input Design (HTML) 3. Drupal and other software. In computing. and the database itself to capture and analyze data. update. creation. Applications that use the MySQL database include: TYPO3. Free-software opensource projects that require a full-featured database management system often use MySQL. querying. MySQL ships with no GUI tools to administer MySQL databases or manage data contained within the databases. Joomla. MyBB. WordPress. A generalpurpose DBMS is designed to allow the definition. Database Design (MySql) 2. 1. MySQL. largescale websites including Google (though not for the searches) Twitter. and is a central component of the widely used LAMP open-source web application software stack (and other "AMP" stacks).

HTML markup can also refer the browser to Cascading Style Sheets (CSS) to define the look and layout of text and other material. HTML documents are described by HTML tags. is the standard markup language used to create web pages. . HTML describes the structure of a website semantically and. It provides a means to create structured documents by denoting structural semantics for text such as headings. written using angle brackets. before the advent of Cascading Style Sheets (CSS). paragraphs. Tags such as <img> and <input> introduce content into the page directly. A markup language is a set of markup tags. lists. HTML is a cornerstone technology used to create web pages. Along with CSS. HTML can embed scripts written in languages such as JavaScript which affect the behavior of HTML web pages. HTML elements are delineated by tags. making it a markup language. The World Wide Web Consortium (W3C). as well as to create user interfaces for mobile and web applications. Others such as <p> surround and provide information about document text and may include other tags as sub-elements. quotes and other items. rather than a programming language. Web browsers can read HTML files and render them into visible or audible web pages. has encouraged the use of CSS over explicit presentational HTML since 1997. commonly abbreviated as HTML. HTML is a markup language for describing web documents (web pages). HTML elements form the building blocks of HTML pages. maintainer of both the HTML and the CSS standards. HTML allows images and other objects to be embedded and it can be used to create interactive forms.Input Design (HTML): HyperText Markup Language. but use them to interpret the content of the page. Each HTML tag describes different document content. links. HTML stands for Hyper Text Markup Language. and JavaScript. Browsers do not display the HTML tags. included cues for the presentation or appearance of the document (web page).

is free software released under the PHP License. the PHP reference implementation is now produced by The PHP Group. Originally created by Rasmus Lerdorf in 1994. but it now stands for the recursive backronym PHP: Hypertext Preprocessor. . web content management system and web frameworks. Since 2014 work has gone on to create a formal PHP specification. PHP is a server scripting language.Coding (PHP): In this project we have used PHP as a coding language as it is easy to implement and open source language. PHP is a serverside scripting language designed for web development but also used as a general-purpose programming language. and a powerful tool for making dynamic and interactive Web pages. and efficient alternative to competitors such as Microsoft's ASP. The PHP language evolved without a written formal specification or standard until 2014. including images. or it can be used in combination with various web template systems. powered by the Zend Engine. PHP has been widely ported and can be deployed on most web servers on almost every operating system and platform. PHP code is usually processed by a PHP interpreter implemented as a module in the web server or as a Common Gateway Interface (CGI) executable. The standard PHP interpreter. PHP is a widely-used. PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. which may be any type of data. leaving the canonical PHP interpreter as a de facto standard. PHP code may be embedded into HTML code. The web server combines the results of the interpreted and executed PHP code. free. free of charge. PHP originally stood for Personal Home Page. with the generated web page. Php is the most widely used language for web development. PHP code may also be executed with a command-line interface (CLI) and can be used to implement standalone graphical applications.

and server-side network programming with runtime environments such as Node. Despite some naming. syntactic. dates and regular expressions. relying for these upon the host environment in which it is embedded. supporting object-oriented. It is also used in game development. The syntax of JavaScript is actually derived from C.Java Script: JavaScript is a high-level. JavaScript is prototype-based with first-class functions.js. storage. such as PDF documents.  Programming makes computers do what you want them to do. making it a multi-paradigm language. dynamic. It has been standardized in the ECMA Script language specification. the creation of desktop and mobile applications. but more recent browsers perform just-in-time compilation. it is one of the three core technologies of World Wide Web content production. JavaScript and Java are otherwise unrelated and have very different semantics. while the semantics and design are influenced by the Self and Scheme programming languages. and interpreted programming language. sitespecific browsers. It has an API for working with text. arrays. and desktop widgets. JavaScript is also used in environments that are not Web-based. On the client side. such as networking. imperative. or graphics facilities. JavaScript has been traditionally implemented as an interpreted language. the majority of websites employ it and it is supported by all modern Web browsers without plug-ins. un typed.  JavaScript is easy to learn . Basic properties of JavaScript : JavaScript is the programming language of HTML and the Web. Newer and faster JavaScript virtual machines (VMs) and platforms built upon them have also increased the popularity of JavaScript for server-side Web applications. Alongside HTML and CSS. and functional programming styles. but does not include any I/O. and standard library similarities.

External CSS All three types of CSS could be used in describing the presentation of a document written in markup language depending on the way user wants to use it. which was started in 1998. CSS level 3.CSS: Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language. fonts.Inline CSS 2. resulting in the creation of CSS level 2 on November 4. separated by a colon. These pages contain information on how to learn and use CSS and on available software.g. Cascading Style Sheets (CSS) is a simple mechanism for adding style (e. . A CSS rule set consists of a selector and a declaration block: The selector points to the HTML element you want to style. The CSS(Cascading Style Sheet) can be divided into 3 three parts:1.Internal CSS 3. It was published as a W3C Recommendation on May 12. is still under development as of 2014. 1997. colors.. spacing) to Web documents. The declaration block contains one or more declarations separated by semicolons. Each declaration includes a property name and a value. 1998. They also contain news from the CSS working group. The CSS Working Group began tackling issues that had not been addressed with CSS level 1.

RAM : 256 MB Server Side: Processor : Pentium IV 2.  User can login only with his assigned username and password i.e. no other language option is available.0 Processor : Pentium IV 2.e. . Web Browser. Windows10/8/7/XP/2000/Vista Web Server : PHP.0 and above.  Limited to HTTP/HTTPS.0 and above. Windows 10/8/7/XP/2000/Vista Data Base Server : MySql Constraints  User interface is only in English i. RAM : 1 GB Disk space : 4GB Software Interface Client Side : PHP.HARDWARE AND SOFTWARE REQUIREMENT Hardware Interface Client Side: Internet Explorer : 6. no guest facility is available.

the two criteria to judge feasibility are cost required and value to be attained. the concern is whether the proposal is both technically and legally feasible (assuming moderate cost) . feasibility studies precede technical development and project implementation. the resources required to carry through. the following should be taken to consideration:  A brief description of the business to assess more possible factors which could affect the study  The part of the business being examined  The human and economic factor  The possible solutions to the problem At this level. Technical feasibility This assessment is based on an outline design of system requirements. marketing research and policies. opportunities and threats present in the environment. details of the operations and management. a description of the product or service. Generally. to determine whether the company has the technical expertise to handle completion of the project. In its simplest terms. A well-designed feasibility study should provide a historical background of the business or project.Feasibility Study A feasibility study aims to objectively and rationally uncover the strengths and weaknesses of an existing business or proposed venture. accounting statements. and ultimately the prospects for success. legal requirements and tax obligations. financial data. When writing a feasibility report.

a data processing system must comply with the local data protection regulations and if the proposed venture is acceptable in accordance to the laws of the land. delivery date. This assessment typically involves a cost/ benefits analysis. The operational feasibility assessment focuses on the degree to which the proposed development projects fits in with the existing business environment and objectives with regard to development schedule. Operational feasibility Operational feasibility is a measure of how well a proposed system solves the problems. fast record finding. corporate culture. It includes quantification and identification of all the benefits expected.g. provide ease of work. which will remove all the above-mentioned Problems that. adding. modifying. flexibility. the user is facing. . What are the user’s demonstrable needs? User needs a web-based system. Legal feasibility Determines whether the proposed system conflicts with legal requirements. and existing business processes. removing and generating the reports. e.Economic feasibility The purpose of the economic feasibility assessment is to determine the positive economic benefits to the organization that the proposed system will provide. and takes advantage of the opportunities identified during scope definition and how it satisfies the requirements identified in the requirements analysis phase of system development. which will reduce the bulk of paperwork. The user wants a web-based system.

which are described as under: How feasible is the system proposed? This was analyzed by comparing the following factors with both the existing system and proposed system. In feasibility study phase we had undergone through various steps.How can the problem be redefined? We proposed our perception of the system. Labor In the existing system the number of staff required for completing the work is more while the new system will require quite less number of staff. We can just sit down and lodge FIR online. Effort Compared to the existing system the proposed system will provide a better working environment in which there will be ease of work and the effort required will be comparatively less than the existing system. . Record finding and updating will take less time than the existing system. We were further updating in the layout in the basis of redefined the problems. in accordance with the problems of existing system by making a full layout of the system on paper. We tallied the problems and needs by existing system and requirements. Time Also the time required generating a report or for doing any other work will be comparatively very less than in the existing system. The cost of this system is very low as it saves human efforts. Cost The cost required in the proposed system is comparatively less to the existing system. As we don’t need to go anywhere for reporting about any crime happening. so the cost is negligible.

3. No user would be able to access any part of the application without logging on to the system.System Interface Application would be a self-contained system.Specification Report 1.Hardware Interface For Server  Intel Pentium III or above with  512 MB RAM  4 GB hard disk  Network Interface For Client  256 MB RAM  Network Interface . The interface would be viewed best using 1024 x 768 and 800 x 600 pixels resolution setting. It will not access data of any other application nor will other application have access to its data. The software would be fully compatible with Microsoft Internet Explorer for version 6 and above.User Interface Application will be accessed through a Browser Interface. 2.

MySql Server above 5. last backup should be restored.Communication Interface  The system should be accessed over LAN or WAN. Bottlenecks Identified in Existing System The first problem is that there are loads of hard copied documents being generated.Software Interface For Server For Client 1. Windows 95/98/2000/NT 2.  Database backup should be taken every day. For Clients to access application server the network should be running TCP/IP protocol. Administrator: Access to master forms for the purpose of data entry and generation of reports. Operator: Access to his corresponding records and register a FIR only.  Interactive operations using options provided in the application. Keeping the information in the form of hard-copied documents leads to the following problems: . This brings us to the age-old discussion of keeping information in the form databases versus keeping the same on sheets of paper.  The end user of the software can be divided into two categories. Microsoft Internet Explorer 6 & 3.4. Example Data Entry generation and viewing of reports. In case of data base crash. Windows 2000 1. XAMP Server 2.

. Maintenance of the system is also very difficult and takes lot of time. Result . monotonous. Aims and Objective The main purpose behind the proposed system is to provide a comprehensive computerized system. time consuming. collate and analyze the data from these wards and evaluate the impact of the program. less flexible and provides a very hectic working schedule. Filtering is not easy – It becomes hard to filter relevant documents for the irrelevant ones if the count of the same crosses a certain manageable number.Lack of space – It becomes a problem in itself to find space to keep the sheets of paper being generated as a result of the ongoing discussion. The chance of loss of records is high and also record searching is difficult.Processing is slow due to paper work and requirement of staff. Filing poses a problem – Filing the documents categorically is a time consuming and tedious exercise. The documents being generated are too important to be ill-treated. The Existing system is paper based. which can capture. Reviewing becomes time-consuming – All the process done manually at the centers and all the records are maintained on the papers. So the maintenance of the record is very difficult in the departments and as well as it’s very difficult for the workers to check the record.

which provides further details. Security: Application will allow only valid users to access the system.Constraints. Some forms consists Hyper Links.  Client PC should be Windows 9X/NT/WorkStation or Windows 2000 with latest service pack.  Server OS should be Windows NT/2000/XP. Access to any application resource will depend upon user’s designation. Any data entered by him/her will be valid. Assumptions In general it has been assumed that the user has complete knowledge of the system that means user is not a naïve user. so that reports can be produced. The user is facilitated to view and make entries in the forms. . Validations are provided in each field to avoid inconsistent or invalid entry in the databases. Dependencies Constraints As this system is based on client server technology. so for normal operation minimum of 64 MB RAM will be required on all clients. Assumptions. Security is based upon the individual user ID and Password. Dependencies It depends that the one should follow the international standards for the generating the User ID & should fill the related information in the proper format. To make the software as user friendly as possible but at the same time keeping in minds user requirements. There are two types of users namely Administrator and Student. Reports screen contains text boxes and drop down lists. Software System Attributes Usability: The links are provided for each form.

 Data transfer should be accurate and within a reasonable amount of time keeping in mind the network traffic.  System should have the ability to generate transactional Logs to avoid any accidental loss of data. Availability: System will be available around the clock except for the time required for the backup of data. It would be portable to other operating system provided Framework is available for the OS. Portability: The application is developed in PHP. .  A user-friendly interface with proper menus. Acceptance Criteria The software should meet the functional requirement and perform the functionality effectively and efficiently.  Log file should also be generated.Maintainability: The installation and operation manual of examination management system will be provided to the user. As the database is made in MySql.  The system should not allow entry of duplicate key values. porting the database to another database server would not require any development effort.

To illustrate this. .SYSTEM FLOW CHART System flowcharts are a way of displaying how data flows in a system and how decisions are made to control events. They are connected together to show what happens to data and where it goes. symbols are used.

.

. Each event can be a single point in time or a date range.TIMELINE CHART Timeline charts are User Items that create a chart where a series of events are arranged on a bar graph.

E-R DIAGRAM An entity-relationship diagram (ERD) is a data modeling technique that graphically illustrates an information system's entities and the relationships between those entities. . An ERD is a conceptual and representational model of data used to represent the entity framework infrastructure.

UML DIAGRAMS UML stands for Unified Modeling Language which is used in object oriented software engineering.USE CASE DIAGRAM A use case diagram is a graphic depiction of the interactions among the elements of a system. clarify. 1. Although typically used in software engineering it is a rich language that can be used to model an application structures. behavior and even business processes. and organize system requirements. Ause case is a methodology used in system analysis to identify. Admin Use case: .

Member Use case: .

Visitor Use case: .

In the Unified Modeling Language.2. activity diagrams are intended to model both computational and organizational processes (i. Admin Activity: . iteration and concurrency.ACTIVITY DIAGRAM Activity diagrams are graphical representations of workflows of stepwise activities and actions with support for choice.e. workflows).

Member Activity: .

3. . which is a specific entity in a program or the unit of code representing that entity.CLASS DIAGRAM A class diagram is an illustration of the relationships and source code dependencies among classes in the Unified Modeling Language (UML). In this context. a class defines the methods and variables in an object.

4. A sequence diagram shows object interactions arranged in time sequence. It is a construct of a Message Sequence Chart.SEQUENCE DIAGRAM A Sequence diagram is an interaction diagram that shows how processes operate with one another and in what order. Admin side: .

Member side: .

mstr_area 3.mstr_city .Database Tables 1.fir_detail 2.

mstr_designation 6.mstr_login .4.mstr_crimetype 5.

mstr_profile .mstr_officer 8.mstr_policestation 9.7.

contacts.Screen Shots of the Project 1. There are many other operation which are useful for the user. . etc. Index: This is the Home Page of the Website. Here user can login and he can also see the news. The Crime Solution is the name of the website as defined by us.

2. Registration: Here the user can register on the website and can create a Login id and password. . Which is required at the time of Log-In into the website.

Viewmissing_citizen: Here the list of missing person can be displayed. .3.

Econtact: Here is the list of important contact numbers.4. .

5.Home: This is the home page after the user login into his account. .

TESTING .

.

.

.

.

They can directly see information on site.POST IMPLEMENTATION REVIEW  Citizens not need to go police station to see the criminal’s information. In future system will allow user to register complains online. Editors can send mail to other stations editor. crime type and year.  User can search crime according to city. .  The Police officer can easily search the records of any police station through the system. FUTURE ENHANCEMENT    In future system will provide mail facility to editors.  User can view graph of particular crime and city.  Police officers can easily get the information about the crime and criminal. In future system will provide facility to send message.

.Conclusion This crime reporting interface aims at providing facility to register the online report on the crime fastly. It also thereby helps in saving resources. It is automatically generated by the server. so there is no need to go to police station for the reporting of crime. and can see the results as well.both human and natural. PHP. This application uses HTML. It saves time as it allows number of person to give report at a single time and takes immediate action on that report. User can log in and register the FIR with his specific id. Javascript as front-end and My-SQL as backend on the Apache Server Framework and supports HTTP protocol with English Language.

in  www.programmingportal.  www.phppoint.w3schools.com  www.net .  PHP Complete Reference book.com  www.com  www.com  www.wikipedia.stackchanger.com  www.9lession.com  www.php.com  www.Bibliography  Core PHP for beginner book.javatpoint.google.