You are on page 1of 127

Poultry Management System for Farm Fresh

Name: Shariff Khan Shihan Mohamed


Index No: E113955
London Met ID: 20048080

London Metropolitan University


Declaration
Module: CS6P05ES Deadline: 6th of November 2021
Module Leader: Prof. Ruvan Student ID: Your ID Number Goes Here
PLAGIARISM

You are reminded that there exist regulations concerning plagiarism. Extracts from these regulations
are printed below. Please sign below to say that you have read and understand these extracts:

(signature:)______Shihan Mohamed________ Date: 06/11/2021

This header sheet should be attached to the work you submit. No work will be accepted without it.

Extracts from University Regulations on Cheating, Plagiarism and Collusion


Section 2.3: "The following broad types of offence can be identified and are provided as indicative examples…
(i) Cheating: including taking unauthorised material into an examination; consulting unauthorised
material outside the examination hall during the examination; obtaining an unseen examination
paper in advance of the examination; copying from another examinee; using an unauthorised
calculator during the examination or storing unauthorised material in the memory of a programmable
calculator which is taken into the examination; copying coursework.
(ii) Falsifying data in experimental results.
(iii) Personation, where a substitute takes an examination or test on behalf of the candidate. Both
candidate and substitute may be guilty of an offence under these Regulations.
(iv) Bribery or attempted bribery of a person thought to have some influence on the candidate's
assessment.
(v) Collusion to present joint work as the work solely of one individual.
(vi) Plagiarism, where the work or ideas of another are presented as the candidate's own.
(vii) Other conduct calculated to secure an advantage on assessment.
(viii) Assisting in any of the above.

Some notes on what this means for students:


1. Copying another student's work is an offence, whether from a copy on paper or from a computer
file, and in whatever form the intellectual property being copied takes, including text, mathematical
notation and computer programs.
2. Taking extracts from published sources without attribution is an offence. To quote ideas,
sometimes using extracts, is generally to be encouraged. Quoting ideas is achieved by stating an
author's argument and attributing it, perhaps by quoting, immediately in the text, his or her name
2
and year of publication, e.g. "e = mc (Einstein 1905)". A references section at the end of your
work should then list all such references in alphabetical order of authors' surnames. (There are
variations on this referencing system which your tutors may prefer you to use.) If you wish to
quote a paragraph or so from published work then indent the quotation on both left and right
margins, using an italic font where practicable, and introduce the quotation with an attribution.

1
Dedication
I would like to dedicate this work to everyone who assisted me in successfully completing this
project, both directly and indirectly.

2
Acknowledgements.
I'd want to express my gratitude to everyone who assisted me in successfully completing this
project, both personally and indirectly. I consider myself fortunate and pleased to have been
guided through the completion of this project by so many wonderful people.
I would like to thank Prof. Ruvan and my supervisor Madushi Senaviratne for their efforts and
help provided to get such an excellent opportunity. I am grateful to ESOFT Metro Campus for
their supervision, as well as for supplying important project information and resources, and for
their perseverance in completing the project.
My gratitude and appreciation also go to my family and friends for their help in establishing the
project, as well as individuals who have generously offered their abilities to assist me.

3
Abstract

Farm Fresh aims to make a profit by operating poultry farms in Sri Lanka. Therefore, the poultry
business has decided to initiate a standalone software to regulate and monitor the feeding
activities of the business by using the technology. It is a desktop-based application which helps
to Manage the stocks available in the farm, cage management, food feeding management, egg
sale management and to create reports. Poultry Management System has secured access to
admin. The admin shall be able to keep track of different users and Supervisors. It's a clever
desktop application that can help farm owners keep track of food management that happens on
the farm. For example, the document includes descriptions of the above-mentioned program,
such as the introduction. The report described the diagrams that were used with explanations to
design the system and execute the system with different user interfaces, in the software
dimension, uses C Sharp and SQL in the context database

4
Table of Contents

Contents
1 Chapter 1 Introduction..................................................................................................................... 10
1.1 Goals. .......................................................................................................................................... 11
1.2 Motivation.................................................................................................................................. 11
1.3 Method ....................................................................................................................................... 12
1.4 Overview .................................................................................................................................... 13
2 Chapter 2 Background and Problem Statement ............................................................................ 15
2.1 Introduction ............................................................................................................................... 16
2.2 Literature Review ..................................................................................................................... 17
2.3 Problem Statement.................................................................................................................... 20
3 Chapter 3 project management ....................................................................................................... 21
3.1 Approach ................................................................................................................................... 21
3.2 Initial Project Plan .................................................................................................................... 22
3.3 Problems and Changes to the Plan .......................................................................................... 22
3.4 Final Project Record ................................................................................................................. 23
4 Chapter 4 feasibility study ............................................................................................................... 24
4.1 Time feasibility .......................................................................................................................... 24
4.2 Cost feasibility ........................................................................................................................... 25
4.3 Scope feasibility ......................................................................................................................... 25
4.4 Technical feasibility. ................................................................................................................. 25
4.5 Economic feasibility .................................................................................................................. 26
5 Chapter 5 design ............................................................................................................................... 27
5.1 Introduction your choice of proposed network system ......................................................... 28
5.2 Hardware and software requirements .................................................................................... 28
5.2.1 Hardware Requirements. ..................................................................................................... 28
5.2.2 Software Requirements ....................................................................................................... 28
5.3 Evaluating of solutions ............................................................................................................. 29
5.3.1 System Flow Chart .............................................................................................................. 30
5.3.2 Activity Diagram................................................................................................................. 31
5.3.3 Use Case Diagrams ............................................................................................................. 32

5
5.3.4 ERD Diagram ....................................................................................................................... 37
5.3.5 Codes snippets .................................................................................................................... 38
6 Chapter 6 implementation................................................................................................................ 41
6.1 Architecture Diagram .................................................................................................................. 43
6.2 Tier Implementation Diagram ..................................................................................................... 43
6.3 3 Tier Architecture implementation ........................................................................................... 44
6.4 Requirements .............................................................................................................................. 45
6.4.1 Functional Requirements .................................................................................................... 45
6.4.2 Non- Functional Requirements. .......................................................................................... 45
6.5 System Features .......................................................................................................................... 46
6.5.1 USER SIGN IN ....................................................................................................................... 46
User Can Manage Cage and Food Details. .......................................................................................... 47
6.5.2 User Can Manage Cage. ...................................................................................................... 48
6.5.3 Manage Food ...................................................................................................................... 50
6.5.4 User can add egg sale.......................................................................................................... 53
6.5.5 User can create new user.................................................................................................... 53
6.5.6 User Can take various reports............................................................................................. 53
7 Chapter 7 testing and verification ................................................................................................... 56
7.1.1 INTRODUCTION ................................................................................................................. 56
7.1.2 SCOPE ................................................................................................................................. 56
7.1.3 TESTING GOALS . .............................................................................................................. 56
7.1.4 RESOURCES N EEDED. ....................................................................................................... 57
7.1.5 EXIT CRITERIA ................................................................................................................. 57
7.2.1 TEST CASES .......................................................................................................................... 57
TEST SUMMARY REPORT ............................................................................................................................ 92
8 Chapter 8 EVALUATION and CONCLUSION................................................................................. 94
9 References ........................................................................................................................................... 95
10 Appendices...................................................................................................................................... 97

6
Table of figures

Figure 3-1 Initial Gantt chart ....................................................................................................................... 22


Figure 5-1 System Flow Chart ..................................................................................................................... 30
Figure 5-2 Activity Diagram......................................................................................................................... 31
Figure 5-3 Use Case Diagram -01 ................................................................................................................ 32
Figure 5-4 - use case diagram -02 ............................................................................................................... 33
Figure 5-5 -Use case diagram 03 ................................................................................................................. 34
Figure 5-6 -use case diagram -04 ................................................................................................................ 36
Figure 5-7 - ER Diagram............................................................................................................................... 37
Figure 6-1 - three tier architecture ............................................................................................................. 42
Figure6-2 Architecture Diagram ................................................................................................................. 43
Figure 6-3 Tier Implementation Diagram ................................................................................................... 43
Figure 6-4 -3 Tier Architecture implementation ......................................................................................... 44

