You are on page 1of 568

Performance Monitoring System

PROJECT PROFILE

Project Title :
Performance Monitoring System

Objective:
Using the website calculate perform of employee by

manage attendance and task is assign by project leader

visitor will start online exam and become a employee.

Front-End Tool:
PHP (5.3.5)

Back-End Tool:
MySql(5.5.8)

Server:
Apache (2.2.17)

Documentation Tools:
Dreamweaver CS6

Developed By:
Patel Priya V. (13034212070)

Rita A. (13034212073)

Internal Guide:
Dr. J.N.Dharwa

Group No:
15

Performance Monitoring System

REQUIREMENT SPECIFICATION

EXISTING SYSTEM

NEED FOR THE NEW SYSTEM

Performance Monitoring System

FUNCTIONAL SPECIFICTION

1. Admin: -

Manage User and Employee.

Admin can authenticate user and employee registration form and also mange their
information.

Manage exam paper.

Admin can set the question_paper and declare the result. Admin can manage leave_application and
generate report.

2. User:-

User can fill up the registration form. Give exam and view result.

3. Employee:-

1. Member Staff

If user can fullfill criteria he/she become member staff.

Member staff get task from the leader staff and submit task report. If he/she has query he/she
send to the leader staff and get query ans.

LeaderStaff

Assign task to member task.

Get query detail from member staff and give ans to member staff. Get the leave application
from member staff and send to admin. Get task report from member staff and send to admin.

Performance Monitoring System

HARDWARE & SOFTWARE REQUIREMENTS

SERVER SIDE

HARDWARE(RECOMMENDED):

Processor :2.0GHZ

RAM

:1 GB

HDD

:40GB (free space)

SOFTWARE(RECOMMENDED):

Operating System :Widows Server 2003

Database
: MySql 5.0

WebServer
: Wamp 2.2

CLIENT SIDE

HARDWARE(RECOMMENDED):

Processor :1.6GHZ

RAM
: 512 MB

HDD
: 10 GB(free space)

SOFTWARE(RECOMMENDED):

Web Browser :Internet Explorer 6.0 or any compatible browser

Performance Monitoring System

TIMELINE CHART

Performance Monitoring System

USECASE DIAGRAM

Performance Monitoring System

Performance Monitoring System

Performance Monitoring System

Performance Monitoring System

ER DIAGRAM

10

Performance Monitoring System

ACTIVITY DIAGRAMS

Admin

11

Performance Monitoring System

User

12

Performance Monitoring System

Employee

13

Performance Monitoring System

DATA DICTIONARY

Name of Table: State_Master

Description:This table stores information of states.

Primary Key: state_id

Foreign Key:

Srno

Field

Data type

Constraint

Description

Control

Validation

Name

Name

State_id

Int(4)

Primary

Define stateid

Textbox

Not NULL

key

and only

numeric

value

statename

Varchar(20)

NotNull

Define

Textbox

NotNull

statename

Example

State_id
StateName

1
Gujarat

2
Punjab

14

Performance Monitoring System

Name of Table: City_Master

Description:This table stores information of cities.

Primary Key: city_id

Foreign Key: state_id

Srno

Field

Data type

Constraint

Description

Control

Validation

Name

Name

City_id

Int(4)

Primary

Define cityid

Textbox

Not NULL

key

and only

numeric

value

Cityname

Varchar(20)

NotNull

Define

Textbox

NotNull

cityname

State_id

Int(4)

ForginKey

Define

Textbox

NotNull

stateid

Example

City_id

cityName
State_id

11

chandigdh

Punjab

14

Ahmedabad

Gujarat

15

Performance Monitoring System

Name of Table: Security_que

Description: This table stores information of security questions.

Primary Key: Security_master _id

Foreign Key:

Srno

Field

Data type

Constraint

Description

Control

Validation

Name

Name

Seq_id

Int(4)

Primary

Define

Textbox

Not NULL

key

securityid

and only

numeric value

Seq_que

Varchar(40)

NotNull

Define

Textbox

NotNull

securityname

Example

Seq_id

Seq_que

What is your nick name?

what is your hobby ?

16

