Professional Documents
Culture Documents
Objective 1
Objective 1
The stock maintenance system must take care of sales information of the
company and must analyze the potential of the trade. It maintains the number
of items that are added or removed. The sales person initiates this Use case.
The sales person is allowed to update information and view the database.
1.2 INTRODUCTION:
1.3 PURPOSE
The entire process of Stock maintenance is done in a manual manner
considering the fact that the number of customers for purchase is increasing
every year, a maintenance system is essential to meet the demand. So this
system uses several programming and database techniques to elucidate the
work involved in this process.
1.4 SCOPE
The System provides an interface to the customer where they can fill in orders
for the item needed.
The sales person is concerned with the issue of items and can use this system.
Provide a communication platform between the customer and the sales person.
Market Data provider: One who analyze the product and distribute the news.
The goal of the SDLC life cycle model is to deliver high-quality, maintainable
software that meets the user’s requirements. SDLC in software engineering
models outlines the plan for each stage so that each stage of the software
development model can perform its task efficiently to deliver the software at a
low cost within a given time frame that meets users’ requirements.
Design: Once the requirements are understood, the design phase begins. This
involves creating a detailed design document that outlines the software
architecture, user interface, and system components.
Testing: In the testing phase, the software is tested as a whole to ensure that it
meets the requirements and is free from defects.
Deployment: Once the software has been tested and approved, it is deployed
to the production environment.
Maintenance: The final phase of the Waterfall Model is maintenance, which
involves fixing any issues that arise after the software has been deployed and
ensuring that it continues to meet the requirements over time
Simplicity: The linear and sequential nature of the Waterfall models makes it
easy to understand and implement.
Clear Documentation: Each phase has its own set of documentation, making
it easier to track progress and manage the project.
Predictability: Due to its structured nature, the Waterfall model allows for
better predictability in terms of timelines and deliverables.
Limited Client Involvement: Clients are involved mainly in the initial phase,
and significant changes cannot be easily accommodated later in the
development process.
No Prototyping: The models lack the provision for creating prototypes, which
could be a disadvantage in projects where user feedback is crucial.
OBJECTIVE 3
Project Duration: Estimate the total time required for development, testing,
and deployment of the stock management system. Break it down into phases
such as planning, design, development, testing, and deployment.
Budget: Estimate the total cost of the project, including salaries, infrastructure
costs, software licenses, and any other expenses.
Scope: Clearly define the features and functionalities of the stock management
system to ensure that the project stays on track and within budget.
Risk Assessment: Identify potential risks that could impact the project
timeline, budget, or quality, and develop mitigation strategies to address them.
Quality Assurance Metrics: Define metrics for measuring the quality of the
stock management system, such as code coverage, defect density, and
customer satisfaction.
User Adoption: Estimate the expected adoption rate of the stock management
system among users, and plan for user training and support accordingly.
Success Criteria: Define criteria for measuring the success of the project,
such as meeting project deadlines, staying within budget, and achieving the
desired level of functionality and performance.
OBJECTIVE 4
Modeling UML Use Case Diagrams and Capturing Use Case Scenarios
Use case
Actor
Actor
System boundary boxes (optional)
A rectangle is drawn around the use case called the system boundary box to
indicate scope of the system.
Fig.4.1 SMS Use Diagram
Objective 5
ER diagrams are used to represent the E-R model in a database, which makes
them easy to convert into relations (tables).
These diagrams are very easy to understand and easy to create even for a naive
user.
Stron These
g entity shapes
are
independ
ent from
other
entities,
and are
often
called
parent
entities,
since they
will often
have
weak
entities
that
depend
on them.
They will
also have
a primary
key,
distinguis
hing each
occurrenc
e of the
entity.
Weak Weak
entity entities
depend
on some
other
entity
type.
They
don't
have
primary
keys, and
have no
meaning
in the
diagram
without
their
parent
entity.
Associativ Associati
e entity ve entities
relate the
instances
of several
entity
types.
They also
contain
attributes
specific
to the
relationsh
ip
between
those
entity
instances.
Attribute Attributes
are
characteri
stics of an
entity, a
many-to-
many
relationsh
ip, or a
one-to-
one
relationsh
ip.
Multivalue Multivalu
d attribute ed
attributes
are those
that are
can take
on more
than one
value.
Derived Derived
attribute attributes
are
attributes
whose
value can
be
calculated
from
related
attribute
values.
Relationshi Relations
p hips are
associatio
ns
between
or among
entities.
OBJECTIVE 6
IDENTIFYING DOMAIN CLASSES FROM THE PROBLEM
STATEMENTS
1. Product: This class represents individual items or products that are being
managed in the system. It might include attributes such as product ID, name,
description, price, quantity in stock, etc.
3. Supplier: Represents the entities or companies that supply the products to the
system. Attributes might include supplier ID, name, contact information, etc.
4. Order: This class represents orders placed for products. It could include
attributes such as order ID, customer ID, date, status (pending, shipped, etc.),
and a list of products ordered.
6. Transaction: This class tracks the transactions that occur within the system,
such as purchases, sales, returns, etc. Attributes might include transaction ID,
type (purchase, sale, return), date, products involved, etc.
9. User: Represents the users who interact with the system. Attributes might
include user ID, username, password, permissions, etc.
10. Report: Represents the various reports that can be generated from the system,
such as inventory reports, sales reports, etc. Attributes might include report ID,
type, date, parameters, etc.
OBJECTIVE 7
STATECART AND ACTIVITY MODELING
States:
Idle: The initial state where the system is waiting for input.
Transitions:
Place Order: Transition from Idle to Processing Order when a new order is
placed.
Order Processed: Transition from Processing Order back to Idle when the
order processing is completed.
Add Stock: Transition from Idle to Adding Stock when new stock is added to
the inventory.
Stock Added: Transition from Adding Stock back to Idle when the stock
addition process is completed.
Stock Removed: Transition from Removing Stock back to Idle when the stock
removal process is completed.
Stock Empty: Transition from Idle to Out of Stock when the inventory is
depleted for a particular item.
Restock: Transition from Out of Stock back to Idle when new stock is added
to replenish the inventory.
State Chart diagram
Process Order: Checks if the order is valid and if the items are available in the
inventory.
Notify User: Notifies the user about the outcome of the operation (order processed,
items out of stock, etc.).
Remove Stock: Represents the activity of removing stock from the inventory.
Start and End: Indicate the beginning and end of the activity diagram, respectively.
Fig. Activity Diagram
OBJECTIVE 8
A class diagram is a type of diagram in the Unified Modeling Language (UML) that
represents the structure of a system by showing the classes of the system, their
attributes, methods, and relationships between them. It provides a static view of the
system's structure and is widely used in software engineering for design and
documentation purposes.
Attributes Represented as
variables within a class
OBJECTIVE -9
A Data Flow Diagram (DFD) is a graphical representation that depicts the flow of data
within a system. It illustrates how data moves from one process to another, how it is
stored, and how it is transformed along the way. DFDs are commonly used in system
analysis and design to model the information flow and processes within a system.
Level(0)Data flow Diagram
Level (1) Data flow diagram
OBJECTIVE 10
Ensure all core functionalities of the stock management system are thoroughly tested,
such as inventory tracking, order processing, stock replenishment, and reporting.
Test cases should cover the end-to-end flow of data and processes within the system.
Integration Coverage:
Verify the system's ability to seamlessly integrate with external systems, such as
supplier portals, customer relationship management (CRM), and accounting software.
Test the accuracy of data exchange, error handling, and overall system interoperability.
Risk Coverage:
Assess the system's security, including protection against common vulnerabilities like
SQL injection, cross-site scripting, and unauthorized access.
Evaluate the system's performance under high load, stress, and edge cases to ensure it
can handle real-world scenarios.
Condition Coverage:
Test various business rules and conditions related to inventory management, such as
discounting, stock allocation, and backorder handling.
Ensure the system correctly applies the appropriate logic and provides a seamless user
experience.
Measure the stock turnover rate to understand how efficiently inventory is being sold
and replenished.
Evaluate stock accuracy to ensure the physical inventory matches the recorded data,
minimizing discrepancies.
Calculate stock coverage to determine how long the current inventory will last based on
the average sales rate, aiding in replenishment planning.
Monitor stock availability to ensure a high percentage of items are in stock and ready
for delivery.
2.