2

it add a rating use case diagram for an app am working on

Should I Include the system as an actor in my use case diagram?

I am working on an app which have added a rating for an institute here is the use case diagram I made, should there be a system as an actor in this use case diagram.

bruno
  • 32,421
  • 7
  • 25
  • 37
Faseeh
  • 23
  • 4

1 Answers1

2

To indicate the (operating) system as a secondary actor has no plus value, better to not do then.

There are several other problems in your diagram :

  • use verb to name your UC, username, password, dashboard and institution are wrong name
  • the inheritances are invalid
  • I cannot understand your includes because the included UC are wrongly named
  • for several people login does not have enough added value to appear, if you want it note it is a precondition of the other UCs
bruno
  • 32,421
  • 7
  • 25
  • 37
  • 1
    Thanks, a lot man it helps me and I will surely change the names of use cases – Faseeh Dec 25 '20 at 13:57
  • Should I always use verbs for use cases? – Faseeh Dec 25 '20 at 13:57
  • @Faseeh yes UC use verb, an UC is not a 'data', an UC cannot inherits an actor – bruno Dec 25 '20 at 13:58
  • Sure got ur point these were provided to me by a team member and I had to finalize these. – Faseeh Dec 25 '20 at 14:00
  • Is this condition is the same for Activity, Sequence, and collaboration diagrams of UML? – Faseeh Dec 25 '20 at 14:01
  • @Faseeh what you mean the same ? – bruno Dec 25 '20 at 14:02
  • let me show u the other diagrams too – Faseeh Dec 25 '20 at 14:05
  • @Faseeh open new questions, a question must not be multiple – bruno Dec 25 '20 at 14:08
  • Here is the activity Diagram Link https://ibb.co/GkWqSPh Here is the Sequence Diagram https://ibb.co/GsLQDDg Here is the Collaboration Diagram https://ibb.co/F56q6zr – Faseeh Dec 25 '20 at 14:08
  • 1
    okay opening other questions – Faseeh Dec 25 '20 at 14:09
  • I have to wait for like 90 minutes for opening a single new question it would be helpful if u can assist me here. – Faseeh Dec 25 '20 at 14:12
  • @Faseeh I did not know that limitation exist. That let you time to look at UML documentation/tutorial ;-) For instance in a seq diagram the top lifeline elements are instance of classes, *login* cannot be nor *add rating* etc. The UC describe *what* the system does, the other diagrams *how* the system does / is implemented, you cannot reuse the UC as you do – bruno Dec 25 '20 at 14:18
  • sure man, I will look into UML documentation – Faseeh Dec 25 '20 at 14:21