Performance Monitoring System

Name of Table: Registration

Description: This table stores information of Registration

Primary Key: id

Foreign Key: city_id,state_id

Srno

Field

Data type

Constraint

Description

Control

Validation

Name

Name

Reg_ Id

Int(10)

Primary

Define id

Textbox

Not NULL and

key

only numeric

value

Fname

Varchar(20)

NotNull

Define fname

Textbox

NotNull

Lname

Varchar(20)

NotNull

Define lname

Textbox

NotNull

Address

Varchar(100)

NotNull

Define

Textbox

NotNull

address

City_id

int(4)

ForginKey

Define cityid

Textbox

NotNull

Pincode

bigint(6)

NotNull

Define

Textarea

NotNull

pincode

Dob

datetime

NotNull

Define birth

Textbox

Not NULL and

of date

only numeric

value

Phone_no

bigint(10)

NotNull

Define

Textbox

NotNull

phoneno

Qualification

Varchar(20)

NotNull

Define

Textbox

NotNull

qulification

10

Expected_sal

bigint(6)

NotNull

Define salary

Textbox

NotNull

ary

11

First_call

Varchar(20)

NotNull

Define

Textbox

NotNull

firstcall

12

Second_call

Varchar(20)

NotNull

Define

Textbox

NotNull

secondcall

13

Status

Varchar(6)

NotNull

Define status

Textarea

NotNull

17

Performance Monitoring System

Example

Reg_ id
fname
lname
Address
City_id
Pincode
dob

38
kajal
shah
paldi
14
380001
1984-03-05

phone no
qualification
Expected_

First_call
Second_call
status

salary

9898457891
bsc
10000

true
true
false

18

Performance Monitoring System

Name of Table: Login

Description: This table stores information of authorized employees.

Primary Key: Login_id

Foreign Key: Reg_id,Seq_id

Srno
Field
Data type
Constraint
Description
Control
Validation

Name

Name

1
Login_id
Int(4)
Primary
Define
Textbox
Not NULL and

key
loginid

only numeric value

2
Reg_Id
int(10)
ForginKey
Define
Textbox
NotNull

reg_id

3
Usename
Varchar(40)
NotNull
Define
Textbox
NotNull

username

4
Password
Varchar(50)
NotNull

Define
Textbox
NotNull

password

5
Seq_id
Varchar(4)
ForginKey
Define seqid
Textbox
NotNull

6
Answer
Varchar(50)
NotNull
Define
Textbox
NotNull

answer

7
Type
Varchar(15)
NotNull

Define type
Textbox
NotNull

Example

Login_id
Reg_Id
Username
Password
Seq_id

Answer
Type

54
38
kajal
k123
1

kaju
user

19

Performance Monitoring System

Name of Table: Paper_set

Description: This table is used to fetch options for particular question.

Primary Key: Paper_id

Foreign Key: Seq_id

Srno

Field

Data type

Constraint

Description

Control

Validation

Name

Name

Paper_id

Int(4)

Primary

Define

Textbox

Not NULL and

key

paperid

only numeric

value

Paper_name

Varchar(10)

NotNull

Define

Textbox

NotNull

papername

Example

Paper_id
Paper_name

1
A

20

Performance Monitoring System

Name of Table: Result

Description: This table stores information of user result.

Primary Key: Result_id

Foreign Key: Paper_id,User_id

Srno
Field
Data type
Constraint
Description
Control
Validation

Name

Name

1
Result_id
Int(4)
Primary
Define resultid
Textbox
Not NULL and

key

only numeric

value

2
Paper_id
Int(4)
Foreign
Define paperid
Textbox
NotNull

Key

3
User_id
Int(4)
Foreign

Define userid
Textbox
NotNull

Key

4
Paper_name
Varchar(10)
NotNull
Define paper
Textbox
NotNull

name

5
Marks
Varchar(3)
NotNull

Define marks
Textbox
NotNull

Example

Result_id
Paper_id
User_id
Password
Paper_name

Marks

2
kajal
k123
1

21

Performance Monitoring System

Name of Table: Question_master

Description: This table is used to fetch question for exam at runtime.

