SlideShare une entreprise Scribd logo
1  sur  20
An Automatic Approach to Translate Use Cases to
                 Sequence Diagrams



Mohammed Misbhauddin
PhD Candidate
ICS Department, KFUPM
mdmisbha@kfupm.edu.sa
1.       Introduction
2.       Unified Modeling Language
         Use Case Diagram
         Sequence Diagram
3.       Related Work
4.       Translation Methodology
5.       Comparison
6.       Conclusion and Future work
Agenda
Introduction
UML
                                                        1 of 3
Related Work
Translation Methodology
Comparison
Conclusion & Future work




            Software engineering is an engineering
             discipline that is concerned with all aspects
             of software production.
            The software process consists of activities
             that are involved in developing software
             products. Basic activities are software
             specification, design, development and
             validation.
Agenda
Introduction
UML
                                                                                   2 of 3
Related Work
Translation Methodology
Comparison
Conclusion & Future work



   Requirement Analysis                                                       Design
                                   Spec               Class Diagram
                SRS          Use Case Diagram     Sequence Diagram     Deployment Diagram
                Activity Diagram                 Communication        Component Diagram
                                    GUI Layout   Diagram
                                                                State Machine Diagram
                      Plan                               Package
                                                         Diagram     Object Diagram




        Validation                                              Implementation
                             Test cases
                                                            Code
                Acceptance         Summary

                       Test scenarios
Agenda
Introduction
UML
                                                                                      3 of 3
Related Work
Translation Methodology
Comparison
Conclusion & Future work




  Effect of
  Miscommunication




      Need: Automated approach to translate an artifact from one domain to another.
Agenda
Introduction
UML
Related Work
Translation Methodology
Comparison
Conclusion & Future work


                UML is a graphical language which provides
                 notations and action semantics to describe and
                 design Object Oriented Software Systems.

                UML 2.0 Models Suite - 13 Different Diagrams
                 Class Diagram           Timing Diagram       State Machine Diagram

                 Sequence Diagram        Use Case Diagram     Object Diagram

                  Activity Diagram       Component Diagram    Composite Structure Diagram

                 Communication Diagram   Deployment Diagram   Interaction Overview Diagram

                 Package Diagram


                                                                                             6
Agenda
Introduction
UML
Related Work
Translation Methodology
Comparison
                               Use case diagram is a powerful artifact used for the elicitation
Conclusion & Future work
                               of functional software requirements in the requirements
                               specification phase.
                                                   Use Case ID       UC-05
                                                   Use Case Name     Withdraw
                                                   Actors            Customer
                    ATM System                     Main Flow

                                  Login                     1        INC Login
                                                            2        The ATM requests amount from
                                  <<include>>                        customer.
                           Withdraw                         3        Customer enters amount.
   Customer                       <<extend>>                4        ATM retrieves balance from
                                 Display                             account
                                 Balance
                                                            A1       Amount is greater than Balance
                                                    Alternate Flow
                                                            A1       1.   Display Error Message
Agenda
Introduction
UML
Related Work
Translation Methodology
Comparison
Conclusion & Future work   Sequence diagrams are used to model the dynamic behavior
                           of the software system depicting how objects interact by
                           passing messages constructed in the design phase.



                                                                      Objects

                                                                      Messages



                                                                 Fragments
