PROJECT OVERVIEW The purpose of the online movie ticket booking system is to automate the manual system of buying tickets from physical counters. The required software and hardware specifications are readily available and very efficient to work with. The objectives are – Manipulate the data about movies, shows, screenings and the cities and theatres where they are being released and screened. Manage data of users and buyers who bought tickets to facilitate bookings in the future. The online movie booking system has two external entities interacting with the system – user and administrator. The system collects details about the users who are interacting with the system to make the process of booking a movie ticket faster. The administrator can keep track of the screenings of movies taking place and also the movies themselves. The user can look for tickets for a movie and purchase them, after logging in.
SOFTWARE & HARDWARE REQUIREMENTS Hardware Specification: RAM – 4GB Hard Disk – 1TB Processor – Intel core i5 Software Specification: Operating System – Windows 10 Code editor – Atom Languages used HTML,CSS(front-end),php,MySQL(backend) Server – Apache, MySQL Server Software used – xampp, Atom Hardware Requirements : RAM – 1GB Hard Disk – 256MB Software Requirements: Operating System - Any Browser - Any
PROCEDURAL DESIGN CONTEXT DIAGRAM
PROCEDURAL DESIGN (CONTD.) 1-LEVEL DATA FLOW DIAGRAM
DATABASE DESIGN TABLE DESCRIPTION USER TABLE THEATRE TABLE SCREENING TABLE
DATABASE DESIGN(CONTD.) TABLE DESCRIPTION RESERVED TABLE MOVIE TABLE
INTERFACE DESIGN Add location and add theatre pages
INTERFACE DESIGN Add auditorium and add screening pages
COST BENEFIT ANALYSIS FUNCTION POINT ANALYSIS According to the formula, FP = UFP*TCF From the Data Flow Diagram, no. of inputs=7 no. of outputs=6 no. of inquiries=2 no. of files=2 no. of interfaces=1 UFP=7*4 + 6*5 + 2*4 + 2*10 + 1*10 = 96 TCF= (0.65 + 0.01*42) = 1.07 FP = 96*1.07 = 102.72
COST BENEFIT ANALYSIS(CONTD.) COCOMO (CONSTRUCTIVE COST ESTIMATION MODEL) The multiplier values based on the factors are below:-
The EAF value for the project based on these factors is, 1.05. The project size is 2.4KLOC which is < 50KLOC, hence project falls under organic type. So, Effort, E = 3.2 × (2.4) 1.05 × 1.05 PM = 8.42 PM. Development time, D = 2.5 × (8.42) 0.38 Months = 5.6 Months. Average staff size = E/D persons = 1.5 persons.
TESTING TESTING USING TEST-CASES Test Template – Module Name: Login Page Test Date: 05-05-2019 Case-Study :- Sr. no Input Parameters Datatype Expected output Actual output Remarks 1. Username Varchar user name user name Passed 2. Password Varchar password password Passed
VALIDATION USING CONTROL FLOW GRAPH The code after numbering the executable line: <?php 1. if(isset($_POST['login-submit'])){ 2. require 'config.php'; 3. $mailuid = $_POST['mailuid']; 4. $pass = $_POST['pw']; 5. if(empty($mailuid) || empty($pass)){ 6. header('location:login.php?error=emptyfields'); exit(); } 7. else{ 8. $sql = "SELECT * FROM users WHERE uname=?"; 9. $stmt = mysqli_stmt_init($conn); 10. if(!mysqli_stmt_prepare($stmt,$sql)){ 11. header('location:login.php?error=sqlerror'); exit(); }
The cyclomatic complexity, V(G) = E – N + 2 = 35 – 30 + 2 = 7. V(G) = P + 1 = 6 + 1 = 7. V(G) = R + 1 = 6 + 1 = 7.
FUTURE SCOPE This project we have carried out was a learning curve for us in development of such systems. In the future we shall add more features and functionalities maintaining software engineering principles Add searching function to allow users to search movies, or theatres, or locations Allow users to rate movies after watching them in the theatre Allow users to add comments and subsequent replies to comments to facilitate word of mouth Different dynamic interfaces for different mobile devices of different sizes
CONCLUSION This project has been developed successfully and the performance of the system has been found satisfactory. Use of this interface helps customer in having immediate information about running movies and reserve their seat without wasting their precious time. User friendly Interface also for the admin to add and delete movie information. Thus, we may conclude that:- This project is basically made for providing the customer anytime and anywhere service for booking cinema tickets and providing information about the movies and their schedule online. Admins can use this project to insert and delete data such as movie description, movie schedule which will update the related webpage and will be accessible by the customers. This system is basically aimed to provide complete information of the movie and schedule to the customer, according to which he can book the tickets .