-
Notifications
You must be signed in to change notification settings - Fork 0
Branch: package_by_component_Secondary
In all component diagrams, the rectangle labeled 'UI/Presentation' is used simply as a way of grouping these related components. So for organizational purposes, the dependency representation of the 'UI/Presentation' components and the Core component has been simplified to a single line, as doing so for each UI component would create a lot of visual clutter.
Simplified | Showing Internal Structure of the Movie Component |
---|---|
Showing Main Component |
---|
The main component is made up of the module configuration and also includes auto-generated code from the dependency injection framework.
The Movie component is represented by the com.vanskarner.movie package, as shown in the following diagram:
Note that both local and remote persistence depend on the business logic package, as shown in the internal structure of the Movie component in the component diagram.
These are the software artifacts that are visible to the client or consumer of this component:
This diagram shows the dependency of the Movie component on the Core component:
The UpcomingUI, UpcomingDetailUI and FavoritesUI components are represented by the upcoming, upcomingDetail and favorites packages, respectively:
This diagram shows the dependency of the UI components on the Movie component:
Summary of application metrics.
All gradle modules are located in this graph.
Although the gradle module "app" is placed outside the green band, it is important to note that a gradle module does not necessarily always represent a single component. In fact, the gradle "app" module houses both the Main component and the UI components, such as: upcoming, upcomingDetail and favorites.
Therefore, each UI component could be analyzed. For this purpose, a rule called "Distance from main sequence in UI components" has been designed to calculate the metrics Instability, Abstraction and Distance from Main Sequence:
© 2023 Vanskarner. All rights reserved.
Contact with us: contact@vanskarner.com