You are on page 1of 54

HUMAN RESOURCE MANAGEMENT

A Project Report Submitted to Bharathiar University in partial fulfillment of the requirements


for the award of the degree of
MASTER OF SCIENCE COMPUTER SCIENCE
Submitted by
M.ANISH
22MSC003
Under the guidance of
Mr.V.MURUGESAN M.SC., M.Phil., (PH.D).,
(Head Of The Department Of Computer science)
DEPARTMENT OF COMPUTER SCIENCE

APRIL 2024

V.L.B JANAKIAMMAL COLLEGE OF ARTS AND SCIENCE


AUTONOMOUS

Accredited by NAAC Grade 'B++', ISO 9001:2008 Certified Affiliated to Bharathiar


University and Approved by UGC and AICTE Kovaipudur, Coimbatore-641042
CERTIFICATION
V.L.B. JANAKIAMMAL COLLEGE OF ARTS AND SCIENCE AUTONOMOUS
Reaccredited with 'B++' Grade by NAAC, ISO 9001:2008 Certified KOVAIPUDUR,
COIMBATORE-641042.

DEPARTMENT OF COMPUTER APPLICATION

BONAFIDE CERTIFICATE

This is to certify that the project work entitled “HUMAN RESOURCE MANAGEMENT” is
a Bonafide Record of Work done by M.Anish ( 22MSC003 ) submitted in partial fulfillment
of the requirements for the Award of the degree of MASTER OF SCIENCE COMPUTER
SCIENCE of the BHARATHIAR UNIVERSITY during the year 2019-2022, inthe
department of MSC.COMPUTER SCIENCE at VLB Janakiammal College of Arts and
Science, Kovaipudur, Coimbatore 641042, under my supervision and guidance

PROJECT ADVISOR HEAD OF THE DEPARTMENT

Viva-Voce Examination held on ____________

INTERNAL EXAMINER EXTERNAL EXAMINER


DECLARATION
DECLARATION

Im, M.Anish (22MSC003) hereby declare that the project entitled “HUMAN RESOURCE
MANAGEMENT” submitted to the BharathiarUniversity in partial fulfillment of the award of
the MASTER OF SCIENCE COMPUTER SCIENCE is anoriginal project work done under
the guidance of Mr.V.Murugesan M.SC., M.PHIL., (PH.D)., Head of the Department of
Computer Science, VLB Janakiammal college of Arts and Science, kovai pudur,Coimbatore.

PLACE: Coimbatore STUDENT SIGNATURE

DATE: M.Anish
ACKNOWLEDGEMENT
ACKNOWLEDGEMENT

I would like to show my great appreciation to my parents for their continuous support during
all these years. They were the first ones that introduced the amazing world to me and
encourage me to explore the wonderfulnature.

I, express my deep sense of gratitude to Thiru N. Surya Kumar, Chairperson


and Managing Trustee of VLBJ Trust and Mrs. Jaishree Santhosh, Secretary and CEO for
providing the resource facilities and encouraging gesture for the completion of this project.

My genuine thanks to Dr. B.Satheesh kumar M.SC., MBA., M.Phil., PGDCA.,


PGD.,Principal ,VLB Janakiammal College of Arts and Science, Kovaipudur,
Coimbatore-641 042, for providing all the facilities and permitting me to take up this project
work.

My sincere thanks to Mr. V.Murugesan M.SC., M.Phil., (P.HD)., Head of the


Department of Computer Science ,VLB Janakiammal college of Arts and Science,
Kovaipudur, Coimabtore-641 027, for providing moral support towards completion of my
project work.

My heartfelt thanks to my guide Mr.V.Murugesan M.SC., M.PHIL., (P.HD)., Head of the


Department of Computer Science,VLBJCAS, Kovaipudur, Coimbatore for her valuable
advice and guidance. Her timely suggestions and motivational talk enabled me to complete the
dissertation on time. I express my sincere and profound gratitude to her.

Last, but not least, my Friends, also contributed much of their time and efforts to support me
during my study. Without anyone of them, the work would not have been possible. Thus, I also
want to thank them for their love, support and encouragement.
INDEX
Chapter
No
CONTENTS Page No
INTRODUCTION 1
1 1.1. Synopsis 1
1.2. Module Description 2
SYSTEM ANALYSIS 3
2.1 Existing System 3
2.1.1 Disadvantages Of Existing System 3
2.2 Proposed System 4
2
2.2.1 Advantages Of Proposed System 4
2.3 System Specification 5
2.3.1 Hardware Specification 5
2.3.2 Software Specification 5
SOFTWARE DESCRIPTION 6
3.1 Front End 6
3 3.2 Back End 8
3.3 Database Connectivity 9
3.3.1 Requirements 10
SYSTEM DESIGN AND DEVELOPMENT PROCESS 11
4.1 DFD 11
4
4.2 ERD 14
4.3 Use Case Diagram 16
DESIGN PROCESS 17
5.1 Input Design 17
5
5.2 Output Design 20
5.3 Database Design 23
SYSTEM TESTING AND IMPLEMENTATION 25
6 6.1 Testing Methodologies 25
6.2 Implementation 28
CONCLUSION 29
REFERENCES 30
7
APPENDIX 31
SAMPLE CODING 37
HUMAN RESOURCE MANAGEMENT 22MSC003

Chapter-1

INTRODUCTION

1.1 SYNOPSIS
For more than a century now, human resource management, as a discipline and practice in the
management of people in an organization, has evolved and developed into different areas.1
These disciplines and practices have gone through a process of trial and error, theory building
and testing of various concepts by practicing managers and academics.2 The underlying forces
behind the evolution and development of human resource management have been (and still are)
mainly environmental, and the quest for knowledge of better ways of acquiring and utilizing
labor.3 The changing organizational environment in the marketplace pushed managers to
improve efficiency in the production and service delivery processes by increasing their ability to
use the best practices of people management at the time. That is, employee management
techniques or methods that would improve production, reduce service delivery costs, and at the
same time ensure sustained availability of competent staff in the organization.4 This study is
devoted to providing organizations with a human resource management system of the evolution
and development of human resource management and the way it works and influences people
management in contemporary organizations.

1 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

1.2 MODULE
 Employee Management
 Leave Madule
 Payroll Management
 HR Users Madule
 Employee Attendance Management
MODULE DESCRIPTION
Employee Management
Employee management is a process that helps your workers perform at their best and achieve
your business goals. It’s a holistic process that covers almost everything related to human
resources such as new employee recruitment, payroll management, performance management
and more.
Leave Madule
Leave Management is the process of managing employee time-offs that include applying for
leave, approval, tracking the leave, updating it in the record, and notifying the team. Leave
management is an essential HR function.
Payroll Management
payroll management system is a tool – predominantly a software program – that enables your
business to handle all your employee’s financial records in a hassle-free, automated fashion. This
includes employee’s salaries, bonuses, deductions, net pay, and generation of pay-slips for a
specific period.
HR Users Madule
User management describes the ability for administrators to manage user access to various
HR resources like payroll, attendance, leave applications, recruitment systems, employee profile
management and more. User management is a core part to any HR service and is a basic security
essential for any organization.
Employee Attendance Management
Attendance management is the process of preventing employee time theft by tracking
employee working hours, login time, departures and time off. Attendance management is a
critical HR function and it is essential to plan attendance to have a control over employees’ time
to minimize employee downtime in the organization.

 Font End : PHP


 Back End : MySQL

2 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Chapter-2

SYSTEM ANALYSIS

2.1 EXISTING SYSTEM


The Human resource management Administration falls short of controlling the
employee’s activities in analyzing his/her strengths and weakness. The decision for appraisal of
assigning next project to the employee or to train him/her to enhance the skills – where lies with
proper projection. He is not provided with the detailed project information done or to be assigned
based on Application / Verticals.

2.1.1 DISADVANTAGES OF EXISTING SYSTEM


 Need of extra manual effort.
 It used to take much time to find any employee
 Not very much accurate.
 Danger of losing the files in some cases

3 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

2.2 PROPOSED SYSTEM

Decision in assigning proper skillful hands for the project is an important issue in human
resource management system module. The human resource management system administrator
should report with the personal holding the necessary skills required for the project assignment.
The decision in making analysis about the employee’s skills is a prime important before booting
in. The proposed system of HR module is the right software to be incorporated into the
automation of human resource management system for helping the organization needs with
respect to skillful human resource. The proposed system provides detail general information
about the employee along with educational, certification, skill and project details. It enhances the
human resource management in adding, viewing and updating employees' details and generates
various reports regarding employee’s skill and experience.

2.2.1 ADVANTAGES OF PROPOSED SYSTEM


 Increased organization and performance of the entire range of human resources
management services.
 Develop and improve the existing system to provide a single point of contact for
customers to take human resource management system procedures or to request any
clarification.
 Expand the coverage of the human resources system to include the entire human
resources services, including human resources planning, performance management and
internet recruitment systems.
 The human resources management system will allow for trend analysis and reporting

4 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

2.3 SYSTEM SPECIFICATION

2.3.1 HARD WARE SPECIFICATION:

Processor : AMD pro A4 -4350B R4 5 Comput Core 2C + 3G

Processor Speed : 250 MHz to 833MHz

RAM : 64MB to 256MB

Hard Disk : 2GB to 30GB

2.3.2 SOFTWARE SPECIFICATION:

Language : PHP

Database : MYSQL

Operating System : Windows 8.1

Ram : 4GB

5 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Chapter 3

SOFTWARE DESCRIPTION

3.1 FRONT END


The front end is designed using of HTML, PHP, CSS, Java script

HTML:
HTML- HTML or Hyper Text Mark-up Language is the main mark-up language for creating
web pages and other information that can be displayed in a web browser.HTML is written in the
form of HTML elements consisting of tags enclosed in angle brackets (like <html>), within the
web page content. The purpose of a web browser is to read HTML documents and compose them
into visible or audible web pages. It provides a means to create structured documents by denoting
structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. It
can embed scripts written in languages such as JavaScript which affect the behavior of HTML
web pages.

CSS:

Cascading Style Sheets (CSS) is a style sheet language used for describing the look and
formatting of a document written in a mark-up language. While most often used to style web
pages and interfaces written in HTML and XHTML, the language can be applied to any kind of
XML document, including plain XML, SVG and XUL. CSS is a cornerstone specification of the
web and almost all web pages use CSS style sheets to describe their presentation.CSS is designed
primarily to enable the separation of document content from document presentation, including
elements such as the layout, colours, and fonts.

This separation can improve content accessibility, provide more flexibility and control in the
specification of presentation characteristics, enable multiple pages to share formatting, and
reduce complexity and repetition in the structural content (such as by allowing for table less web
design). CSS can also allow the same mark-up page to be presented in different styles for
different rendering methods, such as on-screen, in print, by voice (when read out by a speech-
based browser or screen reader) and on Braille-based, tactile devices. It can also be used to allow

6 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

the web page to display differently depending on the screen size or device on which it is being
viewed.

JAVASCRIPT:

JavaScript (JS) is a dynamic computer programming language. It is most commonly used as


part of web browsers, whose implementations allow client side scripts to interact with the user,
control the browser, communicate asynchronously, and alter the document content that is
displayed. It is also being used in server-side programming, game development and the creation
of desktop & mobile applications.

JavaScript is a prototype-based scripting language with dynamic typing and has first- class
functions. Its syntax was influenced by C. JavaScript copies many names and naming
conventions from Java, but the two languages are otherwise unrelated and have very different
semantics. The key design principles within JavaScript are taken from the self and Scheme
programming languages.

PHP:

PHP is a server-side scripting language designed for web development but also used as a
general-purpose programming language. PHP is now installed on more than 244 million websites
and 2.1 million web servers. Originally created by Rasmus Lerdorf in 1995, PHP is now
produced by The PHP Group. While PHP originally stood for Personal Home Page, it now
stands for PHP: Hypertext Pre-processor, a recursive backronym.PHP code is interpreted by a
web server with a PHP processor module, which generates the resulting web page: PHP
commands can be embedded directly into an HTML source document rather than calling an
external file to process data. It has also evolved to include a command-line interface capability
and can be used in standalone graphical applications. PHP is free software released under the
PHP License. PHP can be deployed on most web servers and also as a standalone shell on almost
every operating system and platform, free of charge.

7 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

3.2 BACK END

The back end is designed using database technologies. In our system, the back end is designed
using MySQL which is used to design the databases. There are a variety of database technologies
that can be used for the underlying database that will hold all the core data. The three database
technologies that will be evaluated are; SQL Server and MySQL.

SQL SERVER:

SQL Server is a platform dependent relational database management system. It is commonly


used by businesses for medium-large sized databases and handles database queries efficiently. It
is more secure than MS Access as it is integrated with Windows NT security but is expensive to
purchase. SQL server also provides the opportunity to import data directly from MS Excel. SQL
Server upwards depending on the version bought.

MYSQL:

MySQL is an open source database management system that allows a number of


programming languages (including Java) to access it.

It can work on many different platforms including Windows, Linux and Mac. Using MySQL
would be advantageous as it has a good technical support (has forums and mailing lists), is free,
and provides security through user authorisation and access privileges.

The disadvantage is that it is more difficult to import data from a MS Excel spreadsheet. After
evaluating the above three database technologies, MySQL was decided as best technology to use
as the underlying database to Java. MS SQL server was first discounted as the owner would need
to purchase it and it is out of his budget. There is also no need to purchase it as MySQL provides
similar functionality for this project at no cost to the business.This means that personal
information for a member that is the owner’s responsibility can be stolen. MySQL is also the
preferred database technology as it is platform independent, which would allow the owner to be
able to use the system if he switches operating systems.

8 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

3.3 DATABASE CONNECTIVITY

MYSQL

MySQL Server is an open-source relational database management system (RDBMS) that is


widely used for building and managing databases. Developed by Oracle Corporation, MySQL is
known for its robustness, scalability, and high-performance capabilities. It plays a crucial role in
powering various web applications, content management systems, and other data-driven
platforms. MySQL's popularity is attributed to its ease of use, support for multiple platforms, and
a strong community of developers and contributors.

MySQL Server offers a rich set of features that make it a preferred choice for developers and
businesses. It supports the SQL (Structured Query Language) for defining and manipulating data,
making it compatible with a wide range of applications. The server provides ACID (Atomicity,
Consistency, Isolation, Durability) compliance, ensuring data integrity and reliability.
Additionally, MySQL supports various storage engines, allowing users to choose the one that
best suits their application's requirements. InnoDB, MyISAM, and MEMORY are some of the
commonly used storage engines.

One of MySQL's standout features is its scalability. It can efficiently handle small to large-
scale databases and is designed to grow with the increasing demands of an application. MySQL's
performance optimization features, such as indexing, caching mechanisms, and query
optimization, contribute to its ability to handle high traffic loads. Its support for parallel
processing and replication further enhances its performance, making it suitable for mission-
critical applications that require high availability and reliability.

Security is a paramount concern in database management, and MySQL includes various


security features to protect sensitive data. It supports authentication mechanisms, including
username/password and encrypted connections, ensuring that only authorized users access the
database. MySQL also provides role-based access control, allowing administrators to define and
manage user permissions at a granular level. Regular updates and patches from the MySQL

9 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

community and Oracle Corporation help address security vulnerabilities, ensuring a secure
environment for data storage.

MySQL has a vibrant and active community of developers and users who contribute to its
ongoing development and provide support through forums, documentation, and tutorials. This
strong community ensures that users have access to a wealth of knowledge and resources to
troubleshoot issues, optimize performance, and stay updated on the latest features. Additionally,
MySQL offers commercial support services for businesses that require professional assistance,
further bolstering its reliability and suitability for enterprise-level applications.

MySQL's compatibility with various programming languages and operating systems makes it
highly versatile. It integrates seamlessly with popular web development languages such as PHP,
Python, Java, and more. Moreover, MySQL's compatibility with different operating systems,
including Linux, Windows, and macOS, ensures flexibility in deployment. This adaptability and
wide-ranging compatibility contribute to MySQL's widespread adoption across diverse industries
and use cases.

3.3.1 REQUIREMENTS

XAMPP web server procedure

 Start XAMPP server by starting Apache and MySQL.


 Write PHP script for connecting to XAMPP.
 Run it in the local browser.
 Database is successfully created which is based on the PHP code.

10 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Chapter 4

SYSTEM DESIGN AND DEVELOPMENT PROCESS

4.1 DFD :
Data Flow Diagram (DFD) - A data flow diagram is a flowchart that can help you visualize
the data pipeline of a system so you can trace what happens to the data as it moves between
components. This is a great way to find redundancies and optimize the speed and responsiveness
of any system.

Overview Diagram (Level 0):


This diagram shows that human resources system consists of two actors are human resources
manager and employees. Each actor requests login action to enter the system and does their tasks
as shown

(Human Resource Management)

Detailed Data Flows:

First Level Data Flow Diagram (1st Level Dfd) Of Human Resource
Management System:
First level DFD (1st Level) of human resource management system shows how the system is
divided into sub-systems (processes), each of which deals with one or more of the data flows to
or from an external agent, and which together provide all of the functionality of the human
resource management system as a whole. It also identifies internal data stores of human resource
rule, attendance, training, vacation, salary that must be present in order for the human resource
system to do its job, and shows the flow of data between the various parts of salary, attendance,
hr rule, training, and vacation of the system. DFD level 1 provides a more detailed breakout of
pieces of the 1st level DFD. We will highlight the main functionalities of human resource.

11 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Main Functionalities Of First Level Dfd (1st Level Dfd):

1 Human resources manager logins to the system and manage all the functionalities of human
resource management system

2 Human resources manager can add, edit, delete and view the records of salary, training, human
resources role and training

3 Human resources manager can manage all the details of employee, attendance and vacation

4 Human resources manager can also generate reports of employee, salary, attendance, training,
and vacation

5 Human resources manager can search the details of employee, attendance, training, and
vacation

6 Human resources manager can apply different level of filters on report of , training, and
vacation

7 Human resources manager can tracks the detailed information of employee, salary, training,
and vacation

(Human Resource Management)

12 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Second Level Data Flow Diagram (2nd Level Dfd) Of Human Resource
Management System:

DFD level 2 then goes one step deeper into parts of level 1 of human resource. It may require
more functionalities of human resource to reach the necessary level of detail about the human
resource functioning.

Main Functionalities Of Second Level Dfd (2nd Level Dfd):

1 Employee logins to the system and manage some the functionalities of human resource
management system

2 Employee can edit, change password and view his/her profile.

3 Employee can view all details data of training , salary, attendance and vacation

4 Employee can also add and confirm vacation.

(Human Resource Management)

13 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

4.2 ERD :

Entity Relationship Diagram (ERD) - The entity relationship (ER) diagram represents the
model of human resource management system entity. The entity-relationship diagram of human
resource management system shows all the visual instrument of database tables and the relations
between trainings, departments, employee, salary etc. it used structure data and to define the
relationships between structured data groups of human resource management system
functionalities. The main entities of the human resource management system are employee,
trainings, departments, salary and salary.

Human Resource Management System Entities And Their Attributes:

 Employee Entity: Attributes of Employee are employee_id, employee_name,


employee_mobile, employee_email, employee_username, employee_password,
employee_address.
 Trainings Entity: Attributes of Trainings are training_id, training_employee_id,
training_registration, training_name, training_type, training_year, training_description
 Vacation Entity: Attributes of vacations are vacation_id, vacation_employee_id,
vacation_from_date, vacation_type, vacation_to_date
 Departments Entity: Attributes of Departments are department_id, department_name,
department_type, department_description
 Salary Entity: Attributes of Salary are salary_id, salary_employee_id, salary_amount,
salary_total, salary_type, salary_description
 Attendance Entity: Attributes of Attendance are attendance_id, attendance _employee_id,
attendance_date
 Evaluation Entity: Attributes of Evaluation are eval_id, employee_id, eval_value,notes

Description of Human Resource Management System Database :

As shown in figure (ERD) we notice that human resources management system database
contains seven table and the detailed relations between them can be described as:

14 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

• The details of employee is store into the employee tables respective with all tables

• Each entity (attendance, vacation, salary, trainings, and employee) contains primary key and
unique keys.

• The entity vacation, salary has blinded with employee, trainings entities with foreign key.

• There are one-to-one and one-to-many relationships available between salary, departments,
vacation, and employee.

• All the entities employee, salary are normalized and reduce duplicity of records.

• We have implemented indexing on each tables of human resource management system tables
for fast query execution

(Human Resource Management)

15 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

4.3 USE CASE DIAGRAM


A use case describes a sequence of actions that provide something of measurable value to an
actor and is drawn as a horizontal ellipse an actor is a person, organization, or external system
that plays a role in one or more interactions with your system.

(Human Resource Management)

16 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Chapter 5

DESIGN PROCESS

5.1 INPUT DESIGN:

Login page

17 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Admin dashboard

User Dashboard

18 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Employee Leave Request

User Information

19 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

5.2 OUTPUT DESIGN

Amine / Leave Approval Page

Admin / Loan Approval Page

20 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Leave Approval Page

Employee Details

21 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Attendance List

Payroll

22 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

5.3 Database Design:

Table Name: Addition

Field Name Data Type Key Constraint Description

Addi_id Int(14) Not null Admin id

Salary_id Int(14) Not null Salary id

basic Varcher(128) Default null basic

medical Varcher(64) Default null medical

House_rent Varcher(64) Default null House rent

conveyance Varcher(64) Default null conveyance

Table Name: Address

Field Name Data Type Key Constraint Description

id Int(14) Not null id

Emp_id Varcher(64) Default null Employee id

city Varcher(128) Default null city

country Varcher(128) Default null country

address Varcher(512) Default null Address

23 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Table Name: Assign Task

Field Name Data Type Key Constraint Description

id Int(14) Not null id

task_id Int(14) Not null Task id

Project_id Int(14) Not null Project id

Assign_user Varcher(64) Default null Assign user

Table Name: Bank info

Field Name Data Type Key Constraint Description

id Int(14) Not null id

Emp_id Varcher(256) Default null Employee id

Holder_name Varcher(256) Default null Holder name

Branch_name Varcher(256) Default null Branch name

Account_number Varcher(256) Default null Account number

Account_type Varcher(256) Default null Account type

24 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Chapter 6

SYSTEM TESTING AND IMPLEMENTATION

6.1 TESTING METHODOLOGIES

The completion of a system is achieved only after it has been thoroughly tested. Though this
gives a feel the project is completed, there cannot be any project without going though this stage.
Hence in this stage it is decided whether the project can under go the real time environment
execution without any break downs, therefore a package can be rejected even at this stage.

SYSTEM TESTING

System testing is an essential step for the development of a reliable and error- free system.
Once source code has been generated, software must be tested to uncover and correct as many
errors as possible before delivery to your customer. Your goal is to design a series of test cases
that have a high likelihood finding errors but how, there are different methods that provides a
systematic guidance for designing tests that, Exercise the internal logic of software components,
and Exercise the input and output domains of the program to uncover errors in the program
function, behavior, and performance. Software testing is a crucial element of software
quality assurance and represents the ultimate review of specification, design, and code
generation. The work product is a set of test cases designed to exercise both internal logic and
external requirements is designed and documented, expected results are defined, and actual
results are recorded. The primary objectives of testing software are to execute a program with the
intent of finding an error; a good test case will find an as-yet- undercover error, and a successful
that uncover Anas-yet-undercover error

25 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

TESTING STRATEGIES

The basic strategies that were used for testing were following

 Specification Testing

 Alpha Testing

 Black Box Testing

 White Box Testing

 Regression Testing

 Acceptance Testing

 Assertion Testing

SPECIFICATION TESTING

Even if the code testing is performed exclusively, it doesn’t ensure against program failure.
Code testing doesn’t answer whether the code meets the agreed specifications document. It
doesn’t also determine whether all aspects of the design are implemented. Therefore, examining
specifications stating what program should do and how it should be have under various
conditions performs specification testing. Test cases are developed to test the range of values
expected including both valid and invalid data. It helps in finding discrepancies between the
system and its original objective. During this testing phase, all efforts were made to remove
programming bugs and minor design faults.

ALPHA TESTING

This test takes place at the developer’s site. Developer observe the user and note problems.
Alpha testing is testing of an application when development is about to complete. Minor design
changes can still be made as a result of alpha testing. Alpha testing is final testing before the
software is released to the general public.

26 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

BLACK BOX TESTING

Black-box testing is conducted at the software interface. In Black Box testing only the
functionality was tested without any regard to the code written. If the functionality, which
was expected from a component, is provided then black box testing is completed.

WHITE BOX TESTING

White-box testing, sometimes called glass-box testing is a test case design method that uses the
control structure of the procedural design to derive test cases. In White Box testing internal code
written in every component was tested and it was checked that the code written is efficient in
utilizing various resources of the system like memory or the utilizing of input, output,

REGRESSION TESTING

In Regression testing the software was tested against the boundary conditions. Various input
fields were tested against abnormal values and it was tested that the software does not behave
abnormally at any time.

ACCEPTANCE TESTING

In acceptance testing the software was checked for completeness that itis ready. Normally the
quality assurance department performs the acceptance testing that the software is ready and can
be exported

ASSERTION TESTING

In assertion testing the software is tested against the possible assertions. Assertions are used to
check the program and various locations that whether the state of the program at a particular
point is the same as expected or not.

27 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

6.2 IMPLEMENTATION

SYSTEM IMPLEMENTATION

The purpose of the system implementation can be summarized as follows: making the new
system available to a prepared set of users (the deployment), and positioning on-going support
and maintenance of the system within the performance organization (the transition). At a filter
level of detail, deploying the system consist of executing all steps necessary to educate the
consumers on the use of the new system, placing the newly developed system into
production, confirming that all data required at the start of operations is available and accuracy,
and validating that system support responsibilities mode of operation, with ownership of the
new system moving from the project team to the performing organization.

A key difference between System Implementation and all other phases of the lifecycle in that all
project activities up to this point have been performed in safe, protected, and secure
environments, where project issues that arise have little or no impact on day-to- day business
operations. Once the system goes live, however, this is no longer the case. Any miscues at this
point will almost certainly translate into direct operational and/or financial impacts on the
performing organization It is through the careful planning, execution, and management of
System Implementation activities that the project Team can minimize the likelihood of these
assurances, and determine appropriate contingency plans in the event of a problem.

28 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Chapter 7

CONCLUSION – REFERENCES – APPENDIX – SAMPLE CODINGS

CONCLUSION:
1. After reviewing the current study and studying it thoroughly, the system was analyzed
according to it and work on establishing a system that manages human resources according to the
foundation of any institution

2. Through the use of the system, the manager is able to rely on him to manage and control
employee data, as well as to manage attendance and absence records

3. Through the use of the program, the manager can manage the records of vacations and
financial matters for all employees easily

4. By using the program, the system administrator can extract reports by employees and all
related information.

5. Employee can manage his data easily.

Recommendations:
1. Develop the program and improve its performance by studying the conversion to Android and
ios application

2. Analysis of the consequences of the system and the number of employees

3. See more relevant studies and research.

4. Develop more sections needed by human resources such as performance assessment and
vocational training

29 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

REFERENCES:
[1] FARNHAM, D. & J. PIMLOTT (1992), Understanding industrial relations. London.

[2] ARMSTRONG, M. (1995), A Handbook of Personnel Management Practice. London.

[3] Myriaaison (2014), the waterfall model explained.

[4] James Rumbaugh, et al: The Unified Modeling Language Reference Manual, Addison-
Wesley

[5]freeprojectz,https://www.freeprojectz.com/dfd/human-resource-management-system-
dataflow-diagram

[6] freeprojectz, https://www.freeprojectz.com/entity-relationship/human-resource-management-


system-er-diagram

[7] creately, https://creately.com/diagram/example/h88w3c102/HR/Management/System

30 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

APPENDIX:

Login page

31 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Admin dashboard

User Dashboard

32 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Employee Leave Request

User Information

33 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Amine / Leave Approval Page

Admin / Loan Approval Page

34 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Leave Approval Page

Employee Details

35 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

Attendance List

Payroll

36 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

SAMPLE CODING:

Login
<?php

class Login_model extends CI_Model{

function __consturct(){
parent::__construct();

}
public function getUserForLogin($credential){
return $this->db->get_where('employee', $credential);
}
public function getdata(){
$query =$this->db->get('users');
$result=$query->result();
return $result;
}
//**exists employee email check**//
public function Does_email_exists($email) {
$user = $this->db->dbprefix('users');
$sql = "SELECT `email` FROM $user
WHERE `email`='$email'";
$result=$this->db->query($sql);
if ($result->row()) {
return $result->row();
} else {
return false;
}
}
public function insertUser($data){
$this->db->insert('users',$data);
}
public function UpdateKey($data,$email){
$this->db->where('email',$email);
$this->db->update('users',$data);
}
public function UpdatePassword($key,$data){
$this->db->where('forgotten_code',$key);
$this->db->update('users',$data);
}
public function UpdateStatus($verifycode,$data){
$this->db->where('confirm_code',$verifycode);

37 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

$this->db->update('users',$data);
}
//**exists employee email check**//
public function Does_Key_exists($reset_key) {
$user = $this->db->dbprefix('users');
$sql = "SELECT `forgotten_code` FROM $user
WHERE `forgotten_code`='$reset_key'";
$result=$this->db->query($sql);
if ($result->row()) {
return $result->row();
} else {
return false;
}
}
public function GetUserInfo($key){
$user = $this->db->dbprefix('users');
$sql = "SELECT `password` FROM $user
WHERE `forgotten_code`='$key'";
$query=$this->db->query($sql);
$result = $query->row();
return $result;
}
public function GetuserInfoBycode($verifycode){
$user = $this->db->dbprefix('users');
$sql = "SELECT * FROM $user
WHERE `confirm_code`='$verifycode'";
$query=$this->db->query($sql);
$result = $query->row();
return $result;
}
}
?>

