Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

In software and systems engineering, a use case is a list of steps, typically defining interactions between a role and a system. From Wikipedia: http://en.wikipedia.org/wiki/Use_case

0
votes
1answer
59 views

Android Clean Architecture - Seperate Usecases, Single Usecase, or not a Usecase at all?

I'm working on refactoring an older project of mine to follow the Clean Architecture paradigm (and loving it so far) and one of my components is causing me a bit of confusion in relation to whether or ...
-3
votes
1answer
90 views

Difference between UML 2.0 vs 2.5 in use case diagram

I got a question in examination asking to draw an Use case diagram using UML 2.5. However I can't figure out what are the changes in UML 2.5 and 2.0 in Use case diagrams.
0
votes
1answer
24 views

detailing different implementation of the same use case for different user types - Use Case Diagram

I am making a use case diagram that includes multiple users. 2 of these users share the same use case but each with different usage. In case a global use case diagram is already done and a detailed ...
0
votes
0answers
41 views

How can I group related functions within a use case?

Context In the context of a GraphQL API let's consider this query: query { blogPosts { id title body author { id name } ...
1
vote
1answer
29 views

How properly include dependencies to artifacts in UML use cases

I want to express a use case diagram involving two stakeholders, where one stakeholder's use case is co-depending on an artifact, that is produced by the other stakeholder's use case. In the ...
1
vote
4answers
334 views

Separation of application logic and domain logic in Clean Architecture

I'm struggling with the separation of logic between entities and interactors or Use Cases. If I design the entities with DDD principles, each entity would have methods corresponding to use cases, ...
1
vote
1answer
50 views

Is 'extending' a use case unnecessary when it is directly associated with the actor?

I have an Employee who can view items . he also can checkout an item independently (regardless of manage items use-case ). The problem is that when an Employee view items he can choose to checkout one....
1
vote
1answer
80 views

UML, <<extending>> and <<including>> from the same use case

This is a use case diagram about the enrollment of students at a university. There are several flaws in it, and I have to find them. I am wondering what is happening when you get to use case "Choose ...
1
vote
1answer
284 views

When “Log in” should be a use case and when not?

I know this question has been asked many times in different forms, but I feel that there is still no definitive answer to it. Some say login is not a valid use case because login does not have any ...
2
votes
2answers
56 views

Is a file hosting server a secondary actor in a “Play a Video” usecase?

I have a use-case named "Play a Video" in my project. The video is played from a purchased webserver on which i host the video only for my application's use.Now in the "Play a Video" use-case is "File ...
1
vote
2answers
124 views

Are repeat, forward, rewind and stop extending usecases of the base usecase “Play Music” in a music player?

I am confused in a scenerio, where i have a music player that has a music playlist. I need help on the following usecase of the music player. Title : Play the music playlist Precondition: ...
1
vote
1answer
54 views

How can we make Use Case Model in UML for given Statement?

I have the following statement for which I have to make Use Case Model I am just stuck at two points, I have completed all the actors and use cases. Problem Statement News Mobile Application offers ...
1
vote
0answers
51 views

Generalisations in Use Case Diagrams

The application I'm creating allows the sales team, and development team to manipulate 'environments'. I am visualising this through a use-case diagram. Essentially, both roles are able to search/...
2
votes
1answer
499 views

Clean architecture - How do I deal with use case reuse?

Trying to apply Uncle Bob's clean architecture to an application I'm maintaining and I'm having difficulties with use cases and duplication/reuse. It's my understanding that usecases should be self ...
0
votes
2answers
162 views

use case diagram for data collection

I am creating a project related to education system in which data of universities ,admission and scholarships will be gathered and displayed on site. In this project I am scraping data from different ...
1
vote
1answer
79 views

Modelling a UML Use Case Diagram from a scenario with detailed information

I am having trouble gaining an intuition about UML Use Case Diagrams and what to include in them and what not, starting from a given scenario in prose. I have read through my course materials and the ...
2
votes
1answer
91 views

