Executive summary
gabriel-TheCode/CryptoMania scores 51 out of 100 and is rated Adequate, while six of its seven lenses score higher still: Security and Compliance and Performance at 100 and Code Health at 99, all rated Exemplary, and Architecture at 88, Domain Modelling at 70 and Maturity at 65, all rated Adequate.
The score is lower than those six because the weakest lens counts most, and here that is Production Readiness, which scores 23 and is rated Critical. Its CI/CD gates 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 ADRs found finding(s) in ADR Quality and to add a CI workflow that builds and runs the test suite on every push/PR, and if Production Readiness rose to 70, the score would rise from 51 to about 71.
No finding in this survey is critical.
Watchdog couldn't measure 14 dimensions in this code, among them Code Coverage, Test Reliability and Dependency Hygiene, so they are left out of the score. The product code is 6,717 lines, which would take an estimated 0.1 person-years, around €8,500, to rebuild.
If Production Readiness rose from 23 to 70, the lowest score rated Strong, the score would rise from 51 to about 71.
Rebuild cost: about €8,500 · Estimate
| Cost to rebuild | €2,800 to €14,000, for 47 to 149 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 51. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 6,717 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 data.local.entity | 2 data.remote.dto | 3 domain.model | 4 data.local.dao | 5 data.mapper | 6 data.remote | 7 domain.model.AppError | 8 domain.model.ChartRange | 9 domain.model.Outcome | 10 domain.model.ThemePreference | 11 domain.repository | 12 presentation.designsystem.component.chart | 13 presentation.feature.exchanges.ExchangesViewModel | 14 presentation.feature.market.MarketViewModel | 15 presentation.util | 16 com.thecode.cryptomania | 17 data.local | 18 data.network | 19 data.preferences | 20 data.remote.CoinGeckoApi | 21 domain.usecase | 22 presentation.feature.exchanges | 23 presentation.feature.settings | 24 presentation.model | 25 presentation.util.ScreenContent | 26 presentation.util.SyncStatus | 27 data.repository | 28 domain.usecase.MarketFilter | 29 presentation.designsystem.component | 30 presentation.feature.coin | 31 presentation.feature.market | 32 presentation.feature.search | 33 presentation.feature.settings.SettingsIntent | 34 presentation.model.ChangeUi | 35 di | 36 presentation.designsystem.component.BadgeStyle | 37 presentation.feature.coin.ChartUiState | 38 presentation.feature.coin.CoinDetailIntent | 39 presentation.feature.market.MarketIntent | 40 presentation.feature.search.RemoteResults |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 data.local.entity | ||||||||||||||||||||||||||||||||||||||||
| 2 data.remote.dto | ||||||||||||||||||||||||||||||||||||||||
| 3 domain.model | ||||||||||||||||||||||||||||||||||||||||
| 4 data.local.dao | 7 | |||||||||||||||||||||||||||||||||||||||
| 5 data.mapper | 5 | 8 | ||||||||||||||||||||||||||||||||||||||
| 6 data.remote | 7 | |||||||||||||||||||||||||||||||||||||||
| 7 domain.model.AppError | 7 | |||||||||||||||||||||||||||||||||||||||
| 8 domain.model.ChartRange | 5 | |||||||||||||||||||||||||||||||||||||||
| 9 domain.model.Outcome | 3 | |||||||||||||||||||||||||||||||||||||||
| 10 domain.model.ThemePreference | 3 | |||||||||||||||||||||||||||||||||||||||
| 11 domain.repository | 15 | |||||||||||||||||||||||||||||||||||||||
| 12 presentation.designsystem.component.chart | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 presentation.feature.exchanges.ExchangesViewModel | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 presentation.feature.market.MarketViewModel | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 presentation.util | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 com.thecode.cryptomania | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 17 data.local | 7 | |||||||||||||||||||||||||||||||||||||||
| 18 data.network | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 data.preferences | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 20 data.remote.CoinGeckoApi | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 domain.usecase | 3 | 2 | ||||||||||||||||||||||||||||||||||||||
| 22 presentation.feature.exchanges | 3 | 1 | 3 | |||||||||||||||||||||||||||||||||||||
| 23 presentation.feature.settings | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 24 presentation.model | 1 | |||||||||||||||||||||||||||||||||||||||
| 25 presentation.util.ScreenContent | 1 | 3 | ||||||||||||||||||||||||||||||||||||||
| 26 presentation.util.SyncStatus | 2 | 4 | ||||||||||||||||||||||||||||||||||||||
| 27 data.repository | 13 | 7 | 3 | 5 | 2 | 3 | ||||||||||||||||||||||||||||||||||
| 28 domain.usecase.MarketFilter | 5 | |||||||||||||||||||||||||||||||||||||||
| 29 presentation.designsystem.component | 1 | 2 | 3 | |||||||||||||||||||||||||||||||||||||
| 30 presentation.feature.coin | 11 | 4 | 3 | 3 | ||||||||||||||||||||||||||||||||||||
| 31 presentation.feature.market | 3 | 1 | 3 | 4 | 2 | |||||||||||||||||||||||||||||||||||
| 32 presentation.feature.search | 1 | 2 | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||
| 33 presentation.feature.settings.SettingsIntent | 1 | 4 | ||||||||||||||||||||||||||||||||||||||
| 34 presentation.model.ChangeUi | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 35 di | 7 | 1 | 7 | 1 | 1 | 1 | 5 | |||||||||||||||||||||||||||||||||
| 36 presentation.designsystem.component.BadgeStyle | 2 | |||||||||||||||||||||||||||||||||||||||
| 37 presentation.feature.coin.ChartUiState | 1 | 5 | ||||||||||||||||||||||||||||||||||||||
| 38 presentation.feature.coin.CoinDetailIntent | 1 | 4 | ||||||||||||||||||||||||||||||||||||||
| 39 presentation.feature.market.MarketIntent | 1 | 4 | ||||||||||||||||||||||||||||||||||||||
| 40 presentation.feature.search.RemoteResults | 1 | 5 |
4→1 data.local.dao uses data.local.entity✕
- Connections
- 7 pairs of types, where a type in data.local.dao uses a type in data.local.entity.
- The types involved
com.thecode.cryptomania.data.local.dao.CoinDao→com.thecode.cryptomania.data.local.entity.CoinEntitycom.thecode.cryptomania.data.local.dao.CoinProfileDao→com.thecode.cryptomania.data.local.entity.CoinProfileEntitycom.thecode.cryptomania.data.local.dao.ExchangeDao→com.thecode.cryptomania.data.local.entity.ExchangeEntitycom.thecode.cryptomania.data.local.dao.GlobalMarketDao→com.thecode.cryptomania.data.local.entity.GlobalMarketEntitycom.thecode.cryptomania.data.local.dao.PriceHistoryDao→com.thecode.cryptomania.data.local.entity.PriceHistoryEntitycom.thecode.cryptomania.data.local.dao.TrendingDao→com.thecode.cryptomania.data.local.entity.TrendingEntitycom.thecode.cryptomania.data.local.dao.WatchlistDao→com.thecode.cryptomania.data.local.entity.WatchlistEntity
- Direction
- data.local.dao uses data.local.entity, so a change to data.local.entity can break data.local.dao, while a change to data.local.dao can't break data.local.entity.
- Position
- Below the diagonal: data.local.dao uses a module listed above it, which is the healthy direction.
5→1 data.mapper uses data.local.entity✕
- Connections
- 5 pairs of types, where a type in data.mapper uses a type in data.local.entity.
- The types involved
com.thecode.cryptomania.data.mapper.MappersKt→com.thecode.cryptomania.data.local.entity.CoinEntitycom.thecode.cryptomania.data.mapper.MappersKt→com.thecode.cryptomania.data.local.entity.CoinProfileEntitycom.thecode.cryptomania.data.mapper.MappersKt→com.thecode.cryptomania.data.local.entity.ExchangeEntitycom.thecode.cryptomania.data.mapper.MappersKt→com.thecode.cryptomania.data.local.entity.GlobalMarketEntitycom.thecode.cryptomania.data.mapper.MappersKt→com.thecode.cryptomania.data.local.entity.PriceHistoryEntity
- Direction
- data.mapper uses data.local.entity, so a change to data.local.entity can break data.mapper, while a change to data.mapper can't break data.local.entity.
- Position
- Below the diagonal: data.mapper uses a module listed above it, which is the healthy direction.
5→3 data.mapper uses domain.model✕
- Connections
- 8 pairs of types, where a type in data.mapper uses a type in domain.model.
- The types involved
com.thecode.cryptomania.data.mapper.MappersKt→com.thecode.cryptomania.domain.model.ChartRangecom.thecode.cryptomania.data.mapper.MappersKt→com.thecode.cryptomania.domain.model.Coincom.thecode.cryptomania.data.mapper.MappersKt→com.thecode.cryptomania.domain.model.CoinProfilecom.thecode.cryptomania.data.mapper.MappersKt→com.thecode.cryptomania.domain.model.CoinSearchHitcom.thecode.cryptomania.data.mapper.MappersKt→com.thecode.cryptomania.domain.model.Exchangecom.thecode.cryptomania.data.mapper.MappersKt→com.thecode.cryptomania.domain.model.GlobalMarketcom.thecode.cryptomania.data.mapper.MappersKt→com.thecode.cryptomania.domain.model.PriceHistorycom.thecode.cryptomania.data.mapper.MappersKt→com.thecode.cryptomania.domain.model.PricePoint
- 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.
6→2 data.remote uses data.remote.dto✕
- Connections
- 7 pairs of types, where a type in data.remote uses a type in data.remote.dto.
- The types involved
com.thecode.cryptomania.data.remote.CoinGeckoApi→com.thecode.cryptomania.data.remote.dto.CoinMarketDtocom.thecode.cryptomania.data.remote.CoinGeckoApi→com.thecode.cryptomania.data.remote.dto.CoinProfileDtocom.thecode.cryptomania.data.remote.CoinGeckoApi→com.thecode.cryptomania.data.remote.dto.ExchangeDtocom.thecode.cryptomania.data.remote.CoinGeckoApi→com.thecode.cryptomania.data.remote.dto.GlobalResponseDtocom.thecode.cryptomania.data.remote.CoinGeckoApi→com.thecode.cryptomania.data.remote.dto.MarketChartDtocom.thecode.cryptomania.data.remote.CoinGeckoApi→com.thecode.cryptomania.data.remote.dto.SearchResponseDtocom.thecode.cryptomania.data.remote.CoinGeckoApi→com.thecode.cryptomania.data.remote.dto.TrendingResponseDto
- Direction
- data.remote uses data.remote.dto, so a change to data.remote.dto can break data.remote, while a change to data.remote can't break data.remote.dto.
- Position
- Below the diagonal: data.remote uses a module listed above it, which is the healthy direction.
7→3 domain.model.AppError uses domain.model✕
- Connections
- 7 pairs of types, where a type in domain.model.AppError uses a type in domain.model.
- The types involved
com.thecode.cryptomania.domain.model.AppError.NetworkUnavailable→com.thecode.cryptomania.domain.model.AppErrorcom.thecode.cryptomania.domain.model.AppError.NotFound→com.thecode.cryptomania.domain.model.AppErrorcom.thecode.cryptomania.domain.model.AppError.RateLimited→com.thecode.cryptomania.domain.model.AppErrorcom.thecode.cryptomania.domain.model.AppError.ServerUnavailable→com.thecode.cryptomania.domain.model.AppErrorcom.thecode.cryptomania.domain.model.AppError.Timeout→com.thecode.cryptomania.domain.model.AppErrorcom.thecode.cryptomania.domain.model.AppError.Unauthorized→com.thecode.cryptomania.domain.model.AppErrorcom.thecode.cryptomania.domain.model.AppError.Unknown→com.thecode.cryptomania.domain.model.AppError
- Direction
- domain.model.AppError uses domain.model, so a change to domain.model can break domain.model.AppError, while a change to domain.model.AppError can't break domain.model.
- Position
- Below the diagonal: domain.model.AppError uses a module listed above it, which is the healthy direction.
8→3 domain.model.ChartRange uses domain.model✕
- Connections
- 5 pairs of types, where a type in domain.model.ChartRange uses a type in domain.model.
- The types involved
com.thecode.cryptomania.domain.model.ChartRange.OneDay→com.thecode.cryptomania.domain.model.ChartRangecom.thecode.cryptomania.domain.model.ChartRange.OneMonth→com.thecode.cryptomania.domain.model.ChartRangecom.thecode.cryptomania.domain.model.ChartRange.OneWeek→com.thecode.cryptomania.domain.model.ChartRangecom.thecode.cryptomania.domain.model.ChartRange.OneYear→com.thecode.cryptomania.domain.model.ChartRangecom.thecode.cryptomania.domain.model.ChartRange.ThreeMonths→com.thecode.cryptomania.domain.model.ChartRange
- Direction
- domain.model.ChartRange uses domain.model, so a change to domain.model can break domain.model.ChartRange, while a change to domain.model.ChartRange can't break domain.model.
- Position
- Below the diagonal: domain.model.ChartRange uses a module listed above it, which is the healthy direction.
9→3 domain.model.Outcome uses domain.model✕
- Connections
- 3 pairs of types, where a type in domain.model.Outcome uses a type in domain.model.
- The types involved
com.thecode.cryptomania.domain.model.Outcome.Failure→com.thecode.cryptomania.domain.model.AppErrorcom.thecode.cryptomania.domain.model.Outcome.Failure→com.thecode.cryptomania.domain.model.Outcomecom.thecode.cryptomania.domain.model.Outcome.Success→com.thecode.cryptomania.domain.model.Outcome
- Direction
- domain.model.Outcome uses domain.model, so a change to domain.model can break domain.model.Outcome, while a change to domain.model.Outcome can't break domain.model.
- Position
- Below the diagonal: domain.model.Outcome uses a module listed above it, which is the healthy direction.
10→3 domain.model.ThemePreference uses domain.model✕
- Connections
- 3 pairs of types, where a type in domain.model.ThemePreference uses a type in domain.model.
- The types involved
com.thecode.cryptomania.domain.model.ThemePreference.Dark→com.thecode.cryptomania.domain.model.ThemePreferencecom.thecode.cryptomania.domain.model.ThemePreference.Light→com.thecode.cryptomania.domain.model.ThemePreferencecom.thecode.cryptomania.domain.model.ThemePreference.System→com.thecode.cryptomania.domain.model.ThemePreference
- Direction
- domain.model.ThemePreference uses domain.model, so a change to domain.model can break domain.model.ThemePreference, while a change to domain.model.ThemePreference can't break domain.model.
- Position
- Below the diagonal: domain.model.ThemePreference uses a module listed above it, which is the healthy direction.
11→3 domain.repository uses domain.model✕
- Connections
- 15 pairs of types, where a type in domain.repository uses a type in domain.model.
- The types involved
com.thecode.cryptomania.domain.repository.CoinDetailsRepository→com.thecode.cryptomania.domain.model.Cachedcom.thecode.cryptomania.domain.repository.CoinDetailsRepository→com.thecode.cryptomania.domain.model.ChartRangecom.thecode.cryptomania.domain.repository.CoinDetailsRepository→com.thecode.cryptomania.domain.model.CoinProfilecom.thecode.cryptomania.domain.repository.CoinDetailsRepository→com.thecode.cryptomania.domain.model.Outcomecom.thecode.cryptomania.domain.repository.CoinDetailsRepository→com.thecode.cryptomania.domain.model.PriceHistorycom.thecode.cryptomania.domain.repository.ExchangeRepository→com.thecode.cryptomania.domain.model.Cachedcom.thecode.cryptomania.domain.repository.ExchangeRepository→com.thecode.cryptomania.domain.model.Exchangecom.thecode.cryptomania.domain.repository.ExchangeRepository→com.thecode.cryptomania.domain.model.Outcomecom.thecode.cryptomania.domain.repository.MarketRepository→com.thecode.cryptomania.domain.model.Cachedcom.thecode.cryptomania.domain.repository.MarketRepository→com.thecode.cryptomania.domain.model.Coincom.thecode.cryptomania.domain.repository.MarketRepository→com.thecode.cryptomania.domain.model.CoinSearchHitcom.thecode.cryptomania.domain.repository.MarketRepository→com.thecode.cryptomania.domain.model.GlobalMarketcom.thecode.cryptomania.domain.repository.MarketRepository→com.thecode.cryptomania.domain.model.Outcomecom.thecode.cryptomania.domain.repository.SettingsRepository→com.thecode.cryptomania.domain.model.ThemePreferencecom.thecode.cryptomania.domain.repository.SettingsRepository→com.thecode.cryptomania.domain.model.UserSettings
- 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.
12→3 presentation.designsystem.component.chart uses domain.model✕
- Connections
- 1 pair of types, where a type in presentation.designsystem.component.chart uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.designsystem.component.chart.PriceChartKt→com.thecode.cryptomania.domain.model.PricePoint
- Direction
- presentation.designsystem.component.chart uses domain.model, so a change to domain.model can break presentation.designsystem.component.chart, while a change to presentation.designsystem.component.chart can't break domain.model.
- Position
- Below the diagonal: presentation.designsystem.component.chart uses a module listed above it, which is the healthy direction.
13→3 presentation.feature.exchanges.ExchangesViewModel uses domain.model✕
- Connections
- 1 pair of types, where a type in presentation.feature.exchanges.ExchangesViewModel uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.feature.exchanges.ExchangesViewModel.RefreshState→com.thecode.cryptomania.domain.model.AppError
- Direction
- presentation.feature.exchanges.ExchangesViewModel uses domain.model, so a change to domain.model can break presentation.feature.exchanges.ExchangesViewModel, while a change to presentation.feature.exchanges.ExchangesViewModel can't break domain.model.
- Position
- Below the diagonal: presentation.feature.exchanges.ExchangesViewModel uses a module listed above it, which is the healthy direction.
14→3 presentation.feature.market.MarketViewModel uses domain.model✕
- Connections
- 1 pair of types, where a type in presentation.feature.market.MarketViewModel uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.feature.market.MarketViewModel.RefreshState→com.thecode.cryptomania.domain.model.AppError
- Direction
- presentation.feature.market.MarketViewModel uses domain.model, so a change to domain.model can break presentation.feature.market.MarketViewModel, while a change to presentation.feature.market.MarketViewModel can't break domain.model.
- Position
- Below the diagonal: presentation.feature.market.MarketViewModel uses a module listed above it, which is the healthy direction.
15→3 presentation.util uses domain.model✕
- Connections
- 1 pair of types, where a type in presentation.util uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.util.Formatters→com.thecode.cryptomania.domain.model.ChartRange
- Direction
- presentation.util uses domain.model, so a change to domain.model can break presentation.util, while a change to presentation.util can't break domain.model.
- Position
- Below the diagonal: presentation.util uses a module listed above it, which is the healthy direction.
16→3 com.thecode.cryptomania uses domain.model✕
- Connections
- 1 pair of types, where a type in com.thecode.cryptomania uses a type in domain.model.
- The types involved
com.thecode.cryptomania.MainViewModel→com.thecode.cryptomania.domain.model.UserSettings
- Direction
- com.thecode.cryptomania uses domain.model, so a change to domain.model can break com.thecode.cryptomania, while a change to com.thecode.cryptomania can't break domain.model.
- Position
- Below the diagonal: com.thecode.cryptomania uses a module listed above it, which is the healthy direction.
16→11 com.thecode.cryptomania uses domain.repository✕
- Connections
- 1 pair of types, where a type in com.thecode.cryptomania uses a type in domain.repository.
- The types involved
com.thecode.cryptomania.MainViewModel→com.thecode.cryptomania.domain.repository.SettingsRepository
- Direction
- com.thecode.cryptomania uses domain.repository, so a change to domain.repository can break com.thecode.cryptomania, while a change to com.thecode.cryptomania can't break domain.repository.
- Position
- Below the diagonal: com.thecode.cryptomania uses a module listed above it, which is the healthy direction.
17→4 data.local uses data.local.dao✕
- Connections
- 7 pairs of types, where a type in data.local uses a type in data.local.dao.
- The types involved
com.thecode.cryptomania.data.local.CryptoManiaDatabase→com.thecode.cryptomania.data.local.dao.CoinDaocom.thecode.cryptomania.data.local.CryptoManiaDatabase→com.thecode.cryptomania.data.local.dao.CoinProfileDaocom.thecode.cryptomania.data.local.CryptoManiaDatabase→com.thecode.cryptomania.data.local.dao.ExchangeDaocom.thecode.cryptomania.data.local.CryptoManiaDatabase→com.thecode.cryptomania.data.local.dao.GlobalMarketDaocom.thecode.cryptomania.data.local.CryptoManiaDatabase→com.thecode.cryptomania.data.local.dao.PriceHistoryDaocom.thecode.cryptomania.data.local.CryptoManiaDatabase→com.thecode.cryptomania.data.local.dao.TrendingDaocom.thecode.cryptomania.data.local.CryptoManiaDatabase→com.thecode.cryptomania.data.local.dao.WatchlistDao
- Direction
- data.local uses data.local.dao, so a change to data.local.dao can break data.local, while a change to data.local can't break data.local.dao.
- Position
- Below the diagonal: data.local uses a module listed above it, which is the healthy direction.
18→3 data.network uses domain.model✕
- Connections
- 2 pairs of types, where a type in data.network uses a type in domain.model.
- The types involved
com.thecode.cryptomania.data.network.ErrorMappingKt→com.thecode.cryptomania.domain.model.AppErrorcom.thecode.cryptomania.data.network.RequestCoordinator→com.thecode.cryptomania.domain.model.Outcome
- Direction
- data.network uses domain.model, so a change to domain.model can break data.network, while a change to data.network can't break domain.model.
- Position
- Below the diagonal: data.network uses a module listed above it, which is the healthy direction.
18→11 data.network uses domain.repository✕
- Connections
- 1 pair of types, where a type in data.network uses a type in domain.repository.
- The types involved
com.thecode.cryptomania.data.network.ConnectivityNetworkMonitor→com.thecode.cryptomania.domain.repository.NetworkMonitor
- Direction
- data.network uses domain.repository, so a change to domain.repository can break data.network, while a change to data.network can't break domain.repository.
- Position
- Below the diagonal: data.network uses a module listed above it, which is the healthy direction.
19→3 data.preferences uses domain.model✕
- Connections
- 2 pairs of types, where a type in data.preferences uses a type in domain.model.
- The types involved
com.thecode.cryptomania.data.preferences.DataStoreSettingsRepository→com.thecode.cryptomania.domain.model.ThemePreferencecom.thecode.cryptomania.data.preferences.DataStoreSettingsRepository→com.thecode.cryptomania.domain.model.UserSettings
- Direction
- data.preferences uses domain.model, so a change to domain.model can break data.preferences, while a change to data.preferences can't break domain.model.
- Position
- Below the diagonal: data.preferences uses a module listed above it, which is the healthy direction.
19→11 data.preferences uses domain.repository✕
- Connections
- 1 pair of types, where a type in data.preferences uses a type in domain.repository.
- The types involved
com.thecode.cryptomania.data.preferences.DataStoreSettingsRepository→com.thecode.cryptomania.domain.repository.SettingsRepository
- Direction
- data.preferences uses domain.repository, so a change to domain.repository can break data.preferences, while a change to data.preferences can't break domain.repository.
- Position
- Below the diagonal: data.preferences uses a module listed above it, which is the healthy direction.
20→6 data.remote.CoinGeckoApi uses data.remote✕
- Connections
- 1 pair of types, where a type in data.remote.CoinGeckoApi uses a type in data.remote.
- The types involved
com.thecode.cryptomania.data.remote.CoinGeckoApi.Companion→com.thecode.cryptomania.data.remote.CoinGeckoApi
- Direction
- data.remote.CoinGeckoApi uses data.remote, so a change to data.remote can break data.remote.CoinGeckoApi, while a change to data.remote.CoinGeckoApi can't break data.remote.
- Position
- Below the diagonal: data.remote.CoinGeckoApi uses a module listed above it, which is the healthy direction.
21→3 domain.usecase uses domain.model✕
- Connections
- 3 pairs of types, where a type in domain.usecase uses a type in domain.model.
- The types involved
com.thecode.cryptomania.domain.usecase.MarketOverview→com.thecode.cryptomania.domain.model.Coincom.thecode.cryptomania.domain.usecase.MarketOverview→com.thecode.cryptomania.domain.model.GlobalMarketcom.thecode.cryptomania.domain.usecase.RankLocalSearchUseCase→com.thecode.cryptomania.domain.model.Coin
- Direction
- domain.usecase uses domain.model, so a change to domain.model can break domain.usecase, while a change to domain.usecase can't break domain.model.
- Position
- Below the diagonal: domain.usecase uses a module listed above it, which is the healthy direction.
21→11 domain.usecase uses domain.repository✕
- Connections
- 2 pairs of types, where a type in domain.usecase uses a type in domain.repository.
- The types involved
com.thecode.cryptomania.domain.usecase.ObserveMarketOverviewUseCase→com.thecode.cryptomania.domain.repository.MarketRepositorycom.thecode.cryptomania.domain.usecase.ObserveMarketOverviewUseCase→com.thecode.cryptomania.domain.repository.WatchlistRepository
- Direction
- domain.usecase uses domain.repository, so a change to domain.repository can break domain.usecase, while a change to domain.usecase can't break domain.repository.
- Position
- Below the diagonal: domain.usecase uses a module listed above it, which is the healthy direction.
22→11 presentation.feature.exchanges uses domain.repository✕
- Connections
- 3 pairs of types, where a type in presentation.feature.exchanges uses a type in domain.repository.
- The types involved
com.thecode.cryptomania.presentation.feature.exchanges.ExchangesViewModel→com.thecode.cryptomania.domain.repository.ExchangeRepositorycom.thecode.cryptomania.presentation.feature.exchanges.ExchangesViewModel→com.thecode.cryptomania.domain.repository.MarketRepositorycom.thecode.cryptomania.presentation.feature.exchanges.ExchangesViewModel→com.thecode.cryptomania.domain.repository.NetworkMonitor
- Direction
- presentation.feature.exchanges uses domain.repository, so a change to domain.repository can break presentation.feature.exchanges, while a change to presentation.feature.exchanges can't break domain.repository.
- Position
- Below the diagonal: presentation.feature.exchanges uses a module listed above it, which is the healthy direction.
22→13 presentation.feature.exchanges uses presentation.feature.exchanges.ExchangesViewModel✕
- Connections
- 1 pair of types, where a type in presentation.feature.exchanges uses a type in presentation.feature.exchanges.ExchangesViewModel.
- The types involved
com.thecode.cryptomania.presentation.feature.exchanges.ExchangesViewModel→com.thecode.cryptomania.presentation.feature.exchanges.ExchangesViewModel.RefreshState
- Direction
- presentation.feature.exchanges uses presentation.feature.exchanges.ExchangesViewModel, so a change to presentation.feature.exchanges.ExchangesViewModel can break presentation.feature.exchanges, while a change to presentation.feature.exchanges can't break presentation.feature.exchanges.ExchangesViewModel.
- Position
- Below the diagonal: presentation.feature.exchanges uses a module listed above it, which is the healthy direction.
22→15 presentation.feature.exchanges uses presentation.util✕
- Connections
- 3 pairs of types, where a type in presentation.feature.exchanges uses a type in presentation.util.
- The types involved
com.thecode.cryptomania.presentation.feature.exchanges.ExchangesUiState→com.thecode.cryptomania.presentation.util.ScreenContentcom.thecode.cryptomania.presentation.feature.exchanges.ExchangesUiState→com.thecode.cryptomania.presentation.util.SyncStatuscom.thecode.cryptomania.presentation.feature.exchanges.ExchangesViewModel→com.thecode.cryptomania.presentation.util.Formatters
- Direction
- presentation.feature.exchanges uses presentation.util, so a change to presentation.util can break presentation.feature.exchanges, while a change to presentation.feature.exchanges can't break presentation.util.
- Position
- Below the diagonal: presentation.feature.exchanges uses a module listed above it, which is the healthy direction.
23→3 presentation.feature.settings uses domain.model✕
- Connections
- 1 pair of types, where a type in presentation.feature.settings uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.feature.settings.SettingsUiState→com.thecode.cryptomania.domain.model.UserSettings
- Direction
- presentation.feature.settings uses domain.model, so a change to domain.model can break presentation.feature.settings, while a change to presentation.feature.settings can't break domain.model.
- Position
- Below the diagonal: presentation.feature.settings uses a module listed above it, which is the healthy direction.
23→11 presentation.feature.settings uses domain.repository✕
- Connections
- 2 pairs of types, where a type in presentation.feature.settings uses a type in domain.repository.
- The types involved
com.thecode.cryptomania.presentation.feature.settings.SettingsViewModel→com.thecode.cryptomania.domain.repository.CacheRepositorycom.thecode.cryptomania.presentation.feature.settings.SettingsViewModel→com.thecode.cryptomania.domain.repository.SettingsRepository
- Direction
- presentation.feature.settings uses domain.repository, so a change to domain.repository can break presentation.feature.settings, while a change to presentation.feature.settings can't break domain.repository.
- Position
- Below the diagonal: presentation.feature.settings uses a module listed above it, which is the healthy direction.
24→15 presentation.model uses presentation.util✕
- Connections
- 1 pair of types, where a type in presentation.model uses a type in presentation.util.
- The types involved
com.thecode.cryptomania.presentation.model.UiModelsKt→com.thecode.cryptomania.presentation.util.Formatters
- Direction
- presentation.model uses presentation.util, so a change to presentation.util can break presentation.model, while a change to presentation.model can't break presentation.util.
- Position
- Below the diagonal: presentation.model uses a module listed above it, which is the healthy direction.
25→3 presentation.util.ScreenContent uses domain.model✕
- Connections
- 1 pair of types, where a type in presentation.util.ScreenContent uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.util.ScreenContent.Failed→com.thecode.cryptomania.domain.model.AppError
- Direction
- presentation.util.ScreenContent uses domain.model, so a change to domain.model can break presentation.util.ScreenContent, while a change to presentation.util.ScreenContent can't break domain.model.
- Position
- Below the diagonal: presentation.util.ScreenContent uses a module listed above it, which is the healthy direction.
25→15 presentation.util.ScreenContent uses presentation.util✕
- Connections
- 3 pairs of types, where a type in presentation.util.ScreenContent uses a type in presentation.util.
- The types involved
com.thecode.cryptomania.presentation.util.ScreenContent.Failed→com.thecode.cryptomania.presentation.util.ScreenContentcom.thecode.cryptomania.presentation.util.ScreenContent.Loading→com.thecode.cryptomania.presentation.util.ScreenContentcom.thecode.cryptomania.presentation.util.ScreenContent.Ready→com.thecode.cryptomania.presentation.util.ScreenContent
- Direction
- presentation.util.ScreenContent uses presentation.util, so a change to presentation.util can break presentation.util.ScreenContent, while a change to presentation.util.ScreenContent can't break presentation.util.
- Position
- Below the diagonal: presentation.util.ScreenContent uses a module listed above it, which is the healthy direction.
26→3 presentation.util.SyncStatus uses domain.model✕
- Connections
- 2 pairs of types, where a type in presentation.util.SyncStatus uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.util.SyncStatus.Companion→com.thecode.cryptomania.domain.model.AppErrorcom.thecode.cryptomania.presentation.util.SyncStatus.Degraded→com.thecode.cryptomania.domain.model.AppError
- Direction
- presentation.util.SyncStatus uses domain.model, so a change to domain.model can break presentation.util.SyncStatus, while a change to presentation.util.SyncStatus can't break domain.model.
- Position
- Below the diagonal: presentation.util.SyncStatus uses a module listed above it, which is the healthy direction.
26→15 presentation.util.SyncStatus uses presentation.util✕
- Connections
- 4 pairs of types, where a type in presentation.util.SyncStatus uses a type in presentation.util.
- The types involved
com.thecode.cryptomania.presentation.util.SyncStatus.Companion→com.thecode.cryptomania.presentation.util.SyncStatuscom.thecode.cryptomania.presentation.util.SyncStatus.Degraded→com.thecode.cryptomania.presentation.util.SyncStatuscom.thecode.cryptomania.presentation.util.SyncStatus.Offline→com.thecode.cryptomania.presentation.util.SyncStatuscom.thecode.cryptomania.presentation.util.SyncStatus.UpToDate→com.thecode.cryptomania.presentation.util.SyncStatus
- Direction
- presentation.util.SyncStatus uses presentation.util, so a change to presentation.util can break presentation.util.SyncStatus, while a change to presentation.util.SyncStatus can't break presentation.util.
- Position
- Below the diagonal: presentation.util.SyncStatus uses a module listed above it, which is the healthy direction.
27→3 data.repository uses domain.model✕
- Connections
- 13 pairs of types, where a type in data.repository uses a type in domain.model.
- The types involved
com.thecode.cryptomania.data.repository.OfflineFirstCoinDetailsRepository→com.thecode.cryptomania.domain.model.Cachedcom.thecode.cryptomania.data.repository.OfflineFirstCoinDetailsRepository→com.thecode.cryptomania.domain.model.ChartRangecom.thecode.cryptomania.data.repository.OfflineFirstCoinDetailsRepository→com.thecode.cryptomania.domain.model.CoinProfilecom.thecode.cryptomania.data.repository.OfflineFirstCoinDetailsRepository→com.thecode.cryptomania.domain.model.Outcomecom.thecode.cryptomania.data.repository.OfflineFirstCoinDetailsRepository→com.thecode.cryptomania.domain.model.PriceHistorycom.thecode.cryptomania.data.repository.OfflineFirstExchangeRepository→com.thecode.cryptomania.domain.model.Cachedcom.thecode.cryptomania.data.repository.OfflineFirstExchangeRepository→com.thecode.cryptomania.domain.model.Exchangecom.thecode.cryptomania.data.repository.OfflineFirstExchangeRepository→com.thecode.cryptomania.domain.model.Outcomecom.thecode.cryptomania.data.repository.OfflineFirstMarketRepository→com.thecode.cryptomania.domain.model.Cachedcom.thecode.cryptomania.data.repository.OfflineFirstMarketRepository→com.thecode.cryptomania.domain.model.Coincom.thecode.cryptomania.data.repository.OfflineFirstMarketRepository→com.thecode.cryptomania.domain.model.CoinSearchHitcom.thecode.cryptomania.data.repository.OfflineFirstMarketRepository→com.thecode.cryptomania.domain.model.GlobalMarketcom.thecode.cryptomania.data.repository.OfflineFirstMarketRepository→com.thecode.cryptomania.domain.model.Outcome
- 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.
27→4 data.repository uses data.local.dao✕
- Connections
- 7 pairs of types, where a type in data.repository uses a type in data.local.dao.
- The types involved
com.thecode.cryptomania.data.repository.OfflineFirstCoinDetailsRepository→com.thecode.cryptomania.data.local.dao.CoinProfileDaocom.thecode.cryptomania.data.repository.OfflineFirstCoinDetailsRepository→com.thecode.cryptomania.data.local.dao.PriceHistoryDaocom.thecode.cryptomania.data.repository.OfflineFirstExchangeRepository→com.thecode.cryptomania.data.local.dao.ExchangeDaocom.thecode.cryptomania.data.repository.OfflineFirstMarketRepository→com.thecode.cryptomania.data.local.dao.CoinDaocom.thecode.cryptomania.data.repository.OfflineFirstMarketRepository→com.thecode.cryptomania.data.local.dao.GlobalMarketDaocom.thecode.cryptomania.data.repository.OfflineFirstMarketRepository→com.thecode.cryptomania.data.local.dao.TrendingDaocom.thecode.cryptomania.data.repository.RoomWatchlistRepository→com.thecode.cryptomania.data.local.dao.WatchlistDao
- Direction
- data.repository uses data.local.dao, so a change to data.local.dao can break data.repository, while a change to data.repository can't break data.local.dao.
- Position
- Below the diagonal: data.repository uses a module listed above it, which is the healthy direction.
27→6 data.repository uses data.remote✕
- Connections
- 3 pairs of types, where a type in data.repository uses a type in data.remote.
- The types involved
com.thecode.cryptomania.data.repository.OfflineFirstCoinDetailsRepository→com.thecode.cryptomania.data.remote.CoinGeckoApicom.thecode.cryptomania.data.repository.OfflineFirstExchangeRepository→com.thecode.cryptomania.data.remote.CoinGeckoApicom.thecode.cryptomania.data.repository.OfflineFirstMarketRepository→com.thecode.cryptomania.data.remote.CoinGeckoApi
- Direction
- data.repository uses data.remote, so a change to data.remote can break data.repository, while a change to data.repository can't break data.remote.
- Position
- Below the diagonal: data.repository uses a module listed above it, which is the healthy direction.
27→11 data.repository uses domain.repository✕
- Connections
- 5 pairs of types, where a type in data.repository uses a type in domain.repository.
- The types involved
com.thecode.cryptomania.data.repository.OfflineFirstCoinDetailsRepository→com.thecode.cryptomania.domain.repository.CoinDetailsRepositorycom.thecode.cryptomania.data.repository.OfflineFirstExchangeRepository→com.thecode.cryptomania.domain.repository.ExchangeRepositorycom.thecode.cryptomania.data.repository.OfflineFirstMarketRepository→com.thecode.cryptomania.domain.repository.MarketRepositorycom.thecode.cryptomania.data.repository.RoomCacheRepository→com.thecode.cryptomania.domain.repository.CacheRepositorycom.thecode.cryptomania.data.repository.RoomWatchlistRepository→com.thecode.cryptomania.domain.repository.WatchlistRepository
- 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.
27→17 data.repository uses data.local✕
- Connections
- 2 pairs of types, where a type in data.repository uses a type in data.local.
- The types involved
com.thecode.cryptomania.data.repository.RoomCacheRepository→com.thecode.cryptomania.data.local.CryptoManiaDatabasecom.thecode.cryptomania.data.repository.RoomWatchlistRepository→com.thecode.cryptomania.data.local.CryptoManiaDatabase
- Direction
- data.repository uses data.local, so a change to data.local can break data.repository, while a change to data.repository can't break data.local.
- Position
- Below the diagonal: data.repository uses a module listed above it, which is the healthy direction.
27→18 data.repository uses data.network✕
- Connections
- 3 pairs of types, where a type in data.repository uses a type in data.network.
- The types involved
com.thecode.cryptomania.data.repository.OfflineFirstCoinDetailsRepository→com.thecode.cryptomania.data.network.RequestCoordinatorcom.thecode.cryptomania.data.repository.OfflineFirstExchangeRepository→com.thecode.cryptomania.data.network.RequestCoordinatorcom.thecode.cryptomania.data.repository.OfflineFirstMarketRepository→com.thecode.cryptomania.data.network.RequestCoordinator
- Direction
- data.repository uses data.network, so a change to data.network can break data.repository, while a change to data.repository can't break data.network.
- Position
- Below the diagonal: data.repository uses a module listed above it, which is the healthy direction.
28→21 domain.usecase.MarketFilter uses domain.usecase✕
- Connections
- 5 pairs of types, where a type in domain.usecase.MarketFilter uses a type in domain.usecase.
- The types involved
com.thecode.cryptomania.domain.usecase.MarketFilter.All→com.thecode.cryptomania.domain.usecase.MarketFiltercom.thecode.cryptomania.domain.usecase.MarketFilter.Gainers→com.thecode.cryptomania.domain.usecase.MarketFiltercom.thecode.cryptomania.domain.usecase.MarketFilter.Hot→com.thecode.cryptomania.domain.usecase.MarketFiltercom.thecode.cryptomania.domain.usecase.MarketFilter.Losers→com.thecode.cryptomania.domain.usecase.MarketFiltercom.thecode.cryptomania.domain.usecase.MarketFilter.Watchlist→com.thecode.cryptomania.domain.usecase.MarketFilter
- Direction
- domain.usecase.MarketFilter uses domain.usecase, so a change to domain.usecase can break domain.usecase.MarketFilter, while a change to domain.usecase.MarketFilter can't break domain.usecase.
- Position
- Below the diagonal: domain.usecase.MarketFilter uses a module listed above it, which is the healthy direction.
29→3 presentation.designsystem.component uses domain.model✕
- Connections
- 1 pair of types, where a type in presentation.designsystem.component uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.designsystem.component.StatesKt→com.thecode.cryptomania.domain.model.AppError
- Direction
- presentation.designsystem.component uses domain.model, so a change to domain.model can break presentation.designsystem.component, while a change to presentation.designsystem.component can't break domain.model.
- Position
- Below the diagonal: presentation.designsystem.component uses a module listed above it, which is the healthy direction.
29→15 presentation.designsystem.component uses presentation.util✕
- Connections
- 2 pairs of types, where a type in presentation.designsystem.component uses a type in presentation.util.
- The types involved
com.thecode.cryptomania.presentation.designsystem.component.StatesKt→com.thecode.cryptomania.presentation.util.SyncStatuscom.thecode.cryptomania.presentation.designsystem.component.WaveKt→com.thecode.cryptomania.presentation.util.SyncStatus
- Direction
- presentation.designsystem.component uses presentation.util, so a change to presentation.util can break presentation.designsystem.component, while a change to presentation.designsystem.component can't break presentation.util.
- Position
- Below the diagonal: presentation.designsystem.component uses a module listed above it, which is the healthy direction.
29→24 presentation.designsystem.component uses presentation.model✕
- Connections
- 3 pairs of types, where a type in presentation.designsystem.component uses a type in presentation.model.
- The types involved
com.thecode.cryptomania.presentation.designsystem.component.ComponentPreviewsKt→com.thecode.cryptomania.presentation.model.CoinRowUicom.thecode.cryptomania.presentation.designsystem.component.CryptoListItemKt→com.thecode.cryptomania.presentation.model.CoinRowUicom.thecode.cryptomania.presentation.designsystem.component.PriceKt→com.thecode.cryptomania.presentation.model.ChangeUi
- Direction
- presentation.designsystem.component uses presentation.model, so a change to presentation.model can break presentation.designsystem.component, while a change to presentation.designsystem.component can't break presentation.model.
- Position
- Below the diagonal: presentation.designsystem.component uses a module listed above it, which is the healthy direction.
30→3 presentation.feature.coin uses domain.model✕
- Connections
- 11 pairs of types, where a type in presentation.feature.coin uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.feature.coin.ChartUi→com.thecode.cryptomania.domain.model.ChartRangecom.thecode.cryptomania.presentation.feature.coin.ChartUi→com.thecode.cryptomania.domain.model.PricePointcom.thecode.cryptomania.presentation.feature.coin.CoinDetailContent→com.thecode.cryptomania.domain.model.CoinProfilecom.thecode.cryptomania.presentation.feature.coin.CoinDetailScreenKt→com.thecode.cryptomania.domain.model.CoinProfilecom.thecode.cryptomania.presentation.feature.coin.CoinDetailScreenKt→com.thecode.cryptomania.domain.model.PricePointcom.thecode.cryptomania.presentation.feature.coin.CoinDetailUiState→com.thecode.cryptomania.domain.model.ChartRangecom.thecode.cryptomania.presentation.feature.coin.CoinDetailViewModel→com.thecode.cryptomania.domain.model.AppErrorcom.thecode.cryptomania.presentation.feature.coin.CoinDetailViewModel→com.thecode.cryptomania.domain.model.Cachedcom.thecode.cryptomania.presentation.feature.coin.CoinDetailViewModel→com.thecode.cryptomania.domain.model.ChartRangecom.thecode.cryptomania.presentation.feature.coin.CoinDetailViewModel→com.thecode.cryptomania.domain.model.CoinProfilecom.thecode.cryptomania.presentation.feature.coin.CoinDetailViewModel→com.thecode.cryptomania.domain.model.PriceHistory
- Direction
- presentation.feature.coin uses domain.model, so a change to domain.model can break presentation.feature.coin, while a change to presentation.feature.coin can't break domain.model.
- Position
- Below the diagonal: presentation.feature.coin uses a module listed above it, which is the healthy direction.
30→11 presentation.feature.coin uses domain.repository✕
- Connections
- 4 pairs of types, where a type in presentation.feature.coin uses a type in domain.repository.
- The types involved
com.thecode.cryptomania.presentation.feature.coin.CoinDetailViewModel→com.thecode.cryptomania.domain.repository.CoinDetailsRepositorycom.thecode.cryptomania.presentation.feature.coin.CoinDetailViewModel→com.thecode.cryptomania.domain.repository.MarketRepositorycom.thecode.cryptomania.presentation.feature.coin.CoinDetailViewModel→com.thecode.cryptomania.domain.repository.NetworkMonitorcom.thecode.cryptomania.presentation.feature.coin.CoinDetailViewModel→com.thecode.cryptomania.domain.repository.WatchlistRepository
- Direction
- presentation.feature.coin uses domain.repository, so a change to domain.repository can break presentation.feature.coin, while a change to presentation.feature.coin can't break domain.repository.
- Position
- Below the diagonal: presentation.feature.coin uses a module listed above it, which is the healthy direction.
30→15 presentation.feature.coin uses presentation.util✕
- Connections
- 3 pairs of types, where a type in presentation.feature.coin uses a type in presentation.util.
- The types involved
com.thecode.cryptomania.presentation.feature.coin.CoinDetailUiState→com.thecode.cryptomania.presentation.util.ScreenContentcom.thecode.cryptomania.presentation.feature.coin.CoinDetailUiState→com.thecode.cryptomania.presentation.util.SyncStatuscom.thecode.cryptomania.presentation.feature.coin.CoinDetailViewModel→com.thecode.cryptomania.presentation.util.Formatters
- Direction
- presentation.feature.coin uses presentation.util, so a change to presentation.util can break presentation.feature.coin, while a change to presentation.feature.coin can't break presentation.util.
- Position
- Below the diagonal: presentation.feature.coin uses a module listed above it, which is the healthy direction.
30→24 presentation.feature.coin uses presentation.model✕
- Connections
- 3 pairs of types, where a type in presentation.feature.coin uses a type in presentation.model.
- The types involved
com.thecode.cryptomania.presentation.feature.coin.ChartUi→com.thecode.cryptomania.presentation.model.ChangeUicom.thecode.cryptomania.presentation.feature.coin.ChartUi→com.thecode.cryptomania.presentation.model.Trendcom.thecode.cryptomania.presentation.feature.coin.CoinDetailContent→com.thecode.cryptomania.presentation.model.ChangeUi
- Direction
- presentation.feature.coin uses presentation.model, so a change to presentation.model can break presentation.feature.coin, while a change to presentation.feature.coin can't break presentation.model.
- Position
- Below the diagonal: presentation.feature.coin uses a module listed above it, which is the healthy direction.
31→11 presentation.feature.market uses domain.repository✕
- Connections
- 3 pairs of types, where a type in presentation.feature.market uses a type in domain.repository.
- The types involved
com.thecode.cryptomania.presentation.feature.market.MarketViewModel→com.thecode.cryptomania.domain.repository.MarketRepositorycom.thecode.cryptomania.presentation.feature.market.MarketViewModel→com.thecode.cryptomania.domain.repository.NetworkMonitorcom.thecode.cryptomania.presentation.feature.market.MarketViewModel→com.thecode.cryptomania.domain.repository.WatchlistRepository
- Direction
- presentation.feature.market uses domain.repository, so a change to domain.repository can break presentation.feature.market, while a change to presentation.feature.market can't break domain.repository.
- Position
- Below the diagonal: presentation.feature.market uses a module listed above it, which is the healthy direction.
31→14 presentation.feature.market uses presentation.feature.market.MarketViewModel✕
- Connections
- 1 pair of types, where a type in presentation.feature.market uses a type in presentation.feature.market.MarketViewModel.
- The types involved
com.thecode.cryptomania.presentation.feature.market.MarketViewModel→com.thecode.cryptomania.presentation.feature.market.MarketViewModel.RefreshState
- Direction
- presentation.feature.market uses presentation.feature.market.MarketViewModel, so a change to presentation.feature.market.MarketViewModel can break presentation.feature.market, while a change to presentation.feature.market can't break presentation.feature.market.MarketViewModel.
- Position
- Below the diagonal: presentation.feature.market uses a module listed above it, which is the healthy direction.
31→15 presentation.feature.market uses presentation.util✕
- Connections
- 3 pairs of types, where a type in presentation.feature.market uses a type in presentation.util.
- The types involved
com.thecode.cryptomania.presentation.feature.market.MarketUiState→com.thecode.cryptomania.presentation.util.ScreenContentcom.thecode.cryptomania.presentation.feature.market.MarketUiState→com.thecode.cryptomania.presentation.util.SyncStatuscom.thecode.cryptomania.presentation.feature.market.MarketViewModel→com.thecode.cryptomania.presentation.util.Formatters
- Direction
- presentation.feature.market uses presentation.util, so a change to presentation.util can break presentation.feature.market, while a change to presentation.feature.market can't break presentation.util.
- Position
- Below the diagonal: presentation.feature.market uses a module listed above it, which is the healthy direction.
31→21 presentation.feature.market uses domain.usecase✕
- Connections
- 4 pairs of types, where a type in presentation.feature.market uses a type in domain.usecase.
- The types involved
com.thecode.cryptomania.presentation.feature.market.MarketScreenKt→com.thecode.cryptomania.domain.usecase.MarketFiltercom.thecode.cryptomania.presentation.feature.market.MarketUiState→com.thecode.cryptomania.domain.usecase.MarketFiltercom.thecode.cryptomania.presentation.feature.market.MarketViewModel→com.thecode.cryptomania.domain.usecase.MarketFiltercom.thecode.cryptomania.presentation.feature.market.MarketViewModel→com.thecode.cryptomania.domain.usecase.ObserveMarketOverviewUseCase
- Direction
- presentation.feature.market uses domain.usecase, so a change to domain.usecase can break presentation.feature.market, while a change to presentation.feature.market can't break domain.usecase.
- Position
- Below the diagonal: presentation.feature.market uses a module listed above it, which is the healthy direction.
31→24 presentation.feature.market uses presentation.model✕
- Connections
- 2 pairs of types, where a type in presentation.feature.market uses a type in presentation.model.
- The types involved
com.thecode.cryptomania.presentation.feature.market.GlobalMarketUi→com.thecode.cryptomania.presentation.model.ChangeUicom.thecode.cryptomania.presentation.feature.market.MarketContent→com.thecode.cryptomania.presentation.model.CoinRowUi
- Direction
- presentation.feature.market uses presentation.model, so a change to presentation.model can break presentation.feature.market, while a change to presentation.feature.market can't break presentation.model.
- Position
- Below the diagonal: presentation.feature.market uses a module listed above it, which is the healthy direction.
32→3 presentation.feature.search uses domain.model✕
- Connections
- 1 pair of types, where a type in presentation.feature.search uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.feature.search.SearchViewModel→com.thecode.cryptomania.domain.model.Coin
- Direction
- presentation.feature.search uses domain.model, so a change to domain.model can break presentation.feature.search, while a change to presentation.feature.search can't break domain.model.
- Position
- Below the diagonal: presentation.feature.search uses a module listed above it, which is the healthy direction.
32→11 presentation.feature.search uses domain.repository✕
- Connections
- 2 pairs of types, where a type in presentation.feature.search uses a type in domain.repository.
- The types involved
com.thecode.cryptomania.presentation.feature.search.SearchViewModel→com.thecode.cryptomania.domain.repository.MarketRepositorycom.thecode.cryptomania.presentation.feature.search.SearchViewModel→com.thecode.cryptomania.domain.repository.SettingsRepository
- Direction
- presentation.feature.search uses domain.repository, so a change to domain.repository can break presentation.feature.search, while a change to presentation.feature.search can't break domain.repository.
- Position
- Below the diagonal: presentation.feature.search uses a module listed above it, which is the healthy direction.
32→15 presentation.feature.search uses presentation.util✕
- Connections
- 1 pair of types, where a type in presentation.feature.search uses a type in presentation.util.
- The types involved
com.thecode.cryptomania.presentation.feature.search.SearchViewModel→com.thecode.cryptomania.presentation.util.Formatters
- Direction
- presentation.feature.search uses presentation.util, so a change to presentation.util can break presentation.feature.search, while a change to presentation.feature.search can't break presentation.util.
- Position
- Below the diagonal: presentation.feature.search uses a module listed above it, which is the healthy direction.
32→21 presentation.feature.search uses domain.usecase✕
- Connections
- 1 pair of types, where a type in presentation.feature.search uses a type in domain.usecase.
- The types involved
com.thecode.cryptomania.presentation.feature.search.SearchViewModel→com.thecode.cryptomania.domain.usecase.RankLocalSearchUseCase
- Direction
- presentation.feature.search uses domain.usecase, so a change to domain.usecase can break presentation.feature.search, while a change to presentation.feature.search can't break domain.usecase.
- Position
- Below the diagonal: presentation.feature.search uses a module listed above it, which is the healthy direction.
32→24 presentation.feature.search uses presentation.model✕
- Connections
- 2 pairs of types, where a type in presentation.feature.search uses a type in presentation.model.
- The types involved
com.thecode.cryptomania.presentation.feature.search.SearchUiState→com.thecode.cryptomania.presentation.model.CoinRowUicom.thecode.cryptomania.presentation.feature.search.SearchViewModel→com.thecode.cryptomania.presentation.model.CoinRowUi
- Direction
- presentation.feature.search uses presentation.model, so a change to presentation.model can break presentation.feature.search, while a change to presentation.feature.search can't break presentation.model.
- Position
- Below the diagonal: presentation.feature.search uses a module listed above it, which is the healthy direction.
33→3 presentation.feature.settings.SettingsIntent uses domain.model✕
- Connections
- 1 pair of types, where a type in presentation.feature.settings.SettingsIntent uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.feature.settings.SettingsIntent.ThemeSelected→com.thecode.cryptomania.domain.model.ThemePreference
- Direction
- presentation.feature.settings.SettingsIntent uses domain.model, so a change to domain.model can break presentation.feature.settings.SettingsIntent, while a change to presentation.feature.settings.SettingsIntent can't break domain.model.
- Position
- Below the diagonal: presentation.feature.settings.SettingsIntent uses a module listed above it, which is the healthy direction.
33→23 presentation.feature.settings.SettingsIntent uses presentation.feature.settings✕
- Connections
- 4 pairs of types, where a type in presentation.feature.settings.SettingsIntent uses a type in presentation.feature.settings.
- The types involved
com.thecode.cryptomania.presentation.feature.settings.SettingsIntent.ClearCache→com.thecode.cryptomania.presentation.feature.settings.SettingsIntentcom.thecode.cryptomania.presentation.feature.settings.SettingsIntent.ClearRecentSearches→com.thecode.cryptomania.presentation.feature.settings.SettingsIntentcom.thecode.cryptomania.presentation.feature.settings.SettingsIntent.ColorBlindToggled→com.thecode.cryptomania.presentation.feature.settings.SettingsIntentcom.thecode.cryptomania.presentation.feature.settings.SettingsIntent.ThemeSelected→com.thecode.cryptomania.presentation.feature.settings.SettingsIntent
- Direction
- presentation.feature.settings.SettingsIntent uses presentation.feature.settings, so a change to presentation.feature.settings can break presentation.feature.settings.SettingsIntent, while a change to presentation.feature.settings.SettingsIntent can't break presentation.feature.settings.
- Position
- Below the diagonal: presentation.feature.settings.SettingsIntent uses a module listed above it, which is the healthy direction.
34→15 presentation.model.ChangeUi uses presentation.util✕
- Connections
- 1 pair of types, where a type in presentation.model.ChangeUi uses a type in presentation.util.
- The types involved
com.thecode.cryptomania.presentation.model.ChangeUi.Companion→com.thecode.cryptomania.presentation.util.Formatters
- Direction
- presentation.model.ChangeUi uses presentation.util, so a change to presentation.util can break presentation.model.ChangeUi, while a change to presentation.model.ChangeUi can't break presentation.util.
- Position
- Below the diagonal: presentation.model.ChangeUi uses a module listed above it, which is the healthy direction.
34→24 presentation.model.ChangeUi uses presentation.model✕
- Connections
- 1 pair of types, where a type in presentation.model.ChangeUi uses a type in presentation.model.
- The types involved
com.thecode.cryptomania.presentation.model.ChangeUi.Companion→com.thecode.cryptomania.presentation.model.ChangeUi
- Direction
- presentation.model.ChangeUi uses presentation.model, so a change to presentation.model can break presentation.model.ChangeUi, while a change to presentation.model.ChangeUi can't break presentation.model.
- Position
- Below the diagonal: presentation.model.ChangeUi uses a module listed above it, which is the healthy direction.
35→4 di uses data.local.dao✕
- Connections
- 7 pairs of types, where a type in di uses a type in data.local.dao.
- The types involved
com.thecode.cryptomania.di.AppModule→com.thecode.cryptomania.data.local.dao.CoinDaocom.thecode.cryptomania.di.AppModule→com.thecode.cryptomania.data.local.dao.CoinProfileDaocom.thecode.cryptomania.di.AppModule→com.thecode.cryptomania.data.local.dao.ExchangeDaocom.thecode.cryptomania.di.AppModule→com.thecode.cryptomania.data.local.dao.GlobalMarketDaocom.thecode.cryptomania.di.AppModule→com.thecode.cryptomania.data.local.dao.PriceHistoryDaocom.thecode.cryptomania.di.AppModule→com.thecode.cryptomania.data.local.dao.TrendingDaocom.thecode.cryptomania.di.AppModule→com.thecode.cryptomania.data.local.dao.WatchlistDao
- Direction
- di uses data.local.dao, so a change to data.local.dao can break di, while a change to di can't break data.local.dao.
- Position
- Below the diagonal: di uses a module listed above it, which is the healthy direction.
35→6 di uses data.remote✕
- Connections
- 1 pair of types, where a type in di uses a type in data.remote.
- The types involved
com.thecode.cryptomania.di.AppModule→com.thecode.cryptomania.data.remote.CoinGeckoApi
- Direction
- di uses data.remote, so a change to data.remote can break di, while a change to di can't break data.remote.
- Position
- Below the diagonal: di uses a module listed above it, which is the healthy direction.
35→11 di uses domain.repository✕
- Connections
- 7 pairs of types, where a type in di uses a type in domain.repository.
- The types involved
com.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.domain.repository.CacheRepositorycom.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.domain.repository.CoinDetailsRepositorycom.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.domain.repository.ExchangeRepositorycom.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.domain.repository.MarketRepositorycom.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.domain.repository.NetworkMonitorcom.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.domain.repository.SettingsRepositorycom.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.domain.repository.WatchlistRepository
- Direction
- di uses domain.repository, so a change to domain.repository can break di, while a change to di can't break domain.repository.
- Position
- Below the diagonal: di uses a module listed above it, which is the healthy direction.
35→17 di uses data.local✕
- Connections
- 1 pair of types, where a type in di uses a type in data.local.
- The types involved
com.thecode.cryptomania.di.AppModule→com.thecode.cryptomania.data.local.CryptoManiaDatabase
- Direction
- di uses data.local, so a change to data.local can break di, while a change to di can't break data.local.
- Position
- Below the diagonal: di uses a module listed above it, which is the healthy direction.
35→18 di uses data.network✕
- Connections
- 1 pair of types, where a type in di uses a type in data.network.
- The types involved
com.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.data.network.ConnectivityNetworkMonitor
- Direction
- di uses data.network, so a change to data.network can break di, while a change to di can't break data.network.
- Position
- Below the diagonal: di uses a module listed above it, which is the healthy direction.
35→19 di uses data.preferences✕
- Connections
- 1 pair of types, where a type in di uses a type in data.preferences.
- The types involved
com.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.data.preferences.DataStoreSettingsRepository
- Direction
- di uses data.preferences, so a change to data.preferences can break di, while a change to di can't break data.preferences.
- Position
- Below the diagonal: di uses a module listed above it, which is the healthy direction.
35→27 di uses data.repository✕
- Connections
- 5 pairs of types, where a type in di uses a type in data.repository.
- The types involved
com.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.data.repository.OfflineFirstCoinDetailsRepositorycom.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.data.repository.OfflineFirstExchangeRepositorycom.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.data.repository.OfflineFirstMarketRepositorycom.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.data.repository.RoomCacheRepositorycom.thecode.cryptomania.di.RepositoryModule→com.thecode.cryptomania.data.repository.RoomWatchlistRepository
- Direction
- di uses data.repository, so a change to data.repository can break di, while a change to di can't break data.repository.
- Position
- Below the diagonal: di uses a module listed above it, which is the healthy direction.
36→29 presentation.designsystem.component.BadgeStyle uses presentation.designsystem.component✕
- Connections
- 2 pairs of types, where a type in presentation.designsystem.component.BadgeStyle uses a type in presentation.designsystem.component.
- The types involved
com.thecode.cryptomania.presentation.designsystem.component.BadgeStyle.Filled→com.thecode.cryptomania.presentation.designsystem.component.BadgeStylecom.thecode.cryptomania.presentation.designsystem.component.BadgeStyle.Plain→com.thecode.cryptomania.presentation.designsystem.component.BadgeStyle
- Direction
- presentation.designsystem.component.BadgeStyle uses presentation.designsystem.component, so a change to presentation.designsystem.component can break presentation.designsystem.component.BadgeStyle, while a change to presentation.designsystem.component.BadgeStyle can't break presentation.designsystem.component.
- Position
- Below the diagonal: presentation.designsystem.component.BadgeStyle uses a module listed above it, which is the healthy direction.
37→3 presentation.feature.coin.ChartUiState uses domain.model✕
- Connections
- 1 pair of types, where a type in presentation.feature.coin.ChartUiState uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.feature.coin.ChartUiState.Failed→com.thecode.cryptomania.domain.model.AppError
- Direction
- presentation.feature.coin.ChartUiState uses domain.model, so a change to domain.model can break presentation.feature.coin.ChartUiState, while a change to presentation.feature.coin.ChartUiState can't break domain.model.
- Position
- Below the diagonal: presentation.feature.coin.ChartUiState uses a module listed above it, which is the healthy direction.
37→30 presentation.feature.coin.ChartUiState uses presentation.feature.coin✕
- Connections
- 5 pairs of types, where a type in presentation.feature.coin.ChartUiState uses a type in presentation.feature.coin.
- The types involved
com.thecode.cryptomania.presentation.feature.coin.ChartUiState.Empty→com.thecode.cryptomania.presentation.feature.coin.ChartUiStatecom.thecode.cryptomania.presentation.feature.coin.ChartUiState.Failed→com.thecode.cryptomania.presentation.feature.coin.ChartUiStatecom.thecode.cryptomania.presentation.feature.coin.ChartUiState.Loading→com.thecode.cryptomania.presentation.feature.coin.ChartUiStatecom.thecode.cryptomania.presentation.feature.coin.ChartUiState.Ready→com.thecode.cryptomania.presentation.feature.coin.ChartUicom.thecode.cryptomania.presentation.feature.coin.ChartUiState.Ready→com.thecode.cryptomania.presentation.feature.coin.ChartUiState
- Direction
- presentation.feature.coin.ChartUiState uses presentation.feature.coin, so a change to presentation.feature.coin can break presentation.feature.coin.ChartUiState, while a change to presentation.feature.coin.ChartUiState can't break presentation.feature.coin.
- Position
- Below the diagonal: presentation.feature.coin.ChartUiState uses a module listed above it, which is the healthy direction.
38→3 presentation.feature.coin.CoinDetailIntent uses domain.model✕
- Connections
- 1 pair of types, where a type in presentation.feature.coin.CoinDetailIntent uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.feature.coin.CoinDetailIntent.RangeSelected→com.thecode.cryptomania.domain.model.ChartRange
- Direction
- presentation.feature.coin.CoinDetailIntent uses domain.model, so a change to domain.model can break presentation.feature.coin.CoinDetailIntent, while a change to presentation.feature.coin.CoinDetailIntent can't break domain.model.
- Position
- Below the diagonal: presentation.feature.coin.CoinDetailIntent uses a module listed above it, which is the healthy direction.
38→30 presentation.feature.coin.CoinDetailIntent uses presentation.feature.coin✕
- Connections
- 4 pairs of types, where a type in presentation.feature.coin.CoinDetailIntent uses a type in presentation.feature.coin.
- The types involved
com.thecode.cryptomania.presentation.feature.coin.CoinDetailIntent.RangeSelected→com.thecode.cryptomania.presentation.feature.coin.CoinDetailIntentcom.thecode.cryptomania.presentation.feature.coin.CoinDetailIntent.Retry→com.thecode.cryptomania.presentation.feature.coin.CoinDetailIntentcom.thecode.cryptomania.presentation.feature.coin.CoinDetailIntent.ScreenResumed→com.thecode.cryptomania.presentation.feature.coin.CoinDetailIntentcom.thecode.cryptomania.presentation.feature.coin.CoinDetailIntent.ToggleWatchlist→com.thecode.cryptomania.presentation.feature.coin.CoinDetailIntent
- Direction
- presentation.feature.coin.CoinDetailIntent uses presentation.feature.coin, so a change to presentation.feature.coin can break presentation.feature.coin.CoinDetailIntent, while a change to presentation.feature.coin.CoinDetailIntent can't break presentation.feature.coin.
- Position
- Below the diagonal: presentation.feature.coin.CoinDetailIntent uses a module listed above it, which is the healthy direction.
39→21 presentation.feature.market.MarketIntent uses domain.usecase✕
- Connections
- 1 pair of types, where a type in presentation.feature.market.MarketIntent uses a type in domain.usecase.
- The types involved
com.thecode.cryptomania.presentation.feature.market.MarketIntent.FilterSelected→com.thecode.cryptomania.domain.usecase.MarketFilter
- Direction
- presentation.feature.market.MarketIntent uses domain.usecase, so a change to domain.usecase can break presentation.feature.market.MarketIntent, while a change to presentation.feature.market.MarketIntent can't break domain.usecase.
- Position
- Below the diagonal: presentation.feature.market.MarketIntent uses a module listed above it, which is the healthy direction.
39→31 presentation.feature.market.MarketIntent uses presentation.feature.market✕
- Connections
- 4 pairs of types, where a type in presentation.feature.market.MarketIntent uses a type in presentation.feature.market.
- The types involved
com.thecode.cryptomania.presentation.feature.market.MarketIntent.FilterSelected→com.thecode.cryptomania.presentation.feature.market.MarketIntentcom.thecode.cryptomania.presentation.feature.market.MarketIntent.Refresh→com.thecode.cryptomania.presentation.feature.market.MarketIntentcom.thecode.cryptomania.presentation.feature.market.MarketIntent.ScreenResumed→com.thecode.cryptomania.presentation.feature.market.MarketIntentcom.thecode.cryptomania.presentation.feature.market.MarketIntent.ToggleWatchlist→com.thecode.cryptomania.presentation.feature.market.MarketIntent
- Direction
- presentation.feature.market.MarketIntent uses presentation.feature.market, so a change to presentation.feature.market can break presentation.feature.market.MarketIntent, while a change to presentation.feature.market.MarketIntent can't break presentation.feature.market.
- Position
- Below the diagonal: presentation.feature.market.MarketIntent uses a module listed above it, which is the healthy direction.
40→3 presentation.feature.search.RemoteResults uses domain.model✕
- Connections
- 1 pair of types, where a type in presentation.feature.search.RemoteResults uses a type in domain.model.
- The types involved
com.thecode.cryptomania.presentation.feature.search.RemoteResults.Failed→com.thecode.cryptomania.domain.model.AppError
- Direction
- presentation.feature.search.RemoteResults uses domain.model, so a change to domain.model can break presentation.feature.search.RemoteResults, while a change to presentation.feature.search.RemoteResults can't break domain.model.
- Position
- Below the diagonal: presentation.feature.search.RemoteResults uses a module listed above it, which is the healthy direction.
40→32 presentation.feature.search.RemoteResults uses presentation.feature.search✕
- Connections
- 5 pairs of types, where a type in presentation.feature.search.RemoteResults uses a type in presentation.feature.search.
- The types involved
com.thecode.cryptomania.presentation.feature.search.RemoteResults.Failed→com.thecode.cryptomania.presentation.feature.search.RemoteResultscom.thecode.cryptomania.presentation.feature.search.RemoteResults.Idle→com.thecode.cryptomania.presentation.feature.search.RemoteResultscom.thecode.cryptomania.presentation.feature.search.RemoteResults.Loaded→com.thecode.cryptomania.presentation.feature.search.RemoteResultscom.thecode.cryptomania.presentation.feature.search.RemoteResults.Loaded→com.thecode.cryptomania.presentation.feature.search.SearchHitUicom.thecode.cryptomania.presentation.feature.search.RemoteResults.Loading→com.thecode.cryptomania.presentation.feature.search.RemoteResults
- Direction
- presentation.feature.search.RemoteResults uses presentation.feature.search, so a change to presentation.feature.search can break presentation.feature.search.RemoteResults, while a change to presentation.feature.search.RemoteResults can't break presentation.feature.search.
- Position
- Below the diagonal: presentation.feature.search.RemoteResults uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Performance
Roadmap
First, establish a CI workflow to build and test every push or pull request to ensure immediate feedback on code changes. Second, harden all outbound HTTP calls by enforcing strict timeouts and implementing resilience patterns like retries and circuit breakers to prevent dependency failures from cascading. Third, resolve the missing architectural decision records by documenting key design choices with their context and consequences in a dedicated folder. Finally, enforce data integrity by ensuring all aggregates can reject invalid states through guarded constructors or validation logic.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +4.5 pts | Low | ADR Quality |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +8.2 pts | Medium | CI/CD gates |
| Set connect and read timeouts on every client (`RestTemplateBuilder.connectTimeout/readTimeout`, WebClient `responseTimeout`, `HttpRequest.Builder.timeout`, `HttpURLConnection.setReadTimeout`, Feign `connectTimeout`/`readTimeout` in configuration), and wrap calls to dependencies in resilience4j `@Retry`/`@CircuitBreaker`/`@TimeLimiter` (or Spring Retry). | +4.8 pts | Medium | Outbound HTTP resilience |
| 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. | +4.0 pts | Medium | Architecture documentation |
| Give each aggregate one way in that can refuse — a guarded constructor, value-object parameters that validate themselves, or a private constructor behind a factory that returns a failure. | +3.4 pts | Medium | Constructible invalid state |
| Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release. | +3.2 pts | Medium | Release Hygiene |
| Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. | +0.9 pts | Low | Project Cohesion |
| Improve Documentation Quality — currently 8.0/10. | +1.4 pts | Medium | Documentation Quality |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| app/src/main/java/com/thecode/cryptomania/presentation/feature/splash/AnimatedSplash.kt | 7.8 | Mixed | Cognitive Complexity: AnimatedSplashKt.AnimatedSplash (cognitive 20) |
| app/src/main/java/com/thecode/cryptomania/presentation/feature/search/SearchScreen.kt | 8.5 | Near-clean | Cognitive Complexity: SearchScreenKt.SearchScreen (cognitive 16) |
| app/src/main/java/com/thecode/cryptomania/presentation/designsystem/component/chart/PriceChart.kt | 8.5 | Near-clean | God Classes: MethodTooLong: PriceChartKt.PriceChart |
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. 52 of 56 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 56 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, 14 of 20 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
- D8 Code Coverage — 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. Coverage NOT MEASURED: test source is present (.kt) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, 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. You can widen what we reach: optional: 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 — then the real number is read on the next scan.
- D11 Test Reliability — 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. Test source is present (.kt) and this repository declares a JVM test suite (repository root, Gradle), but it was not re-run: no test result was produced. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — 3 Maven/Gradle manifest(s) were read, stating a version for 28 dependency(ies) and leaving 10 to a parent or an imported BOM, but no build resolved the dependency graph, so the outdated signal was not established. NOT a finding that these dependencies are current or healthy.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-contributor repository — bus factor is not applicable (1 contributor(s) across 56 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- 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. `app/src/main/java/com/thecode/cryptomania/data/network/ErrorMapping.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.
- 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.
- AXR1 Runtime accessibility — 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. Boot via AndroidApp (app). the Android app did not build — `./gradlew :app:assembleDebug` exited 1: dle' namespace) - Included Builds (No included builds contain this plugin) - Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.plugin.compose:org.jetbrains.kotlin.plugin.com…; runtime evidence skipped (launch chosen because app/build.gradle.kts applies the Android application plugin and gradlew builds it).
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- DM9 Scattered domain decisions — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not measured — scattered-decision detection needs expression-level symbol resolution: a comparison operand bound to the member it judges (arm one) and a construction bound to the type it produces (arm two). A Roslyn compilation carries both; arm two alone also runs on any frontend that declares whether a construction is produced or passed, and this target loaded neither.
- 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.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
2 method(s) exceeded the cognitive complexity threshold of 15; the worst was AnimatedSplashKt.AnimatedSplash at 20.
What to do
- Bring the 2 bodies over 15 down to 15 or less in Cognitive Complexity — start with AnimatedSplashKt.AnimatedSplash (cognitive 20), SearchScreenKt.SearchScreen (cognitive 16). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 2 together lifts Cognitive Complexity from 9.5 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Stand up a CI pipeline, then gate Cognitive Complexity 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 Prevented — provenance only; does not change the score.
D3 · God Classes
2 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 2 MethodTooLong finding(s) in God Classes — start with AnimatedSplash.kt, PriceChart.kt. — One of this dimension's main actionable groups (2 warning-level).
- Stand up a CI pipeline, then gate God Classes 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 Prevented — provenance only; does not change the score.
D4 · Code Duplication
0 duplicated block group(s) detected.
D5 · Coupling
2 production modules (Gradle), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; edges a convention plugin adds from buildSrc or build-logic are not visible there; 0 module(s) off the main sequence, with abstractness counted on 1 of the 2 (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)
0 of 11 classes have LCOM4 above 3.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 6717 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 well-written overview of the project: it states what CryptoMania 2.0 is (a modern offline-first cryptocurrency market tracker for Android built on Jetpack Compose atop CoinGecko API), links to the old branch, shows a Google Play screenshot, and describes features like a Hot filter, animated splash, and fluid navigation with an outline of architecture, API/caching strategy, charts, design system, tech stack, setup/build/test, limitations, and licensing. It is clear but has only one document (the single root README), so the absence of installation/usage/contribution docs falls under the repository scope rather than being flagged as a defect.
What to do
- Improve Documentation Quality — currently 8.0/10. — The repository's single README is a well-written overview of the project: it states what CryptoMania 2.0 is (a modern offline-first cryptocurrency market tracker for Android built on Jetpack Compose atop CoinGecko API), links to the old branch, shows a Google Play screenshot, and describes features like a Hot filter, animated splash, and fluid navigation with an outline of architecture, API/caching strategy, charts, design system, tech stack, setup/build/test, limitations, and licensing. It is clear but has only one document (the single root README), so the absence of installation/usage/contribution docs falls under the repository scope rather than being flagged as a defect.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
1 of 1 build units (Gradle) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
semgrep found no security issues. semgrep hit a parse error in 1 file(s) — `gradlew` (line 74, line 178) — 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
Every significant source file has living knowledge — recently and meaningfully worked. Counted over 41 of the 55 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
No strong hidden change-coupling between production files.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 1 platform declaration(s) and 28 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code — check that business logic isn't leaking into the application/infrastructure layers (a thin domain is the anemic-domain smell).
AX2 · Stateful singletons
AX3 · Project dependency cycles
AX4 · Dependency direction
DM11 · Constructible invalid state
- `CoinEntity`'s public constructor takes `id`, `symbol`, `name`, `imageUrl`, … as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `CoinEntity` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:12
- `GlobalMarketEntity`'s public constructor takes `totalMarketCap`, `totalVolume24h`, `marketCapChange24hPercent`, `btcDominancePercent`, … as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `GlobalMarketEntity` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:41
- `PriceHistoryEntity`'s public constructor takes `coinId`, `range`, `points` as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `PriceHistoryEntity` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:53
- `CoinProfileEntity`'s public constructor takes `id`, `description`, `homepageUrl`, `categories`, … as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `CoinProfileEntity` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:62
- `ExchangeEntity`'s public constructor takes `id`, `name`, `imageUrl`, `country`, … as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `ExchangeEntity` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:74
- `TrendingEntity`'s public constructor takes `coinId` as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `TrendingEntity` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:90
- `WatchlistEntity`'s public constructor takes `coinId` as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was scanned for `throw`, `Guard.`, `Ensure.`, `ArgumentNullException`, `ArgumentException`, `CheckRule` or `Requires.` — a guard reached through a helper method those tokens do not name is not seen; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `WatchlistEntity` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:97
What to do
- Give each aggregate one way in that can refuse — a guarded constructor, value-object parameters that validate themselves, or a private constructor behind a factory that returns a failure.
DM12 · Ambient inputs in the domain
DM6 · Domain ↔ infrastructure boundary
DM8 · Value-object opportunities
M1 · Documentation (README)
What to do
- Add a README to the 1 of 1 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
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.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
P7 · Outbound HTTP resilience
- `Retrofit.Builder(` makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service's request, thread or connection until the call gives up on its own — or never, for a client with no default timeout. — app/src/main/java/com/thecode/cryptomania/data/remote/CoinGeckoApi.kt:78
What to do
- Set connect and read timeouts on every client (`RestTemplateBuilder.connectTimeout/readTimeout`, WebClient `responseTimeout`, `HttpRequest.Builder.timeout`, `HttpURLConnection.setReadTimeout`, Feign `connectTimeout`/`readTimeout` in configuration), and wrap calls to dependencies in resilience4j `@Retry`/`@CircuitBreaker`/`@TimeLimiter` (or Spring Retry).
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
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 99% | Exemplary | Solid. |
| Architecture | 88% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 65% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 23% | Critical — gated by P1, P3, P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 100% | Exemplary | Strongest area. |
| Domain Modelling | 70% | Adequate — gated by DM11 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Solid. |
Unscored — 1 check(s) recorded observations but carry no score
- X10 Duplicated predicate — 2 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 2 control(s) we could not find positive evidence for
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 71 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 applicable: Dagger rejects, at compile time, a component that holds a binding with a narrower scope than its own.
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) 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
- AX6 Interface segregation — not assessed — interface segregation is computed over a type surface that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — the Android app did not build — `./gradlew :app:assembleDebug` exited 1: dle' namespace) - Included Builds (No included builds contain this plugin) - Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.plugin.compose:org.jetbrains.kotlin.plugin.com…; runtime evidence skipped (launch chosen because app/build.gradle.kts applies the Android application plugin and gradlew builds it) This is a statement about this run, not a statement about your application: nothing here says the app is inaccessible, only that it was never run.
- C1 Data Protection — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Room, JPA or MongoDB entity, an Exposed or Ktorm table, or in a SQL CREATE TABLE or ALTER TABLE — and no database or data-store client (Room, Exposed, SQLDelight, Realm, JPA, JDBC, MongoDB, Firebase, …) imported either, so this repository keeps no data at rest for these controls to protect.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named column (email, first_name, date_of_birth, phone_number, …) or stored credential on a Room, JPA or MongoDB entity, an Exposed or Ktorm table, or a SQL CREATE TABLE or ALTER TABLE — and no database or data-store client (Room, Exposed, SQLDelight, Realm, JPA, JDBC, MongoDB, Firebase, …) imported either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a store configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Room, JPA or MongoDB entity, an Exposed or Ktorm table, or in a SQL CREATE TABLE or ALTER TABLE — and no database or data-store client (Room, Exposed, SQLDelight, Realm, JPA, JDBC, MongoDB, Firebase, …) imported either, so this repository keeps no personal data whose lifetime a retention limit would bound.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a Room, JPA or MongoDB entity, an Exposed or Ktorm table, or in a SQL CREATE TABLE or ALTER TABLE — and no database or data-store client (Room, Exposed, SQLDelight, Realm, JPA, JDBC, MongoDB, Firebase, …) imported either, so this repository keeps no personal data for a data subject to erase, export or consent over.
- D10 Test Quality — ~1084 lines of test source are present (.kt) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — Test reliability not included — the .kt suite was found but not re-run
- D12 Dependency Hygiene — Not scored — 3 Maven/Gradle manifest(s) were read, stating a version for 28 dependency(ies) and leaving 10 to a parent or an imported BOM, but no build resolved the dependency graph, so the outdated signal was not established. NOT a finding that these dependencies are current or healthy.
- D14 License Compliance — Not scored — this repository's 28 declared JVM dependency coordinate(s) were read from its 3 Maven/Gradle manifest(s), but Maven Central could not be asked for the licence of 28 of them (HTTP 429 Too Many Requests from https://repo1.maven.org/maven2/androidx/core/core-ktx/1.19.0/core-ktx-1.19.0.pom), and a licence verdict over part of a dependency graph is not a licence verdict. Nothing is asserted about this repository's licensing in either direction.
- D16 Bus Factor — single-contributor 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.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.kt), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D30 Dependency Vulnerabilities — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Gradle build (build.gradle/build.gradle.kts) and a Gradle version catalogue — not scanned yet).
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — 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) and a Gradle version catalogue — not scanned yet).
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- D9 Test Distribution — Test source is present (.kt) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so its unit/integration/BDD/E2E split couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- DM1 Aggregate boundaries — no aggregates detected — aggregate-boundary check not applicable
- DM10 One transaction, one aggregate — no repository writes detected — no operation to judge against the one-aggregate rule
- DM2 Strongly-typed ids — no id-bearing domain types detected — strongly-typed-id adoption not assessable
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- DM4 Rich vs anemic model — no data-bearing entities detected — rich-vs-anemic model not assessable
- DM5 Encapsulated state — no domain entities found — DM5 grades how entities protect their state, and this repository declares none
- DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
- DM9 Scattered domain decisions — not measured — scattered-decision detection needs expression-level symbol resolution: a comparison operand bound to the member it judges (arm one) and a construction bound to the type it produces (arm two). A Roslyn compilation carries both; arm two alone also runs on any frontend that declares whether a construction is produced or passed, and this target loaded neither
- 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 (1 module(s), 52 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 7,215 production line(s), 3 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.
- 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)
Serious — 13 finding(s)
- Constructible in an invalid state: CoinEntity app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:12
- Constructible in an invalid state: GlobalMarketEntity app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:41
- Constructible in an invalid state: PriceHistoryEntity app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:53
- Constructible in an invalid state: CoinProfileEntity app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:62
- Constructible in an invalid state: ExchangeEntity app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:74
- Constructible in an invalid state: TrendingEntity app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:90
- Constructible in an invalid state: WatchlistEntity app/src/main/java/com/thecode/cryptomania/data/local/entity/Entities.kt:97
- MethodTooLong: AnimatedSplashKt.AnimatedSplash app/src/main/java/com/thecode/cryptomania/presentation/feature/splash/AnimatedSplash.kt:125
- MethodTooLong: PriceChartKt.PriceChart app/src/main/java/com/thecode/cryptomania/presentation/designsystem/component/chart/PriceChart.kt:53
- AnimatedSplashKt.AnimatedSplash (cognitive 20) app/src/main/java/com/thecode/cryptomania/presentation/feature/splash/AnimatedSplash.kt:125
- SearchScreenKt.SearchScreen (cognitive 16) app/src/main/java/com/thecode/cryptomania/presentation/feature/search/SearchScreen.kt:87
- No CI pipeline
- Outbound HTTP without resilience app/src/main/java/com/thecode/cryptomania/data/remote/CoinGeckoApi.kt:78
Minor — 7 finding(s)
- Duplicated predicate app/src/main/java/com/thecode/cryptomania/presentation/feature/exchanges/ExchangesViewModel.kt:85
- Duplicated predicate app/src/main/java/com/thecode/cryptomania/presentation/feature/exchanges/ExchangesViewModel.kt:88
- No ADRs found
- Projects may be oversized for their cohesion
- No ADRs
- No SAST
- No changelog
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-e66f4ee73a044066a379d0aae73495b8/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-e66f4ee73a044066a379d0aae73495b8/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) and a Gradle version catalogue — not scanned yet). | 0 | — |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 1 file(s) — `app/src/main/java/com/thecode/cryptomania/data/network/ErrorMapping.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) and a Gradle version catalogue — not scanned yet). | 0 | — |