Agenda
Introduction
UML
Related Work
Translation Methodology
Comparison
Conclusion & Future work                                                                          ISSUES

                                                UML Sequence                                 •Incomplete
                                              Diagram Generator
   A Semi-Automatic
                                               System from Use
                                                                                             utilization of
      Approach to
    Translating Use
                                               Case Description
                                                Using Natural
                                                                                             available constructs
   Cases to Sequence
       Diagrams                            4th    Language                                   •Enforcing
                                                                Describing
   Technology
                                           Congress of Electronics,
                                           Robotics and
                                                                Use-Case                     guidelines while
                                                              Relationships
   of OO
   Languages
                    Translating            Automotive Mechanics
                                                              with Sequence                  composing
                     Use Cases
   & Systems       to Sequence
                                                                 Diagrams                    descriptions
                                            2007(a)
   1999
                     Diagrams
                                                           The
                                                                          Modeling User-     •Either work at
                              Specifying Use Case                       System Interaction
                IEEE            Behavior With
                                                           Computer      in Use Cases with   sentence level or
                                                           Journal        Dynamic Views
                Automated
                Software
                              Interaction Models                                             construct level but
                Engineering
                                                           2007(b)      IEEE
                                                                                             not both.
                                                                        Computational
                                                                        Intelligence and
                2000                                                    Industrial
                              Journal
                              of Object                                 Application
                              Technology                                2008
                              2003
Agenda
Introduction
UML
                                                 1 of 7
Related Work
Translation Methodology
Comparison
Conclusion & Future work




          The proposed approach can be summarized
           as follows:
             Develop a metamodel for use case
              descriptions and sequence diagrams.
             Parse use case steps.
             Identify mapping rules between these
              meta-models.
Agenda
Introduction
UML
                                                                        2 of 7
Related Work
Translation Methodology
Comparison
Conclusion & Future work            Phase 1: Syntactic Structure
                                           Identification




                                Dictionary



    Use case                    Parts-of-                 Translation
   Description                Speech Tagger                 Process

                      Use case parser

                                                           Sequence
                                                           Diagram
Agenda
Introduction
UML
                                                                                        3 of 7
Related Work
Translation Methodology
Comparison
Conclusion & Future work     Example


                              Customer     inserts      card           into         ATM
        POS                    subject      verb     object1       preposition    object2
       Tagger

                                                      Dictionary



                               sender      action    argument                    Receiver



                                               ATM
                           Inserts(card)
             Customer
Agenda
Introduction
UML
                                                                                                     4 of 7
Related Work
Translation Methodology
Comparison
Conclusion & Future work                   Phase 2: Construct Based
                                          Translation Architecture
                                                  Translation


                                                                        Sequence Diagram
            Use Case Metamodel                                             Metamodel


             conforms                 Translation Meta model                         conforms


            Use Case Description                                        Sequence Diagram
                                                      uses

                    receives                                              produces
           Misbhauddin, M. and M. Alshayeb, “Extending the UML Metamodel for Sequence Diagram to
                                           Translation Process
           Enhance Model Traceability”, the Fifth International Conference on Software Engineering
           Advances, Nice, France, August 22-27, 2010
Agenda
Introduction
UML
                                                                                 5 of 7
Related Work
Translation Methodology
Comparison                                       Start
Conclusion & Future work

                                               T Anchor F
   Metamodel
    Mapping
                                                             Parse and
   Algorithm
                                     Include
                                                              Identify
    (excerpt)
                                                            components

                                                 ALT
                    Insert a “ref”                          ………..
                      fragment



                           alt                     opt                   break
                                                                                   ….
Agenda
Introduction
UML
                                                                                         6 of 7
Related Work
Translation Methodology
Comparison                 Example                    Use Case ID   UC-05
Conclusion & Future work
                                                      Use Case      Withdraw
                                                      Name
                                                      Actors        Customer

                           ATM              account   Main Flow
                                                           1        INC Login
  Customer
                                                           2        The ATM requests
                                                                    amount from customer.
   ref                     Login                           3        Customer enters amount
                                                                    in the ATM.
                                                           4        ATM retrieves balance
                                                                    from account
         Request(amount)                                  A1        Amount is greater than
                                                                    Balance
                                                       Alternate
          enters(amount)                                 Flow
                              retrieve(balance)           A1        1.   Display Error
                                                                         Message
Agenda
Introduction
UML
                            7 of 7
