Research Paper
Research Paper
Mr.Yashwant Waykar
Department of Management Science
Dr.B.A.M.University, Aurangabad
[email protected]
Abstract – use case diagrams overview the usage requirements for a system. They are useful for presentations to
management and/or project stakeholders, but for actual development you will find that use cases provide significantly
more value because they describe "the meat" of the actual requirements. Whereas UML sequence diagrams model the
flow of logic within your system in a visual manner, enabling you both to document and validate your logic, and are
commonly used for both analysis and design purposes. Sequence diagrams are the most popular UML artifact for
dynamic modeling, which focuses on identifying the behavior within your system. This article focuses on the
comparative study importance of use-case & sequence diagram for Large-sized projects i.e. s/w that requires 1 to 2 years
for development. As per the data analysis it can be concluded that the sequence diagram has upper hand over the use-
case diagram. Sequence diagram is found to be more important than use-case diagram in system analysis & other phases
of s/w development: specifically for the large-sized projects.
Introduction –
Use-Case Diagram -
Overview:
To model a system the most important aspect is to capture the dynamic behavior. To clarify a bit in details, dynamic
behavior means the behavior of the system when it is running /operating.
So only static behavior is not sufficient to model a system rather dynamic behavior is more important than static behavior. In
UML there are five diagrams available to model dynamic nature and use case diagram is one of them. the use case diagram is
dynamic in nature there should be some internal or external factors for making the interaction.
These internal and external agents are known as actors. So use case diagrams are consists of actors, use cases and their
relationships. The diagram is used to model the system/subsystem of an application. A single use case diagram captures a
particular functionality of a system.
So to model the entire system numbers of use case diagrams are used.
Purpose:
The purpose of use case diagram is to capture the dynamic aspect of a system. But this definition is too generic to
describe the purpose.
Because other four diagrams (activity, sequence, collaboration and State chart) are also having the same purpose. So we will
look into some specific purpose which will distinguish it from other four diagrams.
Use case diagrams are used to gather the requirements of a system including internal and external influences. These
requirements are mostly design requirements. So when a system is analyzed to gather its functionalities use cases are prepared
and actors are identified.
Now when the initial task is complete use case diagrams are modeled to present the outside view.
So in brief, the purposes of use case diagrams can be as follows:
Used to gather requirements of a system.
Used to get an outside view of a system.
Identify external and internal factors influencing the system.
Show the interacting among the requirements are actors.
Sequence Diagram -
Overview:
The diagram is used to describe some type of interactions among the different elements in the model. So this interaction is a part
of dynamic behavior of the system.
This interactive behavior is represented in UML by two diagrams known as Sequence diagram and Collaboration diagram. The
basic purposes of both the diagrams are similar.
Sequence diagram emphasizes on time sequence of messages and collaboration diagram emphasizes on the structural
organization of the objects that send and receive messages.
Purpose:
The purposes of diagram are to visualize the interactive behavior of the system. Now visualizing interaction is a
difficult task. So the solution is to use different types of models to capture the different aspects of the interaction.
That is why sequence and collaboration diagrams are used to capture dynamic nature but from a different angle.
So the purposes of interaction diagram can be describes as:
To capture dynamic behavior of a system.
To describe the message flow in the system.
To describe structural organization of the objects.
To describe interaction among objects.
Literature Review –
The study of Irit Hadar and Orit Hazzan, Technion – Israel Institute of Technology, Israel “On the Contribution of UML
Diagrams to Software System Comprehension” found that
“UML was utilized by the students as a multifaceted expression tool. The way in which the different teams sorted the diagrams
in preparation for the comprehension process, the different pivotal diagrams that they leaned on, and the number of "visits"
made to each of the different diagram types, all indicate that the process of comprehension and information extraction from
UML diagrams varies between different people. It was also found that, when taken together, no one diagram type was globally
less or more important than the others for the performance of the comprehension task. In other words, the differences in
preference between the various teams cancelled out each other. The above conclusions are based on the work of senior
computer science students.”
Another study of Fahad Alhumaidan College of Computer Sciences and IT, King Faisal University, Hofuf, KSA on
“A Critical Analysis and Treatment of Important UML Diagrams Enhancing Modelling Power” found that “Unified Modelling
Language (UML) is used at initial phases of software development because of having a reasonable support of diagrams and
notations but has not proved sufficient for the complete modelling of functional and non-functional requirements of a system.
Based on our experience of applying UML, some weaknesses in the diagrams are identified in this paper and a treatment is
presented. For example, most of the UML structures are based on graphical notations and are prone to causing errors. The
hidden semantics under the diagrams allow ambiguities at design level and multiple notations produce inconsistent and
ambiguous models. Further, the models described using UML diagrams may have multiple interpretations and the recipients of
the design may not be able to understand what has been put in the diagrams. There exists some well-established approaches, for
example for- mal methods, which can capture the semantics hidden under the UML diagrams.
Formal methods are useful at all stages of software development because of having rigorous mathematical and
computer tools support. However, at the current stage of development, formal methods are not sufficient in complete modelling
of a system. In this way, UML and formal methods are both useful for design and specification of software systems but an
integration of these approaches will facilitate the software development process.”
Research Methodology –
The survey was conducted among the developers, analysts, associate systems, Test engineer, senior subject
expert, consultants that are working in different IT companies across the Pune region. A small questionnaire was prepared &
near about 26 samples was collected in random selection manner across the IT companies. Also few interviews & informal
discussions were made to identify the comparative importance of use-case & sequence diagrams irrespective of the type of
project & IT companies size.
Such type of question is asked for the use-case & sequence diagrams.
The points are assigned to each option of the above question.
1. Mandatory (most important) - 4 points
2. Important - 3 points
3. Less Important - 2 points
4. Optional - 1 point
Ex. If 10 respondents select options 1.Mandatory for class dia. then 10 X 4= 40 points will be considered.
The diagram which gets max points will be considered as the most important diagram for large-sized projects.
Following Results are found during the study for UML diagrams:
According to TABLE-II it can easily be observed that 14 respondent assumes that sequence is an important UML diagram in
Large-Sized s/w development.
Conclusion –
From the study it has been observed that sequence diagram gets 84 points & use-case diagram gets 78 points, as
sequence diagram can be considered as more important than the use-case diagram in the large sized projects.
Respondents feel that a sequence diagram is more useful than the use-case diagram during the system analysis & other
phases of s/w development. Although the difference of points between these two diagrams is very less i.e. 6 points so we don’t
have to neglect the importance of use-case diagram also.
During further research papers I would like to find out the importance of different UML diagrams in different
category/types of s/w development.
References –
1. www.agilemodeling.com/essays/umlDiagrams.htm
2. www.smartdraw.com/resources/tutorials/uml-diagrams/
3. www.uml-diagrams.org/
4. www.tutorialspoint.com/uml/uml_standard_diagrams.htm
5. www.ibm.com/developerworks/rational/library/.../bell/
6. www.simventions.com/whitepapers/uml/3000_borcon_uml.html
7. Principles of Object- Oriented Software Development - Anton Eliens , AddisonWesley.
8. Object Oriented System Development - Ali BahramiMcGRAW-HILL International Edition.
9. Object-Oriented Software Engineering - Ivar Jacobson Pearson Education INC
10. Applying UML And Pattern - Craig Larman Pearson Education INC
11.UML Distilled - Martin Flowler Pearson Education INC
12. The Unified Modeling Language User Guide - Grady Booch, James Rumbaugh, Ivar Jacobson-Pearson Education
INC
13. The Unified Modeling Language Reference Guide - Grady Booch, James Rumbaugh, Ivar Jacobson-Pearson
Education INC