Primary Key: Question_id

Foreign Key: Paper_id

Srno

Field

Data type

Constraint

Description

Control

Validation

Name

Name

Que_id

Int(4)

Primary

Define

Textbox

Not NULL and

key

questionid

only numeric

value

Que_name

Varchar(20)

NotNull

Define

Textbox

NotNull

question

Marks

Int(4)

NotNull

Define

Textbox

NotNull

marks

Ans

Varchar(40)

NotNull

Define

Textbox

NotNull

answer

Paper_id

Int(4)

Foreign

Define

Textbox

NotNull

Key

paperid

Example

Que_id
Que_name
Marks
Ans
Paper_id

10
what is full form of
1
hyper text pre
1

php?

processer

22

Performance Monitoring System

Name of Table: Que_ans_master

Description: This table is used to fetch options for particular question.

Primary Key: Que_ans_id

Foreign Key: Que_id

Srno

Field

Data type

Constraint

Description

Control

Validation

Name

Name

Que_ans_id

Int(4)

Primary

Define

Textbox

Not NULL and

key

question ansid

only numeric

value

Que_id

Int(4)

Foreign

Define queid

Textbox

NotNull

Key

Que_option

Varchar(40)

NotNull

Define que

Textbox

NotNull

option

Ans

Varchar(100)

NotNull

Define answer

Textbox

NotNull

Example

Que_ans_id
Que_id
Que_option
Ans

33
10
pre processer
hyper text pre processer

34
10
hyper text pre processer
hyper text pre processer

23

Performance Monitoring System

Name of Table: Que_view

Description: This table is used to view the question.

Primary Key: Que_id

Foreign Key:

Srno

Field

Data type

Constraint

Description

Control

Validation

Name

Name

Que_id

Int(4)

Primary

Define queid

Textbox

Not NULL and

key

only numeric

value

Que_name

Varchar(40)

NotNull

Define

Textbox

NotNull

quename

Marks

int(4)

NotNull

Define marks

Textbox

NotNull

Ans

Varchar(40)

NotNull

Define ans

Textbox

NotNull

Paper_name