7
Table of tables
Table 1 - Development Phases.................................................................................................................... 24
Table 2-use case -01.................................................................................................................................... 32
Table 3- use case -02 ................................................................................................................................... 32
Table 4- use case 03 .................................................................................................................................... 33
Table 5- use case -04 ................................................................................................................................... 34
Table 6 -use case 05 .................................................................................................................................... 34
Table 7- use case -06 ................................................................................................................................... 35
Table 8 - TC1................................................................................................................................................ 58
Table 9 - TC2 - Login Without UN & PW ..................................................................................................... 59
Table 10 - TC3 - Invalid Password ............................................................................................................... 60
Table 11 - TC-4, Login with a wrong password ........................................................................................... 61
Table 12 -TC5- User Registration ................................................................................................................ 62
Table 13- TC6 - Already Taken user ............................................................................................................ 64
Table 14 - TC7 - Dashboard Date & Time .................................................................................................... 65
Table 15 - TC8-Total Chicks of Dashboard .................................................................................................. 66
Table 16- TC9-Food Total Feed show .......................................................................................................... 67
Table 17 - TC10 - Show Cages in Dashboard ............................................................................................... 68
Table 18-TC-11- Dashboard is showing the all the cage details ................................................................. 69
Table 19-TC12- Dashboard showing the manage Items ............................................................................. 71
Table 20 -TC13-Add Cage ............................................................................................................................ 72
Table 21-TC-11-Add Stock ........................................................................................................................... 74
Table 22- TC 15 - Adding the Stock items to the system ............................................................................ 75
Table 23 - TC 16 - Clear Typing .................................................................................................................... 76
Table 24-TC17- Cancel the manage feed .................................................................................................... 77
Table 25-TC18- Cancel the manage feed .................................................................................................... 79
Table 26- TC19- show dead Chicken count ................................................................................................. 80
Table 27 - TC20 - Export Cage Details to Excel ............................................................................................ 81

8
Abbreviations

Abbreviations Meaning

SQL Structured Query Language

LINQ Language-Integrated Query

C# C Sharp Programming Language

SRS Software Requirements Specification

IT Information Technology

ORM Object–relational mapping

EF Entity Framework

XML Extensible Markup Language

PDF Portable Document Format

CSV Comma-Separated Values

SSRS SQL Server Reporting Services

ODBC Open Database Connectivity

PHP A programming Language

UAT User Acceptance Testing

ER Entity Relationship

OOP Object Oriented Programming

MS Microsoft

CRUD Create Read Update Delete

9
1 Chapter 1 Introduction.

(Anon., 2020)Poultry industry has contributed 0.38 to the GDP. 0.38 GDP is more than 50% of
the total contribution of iSri Lanka's livestock, (Anon., 2020)
Information technology has been evolving for a long time and incorporating it into organization
and operations has become a part of the world's everyday routine. Everything in our modern
environment is becoming more digital. This is where all the paper works end up. Industries have
also converted to a more efficient system. During the previous decade, the chicken industry has
been the most dynamic within the global meat industry. In Sri Lanka, the poultry business is the
fastest expanding livestock industry. With the greatest growth reflected in the food global
demand increase. It is expected that, in the next years the meat industry will increase production
driven by global population growth. Chickens are the most common sources of poultry meat.
The world's population is growing, and with it comes a higher demand for high-quality protein in
the form of eggs and poultry meat. As a result, the pressures impose on poultry farms and chain
integrations are increasing. Professional, animal-friendly, safer, and more sustainable production
is required but, Poultry business owners are having a difficult time developing their products and
keeping track of their records. Feed stuffing is a crucial aspect of commercial chicken
production, not only because it is the most expensive element of the process, but also because it
is the source of the hens' growth response. Feed costs are the key determinants of commercial
poultry farm profitability, and good nutrition is largely responsible for current poultry species'
exceptional growth rate responses. In addition, the cost of labor and food wastage are major
issues in the industry. To meet this problem, the sector needs to implement a well-organized
structure.
The poultry management system will aid the industry to overcome these problems. With the help
of this system the industry can develop their products and, they can gain all the aspects within the
business. This technique aids them in obtaining these benefits. It helps to decrease labor costs,
food waste, and time, and the benefits of using processed feed have been widely documented.
Despite the fact that they have a high manufacturing cost in natural conditions.

10
1.1 Goals.

Every day, the system should calculate how much feed is required based on the day count of
chicks and the total number of chicks for that specific cage; if a chick dies, the number of chicks
for that specific cage will be updated, and the system should calculate the quantity of chicks
based on the number of dead chicks information provided to the system; and the required feed
weight for any specific day for a chick will be predefined and customizable. And also, the system
helps to take reports on egg sale of the farm. The system has been developed user friendly and
the design emphasizes ease of use and a clear overview, and the system will easily integrate with
your organization's procedures.

1.2 Motivation.

The world's population is growing, and with it comes a higher demand for high-quality protein in
the form of eggs and poultry meat. As a result, the pressures impose on poultry farms and chain
integrations are increasing. And Poultry business owners are having a difficult time developing
their products and keeping track of their records. To keep all relevant data within a poultry farm
accurate and to avoid frustration and keep the farm process moving forward as quickly as
possible the business required a suitable system. Feed stuffing is a crucial aspect of commercial
chicken production so the system will aid in the accurate calculation of feeding amounts without
the use of human error, as well as the maintenance of poultry records.

11
1.3 Method

Upon careful analysis, it was decided to take up a project with a poultry farming company that
required automation and was seeking to simplify their daily activities.
During the many discussions, I had with the management of the company, many proposals were
placed for development of commonly available systems such as payroll, E-Commerce, and
Accounting. However, the Supervisor of the farm indicated a pain point in their daily operations.
This point of concern being the calculation of the type of feed to be administered to the birds on
a daily basis and the quantities involved. I took this as an issue that require a solution. Hence, I
took up this project.
The name of the company is Farm Fresh, located in Kandy. They have a large poultry farm that
rears broiler chicken. I visited the farm to gather information about the operations. The
Supervisor of this farm has been faced with an issue of the quantity of feed to be fed to the birds
daily and the types of feed to be used during the life cycle of each bird.
A Broiler chicken farm needs to calculate total weight of chick feed required for the total number
of chicks in a cage every day. A Broiler Chicken's life span is around 42 days. The farm has many
cages and per cage the maximum 1000 or less quantities of chicks can be occupied.
There are 3 types of feed available.
1. Booster (1 - 12 Days)
2. Starter (13 - 25 Days)
3. Finisher (25 - Rest of the Days)
It was clearly evident that the supervisor of the farm had little technical knowledge in rearing
broilers. Most of the feeding activity was based on guesswork and was unscientific in nature.
Upon developing of the system, I realized that the amount of resources wasted could be
minimized and the cost of production could be brought down to the optimal level. And also the
company wants to keep the egg sale records.
This software was developed to solve all of the above issues and some additional features such as
the marketing of eggs and other byproducts were added.

12
1.4 Overview

As per the Client's Requirement I selected Windows forms app using C#. Entity Framework Code
first approach has been used to create the SQL database. LINQ is used to retrieve data and filter
data from SQL Database.

Benefits Of C Sharp - C# is one of the world's most popular programming languages. It's simple
to learn and can be used to create a wide range of software, including web applications, Windows
programs, and console and PC video games.

• Object-Oriented Language
• Automatic Garbage Collection
• Cross Platform
• Backward Compatible
• Better Integrity and Interoperability.
• More Legible Coding

Benefits of SQL - SQL (Structured Query Language) is a standardized programming language


