final-year-project-for-software-engineer-students-fyp-1
final-year-project-for-software-engineer-students-fyp-1
Project Advisor:
Miss Arifah Azhar
Submitted By:
Saad Ahmad F2016065192
Maryam Zafar 15009065032
Muhammad Hassan F2016266048
Umer Shehzad F2016266008
Session
2015-2019
2016-2020
“Charagh-e-ilm”
Page | 1
Dedication
“Charagh-e-ilm”
Page | 2
Final Approval
Head of Department
______________________
Department of Software Engineering
School of Systems and Technology
UMT Lahore
Supervisor ______________________
School of Systems and Technology
UMT Lahore
“Charagh-e-ilm”
Page | 3
Acknowledgment
“Charagh-e-ilm”
Page | 4
Project Title
Charagh-E-Ilm
Platform
Website
Tools
Sublime text
Firebase
PHP,HTML, CSS, JavaScript and Bootstrap
CodeIgniter
Software Requirements
To run this product the following are required:
Android OS (7.0 or greater)
Windows 7,8,10
Hardware Requirements
To run this product the following are required:
Minimum of 1GB RAM
A processor of minimum 1GHz
Minimum 500 MB of storage
To run this website application product the following are required:
Minimum 2GB RAM
“Charagh-e-ilm”
Page | 5
Plagairism Report
“Charagh-e-ilm”
Page | 6
Supervisor’s Approval
Moreover, I have also checked for the plagiarism beyond Turnitin in the
documentation and I am convinced that this documentation is not
plagiarized.
“Charagh-e-ilm”
Page | 7
Abstract
“Charagh-e-ilm”
Page | 8
CONTENTS
CONTENTS............................................................................................... 3
DEFINITIONS AND ACRONYMS.......................................................................................... 4
LIST OF FIGURES........................................................................................................... 5
LIST OF TABLES............................................................................................................ 6
1. INTRODUCTION...................................................................................7
1.1 MOTIVATIONS....................................................................................................... 7
1.2 PROJECT OVERVIEW............................................................................................... 7
2. DOMAIN ANALYSIS..............................................................................8
2.1 CUSTOMER........................................................................................................... 8
2.2 STAKEHOLDERS..................................................................................................... 8
3. REQUIREMENTS ANALYSIS...................................................................9
3.1 REQUIREMENTS..................................................................................................... 9
3.2 LIST OF ACTORS................................................................................................. 10
3.3 LIST OF USE CASES..............................................................................................10
3.4 SYSTEM USE CASE DIAGRAM..................................................................................10
3.5 USE CASES........................................................................................................ 11
4. DATA FLOW DIAGRAM (OPTIONAL).....................................................12
4.1 DATA FLOW DIAGRAM LEVEL 0..............................................................................12
4.2 DATA FLOW DIAGRAM LEVEL 1..............................................................................12
4.3 DATA FLOW DIAGRAM LEVEL 2..............................................................................13
5. SYSTEM DESIGN...............................................................................14
5.1 CLASS DIAGRAM.................................................................................................14
5.2 SEQUENCE DIAGRAMS..........................................................................................15
5.3 OTHER UMLS..................................................................................................... 15
6. TESTING........................................................................................... 16
6.1 TEST CASES....................................................................................................... 16
6.2 TRACEABILITY MATRIX..........................................................................................17
6.2.1 RID vs UCID (requirements vs use cases).....................................17
“Charagh-e-ilm”
Page | 9
“Charagh-e-ilm”
Page | 10
“Charagh-e-ilm”
Page | 11
Acronym Definition
“Charagh-e-ilm”
Page | 12
CHAPTER 1
INTRODUCTION
“Charagh-e-ilm”
Page | 13
1.1 Motivations
We are living in an era where people are conscious about spending money.
They want to know where their money is being used. We see very little
amount of people using their money for charities and the reason can be
distrust on organizations. Doing charity is one of the first acts of kindness. As
time passed people made it a business and the purpose of donation died.
1.2.1 Donor/user:
The donor is an important actor of the application. This user of this
application wants to be assured of where they are donating their money. This
application is verified and provides everything a donor would like to know.
“Charagh-e-ilm”
Page | 14
1.2.2 Admin
1.4 Objectives
This website believes in accomplishment and achievement of goals
effectively and efficiently.
This website will help donors achieve what they want.
Major features of this website include:
Establishing trust factors of an NGO with donor.
Record/backup of donation kept.
Online Registration for donor
Authorized donor
Complete record of the donor and updated with every new
donation
Record of the donor’s past donations
One-time access (anonymous)
Online donation transfer
“Charagh-e-ilm”
Page | 15
CHAPTER 2
DOMAIN ANALYSIS
“Charagh-e-ilm”
Page | 16
2.1 Customer
This is a paid project made for Mr. Mujtaba Sarib CEO IECP.
2.2 Stakeholders
List of stakeholders which are affected and being affected by the
business and the primary stakeholders of the system: -
Table 2: List of Stakeholders
Stakehold Role in System
er
Administrat Administrator of the application and manage
or database.
Users People or organizations that will provide funding.
Each source brings stakeholders that must be kept
interested and engaged.
Volunteers From board members to the generous folks who
help you keep your organization running..
System System will get the request the request of user and
response to it.
Developer They can update application according to
requirements.
“Charagh-e-ilm”
Page | 17
“Charagh-e-ilm”
Page | 18
CHAPTER 3
REQUIREMENTS ANALYSIS
“Charagh-e-ilm”
Page | 19
3.1 Requirements
The different types of requirements of our system are functional, non-
functional, data, constraints and external interface requirements which
are given as
The requirements for our system are given.
Table 4: Requirements
RID description Category Attribute
R-1 Registered Donor Accounts Functional Registered donor can create
their accounts, give their
information, can sign in the
system. Admin is allowed to
approve the requests of
users or manage their
accounts.
“Charagh-e-ilm”
Page | 20
will be successful.
R-7 Change details Functional Registered user can
update its details
according to need like
change email etc.
R-8 Delete Account Functional Registered User can
delete the account in
case of any
inconvenience.
R-9 Payment methods Function Banks/Easy paisa/Jazz cash
Registered User:
Registered donor can create their accounts, give their information, can
sign in the system. When registered donor send amount, a
tracking ID will be shown, which will give the record of their
amount.
Admin:
This person will be responsible for all the operations including
approval of all the requests from the users and all the crud
operations.
“Charagh-e-ilm”
Page | 21
Guest User:
A form will be shown to guest user, in which he/she can donate
money without any registration and email is optional for the sake
of verification.
UC-8 About Us
UC-9 Contact Us
UC-13 Logout
“Charagh-e-ilm”
Page | 22
3.4.1 Payment
“Charagh-e-ilm”
Page | 23
3.4.2 Contact us
“Charagh-e-ilm”
Page | 24
“Charagh-e-ilm”
Page | 25
Exceptions: If the credentials enter by user are wrong or the user hasn’t
entered any valid email, then the system will show:
“Charagh-e-ilm”
Page | 26
“Charagh-e-ilm”
Page | 27
“Charagh-e-ilm”
Page | 28
Exceptions If user does not enter the valid email, then an error will
be shown that “Please enter the valid email”.
Includes: None
Frequency Donor recover his password every times he forget it.
of Use:
Special None.
Requireme
nts:
Assumption 1. User is connected with internet.
s: 2. He understands English Language to use the system.
Notes and None
Issues:
“Charagh-e-ilm”
Page | 29
Actors: Admin
Exceptions No exceptions.
Includes: None
“Charagh-e-ilm”
Page | 30
Guest User
1. Click on Donate button.
2. User will fill the credentials.
3. If email is given in payment form, then guest will
receive verification email.
“Charagh-e-ilm”
Page | 31
“Charagh-e-ilm”
Page | 32
Issues:
Exceptions: .If user does not enter save buttons, then no change will
occur.
Includes: Login the account[UC-2].
Frequency Every time Donor login.
of Use:
Special There would no special requirement required for this use
Requireme case.
nts:
Assumption 3. User need to be connected with internet.
s: 4. He understands English Language.
“Charagh-e-ilm”
Page | 33
Table no 12 : About us
Created By: Saad Ahmed Last Updated Saad Ahmed
By:
Date 29-12-2019 Last Revision 02-09-2020
Created: Date:
Use Case UC-8
ID:
Use Case About us
Name:
Actors: Donor, Guest
Description Donor and guest wants to contact information of
: organization.
Trigger: Donor and guest clicks the about us button
Preconditio 1. User must be on main page
ns:
Post 1. User is brought to the screen where contact
conditions: details are shown
Normal 1. This use case starts when a user wants to get
Flow: contact information.
2. User clicks the about us button.
3. Phone number, email, and address shown.
Alternative Donor and guest go to contact us, leave message there
Flows: and notify within 1 day.
Includes: None.
Frequency Every time user wants render about us.
of Use:
Special There would no special requirement required for this use
Requireme case.
nts:
“Charagh-e-ilm”
Page | 34
Includes: None.
“Charagh-e-ilm”
Page | 35
Issues:
Exceptions: None
“Charagh-e-ilm”
Page | 36
“Charagh-e-ilm”
Page | 37
nts:
“Charagh-e-ilm”
Page | 38
Includes: None
Includes: None
“Charagh-e-ilm”
Page | 39
Figure no 7: Home UI
“Charagh-e-ilm”
Page | 40
Figure no 8: About UI
“Charagh-e-ilm”
Page | 41
achievements and upcoming events. The About us page updated as per the
increase of upcoming events, 3 missions and achievements.
Figure no 9: Cases UI
“Charagh-e-ilm”
Page | 42
This is a Third prototype of our website. It is “Cause” UI in which you can see
the complete portfolio, number of goals achievements, number of conducted
workshops and Ngo status lie in society.
“Charagh-e-ilm”
Page | 43
This is a Forth prototype of our website. It is “Gallery” UI in which you can see
the complete albums of events, board of members pictures and conducted
workshop pictures also the meetings albums are uploaded here.
“Charagh-e-ilm”
Page | 44
This is a Fifth prototype of our website. It is “News” UI in which you can see
the upcoming news, events and workshops dates, time and their venue also
articles and blogs uploaded here.
“Charagh-e-ilm”
Page | 45
“Charagh-e-ilm”
Page | 46
“Charagh-e-ilm”
Page | 47
“Charagh-e-ilm”
Page | 48
“Charagh-e-ilm”
Page | 49
“Charagh-e-ilm”
Page | 50
“Charagh-e-ilm”
Page | 51
“Charagh-e-ilm”
Page | 52
“Charagh-e-ilm”
Page | 53
CHAPTER 4
DATA FLOW DIAGRAM
“Charagh-e-ilm”
Page | 54
“Charagh-e-ilm”
Page | 55
“Charagh-e-ilm”
Page | 56
CHAPTER 5
SYSTEM DESIGN
“Charagh-e-ilm”
Page | 57
“Charagh-e-ilm”
Page | 58
“Charagh-e-ilm”
Page | 59
“Charagh-e-ilm”
Page | 60
“Charagh-e-ilm”
Page | 61
“Charagh-e-ilm”
Page | 62
“Charagh-e-ilm”
Page | 63
“Charagh-e-ilm”
Page | 64
4.4.6 Donation
“Charagh-e-ilm”
Page | 65
4.5 ERD
The Entity relationship diagram corresponds the table of databases.
The different entity has relation with each other and each entity has its
own attributes. The entity relationship diagram for the system is given
in figure 33.
“Charagh-e-ilm”
Page | 66
“Charagh-e-ilm”
Page | 67
CHAPTER 6
IMPLEMENTATION DETAILS
“Charagh-e-ilm”
Page | 68
In this chapter we discuss some important topics like how the project
developed and which tool is used to develop and some constraints.
Technologies:
PHP
HTML
“Charagh-e-ilm”
Page | 69
CSS
Bootstrap
JavaScript
JQuery
6.3 Algorithms
None
6.4 Constraints
The limitations upon the framework are as per the following
6.4.1 Assumptions
Application and databases upkeep will be dealt with by the developers.
All databases will be dealt with by the admin itself. In the event that
there is any issue with respect to framework failures than project team
will be accessible for help.
The preparation plan will be based on the training requirements
assembled through gatherings also, workshops.
6.4.2 System constraints
System gives web interface just when the client's device can work with
these platforms.
The framework must have the option to run on Windows 7, 8, 10.
PHP must be utilized as the language it was developed in initially.
6.4.3 Restrictions
Administrator has rights to demonstrate the donors active.
Administrator has the right to suspend the inactive donor and will be
handled by the administrator side.
6.4.4 Limitations
Our framework doesn't have mobile application.
User can just access the framework by using the web interface.
Our framework doesn't give tracking facility.
“Charagh-e-ilm”
Page | 70
CHAPTER 7
TESTING
“Charagh-e-ilm”
Page | 71
The test cases of the system are designed to test the system as a user whether it is
working properly. The system test cases helps to removes the error occurred which user
faces during the use of it. Every feature of the system is tested by the tester to bring out
the errors and then the developers remove it or try to minimize it as much as it can be:
“Charagh-e-ilm”
Page | 72
Post Condition: The user clicks on the Register button gives details after clicking OK the
message will be shown that “Request successfully send”.
The Log in Test Case for the Users and Admin is shown in Table 19. Login Test Case
“Charagh-e-ilm”
Page | 73
The Forget Password Test Case for the Users is shown in Table 20. Forget Password Test
Case
Ste Test Step Test Data Excepted Actual Result Status(Pass/Fail) Notes
p Result
1 Users Pass
must be
connected
with
Internet.
2 Navigate The page is The page is
to login sent in sent in
page. response response
3 Press the Email An alert Alert shows.
Forget shows” link
Password will be sent to
“Charagh-e-ilm”
Page | 74
Button. email” if
valid
otherwise an
alert shows
“Invalid
Email”.
4 After New Password Alert shows Notification
clicking “successfully Appears.
Confirm
link that Password reset
will be Password”.
send.
Post Condition:
The user will successfully reset his/her password.
The Block user Test Case for the Admin is shown in Table 21. Block Test Case
“Charagh-e-ilm”
Page | 75
Internet.
2 Navigate The page is The page is
to sent in sent in
response response
Log-in
page.
3 Press the Email, A Notificatio
Sign in Passwor Notification n
Button. d will be displayed.
shown to
Admin for
successfully
login.
4 Admin Email Successfull Notificatio
will y blocked n displayed
Block the
user
Post Condition:
A dialogue box will open with a message “user has successfully Blocked.
The Payment Method Test Case for the Payment is shown in Table 22.Payment test case
“Charagh-e-ilm”
Page | 76
The Transaction history Test Case for the Admin is shown in Table 23. Transaction
history Test Case
“Charagh-e-ilm”
Page | 77
“Charagh-e-ilm”
Page | 78
The Edit profile Test Case for the Users is shown in Table 24. Edit profile Test Case
“Charagh-e-ilm”
Page | 79
click on Gender
Edit Email
profile
button to
edit.
5 User will A dialogue Notificatio
click on box with n
save message displayed.
button “successfull
y
Completed”
The About us Test Case for the Users is shown in Table 25. About us Test Case
“Charagh-e-ilm”
Page | 80
1 Users Pass
must be
connected
with
Internet.
2 Navigate The page is The page is
to sent in sent in
response response
Home
page.
3 Click on There Info
the About should be a shown.
us button page show
with
organization
info
The Contact us Test Case for the Users is shown in Table 26. Contact us Test Case
“Charagh-e-ilm”
Page | 81
The Approve sign up request Test Case for the Users is shown in Table 27 Approve sign up
request Test Case
“Charagh-e-ilm”
Page | 82
“Charagh-e-ilm”
Page | 83
check of
given
data.
Post Condition: Table of all requests will shows to Admin.
The Search donor account Test Case for the Users is shown in Table 28 .Search donor account
Test Case
“Charagh-e-ilm”
Page | 84
shown if
valid ID is
given in
search box.
Post Condition: The view of user information will be show, where Admin can view the user’s
detail.
The Delete user Test Case for the Users is shown in Table 29. Delete user Test Case
“Charagh-e-ilm”
Page | 85
The Log out Test Case for the Users and Admin is shown in Table 30. Log out Test Case
“Charagh-e-ilm”
Page | 86
“Charagh-e-ilm”
Page | 87
UC 3
UC 4
UC 5
UC 6
UC 7
UC 8
UC 9
UC 10
UC 11
UC 12
UC 13
“Charagh-e-ilm”
Page | 88
TC 8
TC 9
TC 10
TC 11
TC 12
TC 13
CHAPTER 8
RESULTS/OUTPUTS/STATISTICS
“Charagh-e-ilm”
Page | 89
8.1 %completion
Completion 12/13*100
= 93%
8.2 %accuracy
Accuracy 13/13*100
=100%
8.3 %correctness
Correctness =11/12*100
=93%
“Charagh-e-ilm”
Page | 90
CHAPTER 9
CONCLUSION
“Charagh-e-ilm”
Page | 91
Conclusion
In this project, we developed an automated donation system for an NGO.
Which helps the Donor to donate and track his payment that it actually used
on the orphan child’s education. It is also helpful for NGO to manage their
records and updated their fields by upcoming projects.
“Charagh-e-ilm”
Page | 92
CHAPTER 10
FUTURE WORK
“Charagh-e-ilm”
Page | 93
“Charagh-e-ilm”
Page | 94
CHAPTER 11
APPENDIX
“Charagh-e-ilm”
Page | 95
“Charagh-e-ilm”
Page | 96