Related Work
Translation Methodology
Comparison
Conclusion & Future work




  • The tool will allow
  the user to enter
  descriptions of all the
  use cases.
  •These cases can
  then be converted
  into a sequence
  diagram.
  • The output is in the
  form of an XMI file.

  •This XMI file can be
  imported in any UML
  CASE tool
Agenda
Introduction
UML
Related Work
Translation Methodology
Comparison
Conclusion & Future work          Case-study: A sample of five student projects with an average
                                  of 15 use cases was used.

                                   UC        SEQ               Sentence
                                                                                  Composition
                       Research Constructs Constructs        Classification
                                                                                  Restrictions
                                   (5)        (20)              (%age)
                       1999          1            3             43.53%                  8
  Construct Sentence
            Syntax




                       2000          3            5              49%                    4
                       2007(a)       1            3              45%                    7
                       2003        4+1           13               N/A                 N/A
                       2007(b)       4           13               N/A                 N/A
  Based




                       2008          4           14               N/A                 N/A
  Proposed             2010          5           17             74.08%                  2
  Approach
Agenda
Introduction
UML
Related Work
Translation Methodology
Comparison
Conclusion & Future work



        Communication gap between the specification
         domain and the design domain leads to an incorrect
         and inconsistent system.
        An automatic approach to translating use case
         descriptions to sequence diagrams is presented.
        UML metamodel for use case specification and
         sequence diagram is used to guide the translation
         process.
        This work is supported by KACST Research Grant
         (No. a-i: 18-20).
Agenda
Introduction
UML
Related Work
Translation Methodology
Comparison
Conclusion & Future work



        Tagging is done over simple sentences.
         Compound sentences should also be handled in
         the future.
        Increasing the classification rate by enriching
         the dictionary using AI techniques rather than
         English Language Dictionaries.
        Work is going on to convert the XML output
         representation of the sequence diagram to a
         graphical form.
I would like to acknowledge the support of
my dissertation advisor Dr. Mohammad
Alshayeb.

Contenu connexe

Tendances

An introduction to uml
An introduction to umlAn introduction to uml
An introduction to umlTony Huynh
 
UML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language IntroductionUML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language IntroductionRamakant Soni
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxNwabueze Obioma
 
Arch06 1
Arch06 1Arch06 1
Arch06 1nazn
 
Unit 1- OOAD ppt
Unit 1- OOAD  pptUnit 1- OOAD  ppt
Unit 1- OOAD pptPRIANKA R
 
Unified modelling language (UML)
Unified modelling language (UML)Unified modelling language (UML)
Unified modelling language (UML)Hirra Sultan
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbolsKumar
 
What is UML (Unified Modeling Language)?
What is UML (Unified Modeling Language)?What is UML (Unified Modeling Language)?
What is UML (Unified Modeling Language)?Eliza Wright
 
UML Architecture and Views
UML Architecture and ViewsUML Architecture and Views
UML Architecture and ViewsKumar
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)Nguyen Tuan
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMMubashir Ali
 
Unified modeling language diagrams
Unified modeling language diagramsUnified modeling language diagrams
Unified modeling language diagramsAlaa Ahmed
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with umlsabin kafle
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGERaval Chirag
 
Object oriented methodology & unified modeling language
Object oriented methodology & unified modeling languageObject oriented methodology & unified modeling language
Object oriented methodology & unified modeling languageIsmail El Gayar
 

Tendances (20)

An introduction to uml
An introduction to umlAn introduction to uml
An introduction to uml
 
UML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language IntroductionUML Diagrams- Unified Modeling Language Introduction
UML Diagrams- Unified Modeling Language Introduction
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Arch06 1
Arch06 1Arch06 1
Arch06 1
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
 
Unit 1- OOAD ppt
Unit 1- OOAD  pptUnit 1- OOAD  ppt
Unit 1- OOAD ppt
 
Unified modelling language (UML)
Unified modelling language (UML)Unified modelling language (UML)
Unified modelling language (UML)
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
 
