SlideShare una empresa de Scribd logo
1 de 22
Use Case modeling & analysis
By: Jigar Makhija
Requirement elicitation
• A requirement describes a condition or
capability to which a system must conform.
• Requirements are supposed to represent what
system should do as opposed to how the system
should be built.
• Requirements elicitation is the process of
defining your system.
Use Case modeling for requirements
elicitation
• A use case is a sequence of transactions
performed by a system that produces a
measurable result for a particular actor.
• A good use case must represent the point of view
of the people who will use or interact with the
system.
Use case modeling techniques
• It is the process of describing the behavior of the
target system from an external point of view.
• Use case analysis allows the designer to focus on
the requirements of the system, rather than
on its implementation.
• Use case analysis is a very useful tool for the
designer to communicate with the client.
Use case model?
• A use case model is a diagram or set of diagrams
that show what the proposed s/w system is
designed to do.
components
Actors
Use case & their
documentations
Additional
documentation such as
use case
descriptions and
problem statements
to identify use cases.
Actors
• They are the entities that interact with the
system.
• An actor, represent a group of users taking on a
particular role.
actor
People
Computer
h/w &
devices
External
system
Types of actor
Primary actor Secondary actor
Primary actor
• They are completely outside the system
and drive the system requirements
Secondary actor
• They often appear to be more inside the
system than outside
Use case
• A use case is a sequence of actions a system
performs to yield an observable result.
System boundaries
• It defines the scope of the system being
developed and are represented by rectangles
in uml notation.
Use case analysis techniques
• During the use case analysis process, the client
and the users of the system are usually
interviewed.
• Describing a system’s use case is useful and
important exercise because it helps to identify
redundant or unclear functionalities.
Use case analysis may helpful in
following areas:
• Discovering new features(requirements).
▫ New use case often help generate new requirements as
the system is analyzed and as the design takes shape.
• Communicating with the clients.
▫ Their national simplicity makes use case diagrams a
mechanism for early discussion with potential users
and domain experts.
• Generating test cases.
▫ A use case is a generalized description or template of a
sequence of transaction, while a scenario is an instance
of the use case which describes how the use case will
be executed in a specific situation.
Uml notation for use case
Use case
Actor
System
boundary
Association
Generalization
Extend
Include
<<extend>>
<<include>>
Structuring use case with relationships
UML supports three types
of relationship for use case
<<include>>
<<extend>>
generalization
The <<include>> relationship
• <<include>> relationship are used when two or
more use case share some common portion in
the flow of events.
Withdraw
money
Deposit money
Login account
<<include>>
<<include>>
• <<extend>> relationship are used when two use
cases are similar, but one does a bit more than
the other.
The <<extend>> relationship
Withdraw
money
Process extra
amount
<<extend>>
User
The generalization relationship
• A child use case can inherit the behaviors,
relationships and communication links of parent
use case.
• The relationship between the child use case
and the parent use case is the generalization
relationship.
Pay bill
Pay credit
card bill
Pay utility
bill
Customer
Base use case versus abstract use
cases
• Self study
Documenting use cases
Use case template
Prioritizing use cases
factors to consider:
• Architectural significance of the use case.
• Use of new and untested technologies.
• Problems that require substantial research
effort.
• Great improvement in efficiency of the business
process.
• Use cases that support major business processes.
Use case modeling and analysis
process
• Developing the problem statement.
• Identifying the major actors and use cases.
• Creating an initial use case diagram.
• Describing briefly the use cases(with initial
descriptions).
• Identifying / refining candidate classes
using textual analysis
Refining the use case model includes
the following steps.
• Developing base use case descriptions.
• Iteratively elaborating on the base use cases
descriptions and determining the
<<extend>>,<<include>> and generalization
relationships.
• Developing instance scenarios.
• Prioritizing use cases.
Tricks and tips in use case analysis
• Use case as a communication tool.
• Finding the right use cases.
• Correct focus of base use case.
• Good use case should be observable.
• Use case versus process charts.
• Apply textual analysis in different contexts.
• Use bi-directional communication associations.
• Structure use case models.
• Specify use cases in detail… but not too much.
• Fit use cases into system architecture.
That’s all for today…

Más contenido relacionado

La actualidad más candente

6. Integrity and Security in DBMS
6. Integrity and Security in DBMS6. Integrity and Security in DBMS
6. Integrity and Security in DBMS
koolkampus
 
Use case diagrams 2014
Use case diagrams 2014Use case diagrams 2014
Use case diagrams 2014
Inge Powell
 
Uml Activity Diagram
Uml Activity DiagramUml Activity Diagram
Uml Activity Diagram
Niloy Rocker
 

La actualidad más candente (20)

Ooad ppt
Ooad pptOoad ppt
Ooad ppt
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
Dbms relational data model and sql queries
Dbms relational data model and sql queries Dbms relational data model and sql queries
Dbms relational data model and sql queries
 
