Executive summary
MoIbrahim15/Android-Kotlin-MVI-CleanArchitecture scores 39 out of 100 and is rated Weak, while five of its six lenses score higher still: Performance at 100, rated Exemplary, Code Health at 84, rated Strong, Architecture at 61, rated Adequate, and Maturity and Security and Compliance at 43, both rated Weak.
The score is lower than those five because the weakest lens counts most, and here that is Production Readiness, which scores 24 and is rated Critical. 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 39 to about 51.
One finding is critical, in Code Coverage.
Watchdog couldn't measure 12 dimensions in this code, among them Dependency Hygiene, ADR Quality and Internal API Consistency, so they are left out of the score. The product code is 5,562 lines, which would take an estimated 0.1 person-years, around €5,200, to rebuild.
If Production Readiness rose from 24 to 70, the lowest score rated Strong, the score would rise from 39 to about 51.
New since the last survey: 10 findings
- Data Protection · No data-protection/encryption cache/src/main/java/com/mi/mvi/cache/model/CachedUser.kt
- Slice cohesion · Cross-slice coupling: auth → src features/src/main/java/com/mi/mvi/features/auth/AuthActivity.kt
- Slice cohesion · Cross-slice coupling: auth → src features/src/main/java/com/mi/mvi/features/auth/SplashActivity.kt
- Slice cohesion · Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/MainActivity.kt
- Slice cohesion · Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/account/AccountViewModel.kt
- Slice cohesion · Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/account/BaseAccountFragment.kt
- Slice cohesion · Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/blog/BaseBlogFragment.kt
- Slice cohesion · Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/blog/viewmodel/BlogListItem.kt
- Slice cohesion · Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/blog/viewmodel/BlogViewModel.kt
- Slice cohesion · Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/create_blog/CreateBlogViewModel.kt
Rebuild cost: about €5,200 · Estimate
| Cost to rebuild | €1,700 to €8,700, for 29 to 91 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, 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 39. 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: 5,562 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 cache.model | 2 common.BottomNavController | 3 data.entity | 4 domain.datastate | 5 events | 6 features.auth.ForgetPasswordFragment.WebAppInterface | 7 remote.model | 8 cache.db | 9 cache.mapper | 10 common.BottomNavController.BackStack | 11 data.datasource.cache | 12 data.datasource.remote | 13 domain.datastate.DataState | 14 domain.datastate.MessageType | 15 domain.datastate.UIComponentType | 16 events.AccountEventState | 17 events.AuthEventState | 18 model | 19 remote.mapper | 20 remote.service | 21 cache.source | 22 domain.model | 23 remote.source | 24 data.mapper | 25 domain.viewstate | 26 mapper | 27 domain.repository | 28 common | 29 data.repository | 30 domain.usecase.account | 31 domain.usecase.auth | 32 domain.usecase.blogs | 33 base | 34 features.auth | 35 features.main.account | 36 features.main.blog.viewmodel | 37 features.main.create_blog | 38 features.main | 39 features.main.blog.viewmodel.BlogListItem | 40 features.main.blog |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 cache.model | ||||||||||||||||||||||||||||||||||||||||
| 2 common.BottomNavController | ||||||||||||||||||||||||||||||||||||||||
| 3 data.entity | ||||||||||||||||||||||||||||||||||||||||
| 4 domain.datastate | ||||||||||||||||||||||||||||||||||||||||
| 5 events | ||||||||||||||||||||||||||||||||||||||||
| 6 features.auth.ForgetPasswordFragment.WebAppInterface | ||||||||||||||||||||||||||||||||||||||||
| 7 remote.model | ||||||||||||||||||||||||||||||||||||||||
| 8 cache.db | 3 | |||||||||||||||||||||||||||||||||||||||
| 9 cache.mapper | 3 | 3 | ||||||||||||||||||||||||||||||||||||||
| 10 common.BottomNavController.BackStack | 1 | |||||||||||||||||||||||||||||||||||||||
| 11 data.datasource.cache | 4 | |||||||||||||||||||||||||||||||||||||||
| 12 data.datasource.remote | 6 | |||||||||||||||||||||||||||||||||||||||
| 13 domain.datastate.DataState | 5 | |||||||||||||||||||||||||||||||||||||||
| 14 domain.datastate.MessageType | 4 | |||||||||||||||||||||||||||||||||||||||
| 15 domain.datastate.UIComponentType | 5 | |||||||||||||||||||||||||||||||||||||||
| 16 events.AccountEventState | 4 | |||||||||||||||||||||||||||||||||||||||
| 17 events.AuthEventState | 4 | |||||||||||||||||||||||||||||||||||||||
| 18 model | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 remote.mapper | 4 | 4 | ||||||||||||||||||||||||||||||||||||||
| 20 remote.service | 6 | |||||||||||||||||||||||||||||||||||||||
| 21 cache.source | 3 | 3 | 3 | 3 | ||||||||||||||||||||||||||||||||||||
| 22 domain.model | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 remote.source | 6 | 3 | 6 | 3 | ||||||||||||||||||||||||||||||||||||
| 24 data.mapper | 4 | 4 | ||||||||||||||||||||||||||||||||||||||
| 25 domain.viewstate | 4 | |||||||||||||||||||||||||||||||||||||||
| 26 mapper | 3 | 5 | ||||||||||||||||||||||||||||||||||||||
| 27 domain.repository | 4 | 5 | 4 | |||||||||||||||||||||||||||||||||||||
| 28 common | 4 | 3 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 29 data.repository | 5 | 5 | 4 | 5 | 3 | 4 | 4 | |||||||||||||||||||||||||||||||||
| 30 domain.usecase.account | 3 | 4 | 3 | 3 | ||||||||||||||||||||||||||||||||||||
| 31 domain.usecase.auth | 3 | 3 | 3 | |||||||||||||||||||||||||||||||||||||
| 32 domain.usecase.blogs | 5 | 6 | 5 | 6 | ||||||||||||||||||||||||||||||||||||
| 33 base | 3 | 5 | ||||||||||||||||||||||||||||||||||||||
| 34 features.auth | 1 | 1 | 1 | 1 | 2 | 3 | 6 | |||||||||||||||||||||||||||||||||
| 35 features.main.account | 1 | 1 | 2 | 1 | 1 | 3 | 1 | 3 | 2 | |||||||||||||||||||||||||||||||
| 36 features.main.blog.viewmodel | 1 | 1 | 2 | 2 | 2 | 1 | 5 | 1 | ||||||||||||||||||||||||||||||||
| 37 features.main.create_blog | 1 | 1 | 2 | 1 | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||
| 38 features.main | 2 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 39 features.main.blog.viewmodel.BlogListItem | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 40 features.main.blog | 2 | 1 | 1 | 1 | 1 |
8→1 cache.db uses cache.model✕
- Connections
- 3 pairs of types, where a type in cache.db uses a type in cache.model.
- The types involved
com.mi.mvi.cache.db.AccountDao→com.mi.mvi.cache.model.CachedUsercom.mi.mvi.cache.db.AuthTokenDao→com.mi.mvi.cache.model.CachedTokencom.mi.mvi.cache.db.BlogPostDao→com.mi.mvi.cache.model.CachedBlogPost
- Direction
- cache.db uses cache.model, so a change to cache.model can break cache.db, while a change to cache.db can't break cache.model.
- Position
- Below the diagonal: cache.db uses a module listed above it, which is the healthy direction.
9→1 cache.mapper uses cache.model✕
- Connections
- 3 pairs of types, where a type in cache.mapper uses a type in cache.model.
- The types involved
com.mi.mvi.cache.mapper.BlogPostEntityMapper→com.mi.mvi.cache.model.CachedBlogPostcom.mi.mvi.cache.mapper.TokenEntityMapper→com.mi.mvi.cache.model.CachedTokencom.mi.mvi.cache.mapper.UserEntityMapper→com.mi.mvi.cache.model.CachedUser
- Direction
- cache.mapper uses cache.model, so a change to cache.model can break cache.mapper, while a change to cache.mapper can't break cache.model.
- Position
- Below the diagonal: cache.mapper uses a module listed above it, which is the healthy direction.
9→3 cache.mapper uses data.entity✕
- Connections
- 3 pairs of types, where a type in cache.mapper uses a type in data.entity.
- The types involved
com.mi.mvi.cache.mapper.BlogPostEntityMapper→com.mi.mvi.data.entity.BlogPostEntitycom.mi.mvi.cache.mapper.TokenEntityMapper→com.mi.mvi.data.entity.TokenEntitycom.mi.mvi.cache.mapper.UserEntityMapper→com.mi.mvi.data.entity.UserEntity
- Direction
- cache.mapper uses data.entity, so a change to data.entity can break cache.mapper, while a change to cache.mapper can't break data.entity.
- Position
- Below the diagonal: cache.mapper uses a module listed above it, which is the healthy direction.
10→2 common.BottomNavController.BackStack uses common.BottomNavController✕
- Connections
- 1 pair of types, where a type in common.BottomNavController.BackStack uses a type in common.BottomNavController.
- The types involved
com.mi.mvi.common.BottomNavController.BackStack.Companion→com.mi.mvi.common.BottomNavController.BackStack
- Direction
- common.BottomNavController.BackStack uses common.BottomNavController, so a change to common.BottomNavController can break common.BottomNavController.BackStack, while a change to common.BottomNavController.BackStack can't break common.BottomNavController.
- Position
- Below the diagonal: common.BottomNavController.BackStack uses a module listed above it, which is the healthy direction.
11→3 data.datasource.cache uses data.entity✕
- Connections
- 4 pairs of types, where a type in data.datasource.cache uses a type in data.entity.
- The types involved
com.mi.mvi.data.datasource.cache.AccountCacheDataSource→com.mi.mvi.data.entity.UserEntitycom.mi.mvi.data.datasource.cache.BlogCacheDataSource→com.mi.mvi.data.entity.BlogPostEntitycom.mi.mvi.data.datasource.cache.BlogCacheQueriesKt→com.mi.mvi.data.entity.BlogPostEntitycom.mi.mvi.data.datasource.cache.TokenCacheDataSource→com.mi.mvi.data.entity.TokenEntity
- Direction
- data.datasource.cache uses data.entity, so a change to data.entity can break data.datasource.cache, while a change to data.datasource.cache can't break data.entity.
- Position
- Below the diagonal: data.datasource.cache uses a module listed above it, which is the healthy direction.
12→3 data.datasource.remote uses data.entity✕
- Connections
- 6 pairs of types, where a type in data.datasource.remote uses a type in data.entity.
- The types involved
com.mi.mvi.data.datasource.remote.AccountRemoteDataSource→com.mi.mvi.data.entity.BaseEntitycom.mi.mvi.data.datasource.remote.AccountRemoteDataSource→com.mi.mvi.data.entity.UserEntitycom.mi.mvi.data.datasource.remote.AuthRemoteDataSource→com.mi.mvi.data.entity.UserEntitycom.mi.mvi.data.datasource.remote.BlogRemoteDataSource→com.mi.mvi.data.entity.BaseEntitycom.mi.mvi.data.datasource.remote.BlogRemoteDataSource→com.mi.mvi.data.entity.BlogPostEntitycom.mi.mvi.data.datasource.remote.BlogRemoteDataSource→com.mi.mvi.data.entity.BlogPostListEntity
- Direction
- data.datasource.remote uses data.entity, so a change to data.entity can break data.datasource.remote, while a change to data.datasource.remote can't break data.entity.
- Position
- Below the diagonal: data.datasource.remote uses a module listed above it, which is the healthy direction.
13→4 domain.datastate.DataState uses domain.datastate✕
- Connections
- 5 pairs of types, where a type in domain.datastate.DataState uses a type in domain.datastate.
- The types involved
com.mi.mvi.domain.datastate.DataState.ERROR→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.datastate.DataState.ERROR→com.mi.mvi.domain.datastate.StateMessagecom.mi.mvi.domain.datastate.DataState.LOADING→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.datastate.DataState.SUCCESS→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.datastate.DataState.SUCCESS→com.mi.mvi.domain.datastate.StateMessage
- Direction
- domain.datastate.DataState uses domain.datastate, so a change to domain.datastate can break domain.datastate.DataState, while a change to domain.datastate.DataState can't break domain.datastate.
- Position
- Below the diagonal: domain.datastate.DataState uses a module listed above it, which is the healthy direction.
14→4 domain.datastate.MessageType uses domain.datastate✕
- Connections
- 4 pairs of types, where a type in domain.datastate.MessageType uses a type in domain.datastate.
- The types involved
com.mi.mvi.domain.datastate.MessageType.ERROR→com.mi.mvi.domain.datastate.MessageTypecom.mi.mvi.domain.datastate.MessageType.INFO→com.mi.mvi.domain.datastate.MessageTypecom.mi.mvi.domain.datastate.MessageType.NONE→com.mi.mvi.domain.datastate.MessageTypecom.mi.mvi.domain.datastate.MessageType.SUCCESS→com.mi.mvi.domain.datastate.MessageType
- Direction
- domain.datastate.MessageType uses domain.datastate, so a change to domain.datastate can break domain.datastate.MessageType, while a change to domain.datastate.MessageType can't break domain.datastate.
- Position
- Below the diagonal: domain.datastate.MessageType uses a module listed above it, which is the healthy direction.
15→4 domain.datastate.UIComponentType uses domain.datastate✕
- Connections
- 5 pairs of types, where a type in domain.datastate.UIComponentType uses a type in domain.datastate.
- The types involved
com.mi.mvi.domain.datastate.UIComponentType.AreYouSureDialog→com.mi.mvi.domain.datastate.AreYouSureCallBackcom.mi.mvi.domain.datastate.UIComponentType.AreYouSureDialog→com.mi.mvi.domain.datastate.UIComponentTypecom.mi.mvi.domain.datastate.UIComponentType.DIALOG→com.mi.mvi.domain.datastate.UIComponentTypecom.mi.mvi.domain.datastate.UIComponentType.NONE→com.mi.mvi.domain.datastate.UIComponentTypecom.mi.mvi.domain.datastate.UIComponentType.TOAST→com.mi.mvi.domain.datastate.UIComponentType
- Direction
- domain.datastate.UIComponentType uses domain.datastate, so a change to domain.datastate can break domain.datastate.UIComponentType, while a change to domain.datastate.UIComponentType can't break domain.datastate.
- Position
- Below the diagonal: domain.datastate.UIComponentType uses a module listed above it, which is the healthy direction.
16→5 events.AccountEventState uses events✕
- Connections
- 4 pairs of types, where a type in events.AccountEventState uses a type in events.
- The types involved
com.mi.mvi.events.AccountEventState.ChangePasswordEvent→com.mi.mvi.events.AccountEventStatecom.mi.mvi.events.AccountEventState.GetAccountEvent→com.mi.mvi.events.AccountEventStatecom.mi.mvi.events.AccountEventState.None→com.mi.mvi.events.AccountEventStatecom.mi.mvi.events.AccountEventState.UpdateAccountEvent→com.mi.mvi.events.AccountEventState
- Direction
- events.AccountEventState uses events, so a change to events can break events.AccountEventState, while a change to events.AccountEventState can't break events.
- Position
- Below the diagonal: events.AccountEventState uses a module listed above it, which is the healthy direction.
17→5 events.AuthEventState uses events✕
- Connections
- 4 pairs of types, where a type in events.AuthEventState uses a type in events.
- The types involved
com.mi.mvi.events.AuthEventState.CheckTokenEvent→com.mi.mvi.events.AuthEventStatecom.mi.mvi.events.AuthEventState.LoginEvent→com.mi.mvi.events.AuthEventStatecom.mi.mvi.events.AuthEventState.None→com.mi.mvi.events.AuthEventStatecom.mi.mvi.events.AuthEventState.RegisterEvent→com.mi.mvi.events.AuthEventState
- Direction
- events.AuthEventState uses events, so a change to events can break events.AuthEventState, while a change to events.AuthEventState can't break events.
- Position
- Below the diagonal: events.AuthEventState uses a module listed above it, which is the healthy direction.
18→22 model uses domain.model part of a loop✕
- Connections
- 1 pair of types, where a type in model uses a type in domain.model.
- The types involved
com.mi.mvi.model.BlogPostListView→com.mi.mvi.domain.model.BlogPostView
- Direction
- model uses domain.model, so a change to domain.model can break model, while a change to model can't break 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.
19→3 remote.mapper uses data.entity✕
- Connections
- 4 pairs of types, where a type in remote.mapper uses a type in data.entity.
- The types involved
com.mi.mvi.remote.mapper.BaseEntityMapper→com.mi.mvi.data.entity.BaseEntitycom.mi.mvi.remote.mapper.BlogPostEntityMapper→com.mi.mvi.data.entity.BlogPostEntitycom.mi.mvi.remote.mapper.BlogPostListEntityMapper→com.mi.mvi.data.entity.BlogPostListEntitycom.mi.mvi.remote.mapper.UserEntityMapper→com.mi.mvi.data.entity.UserEntity
- Direction
- remote.mapper uses data.entity, so a change to data.entity can break remote.mapper, while a change to remote.mapper can't break data.entity.
- Position
- Below the diagonal: remote.mapper uses a module listed above it, which is the healthy direction.
19→7 remote.mapper uses remote.model✕
- Connections
- 4 pairs of types, where a type in remote.mapper uses a type in remote.model.
- The types involved
com.mi.mvi.remote.mapper.BaseEntityMapper→com.mi.mvi.remote.model.BaseRemotecom.mi.mvi.remote.mapper.BlogPostEntityMapper→com.mi.mvi.remote.model.RemoteBlogPostcom.mi.mvi.remote.mapper.BlogPostListEntityMapper→com.mi.mvi.remote.model.RemoteBlogPostListcom.mi.mvi.remote.mapper.UserEntityMapper→com.mi.mvi.remote.model.RemoteUser
- Direction
- remote.mapper uses remote.model, so a change to remote.model can break remote.mapper, while a change to remote.mapper can't break remote.model.
- Position
- Below the diagonal: remote.mapper uses a module listed above it, which is the healthy direction.
20→7 remote.service uses remote.model✕
- Connections
- 6 pairs of types, where a type in remote.service uses a type in remote.model.
- The types involved
com.mi.mvi.remote.service.AccountAPIService→com.mi.mvi.remote.model.BaseRemotecom.mi.mvi.remote.service.AccountAPIService→com.mi.mvi.remote.model.RemoteUsercom.mi.mvi.remote.service.AuthAPIService→com.mi.mvi.remote.model.RemoteUsercom.mi.mvi.remote.service.BlogAPIService→com.mi.mvi.remote.model.BaseRemotecom.mi.mvi.remote.service.BlogAPIService→com.mi.mvi.remote.model.RemoteBlogPostcom.mi.mvi.remote.service.BlogAPIService→com.mi.mvi.remote.model.RemoteBlogPostList
- Direction
- remote.service uses remote.model, so a change to remote.model can break remote.service, while a change to remote.service can't break remote.model.
- Position
- Below the diagonal: remote.service uses a module listed above it, which is the healthy direction.
21→3 cache.source uses data.entity✕
- Connections
- 3 pairs of types, where a type in cache.source uses a type in data.entity.
- The types involved
com.mi.mvi.cache.source.AccountCacheDataSourceImpl→com.mi.mvi.data.entity.UserEntitycom.mi.mvi.cache.source.BlogCacheDataSourceImpl→com.mi.mvi.data.entity.BlogPostEntitycom.mi.mvi.cache.source.TokenCacheDataSourceImpl→com.mi.mvi.data.entity.TokenEntity
- Direction
- cache.source uses data.entity, so a change to data.entity can break cache.source, while a change to cache.source can't break data.entity.
- Position
- Below the diagonal: cache.source uses a module listed above it, which is the healthy direction.
21→8 cache.source uses cache.db✕
- Connections
- 3 pairs of types, where a type in cache.source uses a type in cache.db.
- The types involved
com.mi.mvi.cache.source.AccountCacheDataSourceImpl→com.mi.mvi.cache.db.AccountDaocom.mi.mvi.cache.source.BlogCacheDataSourceImpl→com.mi.mvi.cache.db.BlogPostDaocom.mi.mvi.cache.source.TokenCacheDataSourceImpl→com.mi.mvi.cache.db.AuthTokenDao
- Direction
- cache.source uses cache.db, so a change to cache.db can break cache.source, while a change to cache.source can't break cache.db.
- Position
- Below the diagonal: cache.source uses a module listed above it, which is the healthy direction.
21→9 cache.source uses cache.mapper✕
- Connections
- 3 pairs of types, where a type in cache.source uses a type in cache.mapper.
- The types involved
com.mi.mvi.cache.source.AccountCacheDataSourceImpl→com.mi.mvi.cache.mapper.UserEntityMappercom.mi.mvi.cache.source.BlogCacheDataSourceImpl→com.mi.mvi.cache.mapper.BlogPostEntityMappercom.mi.mvi.cache.source.TokenCacheDataSourceImpl→com.mi.mvi.cache.mapper.TokenEntityMapper
- Direction
- cache.source uses cache.mapper, so a change to cache.mapper can break cache.source, while a change to cache.source can't break cache.mapper.
- Position
- Below the diagonal: cache.source uses a module listed above it, which is the healthy direction.
21→11 cache.source uses data.datasource.cache✕
- Connections
- 3 pairs of types, where a type in cache.source uses a type in data.datasource.cache.
- The types involved
com.mi.mvi.cache.source.AccountCacheDataSourceImpl→com.mi.mvi.data.datasource.cache.AccountCacheDataSourcecom.mi.mvi.cache.source.BlogCacheDataSourceImpl→com.mi.mvi.data.datasource.cache.BlogCacheDataSourcecom.mi.mvi.cache.source.TokenCacheDataSourceImpl→com.mi.mvi.data.datasource.cache.TokenCacheDataSource
- Direction
- cache.source uses data.datasource.cache, so a change to data.datasource.cache can break cache.source, while a change to cache.source can't break data.datasource.cache.
- Position
- Below the diagonal: cache.source uses a module listed above it, which is the healthy direction.
22→18 domain.model uses model✕
- Connections
- 1 pair of types, where a type in domain.model uses a type in model.
- The types involved
com.mi.mvi.domain.model.BlogPostView→com.mi.mvi.model.BaseModelView
- Direction
- domain.model uses model, so a change to model can break domain.model, while a change to domain.model can't break model.
- Position
- Below the diagonal: domain.model uses a module listed above it, which is the healthy direction.
23→3 remote.source uses data.entity✕
- Connections
- 6 pairs of types, where a type in remote.source uses a type in data.entity.
- The types involved
com.mi.mvi.remote.source.AccountRemoteDataSourceImpl→com.mi.mvi.data.entity.BaseEntitycom.mi.mvi.remote.source.AccountRemoteDataSourceImpl→com.mi.mvi.data.entity.UserEntitycom.mi.mvi.remote.source.AuthRemoteDataSourceImpl→com.mi.mvi.data.entity.UserEntitycom.mi.mvi.remote.source.BlogRemoteDataSourceImpl→com.mi.mvi.data.entity.BaseEntitycom.mi.mvi.remote.source.BlogRemoteDataSourceImpl→com.mi.mvi.data.entity.BlogPostEntitycom.mi.mvi.remote.source.BlogRemoteDataSourceImpl→com.mi.mvi.data.entity.BlogPostListEntity
- Direction
- remote.source uses data.entity, so a change to data.entity can break remote.source, while a change to remote.source can't break data.entity.
- Position
- Below the diagonal: remote.source uses a module listed above it, which is the healthy direction.
23→12 remote.source uses data.datasource.remote✕
- Connections
- 3 pairs of types, where a type in remote.source uses a type in data.datasource.remote.
- The types involved
com.mi.mvi.remote.source.AccountRemoteDataSourceImpl→com.mi.mvi.data.datasource.remote.AccountRemoteDataSourcecom.mi.mvi.remote.source.AuthRemoteDataSourceImpl→com.mi.mvi.data.datasource.remote.AuthRemoteDataSourcecom.mi.mvi.remote.source.BlogRemoteDataSourceImpl→com.mi.mvi.data.datasource.remote.BlogRemoteDataSource
- Direction
- remote.source uses data.datasource.remote, so a change to data.datasource.remote can break remote.source, while a change to remote.source can't break data.datasource.remote.
- Position
- Below the diagonal: remote.source uses a module listed above it, which is the healthy direction.
23→19 remote.source uses remote.mapper✕
- Connections
- 6 pairs of types, where a type in remote.source uses a type in remote.mapper.
- The types involved
com.mi.mvi.remote.source.AccountRemoteDataSourceImpl→com.mi.mvi.remote.mapper.BaseEntityMappercom.mi.mvi.remote.source.AccountRemoteDataSourceImpl→com.mi.mvi.remote.mapper.UserEntityMappercom.mi.mvi.remote.source.AuthRemoteDataSourceImpl→com.mi.mvi.remote.mapper.UserEntityMappercom.mi.mvi.remote.source.BlogRemoteDataSourceImpl→com.mi.mvi.remote.mapper.BaseEntityMappercom.mi.mvi.remote.source.BlogRemoteDataSourceImpl→com.mi.mvi.remote.mapper.BlogPostEntityMappercom.mi.mvi.remote.source.BlogRemoteDataSourceImpl→com.mi.mvi.remote.mapper.BlogPostListEntityMapper
- Direction
- remote.source uses remote.mapper, so a change to remote.mapper can break remote.source, while a change to remote.source can't break remote.mapper.
- Position
- Below the diagonal: remote.source uses a module listed above it, which is the healthy direction.
23→20 remote.source uses remote.service✕
- Connections
- 3 pairs of types, where a type in remote.source uses a type in remote.service.
- The types involved
com.mi.mvi.remote.source.AccountRemoteDataSourceImpl→com.mi.mvi.remote.service.AccountAPIServicecom.mi.mvi.remote.source.AuthRemoteDataSourceImpl→com.mi.mvi.remote.service.AuthAPIServicecom.mi.mvi.remote.source.BlogRemoteDataSourceImpl→com.mi.mvi.remote.service.BlogAPIService
- Direction
- remote.source uses remote.service, so a change to remote.service can break remote.source, while a change to remote.source can't break remote.service.
- Position
- Below the diagonal: remote.source uses a module listed above it, which is the healthy direction.
24→3 data.mapper uses data.entity✕
- Connections
- 4 pairs of types, where a type in data.mapper uses a type in data.entity.
- The types involved
com.mi.mvi.data.mapper.BaseMapper→com.mi.mvi.data.entity.BaseEntitycom.mi.mvi.data.mapper.BlogPostMapper→com.mi.mvi.data.entity.BlogPostEntitycom.mi.mvi.data.mapper.TokenMapper→com.mi.mvi.data.entity.TokenEntitycom.mi.mvi.data.mapper.UserMapper→com.mi.mvi.data.entity.UserEntity
- Direction
- data.mapper uses data.entity, so a change to data.entity can break data.mapper, while a change to data.mapper can't break data.entity.
- Position
- Below the diagonal: data.mapper uses a module listed above it, which is the healthy direction.
24→22 data.mapper uses domain.model✕
- Connections
- 4 pairs of types, where a type in data.mapper uses a type in domain.model.
- The types involved
com.mi.mvi.data.mapper.BaseMapper→com.mi.mvi.domain.model.BaseModelcom.mi.mvi.data.mapper.BlogPostMapper→com.mi.mvi.domain.model.BlogPostcom.mi.mvi.data.mapper.TokenMapper→com.mi.mvi.domain.model.Tokencom.mi.mvi.data.mapper.UserMapper→com.mi.mvi.domain.model.User
- Direction
- data.mapper uses domain.model, so a change to domain.model can break data.mapper, while a change to data.mapper can't break domain.model.
- Position
- Below the diagonal: data.mapper uses a module listed above it, which is the healthy direction.
25→22 domain.viewstate uses domain.model✕
- Connections
- 4 pairs of types, where a type in domain.viewstate uses a type in domain.model.
- The types involved
com.mi.mvi.domain.viewstate.AccountViewState→com.mi.mvi.domain.model.Usercom.mi.mvi.domain.viewstate.AuthViewState→com.mi.mvi.domain.model.Tokencom.mi.mvi.domain.viewstate.BlogFields→com.mi.mvi.domain.model.BlogPostcom.mi.mvi.domain.viewstate.ViewBlogFields→com.mi.mvi.domain.model.BlogPost
- Direction
- domain.viewstate uses domain.model, so a change to domain.model can break domain.viewstate, while a change to domain.viewstate can't break domain.model.
- Position
- Below the diagonal: domain.viewstate uses a module listed above it, which is the healthy direction.
26→18 mapper uses model✕
- Connections
- 3 pairs of types, where a type in mapper uses a type in model.
- The types involved
com.mi.mvi.mapper.BaseMapper→com.mi.mvi.model.BaseModelViewcom.mi.mvi.mapper.TokenMapper→com.mi.mvi.model.TokenViewcom.mi.mvi.mapper.UserMapper→com.mi.mvi.model.UserView
- Direction
- mapper uses model, so a change to model can break mapper, while a change to mapper can't break model.
- Position
- Below the diagonal: mapper uses a module listed above it, which is the healthy direction.
26→22 mapper uses domain.model✕
- Connections
- 5 pairs of types, where a type in mapper uses a type in domain.model.
- The types involved
com.mi.mvi.mapper.BaseMapper→com.mi.mvi.domain.model.BaseModelcom.mi.mvi.mapper.BlogPostMapper→com.mi.mvi.domain.model.BlogPostcom.mi.mvi.mapper.BlogPostMapper→com.mi.mvi.domain.model.BlogPostViewcom.mi.mvi.mapper.TokenMapper→com.mi.mvi.domain.model.Tokencom.mi.mvi.mapper.UserMapper→com.mi.mvi.domain.model.User
- Direction
- mapper uses domain.model, so a change to domain.model can break mapper, while a change to mapper can't break domain.model.
- Position
- Below the diagonal: mapper uses a module listed above it, which is the healthy direction.
27→4 domain.repository uses domain.datastate✕
- Connections
- 4 pairs of types, where a type in domain.repository uses a type in domain.datastate.
- The types involved
com.mi.mvi.domain.repository.AccountRepository→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.repository.AuthRepository→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.repository.BlogRepository→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.repository.CreateBlogRepository→com.mi.mvi.domain.datastate.DataState
- Direction
- domain.repository uses domain.datastate, so a change to domain.datastate can break domain.repository, while a change to domain.repository can't break domain.datastate.
- Position
- Below the diagonal: domain.repository uses a module listed above it, which is the healthy direction.
27→22 domain.repository uses domain.model✕
- Connections
- 5 pairs of types, where a type in domain.repository uses a type in domain.model.
- The types involved
com.mi.mvi.domain.repository.AccountRepository→com.mi.mvi.domain.model.Tokencom.mi.mvi.domain.repository.AccountRepository→com.mi.mvi.domain.model.Usercom.mi.mvi.domain.repository.BlogRepository→com.mi.mvi.domain.model.BlogPostcom.mi.mvi.domain.repository.BlogRepository→com.mi.mvi.domain.model.Tokencom.mi.mvi.domain.repository.CreateBlogRepository→com.mi.mvi.domain.model.Token
- Direction
- domain.repository uses domain.model, so a change to domain.model can break domain.repository, while a change to domain.repository can't break domain.model.
- Position
- Below the diagonal: domain.repository uses a module listed above it, which is the healthy direction.
27→25 domain.repository uses domain.viewstate✕
- Connections
- 4 pairs of types, where a type in domain.repository uses a type in domain.viewstate.
- The types involved
com.mi.mvi.domain.repository.AccountRepository→com.mi.mvi.domain.viewstate.AccountViewStatecom.mi.mvi.domain.repository.AuthRepository→com.mi.mvi.domain.viewstate.AuthViewStatecom.mi.mvi.domain.repository.BlogRepository→com.mi.mvi.domain.viewstate.BlogViewStatecom.mi.mvi.domain.repository.CreateBlogRepository→com.mi.mvi.domain.viewstate.CreateBlogViewState
- Direction
- domain.repository uses domain.viewstate, so a change to domain.viewstate can break domain.repository, while a change to domain.repository can't break domain.viewstate.
- Position
- Below the diagonal: domain.repository uses a module listed above it, which is the healthy direction.
28→2 common uses common.BottomNavController✕
- Connections
- 4 pairs of types, where a type in common uses a type in common.BottomNavController.
- The types involved
com.mi.mvi.common.BottomNavController→com.mi.mvi.common.BottomNavController.BackStackcom.mi.mvi.common.BottomNavController→com.mi.mvi.common.BottomNavController.OnNavigationGraphChangedcom.mi.mvi.common.BottomNavController→com.mi.mvi.common.BottomNavController.OnNavigationItemChangedcom.mi.mvi.common.BottomNavControllerKt→com.mi.mvi.common.BottomNavController.OnNavigationReselectedListener
- Direction
- common uses common.BottomNavController, so a change to common.BottomNavController can break common, while a change to common can't break common.BottomNavController.
- Position
- Below the diagonal: common uses a module listed above it, which is the healthy direction.
28→4 common uses domain.datastate✕
- Connections
- 3 pairs of types, where a type in common uses a type in domain.datastate.
- The types involved
com.mi.mvi.common.DataStateChangeListener→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.common.UICommunicationListener→com.mi.mvi.domain.datastate.StateMessagecom.mi.mvi.common.ViewExtensionsKt→com.mi.mvi.domain.datastate.AreYouSureCallBack
- Direction
- common uses domain.datastate, so a change to domain.datastate can break common, while a change to common can't break domain.datastate.
- Position
- Below the diagonal: common uses a module listed above it, which is the healthy direction.
28→18 common uses model✕
- Connections
- 1 pair of types, where a type in common uses a type in model.
- The types involved
com.mi.mvi.common.SessionManager→com.mi.mvi.model.TokenView
- Direction
- common uses model, so a change to model can break common, while a change to common can't break model.
- Position
- Below the diagonal: common uses a module listed above it, which is the healthy direction.
28→27 common uses domain.repository✕
- Connections
- 1 pair of types, where a type in common uses a type in domain.repository.
- The types involved
com.mi.mvi.common.SessionManager→com.mi.mvi.domain.repository.AuthRepository
- Direction
- common uses domain.repository, so a change to domain.repository can break common, while a change to common can't break domain.repository.
- Position
- Below the diagonal: common uses a module listed above it, which is the healthy direction.
29→4 data.repository uses domain.datastate✕
- Connections
- 5 pairs of types, where a type in data.repository uses a type in domain.datastate.
- The types involved
com.mi.mvi.data.repository.AccountRepositoryImpl→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.data.repository.AuthRepositoryImpl→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.data.repository.BlogRepositoryImpl→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.data.repository.CreateBlogRepositoryImpl→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.data.repository.NetworkBoundResource→com.mi.mvi.domain.datastate.DataState
- Direction
- data.repository uses domain.datastate, so a change to domain.datastate can break data.repository, while a change to data.repository can't break domain.datastate.
- Position
- Below the diagonal: data.repository uses a module listed above it, which is the healthy direction.
29→11 data.repository uses data.datasource.cache✕
- Connections
- 5 pairs of types, where a type in data.repository uses a type in data.datasource.cache.
- The types involved
com.mi.mvi.data.repository.AccountRepositoryImpl→com.mi.mvi.data.datasource.cache.AccountCacheDataSourcecom.mi.mvi.data.repository.AuthRepositoryImpl→com.mi.mvi.data.datasource.cache.AccountCacheDataSourcecom.mi.mvi.data.repository.AuthRepositoryImpl→com.mi.mvi.data.datasource.cache.TokenCacheDataSourcecom.mi.mvi.data.repository.BlogRepositoryImpl→com.mi.mvi.data.datasource.cache.BlogCacheDataSourcecom.mi.mvi.data.repository.CreateBlogRepositoryImpl→com.mi.mvi.data.datasource.cache.BlogCacheDataSource
- Direction
- data.repository uses data.datasource.cache, so a change to data.datasource.cache can break data.repository, while a change to data.repository can't break data.datasource.cache.
- Position
- Below the diagonal: data.repository uses a module listed above it, which is the healthy direction.
29→12 data.repository uses data.datasource.remote✕
- Connections
- 4 pairs of types, where a type in data.repository uses a type in data.datasource.remote.
- The types involved
com.mi.mvi.data.repository.AccountRepositoryImpl→com.mi.mvi.data.datasource.remote.AccountRemoteDataSourcecom.mi.mvi.data.repository.AuthRepositoryImpl→com.mi.mvi.data.datasource.remote.AuthRemoteDataSourcecom.mi.mvi.data.repository.BlogRepositoryImpl→com.mi.mvi.data.datasource.remote.BlogRemoteDataSourcecom.mi.mvi.data.repository.CreateBlogRepositoryImpl→com.mi.mvi.data.datasource.remote.BlogRemoteDataSource
- Direction
- data.repository uses data.datasource.remote, so a change to data.datasource.remote can break data.repository, while a change to data.repository can't break data.datasource.remote.
- Position
- Below the diagonal: data.repository uses a module listed above it, which is the healthy direction.
29→22 data.repository uses domain.model✕
- Connections
- 5 pairs of types, where a type in data.repository uses a type in domain.model.
- The types involved
com.mi.mvi.data.repository.AccountRepositoryImpl→com.mi.mvi.domain.model.Tokencom.mi.mvi.data.repository.AccountRepositoryImpl→com.mi.mvi.domain.model.Usercom.mi.mvi.data.repository.BlogRepositoryImpl→com.mi.mvi.domain.model.BlogPostcom.mi.mvi.data.repository.BlogRepositoryImpl→com.mi.mvi.domain.model.Tokencom.mi.mvi.data.repository.CreateBlogRepositoryImpl→com.mi.mvi.domain.model.Token
- Direction
- data.repository uses domain.model, so a change to domain.model can break data.repository, while a change to data.repository can't break domain.model.
- Position
- Below the diagonal: data.repository uses a module listed above it, which is the healthy direction.
29→24 data.repository uses data.mapper✕
- Connections
- 3 pairs of types, where a type in data.repository uses a type in data.mapper.
- The types involved
com.mi.mvi.data.repository.AccountRepositoryImpl→com.mi.mvi.data.mapper.UserMappercom.mi.mvi.data.repository.AuthRepositoryImpl→com.mi.mvi.data.mapper.TokenMappercom.mi.mvi.data.repository.BlogRepositoryImpl→com.mi.mvi.data.mapper.BlogPostMapper
- Direction
- data.repository uses data.mapper, so a change to data.mapper can break data.repository, while a change to data.repository can't break data.mapper.
- Position
- Below the diagonal: data.repository uses a module listed above it, which is the healthy direction.
29→25 data.repository uses domain.viewstate✕
- Connections
- 4 pairs of types, where a type in data.repository uses a type in domain.viewstate.
- The types involved
com.mi.mvi.data.repository.AccountRepositoryImpl→com.mi.mvi.domain.viewstate.AccountViewStatecom.mi.mvi.data.repository.AuthRepositoryImpl→com.mi.mvi.domain.viewstate.AuthViewStatecom.mi.mvi.data.repository.BlogRepositoryImpl→com.mi.mvi.domain.viewstate.BlogViewStatecom.mi.mvi.data.repository.CreateBlogRepositoryImpl→com.mi.mvi.domain.viewstate.CreateBlogViewState
- Direction
- data.repository uses domain.viewstate, so a change to domain.viewstate can break data.repository, while a change to data.repository can't break domain.viewstate.
- Position
- Below the diagonal: data.repository uses a module listed above it, which is the healthy direction.
29→27 data.repository uses domain.repository✕
- Connections
- 4 pairs of types, where a type in data.repository uses a type in domain.repository.
- The types involved
com.mi.mvi.data.repository.AccountRepositoryImpl→com.mi.mvi.domain.repository.AccountRepositorycom.mi.mvi.data.repository.AuthRepositoryImpl→com.mi.mvi.domain.repository.AuthRepositorycom.mi.mvi.data.repository.BlogRepositoryImpl→com.mi.mvi.domain.repository.BlogRepositorycom.mi.mvi.data.repository.CreateBlogRepositoryImpl→com.mi.mvi.domain.repository.CreateBlogRepository
- Direction
- data.repository uses domain.repository, so a change to domain.repository can break data.repository, while a change to data.repository can't break domain.repository.
- Position
- Below the diagonal: data.repository uses a module listed above it, which is the healthy direction.
30→4 domain.usecase.account uses domain.datastate✕
- Connections
- 3 pairs of types, where a type in domain.usecase.account uses a type in domain.datastate.
- The types involved
com.mi.mvi.domain.usecase.account.ChangePasswordUseCase→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.usecase.account.GetAccountUseCase→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.usecase.account.UpdateAccountUseCase→com.mi.mvi.domain.datastate.DataState
- Direction
- domain.usecase.account uses domain.datastate, so a change to domain.datastate can break domain.usecase.account, while a change to domain.usecase.account can't break domain.datastate.
- Position
- Below the diagonal: domain.usecase.account uses a module listed above it, which is the healthy direction.
30→22 domain.usecase.account uses domain.model✕
- Connections
- 4 pairs of types, where a type in domain.usecase.account uses a type in domain.model.
- The types involved
com.mi.mvi.domain.usecase.account.ChangePasswordUseCase→com.mi.mvi.domain.model.Tokencom.mi.mvi.domain.usecase.account.GetAccountUseCase→com.mi.mvi.domain.model.Tokencom.mi.mvi.domain.usecase.account.UpdateAccountUseCase→com.mi.mvi.domain.model.Tokencom.mi.mvi.domain.usecase.account.UpdateAccountUseCase→com.mi.mvi.domain.model.User
- Direction
- domain.usecase.account uses domain.model, so a change to domain.model can break domain.usecase.account, while a change to domain.usecase.account can't break domain.model.
- Position
- Below the diagonal: domain.usecase.account uses a module listed above it, which is the healthy direction.
30→25 domain.usecase.account uses domain.viewstate✕
- Connections
- 3 pairs of types, where a type in domain.usecase.account uses a type in domain.viewstate.
- The types involved
com.mi.mvi.domain.usecase.account.ChangePasswordUseCase→com.mi.mvi.domain.viewstate.AccountViewStatecom.mi.mvi.domain.usecase.account.GetAccountUseCase→com.mi.mvi.domain.viewstate.AccountViewStatecom.mi.mvi.domain.usecase.account.UpdateAccountUseCase→com.mi.mvi.domain.viewstate.AccountViewState
- Direction
- domain.usecase.account uses domain.viewstate, so a change to domain.viewstate can break domain.usecase.account, while a change to domain.usecase.account can't break domain.viewstate.
- Position
- Below the diagonal: domain.usecase.account uses a module listed above it, which is the healthy direction.
30→27 domain.usecase.account uses domain.repository✕
- Connections
- 3 pairs of types, where a type in domain.usecase.account uses a type in domain.repository.
- The types involved
com.mi.mvi.domain.usecase.account.ChangePasswordUseCase→com.mi.mvi.domain.repository.AccountRepositorycom.mi.mvi.domain.usecase.account.GetAccountUseCase→com.mi.mvi.domain.repository.AccountRepositorycom.mi.mvi.domain.usecase.account.UpdateAccountUseCase→com.mi.mvi.domain.repository.AccountRepository
- Direction
- domain.usecase.account uses domain.repository, so a change to domain.repository can break domain.usecase.account, while a change to domain.usecase.account can't break domain.repository.
- Position
- Below the diagonal: domain.usecase.account uses a module listed above it, which is the healthy direction.
31→4 domain.usecase.auth uses domain.datastate✕
- Connections
- 3 pairs of types, where a type in domain.usecase.auth uses a type in domain.datastate.
- The types involved
com.mi.mvi.domain.usecase.auth.CheckTokenUseCase→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.usecase.auth.LoginUseCase→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.usecase.auth.RegisterUseCase→com.mi.mvi.domain.datastate.DataState
- Direction
- domain.usecase.auth uses domain.datastate, so a change to domain.datastate can break domain.usecase.auth, while a change to domain.usecase.auth can't break domain.datastate.
- Position
- Below the diagonal: domain.usecase.auth uses a module listed above it, which is the healthy direction.
31→25 domain.usecase.auth uses domain.viewstate✕
- Connections
- 3 pairs of types, where a type in domain.usecase.auth uses a type in domain.viewstate.
- The types involved
com.mi.mvi.domain.usecase.auth.CheckTokenUseCase→com.mi.mvi.domain.viewstate.AuthViewStatecom.mi.mvi.domain.usecase.auth.LoginUseCase→com.mi.mvi.domain.viewstate.AuthViewStatecom.mi.mvi.domain.usecase.auth.RegisterUseCase→com.mi.mvi.domain.viewstate.AuthViewState
- Direction
- domain.usecase.auth uses domain.viewstate, so a change to domain.viewstate can break domain.usecase.auth, while a change to domain.usecase.auth can't break domain.viewstate.
- Position
- Below the diagonal: domain.usecase.auth uses a module listed above it, which is the healthy direction.
31→27 domain.usecase.auth uses domain.repository✕
- Connections
- 3 pairs of types, where a type in domain.usecase.auth uses a type in domain.repository.
- The types involved
com.mi.mvi.domain.usecase.auth.CheckTokenUseCase→com.mi.mvi.domain.repository.AuthRepositorycom.mi.mvi.domain.usecase.auth.LoginUseCase→com.mi.mvi.domain.repository.AuthRepositorycom.mi.mvi.domain.usecase.auth.RegisterUseCase→com.mi.mvi.domain.repository.AuthRepository
- Direction
- domain.usecase.auth uses domain.repository, so a change to domain.repository can break domain.usecase.auth, while a change to domain.usecase.auth can't break domain.repository.
- Position
- Below the diagonal: domain.usecase.auth uses a module listed above it, which is the healthy direction.
32→4 domain.usecase.blogs uses domain.datastate✕
- Connections
- 5 pairs of types, where a type in domain.usecase.blogs uses a type in domain.datastate.
- The types involved
com.mi.mvi.domain.usecase.blogs.CreateBlogUseCase→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.usecase.blogs.DeleteBlogPostUseCase→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.usecase.blogs.IsAuthorBlogPostUseCase→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.usecase.blogs.SearchBlogUseCase→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.domain.usecase.blogs.UpdateBlogPostUseCase→com.mi.mvi.domain.datastate.DataState
- Direction
- domain.usecase.blogs uses domain.datastate, so a change to domain.datastate can break domain.usecase.blogs, while a change to domain.usecase.blogs can't break domain.datastate.
- Position
- Below the diagonal: domain.usecase.blogs uses a module listed above it, which is the healthy direction.
32→22 domain.usecase.blogs uses domain.model✕
- Connections
- 6 pairs of types, where a type in domain.usecase.blogs uses a type in domain.model.
- The types involved
com.mi.mvi.domain.usecase.blogs.CreateBlogUseCase→com.mi.mvi.domain.model.Tokencom.mi.mvi.domain.usecase.blogs.DeleteBlogPostUseCase→com.mi.mvi.domain.model.BlogPostcom.mi.mvi.domain.usecase.blogs.DeleteBlogPostUseCase→com.mi.mvi.domain.model.Tokencom.mi.mvi.domain.usecase.blogs.IsAuthorBlogPostUseCase→com.mi.mvi.domain.model.Tokencom.mi.mvi.domain.usecase.blogs.SearchBlogUseCase→com.mi.mvi.domain.model.Tokencom.mi.mvi.domain.usecase.blogs.UpdateBlogPostUseCase→com.mi.mvi.domain.model.Token
- Direction
- domain.usecase.blogs uses domain.model, so a change to domain.model can break domain.usecase.blogs, while a change to domain.usecase.blogs can't break domain.model.
- Position
- Below the diagonal: domain.usecase.blogs uses a module listed above it, which is the healthy direction.
32→25 domain.usecase.blogs uses domain.viewstate✕
- Connections
- 5 pairs of types, where a type in domain.usecase.blogs uses a type in domain.viewstate.
- The types involved
com.mi.mvi.domain.usecase.blogs.CreateBlogUseCase→com.mi.mvi.domain.viewstate.CreateBlogViewStatecom.mi.mvi.domain.usecase.blogs.DeleteBlogPostUseCase→com.mi.mvi.domain.viewstate.BlogViewStatecom.mi.mvi.domain.usecase.blogs.IsAuthorBlogPostUseCase→com.mi.mvi.domain.viewstate.BlogViewStatecom.mi.mvi.domain.usecase.blogs.SearchBlogUseCase→com.mi.mvi.domain.viewstate.BlogViewStatecom.mi.mvi.domain.usecase.blogs.UpdateBlogPostUseCase→com.mi.mvi.domain.viewstate.BlogViewState
- Direction
- domain.usecase.blogs uses domain.viewstate, so a change to domain.viewstate can break domain.usecase.blogs, while a change to domain.usecase.blogs can't break domain.viewstate.
- Position
- Below the diagonal: domain.usecase.blogs uses a module listed above it, which is the healthy direction.
32→27 domain.usecase.blogs uses domain.repository✕
- Connections
- 6 pairs of types, where a type in domain.usecase.blogs uses a type in domain.repository.
- The types involved
com.mi.mvi.domain.usecase.blogs.CreateBlogUseCase→com.mi.mvi.domain.repository.CreateBlogRepositorycom.mi.mvi.domain.usecase.blogs.DeleteBlogPostUseCase→com.mi.mvi.domain.repository.BlogRepositorycom.mi.mvi.domain.usecase.blogs.FiltrationUseCase→com.mi.mvi.domain.repository.BlogRepositorycom.mi.mvi.domain.usecase.blogs.IsAuthorBlogPostUseCase→com.mi.mvi.domain.repository.BlogRepositorycom.mi.mvi.domain.usecase.blogs.SearchBlogUseCase→com.mi.mvi.domain.repository.BlogRepositorycom.mi.mvi.domain.usecase.blogs.UpdateBlogPostUseCase→com.mi.mvi.domain.repository.BlogRepository
- Direction
- domain.usecase.blogs uses domain.repository, so a change to domain.repository can break domain.usecase.blogs, while a change to domain.usecase.blogs can't break domain.repository.
- Position
- Below the diagonal: domain.usecase.blogs uses a module listed above it, which is the healthy direction.
33→4 base uses domain.datastate✕
- Connections
- 3 pairs of types, where a type in base uses a type in domain.datastate.
- The types involved
com.mi.mvi.base.BaseActivity→com.mi.mvi.domain.datastate.DataStatecom.mi.mvi.base.BaseActivity→com.mi.mvi.domain.datastate.StateMessagecom.mi.mvi.base.BaseViewModel→com.mi.mvi.domain.datastate.DataState
- Direction
- base uses domain.datastate, so a change to domain.datastate can break base, while a change to base can't break domain.datastate.
- Position
- Below the diagonal: base uses a module listed above it, which is the healthy direction.
33→28 base uses common✕
- Connections
- 5 pairs of types, where a type in base uses a type in common.
- The types involved
com.mi.mvi.base.BaseActivity→com.mi.mvi.common.DataStateChangeListenercom.mi.mvi.base.BaseActivity→com.mi.mvi.common.SessionManagercom.mi.mvi.base.BaseActivity→com.mi.mvi.common.UICommunicationListenercom.mi.mvi.base.BaseFragment→com.mi.mvi.common.DataStateChangeListenercom.mi.mvi.base.BaseFragment→com.mi.mvi.common.UICommunicationListener
- Direction
- base uses common, so a change to common can break base, while a change to base can't break common.
- Position
- Below the diagonal: base uses a module listed above it, which is the healthy direction.
34→4 features.auth uses domain.datastate✕
- Connections
- 1 pair of types, where a type in features.auth uses a type in domain.datastate.
- The types involved
com.mi.mvi.features.auth.AuthViewModel→com.mi.mvi.domain.datastate.DataState
- Direction
- features.auth uses domain.datastate, so a change to domain.datastate can break features.auth, while a change to features.auth can't break domain.datastate.
- Position
- Below the diagonal: features.auth uses a module listed above it, which is the healthy direction.
34→5 features.auth uses events✕
- Connections
- 1 pair of types, where a type in features.auth uses a type in events.
- The types involved
com.mi.mvi.features.auth.AuthViewModel→com.mi.mvi.events.AuthEventState
- Direction
- features.auth uses events, so a change to events can break features.auth, while a change to features.auth can't break events.
- Position
- Below the diagonal: features.auth uses a module listed above it, which is the healthy direction.
34→6 features.auth uses features.auth.ForgetPasswordFragment.WebAppInterface✕
- Connections
- 1 pair of types, where a type in features.auth uses a type in features.auth.ForgetPasswordFragment.WebAppInterface.
- The types involved
com.mi.mvi.features.auth.ForgetPasswordFragment→com.mi.mvi.features.auth.ForgetPasswordFragment.WebAppInterface.OnWebInteractionCallback
- Direction
- features.auth uses features.auth.ForgetPasswordFragment.WebAppInterface, so a change to features.auth.ForgetPasswordFragment.WebAppInterface can break features.auth, while a change to features.auth can't break features.auth.ForgetPasswordFragment.WebAppInterface.
- Position
- Below the diagonal: features.auth uses a module listed above it, which is the healthy direction.
34→25 features.auth uses domain.viewstate✕
- Connections
- 1 pair of types, where a type in features.auth uses a type in domain.viewstate.
- The types involved
com.mi.mvi.features.auth.AuthViewModel→com.mi.mvi.domain.viewstate.AuthViewState
- Direction
- features.auth uses domain.viewstate, so a change to domain.viewstate can break features.auth, while a change to features.auth can't break domain.viewstate.
- Position
- Below the diagonal: features.auth uses a module listed above it, which is the healthy direction.
34→26 features.auth uses mapper✕
- Connections
- 2 pairs of types, where a type in features.auth uses a type in mapper.
- The types involved
com.mi.mvi.features.auth.AuthActivity→com.mi.mvi.mapper.TokenMappercom.mi.mvi.features.auth.SplashActivity→com.mi.mvi.mapper.TokenMapper
- Direction
- features.auth uses mapper, so a change to mapper can break features.auth, while a change to features.auth can't break mapper.
- Position
- Below the diagonal: features.auth uses a module listed above it, which is the healthy direction.
34→31 features.auth uses domain.usecase.auth✕
- Connections
- 3 pairs of types, where a type in features.auth uses a type in domain.usecase.auth.
- The types involved
com.mi.mvi.features.auth.AuthViewModel→com.mi.mvi.domain.usecase.auth.CheckTokenUseCasecom.mi.mvi.features.auth.AuthViewModel→com.mi.mvi.domain.usecase.auth.LoginUseCasecom.mi.mvi.features.auth.AuthViewModel→com.mi.mvi.domain.usecase.auth.RegisterUseCase
- Direction
- features.auth uses domain.usecase.auth, so a change to domain.usecase.auth can break features.auth, while a change to features.auth can't break domain.usecase.auth.
- Position
- Below the diagonal: features.auth uses a module listed above it, which is the healthy direction.
34→33 features.auth uses base✕
- Connections
- 6 pairs of types, where a type in features.auth uses a type in base.
- The types involved
com.mi.mvi.features.auth.AuthActivity→com.mi.mvi.base.BaseActivitycom.mi.mvi.features.auth.AuthViewModel→com.mi.mvi.base.BaseViewModelcom.mi.mvi.features.auth.ForgetPasswordFragment→com.mi.mvi.base.BaseFragmentcom.mi.mvi.features.auth.LoginFragment→com.mi.mvi.base.BaseFragmentcom.mi.mvi.features.auth.RegisterFragment→com.mi.mvi.base.BaseFragmentcom.mi.mvi.features.auth.SplashActivity→com.mi.mvi.base.BaseActivity
- Direction
- features.auth uses base, so a change to base can break features.auth, while a change to features.auth can't break base.
- Position
- Below the diagonal: features.auth uses a module listed above it, which is the healthy direction.
35→4 features.main.account uses domain.datastate✕
- Connections
- 1 pair of types, where a type in features.main.account uses a type in domain.datastate.
- The types involved
com.mi.mvi.features.main.account.AccountViewModel→com.mi.mvi.domain.datastate.DataState
- Direction
- features.main.account uses domain.datastate, so a change to domain.datastate can break features.main.account, while a change to features.main.account can't break domain.datastate.
- Position
- Below the diagonal: features.main.account uses a module listed above it, which is the healthy direction.
35→5 features.main.account uses events✕
- Connections
- 1 pair of types, where a type in features.main.account uses a type in events.
- The types involved
com.mi.mvi.features.main.account.AccountViewModel→com.mi.mvi.events.AccountEventState
- Direction
- features.main.account uses events, so a change to events can break features.main.account, while a change to features.main.account can't break events.
- Position
- Below the diagonal: features.main.account uses a module listed above it, which is the healthy direction.
35→18 features.main.account uses model✕
- Connections
- 2 pairs of types, where a type in features.main.account uses a type in model.
- The types involved
com.mi.mvi.features.main.account.AccountFragment→com.mi.mvi.model.UserViewcom.mi.mvi.features.main.account.UpdateAccountFragment→com.mi.mvi.model.UserView
- Direction
- features.main.account uses model, so a change to model can break features.main.account, while a change to features.main.account can't break model.
- Position
- Below the diagonal: features.main.account uses a module listed above it, which is the healthy direction.
35→22 features.main.account uses domain.model✕
- Connections
- 1 pair of types, where a type in features.main.account uses a type in domain.model.
- The types involved
com.mi.mvi.features.main.account.AccountViewModel→com.mi.mvi.domain.model.User
- Direction
- features.main.account uses domain.model, so a change to domain.model can break features.main.account, while a change to features.main.account can't break domain.model.
- Position
- Below the diagonal: features.main.account uses a module listed above it, which is the healthy direction.
35→25 features.main.account uses domain.viewstate✕
- Connections
- 1 pair of types, where a type in features.main.account uses a type in domain.viewstate.
- The types involved
com.mi.mvi.features.main.account.AccountViewModel→com.mi.mvi.domain.viewstate.AccountViewState
- Direction
- features.main.account uses domain.viewstate, so a change to domain.viewstate can break features.main.account, while a change to features.main.account can't break domain.viewstate.
- Position
- Below the diagonal: features.main.account uses a module listed above it, which is the healthy direction.
35→26 features.main.account uses mapper✕
- Connections
- 3 pairs of types, where a type in features.main.account uses a type in mapper.
- The types involved
com.mi.mvi.features.main.account.AccountViewModel→com.mi.mvi.mapper.TokenMappercom.mi.mvi.features.main.account.AccountViewModel→com.mi.mvi.mapper.UserMappercom.mi.mvi.features.main.account.BaseAccountFragment→com.mi.mvi.mapper.UserMapper
- Direction
- features.main.account uses mapper, so a change to mapper can break features.main.account, while a change to features.main.account can't break mapper.
- Position
- Below the diagonal: features.main.account uses a module listed above it, which is the healthy direction.
35→28 features.main.account uses common✕
- Connections
- 1 pair of types, where a type in features.main.account uses a type in common.
- The types involved
com.mi.mvi.features.main.account.AccountViewModel→com.mi.mvi.common.SessionManager
- Direction
- features.main.account uses common, so a change to common can break features.main.account, while a change to features.main.account can't break common.
- Position
- Below the diagonal: features.main.account uses a module listed above it, which is the healthy direction.
35→30 features.main.account uses domain.usecase.account✕
- Connections
- 3 pairs of types, where a type in features.main.account uses a type in domain.usecase.account.
- The types involved
com.mi.mvi.features.main.account.AccountViewModel→com.mi.mvi.domain.usecase.account.ChangePasswordUseCasecom.mi.mvi.features.main.account.AccountViewModel→com.mi.mvi.domain.usecase.account.GetAccountUseCasecom.mi.mvi.features.main.account.AccountViewModel→com.mi.mvi.domain.usecase.account.UpdateAccountUseCase
- Direction
- features.main.account uses domain.usecase.account, so a change to domain.usecase.account can break features.main.account, while a change to features.main.account can't break domain.usecase.account.
- Position
- Below the diagonal: features.main.account uses a module listed above it, which is the healthy direction.
35→33 features.main.account uses base✕
- Connections
- 2 pairs of types, where a type in features.main.account uses a type in base.
- The types involved
com.mi.mvi.features.main.account.AccountViewModel→com.mi.mvi.base.BaseViewModelcom.mi.mvi.features.main.account.BaseAccountFragment→com.mi.mvi.base.BaseFragment
- Direction
- features.main.account uses base, so a change to base can break features.main.account, while a change to features.main.account can't break base.
- Position
- Below the diagonal: features.main.account uses a module listed above it, which is the healthy direction.
36→4 features.main.blog.viewmodel uses domain.datastate✕
- Connections
- 1 pair of types, where a type in features.main.blog.viewmodel uses a type in domain.datastate.
- The types involved
com.mi.mvi.features.main.blog.viewmodel.BlogViewModel→com.mi.mvi.domain.datastate.DataState
- Direction
- features.main.blog.viewmodel uses domain.datastate, so a change to domain.datastate can break features.main.blog.viewmodel, while a change to features.main.blog.viewmodel can't break domain.datastate.
- Position
- Below the diagonal: features.main.blog.viewmodel uses a module listed above it, which is the healthy direction.
36→5 features.main.blog.viewmodel uses events✕
- Connections
- 1 pair of types, where a type in features.main.blog.viewmodel uses a type in events.
- The types involved
com.mi.mvi.features.main.blog.viewmodel.BlogViewModel→com.mi.mvi.events.BlogEventState
- Direction
- features.main.blog.viewmodel uses events, so a change to events can break features.main.blog.viewmodel, while a change to features.main.blog.viewmodel can't break events.
- Position
- Below the diagonal: features.main.blog.viewmodel uses a module listed above it, which is the healthy direction.
36→22 features.main.blog.viewmodel uses domain.model✕
- Connections
- 2 pairs of types, where a type in features.main.blog.viewmodel uses a type in domain.model.
- The types involved
com.mi.mvi.features.main.blog.viewmodel.GettersKt→com.mi.mvi.domain.model.BlogPostcom.mi.mvi.features.main.blog.viewmodel.SettersKt→com.mi.mvi.domain.model.BlogPostView
- Direction
- features.main.blog.viewmodel uses domain.model, so a change to domain.model can break features.main.blog.viewmodel, while a change to features.main.blog.viewmodel can't break domain.model.
- Position
- Below the diagonal: features.main.blog.viewmodel uses a module listed above it, which is the healthy direction.
36→25 features.main.blog.viewmodel uses domain.viewstate✕
- Connections
- 2 pairs of types, where a type in features.main.blog.viewmodel uses a type in domain.viewstate.
- The types involved
com.mi.mvi.features.main.blog.viewmodel.BlogViewModel→com.mi.mvi.domain.viewstate.BlogViewStatecom.mi.mvi.features.main.blog.viewmodel.PaginationKt→com.mi.mvi.domain.viewstate.BlogViewState
- Direction
- features.main.blog.viewmodel uses domain.viewstate, so a change to domain.viewstate can break features.main.blog.viewmodel, while a change to features.main.blog.viewmodel can't break domain.viewstate.
- Position
- Below the diagonal: features.main.blog.viewmodel uses a module listed above it, which is the healthy direction.
36→26 features.main.blog.viewmodel uses mapper✕
- Connections
- 2 pairs of types, where a type in features.main.blog.viewmodel uses a type in mapper.
- The types involved
com.mi.mvi.features.main.blog.viewmodel.BlogViewModel→com.mi.mvi.mapper.BlogPostMappercom.mi.mvi.features.main.blog.viewmodel.BlogViewModel→com.mi.mvi.mapper.TokenMapper
- Direction
- features.main.blog.viewmodel uses mapper, so a change to mapper can break features.main.blog.viewmodel, while a change to features.main.blog.viewmodel can't break mapper.
- Position
- Below the diagonal: features.main.blog.viewmodel uses a module listed above it, which is the healthy direction.
36→28 features.main.blog.viewmodel uses common✕
- Connections
- 1 pair of types, where a type in features.main.blog.viewmodel uses a type in common.
- The types involved
com.mi.mvi.features.main.blog.viewmodel.BlogViewModel→com.mi.mvi.common.SessionManager
- Direction
- features.main.blog.viewmodel uses common, so a change to common can break features.main.blog.viewmodel, while a change to features.main.blog.viewmodel can't break common.
- Position
- Below the diagonal: features.main.blog.viewmodel uses a module listed above it, which is the healthy direction.
36→32 features.main.blog.viewmodel uses domain.usecase.blogs✕
- Connections
- 5 pairs of types, where a type in features.main.blog.viewmodel uses a type in domain.usecase.blogs.
- The types involved
com.mi.mvi.features.main.blog.viewmodel.BlogViewModel→com.mi.mvi.domain.usecase.blogs.DeleteBlogPostUseCasecom.mi.mvi.features.main.blog.viewmodel.BlogViewModel→com.mi.mvi.domain.usecase.blogs.FiltrationUseCasecom.mi.mvi.features.main.blog.viewmodel.BlogViewModel→com.mi.mvi.domain.usecase.blogs.IsAuthorBlogPostUseCasecom.mi.mvi.features.main.blog.viewmodel.BlogViewModel→com.mi.mvi.domain.usecase.blogs.SearchBlogUseCasecom.mi.mvi.features.main.blog.viewmodel.BlogViewModel→com.mi.mvi.domain.usecase.blogs.UpdateBlogPostUseCase
- Direction
- features.main.blog.viewmodel uses domain.usecase.blogs, so a change to domain.usecase.blogs can break features.main.blog.viewmodel, while a change to features.main.blog.viewmodel can't break domain.usecase.blogs.
- Position
- Below the diagonal: features.main.blog.viewmodel uses a module listed above it, which is the healthy direction.
36→33 features.main.blog.viewmodel uses base✕
- Connections
- 1 pair of types, where a type in features.main.blog.viewmodel uses a type in base.
- The types involved
com.mi.mvi.features.main.blog.viewmodel.BlogViewModel→com.mi.mvi.base.BaseViewModel
- Direction
- features.main.blog.viewmodel uses base, so a change to base can break features.main.blog.viewmodel, while a change to features.main.blog.viewmodel can't break base.
- Position
- Below the diagonal: features.main.blog.viewmodel uses a module listed above it, which is the healthy direction.
37→4 features.main.create_blog uses domain.datastate✕
- Connections
- 1 pair of types, where a type in features.main.create_blog uses a type in domain.datastate.
- The types involved
com.mi.mvi.features.main.create_blog.CreateBlogViewModel→com.mi.mvi.domain.datastate.DataState
- Direction
- features.main.create_blog uses domain.datastate, so a change to domain.datastate can break features.main.create_blog, while a change to features.main.create_blog can't break domain.datastate.
- Position
- Below the diagonal: features.main.create_blog uses a module listed above it, which is the healthy direction.
37→5 features.main.create_blog uses events✕
- Connections
- 1 pair of types, where a type in features.main.create_blog uses a type in events.
- The types involved
com.mi.mvi.features.main.create_blog.CreateBlogViewModel→com.mi.mvi.events.CreateBlogEventState
- Direction
- features.main.create_blog uses events, so a change to events can break features.main.create_blog, while a change to features.main.create_blog can't break events.
- Position
- Below the diagonal: features.main.create_blog uses a module listed above it, which is the healthy direction.
37→25 features.main.create_blog uses domain.viewstate✕
- Connections
- 2 pairs of types, where a type in features.main.create_blog uses a type in domain.viewstate.
- The types involved
com.mi.mvi.features.main.create_blog.CreateBlogFragment→com.mi.mvi.domain.viewstate.NewBlogFieldscom.mi.mvi.features.main.create_blog.CreateBlogViewModel→com.mi.mvi.domain.viewstate.CreateBlogViewState
- Direction
- features.main.create_blog uses domain.viewstate, so a change to domain.viewstate can break features.main.create_blog, while a change to features.main.create_blog can't break domain.viewstate.
- Position
- Below the diagonal: features.main.create_blog uses a module listed above it, which is the healthy direction.
37→26 features.main.create_blog uses mapper✕
- Connections
- 1 pair of types, where a type in features.main.create_blog uses a type in mapper.
- The types involved
com.mi.mvi.features.main.create_blog.CreateBlogViewModel→com.mi.mvi.mapper.TokenMapper
- Direction
- features.main.create_blog uses mapper, so a change to mapper can break features.main.create_blog, while a change to features.main.create_blog can't break mapper.
- Position
- Below the diagonal: features.main.create_blog uses a module listed above it, which is the healthy direction.
37→28 features.main.create_blog uses common✕
- Connections
- 1 pair of types, where a type in features.main.create_blog uses a type in common.
- The types involved
com.mi.mvi.features.main.create_blog.CreateBlogViewModel→com.mi.mvi.common.SessionManager
- Direction
- features.main.create_blog uses common, so a change to common can break features.main.create_blog, while a change to features.main.create_blog can't break common.
- Position
- Below the diagonal: features.main.create_blog uses a module listed above it, which is the healthy direction.
37→32 features.main.create_blog uses domain.usecase.blogs✕
- Connections
- 1 pair of types, where a type in features.main.create_blog uses a type in domain.usecase.blogs.
- The types involved
com.mi.mvi.features.main.create_blog.CreateBlogViewModel→com.mi.mvi.domain.usecase.blogs.CreateBlogUseCase
- Direction
- features.main.create_blog uses domain.usecase.blogs, so a change to domain.usecase.blogs can break features.main.create_blog, while a change to features.main.create_blog can't break domain.usecase.blogs.
- Position
- Below the diagonal: features.main.create_blog uses a module listed above it, which is the healthy direction.
37→33 features.main.create_blog uses base✕
- Connections
- 2 pairs of types, where a type in features.main.create_blog uses a type in base.
- The types involved
com.mi.mvi.features.main.create_blog.CreateBlogFragment→com.mi.mvi.base.BaseFragmentcom.mi.mvi.features.main.create_blog.CreateBlogViewModel→com.mi.mvi.base.BaseViewModel
- Direction
- features.main.create_blog uses base, so a change to base can break features.main.create_blog, while a change to features.main.create_blog can't break base.
- Position
- Below the diagonal: features.main.create_blog uses a module listed above it, which is the healthy direction.
38→2 features.main uses common.BottomNavController✕
- Connections
- 2 pairs of types, where a type in features.main uses a type in common.BottomNavController.
- The types involved
com.mi.mvi.features.main.MainActivity→com.mi.mvi.common.BottomNavController.OnNavigationGraphChangedcom.mi.mvi.features.main.MainActivity→com.mi.mvi.common.BottomNavController.OnNavigationReselectedListener
- Direction
- features.main uses common.BottomNavController, so a change to common.BottomNavController can break features.main, while a change to features.main can't break common.BottomNavController.
- Position
- Below the diagonal: features.main uses a module listed above it, which is the healthy direction.
38→28 features.main uses common✕
- Connections
- 1 pair of types, where a type in features.main uses a type in common.
- The types involved
com.mi.mvi.features.main.MainActivity→com.mi.mvi.common.BottomNavController
- Direction
- features.main uses common, so a change to common can break features.main, while a change to features.main can't break common.
- Position
- Below the diagonal: features.main uses a module listed above it, which is the healthy direction.
38→33 features.main uses base✕
- Connections
- 1 pair of types, where a type in features.main uses a type in base.
- The types involved
com.mi.mvi.features.main.MainActivity→com.mi.mvi.base.BaseActivity
- Direction
- features.main uses base, so a change to base can break features.main, while a change to features.main can't break base.
- Position
- Below the diagonal: features.main uses a module listed above it, which is the healthy direction.
38→35 features.main uses features.main.account✕
- Connections
- 1 pair of types, where a type in features.main uses a type in features.main.account.
- The types involved
com.mi.mvi.features.main.MainActivity→com.mi.mvi.features.main.account.AccountViewModel
- Direction
- features.main uses features.main.account, so a change to features.main.account can break features.main, while a change to features.main can't break features.main.account.
- Position
- Below the diagonal: features.main uses a module listed above it, which is the healthy direction.
38→36 features.main uses features.main.blog.viewmodel✕
- Connections
- 1 pair of types, where a type in features.main uses a type in features.main.blog.viewmodel.
- The types involved
com.mi.mvi.features.main.MainActivity→com.mi.mvi.features.main.blog.viewmodel.BlogViewModel
- Direction
- features.main uses features.main.blog.viewmodel, so a change to features.main.blog.viewmodel can break features.main, while a change to features.main can't break features.main.blog.viewmodel.
- Position
- Below the diagonal: features.main uses a module listed above it, which is the healthy direction.
38→37 features.main uses features.main.create_blog✕
- Connections
- 1 pair of types, where a type in features.main uses a type in features.main.create_blog.
- The types involved
com.mi.mvi.features.main.MainActivity→com.mi.mvi.features.main.create_blog.CreateBlogViewModel
- Direction
- features.main uses features.main.create_blog, so a change to features.main.create_blog can break features.main, while a change to features.main can't break features.main.create_blog.
- Position
- Below the diagonal: features.main uses a module listed above it, which is the healthy direction.
39→22 features.main.blog.viewmodel.BlogListItem uses domain.model✕
- Connections
- 1 pair of types, where a type in features.main.blog.viewmodel.BlogListItem uses a type in domain.model.
- The types involved
com.mi.mvi.features.main.blog.viewmodel.BlogListItem.Item→com.mi.mvi.domain.model.BlogPostView
- Direction
- features.main.blog.viewmodel.BlogListItem uses domain.model, so a change to domain.model can break features.main.blog.viewmodel.BlogListItem, while a change to features.main.blog.viewmodel.BlogListItem can't break domain.model.
- Position
- Below the diagonal: features.main.blog.viewmodel.BlogListItem uses a module listed above it, which is the healthy direction.
39→36 features.main.blog.viewmodel.BlogListItem uses features.main.blog.viewmodel✕
- Connections
- 2 pairs of types, where a type in features.main.blog.viewmodel.BlogListItem uses a type in features.main.blog.viewmodel.
- The types involved
com.mi.mvi.features.main.blog.viewmodel.BlogListItem.Item→com.mi.mvi.features.main.blog.viewmodel.BlogListItemcom.mi.mvi.features.main.blog.viewmodel.BlogListItem.NoMoreResult→com.mi.mvi.features.main.blog.viewmodel.BlogListItem
- Direction
- features.main.blog.viewmodel.BlogListItem uses features.main.blog.viewmodel, so a change to features.main.blog.viewmodel can break features.main.blog.viewmodel.BlogListItem, while a change to features.main.blog.viewmodel.BlogListItem can't break features.main.blog.viewmodel.
- Position
- Below the diagonal: features.main.blog.viewmodel.BlogListItem uses a module listed above it, which is the healthy direction.
40→22 features.main.blog uses domain.model✕
- Connections
- 2 pairs of types, where a type in features.main.blog uses a type in domain.model.
- The types involved
com.mi.mvi.features.main.blog.AdaptersKt→com.mi.mvi.domain.model.BlogPostViewcom.mi.mvi.features.main.blog.ViewBlogFragment→com.mi.mvi.domain.model.BlogPostView
- Direction
- features.main.blog uses domain.model, so a change to domain.model can break features.main.blog, while a change to features.main.blog can't break domain.model.
- Position
- Below the diagonal: features.main.blog uses a module listed above it, which is the healthy direction.
40→26 features.main.blog uses mapper✕
- Connections
- 1 pair of types, where a type in features.main.blog uses a type in mapper.
- The types involved
com.mi.mvi.features.main.blog.BaseBlogFragment→com.mi.mvi.mapper.BlogPostMapper
- Direction
- features.main.blog uses mapper, so a change to mapper can break features.main.blog, while a change to features.main.blog can't break mapper.
- Position
- Below the diagonal: features.main.blog uses a module listed above it, which is the healthy direction.
40→33 features.main.blog uses base✕
- Connections
- 1 pair of types, where a type in features.main.blog uses a type in base.
- The types involved
com.mi.mvi.features.main.blog.BaseBlogFragment→com.mi.mvi.base.BaseFragment
- Direction
- features.main.blog uses base, so a change to base can break features.main.blog, while a change to features.main.blog can't break base.
- Position
- Below the diagonal: features.main.blog uses a module listed above it, which is the healthy direction.
40→36 features.main.blog uses features.main.blog.viewmodel✕
- Connections
- 1 pair of types, where a type in features.main.blog uses a type in features.main.blog.viewmodel.
- The types involved
com.mi.mvi.features.main.blog.BaseBlogFragment→com.mi.mvi.features.main.blog.viewmodel.BlogViewModel
- Direction
- features.main.blog uses features.main.blog.viewmodel, so a change to features.main.blog.viewmodel can break features.main.blog, while a change to features.main.blog can't break features.main.blog.viewmodel.
- Position
- Below the diagonal: features.main.blog uses a module listed above it, which is the healthy direction.
40→39 features.main.blog uses features.main.blog.viewmodel.BlogListItem✕
- Connections
- 1 pair of types, where a type in features.main.blog uses a type in features.main.blog.viewmodel.BlogListItem.
- The types involved
com.mi.mvi.features.main.blog.BlogViewHolder→com.mi.mvi.features.main.blog.viewmodel.BlogListItem.Item
- Direction
- features.main.blog uses features.main.blog.viewmodel.BlogListItem, so a change to features.main.blog.viewmodel.BlogListItem can break features.main.blog, while a change to features.main.blog can't break features.main.blog.viewmodel.BlogListItem.
- Position
- Below the diagonal: features.main.blog 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 — Performance
Roadmap
Begin by establishing a CI/CD pipeline to automatically build and run tests on every push, while simultaneously addressing the single gaps in code coverage and test distribution to ensure baseline quality. Next, secure sensitive data by implementing encryption at rest and managing keys in a vault, skipping only if infrastructure handles this. Finally, improve code maintainability by resolving the 26 orphaned files, prioritizing BlogRepositoryImpl.kt, BlogFragment.kt, and AuthRepositoryImpl.kt.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No automated tests finding(s) in Code Coverage. | +12.2 pts | Low | Code Coverage |
| Resolve the 1 No tests found finding(s) in Test Distribution. | +12.2 pts | Low | Test Distribution |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +8.5 pts | Medium | CI/CD gates |
| Resolve the 1 Documentation finding(s) in Documentation Quality — start with README.md. | +3.8 pts | Low | Documentation Quality |
| Encrypt sensitive data at rest (open the store encrypted — SQLCipher's SupportFactory for Room, a Realm encryptionKey — or encrypt the fields with Tink's AEAD or an AES/GCM Cipher, or use Jetpack Security's EncryptedSharedPreferences on Android) keeping its key in the Android Keystore or a vault, and manage server-side keys in a vault (AWS KMS / Secrets Manager, GCP KMS / Secret Manager, Azure Key Vault, HashiCorp Vault). Skip if delegated to infra (Postgres TDE, KMS, etc.). | +5.0 pts | Medium | Data Protection |
| Resolve the 26 Orphaned file finding(s) in Knowledge Freshness — start with BlogRepositoryImpl.kt, BlogFragment.kt, AuthRepositoryImpl.kt. | +4.6 pts | Medium | Knowledge Freshness |
| 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 |
| Keep slices independent: share cross-slice needs via an explicit contract/shared-kernel, not direct references between slices. | +2.1 pts | Medium | Slice cohesion |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| features/src/main/java/com/mi/mvi/features/main/blog/UpdateBlogFragment.kt | 7.8 | Mixed | Code Duplication: Duplicated block (10 lines × 2) |
| data/src/main/java/com/mi/mvi/data/mapper/BlogPostMapper.kt | 7.8 | Mixed | Code Duplication: Duplicated block (11 lines × 2) |
| data/src/main/java/com/mi/mvi/data/repository/AuthRepositoryImpl.kt | 8.5 | Near-clean | Code Duplication: Duplicated block (35–37 lines × 2) |
| data/src/main/java/com/mi/mvi/data/entity/BlogPostEntity.kt | 8.5 | Near-clean | Code Duplication: Duplicated block (11 lines × 2) |
| features/src/main/java/com/mi/mvi/features/main/blog/BlogFragment.kt | 8.5 | Near-clean | Cohesion (LCOM4): Low cohesion: BlogFragment (LCOM4 4) |
| features/src/main/java/com/mi/mvi/features/main/MainActivity.kt | 8.5 | Near-clean | Change Coupling: Change coupling: MainActivity.kt ↔ BlogFragment.kt |
| README.md | 9.5 | Near-clean | Documentation Quality: Documentation: no installation or build instructions |
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. 51 of 54 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — 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 — 54 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, 46 of 53 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 — a Gradle build resolved 117 artifact(s) across its subprojects (10 behind a shipped release, reported), but the currency signal was not established over the whole graph, so this dimension's own question is only partly answered. 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. Single-maintainer repository — bus factor is not applicable (4 contributor(s) across 92 commit(s) sampled, automation and bot accounts excluded). One of them holds 97% of the history; the other 3 hold 1% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D20 ADR Quality — 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. The ADR expectation is gated on whether a repository ships a deployable product. Our repo-kind classifier reads .NET project files and the host and package markers of the other ecosystems it knows (a Go `package main`, a Cargo binary, a package.json `bin`, `start` script or application dev server such as Vite or Next, Python console scripts or a Django/WSGI entry point, a Spring Boot / WAR / Gradle application build, a Rack or Rails app, a Composer project, an OTP release or escript, a Dockerfile, a Procfile, a Platform.sh `.platform/routes.yaml`, and the corresponding published-package manifests, including an OTP `*.app.src`, a Drupal module's `*.info` and a Claude Code `.claude-plugin/plugin.json`), and found none here, so we could not tell what kind of repository this is and did not assess its ADR log. This is a gap in our analyzer, not a finding about this repository.
- 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.
- D32 Data Compliance (PII/GDPR) — 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. `features/src/main/java/com/mi/mvi/features/auth/ForgotPasswordFragment.kt` produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- 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 (app/src/main/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.
- 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 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 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").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- 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.
- 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.
- 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.
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
0 god class(es) detected.
D4 · Code Duplication
6 duplicated block group(s) detected.
What to do
- Resolve the 2 Duplicated block (11 lines × 2) finding(s) in Code Duplication — start with BlogPostEntity.kt, BlogPostMapper.kt. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Duplicated block (35–37 lines × 2) finding(s) in Code Duplication — start with AuthRepositoryImpl.kt. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (10 lines × 2) finding(s) in Code Duplication — start with UpdateBlogFragment.kt. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Code Duplication in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
7 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, with abstractness counted on 6 of the 7 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
D6 · Cohesion (LCOM4)
1 of 13 classes have LCOM4 above 3.
What to do
- Resolve the 1 Low cohesion finding(s) in Cohesion (LCOM4) — start with BlogFragment.kt. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Cohesion (LCOM4) in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
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).
- Stand up a CI pipeline, then gate Code Coverage in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. 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.
D14 · License Compliance
0 of 1 declared JVM dependency artifact(s) use a banned license. Licences were resolved from the POMs Maven Central publishes, over the coordinates this repository's 8 Maven/Gradle manifest(s) declare with a version resolvable from the manifest itself — the same declaration-site closure this analysis reads for dependency currency. The JVM has no lockfile a checkout is guaranteed to carry, so this is deliberately NOT the transitive closure. A further 1 coordinate(s) are not published to Maven Central — another repository (Google's Maven hosts androidx), a SNAPSHOT, or a private artifact — so their licences are not readable from here and they are outside this verdict.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 5562 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 single README is a one-paragraph overview of the project (Android Kotlin MVI Clean Architecture APP) with an unstructured bulleted list of features and links to external resources such as Kotlin, Coroutines, Room, Koin, and Ktlint. It does not explain what the project actually does or how to use its contents; it is a README that says nothing about the directory it describes.
What to do
- Resolve the 1 Documentation finding(s) in Documentation Quality — start with README.md. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
0 of 7 build units (Gradle) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
semgrep found no security issues. semgrep hit a parse error in 1 file(s) — `gradlew` (lines 144–145, line 146, line 147, …) — 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.
D34 · Knowledge Freshness
26 of 26 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is data/src/main/java/com/mi/mvi/data/repository/BlogRepositoryImpl.kt. Counted over 26 of the 155 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 26 Orphaned file finding(s) in Knowledge Freshness — start with BlogRepositoryImpl.kt, BlogFragment.kt, AuthRepositoryImpl.kt. — One of this dimension's main actionable groups (26 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
Strongest change-coupling: MainActivity.kt↔BlogFragment.kt 50%
What to do
- Resolve the 1 Change coupling finding(s) in Change Coupling — start with MainActivity.kt. — One of this dimension's main actionable groups (1 warning-level).
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 2 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
AX3 · Project dependency cycles
AX5 · Architecture & structure
AX7 · Slice cohesion
- `AuthActivity` (slice 'auth') depends on `TokenMapper` from slice 'src'. — features/src/main/java/com/mi/mvi/features/auth/AuthActivity.kt:22
- `SplashActivity` (slice 'auth') depends on `TokenMapper` from slice 'src'. — features/src/main/java/com/mi/mvi/features/auth/SplashActivity.kt:23
- `MainActivity` (slice 'main') depends on `BottomNavController` from slice 'src'. — features/src/main/java/com/mi/mvi/features/main/MainActivity.kt:42
- `AccountViewModel` (slice 'main') depends on `SessionManager` from slice 'src'. — features/src/main/java/com/mi/mvi/features/main/account/AccountViewModel.kt:24
- `BaseAccountFragment` (slice 'main') depends on `UserMapper` from slice 'src'. — features/src/main/java/com/mi/mvi/features/main/account/BaseAccountFragment.kt:13
- `BaseBlogFragment` (slice 'main') depends on `BlogPostMapper` from slice 'src'. — features/src/main/java/com/mi/mvi/features/main/blog/BaseBlogFragment.kt:13
- `Item` (slice 'main') depends on `BlogPostView` from slice 'src'. — features/src/main/java/com/mi/mvi/features/main/blog/viewmodel/BlogListItem.kt:7
- `BlogViewModel` (slice 'main') depends on `SessionManager` from slice 'src'. — features/src/main/java/com/mi/mvi/features/main/blog/viewmodel/BlogViewModel.kt:27
- `CreateBlogViewModel` (slice 'main') depends on `SessionManager` from slice 'src'. — features/src/main/java/com/mi/mvi/features/main/create_blog/CreateBlogViewModel.kt:26
What to do
- Keep slices independent: share cross-slice needs via an explicit contract/shared-kernel, not direct references between slices.
C1 · Data Protection
- No encryption usage (javax.crypto's Cipher in ENCRYPT_MODE, Tink, Jasypt, Spring Security's Encryptors, Jetpack Security's EncryptedSharedPreferences or EncryptedFile, the Android Keystore, SQLCipher, pgcrypto) was found, and this repository persists personal data in the model cited here — sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore. — cache/src/main/java/com/mi/mvi/cache/model/CachedUser.kt:14
What to do
- Encrypt sensitive data at rest (open the store encrypted — SQLCipher's SupportFactory for Room, a Realm encryptionKey — or encrypt the fields with Tink's AEAD or an AES/GCM Cipher, or use Jetpack Security's EncryptedSharedPreferences on Android) keeping its key in the Android Keystore or a vault, and manage server-side keys in a vault (AWS KMS / Secrets Manager, GCP KMS / Secret Manager, Azure Key Vault, HashiCorp Vault). Skip if delegated to infra (Postgres TDE, KMS, etc.).
- Enforce HTTPS on the server that receives this data: terminate TLS in it (Ktor's sslConnector, Spring's server.ssl and requiresSecure, Netty's SslContextBuilder.forServer) and send Strict-Transport-Security (Ktor's HttpsRedirect), or run it behind a TLS-terminating proxy, so data in transit is always encrypted.
M1 · Documentation (README)
- The root README is 104 words, against a bar of 120. Of the three newcomer-critical sections this check looks for by heading, it found no a build/run or getting-started section, no a testing section. Sections are matched on HEADING text only, so material written under a heading this check does not recognise — or with no heading at all — is not seen and this row may understate what the document covers.
What to do
- Expand the README with getting-started, architecture overview and a project map.
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- 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 7 of 7 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
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
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) — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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
- Run what this repository's stack ships: spotbugs with find-sec-bugs — or `semgrep --config=auto`, which runs on any language — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P7 · Outbound HTTP resilience
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
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
- `catch (exception: Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — data/src/main/java/com/mi/mvi/data/repository/NetworkBoundResource.kt:112
What to do
- Swallowed exception (caught, then discarded)
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 84% | Strong | Solid. |
| Architecture | 61% | Adequate — gated by AX7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 43% | Weak — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 24% | Critical — gated by D8, D9, P1, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 43% | Weak — gated by C1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
Not evidenced — 6 control(s) we could not find positive evidence for
- C3 Audit Trail — Repo shows no audit-logging mechanism (an audit-log table or model — an Exposed table, a data class, a Room entity or a SQL migration's table named for it — Hibernate Envers' @Audited, a JPA entity listener, Hibernate event listener or jOOQ RecordListener that records each change) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- 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
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 58 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.
- AX4 Dependency direction — not applicable to a vertical-slice 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
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB1 Runtime evidence locked — no reproducible boot — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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.
- 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 — a Gradle build resolved 117 artifact(s) across its subprojects (10 behind a shipped release, reported), but the currency signal was not established over the whole graph, so this dimension's own question is only partly answered. NOT a finding that these dependencies are current or healthy.
- D16 Bus Factor — single-maintainer repository — bus factor is not applicable
- 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.
- D20 ADR Quality — Repository kind not determined
- 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) — 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) — 1 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- 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) — 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 Domain Modelling — applicable but not scored (2 of 3 signals for this style — below the bar we score at): 34 value object(s); a Domain/Aggregates/ValueObjects layer
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- 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 — no CI workflow found
- P2 Observability — This repository's JVM source (7 module(s), 146 file(s) read) declares no entry point and bootstraps no server, and nothing here deploys a service — it is a library, run inside whatever hosts it, so production observability (structured logging, tracing/metrics, health checks) is N/A. If it grows a binary or a service, the dimension reactivates.
- 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
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for `@Benchmark` in a Java, Kotlin or Scala file importing JMH or kotlinx-benchmark, Jetpack Benchmark's `measureRepeated` in a file importing androidx.benchmark, or JMH/kotlinx-benchmark/androidx.benchmark in a pom.xml, Gradle or sbt build, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: allocation awareness is rated where code engineers for it — at least 400 production lines that ship benchmarks or already use allocation-aware idioms (8 or more). This repository's Kotlin code has 6,376 production line(s), 1 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
- 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.
- X2 Cancellation propagation — no C# was loaded; this repository's Kotlin was read, and no request in it can be cancelled by a caller (Ktor, OkHttp's newCall or a URL stream, from a suspend function) — a Kotlin request outside a suspend function has no caller's cancellation to honour
- 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 — 1 finding(s)
- No automated tests
Serious — 20 finding(s)
- Cross-slice coupling: auth → src features/src/main/java/com/mi/mvi/features/auth/AuthActivity.kt:22
- Cross-slice coupling: auth → src features/src/main/java/com/mi/mvi/features/auth/SplashActivity.kt:23
- Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/MainActivity.kt:42
- Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/account/AccountViewModel.kt:24
- Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/account/BaseAccountFragment.kt:13
- Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/blog/BaseBlogFragment.kt:13
- Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/blog/viewmodel/BlogListItem.kt:7
- Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/blog/viewmodel/BlogViewModel.kt:27
- Cross-slice coupling: main → src features/src/main/java/com/mi/mvi/features/main/create_blog/CreateBlogViewModel.kt:26
- Duplicated block (11 lines × 2) data/src/main/java/com/mi/mvi/data/entity/BlogPostEntity.kt:18
- Duplicated block (11 lines × 2) data/src/main/java/com/mi/mvi/data/mapper/BlogPostMapper.kt:11
- No data-protection/encryption cache/src/main/java/com/mi/mvi/cache/model/CachedUser.kt:14
- Change coupling: MainActivity.kt ↔ BlogFragment.kt features/src/main/java/com/mi/mvi/features/main/MainActivity.kt:1
- Duplicated block (35–37 lines × 2) data/src/main/java/com/mi/mvi/data/repository/AuthRepositoryImpl.kt:44
- Duplicated block (10 lines × 2) features/src/main/java/com/mi/mvi/features/main/blog/UpdateBlogFragment.kt:83
- Duplicated block (13 lines × 2) data/src/main/java/com/mi/mvi/data/mapper/BlogPostMapper.kt:23
- Duplicated block (7 lines × 2) features/src/main/java/com/mi/mvi/features/main/blog/UpdateBlogFragment.kt:113
- Low cohesion: BlogFragment (LCOM4 4) features/src/main/java/com/mi/mvi/features/main/blog/BlogFragment.kt:40
- No CI pipeline
- Swallowed exception (caught, then discarded) data/src/main/java/com/mi/mvi/data/repository/NetworkBoundResource.kt:112
Minor — 32 finding(s)
- Orphaned file data/src/main/java/com/mi/mvi/data/repository/BlogRepositoryImpl.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/features/main/blog/BlogFragment.kt:1
- Orphaned file data/src/main/java/com/mi/mvi/data/repository/AuthRepositoryImpl.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/features/main/create_blog/CreateBlogFragment.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/common/BottomNavController.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/features/main/blog/UpdateBlogFragment.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/features/main/MainActivity.kt:1
- Orphaned file data/src/main/java/com/mi/mvi/data/repository/AccountRepositoryImpl.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/features/main/blog/ViewBlogFragment.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/features/auth/ForgotPasswordFragment.kt:1
- Orphaned file data/src/main/java/com/mi/mvi/data/repository/NetworkBoundResource.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/features/main/blog/viewmodel/BlogViewModel.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/features/main/blog/viewmodel/Setters.kt:1
- Orphaned file buildSrc/src/main/kotlin/constants/LibraryDependency.kt:1
- Orphaned file cache/src/main/java/com/mi/mvi/cache/source/BlogCacheDataSourceImpl.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/features/main/account/AccountViewModel.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/base/BaseActivity.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/features/main/create_blog/CreateBlogViewModel.kt:1
- Orphaned file cache/src/main/java/com/mi/mvi/cache/db/BlogPostDao.kt:1
- Orphaned file domain/src/main/java/com/mi/mvi/domain/Constants.kt:1
- Orphaned file data/src/main/java/com/mi/mvi/data/repository/CreateBlogRepositoryImpl.kt:1
- Orphaned file remote/src/main/java/com/mi/mvi/remote/koin/RemoteModule.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/features/main/account/AccountFragment.kt:1
- Orphaned file remote/src/main/java/com/mi/mvi/remote/source/BlogRemoteDataSourceImpl.kt:1
- Orphaned file features/src/main/java/com/mi/mvi/base/BaseFragment.kt:1
- Documentation: no installation or build instructions README.md
- Dormant codebase
- No tests found
- Thin README
- No ADRs
- No SAST
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-5f84685d5dba4fc4b9b50893c082ba5e/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-5f84685d5dba4fc4b9b50893c082ba5e/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 . | 0 | 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) — 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. semgrep could not parse 1 file(s) — `features/src/main/java/com/mi/mvi/features/auth/ForgotPasswordFragment.kt` — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 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) — not scanned yet). | 0 | — |