for managing relational databases and performing operations on the data contained within them.
(Sirkin, n.d.)
• No Need to Code.
• High Speed
• The user can rapidly and efficiently obtain a huge number of records from a database by
using SQL queries.
• Users can create several views of the database structure using the SQL language.
• Interactive language
• Multiple data views - SQL can provide distinct views of the database's structure and
content to different database users.
• Client/Server language: SQL is a programming language that connects front-end
computers (clients) to back-end databases (servers). As a result, the client-server
architecture is supported.
• Internet usage: In a three-tiered Internet architecture, SQL can be employed. A client,
application server, and database are all part of the architecture.

13
Benefits of Entity Framework - Entity Framework is an open-source ORM framework for.NET
applications. (Anon., n.d.)
• EF Allows to use LINQ Queries to get data from the database
• Keeps track of changes to your entities' instances (property values) that need to be
reported to the database.
• To establish or manage underlying database schema, EF provides a series of migration
commands that can be run from the NuGet Package Manager Console or the Command
Line Interface.
• Entity Framework facilitates in the reduction of development time and expense.
• It facilitates the execution of CRUD tasks in a timely manner.
• It generates code for developers and helps them to construct database models and
mappings visually.

Benefits of LINQ - A query is a statement that retrieves information from a database. In most
cases, queries are written in a specialized query language. For different types of data sources,
other languages have been developed over time, such as SQL for relational databases and
XQuery for XML. As a result, each type of data source or data format that developers must
handle necessitates learning a new query language. LINQ makes this scenario easier by
providing a consistent model for working with data from a variety of sources and formats.
(Anon., 09/15/2021)

• LINQ provides a uniform query syntax for all types of data sources.
• Second, it bridges the relational and object-oriented paradigms.
• LINQ saves time by catching mistakes at compile time and offers IntelliSense and
Debugging features.
• Strongly Typed expressions are LINQ expressions.
• LINQ saves time during development by catching errors at compile time and providing
IntelliSense and Debugging support.

14
2 Chapter 2 Background and Problem Statement

To follow the progress, the client is now manually calculating everything and filling out a lot of
documentation. When a customer calculates these things manually, it can waste time and increase
labor costs. Chickens' health can be harmed by human errors too. They will need a well-organized
system to solve these issues. This system will take the place of the manual method, as it is predicted
to be more efficient, useful, and cost-effective in completing the tasks desired by the farm manager.
Based on the current situation, this is a unique situation for which there are no ready-made software
solutions. As a rapidly growing industry, production will continue to rise day by day. When a
company grows, so does the demand for chicken, and the client grows with it. And do not intend
to devote further human resources to this endeavor.

To make their business a success The industry requires a well-organized system. In this Poultry
Management System project, the client must track how much food they are expected to give each
cage and, ideally, reduce costs while maintaining a healthy poultry management system. It should
provide an interface for entering the number of deceased chicks counted and time intervals, as well
as a detailed track report for each cage. Depending on the nature of the poultry sector, this software
could be enhanced in the future.

15
2.1 Introduction

We want all our software releases to get to production in a seamless, defect-free manner, with
everyone being aware of the results and status.
To follow the progress, the client is now manually calculating everything and filling out a lot of
documentation. When a customer calculates these things manually, it can waste time and
increase labor costs. Chickens' health can be harmed by human errors too. They will need a well-
organized system to solve these issues. This system will take the place of the manual method, as
it is predicted to be more efficient, useful, and cost-effective in completing the tasks desired by
the farm manager.
Based on the current situation, this is a unique situation for which there are no ready-made
software solutions. As a rapidly growing industry, production will continue to rise day by day.
When a company grows, so does the demand for chicken, and the client grows with it. And do
not intend to devote further human resources to this endeavor.
To make their business a success The industry requires a well-organized system. In this Poultry
Management System project, the client must track how much food they are expected to give each
cage and, ideally, reduce costs while maintaining a healthy poultry management system. It
should provide an interface for entering the number of deceased chicks counted and time
intervals, as well as a detailed track report for each cage. Depending on the nature of the poultry
sector, this software could be enhanced in the future.

16
2.2 Literature Review

Due to its efficiency and precision, computerization of systems has become popular all around
the world. However, the following challenges are similar to Poultry management systems in
different Softwares:

smartbirdapp.com

17
poultryplan.com

18
When examining these projects, it becomes clear that they have some similarities, such Stock
maintenance, and that they are all based on Web. Even so, there are more differences than
similarities. Each project has its own traits and characteristics that might aid the developer in
forming an idea for a new concept and putting it into practice.

Project Names Smart Bird Poultry Plan Final Project

Platform Web Web Standalone

Cage Management Yes Yes Yes

Food Stock Tracking Yes Yes Yes

Cage wise Bird Yes Yes Yes


Management

Automatic Food NO NO Yes


Calculation

Egg sale Yes Yes Yes

Various Reports Yes Yes Yes

19
2.3 Problem Statement

Many businesses start small, keeping track of their finances in a series of linked Excel
spreadsheets. This is an excellent starting step toward making your company more structured and
productive. However, as the company develops and evolves, the company will eventually reach
the limits of these platforms.

• Human Errors.

Are you certain that the formulas you have in place are appropriately carried forward
when you insert rows/columns/tabs? Is everyone on board with the procedure, and are
they all following it the same way every time?
When people enter Data, it’s not sure that the formulas they had in place are being
properly carried forward? Cannot assure that everyone on board with the procedure and
are they all following it the same way every time. In many circumstances, they aren't
without even realizing it or intending to, and as a result, calculations may be incorrect,
leading to inaccurate reporting and choices.

• User Friendly.

The Farm supervisor is currently using an excel sheet for these feed management. Mostly
the excel or paperwork are too inconvenient, especially when changing data that has
already been entered.

• Less Secure System.

Microsoft Excel is the most widely used spreadsheet program on the planet. (Anon.,
2021) But when it comes to a software like Poultry feed management system the data
base can be simply copied by another stranger and misuse it.

• Lack of Knowledge.

When use has lack of knowledge, or even when related knowledge is not realized,
software faults may occur. This error mode is more likely to emerge when the problem is
multidisciplinary in nature.

20
3 Chapter 3 project management

Project management is defined as the process of planning and justifying a project's development
lifecycle using a Gantt chart to plan resource allocation, cost, and budget. It also the process of
organizing a team's initiatives to reach all project objectives while maintaining within financial
constraints. Usually, this analysis is represented in project documentation, which is prepared at
the start of the development process. Scope, time, and budget are the three main restraints. The
second challenge is to optimize the allocation of required resources and apply them to achieve
specified objectives.

3.1 Approach

The information gathered through interviews, most of the client meeting through online as because
of pandemic situation and also from the surveys. With the help of the information, the requirements
were gathered by presenting the client with a prototype frontend design utilizing requirements
gathering approaches, and once they were finalized, the Interim Report was developed and
presented during the interim viva. The functional and non-functional requirements were all listed
in the interim report. Once these requirements were obtained got the Feedback and extra
requirements have been received repeatedly with each prototype provided to the client and have
been used to improve the prototypes until they meet the business requirements. Prototypes have
been constructed without database to save time.

21
3.2 Initial Project Plan

Initially the project has been planned to develop the software with PHP Laravel. But after some
time, the client made a request that they need a Standalone Software not web based. So, on the
request behalf of the customer the plan was totally changed and started to work with C#.

Figure 3-1 Initial Gantt chart

3.3 Problems and Changes to the Plan

As mentioned in the initial Project Plan, Initially the project has been planned to develop the
software with PHP Laravel. But after some time, the client has made a request that they need a
Standalone Software not web based Because they have financial issues because of the COVID-19
Pandemic Situation and other issues with Hosting like the business located area has poor internet
connectivity. So, on the request behalf of the customer the plan was totally changed and started to
work with C#.

22
3.4 Final Project Record

The project was supposed to begin in April 2021 and can last for four months. However the
activities were constrained and delayed because to the country's pandemic situation. Client
meetings were not held on a regular basis and also, the client's assistance was not received in a
timely manner. The client has requested a Standalone Software rather than a web-based solution
because they are experiencing financial difficulties as a result of the COVID-19 Pandemic and
other hosting challenges, such as poor internet access in the business's location. As a result of the
customer's request, the plan was completely overhauled, and C# was implemented. All because of
those reasons the project could not implemented in scheduled period. Apart from the time
constraints, the entire backend was totally coded and effectively implemented on time, allowing
the project to concentrate on other aspects. The project, which was supposed to be finished in four
months, ended up taking up to six months.

