Chatting Application Report File
Chatting Application Report File
UCS 503
Software Engineering
Submitted By:
Submitted To:
Dr. Seema Bawa
1
Table of Contents:
1. Introduction 3
2. Analysis Phase 5
3. Design Phase 7
4. Testing Phase 14
5. Deployment Phase 17
2
Introduction
There are numerous products available that allow for real time “chatting” over the Internet.
The purpose of this project is to implement a Java based chat application that
will allow users with an intranet connection to engage in private conversations.
The limitation of Live Chat is it does not support audio and video
conversations. To overcome this limitation we are concurrently working on
developing better technologies.
The fact that the software uses an internal network setup within the
organization makes it very secure from outside attacks.
User1
Server
User2
3
1.3 Ishikawa diagram of problem formulated:
4
2. Analysis Phase
5
2.2 Activity diagram to depict various procedural and algorithmic flows
6
2.3 Data flow diagram (DFD: Level 0,1,2) [It may become the part of design phase]
7
2.4 Software Requirement Specifications (SRS) in IEEE format
1 Introduction
2.4.1.1 Document Purpose
There are numerous products available that allow for real time “chatting” over the Internet.
The purpose of this project is to implement a Java based chat application that will allow
users
with an intranet connection to engage in private conversations.
The development of this project centered on the development of a message protocol that
would
allow the application to properly log in users, send messages, and performs system
maintenance.
Overview:
This project is aimed at developing a chatting application which has the facilities to share
text messages and media. Media includes pictures, videos, documents and audio clips.
For security purpose of users, the messages sent over this chatting application are end to
end encrypted. Encryption means adding a key value to our data which will change the
information and decryption means removing that applied secret key.
2.4.1.3 Definitions:
LAN: A local area network (LAN) is a computer network that interconnects computers within
a limited area such as a residence, school, laboratory, university campus or office building.
By contrast, a wide area network (WAN) not only covers a larger geographic distance, but
also generally involves leased telecommunication circuits.
8
1.5 Document Conventions
Font: Times New Roman font size 12 for normal text and 14 for headings throughout the
document for text.
Comments: Italics
Spacing: Document text is single spaced
Line Margins: 1” margins are used in this template.
4.1.1.6 References
www.stackoverflow.com
www.wikipedia.org
www.github.com
n
4.1.2.1 Product Overview
The system to be developed here is a Chat facility. It is a centralized system. It is Client-
Server system with centralized database server. All local clients are connected to the
centralized server via LAN.
There is a two way communication between different clients and server.
No Need of Internet Connection: Existing system requires Internet connection; whereas in
the proposed system only Intranet connection i.e. only a LAN connection is required. This
system is useful for those who cannot afford to have an Internet connection. For example:
schools, colleges, small companies, etc.
9
3.1.3 Software Interfaces
1. NetBeans 8.2
2. Windows 7,8,10
3.3.1 Use Case #1 (use case name and unique identifier – e.g. U1)
Purpose - What is the basic objective of the use-case? What is it trying to achieve?
Priority - What is the priority? Low, Medium, High. Importance of this use case being
completed and functioning properly when system is deployed
Preconditions - Any condition that must be satisfied before the use case begins
Post conditions - The conditions that will be satisfied after the use case successfully
completes
Actors – Actors (human, system, devices, etc.) that trigger the use case to execute or provide
input to the use case
Extends – If this is an extension use case, identify which use case(s) it extends
Flow of Events
1. Basic Flow - flow of events normally executed in the use-case
2. Alternative Flow - a secondary flow of events due to infrequent conditions
3. Exceptions - Exceptions that may happen during the execution of the use case
Includes (other use case IDs)
Notes/Issues - Any relevant notes or issues that need to be resolved
4O
10
4.1 Performance Requirements
1. When user sends the data it will reach server firstly and server will send the data to
receiver.
2. The server verifies for which device the message was intended and sends it to that device.
3. If data format is not supported by the chatting application, then server will immediately send
warning to the sender.
3. Design Phase
3.1 Class diagram showcasing Logical structure
11
3.2 Collaboration Diagram
12
3.3 Sequence Diagrams
13
3.4 State Chart Diagrams
4. Testing Phase
4.2 Test Cases for various test strategies (Scenario, Boundary value analysis and
Equivalence class testing
14
2 TC_login_02 To check Launch the 1 Enter invalid Invalid
functionality of application. “username” in username
invalid “username” Login into the username field shouldn’t be
and valid system. 2 Enter valid accepted and
“password” in “password” in error
password field. password field. message
3 Click on “login” window
button. should be
displayed
with error
message
“Enter valid
username”.
15
4.2.2 Navigation Test Case
16
5. Deployment Phase
5.1 Component Diagram
17