What is UML (Unified Modeling Language)?
What is UML (Unified Modeling Language)?What is UML (Unified Modeling Language)?
What is UML (Unified Modeling Language)?
 
UML Architecture and Views
UML Architecture and ViewsUML Architecture and Views
UML Architecture and Views
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
 
Lect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPMLect-4: UML diagrams - Unified Modeling Language - SPM
Lect-4: UML diagrams - Unified Modeling Language - SPM
 
Unified modeling language diagrams
Unified modeling language diagramsUnified modeling language diagrams
Unified modeling language diagrams
 
analysis and design with uml
analysis and design with umlanalysis and design with uml
analysis and design with uml
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
 
Object oriented methodology & unified modeling language
Object oriented methodology & unified modeling languageObject oriented methodology & unified modeling language
Object oriented methodology & unified modeling language
 
Uml
UmlUml
Uml
 

En vedette

Semantic Relatedness for All (Languages): A Comparative Analysis of Multiling...
Semantic Relatedness for All (Languages): A Comparative Analysis of Multiling...Semantic Relatedness for All (Languages): A Comparative Analysis of Multiling...
Semantic Relatedness for All (Languages): A Comparative Analysis of Multiling...Siyamak Barzegar
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramNikhil Pandit
 
CSP Report Group E (1)
CSP Report Group E (1)CSP Report Group E (1)
CSP Report Group E (1)Rachit Kansal
 
Mobile user experience and Atomic use case
Mobile user experience and Atomic use caseMobile user experience and Atomic use case
Mobile user experience and Atomic use caseManu Rekhi
 
The Ultimate Sequence Diagram Tutorial
The Ultimate Sequence Diagram TutorialThe Ultimate Sequence Diagram Tutorial
The Ultimate Sequence Diagram TutorialCreately
 
CS587 Project - Raychaudhury,Shaalmali
CS587 Project - Raychaudhury,ShaalmaliCS587 Project - Raychaudhury,Shaalmali
CS587 Project - Raychaudhury,Shaalmalisagar.247
 
ProjectReport - Maurya,Shailesh
ProjectReport - Maurya,ShaileshProjectReport - Maurya,Shailesh
ProjectReport - Maurya,Shaileshsagar.247
 
CSP586 Project - Maurya, Shailesh
CSP586 Project - Maurya, ShaileshCSP586 Project - Maurya, Shailesh
CSP586 Project - Maurya, Shaileshsagar.247
 
Sign language translator ieee power point
Sign language translator ieee power pointSign language translator ieee power point
Sign language translator ieee power pointMadhuri Yellapu
 
Magic glove( sign to voice conversion)
Magic glove( sign to voice conversion)Magic glove( sign to voice conversion)
Magic glove( sign to voice conversion)Abhilasha Jain
 

En vedette (13)

Semantic Relatedness for All (Languages): A Comparative Analysis of Multiling...
Semantic Relatedness for All (Languages): A Comparative Analysis of Multiling...Semantic Relatedness for All (Languages): A Comparative Analysis of Multiling...
Semantic Relatedness for All (Languages): A Comparative Analysis of Multiling...
 
Use case Diagram and Sequence Diagram
Use case Diagram and Sequence DiagramUse case Diagram and Sequence Diagram
Use case Diagram and Sequence Diagram
 
CSP Report Group E (1)
CSP Report Group E (1)CSP Report Group E (1)
CSP Report Group E (1)
 
Mobile user experience and Atomic use case
Mobile user experience and Atomic use caseMobile user experience and Atomic use case
Mobile user experience and Atomic use case
 
PROJECT REPORT
PROJECT REPORTPROJECT REPORT
PROJECT REPORT
 
Use case diagrams
Use case diagramsUse case diagrams
Use case diagrams
 
The Ultimate Sequence Diagram Tutorial
The Ultimate Sequence Diagram TutorialThe Ultimate Sequence Diagram Tutorial
The Ultimate Sequence Diagram Tutorial
 