Figure 3-2 Updated Gantt chart

23
4 Chapter 4 feasibility study

The feasibility study's major goal is to look at the technical, operational, logical, and financial
viability of developing a computerized system. A feasibility analysis, as the name implies, is
used to establish the viability of a project, such as ensuring that a project is legally, technically,
and economically feasible. It tells us whether a project is worthwhile—in some situations, a
project may be impossible to complete. There are a variety of reasons for this, including the need
for too many resources, which not only stops those resources from performing other duties, but
also may cost more than the company would earn back by taking on a project that isn't
economical.

4.1 Time feasibility

This analysis is crucial for successful; after all, if a project is not completed on time, it will fail.
An organization predicts the amount of time it will take to execute a project when scheduling
time feasibility.

Phase count Time for each phase

Phase 1 1 Week
Phase 2 8 Weeks
Phase 3 6 Weeks
Phase 4 2 Weeks
Phase 5 2 Weeks

Phase 6 3 Weeks
Total Number of Weeks 22 Weeks

Table 1 - Development Phases

24
4.2 Cost feasibility

Estimating project costs to an appropriate level of accuracy is part of cost feasibility. The cost
estimate includes both the initial and maintenance expenses. The initial cost was about Rs.
20,000 so it is cost feasible to continue this project.

4.3 Scope feasibility

The scope feasibility expresses the limitations of a system. It contains requirements analysis,
process work, engineering and design, cost estimation, financial analysis, project impact,
alternative descriptions, alternative evaluation, and results and suggestions.

The farm fresh provided the scope, which was well within the capacity and schedule. Farm Fresh
requested a simple project that could be implemented in two months to replace their paper manuals
and excel sheets with an automated system that would minimize human errors, decrease wastage,
reduce the labour cost, to obtained quickly without any delay, to maintain the stock in a proper
way and allow them to operate more efficiently.

4.4 Technical feasibility.

The technological resources accessible to the organization are the subject of this examination.
The proposed system's hardware, software, and other technical needs are also evaluated for
technical feasibility.
The system's minimum requirements are as follows:
A. Development environment requirements
• Desktop / Laptop with 4GB ram, Core i5 3GHz or more and 256Gb SSD Hard Disk
• Windows based operating system.
• Visual Studio.
• SQL database.
• Adobe Photoshop / Any photo editing tool.

25
B. Client Requirements
• PC/Laptop with Windows Operating System.
• PC/Laptop .NET Runtime.

4.5 Economic feasibility

Economic Feasibility often entails a cost/ benefits analysis of the project. Before financial
resources are given, it is necessary to establish the viability, cost, and advantages of a project. It
also functions as an impartial project assessment and improves project credibility by assisting
decision-makers in determining the proposed project's positive economic advantages to the
business.
Farm Fresh already has a good infrastructure. Because the machine is already in use for other
purposes, there is no additional cost for setting up the operating environment. Furthermore, the
employees are already in and comfortable with computer technology. The system is user-friendly
and requires minimum data entry from end users; it is simple to operate.

26
5 Chapter 5 design

• Product – Poultry Management System.

• Product purpose – Manage the Information of the Chick Feed items, Display the
Information and the details of the chicks, Update the dead chick count, Manage the
poultry feeding data and stock.

• Target users – Farm Supervisor

• Device compatibility – Windows OS with Desktop computers and laptops.

• Security – System is secured by providing a login facility. Farm Supervisor is enabled


with usage of required functionalities such as add, view, update or delete cage and
chicken, can manage stock details of the farm, manage egg details of the farm.

Poultry Quantity information will be tracked and updated to Measure the amount of food to feed
every day. This project will be developed under three layered architectures.

27
5.1 Introduction your choice of proposed network system

The Poultry Management system has been developed using Windows forms app using C#. Entity
Framework Code first approach has been used to create the SQL database. LINQ is used to retrieve
data and filter data from SQL Database.

5.2 Hardware and software requirements

5.2.1 Hardware Requirements.

• Desktop / Laptop
• 4GB of Ram
• Core i3 3GHz or more
• 256Gb Hard Disk

5.2.2 Software Requirements

• Windows based operating system.


• Visual Studio.
• SQL database.
• Adobe Photoshop / Any photo editing tool.
• SQL Server Management Studio
• .NET Framework 4.5 or Above

28
5.3 Evaluating of solutions

This project's Poultry Feed Management system intends to improve the quality, accuracy, and
efficiency of Poultry feed management system.
In Sri Lanka, the poultry business is the fastest expanding livestock industry. In 2019, poultry
generated 0.38 GDP, accounting for 64 percent of all livestock contributions in Sri Lanka.
(Economics), 2020)
Supervisors can add, view, edit, or delete Poultry feed information and stock details using this
Poultry management system, depending on approved functionalities.
Moreover, the system allows to Check the Egg Business Revenue as well.

29
System Designing and Development.

5.3.1 System Flow Chart

Figure 5-1 System Flow Chart

30
5.3.2 Activity Diagram

Figure 5-2 Activity Diagram

31
5.3.3 Use Case Diagrams

Use Case Diagram 01 – Manage Cage

Figure 5-3 Use Case Diagram -01

Actor Description

Farm Supervisor The farm supervisor can add, remove


and delete cage of the farm in the
system
Table 2-use case -01

Use Case Description


Add Cage Adding the cage to the system

Remove Cage Remove the cage

Edit Cage Edit the details of the cage in the system


Table 3- use case -02

32
Use Case Diagram 02 – Manage Food

Figure 5-4 - use case diagram -02

Actor Description

Farm Supervisor The farm supervisor can add, remove


and delete food item of the farm in the
system
Table 4- use case 03

Use Case Description


Add Food Items The farm supervisor can add three types of
food as starter, booster and finisher to
allocated age
Remove Food Items The farm supervisor can Remove three types
of food as starter, booster and finisher to
allocated cage

33
Edit Food Items Can edit three types of food as starter, booster
and finisher to allocated cage
Table 5- use case -04

Use Case Diagram 03 – Manage Stock

Figure 5-5 -Use case diagram 03

Actor Description

Farm Supervisor The farm supervisor can add, remove


and delete food item from the stock.

Table 6 -use case 05

34
Use Case Description
Add Food Items to the Stock The farm supervisor can add starter, booster
and finisher to the stock
Remove Food Items from the Stock The farm supervisor can remove starter,
booster and finisher from the stock
Edit Food Items from the Stock Can edit starter, booster and finisher from the
stock

Table 7- use case -06

35
Use Case Diagram 04 – Manage Cage, Food, Stock and Sale

Figure 5-6 -use case diagram -04

36
5.3.4 ERD Diagram

Figure 5-7 - ER Diagram

37
5.3.5 Codes snippets

Login to the system

Figure 5-8 - Login Screen Codes

Calculate the feeds of Chicken

38
Figure 5-9 - Food Calculation Code

Figure 5-10 - Food Calculation Image 2

39
Egg Sales

Figure 5-11 - Egg Sales

40
6 Chapter 6 implementation

As per the request of the client, I chose a Windows forms app written in C#. The SQL database
was created using the Entity Framework Code First technique. The LINQ query language is used
to obtain and filter data from SQL databases.
C# is a high-level programming language, which means it may be used to construct applications
that aren't restricted to a specific type of computer. Rather than being computer languages, these
languages read and write like human languages. It's simple to use and compatible with Windows.
No extra configurations are required for a C# program to execute in the Windows environment.
C# is the most widely used language for backend coding and automation on Windows systems.
The core advantages of using C# are,

• Object-Oriented Programming
• Garbage Collection by Automatons:
• Easy to Create:
• Improved Interconnection
• Cost-Effective
• Syntax that is both familiar and simple
• Assistance with programming

41
Architecture of the Software

