Analysis of Library Management System
Analysis of Library Management System
Of
Library management system
Requirement Specification:Requirement 1:
Description: Add a student record.
Each student should have following attributes:
o
o
o
o
Requirement 2:
Description: Update/ Delete a student record.
The record would be selected using the student ID
Updates can be made on full. Items only:
o Name
o Address
o Phone number
The record can be deleted if there are no books issued by user.
Requirement 3:
Description: Add a book item
Each book shall have following attributes:
o
o
o
o
Call Number
ISBN
Title
Author name
Call number
ISBN number
Title
Author
The display would also provide the number of copies which is available for issue
The display shall provide a means to select one or more rows to a user-list
A detailed view of each book should provide information about check-in/check out status,
with the borrowers information.
The search display will be restricted to 20 results per page and there would be means to
navigate from sets of search results.
The user can perform multiple searches before finally selecting a set of books for check
in or checkout. These should be stored across searches.
Requirement 6:
Description: Check-out a book
Librarians and member of the library can check out a book using its call number.
The checkout can be initiated from a previous search operation where user has selected a
set of books.
The student ID who is issuing the book would be entered.
The issue date would automatically reflect the current system date.
The due date would automatically be stamped as 7 days from current date.
Requirement 7:
Description: Check-in a book
Librarians and member of the library can check in a book using its call number.
The check-in can be initiated from a previous search operation where user has selected a
set of books.
The return date would automatically reflect the current system date.
Any late fees would be computed as difference between due date and return date at rate
of one dollar a day.
Requirement 8:
Description: Display book detail
This view would display details about a selected book from search operation.
The details to be displayed are:
o
o
o
o
o
o
o
o
o
Call number
ISBN
Title
Author
Issue status (In library or checked out)
If book is checked out it would display
User ID & Name
Checkout date
Due date
Requirement 9:
Description: View student detail
Librarians can select a user record for detailed view.
The detail view should show:
o User name, ID, Address & Phone number.
o The books issued by user with issue date, due date, call number, title.
Performance Requirements:
The check in and check out system will respond to the user no more than 7 seconds.
The search function will respond to the user no more than 10 seconds.
Security requirements:
All the account managing operations can be used by only librarian.
The check-in, check-out and recall system can be used by only member of the library.
The book return report and book borrowing report can be generated by only librarian.
Reliability requirements:
The system shall generate error messages when the user attempts to enter invalid data.
If the system is down, it shall be recovered within 15 minutes.
The system shall be recovered without interference at user terminal if it is down.
The system shall have 99.9% reliability during library operating hours.
Use Case Analysis:A use case is a set of scenarios that describing an interaction between a user and a
system. A use case diagram displays the relationship among actors and use cases. The two main
components of a use case diagram are use cases and actors.
An actor is represents a user or another system that will interact with the system you are
modelling. A use case is an external view of the system that represents some action the user
might perform in order to complete a task.
Log In
Add New Student
Update/Delete
Student
Add a Book
Update/Delete Book
Librarian
Student
Class diagram:-
Class diagrams are widely used to describe the types of objects in a system and their
relationships. Class diagrams model class structure and contents using design elements such as
classes, packages and objects. Class diagrams describe three different perspectives when
designing a system, conceptual, specification, and implementation. These perspectives become
evident as the diagram is created and help solidify the design.
Classes are composed of three things: a name, attributes, and operations. Below is
an example of a class.
Association is a generic relationship between two classes and is modelled by a line connecting
the two classes. This line also shows the feature multiplicity. (One-to-one, one-to-many, many-to
many). For example
Composition relationship means the class is a member of another class. It cannot be present by
itself. It is represented by
Generalization relationship means is-a relationship. It is represented by
Student
Student id
User Pass
Name
Street
City
Phone no
Late fee total
Login
Search book
Check-out book
Check-in book
Pay late fee
View book-detail
Librarian
Librarian id
User Pass
Name
Phone no
Login
Add student
Delete student
Edit student
Add book
Edit book
Delete book
Check-out book
Check-in book
Pay late fee
View book-detail
View student detail
1
1
Book
Call no
ISBN
Title
Author
Status
Add
Update
Delete
Search
Check-out
Check-in
n
n
Transaction
Transaction id
Student id
Librarian id
Call no
Check-out date
Check-in date
Fines
Update
Activity diagram:Activity diagrams describe the workflow behaviour of a system. Activity diagrams are
similar to state diagrams because activities are the state of doing something. The diagrams
describe the state of activities by showing the sequence of activities performed. Activity
diagrams can show activities that are conditional or parallel.
Activity states: Activity states mark an action by object. It is represented by
Transition: When an activity states is completed processing moves to another activity state.
Transition used to mark this movement. It is represented by
Initial state: The initial state marks the entry point and the initial activity state. It is represented
by
Final state: final states mark by the bulls eye. It is represented by
Synchronization bar: Activities often can be done in parallel. To spilt processing
Synchronization bar is used. It is represented by
Sign in request
Librarian
Student
Add/Edit/Del
ete
Student
Add/Edit/Del
ete
Book
Search
Book
View
Book/stude
nt details
Check-out
Book
Check-in
Book
Transaction
related
functions
Pay late
fees
Search
Book
Check-in
Book
Check-out
Book
Pay late
fees
View book
details
Component diagram:The component diagram contains components and dependencies. Components represent the
physical packaging of a module of code. The dependencies between the components show how
changes made to one component may affect the other components in the system. Dependencies
in a component diagram are represented by a dashed line between two or more components.
Component diagrams can also show the interfaces used by the components to communicate to
each other.
Librarian
Item manager
Borrowing
System
Fine system
The above diagram shows four components of the library management system. In that,
first component (librarian) is manager for the each student. Second component (fine system) that
manages fines applied to the student who exceed the borrowing period. Third component (item
manager) that manages library items. Fourth component (borrowing system) that manages all
borrowing items.
References
http://atlas.kennesaw.edu/~dbraun/csis4650/A&D/UML_tutorial/use_case.htm
scotborders.g2b.biz/docs/schedule_of_requirement.doc
www.cs.albany.edu/~xluo/high_designV1_1.doc
ictlab.tyict.vtc.edu.hk/~billwang/OOT-Part-TimeCMM3332/Quiz2_Answer/Quiz2_answer.doc
en.wikipedia.org/wiki/Use_case_diagram
www.agilemodeling.com/artifacts/classDiagram.htm
www.cs.albany.edu/~xluo/req_doc.doc
en.wikipedia.org/wiki/Integrated_library_system
www.dotnetcoders.com