CS587 Project - Raychaudhury,Shaalmali
CS587 Project - Raychaudhury,ShaalmaliCS587 Project - Raychaudhury,Shaalmali
CS587 Project - Raychaudhury,Shaalmali
 
ProjectReport - Maurya,Shailesh
ProjectReport - Maurya,ShaileshProjectReport - Maurya,Shailesh
ProjectReport - Maurya,Shailesh
 
CSP586 Project - Maurya, Shailesh
CSP586 Project - Maurya, ShaileshCSP586 Project - Maurya, Shailesh
CSP586 Project - Maurya, Shailesh
 
Sign language translator ieee power point
Sign language translator ieee power pointSign language translator ieee power point
Sign language translator ieee power point
 
Magic glove( sign to voice conversion)
Magic glove( sign to voice conversion)Magic glove( sign to voice conversion)
Magic glove( sign to voice conversion)
 
Pepsico ppt
Pepsico pptPepsico ppt
Pepsico ppt
 

Similaire à An Automatic Approach to Translate Use Cases to Sequence Diagrams

Batch 21(14,64,66)
Batch 21(14,64,66)Batch 21(14,64,66)
Batch 21(14,64,66)swethadln
 
4+1view architecture
4+1view architecture4+1view architecture
4+1view architecturedrewz lin
 
4+1view architecture
4+1view architecture4+1view architecture
4+1view architectureTot Bob
 
Verteilte Synchronisierung von Modellen in automatisierten Entwicklungsprozessen
Verteilte Synchronisierung von Modellen in automatisierten EntwicklungsprozessenVerteilte Synchronisierung von Modellen in automatisierten Entwicklungsprozessen
Verteilte Synchronisierung von Modellen in automatisierten EntwicklungsprozessenIntland Software GmbH
 
Migrating Legacy Waveforms to the Software Communications Architecture (SCA)
Migrating Legacy Waveforms to the Software Communications Architecture (SCA)Migrating Legacy Waveforms to the Software Communications Architecture (SCA)
Migrating Legacy Waveforms to the Software Communications Architecture (SCA)ADLINK Technology IoT
 
Software engineering
Software engineeringSoftware engineering
Software engineeringh2eEdgar
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...ijceronline
 
UML Generator (NCC18)
UML Generator (NCC18)UML Generator (NCC18)
UML Generator (NCC18)IT Industry
 
Software Architecture: views and viewpoints
Software Architecture: views and viewpointsSoftware Architecture: views and viewpoints
Software Architecture: views and viewpointsHenry Muccini
 
MANAGING AND ANALYSING SOFTWARE PRODUCT LINE REQUIREMENTS
MANAGING AND ANALYSING SOFTWARE PRODUCT LINE REQUIREMENTSMANAGING AND ANALYSING SOFTWARE PRODUCT LINE REQUIREMENTS
MANAGING AND ANALYSING SOFTWARE PRODUCT LINE REQUIREMENTSijseajournal
 
BPM Standards - What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)
BPM Standards -  What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)BPM Standards -  What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)
BPM Standards - What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)Denis Gagné
 
Model Runway Part 2 Design Best Practices at Blue Cross BlueShield
Model Runway Part 2   Design Best Practices at Blue Cross BlueShieldModel Runway Part 2   Design Best Practices at Blue Cross BlueShield
Model Runway Part 2 Design Best Practices at Blue Cross BlueShieldRoger Snook
 
Pressman ch-3-prescriptive-process-models
Pressman ch-3-prescriptive-process-modelsPressman ch-3-prescriptive-process-models
Pressman ch-3-prescriptive-process-modelssaurabhshertukde
 
Evolution of Modelling Techniques for Service Oriented Architecture
Evolution of Modelling Techniques for Service Oriented ArchitectureEvolution of Modelling Techniques for Service Oriented Architecture
Evolution of Modelling Techniques for Service Oriented ArchitectureIJERA Editor
 