Concurrency control
Concurrency controlConcurrency control
Concurrency control
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
object oriented methodologies
object oriented methodologiesobject oriented methodologies
object oriented methodologies
 
6. Integrity and Security in DBMS
6. Integrity and Security in DBMS6. Integrity and Security in DBMS
6. Integrity and Security in DBMS
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
 
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
UML Diagram - Use-Case diagram, Activity Diagram, Sequence Diagram, Er Diagra...
 
Activity diagram model
Activity diagram modelActivity diagram model
Activity diagram model
 
Object oriented and function oriented design
Object oriented and function oriented designObject oriented and function oriented design
Object oriented and function oriented design
 
Structured systems analysis and design methodology
Structured systems analysis and design methodologyStructured systems analysis and design methodology
Structured systems analysis and design methodology
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Processes and threads
Processes and threadsProcesses and threads
Processes and threads
 
Interaction Modeling
Interaction ModelingInteraction Modeling
Interaction Modeling
 
Unit 2
Unit 2Unit 2
Unit 2
 
Use case diagrams 2014
Use case diagrams 2014Use case diagrams 2014
Use case diagrams 2014
 
Uml Activity Diagram
Uml Activity DiagramUml Activity Diagram
Uml Activity Diagram
 
Types of UML diagrams
Types of UML diagramsTypes of UML diagrams
Types of UML diagrams
 
System Development Life Cycle (SDLC)
System Development Life Cycle (SDLC)System Development Life Cycle (SDLC)
System Development Life Cycle (SDLC)
 

Similar a Use case modeling & analysis v 1

Lecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagramsLecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagrams
naveed428
 

Similar a Use case modeling & analysis v 1 (20)

Requirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringRequirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineering
 
Use Case Modelling.pptx
Use Case Modelling.pptxUse Case Modelling.pptx
Use Case Modelling.pptx
 
Ppt ooad ooad3unit
Ppt ooad ooad3unitPpt ooad ooad3unit
Ppt ooad ooad3unit
 
Chapter 4.pptx
Chapter 4.pptxChapter 4.pptx
Chapter 4.pptx
 
Lab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagramLab 3 Introduction to the UML - how to create a use case diagram
Lab 3 Introduction to the UML - how to create a use case diagram
 
conversion-gate02.pptx
conversion-gate02.pptxconversion-gate02.pptx
conversion-gate02.pptx
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
Lecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagramsLecture no 8 use case modeling and use case diagrams
Lecture no 8 use case modeling and use case diagrams
 
Analysis modeling & scenario based modeling
Analysis modeling &  scenario based modeling Analysis modeling &  scenario based modeling
Analysis modeling & scenario based modeling
 
Use case modeling
Use case modelingUse case modeling
Use case modeling
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
RRC Requirements and Use Cases
RRC Requirements and Use CasesRRC Requirements and Use Cases
RRC Requirements and Use Cases
 
Use Case Diagram.pptx
Use Case Diagram.pptxUse Case Diagram.pptx
Use Case Diagram.pptx
 
Software Engineering Lec 4-requirments
Software Engineering Lec 4-requirmentsSoftware Engineering Lec 4-requirments
Software Engineering Lec 4-requirments
 
Good PracticesFor RequirementEngineering.pptx
Good PracticesFor RequirementEngineering.pptxGood PracticesFor RequirementEngineering.pptx
Good PracticesFor RequirementEngineering.pptx
 
SDLC. BA Role
SDLC. BA RoleSDLC. BA Role
SDLC. BA Role
 
SELECT21.pptx
SELECT21.pptxSELECT21.pptx
SELECT21.pptx
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
Requirement analysis and specification, software engineering
Requirement analysis and specification, software engineeringRequirement analysis and specification, software engineering
Requirement analysis and specification, software engineering
 

Más de JIGAR MAKHIJA

Más de JIGAR MAKHIJA (20)

Php gd library
Php gd libraryPhp gd library
Php gd library
 
Php pattern matching
Php pattern matchingPhp pattern matching
Php pattern matching
 
Php cookies
Php cookiesPhp cookies
Php cookies
 
Php functions
Php functionsPhp functions
Php functions
 
Php sessions
Php sessionsPhp sessions
Php sessions
 
Php server variables
Php server variablesPhp server variables
Php server variables
 
Db function
Db functionDb function
Db function
 
C++ version 1
C++  version 1C++  version 1
C++ version 1
 
C++ Version 2
C++  Version 2C++  Version 2
C++ Version 2
 
SAP Ui5 content
SAP Ui5 contentSAP Ui5 content
SAP Ui5 content
 
Solution doc
Solution docSolution doc
Solution doc
 
Overview on Application protocols in Internet of Things
Overview on Application protocols in Internet of ThingsOverview on Application protocols in Internet of Things
Overview on Application protocols in Internet of Things
 
125 green iot
125 green iot125 green iot
125 green iot
 