Use case causes other use cases

I am making this independent drone control system that a user can start and stop. When the program is started, the connected drone takes off, hovers, and turns to face the other side. At first I ...
3
votes
2answers
154 views

Use Case Diagram

I'm not sure if my diagram is correct, is it ok to have this number of include relationship? Note: My system scenario: user go to web page and enter any Twitter user account, then my system will ...
3
votes
2answers
115 views

Use Case Diagrams - Are all use cases conducted by an outside user?

In system design using use case diagrams are all use cases initiated/done by the external user: e.g. add line item, print receipt Or can use cases be entirely internal/automatic: e.g. calculate ...
1
vote
1answer
172 views

Understanding use case levels

I've found out that there are 5 use case levels: Level 0 Cloud Level 1 Kite Level 2 Sea Level 3 Fish Level 4 Clam Cloud level lists only high level users goals such as "Manage files". Kite level ...
3
votes
2answers
151 views

Is there a valid use case for the using namespace directive?

I looked trough some of my older code and found that I was using the using namespace directive. From what I read in a lot of google results, it seems that it is never a good idea to use this. Is there ...
4
votes
5answers
330 views

Is it feasible to use User Stories and Use Cases in the same team?

I am trying to encourage working practices that are more agile. I am trying to understand the difference between a Use Case and a User Story. I have read a lot of articles and questions like What'...
4
votes
2answers
2k views

Clean Architecture - Too many Use Case Classes

I'm going into Clean Architecture and lift my Android level from MVC to MVP, introducing DI with Dagger 2, Reactivity with RxJava 2, and of course Java 8. In MVP clean architecture there is a layer ...
-4
votes
1answer
75 views

System requirement in use case diagram [closed]

I have system requirements that the system will send an alert to the user. This requirement is the most important requirement of my system. Is it represented in the use case diagram or not? Thank ...
0
votes
2answers
407 views

Google Map API as an actor to my system [closed]

My system will deal with Google map API to locate user's location after his/her request. I am drawing the use case diagram and wondering if "Google Map API" should be an external actor to my system ...
2
votes
1answer
641 views

How to model two-step Login in UML via Use Cases and Sequence diagrams properly?

I need to create a login page for a basic accountancy-related application. Login action should be two-step one: User enters their username and password and hits "Authorize" button, After successful ...
2
votes
1answer
153 views

Automatic blocking/unblocking of allocated seats in a movie ticketing system [closed]

I am trying to build a movie ticketing system. But I am not able to figure out how to solve the below use case: Let’s say there are 10 seats namely S1,S2,S3,S4… S10. Now let’s say that User1 had ...
-1
votes
1answer
177 views

Can a use case be both an extension and an inclusion?

Can a use case be both an extension and an inclusion?
-1
votes
2answers
314 views

Should we use 'include' in use case diagrams for use cases belong to different actors