General Methodology for developing UML models from UI
General Methodology for developing UML models from UIGeneral Methodology for developing UML models from UI
General Methodology for developing UML models from UIijwscjournal
 
General Methodology for developing UML models from UI
General Methodology for developing UML models from UIGeneral Methodology for developing UML models from UI
General Methodology for developing UML models from UIijwscjournal
 
General Methodology for developing UML models from UI
General Methodology for developing UML models from UIGeneral Methodology for developing UML models from UI
General Methodology for developing UML models from UIijwscjournal
 
General Methodology for developing UML models from UI
General Methodology for developing UML models from UI General Methodology for developing UML models from UI
General Methodology for developing UML models from UI ijwscjournal
 

Similaire à An Automatic Approach to Translate Use Cases to Sequence Diagrams (20)

Batch 21(14,64,66)
Batch 21(14,64,66)Batch 21(14,64,66)
Batch 21(14,64,66)
 
P1153 kumar a
P1153 kumar aP1153 kumar a
P1153 kumar a
 
4+1view architecture
4+1view architecture4+1view architecture
4+1view architecture
 
4+1view architecture
4+1view architecture4+1view architecture
4+1view architecture
 
Verteilte Synchronisierung von Modellen in automatisierten Entwicklungsprozessen
Verteilte Synchronisierung von Modellen in automatisierten EntwicklungsprozessenVerteilte Synchronisierung von Modellen in automatisierten Entwicklungsprozessen
Verteilte Synchronisierung von Modellen in automatisierten Entwicklungsprozessen
 
Migrating Legacy Waveforms to the Software Communications Architecture (SCA)
Migrating Legacy Waveforms to the Software Communications Architecture (SCA)Migrating Legacy Waveforms to the Software Communications Architecture (SCA)
Migrating Legacy Waveforms to the Software Communications Architecture (SCA)
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
UML Generator (NCC18)
UML Generator (NCC18)UML Generator (NCC18)
UML Generator (NCC18)
 
Writing Good Use Cases
Writing Good Use CasesWriting Good Use Cases
Writing Good Use Cases
 
Software Architecture: views and viewpoints
Software Architecture: views and viewpointsSoftware Architecture: views and viewpoints
Software Architecture: views and viewpoints
 
MANAGING AND ANALYSING SOFTWARE PRODUCT LINE REQUIREMENTS
MANAGING AND ANALYSING SOFTWARE PRODUCT LINE REQUIREMENTSMANAGING AND ANALYSING SOFTWARE PRODUCT LINE REQUIREMENTS
MANAGING AND ANALYSING SOFTWARE PRODUCT LINE REQUIREMENTS
 
BPM Standards - What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)
BPM Standards -  What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)BPM Standards -  What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)
BPM Standards - What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)
 
Model Runway Part 2 Design Best Practices at Blue Cross BlueShield
Model Runway Part 2   Design Best Practices at Blue Cross BlueShieldModel Runway Part 2   Design Best Practices at Blue Cross BlueShield
Model Runway Part 2 Design Best Practices at Blue Cross BlueShield
 
Pressman ch-3-prescriptive-process-models
Pressman ch-3-prescriptive-process-modelsPressman ch-3-prescriptive-process-models
Pressman ch-3-prescriptive-process-models
 
Evolution of Modelling Techniques for Service Oriented Architecture
Evolution of Modelling Techniques for Service Oriented ArchitectureEvolution of Modelling Techniques for Service Oriented Architecture
Evolution of Modelling Techniques for Service Oriented Architecture
 
General Methodology for developing UML models from UI
General Methodology for developing UML models from UIGeneral Methodology for developing UML models from UI
General Methodology for developing UML models from UI
 
General Methodology for developing UML models from UI
General Methodology for developing UML models from UIGeneral Methodology for developing UML models from UI
General Methodology for developing UML models from UI
 