Msp430 g2 with ble(Bluetooth Low Energy)
Msp430 g2 with ble(Bluetooth Low Energy)Msp430 g2 with ble(Bluetooth Low Energy)
Msp430 g2 with ble(Bluetooth Low Energy)
 
Embedded system lab work
Embedded system lab workEmbedded system lab work
Embedded system lab work
 
Presentation on iot- Internet of Things
Presentation on iot- Internet of ThingsPresentation on iot- Internet of Things
Presentation on iot- Internet of Things
 
Oracle
OracleOracle
Oracle
 
Learn Japanese -Basic kanji 120
Learn Japanese -Basic kanji 120Learn Japanese -Basic kanji 120
Learn Japanese -Basic kanji 120
 
View Alignment Techniques
View Alignment TechniquesView Alignment Techniques
View Alignment Techniques
 
Letters (complaints & invitations)
Letters (complaints & invitations)Letters (complaints & invitations)
Letters (complaints & invitations)
 

Último

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Último (20)

Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 

Use case modeling & analysis v 1

  • 1. Use Case modeling & analysis By: Jigar Makhija
  • 2. Requirement elicitation • A requirement describes a condition or capability to which a system must conform. • Requirements are supposed to represent what system should do as opposed to how the system should be built. • Requirements elicitation is the process of defining your system.
  • 3. Use Case modeling for requirements elicitation • A use case is a sequence of transactions performed by a system that produces a measurable result for a particular actor. • A good use case must represent the point of view of the people who will use or interact with the system.
  • 4. Use case modeling techniques • It is the process of describing the behavior of the target system from an external point of view. • Use case analysis allows the designer to focus on the requirements of the system, rather than on its implementation. • Use case analysis is a very useful tool for the designer to communicate with the client.
  • 5. Use case model? • A use case model is a diagram or set of diagrams that show what the proposed s/w system is designed to do. components Actors Use case & their documentations Additional documentation such as use case descriptions and problem statements to identify use cases.
  • 6. Actors • They are the entities that interact with the system. • An actor, represent a group of users taking on a particular role. actor People Computer h/w & devices External system
  • 7. Types of actor Primary actor Secondary actor Primary actor • They are completely outside the system and drive the system requirements Secondary actor • They often appear to be more inside the system than outside
  • 8. Use case • A use case is a sequence of actions a system performs to yield an observable result.
  • 9. System boundaries • It defines the scope of the system being developed and are represented by rectangles in uml notation.
  • 10. Use case analysis techniques • During the use case analysis process, the client and the users of the system are usually interviewed. • Describing a system’s use case is useful and important exercise because it helps to identify redundant or unclear functionalities.
  • 11. Use case analysis may helpful in following areas: • Discovering new features(requirements). ▫ New use case often help generate new requirements as the system is analyzed and as the design takes shape. • Communicating with the clients. ▫ Their national simplicity makes use case diagrams a mechanism for early discussion with potential users and domain experts. • Generating test cases. ▫ A use case is a generalized description or template of a sequence of transaction, while a scenario is an instance of the use case which describes how the use case will be executed in a specific situation.
  • 12. Uml notation for use case Use case Actor System boundary Association Generalization Extend Include <<extend>> <<include>>
  • 13. Structuring use case with relationships UML supports three types of relationship for use case <<include>> <<extend>> generalization
  • 14. The <<include>> relationship • <<include>> relationship are used when two or more use case share some common portion in the flow of events. Withdraw money Deposit money Login account <<include>> <<include>>
  • 15. • <<extend>> relationship are used when two use cases are similar, but one does a bit more than the other. The <<extend>> relationship Withdraw money Process extra amount <<extend>> User
  • 16. The generalization relationship • A child use case can inherit the behaviors, relationships and communication links of parent use case. • The relationship between the child use case and the parent use case is the generalization relationship. Pay bill Pay credit card bill Pay utility bill Customer
  • 17. Base use case versus abstract use cases • Self study Documenting use cases Use case template
  • 18. Prioritizing use cases factors to consider: • Architectural significance of the use case. • Use of new and untested technologies. • Problems that require substantial research effort. • Great improvement in efficiency of the business process. • Use cases that support major business processes.
  • 19. Use case modeling and analysis process • Developing the problem statement. • Identifying the major actors and use cases. • Creating an initial use case diagram. • Describing briefly the use cases(with initial descriptions). • Identifying / refining candidate classes using textual analysis
  • 20. Refining the use case model includes the following steps. • Developing base use case descriptions. • Iteratively elaborating on the base use cases descriptions and determining the <<extend>>,<<include>> and generalization relationships. • Developing instance scenarios. • Prioritizing use cases.
  • 21. Tricks and tips in use case analysis • Use case as a communication tool. • Finding the right use cases. • Correct focus of base use case. • Good use case should be observable. • Use case versus process charts. • Apply textual analysis in different contexts. • Use bi-directional communication associations. • Structure use case models. • Specify use cases in detail… but not too much. • Fit use cases into system architecture.
  • 22. That’s all for today…