Executive summary
AfigAliyev/Cinemax-CMP scores 51 out of 100, which would normally be rated Adequate, but it is rated Weak because its weakest group of dimensions, Testing, is rated Critical. The standard never rates a score more than one step above its weakest group, so a high average can't hide a weak area.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 28 and is rated Weak. Its Code Coverage dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 1 No automated tests finding(s) in Code Coverage and to resolve the 1 No tests found finding(s) in Test Distribution, and if Production Readiness rose to 70, the score would rise from 51 to about 67.
13 findings are critical: 12 in Static Analysis (SAST) and one in Code Coverage.
Watchdog couldn't measure 14 dimensions in this code, among them Dependency Hygiene, License Compliance and Internal API Consistency, so they are left out of the score. The product code is 12,858 lines, which would take an estimated 0.1 person-years, around €16,000, to rebuild.
If Production Readiness rose from 28 to 70, the lowest score rated Strong, the score would rise from 51 to about 67.
New since the last survey: 1 finding
- Supply-chain Provenance & Signing · REDACTED
Fixed since the last survey: 1 finding
- Supply-chain Provenance & Signing REDACTED
Rebuild cost: about €16,000 · Estimate
| Cost to rebuild | €5,400 to €27,000, for 91 to 287 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | High, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 51. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 12,858 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 core.common.result | 2 core.model | 3 core.network.model.common | 4 core.ui.common | 5 feature.settings.model | 6 core.common.result.CinemaxResult.Failure | 7 core.common.result.CinemaxResult.Success | 8 core.database.model.MediaType | 9 core.domain.model.MediaTypeModel | 10 core.model.MediaType | 11 core.navigation.Route | 12 core.network.model.common.NetworkMediaType | 13 core.network.model.movie | 14 core.network.model.tvshow | 15 core.common.result.CinemaxResult | 16 core.database.model | 17 core.domain.model | 18 core.navigation | 19 core.network.model.response | 20 com.cinemax | 21 core.data.mapper | 22 core.database.converter | 23 core.database.dao | 24 core.domain.repository | 25 core.network.api | 26 core.ui.mapper | 27 core.database | 28 core.domain.usecase | 29 core.network.source | 30 core.database.DatabaseBuilder | 31 core.database.util | 32 feature.details | 33 feature.home | 34 feature.list | 35 feature.search | 36 feature.settings | 37 feature.wishlist | 38 core.database.source | 39 core.data.paging | 40 core.data.repository |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 core.common.result | ||||||||||||||||||||||||||||||||||||||||
| 2 core.model | ||||||||||||||||||||||||||||||||||||||||
| 3 core.network.model.common | ||||||||||||||||||||||||||||||||||||||||
| 4 core.ui.common | ||||||||||||||||||||||||||||||||||||||||
| 5 feature.settings.model | ||||||||||||||||||||||||||||||||||||||||
| 6 core.common.result.CinemaxResult.Failure | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 7 core.common.result.CinemaxResult.Success | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 8 core.database.model.MediaType | 2 | |||||||||||||||||||||||||||||||||||||||
| 9 core.domain.model.MediaTypeModel | 2 | |||||||||||||||||||||||||||||||||||||||
| 10 core.model.MediaType | 4 | |||||||||||||||||||||||||||||||||||||||
| 11 core.navigation.Route | 5 | |||||||||||||||||||||||||||||||||||||||
| 12 core.network.model.common.NetworkMediaType | 2 | |||||||||||||||||||||||||||||||||||||||
| 13 core.network.model.movie | 5 | |||||||||||||||||||||||||||||||||||||||
| 14 core.network.model.tvshow | 5 | |||||||||||||||||||||||||||||||||||||||
| 15 core.common.result.CinemaxResult | 4 | 2 | 2 | |||||||||||||||||||||||||||||||||||||
| 16 core.database.model | 5 | |||||||||||||||||||||||||||||||||||||||
| 17 core.domain.model | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 core.navigation | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 core.network.model.response | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 20 com.cinemax | 3 | |||||||||||||||||||||||||||||||||||||||
| 21 core.data.mapper | 4 | 1 | 2 | 8 | 9 | |||||||||||||||||||||||||||||||||||
| 22 core.database.converter | 2 | |||||||||||||||||||||||||||||||||||||||
| 23 core.database.dao | 5 | 7 | ||||||||||||||||||||||||||||||||||||||
| 24 core.domain.repository | 4 | 2 | 5 | |||||||||||||||||||||||||||||||||||||
| 25 core.network.api | 5 | 2 | 2 | 4 | ||||||||||||||||||||||||||||||||||||
| 26 core.ui.mapper | 9 | 2 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 27 core.database | 7 | |||||||||||||||||||||||||||||||||||||||
| 28 core.domain.usecase | 6 | 4 | 10 | 19 | ||||||||||||||||||||||||||||||||||||
| 29 core.network.source | 4 | 2 | 1 | 1 | 2 | 4 | ||||||||||||||||||||||||||||||||||
| 30 core.database.DatabaseBuilder | 2 | |||||||||||||||||||||||||||||||||||||||
| 31 core.database.util | 1 | |||||||||||||||||||||||||||||||||||||||
| 32 feature.details | 5 | 1 | 1 | 6 | ||||||||||||||||||||||||||||||||||||
| 33 feature.home | 6 | 1 | 6 | 2 | 2 | |||||||||||||||||||||||||||||||||||
| 34 feature.list | 4 | 2 | 2 | 2 | ||||||||||||||||||||||||||||||||||||
| 35 feature.search | 6 | 1 | 6 | 2 | 4 | |||||||||||||||||||||||||||||||||||
| 36 feature.settings | 1 | 1 | 3 | |||||||||||||||||||||||||||||||||||||
| 37 feature.wishlist | 4 | 1 | 1 | 2 | ||||||||||||||||||||||||||||||||||||
| 38 core.database.source | 2 | 7 | 7 | 5 | ||||||||||||||||||||||||||||||||||||
| 39 core.data.paging | 2 | 4 | 2 | 4 | 2 | |||||||||||||||||||||||||||||||||||
| 40 core.data.repository | 4 | 2 | 5 | 6 | 4 | 8 |
6→1 core.common.result.CinemaxResult.Failure uses core.common.result✕
- Connections
- 2 pairs of types, where a type in core.common.result.CinemaxResult.Failure uses a type in core.common.result.
- The types involved
com.cinemax.core.common.result.CinemaxResult.Failure.HttpError→com.cinemax.core.common.result.HttpExceptioncom.cinemax.core.common.result.CinemaxResult.Failure.HttpError→com.cinemax.core.common.result.HttpResponse
- Direction
- core.common.result.CinemaxResult.Failure uses core.common.result, so a change to core.common.result can break core.common.result.CinemaxResult.Failure, while a change to core.common.result.CinemaxResult.Failure can't break core.common.result.
- Position
- Below the diagonal: core.common.result.CinemaxResult.Failure uses a module listed above it, which is the healthy direction.
6→15 core.common.result.CinemaxResult.Failure uses core.common.result.CinemaxResult part of a loop✕
- Connections
- 2 pairs of types, where a type in core.common.result.CinemaxResult.Failure uses a type in core.common.result.CinemaxResult.
- The types involved
com.cinemax.core.common.result.CinemaxResult.Failure.Error→com.cinemax.core.common.result.CinemaxResult.Failurecom.cinemax.core.common.result.CinemaxResult.Failure.HttpError→com.cinemax.core.common.result.CinemaxResult.Failure
- Direction
- core.common.result.CinemaxResult.Failure uses core.common.result.CinemaxResult, so a change to core.common.result.CinemaxResult can break core.common.result.CinemaxResult.Failure, while a change to core.common.result.CinemaxResult.Failure can't break core.common.result.CinemaxResult.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
7→1 core.common.result.CinemaxResult.Success uses core.common.result✕
- Connections
- 1 pair of types, where a type in core.common.result.CinemaxResult.Success uses a type in core.common.result.
- The types involved
com.cinemax.core.common.result.CinemaxResult.Success.HttpResponse→com.cinemax.core.common.result.HttpResponse
- Direction
- core.common.result.CinemaxResult.Success uses core.common.result, so a change to core.common.result can break core.common.result.CinemaxResult.Success, while a change to core.common.result.CinemaxResult.Success can't break core.common.result.
- Position
- Below the diagonal: core.common.result.CinemaxResult.Success uses a module listed above it, which is the healthy direction.
7→15 core.common.result.CinemaxResult.Success uses core.common.result.CinemaxResult part of a loop✕
- Connections
- 2 pairs of types, where a type in core.common.result.CinemaxResult.Success uses a type in core.common.result.CinemaxResult.
- The types involved
com.cinemax.core.common.result.CinemaxResult.Success.HttpResponse→com.cinemax.core.common.result.CinemaxResult.Successcom.cinemax.core.common.result.CinemaxResult.Success.Value→com.cinemax.core.common.result.CinemaxResult.Success
- Direction
- core.common.result.CinemaxResult.Success uses core.common.result.CinemaxResult, so a change to core.common.result.CinemaxResult can break core.common.result.CinemaxResult.Success, while a change to core.common.result.CinemaxResult.Success can't break core.common.result.CinemaxResult.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
8→16 core.database.model.MediaType uses core.database.model part of a loop✕
- Connections
- 2 pairs of types, where a type in core.database.model.MediaType uses a type in core.database.model.
- The types involved
com.cinemax.core.database.model.MediaType.Movie→com.cinemax.core.database.model.MediaTypecom.cinemax.core.database.model.MediaType.TvShow→com.cinemax.core.database.model.MediaType
- Direction
- core.database.model.MediaType uses core.database.model, so a change to core.database.model can break core.database.model.MediaType, while a change to core.database.model.MediaType can't break core.database.model.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
9→17 core.domain.model.MediaTypeModel uses core.domain.model part of a loop✕
- Connections
- 2 pairs of types, where a type in core.domain.model.MediaTypeModel uses a type in core.domain.model.
- The types involved
com.cinemax.core.domain.model.MediaTypeModel.Movie→com.cinemax.core.domain.model.MediaTypeModelcom.cinemax.core.domain.model.MediaTypeModel.TvShow→com.cinemax.core.domain.model.MediaTypeModel
- Direction
- core.domain.model.MediaTypeModel uses core.domain.model, so a change to core.domain.model can break core.domain.model.MediaTypeModel, while a change to core.domain.model.MediaTypeModel can't break core.domain.model.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
10→2 core.model.MediaType uses core.model✕
- Connections
- 4 pairs of types, where a type in core.model.MediaType uses a type in core.model.
- The types involved
com.cinemax.core.model.MediaType.Common→com.cinemax.core.model.MediaTypecom.cinemax.core.model.MediaType.Details→com.cinemax.core.model.MediaTypecom.cinemax.core.model.MediaType.Movie→com.cinemax.core.model.MediaTypecom.cinemax.core.model.MediaType.TvShow→com.cinemax.core.model.MediaType
- Direction
- core.model.MediaType uses core.model, so a change to core.model can break core.model.MediaType, while a change to core.model.MediaType can't break core.model.
- Position
- Below the diagonal: core.model.MediaType uses a module listed above it, which is the healthy direction.
11→18 core.navigation.Route uses core.navigation part of a loop✕
- Connections
- 5 pairs of types, where a type in core.navigation.Route uses a type in core.navigation.
- The types involved
com.cinemax.core.navigation.Route.Details→com.cinemax.core.navigation.DetailsMediaTypecom.cinemax.core.navigation.Route.Details→com.cinemax.core.navigation.Routecom.cinemax.core.navigation.Route.List→com.cinemax.core.navigation.ListMediaTypecom.cinemax.core.navigation.Route.List→com.cinemax.core.navigation.Routecom.cinemax.core.navigation.Route.Main→com.cinemax.core.navigation.Route
- Direction
- core.navigation.Route uses core.navigation, so a change to core.navigation can break core.navigation.Route, while a change to core.navigation.Route can't break core.navigation.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
12→3 core.network.model.common.NetworkMediaType uses core.network.model.common✕
- Connections
- 2 pairs of types, where a type in core.network.model.common.NetworkMediaType uses a type in core.network.model.common.
- The types involved
com.cinemax.core.network.model.common.NetworkMediaType.Movie→com.cinemax.core.network.model.common.NetworkMediaTypecom.cinemax.core.network.model.common.NetworkMediaType.TvShow→com.cinemax.core.network.model.common.NetworkMediaType
- Direction
- core.network.model.common.NetworkMediaType uses core.network.model.common, so a change to core.network.model.common can break core.network.model.common.NetworkMediaType, while a change to core.network.model.common.NetworkMediaType can't break core.network.model.common.
- Position
- Below the diagonal: core.network.model.common.NetworkMediaType uses a module listed above it, which is the healthy direction.
13→3 core.network.model.movie uses core.network.model.common✕
- Connections
- 5 pairs of types, where a type in core.network.model.movie uses a type in core.network.model.common.
- The types involved
com.cinemax.core.network.model.movie.NetworkMovieDetails→com.cinemax.core.network.model.common.NetworkCreditscom.cinemax.core.network.model.movie.NetworkMovieDetails→com.cinemax.core.network.model.common.NetworkGenrecom.cinemax.core.network.model.movie.NetworkMovieDetails→com.cinemax.core.network.model.common.NetworkProductionCompanycom.cinemax.core.network.model.movie.NetworkMovieDetails→com.cinemax.core.network.model.common.NetworkProductionCountrycom.cinemax.core.network.model.movie.NetworkMovieDetails→com.cinemax.core.network.model.common.NetworkSpokenLanguage
- Direction
- core.network.model.movie uses core.network.model.common, so a change to core.network.model.common can break core.network.model.movie, while a change to core.network.model.movie can't break core.network.model.common.
- Position
- Below the diagonal: core.network.model.movie uses a module listed above it, which is the healthy direction.
14→3 core.network.model.tvshow uses core.network.model.common✕
- Connections
- 5 pairs of types, where a type in core.network.model.tvshow uses a type in core.network.model.common.
- The types involved
com.cinemax.core.network.model.tvshow.NetworkTvShowDetails→com.cinemax.core.network.model.common.NetworkCreditscom.cinemax.core.network.model.tvshow.NetworkTvShowDetails→com.cinemax.core.network.model.common.NetworkGenrecom.cinemax.core.network.model.tvshow.NetworkTvShowDetails→com.cinemax.core.network.model.common.NetworkProductionCompanycom.cinemax.core.network.model.tvshow.NetworkTvShowDetails→com.cinemax.core.network.model.common.NetworkProductionCountrycom.cinemax.core.network.model.tvshow.NetworkTvShowDetails→com.cinemax.core.network.model.common.NetworkSpokenLanguage
- Direction
- core.network.model.tvshow uses core.network.model.common, so a change to core.network.model.common can break core.network.model.tvshow, while a change to core.network.model.tvshow can't break core.network.model.common.
- Position
- Below the diagonal: core.network.model.tvshow uses a module listed above it, which is the healthy direction.
15→1 core.common.result.CinemaxResult uses core.common.result✕
- Connections
- 4 pairs of types, where a type in core.common.result.CinemaxResult uses a type in core.common.result.
- The types involved
com.cinemax.core.common.result.CinemaxResult.Companion→com.cinemax.core.common.result.HttpExceptioncom.cinemax.core.common.result.CinemaxResult.Failure→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.common.result.CinemaxResult.Loading→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.common.result.CinemaxResult.Success→com.cinemax.core.common.result.CinemaxResult
- Direction
- core.common.result.CinemaxResult uses core.common.result, so a change to core.common.result can break core.common.result.CinemaxResult, while a change to core.common.result.CinemaxResult can't break core.common.result.
- Position
- Below the diagonal: core.common.result.CinemaxResult uses a module listed above it, which is the healthy direction.
15→6 core.common.result.CinemaxResult uses core.common.result.CinemaxResult.Failure✕
- Connections
- 2 pairs of types, where a type in core.common.result.CinemaxResult uses a type in core.common.result.CinemaxResult.Failure.
- The types involved
com.cinemax.core.common.result.CinemaxResult.Companion→com.cinemax.core.common.result.CinemaxResult.Failure.Errorcom.cinemax.core.common.result.CinemaxResult.Companion→com.cinemax.core.common.result.CinemaxResult.Failure.HttpError
- Direction
- core.common.result.CinemaxResult uses core.common.result.CinemaxResult.Failure, so a change to core.common.result.CinemaxResult.Failure can break core.common.result.CinemaxResult, while a change to core.common.result.CinemaxResult can't break core.common.result.CinemaxResult.Failure.
- Position
- Below the diagonal: core.common.result.CinemaxResult uses a module listed above it, which is the healthy direction.
15→7 core.common.result.CinemaxResult uses core.common.result.CinemaxResult.Success✕
- Connections
- 2 pairs of types, where a type in core.common.result.CinemaxResult uses a type in core.common.result.CinemaxResult.Success.
- The types involved
com.cinemax.core.common.result.CinemaxResult.Companion→com.cinemax.core.common.result.CinemaxResult.Success.HttpResponsecom.cinemax.core.common.result.CinemaxResult.Companion→com.cinemax.core.common.result.CinemaxResult.Success.Value
- Direction
- core.common.result.CinemaxResult uses core.common.result.CinemaxResult.Success, so a change to core.common.result.CinemaxResult.Success can break core.common.result.CinemaxResult, while a change to core.common.result.CinemaxResult can't break core.common.result.CinemaxResult.Success.
- Position
- Below the diagonal: core.common.result.CinemaxResult uses a module listed above it, which is the healthy direction.
16→8 core.database.model uses core.database.model.MediaType✕
- Connections
- 5 pairs of types, where a type in core.database.model uses a type in core.database.model.MediaType.
- The types involved
com.cinemax.core.database.model.MovieEntity→com.cinemax.core.database.model.MediaType.Moviecom.cinemax.core.database.model.MovieRemoteKeyEntity→com.cinemax.core.database.model.MediaType.Moviecom.cinemax.core.database.model.TvShowEntity→com.cinemax.core.database.model.MediaType.TvShowcom.cinemax.core.database.model.TvShowRemoteKeyEntity→com.cinemax.core.database.model.MediaType.TvShowcom.cinemax.core.database.model.WishlistEntity→com.cinemax.core.database.model.MediaType.Wishlist
- Direction
- core.database.model uses core.database.model.MediaType, so a change to core.database.model.MediaType can break core.database.model, while a change to core.database.model can't break core.database.model.MediaType.
- Position
- Below the diagonal: core.database.model uses a module listed above it, which is the healthy direction.
17→9 core.domain.model uses core.domain.model.MediaTypeModel✕
- Connections
- 1 pair of types, where a type in core.domain.model uses a type in core.domain.model.MediaTypeModel.
- The types involved
com.cinemax.core.domain.model.WishlistModel→com.cinemax.core.domain.model.MediaTypeModel.Wishlist
- Direction
- core.domain.model uses core.domain.model.MediaTypeModel, so a change to core.domain.model.MediaTypeModel can break core.domain.model, while a change to core.domain.model can't break core.domain.model.MediaTypeModel.
- Position
- Below the diagonal: core.domain.model uses a module listed above it, which is the healthy direction.
18→11 core.navigation uses core.navigation.Route✕
- Connections
- 1 pair of types, where a type in core.navigation uses a type in core.navigation.Route.
- The types involved
com.cinemax.core.navigation.TopLevelDestination→com.cinemax.core.navigation.Route.Main
- Direction
- core.navigation uses core.navigation.Route, so a change to core.navigation.Route can break core.navigation, while a change to core.navigation can't break core.navigation.Route.
- Position
- Below the diagonal: core.navigation uses a module listed above it, which is the healthy direction.
18→20 core.navigation uses com.cinemax part of a loop✕
- Connections
- 1 pair of types, where a type in core.navigation uses a type in com.cinemax.
- The types involved
com.cinemax.core.navigation.CinemaxNavHostKt→com.cinemax.CinemaxAppState
- Direction
- core.navigation uses com.cinemax, so a change to com.cinemax can break core.navigation, while a change to core.navigation can't break com.cinemax.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
19→13 core.network.model.response uses core.network.model.movie✕
- Connections
- 1 pair of types, where a type in core.network.model.response uses a type in core.network.model.movie.
- The types involved
com.cinemax.core.network.model.response.MovieResponseDto→com.cinemax.core.network.model.movie.NetworkMovie
- Direction
- core.network.model.response uses core.network.model.movie, so a change to core.network.model.movie can break core.network.model.response, while a change to core.network.model.response can't break core.network.model.movie.
- Position
- Below the diagonal: core.network.model.response uses a module listed above it, which is the healthy direction.
19→14 core.network.model.response uses core.network.model.tvshow✕
- Connections
- 1 pair of types, where a type in core.network.model.response uses a type in core.network.model.tvshow.
- The types involved
com.cinemax.core.network.model.response.TvShowResponseDto→com.cinemax.core.network.model.tvshow.NetworkTvShow
- Direction
- core.network.model.response uses core.network.model.tvshow, so a change to core.network.model.tvshow can break core.network.model.response, while a change to core.network.model.response can't break core.network.model.tvshow.
- Position
- Below the diagonal: core.network.model.response uses a module listed above it, which is the healthy direction.
20→18 com.cinemax uses core.navigation✕
- Connections
- 3 pairs of types, where a type in com.cinemax uses a type in core.navigation.
- The types involved
com.cinemax.CinemaxAppState→com.cinemax.core.navigation.Routecom.cinemax.CinemaxAppState→com.cinemax.core.navigation.TopLevelDestinationcom.cinemax.CinemaxAppStateKt→com.cinemax.core.navigation.TopLevelDestination
- Direction
- com.cinemax uses core.navigation, so a change to core.navigation can break com.cinemax, while a change to com.cinemax can't break core.navigation.
- Position
- Below the diagonal: com.cinemax uses a module listed above it, which is the healthy direction.
21→8 core.data.mapper uses core.database.model.MediaType✕
- Connections
- 4 pairs of types, where a type in core.data.mapper uses a type in core.database.model.MediaType.
- The types involved
com.cinemax.core.data.mapper.MediaTypeMapperKt→com.cinemax.core.database.model.MediaType.Moviecom.cinemax.core.data.mapper.MediaTypeMapperKt→com.cinemax.core.database.model.MediaType.TvShowcom.cinemax.core.data.mapper.MovieMapperKt→com.cinemax.core.database.model.MediaType.Moviecom.cinemax.core.data.mapper.TvShowMapperKt→com.cinemax.core.database.model.MediaType.TvShow
- Direction
- core.data.mapper uses core.database.model.MediaType, so a change to core.database.model.MediaType can break core.data.mapper, while a change to core.data.mapper can't break core.database.model.MediaType.
- Position
- Below the diagonal: core.data.mapper uses a module listed above it, which is the healthy direction.
21→9 core.data.mapper uses core.domain.model.MediaTypeModel✕
- Connections
- 1 pair of types, where a type in core.data.mapper uses a type in core.domain.model.MediaTypeModel.
- The types involved
com.cinemax.core.data.mapper.MediaTypeMapperKt→com.cinemax.core.domain.model.MediaTypeModel.Wishlist
- Direction
- core.data.mapper uses core.domain.model.MediaTypeModel, so a change to core.domain.model.MediaTypeModel can break core.data.mapper, while a change to core.data.mapper can't break core.domain.model.MediaTypeModel.
- Position
- Below the diagonal: core.data.mapper uses a module listed above it, which is the healthy direction.
21→12 core.data.mapper uses core.network.model.common.NetworkMediaType✕
- Connections
- 2 pairs of types, where a type in core.data.mapper uses a type in core.network.model.common.NetworkMediaType.
- The types involved
com.cinemax.core.data.mapper.MediaTypeMapperKt→com.cinemax.core.network.model.common.NetworkMediaType.Moviecom.cinemax.core.data.mapper.MediaTypeMapperKt→com.cinemax.core.network.model.common.NetworkMediaType.TvShow
- Direction
- core.data.mapper uses core.network.model.common.NetworkMediaType, so a change to core.network.model.common.NetworkMediaType can break core.data.mapper, while a change to core.data.mapper can't break core.network.model.common.NetworkMediaType.
- Position
- Below the diagonal: core.data.mapper uses a module listed above it, which is the healthy direction.
21→16 core.data.mapper uses core.database.model✕
- Connections
- 8 pairs of types, where a type in core.data.mapper uses a type in core.database.model.
- The types involved
com.cinemax.core.data.mapper.CreditsMapperKt→com.cinemax.core.database.model.Castcom.cinemax.core.data.mapper.CreditsMapperKt→com.cinemax.core.database.model.Creditscom.cinemax.core.data.mapper.CreditsMapperKt→com.cinemax.core.database.model.Crewcom.cinemax.core.data.mapper.GenreMapperKt→com.cinemax.core.database.model.Genrecom.cinemax.core.data.mapper.MovieDetailsMapperKt→com.cinemax.core.database.model.MovieDetailsEntitycom.cinemax.core.data.mapper.MovieMapperKt→com.cinemax.core.database.model.MovieEntitycom.cinemax.core.data.mapper.TvShowDetailsMapperKt→com.cinemax.core.database.model.TvShowDetailsEntitycom.cinemax.core.data.mapper.TvShowMapperKt→com.cinemax.core.database.model.TvShowEntity
- Direction
- core.data.mapper uses core.database.model, so a change to core.database.model can break core.data.mapper, while a change to core.data.mapper can't break core.database.model.
- Position
- Below the diagonal: core.data.mapper uses a module listed above it, which is the healthy direction.
21→17 core.data.mapper uses core.domain.model✕
- Connections
- 9 pairs of types, where a type in core.data.mapper uses a type in core.domain.model.
- The types involved
com.cinemax.core.data.mapper.CreditsMapperKt→com.cinemax.core.domain.model.CastModelcom.cinemax.core.data.mapper.CreditsMapperKt→com.cinemax.core.domain.model.CreditsModelcom.cinemax.core.data.mapper.CreditsMapperKt→com.cinemax.core.domain.model.CrewModelcom.cinemax.core.data.mapper.GenreMapperKt→com.cinemax.core.domain.model.GenreModelcom.cinemax.core.data.mapper.MovieDetailsMapperKt→com.cinemax.core.domain.model.MovieDetailsModelcom.cinemax.core.data.mapper.MovieMapperKt→com.cinemax.core.domain.model.MovieModelcom.cinemax.core.data.mapper.TvShowDetailsMapperKt→com.cinemax.core.domain.model.TvShowDetailsModelcom.cinemax.core.data.mapper.TvShowMapperKt→com.cinemax.core.domain.model.TvShowModelcom.cinemax.core.data.mapper.WishlistMapperKt→com.cinemax.core.domain.model.WishlistModel
- Direction
- core.data.mapper uses core.domain.model, so a change to core.domain.model can break core.data.mapper, while a change to core.data.mapper can't break core.domain.model.
- Position
- Below the diagonal: core.data.mapper uses a module listed above it, which is the healthy direction.
22→16 core.database.converter uses core.database.model✕
- Connections
- 2 pairs of types, where a type in core.database.converter uses a type in core.database.model.
- The types involved
com.cinemax.core.database.converter.CreditsConverter→com.cinemax.core.database.model.Creditscom.cinemax.core.database.converter.ListConverter→com.cinemax.core.database.model.Genre
- Direction
- core.database.converter uses core.database.model, so a change to core.database.model can break core.database.converter, while a change to core.database.converter can't break core.database.model.
- Position
- Below the diagonal: core.database.converter uses a module listed above it, which is the healthy direction.
23→8 core.database.dao uses core.database.model.MediaType✕
- Connections
- 5 pairs of types, where a type in core.database.dao uses a type in core.database.model.MediaType.
- The types involved
com.cinemax.core.database.dao.MovieDao→com.cinemax.core.database.model.MediaType.Moviecom.cinemax.core.database.dao.MovieRemoteKeyDao→com.cinemax.core.database.model.MediaType.Moviecom.cinemax.core.database.dao.TvShowDao→com.cinemax.core.database.model.MediaType.TvShowcom.cinemax.core.database.dao.TvShowRemoteKeyDao→com.cinemax.core.database.model.MediaType.TvShowcom.cinemax.core.database.dao.WishlistDao→com.cinemax.core.database.model.MediaType.Wishlist
- Direction
- core.database.dao uses core.database.model.MediaType, so a change to core.database.model.MediaType can break core.database.dao, while a change to core.database.dao can't break core.database.model.MediaType.
- Position
- Below the diagonal: core.database.dao uses a module listed above it, which is the healthy direction.
23→16 core.database.dao uses core.database.model✕
- Connections
- 7 pairs of types, where a type in core.database.dao uses a type in core.database.model.
- The types involved
com.cinemax.core.database.dao.MovieDao→com.cinemax.core.database.model.MovieEntitycom.cinemax.core.database.dao.MovieDetailsDao→com.cinemax.core.database.model.MovieDetailsEntitycom.cinemax.core.database.dao.MovieRemoteKeyDao→com.cinemax.core.database.model.MovieRemoteKeyEntitycom.cinemax.core.database.dao.TvShowDao→com.cinemax.core.database.model.TvShowEntitycom.cinemax.core.database.dao.TvShowDetailsDao→com.cinemax.core.database.model.TvShowDetailsEntitycom.cinemax.core.database.dao.TvShowRemoteKeyDao→com.cinemax.core.database.model.TvShowRemoteKeyEntitycom.cinemax.core.database.dao.WishlistDao→com.cinemax.core.database.model.WishlistEntity
- Direction
- core.database.dao uses core.database.model, so a change to core.database.model can break core.database.dao, while a change to core.database.dao can't break core.database.model.
- Position
- Below the diagonal: core.database.dao uses a module listed above it, which is the healthy direction.
24→1 core.domain.repository uses core.common.result✕
- Connections
- 4 pairs of types, where a type in core.domain.repository uses a type in core.common.result.
- The types involved
com.cinemax.core.domain.repository.MovieDetailsRepository→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.domain.repository.MovieRepository→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.domain.repository.TvShowDetailsRepository→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.domain.repository.TvShowRepository→com.cinemax.core.common.result.CinemaxResult
- Direction
- core.domain.repository uses core.common.result, so a change to core.common.result can break core.domain.repository, while a change to core.domain.repository can't break core.common.result.
- Position
- Below the diagonal: core.domain.repository uses a module listed above it, which is the healthy direction.
24→9 core.domain.repository uses core.domain.model.MediaTypeModel✕
- Connections
- 2 pairs of types, where a type in core.domain.repository uses a type in core.domain.model.MediaTypeModel.
- The types involved
com.cinemax.core.domain.repository.MovieRepository→com.cinemax.core.domain.model.MediaTypeModel.Moviecom.cinemax.core.domain.repository.TvShowRepository→com.cinemax.core.domain.model.MediaTypeModel.TvShow
- Direction
- core.domain.repository uses core.domain.model.MediaTypeModel, so a change to core.domain.model.MediaTypeModel can break core.domain.repository, while a change to core.domain.repository can't break core.domain.model.MediaTypeModel.
- Position
- Below the diagonal: core.domain.repository uses a module listed above it, which is the healthy direction.
24→17 core.domain.repository uses core.domain.model✕
- Connections
- 5 pairs of types, where a type in core.domain.repository uses a type in core.domain.model.
- The types involved
com.cinemax.core.domain.repository.MovieDetailsRepository→com.cinemax.core.domain.model.MovieDetailsModelcom.cinemax.core.domain.repository.MovieRepository→com.cinemax.core.domain.model.MovieModelcom.cinemax.core.domain.repository.TvShowDetailsRepository→com.cinemax.core.domain.model.TvShowDetailsModelcom.cinemax.core.domain.repository.TvShowRepository→com.cinemax.core.domain.model.TvShowModelcom.cinemax.core.domain.repository.WishlistRepository→com.cinemax.core.domain.model.WishlistModel
- Direction
- core.domain.repository uses core.domain.model, so a change to core.domain.model can break core.domain.repository, while a change to core.domain.repository can't break core.domain.model.
- Position
- Below the diagonal: core.domain.repository uses a module listed above it, which is the healthy direction.
25→1 core.network.api uses core.common.result✕
- Connections
- 5 pairs of types, where a type in core.network.api uses a type in core.common.result.
- The types involved
com.cinemax.core.network.api.MovieApiService→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.network.api.MovieApiServiceImpl→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.network.api.SafeApiCallKt→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.network.api.TvShowApiService→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.network.api.TvShowApiServiceImpl→com.cinemax.core.common.result.CinemaxResult
- Direction
- core.network.api uses core.common.result, so a change to core.common.result can break core.network.api, while a change to core.network.api can't break core.common.result.
- Position
- Below the diagonal: core.network.api uses a module listed above it, which is the healthy direction.
25→13 core.network.api uses core.network.model.movie✕
- Connections
- 2 pairs of types, where a type in core.network.api uses a type in core.network.model.movie.
- The types involved
com.cinemax.core.network.api.MovieApiService→com.cinemax.core.network.model.movie.NetworkMovieDetailscom.cinemax.core.network.api.MovieApiServiceImpl→com.cinemax.core.network.model.movie.NetworkMovieDetails
- Direction
- core.network.api uses core.network.model.movie, so a change to core.network.model.movie can break core.network.api, while a change to core.network.api can't break core.network.model.movie.
- Position
- Below the diagonal: core.network.api uses a module listed above it, which is the healthy direction.
25→14 core.network.api uses core.network.model.tvshow✕
- Connections
- 2 pairs of types, where a type in core.network.api uses a type in core.network.model.tvshow.
- The types involved
com.cinemax.core.network.api.TvShowApiService→com.cinemax.core.network.model.tvshow.NetworkTvShowDetailscom.cinemax.core.network.api.TvShowApiServiceImpl→com.cinemax.core.network.model.tvshow.NetworkTvShowDetails
- Direction
- core.network.api uses core.network.model.tvshow, so a change to core.network.model.tvshow can break core.network.api, while a change to core.network.api can't break core.network.model.tvshow.
- Position
- Below the diagonal: core.network.api uses a module listed above it, which is the healthy direction.
25→19 core.network.api uses core.network.model.response✕
- Connections
- 4 pairs of types, where a type in core.network.api uses a type in core.network.model.response.
- The types involved
com.cinemax.core.network.api.MovieApiService→com.cinemax.core.network.model.response.MovieResponseDtocom.cinemax.core.network.api.MovieApiServiceImpl→com.cinemax.core.network.model.response.MovieResponseDtocom.cinemax.core.network.api.TvShowApiService→com.cinemax.core.network.model.response.TvShowResponseDtocom.cinemax.core.network.api.TvShowApiServiceImpl→com.cinemax.core.network.model.response.TvShowResponseDto
- Direction
- core.network.api uses core.network.model.response, so a change to core.network.model.response can break core.network.api, while a change to core.network.api can't break core.network.model.response.
- Position
- Below the diagonal: core.network.api uses a module listed above it, which is the healthy direction.
26→2 core.ui.mapper uses core.model✕
- Connections
- 9 pairs of types, where a type in core.ui.mapper uses a type in core.model.
- The types involved
com.cinemax.core.ui.mapper.CreditsMapperKt→com.cinemax.core.model.Castcom.cinemax.core.ui.mapper.CreditsMapperKt→com.cinemax.core.model.Creditscom.cinemax.core.ui.mapper.CreditsMapperKt→com.cinemax.core.model.Crewcom.cinemax.core.ui.mapper.GenreMapperKt→com.cinemax.core.model.Genrecom.cinemax.core.ui.mapper.MovieMapperKt→com.cinemax.core.model.Moviecom.cinemax.core.ui.mapper.MovieMapperKt→com.cinemax.core.model.MovieDetailscom.cinemax.core.ui.mapper.TvShowMapperKt→com.cinemax.core.model.TvShowcom.cinemax.core.ui.mapper.TvShowMapperKt→com.cinemax.core.model.TvShowDetailscom.cinemax.core.ui.mapper.UserMessageMapperKt→com.cinemax.core.model.UserMessage
- Direction
- core.ui.mapper uses core.model, so a change to core.model can break core.ui.mapper, while a change to core.ui.mapper can't break core.model.
- Position
- Below the diagonal: core.ui.mapper uses a module listed above it, which is the healthy direction.
26→9 core.ui.mapper uses core.domain.model.MediaTypeModel✕
- Connections
- 2 pairs of types, where a type in core.ui.mapper uses a type in core.domain.model.MediaTypeModel.
- The types involved
com.cinemax.core.ui.mapper.MediaTypeMapperKt→com.cinemax.core.domain.model.MediaTypeModel.Moviecom.cinemax.core.ui.mapper.MediaTypeMapperKt→com.cinemax.core.domain.model.MediaTypeModel.TvShow
- Direction
- core.ui.mapper uses core.domain.model.MediaTypeModel, so a change to core.domain.model.MediaTypeModel can break core.ui.mapper, while a change to core.ui.mapper can't break core.domain.model.MediaTypeModel.
- Position
- Below the diagonal: core.ui.mapper uses a module listed above it, which is the healthy direction.
26→10 core.ui.mapper uses core.model.MediaType✕
- Connections
- 2 pairs of types, where a type in core.ui.mapper uses a type in core.model.MediaType.
- The types involved
com.cinemax.core.ui.mapper.MediaTypeMapperKt→com.cinemax.core.model.MediaType.Moviecom.cinemax.core.ui.mapper.MediaTypeMapperKt→com.cinemax.core.model.MediaType.TvShow
- Direction
- core.ui.mapper uses core.model.MediaType, so a change to core.model.MediaType can break core.ui.mapper, while a change to core.ui.mapper can't break core.model.MediaType.
- Position
- Below the diagonal: core.ui.mapper uses a module listed above it, which is the healthy direction.
26→17 core.ui.mapper uses core.domain.model✕
- Connections
- 1 pair of types, where a type in core.ui.mapper uses a type in core.domain.model.
- The types involved
com.cinemax.core.ui.mapper.GenreMapperKt→com.cinemax.core.domain.model.GenreModel
- Direction
- core.ui.mapper uses core.domain.model, so a change to core.domain.model can break core.ui.mapper, while a change to core.ui.mapper can't break core.domain.model.
- Position
- Below the diagonal: core.ui.mapper uses a module listed above it, which is the healthy direction.
27→23 core.database uses core.database.dao✕
- Connections
- 7 pairs of types, where a type in core.database uses a type in core.database.dao.
- The types involved
com.cinemax.core.database.CinemaxDatabase→com.cinemax.core.database.dao.MovieDaocom.cinemax.core.database.CinemaxDatabase→com.cinemax.core.database.dao.MovieDetailsDaocom.cinemax.core.database.CinemaxDatabase→com.cinemax.core.database.dao.MovieRemoteKeyDaocom.cinemax.core.database.CinemaxDatabase→com.cinemax.core.database.dao.TvShowDaocom.cinemax.core.database.CinemaxDatabase→com.cinemax.core.database.dao.TvShowDetailsDaocom.cinemax.core.database.CinemaxDatabase→com.cinemax.core.database.dao.TvShowRemoteKeyDaocom.cinemax.core.database.CinemaxDatabase→com.cinemax.core.database.dao.WishlistDao
- Direction
- core.database uses core.database.dao, so a change to core.database.dao can break core.database, while a change to core.database can't break core.database.dao.
- Position
- Below the diagonal: core.database uses a module listed above it, which is the healthy direction.
28→1 core.domain.usecase uses core.common.result✕
- Connections
- 6 pairs of types, where a type in core.domain.usecase uses a type in core.common.result.
- The types involved
com.cinemax.core.domain.usecase.GetMovieDetailsUseCase→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.domain.usecase.GetMoviesUseCase→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.domain.usecase.GetTvShowDetailsUseCase→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.domain.usecase.GetTvShowsUseCase→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.domain.usecase.GetWishlistMoviesUseCase→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.domain.usecase.GetWishlistTvShowsUseCase→com.cinemax.core.common.result.CinemaxResult
- Direction
- core.domain.usecase uses core.common.result, so a change to core.common.result can break core.domain.usecase, while a change to core.domain.usecase can't break core.common.result.
- Position
- Below the diagonal: core.domain.usecase uses a module listed above it, which is the healthy direction.
28→9 core.domain.usecase uses core.domain.model.MediaTypeModel✕
- Connections
- 4 pairs of types, where a type in core.domain.usecase uses a type in core.domain.model.MediaTypeModel.
- The types involved
com.cinemax.core.domain.usecase.GetMoviesPagingUseCase→com.cinemax.core.domain.model.MediaTypeModel.Moviecom.cinemax.core.domain.usecase.GetMoviesUseCase→com.cinemax.core.domain.model.MediaTypeModel.Moviecom.cinemax.core.domain.usecase.GetTvShowsPagingUseCase→com.cinemax.core.domain.model.MediaTypeModel.TvShowcom.cinemax.core.domain.usecase.GetTvShowsUseCase→com.cinemax.core.domain.model.MediaTypeModel.TvShow
- Direction
- core.domain.usecase uses core.domain.model.MediaTypeModel, so a change to core.domain.model.MediaTypeModel can break core.domain.usecase, while a change to core.domain.usecase can't break core.domain.model.MediaTypeModel.
- Position
- Below the diagonal: core.domain.usecase uses a module listed above it, which is the healthy direction.
28→17 core.domain.usecase uses core.domain.model✕
- Connections
- 10 pairs of types, where a type in core.domain.usecase uses a type in core.domain.model.
- The types involved
com.cinemax.core.domain.usecase.GetMovieDetailsUseCase→com.cinemax.core.domain.model.MovieDetailsModelcom.cinemax.core.domain.usecase.GetMoviesPagingUseCase→com.cinemax.core.domain.model.MovieModelcom.cinemax.core.domain.usecase.GetMoviesUseCase→com.cinemax.core.domain.model.MovieModelcom.cinemax.core.domain.usecase.GetTvShowDetailsUseCase→com.cinemax.core.domain.model.TvShowDetailsModelcom.cinemax.core.domain.usecase.GetTvShowsPagingUseCase→com.cinemax.core.domain.model.TvShowModelcom.cinemax.core.domain.usecase.GetTvShowsUseCase→com.cinemax.core.domain.model.TvShowModelcom.cinemax.core.domain.usecase.GetWishlistMoviesUseCase→com.cinemax.core.domain.model.MovieDetailsModelcom.cinemax.core.domain.usecase.GetWishlistTvShowsUseCase→com.cinemax.core.domain.model.TvShowDetailsModelcom.cinemax.core.domain.usecase.SearchMoviesUseCase→com.cinemax.core.domain.model.MovieModelcom.cinemax.core.domain.usecase.SearchTvShowsUseCase→com.cinemax.core.domain.model.TvShowModel
- Direction
- core.domain.usecase uses core.domain.model, so a change to core.domain.model can break core.domain.usecase, while a change to core.domain.usecase can't break core.domain.model.
- Position
- Below the diagonal: core.domain.usecase uses a module listed above it, which is the healthy direction.
28→24 core.domain.usecase uses core.domain.repository✕
- Connections
- 19 pairs of types, where a type in core.domain.usecase uses a type in core.domain.repository.
- The types involved
com.cinemax.core.domain.usecase.AddMovieToWishlistUseCase→com.cinemax.core.domain.repository.WishlistRepositorycom.cinemax.core.domain.usecase.AddTvShowToWishlistUseCase→com.cinemax.core.domain.repository.WishlistRepositorycom.cinemax.core.domain.usecase.GetMovieDetailsUseCase→com.cinemax.core.domain.repository.MovieDetailsRepositorycom.cinemax.core.domain.usecase.GetMoviesPagingUseCase→com.cinemax.core.domain.repository.MovieRepositorycom.cinemax.core.domain.usecase.GetMoviesUseCase→com.cinemax.core.domain.repository.MovieRepositorycom.cinemax.core.domain.usecase.GetSettingsPrivacyPolicyUrlUseCase→com.cinemax.core.domain.repository.SettingsRepositorycom.cinemax.core.domain.usecase.GetSettingsRepoUrlUseCase→com.cinemax.core.domain.repository.SettingsRepositorycom.cinemax.core.domain.usecase.GetSettingsVersionUseCase→com.cinemax.core.domain.repository.SettingsRepositorycom.cinemax.core.domain.usecase.GetTvShowDetailsUseCase→com.cinemax.core.domain.repository.TvShowDetailsRepositorycom.cinemax.core.domain.usecase.GetTvShowsPagingUseCase→com.cinemax.core.domain.repository.TvShowRepositorycom.cinemax.core.domain.usecase.GetTvShowsUseCase→com.cinemax.core.domain.repository.TvShowRepositorycom.cinemax.core.domain.usecase.GetWishlistMoviesUseCase→com.cinemax.core.domain.repository.MovieDetailsRepositorycom.cinemax.core.domain.usecase.GetWishlistMoviesUseCase→com.cinemax.core.domain.repository.WishlistRepositorycom.cinemax.core.domain.usecase.GetWishlistTvShowsUseCase→com.cinemax.core.domain.repository.TvShowDetailsRepositorycom.cinemax.core.domain.usecase.GetWishlistTvShowsUseCase→com.cinemax.core.domain.repository.WishlistRepositorycom.cinemax.core.domain.usecase.RemoveMovieFromWishlistUseCase→com.cinemax.core.domain.repository.WishlistRepositorycom.cinemax.core.domain.usecase.RemoveTvShowFromWishlistUseCase→com.cinemax.core.domain.repository.WishlistRepositorycom.cinemax.core.domain.usecase.SearchMoviesUseCase→com.cinemax.core.domain.repository.MovieRepositorycom.cinemax.core.domain.usecase.SearchTvShowsUseCase→com.cinemax.core.domain.repository.TvShowRepository
- Direction
- core.domain.usecase uses core.domain.repository, so a change to core.domain.repository can break core.domain.usecase, while a change to core.domain.usecase can't break core.domain.repository.
- Position
- Below the diagonal: core.domain.usecase uses a module listed above it, which is the healthy direction.
29→1 core.network.source uses core.common.result✕
- Connections
- 4 pairs of types, where a type in core.network.source uses a type in core.common.result.
- The types involved
com.cinemax.core.network.source.MovieDetailsNetworkDataSource→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.network.source.MovieNetworkDataSource→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.network.source.TvShowDetailsNetworkDataSource→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.network.source.TvShowNetworkDataSource→com.cinemax.core.common.result.CinemaxResult
- Direction
- core.network.source uses core.common.result, so a change to core.common.result can break core.network.source, while a change to core.network.source can't break core.common.result.
- Position
- Below the diagonal: core.network.source uses a module listed above it, which is the healthy direction.
29→12 core.network.source uses core.network.model.common.NetworkMediaType✕
- Connections
- 2 pairs of types, where a type in core.network.source uses a type in core.network.model.common.NetworkMediaType.
- The types involved
com.cinemax.core.network.source.MovieNetworkDataSource→com.cinemax.core.network.model.common.NetworkMediaType.Moviecom.cinemax.core.network.source.TvShowNetworkDataSource→com.cinemax.core.network.model.common.NetworkMediaType.TvShow
- Direction
- core.network.source uses core.network.model.common.NetworkMediaType, so a change to core.network.model.common.NetworkMediaType can break core.network.source, while a change to core.network.source can't break core.network.model.common.NetworkMediaType.
- Position
- Below the diagonal: core.network.source uses a module listed above it, which is the healthy direction.
29→13 core.network.source uses core.network.model.movie✕
- Connections
- 1 pair of types, where a type in core.network.source uses a type in core.network.model.movie.
- The types involved
com.cinemax.core.network.source.MovieDetailsNetworkDataSource→com.cinemax.core.network.model.movie.NetworkMovieDetails
- Direction
- core.network.source uses core.network.model.movie, so a change to core.network.model.movie can break core.network.source, while a change to core.network.source can't break core.network.model.movie.
- Position
- Below the diagonal: core.network.source uses a module listed above it, which is the healthy direction.
29→14 core.network.source uses core.network.model.tvshow✕
- Connections
- 1 pair of types, where a type in core.network.source uses a type in core.network.model.tvshow.
- The types involved
com.cinemax.core.network.source.TvShowDetailsNetworkDataSource→com.cinemax.core.network.model.tvshow.NetworkTvShowDetails
- Direction
- core.network.source uses core.network.model.tvshow, so a change to core.network.model.tvshow can break core.network.source, while a change to core.network.source can't break core.network.model.tvshow.
- Position
- Below the diagonal: core.network.source uses a module listed above it, which is the healthy direction.
29→19 core.network.source uses core.network.model.response✕
- Connections
- 2 pairs of types, where a type in core.network.source uses a type in core.network.model.response.
- The types involved
com.cinemax.core.network.source.MovieNetworkDataSource→com.cinemax.core.network.model.response.MovieResponseDtocom.cinemax.core.network.source.TvShowNetworkDataSource→com.cinemax.core.network.model.response.TvShowResponseDto
- Direction
- core.network.source uses core.network.model.response, so a change to core.network.model.response can break core.network.source, while a change to core.network.source can't break core.network.model.response.
- Position
- Below the diagonal: core.network.source uses a module listed above it, which is the healthy direction.
29→25 core.network.source uses core.network.api✕
- Connections
- 4 pairs of types, where a type in core.network.source uses a type in core.network.api.
- The types involved
com.cinemax.core.network.source.MovieDetailsNetworkDataSource→com.cinemax.core.network.api.MovieApiServicecom.cinemax.core.network.source.MovieNetworkDataSource→com.cinemax.core.network.api.MovieApiServicecom.cinemax.core.network.source.TvShowDetailsNetworkDataSource→com.cinemax.core.network.api.TvShowApiServicecom.cinemax.core.network.source.TvShowNetworkDataSource→com.cinemax.core.network.api.TvShowApiService
- Direction
- core.network.source uses core.network.api, so a change to core.network.api can break core.network.source, while a change to core.network.source can't break core.network.api.
- Position
- Below the diagonal: core.network.source uses a module listed above it, which is the healthy direction.
30→27 core.database.DatabaseBuilder uses core.database✕
- Connections
- 2 pairs of types, where a type in core.database.DatabaseBuilder uses a type in core.database.
- The types involved
com.cinemax.core.database.DatabaseBuilder.androidKt→com.cinemax.core.database.CinemaxDatabasecom.cinemax.core.database.DatabaseBuilder.iosKt→com.cinemax.core.database.CinemaxDatabase
- Direction
- core.database.DatabaseBuilder uses core.database, so a change to core.database can break core.database.DatabaseBuilder, while a change to core.database.DatabaseBuilder can't break core.database.
- Position
- Below the diagonal: core.database.DatabaseBuilder uses a module listed above it, which is the healthy direction.
31→27 core.database.util uses core.database✕
- Connections
- 1 pair of types, where a type in core.database.util uses a type in core.database.
- The types involved
com.cinemax.core.database.util.CinemaxDatabaseTransactionProvider→com.cinemax.core.database.CinemaxDatabase
- Direction
- core.database.util uses core.database, so a change to core.database can break core.database.util, while a change to core.database.util can't break core.database.
- Position
- Below the diagonal: core.database.util uses a module listed above it, which is the healthy direction.
32→2 feature.details uses core.model✕
- Connections
- 5 pairs of types, where a type in feature.details uses a type in core.model.
- The types involved
com.cinemax.feature.details.DetailsScreenKt→com.cinemax.core.model.UserMessagecom.cinemax.feature.details.DetailsUiState→com.cinemax.core.model.MovieDetailscom.cinemax.feature.details.DetailsUiState→com.cinemax.core.model.TvShowDetailscom.cinemax.feature.details.DetailsUiState→com.cinemax.core.model.UserMessagecom.cinemax.feature.details.DetailsViewModel→com.cinemax.core.model.UserMessage
- Direction
- feature.details uses core.model, so a change to core.model can break feature.details, while a change to feature.details can't break core.model.
- Position
- Below the diagonal: feature.details uses a module listed above it, which is the healthy direction.
32→4 feature.details uses core.ui.common✕
- Connections
- 1 pair of types, where a type in feature.details uses a type in core.ui.common.
- The types involved
com.cinemax.feature.details.DetailsViewModel→com.cinemax.core.ui.common.EventHandler
- Direction
- feature.details uses core.ui.common, so a change to core.ui.common can break feature.details, while a change to feature.details can't break core.ui.common.
- Position
- Below the diagonal: feature.details uses a module listed above it, which is the healthy direction.
32→18 feature.details uses core.navigation✕
- Connections
- 1 pair of types, where a type in feature.details uses a type in core.navigation.
- The types involved
com.cinemax.feature.details.DetailsUiState→com.cinemax.core.navigation.DetailsMediaType
- Direction
- feature.details uses core.navigation, so a change to core.navigation can break feature.details, while a change to feature.details can't break core.navigation.
- Position
- Below the diagonal: feature.details uses a module listed above it, which is the healthy direction.
32→28 feature.details uses core.domain.usecase✕
- Connections
- 6 pairs of types, where a type in feature.details uses a type in core.domain.usecase.
- The types involved
com.cinemax.feature.details.DetailsViewModel→com.cinemax.core.domain.usecase.AddMovieToWishlistUseCasecom.cinemax.feature.details.DetailsViewModel→com.cinemax.core.domain.usecase.AddTvShowToWishlistUseCasecom.cinemax.feature.details.DetailsViewModel→com.cinemax.core.domain.usecase.GetMovieDetailsUseCasecom.cinemax.feature.details.DetailsViewModel→com.cinemax.core.domain.usecase.GetTvShowDetailsUseCasecom.cinemax.feature.details.DetailsViewModel→com.cinemax.core.domain.usecase.RemoveMovieFromWishlistUseCasecom.cinemax.feature.details.DetailsViewModel→com.cinemax.core.domain.usecase.RemoveTvShowFromWishlistUseCase
- Direction
- feature.details uses core.domain.usecase, so a change to core.domain.usecase can break feature.details, while a change to feature.details can't break core.domain.usecase.
- Position
- Below the diagonal: feature.details uses a module listed above it, which is the healthy direction.
33→2 feature.home uses core.model✕
- Connections
- 6 pairs of types, where a type in feature.home uses a type in core.model.
- The types involved
com.cinemax.feature.home.HomeScreenKt→com.cinemax.core.model.Moviecom.cinemax.feature.home.HomeScreenKt→com.cinemax.core.model.TvShowcom.cinemax.feature.home.HomeUiState→com.cinemax.core.model.MediaTypecom.cinemax.feature.home.HomeUiState→com.cinemax.core.model.Moviecom.cinemax.feature.home.HomeUiState→com.cinemax.core.model.TvShowcom.cinemax.feature.home.HomeViewModel→com.cinemax.core.model.MediaType
- Direction
- feature.home uses core.model, so a change to core.model can break feature.home, while a change to feature.home can't break core.model.
- Position
- Below the diagonal: feature.home uses a module listed above it, which is the healthy direction.
33→4 feature.home uses core.ui.common✕
- Connections
- 1 pair of types, where a type in feature.home uses a type in core.ui.common.
- The types involved
com.cinemax.feature.home.HomeViewModel→com.cinemax.core.ui.common.EventHandler
- Direction
- feature.home uses core.ui.common, so a change to core.ui.common can break feature.home, while a change to feature.home can't break core.ui.common.
- Position
- Below the diagonal: feature.home uses a module listed above it, which is the healthy direction.
33→10 feature.home uses core.model.MediaType✕
- Connections
- 6 pairs of types, where a type in feature.home uses a type in core.model.MediaType.
- The types involved
com.cinemax.feature.home.HomeScreenKt→com.cinemax.core.model.MediaType.Moviecom.cinemax.feature.home.HomeScreenKt→com.cinemax.core.model.MediaType.TvShowcom.cinemax.feature.home.HomeUiState→com.cinemax.core.model.MediaType.Moviecom.cinemax.feature.home.HomeUiState→com.cinemax.core.model.MediaType.TvShowcom.cinemax.feature.home.HomeViewModel→com.cinemax.core.model.MediaType.Moviecom.cinemax.feature.home.HomeViewModel→com.cinemax.core.model.MediaType.TvShow
- Direction
- feature.home uses core.model.MediaType, so a change to core.model.MediaType can break feature.home, while a change to feature.home can't break core.model.MediaType.
- Position
- Below the diagonal: feature.home uses a module listed above it, which is the healthy direction.
33→18 feature.home uses core.navigation✕
- Connections
- 2 pairs of types, where a type in feature.home uses a type in core.navigation.
- The types involved
com.cinemax.feature.home.HomeScreenKt→com.cinemax.core.navigation.DetailsMediaTypecom.cinemax.feature.home.HomeScreenKt→com.cinemax.core.navigation.ListMediaType
- Direction
- feature.home uses core.navigation, so a change to core.navigation can break feature.home, while a change to feature.home can't break core.navigation.
- Position
- Below the diagonal: feature.home uses a module listed above it, which is the healthy direction.
33→28 feature.home uses core.domain.usecase✕
- Connections
- 2 pairs of types, where a type in feature.home uses a type in core.domain.usecase.
- The types involved
com.cinemax.feature.home.HomeViewModel→com.cinemax.core.domain.usecase.GetMoviesUseCasecom.cinemax.feature.home.HomeViewModel→com.cinemax.core.domain.usecase.GetTvShowsUseCase
- Direction
- feature.home uses core.domain.usecase, so a change to core.domain.usecase can break feature.home, while a change to feature.home can't break core.domain.usecase.
- Position
- Below the diagonal: feature.home uses a module listed above it, which is the healthy direction.
34→2 feature.list uses core.model✕
- Connections
- 4 pairs of types, where a type in feature.list uses a type in core.model.
- The types involved
com.cinemax.feature.list.ListScreenKt→com.cinemax.core.model.Moviecom.cinemax.feature.list.ListScreenKt→com.cinemax.core.model.TvShowcom.cinemax.feature.list.ListUiState→com.cinemax.core.model.Moviecom.cinemax.feature.list.ListUiState→com.cinemax.core.model.TvShow
- Direction
- feature.list uses core.model, so a change to core.model can break feature.list, while a change to feature.list can't break core.model.
- Position
- Below the diagonal: feature.list uses a module listed above it, which is the healthy direction.
34→9 feature.list uses core.domain.model.MediaTypeModel✕
- Connections
- 2 pairs of types, where a type in feature.list uses a type in core.domain.model.MediaTypeModel.
- The types involved
com.cinemax.feature.list.ListMediaTypeMapperKt→com.cinemax.core.domain.model.MediaTypeModel.Moviecom.cinemax.feature.list.ListMediaTypeMapperKt→com.cinemax.core.domain.model.MediaTypeModel.TvShow
- Direction
- feature.list uses core.domain.model.MediaTypeModel, so a change to core.domain.model.MediaTypeModel can break feature.list, while a change to feature.list can't break core.domain.model.MediaTypeModel.
- Position
- Below the diagonal: feature.list uses a module listed above it, which is the healthy direction.
34→18 feature.list uses core.navigation✕
- Connections
- 2 pairs of types, where a type in feature.list uses a type in core.navigation.
- The types involved
com.cinemax.feature.list.ListScreenKt→com.cinemax.core.navigation.DetailsMediaTypecom.cinemax.feature.list.ListUiState→com.cinemax.core.navigation.ListMediaType
- Direction
- feature.list uses core.navigation, so a change to core.navigation can break feature.list, while a change to feature.list can't break core.navigation.
- Position
- Below the diagonal: feature.list uses a module listed above it, which is the healthy direction.
34→28 feature.list uses core.domain.usecase✕
- Connections
- 2 pairs of types, where a type in feature.list uses a type in core.domain.usecase.
- The types involved
com.cinemax.feature.list.ListViewModel→com.cinemax.core.domain.usecase.GetMoviesPagingUseCasecom.cinemax.feature.list.ListViewModel→com.cinemax.core.domain.usecase.GetTvShowsPagingUseCase
- Direction
- feature.list uses core.domain.usecase, so a change to core.domain.usecase can break feature.list, while a change to feature.list can't break core.domain.usecase.
- Position
- Below the diagonal: feature.list uses a module listed above it, which is the healthy direction.
35→2 feature.search uses core.model✕
- Connections
- 6 pairs of types, where a type in feature.search uses a type in core.model.
- The types involved
com.cinemax.feature.search.SearchScreenKt→com.cinemax.core.model.Moviecom.cinemax.feature.search.SearchScreenKt→com.cinemax.core.model.TvShowcom.cinemax.feature.search.SearchUiState→com.cinemax.core.model.MediaTypecom.cinemax.feature.search.SearchUiState→com.cinemax.core.model.Moviecom.cinemax.feature.search.SearchUiState→com.cinemax.core.model.TvShowcom.cinemax.feature.search.SearchViewModel→com.cinemax.core.model.MediaType
- Direction
- feature.search uses core.model, so a change to core.model can break feature.search, while a change to feature.search can't break core.model.
- Position
- Below the diagonal: feature.search uses a module listed above it, which is the healthy direction.
35→4 feature.search uses core.ui.common✕
- Connections
- 1 pair of types, where a type in feature.search uses a type in core.ui.common.
- The types involved
com.cinemax.feature.search.SearchViewModel→com.cinemax.core.ui.common.EventHandler
- Direction
- feature.search uses core.ui.common, so a change to core.ui.common can break feature.search, while a change to feature.search can't break core.ui.common.
- Position
- Below the diagonal: feature.search uses a module listed above it, which is the healthy direction.
35→10 feature.search uses core.model.MediaType✕
- Connections
- 6 pairs of types, where a type in feature.search uses a type in core.model.MediaType.
- The types involved
com.cinemax.feature.search.SearchScreenKt→com.cinemax.core.model.MediaType.Moviecom.cinemax.feature.search.SearchScreenKt→com.cinemax.core.model.MediaType.TvShowcom.cinemax.feature.search.SearchUiState→com.cinemax.core.model.MediaType.Moviecom.cinemax.feature.search.SearchUiState→com.cinemax.core.model.MediaType.TvShowcom.cinemax.feature.search.SearchViewModel→com.cinemax.core.model.MediaType.Moviecom.cinemax.feature.search.SearchViewModel→com.cinemax.core.model.MediaType.TvShow
- Direction
- feature.search uses core.model.MediaType, so a change to core.model.MediaType can break feature.search, while a change to feature.search can't break core.model.MediaType.
- Position
- Below the diagonal: feature.search uses a module listed above it, which is the healthy direction.
35→18 feature.search uses core.navigation✕
- Connections
- 2 pairs of types, where a type in feature.search uses a type in core.navigation.
- The types involved
com.cinemax.feature.search.SearchScreenKt→com.cinemax.core.navigation.DetailsMediaTypecom.cinemax.feature.search.SearchScreenKt→com.cinemax.core.navigation.ListMediaType
- Direction
- feature.search uses core.navigation, so a change to core.navigation can break feature.search, while a change to feature.search can't break core.navigation.
- Position
- Below the diagonal: feature.search uses a module listed above it, which is the healthy direction.
35→28 feature.search uses core.domain.usecase✕
- Connections
- 4 pairs of types, where a type in feature.search uses a type in core.domain.usecase.
- The types involved
com.cinemax.feature.search.SearchViewModel→com.cinemax.core.domain.usecase.GetMoviesUseCasecom.cinemax.feature.search.SearchViewModel→com.cinemax.core.domain.usecase.GetTvShowsUseCasecom.cinemax.feature.search.SearchViewModel→com.cinemax.core.domain.usecase.SearchMoviesUseCasecom.cinemax.feature.search.SearchViewModel→com.cinemax.core.domain.usecase.SearchTvShowsUseCase
- Direction
- feature.search uses core.domain.usecase, so a change to core.domain.usecase can break feature.search, while a change to feature.search can't break core.domain.usecase.
- Position
- Below the diagonal: feature.search uses a module listed above it, which is the healthy direction.
36→4 feature.settings uses core.ui.common✕
- Connections
- 1 pair of types, where a type in feature.settings uses a type in core.ui.common.
- The types involved
com.cinemax.feature.settings.SettingsViewModel→com.cinemax.core.ui.common.EventHandler
- Direction
- feature.settings uses core.ui.common, so a change to core.ui.common can break feature.settings, while a change to feature.settings can't break core.ui.common.
- Position
- Below the diagonal: feature.settings uses a module listed above it, which is the healthy direction.
36→5 feature.settings uses feature.settings.model✕
- Connections
- 1 pair of types, where a type in feature.settings uses a type in feature.settings.model.
- The types involved
com.cinemax.feature.settings.SettingsUiState→com.cinemax.feature.settings.model.SettingsGroup
- Direction
- feature.settings uses feature.settings.model, so a change to feature.settings.model can break feature.settings, while a change to feature.settings can't break feature.settings.model.
- Position
- Below the diagonal: feature.settings uses a module listed above it, which is the healthy direction.
36→28 feature.settings uses core.domain.usecase✕
- Connections
- 3 pairs of types, where a type in feature.settings uses a type in core.domain.usecase.
- The types involved
com.cinemax.feature.settings.SettingsViewModel→com.cinemax.core.domain.usecase.GetSettingsPrivacyPolicyUrlUseCasecom.cinemax.feature.settings.SettingsViewModel→com.cinemax.core.domain.usecase.GetSettingsRepoUrlUseCasecom.cinemax.feature.settings.SettingsViewModel→com.cinemax.core.domain.usecase.GetSettingsVersionUseCase
- Direction
- feature.settings uses core.domain.usecase, so a change to core.domain.usecase can break feature.settings, while a change to feature.settings can't break core.domain.usecase.
- Position
- Below the diagonal: feature.settings uses a module listed above it, which is the healthy direction.
37→2 feature.wishlist uses core.model✕
- Connections
- 4 pairs of types, where a type in feature.wishlist uses a type in core.model.
- The types involved
com.cinemax.feature.wishlist.WishlistScreenKt→com.cinemax.core.model.MovieDetailscom.cinemax.feature.wishlist.WishlistScreenKt→com.cinemax.core.model.TvShowDetailscom.cinemax.feature.wishlist.WishlistUiState→com.cinemax.core.model.MovieDetailscom.cinemax.feature.wishlist.WishlistUiState→com.cinemax.core.model.TvShowDetails
- Direction
- feature.wishlist uses core.model, so a change to core.model can break feature.wishlist, while a change to feature.wishlist can't break core.model.
- Position
- Below the diagonal: feature.wishlist uses a module listed above it, which is the healthy direction.
37→4 feature.wishlist uses core.ui.common✕
- Connections
- 1 pair of types, where a type in feature.wishlist uses a type in core.ui.common.
- The types involved
com.cinemax.feature.wishlist.WishlistViewModel→com.cinemax.core.ui.common.EventHandler
- Direction
- feature.wishlist uses core.ui.common, so a change to core.ui.common can break feature.wishlist, while a change to feature.wishlist can't break core.ui.common.
- Position
- Below the diagonal: feature.wishlist uses a module listed above it, which is the healthy direction.
37→18 feature.wishlist uses core.navigation✕
- Connections
- 1 pair of types, where a type in feature.wishlist uses a type in core.navigation.
- The types involved
com.cinemax.feature.wishlist.WishlistScreenKt→com.cinemax.core.navigation.DetailsMediaType
- Direction
- feature.wishlist uses core.navigation, so a change to core.navigation can break feature.wishlist, while a change to feature.wishlist can't break core.navigation.
- Position
- Below the diagonal: feature.wishlist uses a module listed above it, which is the healthy direction.
37→28 feature.wishlist uses core.domain.usecase✕
- Connections
- 2 pairs of types, where a type in feature.wishlist uses a type in core.domain.usecase.
- The types involved
com.cinemax.feature.wishlist.WishlistViewModel→com.cinemax.core.domain.usecase.GetWishlistMoviesUseCasecom.cinemax.feature.wishlist.WishlistViewModel→com.cinemax.core.domain.usecase.GetWishlistTvShowsUseCase
- Direction
- feature.wishlist uses core.domain.usecase, so a change to core.domain.usecase can break feature.wishlist, while a change to feature.wishlist can't break core.domain.usecase.
- Position
- Below the diagonal: feature.wishlist uses a module listed above it, which is the healthy direction.
38→8 core.database.source uses core.database.model.MediaType✕
- Connections
- 2 pairs of types, where a type in core.database.source uses a type in core.database.model.MediaType.
- The types involved
com.cinemax.core.database.source.MovieDatabaseDataSource→com.cinemax.core.database.model.MediaType.Moviecom.cinemax.core.database.source.TvShowDatabaseDataSource→com.cinemax.core.database.model.MediaType.TvShow
- Direction
- core.database.source uses core.database.model.MediaType, so a change to core.database.model.MediaType can break core.database.source, while a change to core.database.source can't break core.database.model.MediaType.
- Position
- Below the diagonal: core.database.source uses a module listed above it, which is the healthy direction.
38→16 core.database.source uses core.database.model✕
- Connections
- 7 pairs of types, where a type in core.database.source uses a type in core.database.model.
- The types involved
com.cinemax.core.database.source.MovieDatabaseDataSource→com.cinemax.core.database.model.MovieEntitycom.cinemax.core.database.source.MovieDatabaseDataSource→com.cinemax.core.database.model.MovieRemoteKeyEntitycom.cinemax.core.database.source.MovieDetailsDatabaseDataSource→com.cinemax.core.database.model.MovieDetailsEntitycom.cinemax.core.database.source.TvShowDatabaseDataSource→com.cinemax.core.database.model.TvShowEntitycom.cinemax.core.database.source.TvShowDatabaseDataSource→com.cinemax.core.database.model.TvShowRemoteKeyEntitycom.cinemax.core.database.source.TvShowDetailsDatabaseDataSource→com.cinemax.core.database.model.TvShowDetailsEntitycom.cinemax.core.database.source.WishlistDatabaseDataSource→com.cinemax.core.database.model.WishlistEntity
- Direction
- core.database.source uses core.database.model, so a change to core.database.model can break core.database.source, while a change to core.database.source can't break core.database.model.
- Position
- Below the diagonal: core.database.source uses a module listed above it, which is the healthy direction.
38→23 core.database.source uses core.database.dao✕
- Connections
- 7 pairs of types, where a type in core.database.source uses a type in core.database.dao.
- The types involved
com.cinemax.core.database.source.MovieDatabaseDataSource→com.cinemax.core.database.dao.MovieDaocom.cinemax.core.database.source.MovieDatabaseDataSource→com.cinemax.core.database.dao.MovieRemoteKeyDaocom.cinemax.core.database.source.MovieDetailsDatabaseDataSource→com.cinemax.core.database.dao.MovieDetailsDaocom.cinemax.core.database.source.TvShowDatabaseDataSource→com.cinemax.core.database.dao.TvShowDaocom.cinemax.core.database.source.TvShowDatabaseDataSource→com.cinemax.core.database.dao.TvShowRemoteKeyDaocom.cinemax.core.database.source.TvShowDetailsDatabaseDataSource→com.cinemax.core.database.dao.TvShowDetailsDaocom.cinemax.core.database.source.WishlistDatabaseDataSource→com.cinemax.core.database.dao.WishlistDao
- Direction
- core.database.source uses core.database.dao, so a change to core.database.dao can break core.database.source, while a change to core.database.source can't break core.database.dao.
- Position
- Below the diagonal: core.database.source uses a module listed above it, which is the healthy direction.
38→31 core.database.source uses core.database.util✕
- Connections
- 5 pairs of types, where a type in core.database.source uses a type in core.database.util.
- The types involved
com.cinemax.core.database.source.MovieDatabaseDataSource→com.cinemax.core.database.util.CinemaxDatabaseTransactionProvidercom.cinemax.core.database.source.MovieDetailsDatabaseDataSource→com.cinemax.core.database.util.CinemaxDatabaseTransactionProvidercom.cinemax.core.database.source.SettingsDatabaseDataSource→com.cinemax.core.database.util.CinemaxVersionProvidercom.cinemax.core.database.source.TvShowDatabaseDataSource→com.cinemax.core.database.util.CinemaxDatabaseTransactionProvidercom.cinemax.core.database.source.TvShowDetailsDatabaseDataSource→com.cinemax.core.database.util.CinemaxDatabaseTransactionProvider
- Direction
- core.database.source uses core.database.util, so a change to core.database.util can break core.database.source, while a change to core.database.source can't break core.database.util.
- Position
- Below the diagonal: core.database.source uses a module listed above it, which is the healthy direction.
39→8 core.data.paging uses core.database.model.MediaType✕
- Connections
- 2 pairs of types, where a type in core.data.paging uses a type in core.database.model.MediaType.
- The types involved
com.cinemax.core.data.paging.MovieRemoteMediator→com.cinemax.core.database.model.MediaType.Moviecom.cinemax.core.data.paging.TvShowRemoteMediator→com.cinemax.core.database.model.MediaType.TvShow
- Direction
- core.data.paging uses core.database.model.MediaType, so a change to core.database.model.MediaType can break core.data.paging, while a change to core.data.paging can't break core.database.model.MediaType.
- Position
- Below the diagonal: core.data.paging uses a module listed above it, which is the healthy direction.
39→16 core.data.paging uses core.database.model✕
- Connections
- 4 pairs of types, where a type in core.data.paging uses a type in core.database.model.
- The types involved
com.cinemax.core.data.paging.MovieRemoteMediator→com.cinemax.core.database.model.MovieEntitycom.cinemax.core.data.paging.MovieRemoteMediator→com.cinemax.core.database.model.MovieRemoteKeyEntitycom.cinemax.core.data.paging.TvShowRemoteMediator→com.cinemax.core.database.model.TvShowEntitycom.cinemax.core.data.paging.TvShowRemoteMediator→com.cinemax.core.database.model.TvShowRemoteKeyEntity
- Direction
- core.data.paging uses core.database.model, so a change to core.database.model can break core.data.paging, while a change to core.data.paging can't break core.database.model.
- Position
- Below the diagonal: core.data.paging uses a module listed above it, which is the healthy direction.
39→17 core.data.paging uses core.domain.model✕
- Connections
- 2 pairs of types, where a type in core.data.paging uses a type in core.domain.model.
- The types involved
com.cinemax.core.data.paging.SearchMoviePagingSource→com.cinemax.core.domain.model.MovieModelcom.cinemax.core.data.paging.SearchTvShowPagingSource→com.cinemax.core.domain.model.TvShowModel
- Direction
- core.data.paging uses core.domain.model, so a change to core.domain.model can break core.data.paging, while a change to core.data.paging can't break core.domain.model.
- Position
- Below the diagonal: core.data.paging uses a module listed above it, which is the healthy direction.
39→29 core.data.paging uses core.network.source✕
- Connections
- 4 pairs of types, where a type in core.data.paging uses a type in core.network.source.
- The types involved
com.cinemax.core.data.paging.MovieRemoteMediator→com.cinemax.core.network.source.MovieNetworkDataSourcecom.cinemax.core.data.paging.SearchMoviePagingSource→com.cinemax.core.network.source.MovieNetworkDataSourcecom.cinemax.core.data.paging.SearchTvShowPagingSource→com.cinemax.core.network.source.TvShowNetworkDataSourcecom.cinemax.core.data.paging.TvShowRemoteMediator→com.cinemax.core.network.source.TvShowNetworkDataSource
- Direction
- core.data.paging uses core.network.source, so a change to core.network.source can break core.data.paging, while a change to core.data.paging can't break core.network.source.
- Position
- Below the diagonal: core.data.paging uses a module listed above it, which is the healthy direction.
39→38 core.data.paging uses core.database.source✕
- Connections
- 2 pairs of types, where a type in core.data.paging uses a type in core.database.source.
- The types involved
com.cinemax.core.data.paging.MovieRemoteMediator→com.cinemax.core.database.source.MovieDatabaseDataSourcecom.cinemax.core.data.paging.TvShowRemoteMediator→com.cinemax.core.database.source.TvShowDatabaseDataSource
- Direction
- core.data.paging uses core.database.source, so a change to core.database.source can break core.data.paging, while a change to core.data.paging can't break core.database.source.
- Position
- Below the diagonal: core.data.paging uses a module listed above it, which is the healthy direction.
40→1 core.data.repository uses core.common.result✕
- Connections
- 4 pairs of types, where a type in core.data.repository uses a type in core.common.result.
- The types involved
com.cinemax.core.data.repository.MovieDetailsRepositoryImpl→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.data.repository.MovieRepositoryImpl→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.data.repository.TvShowDetailsRepositoryImpl→com.cinemax.core.common.result.CinemaxResultcom.cinemax.core.data.repository.TvShowRepositoryImpl→com.cinemax.core.common.result.CinemaxResult
- Direction
- core.data.repository uses core.common.result, so a change to core.common.result can break core.data.repository, while a change to core.data.repository can't break core.common.result.
- Position
- Below the diagonal: core.data.repository uses a module listed above it, which is the healthy direction.
40→9 core.data.repository uses core.domain.model.MediaTypeModel✕
- Connections
- 2 pairs of types, where a type in core.data.repository uses a type in core.domain.model.MediaTypeModel.
- The types involved
com.cinemax.core.data.repository.MovieRepositoryImpl→com.cinemax.core.domain.model.MediaTypeModel.Moviecom.cinemax.core.data.repository.TvShowRepositoryImpl→com.cinemax.core.domain.model.MediaTypeModel.TvShow
- Direction
- core.data.repository uses core.domain.model.MediaTypeModel, so a change to core.domain.model.MediaTypeModel can break core.data.repository, while a change to core.data.repository can't break core.domain.model.MediaTypeModel.
- Position
- Below the diagonal: core.data.repository uses a module listed above it, which is the healthy direction.
40→17 core.data.repository uses core.domain.model✕
- Connections
- 5 pairs of types, where a type in core.data.repository uses a type in core.domain.model.
- The types involved
com.cinemax.core.data.repository.MovieDetailsRepositoryImpl→com.cinemax.core.domain.model.MovieDetailsModelcom.cinemax.core.data.repository.MovieRepositoryImpl→com.cinemax.core.domain.model.MovieModelcom.cinemax.core.data.repository.TvShowDetailsRepositoryImpl→com.cinemax.core.domain.model.TvShowDetailsModelcom.cinemax.core.data.repository.TvShowRepositoryImpl→com.cinemax.core.domain.model.TvShowModelcom.cinemax.core.data.repository.WishlistRepositoryImpl→com.cinemax.core.domain.model.WishlistModel
- Direction
- core.data.repository uses core.domain.model, so a change to core.domain.model can break core.data.repository, while a change to core.data.repository can't break core.domain.model.
- Position
- Below the diagonal: core.data.repository uses a module listed above it, which is the healthy direction.
40→24 core.data.repository uses core.domain.repository✕
- Connections
- 6 pairs of types, where a type in core.data.repository uses a type in core.domain.repository.
- The types involved
com.cinemax.core.data.repository.MovieDetailsRepositoryImpl→com.cinemax.core.domain.repository.MovieDetailsRepositorycom.cinemax.core.data.repository.MovieRepositoryImpl→com.cinemax.core.domain.repository.MovieRepositorycom.cinemax.core.data.repository.SettingsRepositoryImpl→com.cinemax.core.domain.repository.SettingsRepositorycom.cinemax.core.data.repository.TvShowDetailsRepositoryImpl→com.cinemax.core.domain.repository.TvShowDetailsRepositorycom.cinemax.core.data.repository.TvShowRepositoryImpl→com.cinemax.core.domain.repository.TvShowRepositorycom.cinemax.core.data.repository.WishlistRepositoryImpl→com.cinemax.core.domain.repository.WishlistRepository
- Direction
- core.data.repository uses core.domain.repository, so a change to core.domain.repository can break core.data.repository, while a change to core.data.repository can't break core.domain.repository.
- Position
- Below the diagonal: core.data.repository uses a module listed above it, which is the healthy direction.
40→29 core.data.repository uses core.network.source✕
- Connections
- 4 pairs of types, where a type in core.data.repository uses a type in core.network.source.
- The types involved
com.cinemax.core.data.repository.MovieDetailsRepositoryImpl→com.cinemax.core.network.source.MovieDetailsNetworkDataSourcecom.cinemax.core.data.repository.MovieRepositoryImpl→com.cinemax.core.network.source.MovieNetworkDataSourcecom.cinemax.core.data.repository.TvShowDetailsRepositoryImpl→com.cinemax.core.network.source.TvShowDetailsNetworkDataSourcecom.cinemax.core.data.repository.TvShowRepositoryImpl→com.cinemax.core.network.source.TvShowNetworkDataSource
- Direction
- core.data.repository uses core.network.source, so a change to core.network.source can break core.data.repository, while a change to core.data.repository can't break core.network.source.
- Position
- Below the diagonal: core.data.repository uses a module listed above it, which is the healthy direction.
40→38 core.data.repository uses core.database.source✕
- Connections
- 8 pairs of types, where a type in core.data.repository uses a type in core.database.source.
- The types involved
com.cinemax.core.data.repository.MovieDetailsRepositoryImpl→com.cinemax.core.database.source.MovieDetailsDatabaseDataSourcecom.cinemax.core.data.repository.MovieDetailsRepositoryImpl→com.cinemax.core.database.source.WishlistDatabaseDataSourcecom.cinemax.core.data.repository.MovieRepositoryImpl→com.cinemax.core.database.source.MovieDatabaseDataSourcecom.cinemax.core.data.repository.SettingsRepositoryImpl→com.cinemax.core.database.source.SettingsDatabaseDataSourcecom.cinemax.core.data.repository.TvShowDetailsRepositoryImpl→com.cinemax.core.database.source.TvShowDetailsDatabaseDataSourcecom.cinemax.core.data.repository.TvShowDetailsRepositoryImpl→com.cinemax.core.database.source.WishlistDatabaseDataSourcecom.cinemax.core.data.repository.TvShowRepositoryImpl→com.cinemax.core.database.source.TvShowDatabaseDataSourcecom.cinemax.core.data.repository.WishlistRepositoryImpl→com.cinemax.core.database.source.WishlistDatabaseDataSource
- Direction
- core.data.repository uses core.database.source, so a change to core.database.source can break core.data.repository, while a change to core.data.repository can't break core.database.source.
- Position
- Below the diagonal: core.data.repository uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 12 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 5 | Medium |
Roadmap
Begin by addressing the lack of automated tests and test distribution to ensure code reliability. Simultaneously, resolve the significant backlog of 71 orphaned files, prioritizing Constants.kt, TopAppBar.kt, and Container, while establishing a diagnostic logging trail to improve bug reproduction. Finally, create an Architecture Decision Record to document key technical choices and close the gap in decision tracking.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No automated tests finding(s) in Code Coverage. | +18.3 pts | Low | Code Coverage |
| Resolve the 1 No tests found finding(s) in Test Distribution. | +18.3 pts | Low | Test Distribution |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +4.8 pts | Low | ADR Quality |
| Write a diagnostic trail the user can hand back with a bug report: a log file under the platform's per-user data directory, switchable with a `--verbose`/`--debug` flag. Start with the error paths that emit nothing — a discarded error is the failure the user cannot describe and you cannot reproduce. | +7.6 pts | Medium | Observability |
| Resolve the 71 Orphaned file finding(s) in Knowledge Freshness — start with Constants.kt (2), TopAppBar.kt (2), Container.kt. | +5.0 pts | Medium | Knowledge Freshness |
| Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release. | +2.9 pts | Medium | Release Hygiene |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +2.7 pts | Medium | Architecture documentation |
| Improve Documentation Quality — currently 7.0/10. | +2.5 pts | Medium | Documentation Quality |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| composeApp/src/commonMain/kotlin/com/cinemax/core/data/paging/MovieRemoteMediator.kt | 7.8 | Mixed | Code Duplication: Duplicated block (29 lines × 2) |
| composeApp/src/commonMain/kotlin/com/cinemax/feature/home/HomeViewModel.kt | 7.8 | Mixed | Code Duplication: Duplicated block (23 lines × 2) |
| composeApp/src/commonMain/kotlin/com/cinemax/feature/details/component/Details.kt | 8.5 | Near-clean | God Classes: MethodTooLong: DetailsKt.DetailsItem |
| composeApp/src/commonMain/kotlin/com/cinemax/core/data/paging/SearchMoviePagingSource.kt | 8.5 | Near-clean | Code Duplication: Duplicated block (20 lines × 2) |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 58 of 62 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 62 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 94 of 109 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — 3 Maven/Gradle manifest(s) were read, stating a version for 62 dependency(ies) and leaving 24 to a parent or an imported BOM, but no build resolved the dependency graph, so the outdated signal was not established. NOT a finding that these dependencies are current or healthy.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. All 71 significant source file(s) were last meaningfully changed so long ago that no living knowledge remains — nothing since has been substantial enough to re-establish ownership (a broad, mechanical sweep that touches many files shallowly does not count, and neither does no activity at all). There is no concentration to measure, so the bus factor is not scored. This is not a clean bill: nobody currently holds working knowledge of this code (see D34 Knowledge Freshness). Counted over 71 of the 217 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- AX1 Captive dependencies — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads Microsoft.Extensions.DependencyInjection registrations in C# and Spring beans in Java/Kotlin only, and this repository's container is Koin, whose lifetimes are not modelled yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AX6 Interface segregation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check is computed over the public interfaces this run's compilations declare, and none was loaded, so it had nothing to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AXB1 Runtime evidence locked — no reproducible boot — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Subject: a native UI project (composeApp/src/androidMain/AndroidManifest.xml). The Runtime Evidence tier boots an app only via docker-compose, an Aspire AppHost, a Dockerfile, an npm dev script, a web service's own toolchain entry point (cargo, go, dotnet, Python, Spring Boot), or an Android app's own Gradle wrapper (run on an emulator); an Apple or Flutter app needs a host it lacks. None applied, so no live runtime a11y/egress/header evidence was collected. You can widen what we reach: add a docker-compose.yml (or an Aspire AppHost) that brings the app up with its dependencies. Watchdog then boots it in an isolated sandbox and gathers real runtime evidence — you change nothing in your pipeline (no CI step, no SDK).
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- DM9 Scattered domain decisions — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not measured — scattered-decision detection needs expression-level symbol resolution: a comparison operand bound to the member it judges (arm one) and a construction bound to the type it produces (arm two). A Roslyn compilation carries both; arm two alone also runs on any frontend that declares whether a construction is produced or passed, and this target loaded neither.
- ED5 Idempotency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check decides whether a handler's mutation is safe to re-run by recognising its persistence writes (a database save, a repository write, an event publish) and its guards. Those markers are .NET member names, so in this repository's language a write such as `repository.save(order)` is not recognised and a same-named call on an unrelated library type could be. The handlers were found; their idempotency was neither confirmed nor ruled out.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby and Scala source only, and no C#, F#, JavaScript/TypeScript, Dart, Ruby or Scala was found, and this repository's Kotlin, Swift is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- IC1 Incompleteness & stubs — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, JavaScript/TypeScript, Java, Dart, Ruby and Scala source only, and no C#, JavaScript/TypeScript, Java, Dart, Ruby or Scala was found, and this repository's Kotlin, Swift is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X24 Document value interpolated into markup unescaped — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Scala, Ruby and Python source only, and no C# was loaded and no JavaScript/TypeScript, Java, Scala, Ruby or Python was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D8 Code Coverage: Coverage is measured by building and running the test suite inside Watchdog's isolated image — the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
1 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 1 MethodTooLong finding(s) in God Classes — start with Details.kt. — One of this dimension's main actionable groups (1 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D4 · Code Duplication
5 duplicated block group(s) detected.
What to do
- Resolve the 1 Duplicated block (29 lines × 2) finding(s) in Code Duplication — start with MovieRemoteMediator.kt. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (23 lines × 2) finding(s) in Code Duplication — start with HomeViewModel.kt. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (20 lines × 2) finding(s) in Code Duplication — start with SearchMoviePagingSource.kt. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
2 production modules (Gradle), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; edges a convention plugin adds from buildSrc or build-logic are not visible there; 0 module(s) off the main sequence.
D6 · Cohesion (LCOM4)
0 of 20 classes have LCOM4 above 3.
D8 · Code Coverage
No automated tests — no test code was found in this repository.
What to do
- Resolve the 1 No automated tests finding(s) in Code Coverage. — One of this dimension's main actionable groups (1 issue-level).
- Enforce Code Coverage in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
No test suite found.
What to do
- Resolve the 1 No tests found finding(s) in Test Distribution. — One of this dimension's main actionable groups (1 recommendation-level).
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 12858 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The repository's root README is clear and complete for a project that is itself the single document: it states Cinemax (Movies & TV Shows app for Android/iOS built with Compose Multiplatform), links to Google Play, IzzyOnDroid, and the Releases page; shows an overview preview of each screen; gives installation steps (generate API key, put in local.properties); describes a Gradle build command for Android and Xcode for iOS; and ends its Getting Started section before clipping. The document is well-structured with headings and a clear flow but does not yet expose the architecture/design docs or any other files that would make it self-contained as a standalone README.
What to do
- Improve Documentation Quality — currently 7.0/10. — The repository's root README is clear and complete for a project that is itself the single document: it states Cinemax (Movies & TV Shows app for Android/iOS built with Compose Multiplatform), links to Google Play, IzzyOnDroid, and the Releases page; shows an overview preview of each screen; gives installation steps (generate API key, put in local.properties); describes a Gradle build command for Android and Xcode for iOS; and ends its Getting Started section before clipping. The document is well-structured with headings and a clear flow but does not yet expose the architecture/design docs or any other files that would make it self-contained as a standalone README.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
1 of 2 build units (Gradle, Xcode) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Split composeApp finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
12 finding(s): 0 critical, 12 high, 0 medium, 0 low. 12 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 1 file(s) — `gradlew` (line 74, line 180) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
What to do
- No action in Static Analysis (SAST) — all 12 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (12 issue-level, 0 of them charged here).
D34 · Knowledge Freshness
71 of 71 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is composeApp/src/commonMain/kotlin/com/cinemax/core/ui/Container.kt. Counted over 71 of the 217 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 71 Orphaned file finding(s) in Knowledge Freshness — start with Constants.kt (2), TopAppBar.kt (2), Container.kt. — One of this dimension's main actionable groups (71 recommendation-level).
- Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 1 platform declaration(s) and 62 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX5 · Architecture & structure
AX9 · CQS / query purity
DM11 · Constructible invalid state
- `MovieDetailsEntity`'s public constructor takes `backdropPath`, `homepage`, `imdbId`, `originalLanguage`, … as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `MovieDetailsEntity` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — composeApp/src/commonMain/kotlin/com/cinemax/core/database/model/MovieDetailsEntity.kt:26
- `MovieEntity`'s public constructor takes `title`, `overview`, `popularity`, `originalTitle`, … as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `MovieEntity` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — composeApp/src/commonMain/kotlin/com/cinemax/core/database/model/MovieEntity.kt:26
- `TvShowDetailsEntity`'s public constructor takes `name`, `backdropPath`, `homepage`, `originalLanguage`, … as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `TvShowDetailsEntity` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — composeApp/src/commonMain/kotlin/com/cinemax/core/database/model/TvShowDetailsEntity.kt:26
- `TvShowEntity`'s public constructor takes `name`, `overview`, `popularity`, `originalName`, … as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `TvShowEntity` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — composeApp/src/commonMain/kotlin/com/cinemax/core/database/model/TvShowEntity.kt:26
What to do
- Give each aggregate one way in that can refuse — a guarded constructor, value-object parameters that validate themselves, or a private constructor behind a factory that returns a failure.
DM12 · Ambient inputs in the domain
DM6 · Domain ↔ infrastructure boundary
DM8 · Value-object opportunities
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add a README to the 1 of 1 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
What to do
- Start a test surface where your build system looks for one (tests/, test/, spec/, or your ecosystem's test source set) — the separation follows from putting the first tests in the right place.
M4 · Documentation accuracy
P1 · CI/CD gates
P2 · Observability
- No logging or diagnostics emission found. This repository ships a binary its users launch rather than a service you operate, so there is no operator to page — but when a run fails on a user's machine, neither they nor you have anything to read.
What to do
- Write a diagnostic trail the user can hand back with a bug report: a log file under the platform's per-user data directory, switchable with a `--verbose`/`--debug` flag. Start with the error paths that emit nothing — a discarded error is the failure the user cannot describe and you cannot reproduce.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add spotbugs with find-sec-bugs (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2620 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: spotbugs with find-sec-bugs — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
PF1 · Benchmark discipline
- A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement — allocations (the main way hot code pressures a garbage collector or allocator) aren't being measured.
What to do
- Run JMH with the GC profiler (`-prof gc`, or addProfiler(GCProfiler.class)) so allocation rate regressions are visible, not just time.
PF2 · Allocation hygiene
- None of the allocation-aware idioms this check reads was found in the Kotlin and Swift production code (Kotlin: primitive arrays, value classes, primitive collections, presized collections; Swift: reserveCapacity, ContiguousArray, withUnsafe*Buffer*, ~Copyable, borrowing/consuming). If this code sits on a hot path, these reduce the allocation pressure it creates — a bonus, not a requirement.
What to do
- Kotlin: on hot paths, use primitive arrays (IntArray, LongArray …) and @JvmInline value classes instead of boxed values, primitive collections (androidx.collection, fastutil) instead of boxed ones, and presize collections and StringBuilders.
- Swift: on hot paths, reserveCapacity before appending, use ContiguousArray for class-element arrays, work in place with withUnsafeBufferPointer/withUnsafeTemporaryAllocation, and make large values ~Copyable with borrowing/consuming parameters.
PF3 · Async & latency hygiene
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 100% | Exemplary | Strongest area. |
| Architecture | 89% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 59% | Adequate — gated by D34 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 28% | Weak — gated by D8, D9, P2, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 75% | Adequate — gated by D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 83% | Strong | Solid. |
| Performance | 75% | Strong | Solid. |
Not evidenced — 2 control(s) we could not find positive evidence for
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 66 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX2 Stateful singletons — No container singleton was found, so there is no shared instance for concurrent requests to race on. No class in this Kotlin code is a Spring, JSR-330 or CDI singleton bean. No Swift request handler (a Vapor, Hummingbird, Kitura, Swifter or Perfect route handler, as a method or a registered closure) is declared, so no state is shared between request threads.
- AX4 Dependency direction — not applicable to a CQRS architecture (the inward-dependency rule is for layered/clean styles)
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AXB1 Runtime evidence locked — no reproducible boot — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- C1 Data Protection — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Room, JPA or MongoDB entity, an Exposed or Ktorm table, or in a SQL CREATE TABLE or ALTER TABLE — and no database or data-store client (Room, Exposed, SQLDelight, Realm, JPA, JDBC, MongoDB, Firebase, …) imported either, so this repository keeps no data at rest for these controls to protect.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named column (email, first_name, date_of_birth, phone_number, …) or stored credential on a Room, JPA or MongoDB entity, an Exposed or Ktorm table, or a SQL CREATE TABLE or ALTER TABLE — and no database or data-store client (Room, Exposed, SQLDelight, Realm, JPA, JDBC, MongoDB, Firebase, …) imported either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a store configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Room, JPA or MongoDB entity, an Exposed or Ktorm table, or in a SQL CREATE TABLE or ALTER TABLE — and no database or data-store client (Room, Exposed, SQLDelight, Realm, JPA, JDBC, MongoDB, Firebase, …) imported either, so this repository keeps no personal data whose lifetime a retention limit would bound.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Room, JPA or MongoDB entity, an Exposed or Ktorm table, or in a SQL CREATE TABLE or ALTER TABLE — and no database or data-store client (Room, Exposed, SQLDelight, Realm, JPA, JDBC, MongoDB, Firebase, …) imported either, so this repository keeps no personal data for a data subject to erase, export or consent over.
- D10 Test Quality — No tests were found in the analyzed repository to assess for quality.
- D11 Test Reliability — No test suite was found to re-run, so reliability couldn't be assessed. Two searches produced that zero and both came back empty: the classifier that reads the loaded workspace recognised no suite it could run, and a walk of the source on disk — which covers the JS/TS `*.test.*` and `*.spec.*` conventions and probes for a Pester suite — found no test source in any other ecosystem either. Neither search reaches a suite that is missing from the loaded workspace and carries no name either walk recognises, so this is 'no suite found by those two searches', not a verdict that the repository has none.
- D12 Dependency Hygiene — Not scored — 3 Maven/Gradle manifest(s) were read, stating a version for 62 dependency(ies) and leaving 24 to a parent or an imported BOM, but no build resolved the dependency graph, so the outdated signal was not established. NOT a finding that these dependencies are current or healthy.
- D14 License Compliance — Not scored — this repository's 62 declared JVM dependency coordinate(s) were read from its 3 Maven/Gradle manifest(s), but Maven Central could not be asked for the licence of 62 of them (HTTP 429 Too Many Requests from https://repo1.maven.org/maven2/io/insert-koin/koin-bom/4.1.1/koin-bom-4.1.1.pom), and a licence verdict over part of a dependency graph is not a licence verdict. Nothing is asserted about this repository's licensing in either direction.
- D16 Bus Factor — dormant codebase — no living knowledge left to concentrate
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.kt), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D30 Dependency Vulnerabilities — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Gradle build (build.gradle/build.gradle.kts) and a Gradle version catalogue — not scanned yet).
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Gradle build (build.gradle/build.gradle.kts) and a Gradle version catalogue — not scanned yet).
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- DM1 Aggregate boundaries — no aggregates detected — aggregate-boundary check not applicable
- DM10 One transaction, one aggregate — no repository writes detected — no operation to judge against the one-aggregate rule
- DM2 Strongly-typed ids — no id-bearing domain types detected — strongly-typed-id adoption not assessable
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- DM4 Rich vs anemic model — no data-bearing entities detected — rich-vs-anemic model not assessable
- DM5 Encapsulated state — no domain entities found — DM5 grades how entities protect their state, and this repository declares none
- DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
- DM9 Scattered domain decisions — not measured — scattered-decision detection needs expression-level symbol resolution: a comparison operand bound to the member it judges (arm one) and a construction bound to the type it produces (arm two). A Roslyn compilation carries both; arm two alone also runs on any frontend that declares whether a construction is produced or passed, and this target loaded neither
- ED2 Event/command shape — not scored — deciding whether a command has more than one competing handler requires resolving the call graph, and this analysis resolves a call's owner only where the receiver's type is written down in the source. Reported as guidance rather than measured
- ED5 Idempotency — Not assessed, and this one is on us: 4 command handler(s) or message consumer(s) were found here, but this check does not yet recognise persistence writes in this repository's language. Idempotency was neither confirmed nor ruled out — this is a limit of the analyzer, not a finding about your code.
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C#, F#, JavaScript/TypeScript, Dart, Ruby and Scala, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JVM, Swift source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (JaCoCo XML — the Gradle `jacocoTestReport` task) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X24 Document value interpolated into markup unescaped — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — This check asks whether log calls keep a message's values apart from its text, which needs a logger that can carry them as fields. This repository's Kotlin was read, and it logs through none that an assembled message defeats: Android's `Log` and Timber, java.util.logging and log4j-api-kotlin take one finished message (as log4net does in C#), or it makes no call through a named logger at all. Calls made through SLF4J, log4j 2 or kotlin-logging (`LoggerFactory.getLogger`, `KotlinLogging.logger {}`) would be judged.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 13 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No automated tests
Serious — 13 finding(s)
- Constructible in an invalid state: MovieDetailsEntity composeApp/src/commonMain/kotlin/com/cinemax/core/database/model/MovieDetailsEntity.kt:26
- Constructible in an invalid state: MovieEntity composeApp/src/commonMain/kotlin/com/cinemax/core/database/model/MovieEntity.kt:26
- Constructible in an invalid state: TvShowDetailsEntity composeApp/src/commonMain/kotlin/com/cinemax/core/database/model/TvShowDetailsEntity.kt:26
- Constructible in an invalid state: TvShowEntity composeApp/src/commonMain/kotlin/com/cinemax/core/database/model/TvShowEntity.kt:26
- MethodTooLong: DetailsKt.DetailsItem composeApp/src/commonMain/kotlin/com/cinemax/feature/details/component/Details.kt:61
- REDACTED
- REDACTED
- Duplicated block (29 lines × 2) composeApp/src/commonMain/kotlin/com/cinemax/core/data/paging/MovieRemoteMediator.kt:49
- Duplicated block (23 lines × 2) composeApp/src/commonMain/kotlin/com/cinemax/feature/home/HomeViewModel.kt:109
- Duplicated block (20 lines × 2) composeApp/src/commonMain/kotlin/com/cinemax/core/data/paging/SearchMoviePagingSource.kt:47
- Duplicated block (19 lines × 2) composeApp/src/commonMain/kotlin/com/cinemax/feature/home/HomeViewModel.kt:85
- Duplicated block (13 lines × 2) composeApp/src/commonMain/kotlin/com/cinemax/core/data/paging/MovieRemoteMediator.kt:98
- No structured logging
Minor — 83 finding(s)
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/core/ui/Container.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/core/navigation/CinemaxBottomBar.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/feature/details/component/Details.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/feature/search/SearchScreen.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/core/designsystem/theme/Type.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/core/ui/VerticalFeed.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/di/KoinModules.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/feature/home/component/UpcomingMovie.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/feature/details/component/CastAndCrew.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/feature/wishlist/WishlistScreen.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/feature/search/SearchViewModel.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/feature/details/DetailsScreen.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/core/ui/HorizontalFeed.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/feature/details/DetailsViewModel.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/feature/home/HomeScreen.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/core/ui/TabPager.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/core/ui/Error.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/core/data/paging/TvShowRemoteMediator.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/core/data/paging/MovieRemoteMediator.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/core/network/util/Constants.kt:1
- Orphaned file composeApp/build.gradle.kts:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/core/ui/mapper/GenreMapper.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/core/network/model/tvshow/NetworkTvShowDetails.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/feature/home/HomeViewModel.kt:1
- Orphaned file composeApp/src/commonMain/kotlin/com/cinemax/feature/home/component/Pager.kt:1
- No ADRs found
- Split composeApp
- Dormant codebase
- REDACTED
- REDACTED
- REDACTED
- No tests found
- No ADRs
- No SAST
- No changelog
- Benchmarks don't track allocations
- No allocation-aware idioms detected
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-6e0d88d82e4e47808dfb1bcb34d2d48a/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-6e0d88d82e4e47808dfb1bcb34d2d48a/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 12 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | none (dependency manifest found, not scanned for vulnerabilities here) | — | none (dependency manifest found, not scanned for vulnerabilities here): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Gradle build (build.gradle/build.gradle.kts) and a Gradle version catalogue — not scanned yet). | 0 | — |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | none (dependency manifest found, not scanned for vulnerabilities here) | — | none (dependency manifest found, not scanned for vulnerabilities here): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Gradle build (build.gradle/build.gradle.kts) and a Gradle version catalogue — not scanned yet). | 0 | — |