Smart Coach Assistant Department of Software Engineering Discovering Knowledge FINAL YEAR PROJECT REPORT 2021 Smart Coach Assistant Group Members Student Name Ali Hamza Farhan Najam Zubair Ahmed Enrolment# 02-131182-074 02-131182-027 02-131182-010 Supervised by Engr. Bushra Fazal Department of Software Engineering BAHRIA UNIVERSITY KARACHI CAMPUS Page 1 of 55 Smart Coach Assistant Department of Software Engineering Intellectual Property & Submission Policy This is to declare that, 1) The project under the supervision of Engr. Bushra Fazal having title _Smart Coach Assistant_ carried out in partial fulfillment of the requirements of Bachelor of Engineering in Software Engineering degree program and is the sole property of the Bahria University. 2) This report is submitted as the requirement for the project in accordance with the rules laid down by the Bahria University as part of the requirements for the award of the degree of Bachelor of Engineering in Software Engineering. 3) The work presented in this report is our own except where due reference or acknowledgement is given to the work of others. 4) We are aware of Bahira University asserts legal and beneficial ownership rights over all Intellectual Property developed as a result of support either directly from or channeled through Bahria University. 5) We are agreed to assign to Bahira University all of their rights, title and interest in and to Intellectual Property developed as a result of utilization of Bahira University Resources including copyright in any material that is teaching material, computer programs, or created at the request or direction of Bahira University. S.No. Student Name Enrolment # 1 Ali Hamza 02-131182-074 2 Farhan Najam 02-131182-027 3 Zubair Ahmed 02-131182-010 Signatures Reference: [1] R&D policy handbook (BUORIC-P15) Page 2 of 55 Smart Coach Assistant Department of Software Engineering Submission Performa It is acknowledged that I as a supervisor gone through this report. The report contains all the essential sections as required by the department in accordance with the rules laid down by the Bahria University. Supervisor Name: Engr. Bushra Fazal Supervisor Signatures: Dated: Page 3 of 55 Smart Coach Assistant Department of Software Engineering Acknowledgments We the Smart Coach Assistant Development team are over helmed in all humbleness and gratefulness to acknowledge our depth to all those who have helped us to put our ideas and assigned work, well above the level of simplicity and into something concrete. We all thank whole heartedly Engr. Bushra Fazal for being a part of our valuable project, constantly motivating for doing better and showing complete confidence in our work. We is very thankful to our organization Bahira University for its valuable suggestions, guidance and encouragement. Also, in the process, we learned a lot other technical and non-technical things from them Finally, we also like to thank all other colleagues working in Smart Coach Assistant for helping us at small problems as well as critical junctures. Page 4 of 55 Smart Coach Assistant Department of Software Engineering Abstract The project is about helping and improving the procedures and enhancing the sports administration of a firm. This is an application that is developed to keep track of different sporting events with multiple games played between multiple participants. Normally Sports activity record in taken and executive physically. Thus, there is no information and data security. Students are not able to get proper information about the sports event conducted in various colleges. The student needs to spend the time to get the information about the sports event. The students have to visit the venue to get registered for the game which takes a lot of time. Also no rafting is done for any time. Many player’s which are deserving are left behind and are not given the opportunity. Our Proposed system is “Smart Coach Assistant” which is web based application solution for all the elements a sports department has to offer, which will comparatively bring more ease to the users, to get the required details from a particular specified platform. It has possess a simplified yet a clean and modern web interface for the Users. Page 5 of 55 Smart Coach Assistant Department of Software Engineering TABLE OF CONTENTS 1. INTRODUCTION .................................................................................................................. 9 1.1 Introduction ................................................................................................................................. 10 1.2 Problem Statement ...................................................................................................................... 10 1.3 Background / Literature Review.................................................................................................. 10 1.4 Problem in existing system.......................................................................................................... 10 1.5 Proposed Solution ....................................................................................................................... 10 1.5.1 Features of the project ........................................................................................................ 11 1.5.2 Methodology/Algorithm ...................................................................................................... 12 1.5.3 Technologies to be used ...................................................................................................... 12 1.6 2. 3. Project Scope / Deliverables ........................................................................................................ 12 Software Project Management Plan ................................................................................ 13 2.1 Project Organization .................................................................................................................... 14 2.2 Software Process Model .............................................................................................................. 14 2.3 Roles and Responsibilities ........................................................................................................... 14 2.4 Tools and Techniques .................................................................................................................. 14 2.5 Project Management Plan ........................................................................................................... 15 2.5.1 Tasks .................................................................................................................................... 15 2.5.2 Task-n .................................................................................................................................. 15 2.6 Assignments ................................................................................................................................ 17 2.7 Timetable..................................................................................................................................... 18 Software Requirements Specifications ........................................................................... 20 3.1 Introduction ................................................................................................................................. 21 3.2 Product Overview......................................................................................................................... 21 3.3 Specific Requirements .................................................................................................................. 21 3.4 Functional and Data Requirements ............................................................................................. 22 3.5 Non-Functional Requirements .................................................................................................... 22 3.5.1 Reliability ............................................................................................................................. 22 3.5.2 Availability ........................................................................................................................... 22 3.5.3 Security ................................................................................................................................ 23 Page 6 of 55 Smart Coach Assistant 3.5.4 Maintainability..................................................................................................................... 23 3.5.5 Portability ............................................................................................................................ 23 3.5.6 Performance ........................................................................................................................ 23 3.5.7 Usability Requirements ........................................................................................................ 23 3.6 Proposed Solution ....................................................................................................................... 23 3.7 Alternative Solution..................................................................................................................... 23 3.8 External Interface Requirements................................................................................................. 23 3.8.1 User Interfaces .................................................................................................................... 23 3.8.2 Hardware Interfaces ............................................................................................................ 24 3.8.3 Software Interfaces ............................................................................................................. 24 3.8.4 Communications Protocols.................................................................................................. 24 3.9 4. Department of Software Engineering Database Requirements .............................................................................................................. 24 Software Design Description ........................................................................................... 25 4.1 Introduction ................................................................................................................................. 26 4.2 Design Overview.......................................................................................................................... 26 4.3 Work Flow Diagram ........................................................................ Error! Bookmark not defined. 4.4 Business Workflow Diagram........................................................... Error! Bookmark not defined. 4.5 Work Breakdown Structure ......................................................................................................... 27 4.6 Use case Diagram ........................................................................................................................ 28 4.7 Sequence Diagram.......................................................................... Error! Bookmark not defined. 4.8 ER Diagram .................................................................................................................................. 29 4.9 Requirements Traceability Matrix ............................................................................................... 30 4.10 System Architectural Design ....................................................................................................... 30 4.11 Chosen System Architecture ....................................................................................................... 30 4.12 Discussion of Alternative Designs ................................................................................................ 30 4.13 System Interface Description ...................................................................................................... 31 4.14 Detailed Description of Components .......................................................................................... 32 4.14.1 4.15 Component-1....................................................................................................................... 32 User Interface Design .................................................................................................................. 32 4.15.1 Description of the User Interface ........................................................................................ 35 4.15.2 Screen Images ..................................................................................................................... 35 4.15.3 Objects and Actions ............................................................................................................. 35 Page 7 of 55 Smart Coach Assistant Department of Software Engineering 5. Implementation ................................................................................................................. 36 6. Software Test Document ................................................................................................. 42 7. 6.1 System Overview ......................................................................................................................... 43 6.2 Test Approach ............................................................................................................................. 43 6.3 Test Plan ...................................................................................................................................... 44 6.4 Features to be Tested.................................................................................................................. 44 6.5 Features not to be Tested ........................................................................................................... 44 6.6 Testing Tools and Environment .................................................................................................... 44 6.7 Test Cases .................................................................................................................................... 44 6.8 Case-n (use a unique ID of the form TC-nnnn for this heading) .................................................. 44 6.8.1 Purpose ............................................................................................................................... 44 6.8.2 Inputs................................................................................................................................... 44 6.8.3 Expected Outputs & Pass/Fail criteria ................................................................................. 44 6.8.4 Test Procedure ..................................................................................................................... 45 Appendix A: Test logs ...................................................................................................... 50 7.1 Log ............................................................................................................................................... 50 7.1.1 Test Results.......................................................................................................................... 50 7.1.2 Incident Report.................................................................................................................... 50 8. Conclusions and Further Work ....................................................................................... 51 9. References ........................................................................................................................ 53 Page 8 of 55 Smart Coach Assistant Department of Software Engineering 1. INTRODUCTION Page 9 of 55 Smart Coach Assistant Department of Software Engineering 1.1 Introduction The project will be cover the sports field, focusing the Cricket. It will be used in sports leagues and other organizations according to the scenario and needs. Sport is a key part of a student's growth and development. They help in the development of mental health and physical fitness of the body. Through sports and games, the student acquires various skills, experiences and self-confidence, which are useful for the development of his personality. While technology and sports didn't always seem like a natural match, the two industries have worked great together over the years. However, as we have seen over the years, there is still room for improvement, even after technology has revolutionized the sports world. But technology still plays a key role in improving sports, whether it's ensuring safety, fixing broken systems, or making great games more incredible. In the past, Sports Events are arranged and managed manually. Therefore, there is no data and information security. Students aren’t able to get proper information about the sports event conducted in various colleges. The student needs to spend their valuable time to get the information about the sports event. The students have to visit the venue to get registered for the game which takes a lot of time. Also choosing a player for the house/department team is also a challenge Now that we have moved into 2020, we see that the world of sports has evolved by leaps and bounds. While statistics have always played a central role in sports since its inception, AI has significantly impacted the level of audience engagement, strategy for games and the way they are played today. We see data analytics and artificial intelligence being used to a great extent in sports. The application of artificial intelligence in sports has become a common phenomenon in recent years. And given the positive impact precision technology is bringing to sports, there is no doubt that the field will continue to flourish. Our Proposed system is “Smart Coach Assistant” which is web based application solution for all the elements a sports department has to offer, which will comparatively bring more ease to the users, to get the required details from a particular specified platform. It has possess a simplified yet a clean and modern web interface for the Users. Page 10 of 55 Smart Coach Assistant Department of Software Engineering 1.2 Problem Statement Traditionally Sports Events are arranged and managed manually. Therefore, there is no data and information security. Students aren’t able to get proper information about the sports event conducted in various colleges. The student needs to spend their valuable time to get the information about the sports event. The students have to visit the venue to get registered for the game which takes a lot of time. Also choosing a player for the house/department team is also a challenge 1.3 Background / Literature Review Up to now, the process is done manually. In the past, Sports Events are arranged and managed manually. Therefore, there is no data and information security. Students aren’t able to get proper information about the sports event conducted in various colleges. The student needs to spend their valuable time to get the information about the sports event. The students have to visit the venue to get registered for the game which takes a lot of time. Also choosing a player for the house/department team is also a challenge 1.4 Problem in existing system Because of the manually process, a lot of time and extra resources are consumed. There is no data and information security. Also the stake holders aren’t able to get a proper information about the sports. Therefore, there is no data and information security. Students aren’t able to get proper information about the sports event conducted in various colleges. The student needs to spend their valuable time to get the information about the sports event. The students have to visit the venue to get registered for the game which takes a lot of time. Also choosing a player for the house/department team is also a challenge 1.5 Proposed Solution Our Proposed system is “Smart Coach Assistant” which is web based application solution for all the elements a sports department has to offer, which will comparatively bring more ease to the users, to get the required details from a particular specified platform. It has possess a simplified yet a clean and modern web interface for the Users. The application will possess: Page 11 of 55 Smart Coach Assistant Department of Software Engineering 1. The admin/sports teacher can easily registers interested student in their desired sports events in respective teams. 2. The organizer of the sports event can also access the details of participants. 3. Institute Registration 4. Players Registration 5. Register Sports Events 6. Scheduling of Events & Result Announcement. The best and most deserving player’s will be picked for the betterment and quality of the game. For this purpose, the application will use different Performance statistics Data and based on those, will produce results that will help the selectors to find the best and most deserving candidates for the respective teams. We will start with Cricket. All candidate’s data will be used to select a team and best deserving players. There will be a number of constraints based on which a player will be rated and his/her merit will be created. Initially the No of innings, highest score, Average and total runs 1. The system will use algorithms for calculating a player’s performance and based on those will show the top players who performed the best. 2. The system will also recommend and compare the data of a player with its previous and other players to find the top performing candidate. 3. The system with the help of this data, will assist in team selection. 4. The system will also assist in providing the data and analytics of the top performing players and assist in presenting the players which will be choose in the playing. The system will also provide the player order facility based on the statistics and according to the requirement of the positions. Page 12 of 55 Smart Coach Assistant Department of Software Engineering 1.5.1 Features of the project 1. The admin/sports teacher can easily registers interested student in their desired sports events in respective teams. 2. The organizer of the sports event can also access the details of participants. 3. Institute Registration 4. Players Registration 5. Register Sports Events 6. Scheduling of Events & Result Announcement. 7. The system will use algorithms for calculating a player’s performance and based on those will show the top players who performed the best. 8. The system will also recommend and compare the data of a player with its previous and other players to find the top performing candidate. 9. The system with the help of this data, will assist in team selection. 10. The system will also assist in providing the data and analytics of the top performing players and assist in presenting the players which will be choose in the playing. Page 13 of 55 Smart Coach Assistant Department of Software Engineering 1.5.2 Methodology/Algorithm The algorithms we used are 1. Decision tree classification 2. Random forest algorithm 1.5.3 Technologies to be used 1. Bootstrap 5 2. PHP 3. MS SQL. 1.6 Project Scope / Deliverables Milestone Task Milestone-1 • • • Deliver Software Project Management Plan Document Deliver Software Requirement Specification Deliver WBS Milestone-2 • • • • Deliver Prototype of UI Deliver STD Deliver Gantt Chart Deliver Use Case and other UMLs Milestone-3 • • Create User Template Create ERD and basic database Milestone-4 • Continue the coding/development Milestone-5 • Continue the coding/development Milestone-6 • Continue the coding/development Milestone-7 • System Testing Page 14 of 55 Smart Coach Assistant Department of Software Engineering 2. SOFTWARE PROJECT MANAGEMENT PLAN Page 15 of 55 Smart Coach Assistant Department of Software Engineering 2.1 Project Organization 2.2 Software Process Model After conducting our literature review, we arrived at the conclusion that we will use AGILE process model and the SCRUM methodology in it. 2.3 Roles and Responsibilities Project Manager will be responsible for assigning roles and tasks, confirming requirements, tracking progress, Activity and resource planning, Cost Estimating, Scheduling and developing the budget and analyzing the risks. UI Designer/Front End Developer will be responsible for creating interactive and responsive UI Designs and Mockups. Backend Script Developer will be responsible for creating the business logic i.e. the working logic of the software. Database Administrator will be responsible for creating, maintaining and monitoring the database, creating ERD and establishing connection with system. Technical Writer will be responsible for creating the UML’s, Reports, Meeting Logs, Test Documents, User Manuals etc. SQA will be responsible for creating test cases, testing system against those cases, report results 2.4 Tools and Techniques Design Phase: • UML Notation Database: • MySQL Server Development: • MVC Architecture • Version Control System: Page 16 of 55 Smart Coach Assistant Department of Software Engineering Git hub 2.5 Project Management Plan 2.5.1 Tasks 2.5.2 Task-n • • • • • • • • • • • • • • RE-1 Requirement analysis/clarify the requirements. DE-1 Design prototype and validate from the user DE-2 Create software requirement specification document DE-3 Create STD DE-4 Create wordbreak down and use case and other UMLs DE-5 Brainstorm about to create Webpp addictive and productive FE-1 Design template/UI for the application. FE-2 Initialize creating database FE-3 Create Login/Sign up form FE-4 Create User profile setup FE-5 Create Dashboard FE-6 Complete the training module and work on it, TE-1 System testing TE-2 QA testing 2.5.2.1 Description Task ID Description RE-1 Identify the needs of different stake holders and analyse, validate, document, and manage their needs RE-2 Create list of functional requirements that are part of your application and identify non-functional to improve overall user experience. RE-3 Create Work break down structure to make the deliverables more precise and concrete. DE-1 Write a detailed document (SRS) that describes what the software will do and how it is expected to perform. It also describes the functionality that the product needs to meet the needs of all stakeholders (business, users). Page 17 of 55 Smart Coach Assistant Department of Software Engineering DE-2 Write a document (SDD) DE-5 FE-1 Hold a meeting with all stake holders of the project to discuss ideas that can make app more addictive in a sense that user open the app daily to do something Create UI template. FE-2 Create database in MySQL. 2.5.2.2 Deliverables and Milestones A list of the deliverables of the task (documentation, code, other), and the milestones associated with these. For example, milestone 1 of the project might be the delivery of the final revisions of the SRS, STD, and SPMP; milestone 2 might be delivery of the STD, milestone 3 might be completion of version 1 (development & test), etc. Milestone Task Milestone-1 • • • Deliver Software Project Management Plan Document Deliver Software Requirement Specification Deliver WBS Milestone-2 • • • • Deliver Prototype of UI Deliver STD Deliver Gantt Chart Deliver Use Case and other UMLs Milestone-3 Milestone-4 • • • • Create User Template Create ERD and basic database Create Account (Sign up/Login) Create reaming modules Milestone-6 • Create reaming modules Milestone-7 • Create reaming modules Milestone-8 • • System Testing QA Testing 2.5.2.3 Resources Needed Page 18 of 55 Smart Coach Assistant • • Working System with a an active internet connection and Web hosting and Domain 2.5.2.4 • • Department of Software Engineering Dependencies and Constraints Access to the web is required. All scheduling processing held in API so internet must be a key for communication. Since the application is a web application, internet is required. It is assumed that users will have decent internet connectivity. 2.5.2.5 Risks and Contingencies Identify the risks associated with getting this task completed on time, and the contingency plans to cope with this risk. You can never identify all the risks; and some events would just stop the project completely. Limit this section to reasonable risks. For example: what is the probability of you being unable to get the programming language you plan on using running on your computer? What would you do to recover? 2.6 Assignments Task Member RE-1 Requirement analysis/clarify the requirements. Ali Hamza, Farhan Najam, Zubair Ahmed RE-2 Elicit functional and non-functional requirement Ali Hamza, Farhan Najam, Zubair Ahmed DE-1 Design prototype and validate from the user Ali Hamza, Farhan Najam, Zubair Ahmed DE-2 Create software requirement specification document Ali Hamza, Farhan Najam, Zubair Ahmed DE-3 Create STD Ali Hamza, Farhan Najam, Zubair Ahmed Page 19 of 55 Smart Coach Assistant Department of Software Engineering DE-4 Create wordbreak down and use case and other UMLs Ali Hamza, Farhan Najam, Zubair Ahmed DE-5 Brainstorm about to create app addictive and productive Ali Hamza, Farhan Najam, Zubair Ahmed FE-1 Design template/UI of your app Ali Hamza, Farhan Najam, Zubair Ahmed FE-2 Create database and create profiling mechanism Ali Hamza, Farhan Najam, Zubair Ahmed FE-3 Create Login/Sign up form Ali Hamza, Farhan Najam, Zubair Ahmed FE-4 Create User profile setup Ali Hamza, Farhan Najam, Zubair Ahmed FE-5 Create Dashboard Ali Hamza, Farhan Najam, Zubair Ahmed FE-6 Create remaining modules Ali Hamza, Farhan Najam, Zubair Ahmed TE-1 System testing Ali Hamza, Farhan Najam, Zubair Ahmed TE-2 QA testing Ali Hamza, Farhan Najam, Zubair Ahmed 2.7 Timetable Provide a timetable showing the estimated start and completion dates for each task. This is best illustrated using a Gantt diagram. This timetable should be updated throughout the project to reflect changes in: the tasks, the execution time for tasks, the completion dates, etc. Page 20 of 55 Smart Coach Assistant Department of Software Engineering Page 21 of 55 Smart Coach Assistant Department of Software Engineering 3. SOFTWARE REQUIREMENTS SPECIFICATIONS Page 22 of 55 Smart Coach Assistant Department of Software Engineering 3.1 Introduction Traditionally Sports Events are arranged and managed manually. Therefore, there is no data and information security. Students are not able to get proper information about the sports event conducted in various colleges. The student needs to spend the time to get the information about the sports event. The students have to visit the venue to get registered for the game which takes a lot of time. Also choosing a player for the house/department team is also a challenge. 3.2 Product Overview Clearly define the purpose of the software, the environment it will run in, and who will be using it (in terms of their educational level, experience, and technical expertise). Do not go into detail, but outline the general requirements in a way that provides the reasons why specific requirements are later specified in the SRS. Our Proposed system is “Smart Coach Assistant” which is web based application solution for all the elements a sports department has to offer, which will comparatively bring more ease to the users, to get the required details from a particular specified platform. It has possess a simplified yet a clean and modern web interface for the Users. A member of the sports department, coach himself or a designated official can operate this with very basic knowledge of computer systems. 3.3 Specific Requirements 3.3.1 USERS: We have 3 types of users. 1. Admin (Coach, designated official) 2. Users/Students who will register here to use the application’s features 3.3.1.1 ADMIN: The admin can 1. The admin/sports teacher can easily registers interested student in their desired sports events in respective teams. 2. The organizer of the sports event can also access the details of participants. 4. Register players. 5. Register Sports Events. Page 23 of 55 Smart Coach Assistant Department of Software Engineering 6. Scheduling of Events & Result Announcement. 7. The system will use algorithms for calculating a player’s performance and based on those will show the top players who performed the best. 8. The system will also recommend and compare the data of a player with its previous and other players to find the top performing candidate. 9. The system with the help of this data, will assist in team selection. 10. The system will also assist in providing the data and analytics of the top performing players and assist in presenting the players which will be choose in the playing. 3.3.1.2 USER: 1. The users can, register themselves in a sports event. 2. The user can see the result of a game. 3.4 Functional and Data Requirements 1. The system shall let the admin/sports teacher to easily register interested student in their desired sports events in respective teams. 2. The system shall let the organizer of the sports event can also access the details of participants. 4. The system shall let Players Registration 5. The system shall let Register Sports Events 6. The system shall let Scheduling of Events & Result Announcement. 7. The system shall let use algorithms for calculating a player’s performance and based on those will show the top players who performed the best. 8. The system shall also recommend and compare the data of a player with its previous and other players to find the top performing candidate. 9. The system shall with the help of this data, will assist in team selection. 3.5 Non-Functional Requirements 3.5.1 Reliability The application will use the data that will be given to it by the admin and will totally rely on that. 3.5.2 Availability The application will be available when the internet is connected. It can be accessible from anywhere in the globe. It can be used and shutdown from the system where it is being used at that particular system. Page 24 of 55 Smart Coach Assistant Department of Software Engineering 3.5.3 Security The system will use the Hypertext Transfer Protocol Secure which is an extension of the Hypertext Transfer Protocol. It is used for secure communication over a computer network, and is widely used on the Internet. 3.5.4 Maintainability The Player records are maintained by the Admin 3.5.5 Portability The web application can me accessible from anywhere with an internet connection through a smart device (pc/laptop etc.) 3.5.6 Performance Application should utilize best internet speed, and memory efficiently. 3.5.7 Usability Requirements 3.6 Proposed Solution 3.7 Alternative Solution 3.8 External Interface Requirements 3.8.1 User Interfaces • • • • • • • • • UI should be responsive. No blank spaces should be left and no content should be cut out of screen UI should be Sports themed i.e. icons should be of sports related like player, cricket bat etc. UI should be clear and precise Font color should not match background. UI elements should not be offensive to any cast The user interface should be more consistent. Consistency also prevents information chaos, ambiguity and instability of the online designer. Icons and labels should be concise and to the point. A clear, unambiguous icon can help make the user interface intuitive, and it's a good practice to adapt the labels to the terminology that the application supports. UI should be standard. It should include standard objects like buttons, icons, text, field, windows, images, and pull-down and pop-up screen menus. Page 25 of 55 Smart Coach Assistant Department of Software Engineering 3.8.2 Hardware Interfaces We are using the SQL server, so many devices can access the services at the same time. 3.8.3 Software Interfaces Language: ASP.NET Version: 4.8 / April 18, 2019 Operating system: Microsoft Windows, Linux, Mac OS 3.8.4 Communications Protocols Hypertext Transfer Protocol Secure – HTTPS 3.9 Database Requirements • The data base will be: MY SQL We use it because of • Faster query processing: Large amounts of data are retrieved quickly and efficiently. Operations such as insertion, deletion and data manipulation are also performed almost instantly. • A big advantage of SQL Server is ease of use. It also supports multiple languages, which is good for international teams, and has better security features Page 26 of 55 Smart Coach Assistant Department of Software Engineering 4. SOFTWARE DESIGN DESCRIPTION Page 27 of 55 Smart Coach Assistant Department of Software Engineering 4.1 Introduction 4.2 Design Overview 1. The design of the system will be responsive. No blank spaces will be left and no content should be cut out of screen 2. The design should be Sports themed i.e. icons should be of sports related like player, cricket bat etc. 3. The design should be clear and precise 4. Font color should not match background. 5. The design should not be offensive to any cast 6. The user interface should be more consistent. 7. Consistency also prevents information chaos, ambiguity and instability of the online designer. 8. Icons and labels should be concise and to the point. A clear, unambiguous icon can help make the user interface intuitive, and it's a good practice to adapt the labels to the terminology that the application supports. 9. The design should be standard. It should include standard objects like buttons, icons, text, field, windows, images, and pull-down and pop-up screen menus. Page 28 of 55 Smart Coach Assistant Department of Software Engineering 4.1 Work Breakdown Structure Page 29 of 55 Smart Coach Assistant Department of Software Engineering 4.2 Use case Diagram Smart coach assistant Login ADD TEAM Add Players Users Manage team Manage Players View player performance Admin Manage player performance Analyze the players Generate batting order Change Batting order on runtime System Page 30 of 55 Smart Coach Assistant Department of Software Engineering 4.3 ER Diagram user Id Email Password Team Player_Profile Team_id Team_Name No_of_players Team_logo Team_desc Player_id Player_image Player_desc Player_image Strike_rate Player admin Id Email password Player_Id Team_Id Player_Name Player_image Team_Name No_Of_Matches Total_Runs Highest_runs Event Match_id Match_name Match_duration Page 31 of 55 Smart Coach Assistant Department of Software Engineering 4.4 Requirements Traceability Matrix Login Page: ID Requirements 1 2 3 4 Components Project Design Objective Create Create Login minimum In page design progress viable program Create Create Login minimum In page progress viable program Create Create sign In minimum up/sign in progress viable functionalities program Create Test the In minimum functionalities progress viable program Specification Test Case In progress 1 In progress 1.1 In progress 1.2 In progress 1.3 4.5 System Architectural Design MVC 4.6 Chosen System Architecture MVC: MVC (Model-View-Controller) is a pattern in software design commonly used to implement user interfaces, data, and control logic. It emphasizes the separation between the business logic of the software and the display. This "separation of concerns" ensures a better division of labor and better maintenance. 4.7 Discussion of Alternative Designs The other systems include websites like the Cricbuz and Cricinfo. But the main reason is behind the core objective. These sites just display limited info and there’s no room to do a productive work for an administrative point of view. Page 32 of 55 Smart Coach Assistant Department of Software Engineering On the other hand, out system provides a separate interface to the user and a separate control panel to the administrator. 4.8 System Interface Description Landing Interface: The interface is user friendly web page, which gives the system authorization ways as well as displays the relevant information for the users providing the information which is needed. Libraries: The libraries include Bootstrap and Charts.js to display dynamic data in the desired and user friendly way. Networking: The modules communicate through each other using the data base tables as well as backend functions which include PHP commands and functions. OS: The system can be run on any OS which support a browser and the application can be accessible for all the OS increasing the flexibility. Page 33 of 55 Smart Coach Assistant Department of Software Engineering 4.9 Detailed Description of Components 4.9.1 Component-1 Login Module: The module will fulfill all the necessities of a good interface and will ensure a successful and safe authorization process for the system. 4.10 User Interface Design Login Module: Page 34 of 55 Smart Coach Assistant Department of Software Engineering Admin Dashboard: Fixtures: Page 35 of 55 Smart Coach Assistant Department of Software Engineering Rankings: AI Batting Prediction: Page 36 of 55 Smart Coach Assistant Department of Software Engineering 4.10.1 Description of the User Interface Login Module: Include the credentials and the authorization to enter in the system. Fixtures: Include the upcoming match time table and the list of the future predicted games. Admin Dashboard: This shows the players, teams and fixtures statistics. Rankings: This includes the teams and the player’s rankings in different formats each AI Batting Prediction: This gives a statics based batting order using the AI Algorithms. 4.10.2 Screen Images 4.10.3 Objects and Actions Login Module: Include the credentials and the authorization to enter in the system. Fixtures: Include the upcoming match time table and the list of the future predicted games. Admin Dashboard: This shows the players, teams and fixtures statistics. Rankings: This includes the teams and the player’s rankings in different formats each AI Batting Prediction: This gives a statics based batting order using the AI Algorithms. Page 37 of 55 Smart Coach Assistant Department of Software Engineering 5. IMPLEMENTATION Page 38 of 55 Smart Coach Assistant Department of Software Engineering Login Module: <html><head> <meta charset="utf-8"> <title>Login</title> <link rel="stylesheet" href="css/login.css"> <link rel="icon" type="image/png" href="images/icons/favicon.ico"> <link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/fontawesome.min.css"> <link rel="stylesheet" type="text/css" href="vendor/animate/animate.css"> <!-- <link rel="stylesheet" type="text/css" href="vendor/csshamburgers/hamburgers.min.css"> <link rel="stylesheet" type="text/css" href="vendor/select2/select2.min.css"> --> <link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.7.0/css/fontawesome.min.css"> <link rel="stylesheet" type="text/css" href="css/util.css"> <link rel="stylesheet" type="text/css" href="css/main.css"> </head> <body _c_t_common="1" data-new-gr-c-s-check-loaded="14.1073.0" data-gr-ext-installed=""> <div class="navbar"> <img src="css/bat4.png" width="85" height="70" ;="" style="float: left;margin-top:14px"> <h1 style="float: left; font-style: Comic Sans MS; color: #ffcc99;margin-top:16px"> Smart Coach Assistant </h1> <a href="#">About US</a> <a href="adminlogin.php">Admin Login</a> <a href="#">Upcoming Matches</a> <!-- <a href="login.php">Login Page</a>!--> <a href="registration.php">New? Register</a> <a href="Home.php">Home</a> Page 39 of 55 Smart Coach Assistant Department of Software Engineering </div> <div class="limiter"> <div class="container-login100"> <div class="wrap-login100"> <div class="login100-pic js-tilt" data-tilt=""> <img src="images/LOGO.jpeg" alt="IMG"> </div> <form action="" method="post" name="login" class="login100-form validate-form"> <span class="login100-form-title"> Admin Login </span> <div class="wrap-input100 validate-input" datavalidate="Valid email is required: ex@abc.xyz"> <input class="input100" type="text" name="username" placeholder="Email"> <span class="focus-input100"></span> <span class="symbol-input100"> </span> </div> <div class="wrap-input100 validate-input" datavalidate="Password is required"> <input class="input100" type="password" name="password" placeholder="Password"> <input type="hidden" name="type" value="admin"> <span class="focus-input100"></span> <span class="symbol-input100"> </span> </div> <div class="wrap-input100 validate-input"> <span class="symbol-input100"><br> </span> </div> <div class="container-login100-form-btn"> <input name="submit" type="submit" class="login100-form-btn button" value="Login"> Page 40 of 55 Smart Coach Assistant Department of Software Engineering <!-- <button class="login100-form-btn"> Login </button> --> </div> <div class="text-center p-t-12"> <span class="txt1"> Forgot </span> <a class="txt2" href="#"> Username / Password? </a> </div> <div class="text-center p-t-136"> <a class="txt2" href="registration2.php"> Create your Account <i class="fa fa-long-arrow-right m-l-5" ariahidden="true"></i> </a> </div> </form> </div> </div> </div> <script src="vendor/jquery/jquery-3.2.1.min.js"></script> <script src="vendor/bootstrap/js/popper.js"></script> <script src="vendor/bootstrap/js/bootstrap.min.js"></script> <script src="vendor/select2/select2.min.js"></script> <script src="vendor/tilt/tilt.jquery.min.js"></script> <script> $('.js-tilt').tilt({ scale: 1.1 }) </script> <script src="js/main.js"></script> </body><grammarly-desktop-integration data-grammarly-shadow-root="true"></grammarlydesktop-integration></html> Page 41 of 55 Smart Coach Assistant Department of Software Engineering Admin Dashboard: <body class="collapsed-menu" _c_t_common="1" data-new-gr-c-s-check-loaded="14.1073.0" data-gr-ext-installed=""> <!-- ########## start: left panel ########## --> <div class="br-logo"><a href="index.html"><span>[</span>sac<span>]</span></a></div> <div class="br-sideleft overflow-y-auto ps ps--theme_default" data-ps-id="f75fe293-b31d-f40c1060-00a91e5639e6"> <label class="sidebar-label pd-x-15 mg-t-20">navigation</label> <div class="br-sideleft-menu"> <a href="adminwelcome.php" class="br-menu-link active"> <div class="br-menu-item"> <i class="menu-item-icon icon ion-ios-home-outline tx-22"></i> <span class="menu-item-label op-lg-0-force d-lg-none">dashboard</span> </div> </a> <a href="adminpanel/teams.php" class="br-menu-link"> <div class="br-menu-item"> <i class="menu-item-icon icon ion-ios-people-outline tx-24"></i> <span class="menu-item-label op-lg-0-force d-lg-none">teams</span> </div> </a> <a href="adminpanel/ranking.php" class="br-menu-link"> <div class="br-menu-item"> <i class="menu-item-icon icon ion-ios-list-outline tx-24"></i> <span class="menu-item-label op-lg-0-force d-lg-none">rankings</span> </div> </a> <a href="adminpanel/viewfix.php" class="br-menu-link"> <div class="br-menu-item"> <i class="menu-item-icon icon ion-ios-list-outline tx-24"></i> <span class="menu-item-label op-lg-0-force d-lg-none">fixtures</span> </div> </a> <a href="adminpanel/toprunsscored.php" class="br-menu-link"> <div class="br-menu-item"> <i class="menu-item-icon icon ion-ios-list-outline tx-24"></i> <span class="menu-item-label op-lg-0-force d-lg-none">top most runs scorers</span> </div> </a> Page 42 of 55 Smart Coach Assistant Department of Software Engineering <a href="adminpanel/topwickets.php" class="br-menu-link"> <div class="br-menu-item"> <i class="menu-item-icon icon ion-ios-list-outline tx-24"></i> <span class="menu-item-label op-lg-0-force d-lg-none">top wickets takers</span> </div> </a> <a href="adminpanel/usericcrank.php" class="br-menu-link"> <div class="br-menu-item"> <i class="menu-item-icon icon ion-ios-analytics-outline tx-24"></i> <span class="menu-item-label op-lg-0-force d-lg-none">icc men ranking</span> </div> </a> <a href="adminpanel/aibettingpredictions.php" class="br-menu-link"> <div class="br-menu-item"> <i class="menu-item-icon icon ion-ios-list-outline tx-24"></i> <span class="menu-item-label op-lg-0-force d-lg-none">ai betting predictions </span> </div> </a> <a href="adminpanel/userslist.php" class="br-menu-link"> <div class="br-menu-item"> <i class="menu-item-icon icon ion-ios-list-outline tx-24"></i> <span class="menu-item-label op-lg-0-force d-lg-none">users list </span> </div> </a> </div><!-- br-sideleft-menu --> <div </div><!-- br-sideleft-menu --> <div class="ps scrollbar-x-rail" style="left: 0px; bottom: 0px;"><div class="ps scrollbar-x" tabindex="0" style="left: 0px; width: 0px;"></div></div><div class="ps scrollbar-y-rail" style="top: 0px; right: 0px;"><div class="ps scrollbar-y" tabindex="0" style="top: 0px; height: 0px;"></div> Page 43 of 55 Smart Coach Assistant Department of Software Engineering 6. SOFTWARE TEST DOCUMENT Page 44 of 55 Smart Coach Assistant Department of Software Engineering 6.1 System Overview The system is a web application which will be run on browser and will be used by an administrator, and the user. There are different modules which are integrated and we will test them for their functionalities with the system. 6.2 Test Approach 1. Functionality Testing – Below are some of the checks that are performed but are not limited to the list below: • Verify that there is no dead page or invalid redirects. • First, check all the validations in each field. • Incorrect inputs to perform negative testing. • Verify system workflow. • Verify data integrity. 2. Usability testing – To verify how easy the application is to use. • Try the navigation and controls. • Content control. • Check user intuition. Page 45 of 55 Smart Coach Assistant Department of Software Engineering 3. Interface Testing – It is done to verify the interface and data flow from one system to another. 4. Compatibility testing – Compatibility testing is done based on the context of the application. • Browser compatibility • Operating system compatibility • Compatible with various devices such as laptop, mobile phone, etc. 5. Performance Testing – Performed to verify server response time and throughput under various load conditions. 6. Black box testing 6.3 Test Plan 6.4 Features to be tested All 6.5 Features not to be tested None 6.6 Testing Tools and Environment Normal Working conditions 6.7 Test Cases 6.8 Case-n (use a unique ID of the form TC-nnnn for this heading) 6.8.1 Purpose 6.8.2 Inputs 6.8.3 Expected Outputs & Pass/Fail criteria Specify all of the expected outputs and features (e.g., response time) required of the test items. Provide the exact value (with tolerances where appropriate) for each required output or feature. Specify the criteria to be used to determine whether each test item has passed or failed testing. If an automated test tool is used, identify how the results of that tool are to be analyzed. Page 46 of 55 Smart Coach Assistant Department of Software Engineering 6.8.4 Test Procedure Detail the test procedure(s) needed to execute this test case. Describe any special constraints, such as: special set up, operator intervention, output determination procedures, and special wrap up. Page 47 of 55 Smart Coach Assistant Department of Software Engineering BLACK BOX TESTING: FUNCTIONALITY TESTING: TLNNN 1.1 1.2 1.3 PURPOSE PRECONDIT IONS 1. Check if we can login or not with valid Email & valid password for Admin 2. Check if we can login or not with invalid Email no a & valid password 3. Check if we can login or not with invalid Email a & invalid password INPUT Email: Hamzax6261@gm ail.com Password: Asd@12345 The system as a defined username and a password Email: Hamzax6261@gm ail.com Password: Asd@12345 Email: Hamzax6261@gm ail.com Password: Asd@12345 1.4 4. Check response without entering Email & with a valid password Email: Hamzax6261@gm ail.com Password: Asd@12345 1.5 5. Check response without entering Email & password Email: Hamzax6261@gm ail.com Password: Asd@12345 TEST PROEDURE EXPECT ED RESU LT ACTUA L RESUL T PASS FAI L Login 1. Open system successf 2. Enter ul Email and password. 3. click Sign In. Login success ful Pass 1. Open system 2. Enter Email and password. 3. click Sign In. Login un- Login unsucc essful Pass 1. Open system 2. Enter Email and password. 3. click Sign In. Login unsuccessf ul Login unsucc es sful Pass 1. Open system 2. Enter Email and password. 3. click Sign In. Login unsuccessf ul Login unsucc es sful Pass 1. Open system 2. Enter Email and password. 3. click Sign In. Login unsuccessf ul Login unsucc es sful Pass successf ul Page 48 of 55 Smart Coach Assistant Department of Software Engineering GUI AND USABILITY TESTING: TLNNN 2.1 2.2 2.3 PURPOSE PRECONDIT IONS 1. All fields on the page (For Example, text box, radio options, drop-down lists) should be aligned properly 2. Check Numeric values should be justified correctly unless specified otherwise. 3. Check all pages for broken links. INPUT Select Different options from the AI Batting prediction The system has a discrete gui including all the necessary GUI component s Check the rankings tab ACTUA L RESUL T PASS TEST PROEDURE EXPECT ED 1. Open system 2. Choose AI batting prediction tab 4. 3. Click team. All dropdo wn items are aligned items are aligned Pass 1. Open system 2. Choose standings 4. All items are number ed correcte ly All items are number ed correct ely Pass All links are working properly All links are workin g properl y Pass Click all links of 1. Open the menu/nav bar system 2. Choose any link 4. RESU LT Page 49 of 55 FAI L Smart Coach Assistant 2.4 2.5 4. Confirmation messages should be displayed before performing any updates or deleting operations. 1. All fields on the page (For Example, text box, radio options, drop-down lists) should be aligned properly Department of Software Engineering Click delete math 1. Open from fixture system 2. Login module The system has a discrete gui including all the necessary GUI component s Select Different options from the AI Batting prediction 3. Click Fixtures tab. 4. 4. Click delete on any schedule 1. Open system 2. Choose AI batting prediction tab 4. 3. Click team. A pop Should open All dropdo wn items are aligned A confor mation messag e on not present Fail items are aligned Pass Page 50 of 55 Smart Coach Assistant Department of Software Engineering Integration Testing:: TLNNN 3.1 3.2 3.3 3.4 PURPOSE PRECONDIT IONS 1. Check result correctness is better than before implementing the algorithm 2. Check if the model reads the data constraints and provide correct output 3. Check if the model gives the correct output batting order 5. Check if the module doesn’t affect other sub modules INPUT Enter the constraints The system as a working AI trained model Enter the constraints TEST PROEDURE Enter the dataset and train the model Dump data constraints Dump data constraints Feed the data set to the system Check the other 1. Login modules one after 2. Check all other modules the other EXPECT ED RESU LT ACTUA L RESUL T PASS FAI L The results are of better percenta ge than before The results are of better percent age than before Pass The results are of better percenta ge than before The data is process ed correctl y Pass The model give accurate batting order list The model give accurat e batting order list Pass Pass All modules work fine All module s work fine Page 51 of 55 Smart Coach Assistant Department of Software Engineering 7. APPENDIX A: TEST LOGS A test log is used by the test team to record what occurred during test execution. 7.1 Log All the logs have been added against each test with a unique Tnn number 7.1.1 Test Results The test results were recorded against each test. Overall tests were satisfactory. 7.1.2 Incident Report TIR-2.4 The test result was found not suitable and the pop up for conformation was not found which was notifies and then corrected Page 52 of 55 Smart Coach Assistant Department of Software Engineering 8. CONCLUSIONS AND FURTHER WORK CONCLUSION: The project is about helping and improving the procedures and enhancing the sports administration of a firm. This is an application that is developed to keep track of different sporting events with multiple games played between multiple participants. Normally Sports activity record in taken and executive physically. Thus, there is no information and data security. Students are not able to get proper information about the sports event conducted in various colleges. The student needs to spend the time to get the information about the sports event. The students have to visit the venue to get registered for the game which takes a lot of time. Also no rafting is done for any time. Many player’s which are deserving are left behind and are not given the opportunity. Our Proposed system is “Smart Coach Assistant” which is web based application solution for all the elements a sports department has to offer, which will comparatively bring more ease to the users, to get the required details from a particular specified platform. It has possess a simplified yet a clean and modern web interface for the Users. We considered all these functionalities and problem and prepared a system that fulfilled all the requirements and performed all the testing. Page 53 of 55 Smart Coach Assistant Department of Software Engineering FUTURE WORK: We aim to enhance and widen the scope of the project by implementing it in the domestic leagues and other small originations that demand more attributes and functionalities. Concerning the results for the application, we can also expect to improve them by having richer graphs, with more attributes. We look forward to enhance the capabilities of the AI algorithm and to enhance a better performance with less resources included in the processing. Page 54 of 55 Smart Coach Assistant Department of Software Engineering 9. REFERENCES https://www.frontiersin.org/articles/10.3389/fnhum.2021.768585/full https://journals.sagepub.com/doi/abs/10.1177/17479541211070938 https://journals.sagepub.com/doi/abs/10.1177/17479541211070938 https://www.ibm.com/topics/decisiontrees#:~:text=A%20decision%20tree%20is%20a,internal%20nodes%20and%20lea f%20nodes. https://www.kdnuggets.com/2020/01/decision-tree-algorithm-explained.html https://www.javatpoint.com/machine-learning-decision-tree-classificationalgorithm [1] Simonson, M., Smaldino, S., Albright, M., & Zvacek, S. “Teaching and learning at a distance: Foundations of distance education”. Upper Saddle River, NJ: PrenticeHall, 2006. [2] Woo, Y., & Reeves, T. “Meaningful interaction in Web-based learning: A social constructivist interpretation”. The Internet and Higher Education, 10(1), 15–25, 2007. [3] Blin, F., & Munro, M. “Why hasn’t technology disrupted academics’ teaching practices understanding resistance to change through the lens of activity theory”. Computers & Education, 50(2), 475–490, 2008. [4] Abbad, M.M., Morris, D. and de Nahlik, C. “Looking under the Bonnet: Factors Affecting Student Adoption of E-Learning Systems in Jordan”. The International Review of Research in Open and Distance Learning, 10, No. 2, 2009. [5] Alkhateeb, F., et al. “E-Learning Tools and Technologies in Education: A Perspective”. 2014. [6] Baimurzayev B, Tekedere H. “Usability Analysis of Cloud-Based Moodle Learning Management System”. TÜBAV Scientific Journal 12(4):16-, 2019. Page 55 of 55