简体   繁体   中英

How to identify Irrelevant Usecases?

I am modeling an use case diagram for point of sale system. Can I show use cases like " Enter to store " in my use case diagram?

It is irrelevant for the system I think to show use cases like " Enter to store ".

Am I right? Are these irrelevant or should I show them?

"Enter to store" is no use case at all. It does not bring any added value to the actor. It is either a constraint to other use cases (eg { must have entered store } ) or it is a simple action in some other use case.

So you are best off removing them.

The "boss rule of thumb" is nice. If your boss is satisfied if the actor does this all day long, chances are you have a good usecase. If not, chances are you have to revise it.

This is at least good for a high-level overview.

Example:

  • "purchase product" -> passes
  • "view comments" --> fails

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM