Software Project
Software Project
BURIE CAMPUS
DEPARTEMENT OF COMPUTER SCIENCE
GROUP:-1
NAME ID
1. BR = Business Rule
2. CSS = Cascading Style Sheet
3. HTML = Hypertext Mark-up Language
4. Info = information
5. PHP = Hyper Text Preprocessor
7. UC = Use Case
8. UI = User Interface
9. UML = Unified Modeling Language
I
Acknowledgment
First of all, we would like to thank our Lord, who gives us patience, health, wisdom and ability.
Secondly, we thank some of the employees of DMU for giving us every information on their
current system. Finally we thank our teacher Mr.Temesgen for his patience and guidance.
Contents
II
List of Acronym...............................................................................................................................I
Acknowledgment............................................................................................................................II
CHAPTER ONE..............................................................................................................................1
1. Introduction..................................................................................................................................1
1.3 Motivation..................................................................................................................................3
1.6.1 Scope...............................................................................................................................4
1.8 Methodology..............................................................................................................................6
III
1.10.3 Time feasibility..............................................................................................................8
1.11 Annexes...................................................................................................................................9
CHAPTER TWO...........................................................................................................................11
2. System Analysis.........................................................................................................................11
CHAPTER THREE.......................................................................................................................44
IV
3. System Design...........................................................................................................................44
CHAPTER FOUR.........................................................................................................................50
4. Implementation..........................................................................................................................50
CHAPTER FIVE...........................................................................................................................58
CHAPTER SIX..............................................................................................................................61
6.1 Conclusion...............................................................................................................................61
6.2 Recommendation.....................................................................................................................61
References………………………………………………………………………………………………... 62
V
List of Figures
Figure 2.1 Work flow of proposed system....................................................................................12
Figure 2.2: gate pass paper document in the existing system........................................................15
Figure 2.1: requisition form paper document in the existing system.............................................. .
Figure 2.4 use case diagram...........................................................................................................20
Figure 2.5: Sequence diagram for create account..........................................................................37
Figure 2.6: Sequence diagram for login........................................................................................37
Figure 2.7: Sequence diagram for register vehicle........................................................................38
Figure 2.8: Sequence diagram for view vehicle information........................................................39
Figure 2.9 Sequence diagram for logout........................................................................................40
Figure 2.10: Activity diagram for Login.......................................................................................41
Figure 2.11: Activity diagram for create account..........................................................................42
Figure 2.12: Activity diagram for register vehicle........................................................................43
Figure 3.1 Class diagram...............................................................................................................45
Figure 3.2 Home page....................................................................................................................49
Figure 3.3 login as page.....................................................................................................................
Figure 3.4 first manager page............................................................................................................
Figure 5.1 Deployment diagram....................................................................................................60
VI
List of Tables
VII
Table 3.5: description of vehicle registration class.......................................................................47
Table 3.6: vehicle registration method..........................................................................................47
Table 3.7: driver class....................................................................................................................47
Table 3.8: driver method................................................................................................................48
Table 3.9: Send report class...........................................................................................................48
Table 3.10: Send report method.....................................................................................................48
Table 5.1 Unit testing....................................................................................................................58
Table 5.2. Integrated testing..........................................................................................................58
Table 5.3 System testing................................................................................................................59
VIII
CHAPTER ONE
1. Introduction
Online vehicle management system is a system which concerned with how vehicles could be
managed and controlled in digital based way by the employees of the organization. Currently, the
vehicle gives service use manual way of information gathering and documenting, no reliable
This project will intend to advocate for the need of organizations to change the manual system to
automated vehicle management system.
Automated systems make it possible to have a better accuracy, to increase the quality of the
work, to reduce the time it takes, to minimize cost, to keep the security and organization of data
in most advantageous condition, to make data transfer easier and also make it possible to save
and back up all transactions in case of vehicle management to keep the data in a centralized way
which is available to all the users simultaneously.
The university offers a wide range of undergraduate, postgraduate, and vocational programs
across various disciplines, including agriculture, engineering, social sciences, natural sciences,
health sciences, business, and humanities. With a strong emphasis on academic excellence,
innovation, and community engagement, Debremarkos University has become a hub for
intellectual growth, knowledge creation, and skill development among its students and faculty
members.
1
Debremarkos University is committed to promoting a culture of learning, critical thinking, and
ethical leadership among its students. The university's academic programs are designed to equip
graduates with the knowledge, skills, and values needed to excel in their chosen fields and
contribute meaningfully to society. Through its research activities, Debremarkos University
seeks to address pressing challenges facing the region and the country through innovative
solutions and evidence-based interventions.
The vehicle management system will be designed to provide real-time tracking of vehicles,
maintenance scheduling, fuel consumption monitoring, and cost analysis. By implementing this
system, Debremarkos University seeks to optimize the utilization of its vehicles, reduce
operational costs, and ensure the safety and reliability of its transportation services. It replaces all
the paper work. It keeps records of all vehicles that are under the organization also, given to the
2
co-workers, generally the project mange those performance in order to maximize the benefit of
the doubt from the existing system.
1.3 Motivation
This project is dedicated to: -
Model the existing manual Debre Markos University vehicle management system.
3
Study the existing system and find out the problem.
Design the new system that can overcome the problem of the current system.
Selecting the best alternative solution
Identifying alternative solution.
Understand functional and non-functional requirements of the system.
Design and modeling of the system.
Implementing the system in efficient way.
Design user interface for easy navigation and obtained of required information from
the database.
Testing the system.
1.6.1 Scope
Project scope is a detailed outline of all aspects of a project, including all related activities,
resources, timelines, and deliverables, as well as the project’s boundaries.
4
Assign drivers: -the proposed system of the project is supporting the manager to assign
drivers and notify them.
Create, update, activate and deactivate user account: - the system admin can create,
update, activate and deactivate user account.
Postpone schedule: - the manager can postpone the requested schedule.
Request vehicle maintenance: - the driver can request maintenance for his/her vehicle.
Approve/cancel maintenance request: - the mechanic can approve/cancel the driver
request based on technical and personal capability.
5
For customer: - since the system reduces the time consumed during schedule work trip
to give field maintenance services for the customer the customer are also will be the
beneficial from this system.
1.8 Methodology
The method of Requirement gathering that is used on this project includes Interview,
Observation and document analysis to collect/ gather information and data of the existing system
to develop new system.
6
Interview: - we contact the representative of the organization and then exchange
some ideas about their current system, how it has been working and the structure of
this organization. As a general, we gather enough data in order to prepare our project.
Observation: we look and examine how the workers are doing their work so that we
would understand the existing system. We observe the actual work in scheduling staff
of the organization to gather additional data (i.e. manual scheduling system) being
done by the organization and consolidated with what was obtained through
observation.
Random drawing of ideas (Brainstorming): - Ideas that were generated from group
members are the starting point of this project and continued to the main base in order
to finish the project and to make the system more effective.
Document analysis: reading the document available in the organization and by
visiting the organization.
Desktop computer(laptop)
Storage device: hard disk & Flash disk
Internet cable
Internet network
Pen
Paper
Printer
Digital camera
Software tools
7
Notepad++
Browser: - Opera & Chrome
8
Giving immediate responses to the users.
Minimize the response time of the tasks required.
The system is less time consuming.
Schedule feasibility determines whether the proposed system will be completed on the given
schedule or not. Whatever the scarcity of time given for the project, by the internal motivation
and potential of the team members of the project, we surely expect as the project will be
completed on time so the system is schedule feasible.
1.11 Annexes
9
9 Project
submission date
No Software Cost(birr)
1 Browser 15
2 WAMP 15
3 Operating system 50
4 Microsoft 20
5 Adobe Photoshop 15
6 Notepad++ 10
TOTAL 125 birr
10
CHAPTER TWO
2. System Analysis
This chapter covers introduction of the existing system, role of the existing system, and major
functions/activities of the proposed system. This chapter also covers practices to be preserved
from the existing system, proposed solution of the existing system that address problems of the
existing system and requirements of the proposed system.
11
Register the car
Calculate fuel balance
Prepare exit permission
Driver: The duty of drivers are listed below
Drive
Check the vehicle regularly
12
2.3 System Requirement Specification
2.3.1 Functional requirements
The functional requirements of the system describe the necessary functions for which the system
is expected to fulfill. The system describes a single and well defines goal of digitalized system
for vehicle management system, and the steps involved to reach this goal. A function is
described as a set of inputs, the behavior and output. The requirements specified are helpful to
clearly understand the scope and the objective of the system, and consequently this will be
helpful for designing the system effectively. The proposed system meets the following
functionalities.
Account management:
Create account
Update account
Activate/Deactivate account
Registration
Register vehicle
View information
View notification
View maintenance request
View registered vehicles
Request service.
Request maintenance.
Request transport service.
Approve request
Send notification.
Give exit permission
Assign vehicle
Generate report
13
2.3.2. Non- functional requirements
Non-functional requirements that specify criteria’s that can be used to judge the technical
operation of a system, rather than specific characters. This should be opposing with that of
functional requirement that define specific behavior.
In General, non-functional requirement
Security:
Authentication and authorization: deal with identifying a user and what a
user is allowed to do respectively.
Session: once the user’s logout from the system then the session do not enable
to return to the previous page
The information provider by the user should be authentic which protect the
system from external attack and spamming.
Performance:
The response time for loading and processing a given task is very fast and triggered by
a single click.
The system should provide the services in considerable time interval.
Reliability:
Increase reliability of the system by removing commonly made errors and
feeding correct inputs for processes.
Provides to the user correct information.
The system notifies users to correct the input data when they enter wrong
inputs.
The system will be able to meet specified objectives as well as the expectations
of the customer.
Usability: User interface will be user friendly, so user can familiar to the system and easy
to use.
Availability
The system would be available for access with connected network and power
source.
Portability
14
The system run on every version of web browser.
15
16
Figure 2.1: requisition form paper document in the existing system
Rule 1: Users of the system must have proper user name and password in order to
login the system.
Rule 2: The manager should check the fuel balance of the car while the car travelled.
Rule 3: The manager must generate report in case of some conditions occur.
Rule 4: Vehicles should be maintained when they are damaged or based on schedule
maintenance report.
Rule 5: The manager should approve the request of the staff.
Rule 6: manager assigned the vehicle and automatically sends notification for driver
and requester staff.
17
2.4 System Requirement Analysis
2.4.1 Actors and use case identification
Each type of external entities with which the system must interact is represented by an actor.
Actors may represent roles played by human users, external hardware, or other subjects.
Request service
Manage request
Assign vehicle
Manage account
Register vehicle
Submit comment
View comment
Update account
Maintenance request
18
Generate report
Send report
View response
Login
Create account
Delete account
Update account
Check fuel balance
Register vehicle
View vehicle Information
Generate report
View route information
Submit comment
View comment
Logout
19
use cases the team examined the needs of users, the main tasks of users, what users inform the
system and what the system informs users.
20
Figure 2.4 use case diagram
Use case description includes use case Id, use case name, particular actors, descriptions of the
use case, preconditions, basic course of action (actor action and system response), post
conditions, flow of event and whatever which is important in modeling the system.
21
Use case name Login
UC ID UC 1
Precondition They must have user account, user name and password.
Alternative course of 5.1. If username and password is not validating, the system display
action login fail and return to basic course action 3.
22
Table 2.2: Use case description of login
Actor: Administrator
1. Administrator select
Basic course of action create user account link.
3. Administrator enters user 2.System display creates
information. Account form.
4. Administrator click submit 5. System checks user information.
button. 6. System creates successfully user account.
7. Use case end
Alternative 5.1. The system display error messages that the input values are incorrect
course of return to step 3.
Action
Post-condition: User account is created.
23
Table 2.3: Use case description of create account
Post conditions The route information details must added into the database
Alternative A4: if there is no route information the system displays "no route
Courses: information yet! ".
24
Use case name: Update account
Description Manager, driver, officer, passenger and staff update their account
Alternative course 5.1. The system display error messages that the input values are
of Action incorrect.
Post-condition: Account is updated
25
Use case name: Delete account
Actor: Administrator
Description It allows the Administrator to delete user account from the system.
Pre-condition: The Administrator activates and login in to the system
Alternative course of 5.1. If Administrator click no button, then system back into basic
Action course of action 3.
Post-condition: Account is deactivated.
26
Use case name: View Vehicles info.
Use case ID: UC 6
Actor: Manager
Description It allows manager to see the detail information of the vehicles.
Pre-condition: Manager open and login into the system.
User action System response
Basic course of action 1. Manager click on view 2. The system displays the detail
vehicle Information link. information of all registered
3. Use case end vehicle information.
Alternative course of 5.1. The system displays incorrect entered data message and return
Action to path 3
Post-condition: The vehicle is registered.
27
Table 2.8: Use case description of register vehicles
Actor: Manager
Description It allows the manager to assign car for the requested service
28
Use case name: Calculate fuel balance
Actor: Manager
Description The fuel balance form takes and compares two reading of current
entry and the previous saved reading and produces fuel balance data.
Pre-condition: Manager must get information of vehicles status.
User action System response
Basic course of action 1. Manager enters username and 2. System checks the
password. validity of username and
4. Manager enters input value. password and then checks
6. The system save the difference for authentication and
and store the status of fuel. authorization.
7. Use case ends. 3.System display fuel
balance page
5. System checks the
validity the input data.
.
29
Use case name: Request maintenance
Actor: Driver
Description A driver formulate request to repair vehicle. The request describes briefly
the vehicle problem.
Pre-condition: Driver is registered.
30
Use case name: Request vehicle service
Use case ID: UC 12
Actor: Officer and staff
Description It allows the staff (i.e. employee under officer) request service to
officer and the officer directly request vehicle service to manager.
Pre-condition: Officer and staff enter user name and password.
1. Officer and staff enter user name and 2. System checks the
Basic course of action password. validity of username and
3. The officer and staff click the request password and then checks
service button. for authentication and
5.Officer and staff fill required vehicle authorization.
information on displayed form. 4. The system displays
6. User clicks send request button. request service form.
8. Use case ends. 7.System checks validity
of the information
8. The system displays
sent message
acknowledgement.
31
Use case name: Generate report
Use case ID: UC 13
Actor: Manager
Description It allows administrator and manager generating report for the tasks
performed and if there is any difficult problem.
Pre-condition: The admin and manager open the system and login to the system
User action System response
1. The user must log to his/her 3. The system displays the
Basic course of action page options (criteria).
2. The user select generate 5. System check selected
report link. criteria by the user.
4. The user selects the criteria 6. The system displays the
from the given options and clicks information to the user.
on Display button.
7. the user can print it out.
8. Use case ends.
Alternative course5.1.
of The system displays error message as invalid selection.
Action
Post-condition: The report will be generated.
32
Table 2.13: Use case description of generate report
Actor: Mechanic
Description This use case describes viewing maintenance request to repair the
vehicle.
Pre-condition: The mechanics open the system and login to the system
33
3. System display viewing
8. Use case ends. maintenance request page.
5. System display
recommended page.
7. System automatically
updates the vehicle
condition and sends
response to driver.
34
4. The driver and officer insert all comments
the has been been sent.
required fields.
7. Use case ends.
35
Use case name: Logout
Use case ID: UC 17
Actor: Admin, manger, driver, mechanic, passenger, officer and staff
A sequence diagram shows object interactions arranged in time sequence. It is dynamic model of
use cases, showing the interaction among classes during a specified time period. A sequence
modeling in our system is used to formalize the behavior of the system and to visualize the
communication among objects. It helped us to identify additional objects and participate in the
use case. This phase of the document ties uses cases with objects and shows the behavior of a use
case is distributed among its participating objects.
36
Figure 2.5: Sequence diagram for create account
37
Figure 2.6: Sequence diagram for login
38
Figure 2.7: Sequence diagram for register vehicle
39
Figure 2.8: Sequence diagram for view vehicle information
40
Figure 2.9 Sequence diagram for logout
41
2.7 Activity Diagram
Activity diagram is another important diagram in UML to describe dynamic aspects of the
system. Activity diagram is basically a flow chart to represent the flow form one activity to
another activity. The activity can be described as an operation of the system. So, the control flow
is drawn from one operation to another. This flow can be sequential, branched or concurrent.
Activity diagrams deals with all type of flow control by using different elements like fork, join
etc.
42
Figure 2.11: Activity diagram for create account
43
Figure 2.12: Activity diagram for register vehicle
44
CHAPTER THREE
3. System Design
3.1. Design of class diagram
The class diagram is a static model. It represents the static view of an application. Class diagram
is not only used for visualizing, describing and documenting different aspects of a system but
also for constructing executable code of the software application. The class diagram shows a
collection of classes, interfaces, associations, collaborations and constraints.
The class diagram is the main building block of object oriented modeling. It shows the static
structure of the system in terms of classes and objects, their internal structure, and the
relationships in which they participate. Classes are abstractions that specify the attributes and
behavior of a set of objects. Objects are entities that encapsulate state and behavior. It also used
for both for general conceptual modeling of the systematic of the application, and for detailed
modeling translating the models into programming code. Class diagram represents a detailed
view of a single use case, shows the classes that participate in the use case, and documents the
relationship among the classes.
In the diagram, classes are represented with boxes which contain three parts:
The top part contains the name of the class. It is printed in bold and centered.
The middle part contains the attributes of the class. They are left-aligned.
The bottom part contains the methods the class can execute. They are also left-aligned
45
Figure 3.1 Class diagram
46
Attribute Purpose Type
User-id To identify the user Varchar (20)
Full Represents the name of the Varchar (15)
Name user
Starts Represent where the vehicle Varchar (15)
departure
Arrival Represents the destination Varchar (15)
place of the vehicles
Times Represents when it reaches Varchar (15)
from starts to arrival
Reason It describes for what purpose Varchar (15)
it goes
Method Purpose
47
Method Purpose
Method Purpose
register car () Used to register car
View vehicle info () Used to view vehicle info
48
Method Purpose
submit comment () Used to send comment
send report () Used to send report
Methods Purpose
49
3.2 User Interface Design
50
Figure 3.2login page
CHAPTER FOUR
4. Implementation
4.1 Programing Language Used
51
actor fills the form after he or she knows the field is required. The system retrieves
username and password which the actor submits.
If username! =username or password! =password or status! =active: - Authentications for
the right actor. Display error message “Invalid username or password or your account is
deactivated”.
If his/her account detail is correct access the required page.
// Check connection
if($conn === false){
die("ERROR: Could not connect. " . mysqli_connect_error());
}
echo "Connect Successfully " ;
?>
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
52
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
// Execute query
if ($conn->query($sql) === TRUE) {
echo "Table 'users' created successfully";
} else {
echo "Error creating table: " . $conn->error;
}
// Close connection
$conn->close();
?>
53
$conn = mysqli_connect("localhost", "root", "");
// Check connection
if($conn === false){
die("ERROR: Could not connect. " . mysqli_connect_error());
}
echo "Connect Successfully " ;
//create database
$db="create database project";
if(mysqli_query($conn,$db))
{
echo "database created Successfully";
}
else
{
echo "canot create database $db".mysqli_error();
}
?>
54
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
if ($stmt->execute()) {
$result = $stmt->get_result();
if ($result->num_rows > 0) {
$user = $result->fetch_assoc();
55
header("Location: mechanicalside.html");
break;
case 'manager':
header("Location: managerside.html");
break;
case 'driver':
header("Location: driverside.html");
break;
default:
// Redirect to a default page if role is not recognized
header("Location: default.html");
break;
}
} else {
echo "Invalid password.";
}
} else {
echo "No user found with the given email and username.";
}
} else {
echo "Error: " . $stmt->error;
}
$stmt->close();
}
$conn->close();
?>
56
// Database connection parameters
$servername = "localhost";
$username = "root"; // default username for WAMP
$password = ""; // default password for WAMP
$dbname = "project";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
if ($stmt->execute()) {
// Redirect based on user role
switch ($role) {
57
case 'mechanic':
header("Location: mechanicalside.html");
break;
case 'manager':
header("Location: managerside.html");
break;
case 'driver':
header("Location: driverside.html");
break;
default:
// Redirect to a default page if role is not recognized
header("Location: default.html");
break;
}
} else {
echo "Error: " . $sql . "<br>" . $conn->error;
}
$stmt->close();
}
$conn->close();
?>
58
CHAPTER FIVE
5. Testing and Deployment
Testing is a trial experience in which the deliverables of the project are checked with acceptable
Standards in the project. We used unit testing, system testing to test the correctness of each
Module and the compiled program.
Tested Form Test Case Expected Result
Display a message when user
validate user name and
didn’t fill user name or password
Login Form password entry as an input
and also when there is user name
from each end users
or password error.
Display a message when user left
some text fields, radio buttons,
controlling the proper combo boxes or date and time
All other forms
insertion of data unfilled and
insert improper data in to the form
try to save.
59
Table 5.1 Unit testing.
Integrated testing: - all the modules will be combined together and tested it for its
fitness with each other and with the systems functionality. If error occurs in
combining them, the module with problem will be identified and recombined.
System testing: - the team member to performs over all functional testing by
checking whether it meets the required target or not. Here the system is partially
functional and reached its requirement.
60
report if the request is valid,
functionality if request is invalid display
report
of report form message box that describes
the invalidity
To provide
To validate the The form is presented and
the function
All forms functionality the required function can
required by the
of each form operated using the form
form
Table 5.3 System testing
61
Figure 5.1 Deployment diagram
62
CHAPTER SIX
6. Conclusion and Recommendations
6.1 Conclusion
As the scope of this project described we developed the vehicle management system for RESCO
by making it more reliable and efficient. The system would register vehicles and perform
additional task that would be performed by the system.
So, the system would: -
Minimize the time required to perform task
Minimize the work load of employees
Increase customer satisfaction
This document use the object oriented technology called UML (unified modeling language) that
enable the user to understand the software easily.
We finally concluded that this vehicle management system would be benefited by the system
developed, and accept it cheerfully. During working on this project, we members of the team had
learned a lot.
6.2 Recommendation
The system that we have developed involves online based vehicle management system for
RESCO. We recommend the following features need to be included in any further revision and
extension attempt.
May used the android or mobile based application.
Use uninterruptible power supply (UPS) if electric power is not available.
Integrate with the traffics system.
Adding the chatting system.
Include GPS.
They done all system in organization are automated
Update this system to android based system or integrate with android and PHP.
Therefore, others who are interested to develop a new system on vehicle management system for
bus station or other related systems can get some initial idea about the system. By focusing on
the limitation and functional areas of the system they can also develop a better vehicle
management system that automates all files managed in vehicles management office.
63
References
[1]
Jeffery A.Hoffer, Joey F.George. Modern systems analysis and design. (2005).
[2] Jeffery L.Whitten, Lonnie. Systems analysis and design methods (2004 G.C).
[4] Object Oriented and the UML.2nd rev. Ed England: The Cambridge University Press.
64
Submitted by
Student Signature Date
1.KIDANEMARIYAM FRESBHAT__________________________________
2.ROBEL YISEHAK______________________________________________
3.EYASU ABEBE_________________________________________________
4.KALEAB GETNET_____________________________________________
5. HAYMANOT TILAHUN_________________________________________
ETHIOPIA
DATE OF SUBMISSION 21/11/2016 E.C
65