General Methodology for developing UML models from UI
General Methodology for developing UML models from UIGeneral Methodology for developing UML models from UI
General Methodology for developing UML models from UI
 
General Methodology for developing UML models from UI
General Methodology for developing UML models from UI General Methodology for developing UML models from UI
General Methodology for developing UML models from UI
 

Dernier

Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Dernier (20)

Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

An Automatic Approach to Translate Use Cases to Sequence Diagrams

  • 1. An Automatic Approach to Translate Use Cases to Sequence Diagrams Mohammed Misbhauddin PhD Candidate ICS Department, KFUPM mdmisbha@kfupm.edu.sa
  • 2. 1. Introduction 2. Unified Modeling Language  Use Case Diagram  Sequence Diagram 3. Related Work 4. Translation Methodology 5. Comparison 6. Conclusion and Future work
  • 3. Agenda Introduction UML 1 of 3 Related Work Translation Methodology Comparison Conclusion & Future work  Software engineering is an engineering discipline that is concerned with all aspects of software production.  The software process consists of activities that are involved in developing software products. Basic activities are software specification, design, development and validation.
  • 4. Agenda Introduction UML 2 of 3 Related Work Translation Methodology Comparison Conclusion & Future work Requirement Analysis Design Spec Class Diagram SRS Use Case Diagram Sequence Diagram Deployment Diagram Activity Diagram Communication Component Diagram GUI Layout Diagram State Machine Diagram Plan Package Diagram Object Diagram Validation Implementation Test cases Code Acceptance Summary Test scenarios
  • 5. Agenda Introduction UML 3 of 3 Related Work Translation Methodology Comparison Conclusion & Future work Effect of Miscommunication Need: Automated approach to translate an artifact from one domain to another.
  • 6. Agenda Introduction UML Related Work Translation Methodology Comparison Conclusion & Future work  UML is a graphical language which provides notations and action semantics to describe and design Object Oriented Software Systems.  UML 2.0 Models Suite - 13 Different Diagrams Class Diagram Timing Diagram State Machine Diagram Sequence Diagram Use Case Diagram Object Diagram Activity Diagram Component Diagram Composite Structure Diagram Communication Diagram Deployment Diagram Interaction Overview Diagram Package Diagram 6
  • 7. Agenda Introduction UML Related Work Translation Methodology Comparison Use case diagram is a powerful artifact used for the elicitation Conclusion & Future work of functional software requirements in the requirements specification phase. Use Case ID UC-05 Use Case Name Withdraw Actors Customer ATM System Main Flow Login 1 INC Login 2 The ATM requests amount from <<include>> customer. Withdraw 3 Customer enters amount. Customer <<extend>> 4 ATM retrieves balance from Display account Balance A1 Amount is greater than Balance Alternate Flow A1 1. Display Error Message
  • 8. Agenda Introduction UML Related Work Translation Methodology Comparison Conclusion & Future work Sequence diagrams are used to model the dynamic behavior of the software system depicting how objects interact by passing messages constructed in the design phase. Objects Messages Fragments
  • 9. Agenda Introduction UML Related Work Translation Methodology Comparison Conclusion & Future work ISSUES UML Sequence •Incomplete Diagram Generator A Semi-Automatic System from Use utilization of Approach to Translating Use Case Description Using Natural available constructs Cases to Sequence Diagrams 4th Language •Enforcing Describing Technology Congress of Electronics, Robotics and Use-Case guidelines while Relationships of OO Languages Translating Automotive Mechanics with Sequence composing Use Cases & Systems to Sequence Diagrams descriptions 2007(a) 1999 Diagrams The Modeling User- •Either work at Specifying Use Case System Interaction IEEE Behavior With Computer in Use Cases with sentence level or Journal Dynamic Views Automated Software Interaction Models construct level but Engineering 2007(b) IEEE not both. Computational Intelligence and 2000 Industrial Journal of Object Application Technology 2008 2003
  • 10. Agenda Introduction UML 1 of 7 Related Work Translation Methodology Comparison Conclusion & Future work  The proposed approach can be summarized as follows:  Develop a metamodel for use case descriptions and sequence diagrams.  Parse use case steps.  Identify mapping rules between these meta-models.
  • 11. Agenda Introduction UML 2 of 7 Related Work Translation Methodology Comparison Conclusion & Future work Phase 1: Syntactic Structure Identification Dictionary Use case Parts-of- Translation Description Speech Tagger Process Use case parser Sequence Diagram
  • 12. Agenda Introduction UML 3 of 7 Related Work Translation Methodology Comparison Conclusion & Future work Example Customer inserts card into ATM POS subject verb object1 preposition object2 Tagger Dictionary sender action argument Receiver ATM Inserts(card) Customer
  • 13. Agenda Introduction UML 4 of 7 Related Work Translation Methodology Comparison Conclusion & Future work Phase 2: Construct Based Translation Architecture Translation Sequence Diagram Use Case Metamodel Metamodel conforms Translation Meta model conforms Use Case Description Sequence Diagram uses receives produces Misbhauddin, M. and M. Alshayeb, “Extending the UML Metamodel for Sequence Diagram to Translation Process Enhance Model Traceability”, the Fifth International Conference on Software Engineering Advances, Nice, France, August 22-27, 2010
  • 14. Agenda Introduction UML 5 of 7 Related Work Translation Methodology Comparison Start Conclusion & Future work T Anchor F Metamodel Mapping Parse and Algorithm Include Identify (excerpt) components ALT Insert a “ref” ……….. fragment alt opt break ….
  • 15. Agenda Introduction UML 6 of 7 Related Work Translation Methodology Comparison Example Use Case ID UC-05 Conclusion & Future work Use Case Withdraw Name Actors Customer ATM account Main Flow 1 INC Login Customer 2 The ATM requests amount from customer. ref Login 3 Customer enters amount in the ATM. 4 ATM retrieves balance from account Request(amount) A1 Amount is greater than Balance Alternate enters(amount) Flow retrieve(balance) A1 1. Display Error Message
  • 16. Agenda Introduction UML 7 of 7 Related Work Translation Methodology Comparison Conclusion & Future work • The tool will allow the user to enter descriptions of all the use cases. •These cases can then be converted into a sequence diagram. • The output is in the form of an XMI file. •This XMI file can be imported in any UML CASE tool
  • 17. Agenda Introduction UML Related Work Translation Methodology Comparison Conclusion & Future work Case-study: A sample of five student projects with an average of 15 use cases was used. UC SEQ Sentence Composition Research Constructs Constructs Classification Restrictions (5) (20) (%age) 1999 1 3 43.53% 8 Construct Sentence Syntax 2000 3 5 49% 4 2007(a) 1 3 45% 7 2003 4+1 13 N/A N/A 2007(b) 4 13 N/A N/A Based 2008 4 14 N/A N/A Proposed 2010 5 17 74.08% 2 Approach
  • 18. Agenda Introduction UML Related Work Translation Methodology Comparison Conclusion & Future work  Communication gap between the specification domain and the design domain leads to an incorrect and inconsistent system.  An automatic approach to translating use case descriptions to sequence diagrams is presented.  UML metamodel for use case specification and sequence diagram is used to guide the translation process.  This work is supported by KACST Research Grant (No. a-i: 18-20).
  • 19. Agenda Introduction UML Related Work Translation Methodology Comparison Conclusion & Future work  Tagging is done over simple sentences. Compound sentences should also be handled in the future.  Increasing the classification rate by enriching the dictionary using AI techniques rather than English Language Dictionaries.  Work is going on to convert the XML output representation of the sequence diagram to a graphical form.
  • 20. I would like to acknowledge the support of my dissertation advisor Dr. Mohammad Alshayeb.