Dashboard
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Dashboard extends CI_Controller {

function __construct() {
parent::__construct();
date_default_timezone_set('Asia/Dhaka');
$this->load->database();
$this->load->model('login_model');

38 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

$this->load->model('dashboard_model');
$this->load->model('employee_model');
$this->load->model('settings_model');
$this->load->model('notice_model');
$this->load->model('project_model');
$this->load->model('leave_model');
}

public function index()


{
#Redirect to Admin dashboard after authentication
if ($this->session->userdata('user_login_access') == 1)
redirect('dashboard/Dashboard');
$data=array();
#$data['settingsvalue'] = $this->dashboard_model->GetSettingsValue();
$this->load->view('login');
}
function Dashboard(){
if($this->session->userdata('user_login_access') != False) {
$this->load->view('backend/dashboard');
}
else{
redirect(base_url() , 'refresh');
}
}
public function add_todo(){
$userid = $this->input->post('userid');
$tododata = $this->input->post('todo_data');
$date = date("Y-m-d h:i:sa");
$this->load->library('form_validation');
//validating to do list data
$this->form_validation->set_rules('todo_data', 'To-do Data',
'trim|required|min_length[5]|max_length[150]|xss_clean');
if($this->form_validation->run() == FALSE){
echo validation_errors();
} else {
$data=array();
$data = array(
'user_id' => $userid,
'to_dodata' =>$tododata,
'value' =>'1',
'date' =>$date
);
$success = $this->dashboard_model->insert_tododata($data);
#echo "successfully added";
if($this->db->affected_rows()){

39 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

echo "Successfully Added";


} else {
echo "validation Error";
}
}
}
public function Update_Todo(){
$id = $this->input->post('toid');
$value = $this->input->post('tovalue');
$data = array();
$data = array(
'value'=> $value
);
$update= $this->dashboard_model->UpdateTododata($id,$data);
$inserted = $this->db->affected_rows();
if($inserted){
$message="Successfully Added";
echo $message;
} else {
$message="Something went wrong";
echo $message;
}
}

Attendance
<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Attendance extends CI_Controller


{

function __construct()
{
parent::__construct();
$this->load->database();
$this->load->model('login_model');
$this->load->model('dashboard_model');
$this->load->model('employee_model');
$this->load->model('loan_model');
$this->load->model('settings_model');
$this->load->model('leave_model');
$this->load->model('attendance_model');

40 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

$this->load->model('project_model');
$this->load->library('csvimport');
}

public function Attendance()


{
if ($this->session->userdata('user_login_access') != False) {
#$data['employee'] = $this->employee_model->emselect();
$data['attendancelist'] = $this->attendance_model->getAllAttendance();
$this->load->view('backend/attendance', $data);
} else {
redirect(base_url(), 'refresh');
}
}

public function Save_Attendance()


{
if ($this->session->userdata('user_login_access') != False) {
$data['employee'] = $this->employee_model->emselect();
$id = $this->input->get('A');
if (!empty($id)) {
$data['attval'] = $this->attendance_model->em_attendanceFor($id);
}
#$data['attendancelist'] = $this->attendance_model->em_attendance();
$this->load->view('backend/add_attendance', $data);
} else {
redirect(base_url(), 'refresh');
}
}

public function Attendance_Report()


{
if ($this->session->userdata('user_login_access') != False) {

$data['employee'] = $this->employee_model->emselect();
$id = $this->input->get('A');
if (!empty($id)) {
$data['attval'] = $this->attendance_model->em_attendanceFor($id);
}

$this->load->view('backend/attendance_report', $data);
} else {
redirect(base_url(), 'refresh');
}
}

41 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

public function getPINFromID($employee_ID) {


return $this->attendance_model->getPINFromID($employee_ID);
}

public function Get_attendance_data_for_report()


{
if ($this->session->userdata('user_login_access') != False) {
$date_from = $this->input->post('date_from');
$date_to = $this->input->post('date_to');
$employee_id = $this->input->post('employee_id');
$employee_PIN = $this->getPINFromID($employee_id)->em_code;
$attendance_data = $this->attendance_model->getAttendanceDataByID($employee_PIN,
$date_from, $date_to);
$data['attendance'] = $attendance_data;
$attendance_hours = $this->attendance_model-
>getTotalAttendanceDataByID($employee_PIN, $date_from, $date_to);
if(!empty($attendance_data)){
$data['name'] = $attendance_data[0]->name;
$data['days'] = count($attendance_data);
$data['hours'] = $attendance_hours;
}
echo json_encode($data);

/*foreach ($attendance_data as $row) {


$row =
"<tr>
<td>$numbering</td>
<td>$row->first_name $row->first_name</td>
<td>$row->atten_date</td>
<td>$row->signin_time</td>
<td>$row->signout_time</td>
<td>$row->working_hour</td>
<td>Type</td>
</tr>";
}*/

} else {
redirect(base_url(), 'refresh');
}
}

public function Add_Attendance()


{
if ($this->session->userdata('user_login_access') != False) {
$id = $this->input->post('id');
$em_id = $this->input->post('emid');

42 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

$attdate = $this->input->post('attdate');
$signin = $this->input->post('signin');
$signout = $this->input->post('signout');
$place = $this->input->post('place');

$this->load->library('form_validation');
$this->form_validation->set_error_delimiters();
$this->form_validation->set_rules('attdate', 'Date details', 'trim|required|xss_clean');
$this->form_validation->set_rules('emid', 'Employee', 'trim|required|xss_clean');
$old_date = $attdate; // returns Saturday, January 30 10 02:06:34
$old_date_timestamp = strtotime($old_date);
$new_date = date('m/d/Y', $old_date_timestamp);

// CHANGING THE DATE FORMAT FOR DB UTILITY


$new_date_changed = date('Y-m-d', strtotime(str_replace('-', '/', $new_date)));

if ($this->form_validation->run() == FALSE) {
echo validation_errors();
#redirect("loan/View");
} else {
$sin = new DateTime($new_date . $signin);
$sout = new DateTime($new_date . $signout);
$hour = $sin->diff($sout);
$work = $hour->format('%H h %i m');
if (empty($id)) {
$day = date("D", strtotime($new_date_changed));
if($day == "Fri") {
$duplicate = $this->attendance_model-
>getDuplicateVal($em_id,$new_date_changed);
//print_r($duplicate);
if(!empty($duplicate)){
echo "Already Exist";
} else {
$emcode = $this->employee_model->emselectByCode($em_id);
$emid = $emcode->em_id;
$earnval = $this->leave_model->emEarnselectByLeave($emid);
$data = array();
$data = array(
'present_date' => $earnval->present_date + 1,
'hour' => $earnval->hour + 480,
'status' => '1'
);
$success = $this->leave_model->UpdteEarnValue($emid, $data);
$data = array();
$data = array(
'emp_id' => $em_id,

43 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

'atten_date' => $new_date_changed,


'signin_time' => $signin,
'signout_time' => $signout,
'working_hour' => $work,
'place' => $place,
'status' => 'E'
);
$success = $this->attendance_model->Add_AttendanceData($data);
echo "Successfully Updated!";
}
} elseif($day != "Fri") {
$holiday = $this->leave_model-
>get_holiday_between_dates($new_date_changed);
if($holiday) {
$duplicate = $this->attendance_model-
>getDuplicateVal($em_id,$new_date_changed);
//print_r($duplicate);
if(!empty($duplicate)){
echo "Already Exist";
} else {
$emcode = $this->employee_model->emselectByCode($em_id);
$emid = $emcode->em_id;
$earnval = $this->leave_model->emEarnselectByLeave($emid);
$data = array();
$data = array(
'present_date' => $earnval->present_date + 1,
'hour' => $earnval->hour + 480,
'status' => '1'
);
$success = $this->leave_model->UpdteEarnValue($emid, $data);
$data = array();
$data = array(
'emp_id' => $em_id,
'atten_date' => $new_date_changed,
'signin_time' => $signin,
'signout_time' => $signout,
'working_hour' => $work,
'place' => $place,
'status' => 'E'
);
$this->attendance_model->Add_AttendanceData($data);
echo "Successfully Added";
}
} else {
$duplicate = $this->attendance_model-
>getDuplicateVal($em_id,$new_date_changed);

44 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

//print_r($duplicate);
if(!empty($duplicate)){
echo "Already Exist";
} else {
//$date = date('Y-m-d', $i);

$data = array();
$data = array(
'emp_id' => $em_id,
'atten_date' => $new_date_changed,
'signin_time' => $signin,
'signout_time' => $signout,
'working_hour' => $work,
'place' => $place,
'status' => 'A'
);
$this->attendance_model->Add_AttendanceData($data);
echo "Successfully Added.";
}
}
}
} else {
$data = array();
$data = array(
'signin_time' => $signin,
'signout_time' => $signout,
'working_hour' => $work,
'place' => $place,
'status' => 'A'
);
$this->attendance_model->Update_AttendanceData($id, $data);
echo "Successfully Updated.";
}
}
} else {
redirect(base_url(), 'refresh');
}
}
function import()
{
$this->load->library('csvimport');
$file_data = $this->csvimport->get_array($_FILES["csv_file"]["tmp_name"]);
//echo $file_data;
foreach ($file_data as $row){
if($row["Check-in at"] > '0:00:00'){
$date = date('Y-m-d',strtotime($row["Date"]));

45 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS


HUMAN RESOURCE MANAGEMENT 22MSC003

$duplicate = $this->attendance_model->getDuplicateVal($row["Employee
No"],$date);
//print_r($duplicate);
if(!empty($duplicate)){
$data = array();
$data = array(
'signin_time' => $row["Check-in at"],
'signout_time' => $row["Check-out at"],
'working_hour' => $row["Work Duration"],
'absence' => $row["Absence Duration"],
'overtime' => $row["Overtime Duration"],
'status' => 'A',
'place' => 'office'
);
$this->attendance_model->bulk_Update($row["Employee No"],$date,$data);
} else {
$data = array();
$data = array(
'emp_id' => $row["Employee No"],
'atten_date' => date('Y-m-d',strtotime($row["Date"])),
'signin_time' => $row["Check-in at"],
'signout_time' => $row["Check-out at"],
'working_hour' => $row["Work Duration"],
'absence' => $row["Absence Duration"],
'overtime' => $row["Overtime Duration"],
'status' => 'A',
'place' => 'office'
);
//echo count($data);
$this->attendance_model->Add_AttendanceData($data);
}
}
else {

}
}
echo "Successfully Updated";
}

}
?>

46 | M.SC - Compuer Science(2022-2024),Dept.Computer Science,VLB Janakiammal CAS

You might also like