CSE460 Lecture 05

CSE460 Lecture 05

Software Analysis and Design
Requirements Analysis
(202008)

B546a9b97d993392e4b22b74b99b91fe?s=128

Javier Gonzalez

July 05, 2020
Tweet

Transcript

  1. jgs CSE 460 Software Analysis and Design Lecture 05: Requirements

    Analysis Dr. Javier Gonzalez-Sanchez javiergs@asu.edu javiergs.engineering.asu.edu | javiergs.com PERALTA 230U Office Hours: By appointment
  2. jgs Previously

  3. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 3 jgs

    Previously Needs Necessities Wishes Desires Ideas Requirements
  4. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 4 jgs

    Requirements are: § Clear, Comprehensible, Coherent, § Unambiguous § Consistent § Verifiable § Traceable § Prioritized
  5. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 5 jgs

    Pacman
  6. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 6 jgs

    Previously I want a Pacman videogame Requirements
  7. jgs Requirements Analysis

  8. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 8 jgs

    Initial Idea
  9. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 9 jgs

    Requirements Engineering
  10. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 10 jgs

    Pac-Man § View Maze § View Characters § View Score § Move § Wall collision § Eat a dot § Eat power-up dot § Eat ghost § Pac-man dies And, then the enemy …
  11. jgs (

  12. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 12 jgs

    Use Case Diagrams § Use case –put the title of one requirement inside. Use cases capture requirements. § Actor –put the name of an actor at the bottom side. An actor specifies a role played by an external entity requirement title actor name
  13. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 13 jgs

    Use Case Diagrams child father base addition extension base << include >> << extend >>
  14. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 14 jgs

    Inheritance § Generalization/Specialization (Inheritance) – used when there is common behavior between two use cases and specialized behavior specific to each use case. § Generalization/Specialization (Inheritance) – of an actor means that one actor can inherit the role of the other actor
  15. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 15 jgs

    Association § Association – between an actor and a use case indicates that the actor and the use case somehow interact or communicate with each other.
  16. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 16 jgs

    Inclusion § Show that behavior of the included use case (addition) is inserted into the behavior of the including (base) use case. § A dashed line with an open arrowhead directed from the including use case (base) to the included (addition) use case. The arrow is labeled with the keyword «include». § The include relationship is used to (1) simplify large use case by splitting it into several use cases, (2) extract common parts of the behaviors of two or more use cases. base addition
  17. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 17 jgs

    Extension § Extending use case defines optional behavior that is not necessarily meaningful by itself. § Extend relationship is shown as a dashed line with an open arrowhead directed from the extending use case to the extended (base) use case. The arrow is labeled with the keyword «extend». base extension
  18. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 18 jgs

    Example 1
  19. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 19 jgs

    Example 2
  20. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 20 jgs

    Example 3
  21. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 21 jgs

    Example 4
  22. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 22 jgs

    Example 5
  23. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 23 jgs

    Example 6
  24. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 24 jgs

    Example 7
  25. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 25 jgs

    Example 8 http://epf.eclipse.org/wikis/openup/core.tech.common.extend_supp/guidances/examples/uc_model_elaboration_phase_70035F60.html
  26. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 26 jgs

    Example 9
  27. Javier Gonzalez-Sanchez | CSE460 | Fall 2020 | 27 jgs

    Example 10
  28. jgs )

  29. jgs CSE 460 Software Analysis and Design Javier Gonzalez-Sanchez javiergs@asu.edu

    Fall 2020 Disclaimer. These slides can only be used as study material for the class CSE460 at ASU. They cannot be distributed or used for another purpose.