Varchar(100

NotNull

Define

Textbox

NotNull

papername

Example

Que_id
que_name
marks
ans

Paper_name

10
what is full form
1
hyper text pre
A

of php?

processer

24

Performance Monitoring System

Name of Table: emp_detail

Description: This table used to store detail of employees .

Primary Key: Emp_id

Foreign Key:

Srno

Field

Data type

Constraint

Description

Control

Name

Name

Validation

Emp_id

Int(4)

Primary

Define

Textbox

Not NULL

key

employeeid

and only

numeric value

Username

Varchar(30)

NotNull

Define username

Textbox

NotNull

Password

Varchar(50)

NotNull

Define password

Textbox

NotNull

Address

Varchar(50)

NotNull

Define address

Textarea

NotNull

City_id

int(4)

NotNull

Define cityid

Textbox

NotNull

Pincode

bigint(6)

NotNull

Define pincode

Textbox

NotNull

Dob

Date

NotNull

Define

Textbox

NotNull

dateofbirth

Phone_no

bigint(10)

NotNull

Define phoneno

Textbox

NotNull

Qualification

varchar(20)

NotNull

Define

Textbox

Not NULL

qualification

10

Salary

bigint(10)

NotNull

Define salary

Textbox

NotNull

11

Type

Varchar(20)

NotNull

Define type

Textbox

NotNull

25

Performance Monitoring System

Example

Emp_id

Username
Password

Address

City_id

Pincode

12

pri

p123

Cg road

12

385674

Dob

Phone_no

Qualification
Salary

Type

1990-01-28

9899812312
msc

7000

Trainee

26

Performance Monitoring System

Name of Table: leave_master

Description: This table stores information of leaves requested by employee and status of approval.
Primary Key: Leave_id Foreign Key: Employee_id

Srno

Field

Data type

Constraint

Description

Control

Validation

Name

Name

Leave_id

Int(4)

Primary

Define leaveid

Textbox

Not NULL and

key

only numeric

value

Employee_id

Int(4)

Foreign

Define

Textbox

NotNull

Key

employeeid

Leave_type

Varchar(20)

NotNull

Define

Textbox

NotNull

leavetype

From_date

Date

NotNull

Define

Textbox

NotNull

fromdate

To_date

Date

NotNull

Define todate

Textbox

NotNull

Status

Varchar(10)

NotNull

Define status

Textbox

NotNull

Example

Leave_id

Employee_id

Leave_type

Reason

From_date

To_date

Status

25

15

sick

fever

2014-03-03

2014-03-13

Approved

27

Performance Monitoring System

Name of Table: pro_info

Description: This table stores information of all projects.

Primary Key: Project_id

Foreign Key:

Srno

Field

Data type

Constraint

Description

Control

Validation

Name

Name

Pro_id

Int(4)

Primary

Define projectid

Textbox

Not NULL and

key

only numeric

value

Pro_name

Varchar(15)

NotNull

Define

Textbox

NotNull

projectname

Pro_desc

Varchar(55)

NotNull

Define

Textbox

NotNull

projectdescription

Pro_leads

Varchar(11)

NotNull

Define

Textbox

NotNull

projectleader

Start_date

Date

NotNull

Define startdate

Textbox

NotNull

End_date

Date

NotNull

Define enddate

Textbox

NotNull

Example

Pro_id

Pro_name

Pro_desc

Pro_leads

Start_date

End_date

inventory

three modules

neha

2014-03-04

2014-03-31

manage

purchasing,selling,billing

28

Performance Monitoring System

Name of Table: user_ans_master

Description: This table is used to fetch options for particular question.

Primary Key: Ans_id

Foreign Key: Que_id

Srno

Field

Data type

Constraint

Description

Validation

Name

Control

Name

Que_id

Int(4)

Foreign

Define queid

Textbox

NotNull

Key

Options

Varchar(40)

NotNull

Define que

Textbox

NotNull

options

Sess_id

Varchar(50)

NotNull

Define

Textbox

NotNull

sessionid

Example

Que_id

Options

Sess_id

gfgf

fbgvfql9u3r1kvtio83he6b2c7

29

Performance Monitoring System

Name of Table: assign_task

Description: This table stores information of salary reserved for each employee.

Primary Key:A_ id

Foreign Key: Project_id,Leader_id

Srno

Field

Data type

Constraint

Description

Control

Validation

Name

Name

A_id

Int(4)

Primary

Define aid

Textbox

Not NULL and only

key

numeric value

Pro_id

Int(4)

Foreign

Define

Textbox

NotNull

Key

projectid

Leader_id

Int(4)

Foreign

Define

Textbox

NotNull

Key

leaderid

Start_date

Date

NotNull

Define

Textbox

NotNull

startdate

End_date

Date

NotNull

Define

Textbox

NotNull

enddate

Example

A_id
Pro_id
Leader_id
Start_date
End_date

29

5
2014-03-04
2014-03-31

30

Performance Monitoring System

Name of Table: assign_task_tranjection

Description: This table stores information of salary reserved for each employee.

Primary Key:At_ id Foreign Key: A_id,emp_id

Srno

Field

Data type

Constraint

Description

Control

Validation

Name

Name

At_id

Int(4)

Primary

Define

Textbox

Not NULL and

key

assigntaskid

only numeric

value

A_id

Int(4)

Foreign

Define

Textbox

NotNull

Key

assignid

Emp_id

Int(4)

Foreign

Define

Textbox

NotNull

Key

employeeid

Example

At_id
A_id
Emp_id

5
29
12

31

Performance Monitoring System

SEQUENCE DIAGRAM

SEQUENCE DIAGRAM FOR ADMIN

32

Performance Monitoring System

SEQUENCE DIAGRAM FOR USER

33

Performance Monitoring System

SEQUENCE DIAGRAM FOR LEADER

34

Performance Monitoring System

SEQUENCE DIAGRAM FOR TRAINEE

35

Performance Monitoring System

COLLABORATION DIAGRAM

36

Performance Monitoring System

37

Performance Monitoring System

38

Performance Monitoring System

CLASS DIAGRAM

39

Performance Monitoring System

INPUT OUTPUT DESIGN

General view page.

40

Performance Monitoring System

ADMIN SIDE

Admin login page.

41

Performance Monitoring System

Forgotpassword page.

42

Performance Monitoring System

Admin home page.

43

Performance Monitoring System

Insert state page.

44

Performance Monitoring System

Update state page.

45

Performance Monitoring System

Insert city page.

46

Performance Monitoring System

Add question page.

47

Performance Monitoring System

Add option page.

48

Performance Monitoring System

Question inserted page.

49

Performance Monitoring System

Add security question page.

50

Performance Monitoring System

Update security question page.

51

Performance Monitoring System

Add projectname page.

52

Performance Monitoring System

Update projectname page.

53

Performance Monitoring System

Firstcall page.

54

Performance Monitoring System

Secondcall page.

55

Performance Monitoring System

Employee details page.

56

Performance Monitoring System

Leave page.

57

Performance Monitoring System

Query page.

58

Performance Monitoring System

Solve query page.

59

Performance Monitoring System

60

Performance Monitoring System

Change Password page.

61

Performance Monitoring System

Report page.

62

Performance Monitoring System

USER SIDE

Registration page.

63

Performance Monitoring System

User login page.

64

Performance Monitoring System

User home page.

65

Performance Monitoring System

User Edit profile page.

66

Performance Monitoring System

Change password page.

67

Performance Monitoring System

User Exam page.

68

Performance Monitoring System

69

Performance Monitoring System

70

Performance Monitoring System

71

Performance Monitoring System

User Result page.

72

Performance Monitoring System

Employee Side

Leader Login page.

73

Performance Monitoring System

Leader Home page.

74

Performance Monitoring System

Change password page.

75

Performance Monitoring System

Leader Edit profile page.

76

Performance Monitoring System

Project Details page.

77

Performance Monitoring System

Assign Trainee page.

78

Performance Monitoring System

Ask Query page.

79

Performance Monitoring System

80

Performance Monitoring System

View Query page.

81

Performance Monitoring System

View Query reply page.

82

Performance Monitoring System

83

Performance Monitoring System

Trainee Login page.

84

Performance Monitoring System

Traniee home page.

85

Performance Monitoring System

Change password page.

86

Performance Monitoring System

Edit profile page.

87

Performance Monitoring System

View Assign task trainee page.

88

Performance Monitoring System

Select trainee page.

89

Performance Monitoring System

90

Performance Monitoring System

Query solution reply page.

91

Performance Monitoring System

Testing

No
Test
Case Type
Expected Result
Actual Result
Pass/Fail

Cases

1
Login
1.NonThe System will
Non-registered User
Pass

registered
Not allow non
can not login

User
Register User to

Login

2.Wrong
The System
The System display
Pass

UserId and
throws an error
a message like

Password
and prevent from
wrong UserId and

login
Password

3.Enter
The system can
The system display
Pass

correct UserId
redirect the page.
homepage for

and Password

user/admin.

2
Validation
1.Required
Mandatory Fields
You have to enter
Pass

Test cases
Field
should not be
some Value into

Validation
blank
mandatory fields

2.Range
The field value
Only 10 number are
Pass

Validation
must have the
enter in the field

predefined range

3.Fixed
A predefines
Check the proper
Pass

format
format should be
format of E-Mail Id

validation
follow

4
Unit Test
In unit test each form is tested separately. In this system each form is

separately run under Different condition and checked all validation.

5
System
In system test the whole system is tested. The whole system works

Test
properly. The page Navigation is proper and links are given properly.

92

Performance Monitoring System

FUTURE ENHANCEMENT

We will use a iphone and biological instrument for attdence and security.

WE will not using single tasking but using multicompany like open company differnt has
intrect technologies.

93

Performance Monitoring System

BIBlIOGRAPHY

BOOK REFERRED:

PHP Manual

Teach Yourself PHP in 24 hour

Smarty PHP Template Programming and Applications

Beginning Ajax with PHP

Web Application Development with PHP

SEARCH ENGINE:

http://www.google.co.in

SITE REFERRED:

http://www.w3schools.com

94