Professional Documents
Culture Documents
An AAT report on
BACHELOR OF ENGINEERING
IN
INFORMATION SCIENCE AND ENGINEERING
By
1
Department of Information Science and Engineering
2021-22
CERTIFICATE
This is to certify that the project entitled “CricHub - Cricket Statistics and Analysis” is a
bona-fide work carried out by Prateek Gummaraju (1BM19IS117), Prashanth
Jaganathan(1BM19IS115), Niranjan Umapati Hegde(1BM19IS103) & Samartha
S(1BM19IS219) in partial fulfillment for the award of degree of Bachelor of Engineering in
Information Science and Engineering from Visvesvaraya Technological University,
Belgaum during the year 2021-2022. It is certified that all corrections/suggestions indicated for
Internal Assessments have been incorporated in the report deposited in the departmental library.
The project report has been approved as it satisfies the academic requirements in respect of
project work prescribed for the Bachelor of Engineering Degree.
2
Table of Contents
Page No.
Abstract 4
1. Problem Statement …………….………………………………………………………...5
1.1. Analysis ..……………………………………………………………………………. 5
2. Scenarios ………………………………………………………………………………….
2.1. Normal Scenarios…….…….…………………………………………………………6
2.2. Exceptional Scenarios... ……………………………………………………………...6
3. Requirements .……………………………………………………………………………
3.1. Functional Requirements…….……………………………………………………….6
3.2. Non Functional Requirements………………………………………………………. 7
3.2.1 Quality Requirements ……………………………………………………...…. 7
3.2.2 Constraint Requirements ………………………………………………………7
4. Use Case Diagram………………………………………………………………………..
4.1. Use Cases……………………………………………………………………………..8
4.2. Set Of Actors..………………………………………………………………………...8
4.3. Description………...………………………………………………………………….9
4.4. Use Case Diagram ………………………………………………………………..…..9
5. Class Diagram…………………………………………………………………………….11
6. Activity Diagram…………………………………………………………………………13
7. Test Suite………………………………………………………………………………….14
8. RTM.....................................................................................................................................16
3
ABSTRACT
The name of our project is CRICHUB. CRICHUB is a web application which displays news
snippets of the upcoming IPL edition along with news snippets of major events of the previous
IPL edition. The website also displays the details of each team participating in the IPL, giving
information about the squads, owners, past performances, etc. An unprecedented feature is
blogging, which allows users to express and discuss their thoughts and opinions about the latest
happenings surrounding the IPL and, in general, any cricketing event. Users can write, edit and
delete their blogs. Admins can edit and delete blogs as well. One of the major aims behind the
website was to promote and encourage Karnataka players playing in the IPL.
4
PROBLEM STATEMENT
To build a website that displays latest updates of IPL, stats of Karnataka players playing in the
IPL, updated points table. The website also will give users an opportunity to write blogs and read
blogs written by other users. Admins will be allowed to regulate the contents of the blog and
users.
ANALYSIS
After going through multiple similar websites, we realized that none of them provided users with
the feature of blogging in order to express their thoughts and opinions on the latest happenings in
the cricketing world. We also figured that there were no homegrown websites encouraging and
promoting players from Karnataka. Through our website we have tried to implement solutions
for these problems and enhance the existing features. After thorough analysis, we decided to use
HTML, CSS and JavaScript to design the frontend of the website, and php to connect to the
backend. We used MySQL to store our databases. We scrutinized and decided to have 2 modules
(Admin and User) to implement the desired functionalities. Once the user registers and logins, he
will be redirected to the home page, where he will have the options to view latest news, updated
points table, stats of Karnataka players, performance of each team and also a special feature to
write, read and edit blogs. The admin has options to delete users, edit and delete inappropriate
blogs.
5
Fig 1. Blogging Fig 2. Stats of Karnataka Players
SCENARIOS
Normal Scenarios:
● A user will login to their account. If they do not have an account, they will have to create
an account/ become a registered user.
● After logging in, they will be able to see the latest updates of IPL. They will be able to
navigate through the website to view stats of players, write blogs, read blogs written by
other users, view points table, etc.
● They will be able to delete their blogs as well.
● An admin will be able to login to their account, provided they have been given access. An
admin is also a user. Admin will be able to update stats of players.
● The Admin will also have authority to delete or edit a blog if it is deemed to be offensive.
If a user is repeatedly being offensive, the admin can delete the user.
● Users will have an option to change their passwords, they will also be able to logout of
their account.
Exceptional scenarios:
● User forgets their password.
● The website doesn’t load due to slow internet connection or excessive traffic.
● The user is not able to write a blog.
● The user is not able to read blogs written by other users.
● The website could crash.
● A user without authorization is trying to login as an Admin.
6
REQUIREMENTS:
Hardware Requirements:
1. Desktop/Laptop/Phone
2. Stable Internet Connection
Functional Requirements:
1. Users must be able to write blogs and read blogs written by other users.
2. Updated stats of players must be displayed.
3. Allow users to be able to reset passwords.
4. A gist of each team in the IPL.
5. Blogs with inappropriate content must be removed constantly.
6. Users must be able to give feedback for constant improvement of the website.
7. Users must be able to create an account and login without much hassle.
Description: Users must be able to edit and delete blogs without any difficulties.
Rationale: So that users can edit and delete blogs if they feel that their blog is outdated or
their opinions and views have changed.
Non-Functional Requirements:
7
1. Quality Requirements:
➢ Usability- a fully functioning user friendly interface
➢ Reliability- handles exceptional scenarios, for example more than 2 users can upload
blogs simultaneously.
➢ Performance- Multiple users can access the portal at the same time.
➢ Accuracy- All blogs will be visible at all times. New blogs written by users will be
displayed instantaneously.
➢ Adaptability- our website could be built into an application on our smartphones for faster
accessibility. CricHub will be able to display live scores of matches if integrated with a
cloud platform.
2. Constraints:
➢ Implementation : Java/C++, Javascript, MySQL. The software used is eclipse.
➢ Interface : User interface and Admin interface
➢ Legal : Website must be verified by the government for public use.
8
Set of actors:
1) Users -> Students, Sportsmen, Sportswomen, Bloggers, etc.
2) Admins -> To manage and regulate users and content.
9
Use Cases:
1. User Login - User logs in to the app by entering valid credentials.
2. User Registration - User registers himself on the app by entering some information
3. Admin Login - Admin logs in to the app by entering valid credentials
4. News - Displays latest updates and happenings in IPL
5. Player Stats - Displays cricket statistics of Karnataka players playing in the IPL
6. Team Info - Displays the team information of the various teams competing in IPL
7. Points Table - Displays the current points table of IPL
8. Blogging - Users can share their thoughts and opinions on the happenings in the cricket
world by uploading writeups
9. Delete/Update Blogs - Admin has the power to reject a write up if it is deemed
inappropriate or offensive.
10. Profile - Displays 2 options - Change password and logout
11. Change password - User can change their password
10
Participating actors: Admin, Users
Flow of events:
1) Admin reads and analysis blogs from the Admin Blog Page
2) If the admin deems the blog to be inappropriate or offensive, he can edit or delete the blog.
3) If the admin notices a user being repeatedly offensive, then he can delete the user for good.
4) The admin can then logout.
Entry condition: A user must have Admin authorities, that is, the developers of the website must
give a user admin access. The user must login through the Admin page.
Exit condition: The user (Admin) must apply the changes and logout of the webapp.
Quality requirements:
1) The blogs edited/deleted by the Admin must be reflected in the Blogs page for all
users instantaneously (within 3 seconds)
2) The blogs must be safe for all users.
3) The users deleted by the Admin must be deleted for good.
Stage 2 submission
11
Class Diagram
12
Fig 2. Class Diagram of Players
13
Activity Diagram
14
Test Suite
15
Fig. 11 Write Blogs Test Suite
16
Documentation
17