I have a requirement that is a user of the system can make a complaint about an organization and then the admin can blacklist that organization. Do I have to include the use case "Make complaints"(of ...
3
votes
2answers
196 views

Use Case Diagrams. Include

If I have two use cases: Send Email, and View Contact Page. And Send Email includes View Contact Page. Do I still need to use association to connect my actor(user) with Send Email if I want to show ...
-3
votes
3answers
164 views

Doubts about requirements (textual use cases and functional and user requirements)

Im studying about requirements but Im with some doubts. I read that it is common in a project to divide the requirements into user, functional and non functional and I studied about the three types. ...
4
votes
1answer
755 views

Use case diagram and actor generalization: different use case diagrams for unlogged user and logged users

I'm developing a software that manages a shop. Anyone can visit the shop as unlogged user (aka visitor). If you want to buy something you have to login first (you become a logged user) and then you ...
1
vote
1answer
443 views

Use cases with no primary actors

Say I need to model two use cases: "do something" via a batch file interface and via a web service call (UC1 and UC2). Batch interface will "do something" with each record in the file, while web ...
0
votes
1answer
67 views

Identifying the use case for instantiation only through existing instances

I was in my CS class when my instructor presented me the following classes: public class UninstantiableTest { private static Uninstantiable uninstantiable; public static void ...
1
vote
0answers
82 views

Use case extend for 1 actor

I have a doubt related to the construction of a simple use case, basicly i have 2 actors in my example, and i connected the first actor to some use cases in which 1 of them has some optional ...
3
votes
3answers
8k views

Difference between scenario and use-case

Is a scenario a bigger picture with more details than a use-case or how much difference is there? I write a report where I prefer the word scenario but in my training we used the word use-case (in a ...
5
votes
4answers
663 views

What are some good alternatives to use cases when the system has no actors?

I'm working on a software and hardware system which is completely autonomous in its activities. There is no user involved and one external system which data is sent to. There are a lot of different ...
5
votes
3answers
3k views

Use case diagram (UML): Should database storage be an sub use case (in this diagram)?

Application background A short description of what the application should do I'm developing an application which analyses DNA sequences. The user will load a certain file containing a DNA sequence. ...
3
votes
2answers
572 views

What are the actors in a backend server use case?

Lets say we have a backend server maybe a database or whatever. When generating the use cases for that server who would be considered as the actor? System(front-end) or the user(user interacts only ...
8
votes
7answers
1k views

Which should be done first: use cases or user stories?

I've heard both about use cases (I'm talking about the description, not the diagram) and user stories being used to gather requirements and organize them better. I work alone, so I'm just trying to ...
-1
votes
1answer
45 views

Correct Use Case in S/W requirements

So in S/W Requirements how to know a correct use case ? for Example : this one here seems wrong but I'm not sure
0
votes
2answers
1k views

How to show a sub system like mobile application in a Use Case Diagram

Imagine the main system with the following use cases : one person may register, and book a room. At the same time there is a mobile app which is derived from the main system which is enabling the ...
5
votes
2answers
436 views

Does UML Use Case allow “use case polymorphism”?

I have two Actors: User and Admin that will interact with my system. Admin uses generalization to inherent use cases from User. I have a use case named authenticate that should have two different ...
4
votes
2answers
282 views

How to OOA/OOD a rather complex concept?

I'm a novice at Object-Oriented Designing and have read some OOD books & tutorials recently. Now I'm planning to implement a video player(based on existing media api, AVFoundation or MediaPlayer ...
1
vote
0answers
159 views

How do you manage object lifetimes in a use-case-centric architecture?

I've been experimenting with layered, use-case-centric architectures as described in Uncle Bob's Clean Architecture blog post. Most of the examples I've seen are simple "update the customer record" ...
0
votes
2answers
71 views

How to represent a function performed by the system?

In use case modelling, if I have functions that have to be done by the system itself (without actors), how can I represent them? For example, sending SMS message, compute bus route, or notify someone ...
1
vote
1answer
93 views

Should Authentication Use Cases be represented in a UC diagram?

Should Authentication Use Cases be represented in a UC diagram? Should there even be a use case describing authentication or, as it is usually common-sense, can it be hidden?
4
votes
1answer
290 views

How do you use use cases in a driver design with interrupts?

I'm writing driver-level code that runs on a microcontroller. I've described some of the design with use cases. The users in my use cases are the the other software components that use my driver. ...
1
vote
1answer
448 views

Changing repository during Use Cases/Interactors in Clean Architecture

I'm developing an Android app whose architecture is based on the well known Uncle's Bob Clean Architecture. I have the following Use Case: Validate User Subscription It's based on this use case ...
6
votes
3answers
154 views

If I have a case with 2 subcases should I use 1 or 2 Use Cases?

Let's say I have this example. There is a chef (actor) and a Use Case cook food. If there are 2 food options to cook (lets say pasta and pizza). Should I create 1 Use Case : CookFood and then in ...