Poultry quantity data will be tracked and updated so that when the amount of food to feed each
day can be calculated. In object-oriented technology, this project will be constructed using three
tiered structures.

Figure 6-1 - three tier architecture

42
6.1 Architecture Diagram

Figure6-2 Architecture Diagram

6.2 Tier Implementation Diagram

Figure 6-3 Tier Implementation Diagram

43
6.3 3 Tier Architecture implementation

Figure 6-4 -3 Tier Architecture implementation

44
6.4 Requirements

6.4.1 Functional Requirements

• Users shall be able to login and signup

•Passwords shall be stored in the database

• Users shall be able to add stock

•Users shall be able to remove stock

•Users shall be able to manage stock

•Users shall be able to add cage

•Users shall be able to remove cage

•Users shall be able to update cage

•Users shall be able to manage the food to the relevant cage

•Users shall be able to update the dead chicken count

• Users shall be able to take various reports

6.4.2 Non- Functional Requirements.

• Errors should be handled properly and display a meaningful error message to the user

• Remaining stock should be calculated automatically.

• The category of the food should be assigned to the cage accordingly.

• The amount of the food should be calculated automatically.

45
6.5 System Features

6.5.1 USER SIGN IN

Login details of User


To run the program user should login to the system, login form will have an options as user
default username is “username” and password is “1234”. after provide username and password,
it will automatically recognize the user and redirect to the control panel.

Figure 6-5 User Sign In

User Panel
User panel will be displayed once valid username and password provided and following
functions can be executed from the user panel.

46
Figure 6-6 Dashboard

User Can Manage Cage and Food Details.

Figure 6-7 Mange Cage & Food

47
6.5.2 User Can Manage Cage.

User can manage the cage details of the farm.

Figure 6-8 Manage Cage

User can add cage


User can add chicken to the cage also add dead chicken to the count.

48
Figure 6-9 Add Cage

User can delete the cage

Figure 6-10 Delete Cage

User can get dead chicken count.

49
Figure 6-11 Death Chicken Count

6.5.3 Manage Food

User can Manage Food


User can add 3 types of food and the amount

Figure 6-12 Add food

50
Figure 6-13 Manage Food (Starter)

Figure 6-14 Manage Food (Booster)

51
Figure 6-15 Manage Food ( Finisher)

User can clear 3 types of food and the amount

Figure 6-16 Clear food

52
6.5.4 User can add egg sale

Figure 6-17 Egg Sale

6.5.5 User can create new user

Figure 6-18 New User

6.5.6 User Can take various reports.

53
Figure 6-19 Cage Report

Figure 6-20 Food Report

54
Figure 6-21 Egg sale total Report

Figure 6-22 Egg sale Report

55
7 Chapter 7 testing and verification

7.1.1 INTRODUCTION
The Farm Fresh Poultry Management System were used to test the idea. The testing objectives,
the persons responsible for testing, the deliverables, tools, resources, and environments required
to perform testing, and the exit criteria are all listed in the plan.

7.1.2 SCOPE

7.1.2.1 In Scope
• Food Process.
• Stock Process
• Cage Process
• Supervisor area operations
• Authentication and registration

7.1.2.2 Out of Scope

• Security and performance


• Database testing
• Hardware

7.1.3 TESTING GOALS.

The following are the goals of this testing process.


• Ensure that the Application Under Test complies with the client's quality criteria.
• Before going online, identify and address any bugs or difficulties.
• A comprehensive test coverage of 100 percent is required.

56
7.1.4 RESOURCES NEEDED.

Needs a computer with at least 4GB RAM and 3.3GHz CPU.

7.1.5 EXIT CRITERIA


Once the following criteria are met, the testing can be stopped.
• When all test cases done.
• The test cases with 80% Pass rate.
• The severity of the bugs should be considered before exit.

7.2.1 TEST CASES

Test Case ID TC1

Test Scenario Sign into the System as a user

Manual / Automated Manual

Created By Shihan Created Date 10/10/2021

Executed By Shihan Executed Date 10/10/2021

Precondition Should not be signed in already

Test Steps 1. Select “Login” from the navigation bar


2. Enter username
3. Enter password
4. Select “Login” button

Test Data Username: shihan


Password: 1234

Expected Results The user should be signed in and redirected

57
Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 8 - TC1

Test Case ID TC2

Test Scenario Sign into the System without username & password

Manual / Automated Manual

Created By Shihan Created Date 10/10/2021

Executed By Shihan Executed Date 10/10/2021

Precondition Should not be signed in already

Test Steps 1. Select “Login” from the navigation bar


2. Select “Login” button

Test Data Username: null

58
Password: null

Expected Results Login Error should be popup

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 9 - TC2 - Login Without UN & PW

Test Case ID TC3

Test Scenario Sign in to the System with only username

Manual / Automated Manual

Created By Shihan Created Date 10/10/2021

Executed By Shihan Executed Date 10/10/2021

59
Precondition Should not be signed in already

Test Steps 1. Select “Login” from the navigation bar


2. Type only username
3. Press “Login” button

Test Data Username: shihan


Password: null

Expected Results Login Error should be popup

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 10 - TC3 - Invalid Password

Test Case ID TC4

Test Scenario Sign in to the System with Wrong user name and Password

Manual / Automated Manual

60
Created By Shihan Created Date 10/10/2021

Executed By Shihan Executed Date 10/10/2021

Precondition Should not be signed in.

Test Steps 1. Select “Login” from the navigation bar


2. Type wrong username and password
3. Press “Login” button

Test Data Username: kevin


Password: 1234

Expected Results Login Error should be popup

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 11 - TC-4, Login with a wrong password

61
Test Case ID TC5

Test Scenario Check User Manage button

Manual / Automated Manual

Created By Shihan Created Date 12/10/2021

Executed By Shihan Executed Date 12/10/2021

Precondition Should Create a user.

Test Steps 1. Select “user” from the dashboard


2. Type a username and password
3. Press “register” button

Test Data Username: admin


Password:

Expected Results Registration Should be done

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 12 -TC5- User Registration

62
Test Case ID TC6

Test Scenario Add user who already in

Manual / Automated Manual

Created By Shihan Created Date 12/10/2021

Executed By Shihan Executed Date 12/10/2021

Precondition Should Create a user.

Test Steps 1. Select “user” from the dashboard


2. Type a username and password
3. Press “register” button

Test Data Username: kevin


Password:

Expected Results Registration Should not be done

Actual Results As expected,

Pass/Fail Pass

Screenshot

63
Table 13- TC6 - Already Taken user

Test Case ID TC7

Test Scenario Dashboard Timer

Manual / Automated Manual

Created By Shihan Created Date 07/11/2021

Executed By Shihan Executed Date 07/11/2021

Precondition Should show the correct time and date.

Test Steps 1. Login to the system


2. Check whether it shows the correct date and time in
The dashboard

Test Data Username: shihan


Password: 1234

64
Expected Results System should show the Exact date and time.

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 14 - TC7 - Dashboard Date & Time

Test Case ID TC8

Test Scenario Dashboard Show the actual Chicks in the farm

Manual / Automated Manual

Created By Shihan Created Date 15/10/2021

Executed By Shihan Executed Date 15/10/2021

Precondition Should show the correct chicks in the farm.

Test Steps 1. Login to the system


2. Check whether it shows the correct amount of chicks

65
Test Data Username: shihan
Password: 1234

Expected Results System should show the correct amount of chicks

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 15 - TC8-Total Chicks of Dashboard

Test Case ID TC9

Test Scenario Dashboard Show the Total feed in the farm

Manual / Automated Manual

Created By Shihan Created Date 15/10/2021

Executed By Shihan Executed Date 15/10/2021

Precondition Should show the correct chicks in the farm.

Test Steps 1. Login to the system


2. Check whether it shows the correct amount of chicks

Test Data Username: shihan


Password: 1234

66
Expected Results System should show the correct amount of chicks

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 16- TC9-Food Total Feed show

Test Case ID TC10

Test Scenario Dashboard Show the Total feed in the farm

Manual / Automated Manual

Created By Shihan Created Date 15/10/2021

Executed By Shihan Executed Date 15/10/2021

Precondition Should show the correct chicks in the farm.

Test Steps 1. Login to the system


2. Check whether it shows the correct amount of cages

Test Data Username: shihan


Password: 1234

67
Expected Results System should show the correct number of cages

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 17 - TC10 - Show Cages in Dashboard

Test Case ID TC11

Test Scenario Whether the dashboard is showing the full details of the cages

Manual / Automated Manual

Created By Shihan Created Date 15/10/2021

Executed By Shihan Executed Date 15/10/2021

Precondition Should show the correct chicks in the farm.

Test Steps 1. Login to the system


2. Check whether it shows the full details of the cages

Test Data Username: shihan


Password: 1234

68
Expected Results System should show the full details of the cages

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 18-TC-11- Dashboard is showing the all the cage details

69
Test Case ID TC12

Test Scenario Whether the dashboard is showing the manage details

Manual / Automated Manual

Created By Shihan Created Date 15/10/2021

Executed By Shihan Executed Date 15/10/2021

Precondition Should show the manage details.

Test Steps 1. Login to the system


2. Click on the manage whether it is showing the details

Test Data Username: shihan


Password: 1234

Expected Results System should show the manage details

Actual Results As expected,

Pass/Fail Pass

Screenshot

70
Table 19-TC12- Dashboard showing the manage Items

Test Case ID TC13

Test Scenario Dashboard should show the cage manage

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should show the manage details.

Test Steps 1. Login to the system


2. Click on the manage
3. Click on the cage manage

Test Data Username: shihan


Password: 1234

Expected Results System should show the cage manage

71
Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 20 -TC13-Add Cage

72
Test Case ID TC14

Test Scenario Dashboard should show the Food manage

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should show the manage details.

Test Steps 1. Login to the system


2. Click on the manage
3. Click on the food manage

Test Data Username: shihan


Password: 1234

Expected Results System should show the food manage after clicking manage food

Actual Results As expected,

Pass/Fail Pass

Screenshot

73
Table 21-TC-11-Add Stock

Test Case ID TC15

Test Scenario Add a new Stock item to the inventory

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should show the manage details.

Test Steps 1. Login to the system


2. Click on the manage
3. Click on the food manage
4. Add Stock

Test Data Username: shihan

74
Password: 1234

Expected Results System should save the data to the database

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 22- TC 15 - Adding the Stock items to the system

Test Case ID TC16

Test Scenario Clear the item while typing by clicking clear

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should show the manage details.

75
Test Steps 1. Login to the system
2. Click on the manage
3. Click on the food manage
4. Click Clear button

Test Data Username: shihan


Password: 1234

Expected Results System should Clear the data while in the typing process

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 23 - TC 16 - Clear Typing

Test Case ID TC17

Test Scenario Check the cancel button of Manage feed

Manual / Automated Manual

76
Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should Cancel the feed process

Test Steps 1. Login to the system


2. Click on the manage
3. Click on the Cancel

Test Data Username: shihan


Password: 1234

Expected Results System should Cancel the progress and return to dashboard

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 24-TC17- Cancel the manage feed

Test Case ID TC18

77
Test Scenario Possibility of entering the chicken dead when chickens die.

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should Record the death of Chickens

Test Steps 1. Go to manage cage


2. Double click the cage’s DataGrid view
3. Add the qty of the dead chicken

Test Data Username: shihan


Password: 1234

Expected Results System should Record the death of Chickens

Actual Results As expected,

Pass/Fail Pass

Screenshot

78
Table 25-TC18- Cancel the manage feed

Test Case ID TC19

Test Scenario Show the dead chicken count history when click on death history.

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should show the Record of the death Chickens.

79
Test Steps 1. Go to manage cage
2. Click on Death History

Test Data Username: shihan


Password: 1234

Expected Results System should Record the death of Chickens

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 26- TC19- show dead Chicken count

Test Case ID TC20

Test Scenario Export the Cage’s Details report when click on Cage Print .

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should show the Record of the death Chickens.

80
Test Steps 1. Go to manage cage
2. Click on Print Cage

Test Data Username: shihan


Password: 1234

Expected Results System should Export the report to Excel

Actual Results As expected,

Pass/Fail Pass

Screenshot

Table 27 - TC20 - Export Cage Details to Excel

Test Case ID TC21

Test Scenario Add “Starter” Stock to the inventory.

81
Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should Add “Starter” Stock to the inventory.

Test Steps 1. Go to manage feed


2. Add food as starter

Test Data Username: shihan


Password: 1234

Expected Results System should save the particular food item

Actual Results As expected,

Pass/Fail Pass

Screenshot

Figure 7-1-TC21- Add Stock to the cages

82
Test Case ID TC22

Test Scenario Add “Booster” Stock to the inventory.

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should Add “Booster” Stock to the inventory..

Test Steps 1. Go to manage feed


2. Add food as booster

Test Data Username: shihan


Password: 1234

Expected Results System should save the particular food item

Actual Results As expected,

Pass/Fail Pass

Screenshot

83
Figure 7-2 - TC22- Add Booster food to the stock

Test Case ID TC23

Test Scenario Add “Finisher” Stock to the inventory.

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should Add “Finisher” Stock to the inventory.

Test Steps 1. Go to manage feed


2. Add food as Finisher

Test Data Username: shihan


Password: 1234

Expected Results System should save the particular food item

Actual Results As expected,

84
Pass/Fail Pass

Screenshot

Figure 7-3- TC23- Add Finisher type food to the stock

Test Case ID TC24

Test Scenario Export All food history to a excel.

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should Export All food history to a excel..

Test Steps 1. Go to manage


2. Click the manage feed.

85
3. Click on the print button

Test Data Username: shihan


Password: 1234

Expected Results System should save the particular food item

Actual Results As expected,

Pass/Fail Pass

Screenshot

Figure 7-4-TC24- Stock Export to excel

86
Test Case ID TC25

Test Scenario Show the whole death history.

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should show the history of all deaths happened in the farm

Test Steps 1. Go to manage.


2. Go to manage cage.
3. Click on “Death History”.

Test Data Username: shihan


Password: 1234

Expected Results System should show all death history in the farm

Actual Results As expected,

Pass/Fail Pass

Screenshot

87
Figure 7-5-TC25- Show all the death history of farm

Test Case ID TC26

Test Scenario Export the whole death history.

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should show the history of all deaths happened in the farm

Test Steps 1. Go to manage.


2. Go to manage cage.
3. Click on “Death History”.
4. Click on “Death Print”.

Test Data Username: shihan

88
Password: 1234

Expected Results System should export all death history in the farm

Actual Results As expected,

Pass/Fail Pass

Screenshot

Figure 7-6- TC26- Export Death History

Test Case ID TC27

Test Scenario Dashboard indication of low stock with RED.

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

89
Precondition Should indication of low stock with RED.

Test Steps 1. Go to System Dashboard.


2. Check the Color.

Test Data Username: shihan


Password: 1234

Expected Results System Should indicate low stock with RED when stock goes low

Actual Results As expected,

Pass/Fail Pass

Screenshot

Figure 7-7-TC27- Low stock indication in RED

Test Case ID TC28

Test Scenario Add Egg Sales.

Manual / Automated Manual

Created By Shihan Created Date 20/10/2021

Executed By Shihan Executed Date 20/10/2021

Precondition Should Calculate the egg sales revenue.

90
Test Steps 1. Go to System Dashboard.
2. Check the Color.

Test Data Username: shihan


Password: 1234

Expected Results System Should Calculate the egg sales revenue.

Actual Results Exception trown,

Pass/Fail Fail

Screenshot

91
TEST SUMMARY REPORT

Total Number of Test Cases 28


Total Number of Test Cases Executed 28
Total Number of Test Cases Passed 27
Total Number of Test Cases Failed 1
Pass/Fail Ratio 27:1
Success Percentage 96.5%

92
Failure Percentage 3.5%

Table 28- Test Summary Report

Overall Test Results

Pass Fail

Figure 7-8- Overall Test Results

93
8 Chapter 8 EVALUATION and CONCLUSION

Today, the system has clearly handled the client's issues and has been cross-checked against the
Software Requirements. There are some more capabilities to incorporate into the system,
therefore it will simply be waiting for some additional modifications with completely web-based
software.

This project helped in developing practical experience and put the knowledge I had learned in
coursework to use. It was intriguing to take what I had learned in previous courses and apply
other strategies, and certain concepts, tools, and techniques only made sense after seeing them in
action in a real-world context. It was difficult at times, but it was a fantastic and excellent
learning experience.

94
9 References

Anon., 09/15/2021. https://docs.microsoft.com/. [Online]

Available at: https://docs.microsoft.com/en-us/dotnet/csharp/programming-

guide/concepts/linq/introduction-to-linq-queries

Anon., 2020. onehealthpoultry.org. [Online]

Available at: https://www.onehealthpoultry.org/

[Accessed 13 04 2021].

Anon., 2020. The Department of Animal Production and Health. [Online]

Available at:

http://www.daph.gov.lk/web/images/content_image/news_bulletins/poultry_industry_monthly_r

eport/2020/PoultrySectorForecast_2020_colour.pdf

Anon., 2021. Design and Implementation of Poultry Farming Information. In: Design and

Implementation of Poultry Farming Information Management System Based on Cloud Database.

s.l.:MDPI stays neutral, p. 15

Anon., 2021. https://www.nhphoenix.com/. [Online]

Available at: https://www.nhphoenix.com/blog/excel-security-risks-how-to-secure-your-

spreadsheets

[Accessed 01 November 2021].

95
Anon.,n.d.entityframeworktutorial.net.[Online]

Availableat:https://www.entityframeworktutorial.net/

[Accessed 13 Sep 2021].

