Online Shopping - TutorialsDuniya
Online Shopping - TutorialsDuniya
COM
Online Shopping
ONLINE Shopping
om
Software Engineering Project Report
.c
ya
Submitted by: Supervisor:
Srishti Jain (Roll no : 16067500000 ) TutorialsDuniya.Com
Tanvi Goyal (Roll no : 16067500000 ) (Course Instructor)
i
un
D
ls
ia
t or
Table of Contents
Problem Statement ............................................................. Error! Bookmark not defined.
om
1.1 Overall Description .............................................. Error! Bookmark not defined.
.c
1.1.3 General Constraints ........................................ Error! Bookmark not defined.
ya
1.2 External Interface Requirements .......................... Error! Bookmark not defined.
i
1.2.2 Hardware Interfaces ....................................... Error! Bookmark not defined.
un
1.2.3 Software Interfaces ......................................... Error! Bookmark not defined.
om
5.4 interface design
.c
white box testing
ya
8. References ................................................................ Error! Bookmark not defined.
i
un
D
ls
ia
t or
Tu
Problem Statement
Online shopping is a web application which provides all kinds of products to
everyone at their doorstep.
The users living anywhere can connect through internet to get these services. This
web application is more effective and fast in response.
om
.c
Process Model
ya
The model chosen for our project is 'Waterfall Model'. The requirements are well
known i.e. it is known what all functionalities and behavior should be there .The
technology is understood and well incorporated in the project. There is no
i
ambiguity in requirements and they are met in the project .Very less customer
un
interaction is involved during the development of the product. Once the product is
ready then only it can be demoed to the end users. Thus this model suits the best
for project.
D
ls
ia
t or
Tu
This proposed system can be used by any naïve user and it does not require any
educational level, experience or technical expertise in computer field but it will be
om
of good use if user has the good knowledge of how to operate a computer.
.c
The Online Shopping system is an application that enables vendors to set up online
shops, customers to browse through the shops, and a system administrator to
approve and reject requests for new shops and maintain lists of shop categories.
ya
Also the developer can design an online shopping site to manage the items in the
shop and also help customers to search and purchase them online without visiting
the shop physically.The online shopping system will use the internet as the sole
i
un
method for selling goods to its consumers.
Display all the categories available for shopping on the system’s main
ls
page.
Display all the items linked to each category listed on the main page.
ia
Allow the administrator to add new items to the existing list of available
or
items.
Allow the administrator to view and edit information about each user
that checkouts the items from the system.
1. Admin: The administrator is the person who handles this online shopping
application. One must have a basic understanding of computers and the internet as
om
well as prior knowledge for operating Java programming languages. The
administrator is responsible for maintaining all the documents required for the
system. The administrator can perform the following functions:
Assign or update the price of the items, update the items in the list, and
.c
delete the items.
ya
Assign sales tax for different states at the time of checkout.
i
2. Users: The users of this online shopping application are all customers who
un
would shop. These users are anyone with shopping experience and the know-how
to browse through a shopping application. The users should be able to perform the
following functions using this system:
D
om
run.
.c
ya
1.2 External Interface Requirements
1.2.1 User Interfaces :
i
The users will work on a graphical user interface.
un
All the required steps for the user to perform must me specified on each
page so that it is easy for users to understand the procedure to perform.
The steps must be brief so that the content is not a trouble.
D
There must be a search bar on every page for basic queries. Limited
ls
The user must not be taken forward without correcting the error.
or
The system user should never get any operating system failure or any
fatal error.
t
Tu
Processor:Dual Core
RAM:2 GB
Hard Disk:320 GB
om
The system shall make use of the operating system calls to the file management
system to store and retrieve files.
.c
1.3 Functional Requirements
FR1 :
ya
Description : View the categories of items on home page .
FR2 :
i
un
Description : View items in different categories
FR3 :
D
Description : To enter into this site user has to register himself first.
Input : User Details
ls
FR4:
FR5 :
Description : Add items to the cart .
FR6 :
Description: Search specific item/ category name
om
FR7 :
Description : View items that are added in the cart
.c
FR8 :
ya
Description : Delete the items in the cart
order form.
ls
FR10 :
or
Description : The administrator shall be able to add new items to the list of
shopping items.
t
FR11 :
Description :: The administrator shall be able to delete items from the items file.
FR12 :
Description :
om
Administrator can view history of user.
FR13:
.c
Input : Cancel Order
ya
Output: Refund done.
i
un
1.4 Performance Requirements
The users shall be able to add an item to the cart in fewer than 7 seconds.
D
The users shall be able to view information about an item in fewer than 7
seconds.
ls
Number of users must be atmost 1000 and the number of files in the
t
Hardware Requirements :
Pentium or AMD processors with speed minimum 1GHz.
2GB RAM
om
Minimum 32GB Hard Disk.
.c
Keyboard – 122 keys
ya
Software Requirements :
i
Database: MS SQL Server2000 with Microsoft SQL Desktop Engine
un
installed.
Technology: ASP.Net
ls
Security
om
The access to all the databases is available only to admin.
.c
1.6 Data Flow Diagrams
0-level DFD
i ya
un
D
ls
ia
or
1-level DFD
t
Tu
om
.c
i ya
un
2-level DFD
D
ls
ia
t or
Tu
.Customer_Details=customer_name+customer_id+email_id+contact_
no+address
om
Receipt=customer_name+customer_id+price+date+quantity
Give_item=product_name+quantity+size+date
Add_item=product_name+quantity
.c
Delete_item=product_name+quantity
ya
Search_item=product_name
i
un
D
ls
ia
t or
Tu
2 Estimations
2.1 Function Points
om
5 F1. Does the system require reliable backup and recovery?
Yes , the system require backup of data for further use of
information.
5 F2.Are data communications required?
.c
Comm is reqd as to confirm selection of products.
ya
Not much
2 F4. Is performance critical?
Sometimes it gets critical,when product is selected and is
i
not found in quantity and quality
un
4 F5. Will the system run in a existing, heavily utilized operational
environment?
Beside some applications,most of the application of application of
software can run in an existing,heavilyutilised operation environment.
D
online databases
5
F7. Does the on-line data entry require the input transaction to be
ia
om
Yes,software is operating sysytem independent.
5 F14. Is the application designed to facilitate change and ease of
use by the user?
Yes,the software facilitate the changes and ease of use and information
modified will be kept safe & private.
.c
ya
55 TOTAL
CALCULATED
i
COMPLE AVERAGE SIMPLE COUNT MEASUREMENT
un
X PARAMETER
9 6 4 3 3 EXTERNAL
INPUT
12 7 5 4 3 EXTERNAL
D
OUTPUT
18 6 4 3 3 EXTERNAL
ls
INQUIRIES
28 15 10 7 4 INTERNAL
ia
LOGICAL FILES
0 10 7 5 0 EXTERNAL
INTERFACE
or
FILES
67 COUNT TOTAL
t
Tu
=67*[0.65+(0.01*55)]=80.4
2.2 Efforts
Assume that the past data shows that the complexity for these types of systems is 6
function point per month. Assume burdened labour cost of 15,000 , the cost per fp
is
om
Rs 1100.
.c
i ya
un
D
ls
ia
t or
Tu
3.Scheduling
om
.c
i ya
un
D
ls
ia
t or
Tu
4 .Risk Management
om
The number of users that will be estimated can be less but as the product gets more
fame, number of users increases.
.c
Due to the break down of server, our customers will not be able to connect to our
website.
ya
Data loss
i
un
Sometimes, the computer may get crash due to which all our data will be lost and
this is a major issue.
Security issues
D
The website may get hacked intentionally by someone and this will lead to huge
ls
It is possible that users are more adaptive to some other online shopping portals
and hence, it will reduce our customers. And it is quite difficult to convince people
to opt for online shopping because there are many people who prefer physical
shopping as they want the look and feel of the product.
t
Tu
RISK TABLE
om
1 20% BU Users resist
system
3 30% PS Large number
of users than
planned
.c
1 10% TI Server breaks
down
ya
1 10% TI Security issues
computer crash itself is not crucial, but rather the loss of data. A loss of data will
result in not being able to deliver the product to the customer. As a result, the
ls
Monitoring
When working on the product or documentation, we should always be aware of the
or
stability of the computing environment they are working in. Any changes in the
stability of the environment should be recognized and taken seriously.
t
Management
Tu
is made stable again, or should move to a system that is stable to use and continue
working there.
5. DESIGN
om
.c
i ya
un
D
ls
ia
t or
Tu
om
CUSTOMER ID OF
CUSTOMER DATABASE)
NOT NULL VARCHAR2 ORDER STATUS
CUSTOMER DATABASE
.c
CONSTRAINTS DATA TYPE ATTRIBUTES
NOT NULL STRING CUSTOMER NAME
ya
NOT NULL NUMERIC CONTACT DETAILS
NOT NULL VARCHAR2 ADDRESS
PRIMARY KEY VARCHAR2 CUSTOMER ID
i
un
Cart/Wishlist DATABASE
CONSTRAINTS DATA TYPE ATTRIBUTES
FOREIGN VARCHAR2 CUSTOMER ID
D
KEY(REFERENCES
CUSTOMER ID OF
CUSTOMER DATABASE)
ls
DATABASE
NOT NULL DATE DATE OF ENTRY
or
PRODUCT DATABASE
t
Tu
ORDER DATABASE
om
PRODUCT DATABASE
.c
DETAILS DATE NAME
ya
Cart/Wishlist DATABSE
i
un
DATE OF ENTRY PRODUCT ID CUSTOMER ID
D
CUSTOMER DATABASE
ls
6. Coding
{
if(login_id==customerid& password==customerpassword)....................(1)}
om
else{
display"invalid credentials";.......................................(2)
.c
{
ya
display"loginsucessful";...........................................(3)
i
un
switch s ................................................................(4)
(s>0)...................................................................(5)
{
D
display
ls
1:electronics...........................................(6)
electronics();
or
break;
t
2:appliances............................................(7)
Tu
appliances();
break;
3:men....................................................(8)
break;
4:women.................................................(9)
women();
break;
om
5:baby&kids.............................................(10)
baby&kids();
break;
.c
}
ya
inti, n;//total no of products...................................(11)
while(i<n).......................................................(12)
i
un
{
display product[i];............................................(13)
D
i++;
}
ls
end while...........................................................(14)
ia
t or
Tu
2 R1 3
om
R7 C
4 D
.c
E 5 E
ya
F G H I
i
un
6 7 8 9 10
L R5
K R4 M R6
D
R3
R2 N
ls
J
11
ia
or
12
t
Tu
R6 Q R
P R8
13
14
Graph Matrix
1 2 3 4 5 6 7 8 9 10 11 12 13 14
om
1 A B
2 C
3 D
.c
4 S
ya
5 E F G H I
6 J
7
i K
un
8 L
9 M
D
10 N
ls
11 O
ia
12 Q R
13 P
or
14
t
Tu
Regions : 7
No of Nodes : 14
No of edges : 20
om
Cyclomatic Complexity
1 NO. OF REGIONS+1=7+1=8
.c
2 EDGES-NODES+2 =6+2=8
ya
3 Predicate Nodes +1 = 7+1 =8
INDEPENDENT PATHS
i
un
1)1->2->4->5->6->11->12->13->12->14
2)1->3->4->5->6->11->12->13->12->14
D
3)1->2->4->5->7->11->12->13->12->14
ls
4)1->2->4->5->8->11->12->13->12->14
5)1->2->4->5->9->11->12->13->12->14
ia
6)1->2->4->5->10->11->12->13->12->14
or
7)1->2->4->5->6->11->12->13->12->14
8)1->3->4->1->2->4->5->6->11->12->14
t
Tu
8. References:-
2. https://www.tutorialsduniya.com
om
.c
i ya
un
D
ls
ia
t or
Tu