Economics), D. (. D. L. N. K. (. S., 2020. Department of Animal Production & Health. [Online]

Availableat:http://www.daph.gov.lk/web/images/content_image/news_bulletins/poultry_industry

_monthly_report/2020/PoultrySectorForecast_2020_colour.pdf

[Accessed April 2021].

Sirkin,J.,n.d.TechTarget.[Online]

Availableat:https://searchdatamanagement.techtarget.com/definition/SQL

[Accessed 22 Oct 2021].

96
10 Appendices
Interim Progress Reports
Company letter.
Progress approval form and Project commencement meeting sheet.

97
98
CS6P05ES Project
Interim Report
POULTRY MANAGEMENT SYSTEM

Name: SHARIFF KHAN SHIHAN MOHAMED

ID Number: E113955

Date: Monday, 08 November 2021

First Supervisor: Ms.Madhushi Senaviratne

Second Supervisor: Prof..Ruwan Abeysekara.

99
Declaration
Module: FC6P01 Deadline: 13/07/2021
Module Leader: Prof.Ruwan Abeysekara Student ID: 20048080
PLAGIARISM

You are reminded that there exist regulations concerning plagiarism. Extracts from these regulations
are printed below. Please sign below to say that you have read and understand these extracts:

(Signature:)______________________ Date:

This header sheet should be attached to the work you submit. No work will be accepted without it

Extracts from University Regulations on Cheating, Plagiarism and Collusion


Section 2.3: "The following broad types of offence can be identified and are provided as indicative examples…
(i) Cheating: including taking unauthorised material into an examination; consulting unauthorised material outside the
examination hall during the examination; obtaining an unseen examination paper in advance of the examination;
copying from another examinee; using an unauthorised calculator during the examination or storing unauthorised
material in the memory of a programmable calculator which is taken into the examination; copying coursework.
(ii) Falsifying data in experimental results.
(iii) Personation, where a substitute takes an examination or test on behalf of the candidate. Both candidate and substitute
may be guilty of an offence under these Regulations.
(iv) Bribery or attempted bribery of a person thought to have some influence on the candidate's assessment.
(v) Collusion to present joint work as the work solely of one individual.
(vi) Plagiarism, where the work or ideas of another are presented as the candidate's own.
(vii) Other conduct calculated to secure an advantage on assessment.
(viii) Assisting in any of the above.

Some notes on what this means for students:


1. Copying another student's work is an offence, whether from a copy on paper or from a computer file, and in whatever
form the intellectual property being copied takes, including text, mathematical notation and computer programs.
2. Taking extracts from published sources without attribution is an offence. To quote ideas, sometimes using extracts, is
generally to be encouraged. Quoting ideas is achieved by stating an author's argument and attributing it, perhaps by
2
quoting, immediately in the text, his or her name and year of publication, e.g. "e = mc (Einstein 1905)". A
references section at the end of your work should then list all such references in alphabetical order of authors'
surnames. (There are variations on this referencing system which your tutors may prefer you to use.) If you wish to
quote a paragraph or so from published work then indent the quotation on both left and right margins, using an italic
font where practicable, and introduce the quotation with an attribution.

100
1 Submission Information for Students
• Submit as a PDF file.

• Submit BOTH the Formal and Second submissions

• The report is a formal document and should be written in formal English

• Write for someone who is technically proficient but not necessarily familiar with your

particular project

• Do not use ‘possessive words’ such as I, me, my, we… in reports

• Your report should cover everything as detailed in this template. You should delete the

guidance notes before submission

101
2 Abstract

Farm Fresh aims to make a profit by operating poultry farms in Sri Lanka. Therefore, the poultry business
has decided to initiate a standalone software to regulate and monitor the feeding activities of the
business by using the technology. It is a desktop-based application which helps to Manage the stocks
available in the farm, cage management, food feeding management, and to create reports. Poultry
Management System has secured access to admin. The admin shall be able to keep track of different
users and Supervisors. It's a clever desktop application that can help farm owners keep track of food
management that happens on the farm. For example, the document includes descriptions of the above-
mentioned program, such as the introduction. The report described the diagrams that were used with
explanations to design the system and execute the system with different user interfaces, in the software
dimension, uses C Sharp and SQL in the context database.

102
3 Contents
Declaration ................................................................................................................................. 1
Submission Information for Students ........................................................................................ 2
Abstract ...................................................................................................................................... 3
Contents ..................................................................................................................................... 4
1. Introduction ........................................................................................................................... 6
1.1 Benefits of the System. .................................................................................. 7
1.2 Aim ................................................................................................................. 7
2. Background ............................................................................................................................ 8
2.1 Similar Applications.............................................................................................................. 9
3. Work Completed .................................................................................................................. 12
3.1 Current Progress of the project. ........................................................................................ 13
3.2 Entity Relationship Diagram of the project........................................................................ 14
3.3 Flow Chart of the project. .................................................................................................. 15
3.4 Activity Diagram of the System. ......................................................................................... 16
3.5 Use Case Diagram of the Software. ................................................................................... 17
3.4 Architecture of the Software ............................................................................................. 18
3.5 Functional and Non – Functional Requirements ............................................................... 19
4. Further Work........................................................................................................................ 21
5. Progress Review ................................................................................................................... 23
References ............................................................................................................................... 25
7. Bibliography ......................................................................................................................... 26

103
4 1. Introduction

We are living in this modern world everything is becoming computerized. All the paper works
are ended up in this world. Industries also switched their system to a proper way. The poultry
industry is the most dynamic sector within the global meat business during the last decade. In
Sri Lanka, the poultry business is the fastest expanding livestock industry. With the greatest
growth reflected in the food global demand increase. It is expected that, in the next years the
meat industry will increase production driven by global population growth. Chickens are the
most common sources of poultry meat.
Owners of the poultry industry facing many problems to develop their products and, they are
facing difficulties to keep the records. Feed stuff is a very important feature of commercial
poultry rearing, not only because it is primarily responsible for the hens' growth response, but
also because it is the most expensive part of the production cycle. Feed costs are the primary
drivers of profitability for commercial poultry farms, and proper nutrition is largely responsible
for current poultry species' remarkable growth rate responses. In addition, the cost of labour and
food wastage are major issues in the industry. To meet this problem, the sector needs to
implement a well-organized structure.
The poultry management system will aid the industry to overcome these problems. With the help
of this system the industry can develop their products and also, they can gain all the aspects
within the business.

1.1 Benefits of the System.


This system helps them to get these benefits.
• Can reduce the labour cost.
• Can maintain a good feeding system without any wastage of food.
• It helps to use the time in efficient way.
• The information on poultry business can be obtained quickly without any delay.
• User friendly system.
• It can help to maintain the stock in a proper way.
• Can help farm owners keep track of everything that happens on the farm.

104
1.2 Aim
Every day the System should calculate how much of feed will be required depend on the day
count of chicks and total number of chicks for that specific cage, if chick dies number of chicks
will be updated which relevant to specific cage and system should calculate the quantity of
chicks after number of dead chicken information provided to the system, the required feed
weight for any specific day for a chick will be predefined and customizable.

1.3 Objectives of the System.

The Main Objective of the project is to Manage the amount of poultry food.
• To replace the manual method of documenting poultry farm records with an
automated system.
• To create a system that makes updating poultry farm records easier.
• To create a desktop application that may be used to manage and give information
about the poultry farm's cage, stock and food data.
• To create a system that would help in the presenting of poultry farm reports.
• Manage the Information of the Chick Feed items.
• Display the Information and the details of the chicks.
• Provide a Printing Facility Option for track the process.
• Update the dead chick count.
• A summarized report of the whole progress.
• Detailed report of each cage
• Management of poultry feeding data.

105
5 Background
To follow the progress, the client is now manually calculating everything and filling out a lot of
documentation. When a customer calculates these things manually, it can waste time and
increase labour costs. Chickens' health can be harmed by human errors too. They will need a
well-organized system to solve these issues. This system will take the place of the manual
method, as it is predicted to be more efficient, useful, and cost-effective in completing the tasks
desired by the farm manager.
Based on the current situation, this is a unique situation for which there are no ready-made
software solutions. As a rapidly growing industry, production will continue to rise day by day.
When a company grows, so does the demand for chicken, and the client grows with it. And do
not intend to devote further human resources to this endeavour.
To make their business a success The industry requires a well-organized system. In this Poultry
Management System project, the client must track how much food they are expected to give each
cage and, ideally, reduce costs while maintaining a healthy poultry management system. It
should provide an interface for entering the number of deceased chicks counted and time
intervals, as well as a detailed track report for each cage. Depending on the nature of the poultry
sector, this software could be enhanced in the future.

6 2.1 Requirements.

It was possible to determine the needs with the use of the different requirement collecting
approaches described above, minimizing the project's risk. As a result, elicited needs are divided
into functional and non-functional categories, as illustrated below.

106
2.1.1 Functional Requirements.
• Users shall be able to login and signup
•Passwords shall be stored in the database
• Users shall be able to add stock
•Users shall be able to remove stock
•Users shall be able to manage stock
•Users shall be able to add cage
•Users shall be able to remove cage
•Users shall be able to update cage
•Users shall be able to manage the food to the relevant cage
•Users shall be able to update the dead chicken count
• Users shall be able to take various reports

2.1.2 Non- Functional Requirements.


• Errors should be handled properly and display a meaningful error message to the user

• Remaining stock should be calculated automatically.

• The category of the food should be assigned to the cage accordingly.

• The amount of the food should be calculated automatically.

107
7 2.2 Architecture of the Software.

Poultry Quantity information will be tracked and updated to Measure the amount of food to feed
every day. This project will be developed under three layered architectures commonly called as
MVC architecture in object-oriented technology.

108
8 2.3 Similar Applications
smartbirdapp.com

2.3.2 poultryplan.com

109
When examining these projects, it becomes clear that they have some similarities, such Stock
maintenance, and that they are all based on Web. Even so, there are more differences than
similarities. Each project has its own traits and characteristics that might aid the developer in
forming an idea for a new concept and putting it into practice.

110
Project Names Smart Bird Poultry Plan Final Project

Platform Web Web Standalone

Cage Management Yes Yes Yes

Food Stock Tracking Yes Yes Yes

Cage wise Bird Yes Yes Yes


Management
Automatic Food NO NO Yes
Calculation

Income Tracking Yes Yes No

Various Reports Yes Yes Yes

111
9 Work Completed

Task Date Completed Progress

Preparing the project 18th of April 2021 Completed


proposal

Researching for existing 21st of April 2021 Completed


softwares in the market

Analysis 30th April 2021 Completed


Analysing Requirement Held via WhatsApp
meeting
Preparing Software 7th of May 2021 Completed
Requirements
Designing the Architecture 15th of July 2021 Completed

Designing the Interfaces 17th of July 2021 In progress (10%)

112
10 3.1 System Flow Chart.

113
11 3.2 Activity Diagram of the System.

114
12 3.3 Use Case Diagram of the System.

115
13 3.4 Entity Relationship Diagram of the project.

116
14 4. Further Work.

4.1 Current Progress of the Project.

117
Task Date Completed Status

Designing the Interfaces 31st of July 2021 In progress

Designing the Database 16th of July 2021 Yet to Start

Developing the user interface 30th of August 2021 Yet to start

118
Testing 15th of September 2021 Yet to start
➢ Define test case

➢ Perform Testing

➢ Document Testing

➢ Rectify Issues

Implementation 31st of September 2021 Yet to start


Preparing the final project
Make the poultry system
management for live

Implementation Completed 02nd of October 2021 Yet to start

119
15 5. Progress Review

Since the approval has been given started to research for existing softwares in the market. started
work by examining the present business model and done the requirement gatherings. Made the
client meetings via WhatsApp because of the pandemic situation. Discussed about the issues
that the business facing without a proper system and discussed the requirement of the system to
develop the products of the business.

According to the Gantt chart, it can be observed that approximately 10% of the project has been
completed. The project is behind the schedule as because the reason is due to pandemic situation
in the country and also because of the client unresponsiveness of the relevant in a timely manner.
Earlier the client requirement was to create a web-based software for access from anywhere and
mobile compatibility but after the lockdown situation in Sri Lanka the client has some issues in
their business, so the client wants to make a stand alone software to cut the maintenance cost of
this software.
Due to the problems in the client side, the client nearly put the project on hold when the
implementation phase began. Fortunately, the client later decided to proceed with the project
with a standalone software. As a result, it was decided to make up for lost time by redefining
efficient time management and working longer hours than scheduled. It is now expected that the
implementation and subsequent phases will be completed as scheduled.

120
16 References
Anon.,2021.PoultryCare.[Online]
Available at:https://www.poultry.care/blog/poultry-farm-management-system
[Accessed 5 June 2021].

Anon., 2021. Poultry Plan. [Online]


Available at: https://www.poultryplan.com/
[Accessed 31 5 2021].

Anon., 2021. PoultryMania. [Online]


Available at: https://poultrymania.com/poultry-management/
[Accessed 05 July 2021].

Anon., 2021. Design and Implementation of Poultry Farming Information.


In: Design and Implementation of Poultry Farming Information Management System Based on Cloud
Database. s.l.:MDPI stays neutral, p. 15.

121
17 7. Bibliography

Anon., 2021. Poultry Care. [Online]


Available at: https://www.poultry.care/blog/poultry-farm-management-system

Anon., 2020. onehealthpoultry.org. [Online]


Available at: https://www.onehealthpoultry.org/

J.J.Arends, R. a., 1990. Ecology and Management of Arthropod Pests of Poultry. In: Ecology and
Management of Arthropod Pests of Poultry. s.l.:s.n.

Anon., 2020. The Department of Animal Production and Health. [Online]


Available at:
http://www.daph.gov.lk/web/images/content_image/news_bulletins/poultry_industry_monthly_report
/2020/PoultrySectorForecast_2020_colour.pdf

122
Progress approval form and Project commencement meeting sheet.
Due to the pandemic situations, I have conducted with my supervisor through mail. I have attached
some of the screenshot on it.

123
124
125
126

You might also like