Executive summary
soybeanjs/soybean-admin-quarkus scores 33 out of 100 and is rated Weak, while five of its seven lenses score higher still: Architecture at 85, Code Health at 68 and Domain Modelling at 60, all rated Adequate, and Accessibility at 48 and Maturity at 41, both rated Weak.
The score is lower than those five because the weakest lens counts most, and here that is Production Readiness, which scores 24 and is rated Critical. Its REDACTED Scanning 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 6 Leaked secret finding(s) in REDACTED Scanning and to encrypt sensitive data at rest (open the store encrypted — SQLCipher's SupportFactory for Room, a Realm encryptionKey — or encrypt the fields with Tink's AEAD or an AES/GCM Cipher, or use Jetpack Security's EncryptedSharedPreferences on Android) keeping its key in the Android Keystore or a vault, and manage server-side keys in a vault (AWS KMS / Secrets Manager, GCP KMS / REDACTED Manager, Azure Key Vault, HashiCorp Vault), and if Production Readiness rose to 70, the score would rise from 33 to about 41.
12 findings are critical: six in REDACTED Scanning, five in Secrets (history) and one in IaC & Container Security.
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 10,120 lines, which would take an estimated 0.1 person-years, around €13,000, to rebuild.
If Production Readiness rose from 24 to 70, the lowest score rated Strong, the score would rise from 33 to about 41.
New since the last survey: 3 findings
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- Data Protection · No data-protection/encryption deploy/db/postgres/public.sql
Rebuild cost: about €13,000 · Estimate
| Cost to rebuild | €4,500 to €22,000, for 74 to 236 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | High, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 33. 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: 10,120 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 domain.system.enums.DbEnums | 2 infrastructure.security | 3 interfaces.rest.dto.response | 4 shared.application.command | 5 shared.application.query | 6 shared.domain.aggregate | 7 shared.domain.event | 8 domain.event | 9 domain.system.entity | 10 domain.system.event.role | 11 domain.system.event.route | 12 domain.system.event.tenant | 13 domain.system.event.user | 14 shared.eventsourcing | 15 shared.projection | 16 system.application.command.role | 17 system.application.command.route | 18 system.application.command.tenant | 19 system.application.command.user | 20 system.interfaces.rest.dto.response.role | 21 system.interfaces.rest.dto.response.route | 22 cn.soybean | 23 domain.system.aggregate.tenant | 24 domain.system.repository | 25 system.application.command.role.handler | 26 system.application.command.route.handler | 27 system.application.command.user.handler | 28 system.application.query.role.service | 29 system.application.query.route.service | 30 system.application.query.tenant.service | 31 system.application.query.user.service | 32 system.infrastructure.security | 33 system.application.command.tenant.handler | 34 system.application.query.role.handler | 35 system.application.query.route.handler | 36 system.application.query.tenant.handler | 37 system.application.query.user.handler | 38 system.application.service | 39 system.projection.tenant | 40 system.interfaces.rest |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 domain.system.enums.DbEnums | ||||||||||||||||||||||||||||||||||||||||
| 2 infrastructure.security | ||||||||||||||||||||||||||||||||||||||||
| 3 interfaces.rest.dto.response | ||||||||||||||||||||||||||||||||||||||||
| 4 shared.application.command | ||||||||||||||||||||||||||||||||||||||||
| 5 shared.application.query | ||||||||||||||||||||||||||||||||||||||||
| 6 shared.domain.aggregate | ||||||||||||||||||||||||||||||||||||||||
| 7 shared.domain.event | ||||||||||||||||||||||||||||||||||||||||
| 8 domain.event | 3 | |||||||||||||||||||||||||||||||||||||||
| 9 domain.system.entity | 13 | |||||||||||||||||||||||||||||||||||||||
| 10 domain.system.event.role | 2 | 2 | 2 | |||||||||||||||||||||||||||||||||||||
| 11 domain.system.event.route | 2 | 2 | 2 | |||||||||||||||||||||||||||||||||||||
| 12 domain.system.event.tenant | 3 | 3 | 3 | |||||||||||||||||||||||||||||||||||||
| 13 domain.system.event.user | 2 | 2 | 2 | |||||||||||||||||||||||||||||||||||||
| 14 shared.eventsourcing | 3 | |||||||||||||||||||||||||||||||||||||||
| 15 shared.projection | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 system.application.command.role | 4 | 3 | ||||||||||||||||||||||||||||||||||||||
| 17 system.application.command.route | 4 | 3 | ||||||||||||||||||||||||||||||||||||||
| 18 system.application.command.tenant | 2 | 3 | ||||||||||||||||||||||||||||||||||||||
| 19 system.application.command.user | 4 | 3 | ||||||||||||||||||||||||||||||||||||||
| 20 system.interfaces.rest.dto.response.role | 2 | |||||||||||||||||||||||||||||||||||||||
| 21 system.interfaces.rest.dto.response.route | 2 | |||||||||||||||||||||||||||||||||||||||
| 22 cn.soybean | 13 | 1 | 6 | |||||||||||||||||||||||||||||||||||||
| 23 domain.system.aggregate.tenant | 1 | 2 | 3 | |||||||||||||||||||||||||||||||||||||
| 24 domain.system.repository | 7 | |||||||||||||||||||||||||||||||||||||||
| 25 system.application.command.role.handler | 3 | 6 | 3 | 3 | ||||||||||||||||||||||||||||||||||||
| 26 system.application.command.route.handler | 3 | 6 | 3 | 3 | ||||||||||||||||||||||||||||||||||||
| 27 system.application.command.user.handler | 3 | 6 | 3 | 3 | ||||||||||||||||||||||||||||||||||||
| 28 system.application.query.role.service | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 29 system.application.query.route.service | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 30 system.application.query.tenant.service | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 31 system.application.query.user.service | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 32 system.infrastructure.security | 1 | |||||||||||||||||||||||||||||||||||||||
| 33 system.application.command.tenant.handler | 3 | 6 | 3 | 3 | 1 | |||||||||||||||||||||||||||||||||||
| 34 system.application.query.role.handler | 1 | 1 | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 35 system.application.query.route.handler | 1 | 3 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 36 system.application.query.tenant.handler | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 37 system.application.query.user.handler | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 38 system.application.service | 1 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 2 | 2 | 3 | |||||||||||||||||||||||||||||
| 39 system.projection.tenant | 3 | 1 | 1 | 1 | 3 | 11 | ||||||||||||||||||||||||||||||||||
| 40 system.interfaces.rest | 7 | 3 | 1 | 1 | 2 | 1 | 1 | 1 | 1 | 6 |
8→7 domain.event uses shared.domain.event✕
- Connections
- 3 pairs of types, where a type in domain.event uses a type in shared.domain.event.
- The types involved
cn.soybean.domain.event.DomainEventPublisher→cn.soybean.shared.domain.event.DomainEventcn.soybean.domain.event.EventInvoker→cn.soybean.shared.domain.event.DomainEventcn.soybean.domain.event.EventInvoker→cn.soybean.shared.domain.event.DomainEventListener
- Direction
- domain.event uses shared.domain.event, so a change to shared.domain.event can break domain.event, while a change to domain.event can't break shared.domain.event.
- Position
- Below the diagonal: domain.event uses a module listed above it, which is the healthy direction.
9→1 domain.system.entity uses domain.system.enums.DbEnums✕
- Connections
- 13 pairs of types, where a type in domain.system.entity uses a type in domain.system.enums.DbEnums.
- The types involved
cn.soybean.domain.system.entity.SystemApiKeyEntity→cn.soybean.domain.system.enums.DbEnums.ApiKeyTypecn.soybean.domain.system.entity.SystemApiKeyEntity→cn.soybean.domain.system.enums.DbEnums.Statuscn.soybean.domain.system.entity.SystemDictDataEntity→cn.soybean.domain.system.enums.DbEnums.Statuscn.soybean.domain.system.entity.SystemDictTypeEntity→cn.soybean.domain.system.enums.DbEnums.Statuscn.soybean.domain.system.entity.SystemLoginLogEntity→cn.soybean.domain.system.enums.DbEnums.LoginTypecn.soybean.domain.system.entity.SystemMenuEntity→cn.soybean.domain.system.enums.DbEnums.MenuItemTypecn.soybean.domain.system.entity.SystemMenuEntity→cn.soybean.domain.system.enums.DbEnums.Statuscn.soybean.domain.system.entity.SystemPostEntity→cn.soybean.domain.system.enums.DbEnums.Statuscn.soybean.domain.system.entity.SystemRoleEntity→cn.soybean.domain.system.enums.DbEnums.DataPermissioncn.soybean.domain.system.entity.SystemRoleEntity→cn.soybean.domain.system.enums.DbEnums.Statuscn.soybean.domain.system.entity.SystemTenantEntity→cn.soybean.domain.system.enums.DbEnums.Statuscn.soybean.domain.system.entity.SystemUserEntity→cn.soybean.domain.system.enums.DbEnums.Gendercn.soybean.domain.system.entity.SystemUserEntity→cn.soybean.domain.system.enums.DbEnums.Status
- Direction
- domain.system.entity uses domain.system.enums.DbEnums, so a change to domain.system.enums.DbEnums can break domain.system.entity, while a change to domain.system.entity can't break domain.system.enums.DbEnums.
- Position
- Below the diagonal: domain.system.entity uses a module listed above it, which is the healthy direction.
10→1 domain.system.event.role uses domain.system.enums.DbEnums✕
- Connections
- 2 pairs of types, where a type in domain.system.event.role uses a type in domain.system.enums.DbEnums.
- The types involved
cn.soybean.domain.system.event.role.RoleCreatedOrUpdatedEventBase→cn.soybean.domain.system.enums.DbEnums.DataPermissioncn.soybean.domain.system.event.role.RoleCreatedOrUpdatedEventBase→cn.soybean.domain.system.enums.DbEnums.Status
- Direction
- domain.system.event.role uses domain.system.enums.DbEnums, so a change to domain.system.enums.DbEnums can break domain.system.event.role, while a change to domain.system.event.role can't break domain.system.enums.DbEnums.
- Position
- Below the diagonal: domain.system.event.role uses a module listed above it, which is the healthy direction.
10→6 domain.system.event.role uses shared.domain.aggregate✕
- Connections
- 2 pairs of types, where a type in domain.system.event.role uses a type in shared.domain.aggregate.
- The types involved
cn.soybean.domain.system.event.role.RoleCreatedOrUpdatedEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBasecn.soybean.domain.system.event.role.RoleDeletedEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBase
- Direction
- domain.system.event.role uses shared.domain.aggregate, so a change to shared.domain.aggregate can break domain.system.event.role, while a change to domain.system.event.role can't break shared.domain.aggregate.
- Position
- Below the diagonal: domain.system.event.role uses a module listed above it, which is the healthy direction.
10→7 domain.system.event.role uses shared.domain.event✕
- Connections
- 2 pairs of types, where a type in domain.system.event.role uses a type in shared.domain.event.
- The types involved
cn.soybean.domain.system.event.role.RoleCreatedOrUpdatedEventBase→cn.soybean.shared.domain.event.DomainEventcn.soybean.domain.system.event.role.RoleDeletedEventBase→cn.soybean.shared.domain.event.DomainEvent
- Direction
- domain.system.event.role uses shared.domain.event, so a change to shared.domain.event can break domain.system.event.role, while a change to domain.system.event.role can't break shared.domain.event.
- Position
- Below the diagonal: domain.system.event.role uses a module listed above it, which is the healthy direction.
11→1 domain.system.event.route uses domain.system.enums.DbEnums✕
- Connections
- 2 pairs of types, where a type in domain.system.event.route uses a type in domain.system.enums.DbEnums.
- The types involved
cn.soybean.domain.system.event.route.RouteCreatedOrUpdatedEventBase→cn.soybean.domain.system.enums.DbEnums.MenuItemTypecn.soybean.domain.system.event.route.RouteCreatedOrUpdatedEventBase→cn.soybean.domain.system.enums.DbEnums.Status
- Direction
- domain.system.event.route uses domain.system.enums.DbEnums, so a change to domain.system.enums.DbEnums can break domain.system.event.route, while a change to domain.system.event.route can't break domain.system.enums.DbEnums.
- Position
- Below the diagonal: domain.system.event.route uses a module listed above it, which is the healthy direction.
11→6 domain.system.event.route uses shared.domain.aggregate✕
- Connections
- 2 pairs of types, where a type in domain.system.event.route uses a type in shared.domain.aggregate.
- The types involved
cn.soybean.domain.system.event.route.RouteCreatedOrUpdatedEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBasecn.soybean.domain.system.event.route.RouteDeletedEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBase
- Direction
- domain.system.event.route uses shared.domain.aggregate, so a change to shared.domain.aggregate can break domain.system.event.route, while a change to domain.system.event.route can't break shared.domain.aggregate.
- Position
- Below the diagonal: domain.system.event.route uses a module listed above it, which is the healthy direction.
11→7 domain.system.event.route uses shared.domain.event✕
- Connections
- 2 pairs of types, where a type in domain.system.event.route uses a type in shared.domain.event.
- The types involved
cn.soybean.domain.system.event.route.RouteCreatedOrUpdatedEventBase→cn.soybean.shared.domain.event.DomainEventcn.soybean.domain.system.event.route.RouteDeletedEventBase→cn.soybean.shared.domain.event.DomainEvent
- Direction
- domain.system.event.route uses shared.domain.event, so a change to shared.domain.event can break domain.system.event.route, while a change to domain.system.event.route can't break shared.domain.event.
- Position
- Below the diagonal: domain.system.event.route uses a module listed above it, which is the healthy direction.
12→1 domain.system.event.tenant uses domain.system.enums.DbEnums✕
- Connections
- 3 pairs of types, where a type in domain.system.event.tenant uses a type in domain.system.enums.DbEnums.
- The types involved
cn.soybean.domain.system.event.tenant.TenantCreatedEventBase→cn.soybean.domain.system.enums.DbEnums.Statuscn.soybean.domain.system.event.tenant.TenantDeletedEventBase→cn.soybean.domain.system.enums.DbEnums.Statuscn.soybean.domain.system.event.tenant.TenantUpdatedEventBase→cn.soybean.domain.system.enums.DbEnums.Status
- Direction
- domain.system.event.tenant uses domain.system.enums.DbEnums, so a change to domain.system.enums.DbEnums can break domain.system.event.tenant, while a change to domain.system.event.tenant can't break domain.system.enums.DbEnums.
- Position
- Below the diagonal: domain.system.event.tenant uses a module listed above it, which is the healthy direction.
12→6 domain.system.event.tenant uses shared.domain.aggregate✕
- Connections
- 3 pairs of types, where a type in domain.system.event.tenant uses a type in shared.domain.aggregate.
- The types involved
cn.soybean.domain.system.event.tenant.TenantCreatedEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBasecn.soybean.domain.system.event.tenant.TenantDeletedEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBasecn.soybean.domain.system.event.tenant.TenantUpdatedEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBase
- Direction
- domain.system.event.tenant uses shared.domain.aggregate, so a change to shared.domain.aggregate can break domain.system.event.tenant, while a change to domain.system.event.tenant can't break shared.domain.aggregate.
- Position
- Below the diagonal: domain.system.event.tenant uses a module listed above it, which is the healthy direction.
12→7 domain.system.event.tenant uses shared.domain.event✕
- Connections
- 3 pairs of types, where a type in domain.system.event.tenant uses a type in shared.domain.event.
- The types involved
cn.soybean.domain.system.event.tenant.TenantCreatedEventBase→cn.soybean.shared.domain.event.DomainEventcn.soybean.domain.system.event.tenant.TenantDeletedEventBase→cn.soybean.shared.domain.event.DomainEventcn.soybean.domain.system.event.tenant.TenantUpdatedEventBase→cn.soybean.shared.domain.event.DomainEvent
- Direction
- domain.system.event.tenant uses shared.domain.event, so a change to shared.domain.event can break domain.system.event.tenant, while a change to domain.system.event.tenant can't break shared.domain.event.
- Position
- Below the diagonal: domain.system.event.tenant uses a module listed above it, which is the healthy direction.
13→1 domain.system.event.user uses domain.system.enums.DbEnums✕
- Connections
- 2 pairs of types, where a type in domain.system.event.user uses a type in domain.system.enums.DbEnums.
- The types involved
cn.soybean.domain.system.event.user.UserCreatedOrUpdatedEventBase→cn.soybean.domain.system.enums.DbEnums.Gendercn.soybean.domain.system.event.user.UserCreatedOrUpdatedEventBase→cn.soybean.domain.system.enums.DbEnums.Status
- Direction
- domain.system.event.user uses domain.system.enums.DbEnums, so a change to domain.system.enums.DbEnums can break domain.system.event.user, while a change to domain.system.event.user can't break domain.system.enums.DbEnums.
- Position
- Below the diagonal: domain.system.event.user uses a module listed above it, which is the healthy direction.
13→6 domain.system.event.user uses shared.domain.aggregate✕
- Connections
- 2 pairs of types, where a type in domain.system.event.user uses a type in shared.domain.aggregate.
- The types involved
cn.soybean.domain.system.event.user.UserCreatedOrUpdatedEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBasecn.soybean.domain.system.event.user.UserDeletedEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBase
- Direction
- domain.system.event.user uses shared.domain.aggregate, so a change to shared.domain.aggregate can break domain.system.event.user, while a change to domain.system.event.user can't break shared.domain.aggregate.
- Position
- Below the diagonal: domain.system.event.user uses a module listed above it, which is the healthy direction.
13→7 domain.system.event.user uses shared.domain.event✕
- Connections
- 2 pairs of types, where a type in domain.system.event.user uses a type in shared.domain.event.
- The types involved
cn.soybean.domain.system.event.user.UserCreatedOrUpdatedEventBase→cn.soybean.shared.domain.event.DomainEventcn.soybean.domain.system.event.user.UserDeletedEventBase→cn.soybean.shared.domain.event.DomainEvent
- Direction
- domain.system.event.user uses shared.domain.event, so a change to shared.domain.event can break domain.system.event.user, while a change to domain.system.event.user can't break shared.domain.event.
- Position
- Below the diagonal: domain.system.event.user uses a module listed above it, which is the healthy direction.
14→6 shared.eventsourcing uses shared.domain.aggregate✕
- Connections
- 3 pairs of types, where a type in shared.eventsourcing uses a type in shared.domain.aggregate.
- The types involved
cn.soybean.shared.eventsourcing.EventBus→cn.soybean.shared.domain.aggregate.AggregateEventEntitycn.soybean.shared.eventsourcing.EventSourcingUtils→cn.soybean.shared.domain.aggregate.AggregateSnapshotEntitycn.soybean.shared.eventsourcing.EventStoreDB→cn.soybean.shared.domain.aggregate.AggregateEventEntity
- Direction
- shared.eventsourcing uses shared.domain.aggregate, so a change to shared.domain.aggregate can break shared.eventsourcing, while a change to shared.eventsourcing can't break shared.domain.aggregate.
- Position
- Below the diagonal: shared.eventsourcing uses a module listed above it, which is the healthy direction.
15→6 shared.projection uses shared.domain.aggregate✕
- Connections
- 1 pair of types, where a type in shared.projection uses a type in shared.domain.aggregate.
- The types involved
cn.soybean.shared.projection.Projection→cn.soybean.shared.domain.aggregate.AggregateEventEntity
- Direction
- shared.projection uses shared.domain.aggregate, so a change to shared.domain.aggregate can break shared.projection, while a change to shared.projection can't break shared.domain.aggregate.
- Position
- Below the diagonal: shared.projection uses a module listed above it, which is the healthy direction.
16→1 system.application.command.role uses domain.system.enums.DbEnums✕
- Connections
- 4 pairs of types, where a type in system.application.command.role uses a type in domain.system.enums.DbEnums.
- The types involved
cn.soybean.system.application.command.role.CreateRoleCommand→cn.soybean.domain.system.enums.DbEnums.DataPermissioncn.soybean.system.application.command.role.CreateRoleCommand→cn.soybean.domain.system.enums.DbEnums.Statuscn.soybean.system.application.command.role.UpdateRoleCommand→cn.soybean.domain.system.enums.DbEnums.DataPermissioncn.soybean.system.application.command.role.UpdateRoleCommand→cn.soybean.domain.system.enums.DbEnums.Status
- Direction
- system.application.command.role uses domain.system.enums.DbEnums, so a change to domain.system.enums.DbEnums can break system.application.command.role, while a change to system.application.command.role can't break domain.system.enums.DbEnums.
- Position
- Below the diagonal: system.application.command.role uses a module listed above it, which is the healthy direction.
16→4 system.application.command.role uses shared.application.command✕
- Connections
- 3 pairs of types, where a type in system.application.command.role uses a type in shared.application.command.
- The types involved
cn.soybean.system.application.command.role.CreateRoleCommand→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.role.DeleteRoleCommand→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.role.UpdateRoleCommand→cn.soybean.shared.application.command.Command
- Direction
- system.application.command.role uses shared.application.command, so a change to shared.application.command can break system.application.command.role, while a change to system.application.command.role can't break shared.application.command.
- Position
- Below the diagonal: system.application.command.role uses a module listed above it, which is the healthy direction.
17→1 system.application.command.route uses domain.system.enums.DbEnums✕
- Connections
- 4 pairs of types, where a type in system.application.command.route uses a type in domain.system.enums.DbEnums.
- The types involved
cn.soybean.system.application.command.route.CreateRouteCommand→cn.soybean.domain.system.enums.DbEnums.MenuItemTypecn.soybean.system.application.command.route.CreateRouteCommand→cn.soybean.domain.system.enums.DbEnums.Statuscn.soybean.system.application.command.route.UpdateRouteCommand→cn.soybean.domain.system.enums.DbEnums.MenuItemTypecn.soybean.system.application.command.route.UpdateRouteCommand→cn.soybean.domain.system.enums.DbEnums.Status
- Direction
- system.application.command.route uses domain.system.enums.DbEnums, so a change to domain.system.enums.DbEnums can break system.application.command.route, while a change to system.application.command.route can't break domain.system.enums.DbEnums.
- Position
- Below the diagonal: system.application.command.route uses a module listed above it, which is the healthy direction.
17→4 system.application.command.route uses shared.application.command✕
- Connections
- 3 pairs of types, where a type in system.application.command.route uses a type in shared.application.command.
- The types involved
cn.soybean.system.application.command.route.CreateRouteCommand→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.route.DeleteRouteCommand→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.route.UpdateRouteCommand→cn.soybean.shared.application.command.Command
- Direction
- system.application.command.route uses shared.application.command, so a change to shared.application.command can break system.application.command.route, while a change to system.application.command.route can't break shared.application.command.
- Position
- Below the diagonal: system.application.command.route uses a module listed above it, which is the healthy direction.
18→1 system.application.command.tenant uses domain.system.enums.DbEnums✕
- Connections
- 2 pairs of types, where a type in system.application.command.tenant uses a type in domain.system.enums.DbEnums.
- The types involved
cn.soybean.system.application.command.tenant.CreateTenantCommand→cn.soybean.domain.system.enums.DbEnums.Statuscn.soybean.system.application.command.tenant.UpdateTenantCommand→cn.soybean.domain.system.enums.DbEnums.Status
- Direction
- system.application.command.tenant uses domain.system.enums.DbEnums, so a change to domain.system.enums.DbEnums can break system.application.command.tenant, while a change to system.application.command.tenant can't break domain.system.enums.DbEnums.
- Position
- Below the diagonal: system.application.command.tenant uses a module listed above it, which is the healthy direction.
18→4 system.application.command.tenant uses shared.application.command✕
- Connections
- 3 pairs of types, where a type in system.application.command.tenant uses a type in shared.application.command.
- The types involved
cn.soybean.system.application.command.tenant.CreateTenantCommand→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.tenant.DeleteTenantCommand→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.tenant.UpdateTenantCommand→cn.soybean.shared.application.command.Command
- Direction
- system.application.command.tenant uses shared.application.command, so a change to shared.application.command can break system.application.command.tenant, while a change to system.application.command.tenant can't break shared.application.command.
- Position
- Below the diagonal: system.application.command.tenant uses a module listed above it, which is the healthy direction.
19→1 system.application.command.user uses domain.system.enums.DbEnums✕
- Connections
- 4 pairs of types, where a type in system.application.command.user uses a type in domain.system.enums.DbEnums.
- The types involved
cn.soybean.system.application.command.user.CreateUserCommand→cn.soybean.domain.system.enums.DbEnums.Gendercn.soybean.system.application.command.user.CreateUserCommand→cn.soybean.domain.system.enums.DbEnums.Statuscn.soybean.system.application.command.user.UpdateUserCommand→cn.soybean.domain.system.enums.DbEnums.Gendercn.soybean.system.application.command.user.UpdateUserCommand→cn.soybean.domain.system.enums.DbEnums.Status
- Direction
- system.application.command.user uses domain.system.enums.DbEnums, so a change to domain.system.enums.DbEnums can break system.application.command.user, while a change to system.application.command.user can't break domain.system.enums.DbEnums.
- Position
- Below the diagonal: system.application.command.user uses a module listed above it, which is the healthy direction.
19→4 system.application.command.user uses shared.application.command✕
- Connections
- 3 pairs of types, where a type in system.application.command.user uses a type in shared.application.command.
- The types involved
cn.soybean.system.application.command.user.CreateUserCommand→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.user.DeleteUserCommand→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.user.UpdateUserCommand→cn.soybean.shared.application.command.Command
- Direction
- system.application.command.user uses shared.application.command, so a change to shared.application.command can break system.application.command.user, while a change to system.application.command.user can't break shared.application.command.
- Position
- Below the diagonal: system.application.command.user uses a module listed above it, which is the healthy direction.
20→1 system.interfaces.rest.dto.response.role uses domain.system.enums.DbEnums✕
- Connections
- 2 pairs of types, where a type in system.interfaces.rest.dto.response.role uses a type in domain.system.enums.DbEnums.
- The types involved
cn.soybean.system.interfaces.rest.dto.response.role.RoleResponse→cn.soybean.domain.system.enums.DbEnums.DataPermissioncn.soybean.system.interfaces.rest.dto.response.role.RoleResponse→cn.soybean.domain.system.enums.DbEnums.Status
- Direction
- system.interfaces.rest.dto.response.role uses domain.system.enums.DbEnums, so a change to domain.system.enums.DbEnums can break system.interfaces.rest.dto.response.role, while a change to system.interfaces.rest.dto.response.role can't break domain.system.enums.DbEnums.
- Position
- Below the diagonal: system.interfaces.rest.dto.response.role uses a module listed above it, which is the healthy direction.
21→1 system.interfaces.rest.dto.response.route uses domain.system.enums.DbEnums✕
- Connections
- 2 pairs of types, where a type in system.interfaces.rest.dto.response.route uses a type in domain.system.enums.DbEnums.
- The types involved
cn.soybean.system.interfaces.rest.dto.response.route.MenuResponse→cn.soybean.domain.system.enums.DbEnums.MenuItemTypecn.soybean.system.interfaces.rest.dto.response.route.MenuResponse→cn.soybean.domain.system.enums.DbEnums.Status
- Direction
- system.interfaces.rest.dto.response.route uses domain.system.enums.DbEnums, so a change to domain.system.enums.DbEnums can break system.interfaces.rest.dto.response.route, while a change to system.interfaces.rest.dto.response.route can't break domain.system.enums.DbEnums.
- Position
- Below the diagonal: system.interfaces.rest.dto.response.route uses a module listed above it, which is the healthy direction.
22→6 cn.soybean uses shared.domain.aggregate✕
- Connections
- 13 pairs of types, where a type in cn.soybean uses a type in shared.domain.aggregate.
- The types involved
cn.soybean.AddressUpdatedAggregateEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBasecn.soybean.AddressUpdatedEventProjection→cn.soybean.shared.domain.aggregate.AggregateEventEntitycn.soybean.BalanceDepositedAggregateEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBasecn.soybean.BalanceDepositedEventProjection→cn.soybean.shared.domain.aggregate.AggregateEventEntitycn.soybean.BankAccountAggregate→cn.soybean.shared.domain.aggregate.AggregateEventEntitycn.soybean.BankAccountAggregate→cn.soybean.shared.domain.aggregate.AggregateRootcn.soybean.BankAccountCreatedAggregateEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBasecn.soybean.BankAccountCreatedEventProjection→cn.soybean.shared.domain.aggregate.AggregateEventEntitycn.soybean.BankAccountDeletedAggregateEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBasecn.soybean.BankAccountDeletedEventProjection→cn.soybean.shared.domain.aggregate.AggregateEventEntitycn.soybean.BankCardDeletedEventProjection→cn.soybean.shared.domain.aggregate.AggregateEventEntitycn.soybean.EmailChangedAggregateEventBase→cn.soybean.shared.domain.aggregate.AggregateEventBasecn.soybean.EmailChangedEventProjection→cn.soybean.shared.domain.aggregate.AggregateEventEntity
- Direction
- cn.soybean uses shared.domain.aggregate, so a change to shared.domain.aggregate can break cn.soybean, while a change to cn.soybean can't break shared.domain.aggregate.
- Position
- Below the diagonal: cn.soybean uses a module listed above it, which is the healthy direction.
22→14 cn.soybean uses shared.eventsourcing✕
- Connections
- 1 pair of types, where a type in cn.soybean uses a type in shared.eventsourcing.
- The types involved
cn.soybean.BankAccountCommandHandler→cn.soybean.shared.eventsourcing.EventStoreDB
- Direction
- cn.soybean uses shared.eventsourcing, so a change to shared.eventsourcing can break cn.soybean, while a change to cn.soybean can't break shared.eventsourcing.
- Position
- Below the diagonal: cn.soybean uses a module listed above it, which is the healthy direction.
22→15 cn.soybean uses shared.projection✕
- Connections
- 6 pairs of types, where a type in cn.soybean uses a type in shared.projection.
- The types involved
cn.soybean.AddressUpdatedEventProjection→cn.soybean.shared.projection.Projectioncn.soybean.BalanceDepositedEventProjection→cn.soybean.shared.projection.Projectioncn.soybean.BankAccountCreatedEventProjection→cn.soybean.shared.projection.Projectioncn.soybean.BankAccountDeletedEventProjection→cn.soybean.shared.projection.Projectioncn.soybean.BankCardDeletedEventProjection→cn.soybean.shared.projection.Projectioncn.soybean.EmailChangedEventProjection→cn.soybean.shared.projection.Projection
- Direction
- cn.soybean uses shared.projection, so a change to shared.projection can break cn.soybean, while a change to cn.soybean can't break shared.projection.
- Position
- Below the diagonal: cn.soybean uses a module listed above it, which is the healthy direction.
23→1 domain.system.aggregate.tenant uses domain.system.enums.DbEnums✕
- Connections
- 1 pair of types, where a type in domain.system.aggregate.tenant uses a type in domain.system.enums.DbEnums.
- The types involved
cn.soybean.domain.system.aggregate.tenant.TenantAggregate→cn.soybean.domain.system.enums.DbEnums.Status
- Direction
- domain.system.aggregate.tenant uses domain.system.enums.DbEnums, so a change to domain.system.enums.DbEnums can break domain.system.aggregate.tenant, while a change to domain.system.aggregate.tenant can't break domain.system.enums.DbEnums.
- Position
- Below the diagonal: domain.system.aggregate.tenant uses a module listed above it, which is the healthy direction.
23→6 domain.system.aggregate.tenant uses shared.domain.aggregate✕
- Connections
- 2 pairs of types, where a type in domain.system.aggregate.tenant uses a type in shared.domain.aggregate.
- The types involved
cn.soybean.domain.system.aggregate.tenant.TenantAggregate→cn.soybean.shared.domain.aggregate.AggregateEventEntitycn.soybean.domain.system.aggregate.tenant.TenantAggregate→cn.soybean.shared.domain.aggregate.AggregateRoot
- Direction
- domain.system.aggregate.tenant uses shared.domain.aggregate, so a change to shared.domain.aggregate can break domain.system.aggregate.tenant, while a change to domain.system.aggregate.tenant can't break shared.domain.aggregate.
- Position
- Below the diagonal: domain.system.aggregate.tenant uses a module listed above it, which is the healthy direction.
23→12 domain.system.aggregate.tenant uses domain.system.event.tenant✕
- Connections
- 3 pairs of types, where a type in domain.system.aggregate.tenant uses a type in domain.system.event.tenant.
- The types involved
cn.soybean.domain.system.aggregate.tenant.TenantAggregate→cn.soybean.domain.system.event.tenant.TenantCreatedEventBasecn.soybean.domain.system.aggregate.tenant.TenantAggregate→cn.soybean.domain.system.event.tenant.TenantDeletedEventBasecn.soybean.domain.system.aggregate.tenant.TenantAggregate→cn.soybean.domain.system.event.tenant.TenantUpdatedEventBase
- Direction
- domain.system.aggregate.tenant uses domain.system.event.tenant, so a change to domain.system.event.tenant can break domain.system.aggregate.tenant, while a change to domain.system.aggregate.tenant can't break domain.system.event.tenant.
- Position
- Below the diagonal: domain.system.aggregate.tenant uses a module listed above it, which is the healthy direction.
24→9 domain.system.repository uses domain.system.entity✕
- Connections
- 7 pairs of types, where a type in domain.system.repository uses a type in domain.system.entity.
- The types involved
cn.soybean.domain.system.repository.SystemMenuRepository→cn.soybean.domain.system.entity.SystemMenuEntitycn.soybean.domain.system.repository.SystemRoleApiRepository→cn.soybean.domain.system.entity.SystemRoleApiEntitycn.soybean.domain.system.repository.SystemRoleMenuRepository→cn.soybean.domain.system.entity.SystemRoleMenuEntitycn.soybean.domain.system.repository.SystemRoleRepository→cn.soybean.domain.system.entity.SystemRoleEntitycn.soybean.domain.system.repository.SystemRoleUserRepository→cn.soybean.domain.system.entity.SystemRoleUserEntitycn.soybean.domain.system.repository.SystemTenantRepository→cn.soybean.domain.system.entity.SystemTenantEntitycn.soybean.domain.system.repository.SystemUserRepository→cn.soybean.domain.system.entity.SystemUserEntity
- Direction
- domain.system.repository uses domain.system.entity, so a change to domain.system.entity can break domain.system.repository, while a change to domain.system.repository can't break domain.system.entity.
- Position
- Below the diagonal: domain.system.repository uses a module listed above it, which is the healthy direction.
25→2 system.application.command.role.handler uses infrastructure.security✕
- Connections
- 3 pairs of types, where a type in system.application.command.role.handler uses a type in infrastructure.security.
- The types involved
cn.soybean.system.application.command.role.handler.CreateRoleCommandHandler→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.application.command.role.handler.DeleteRoleCommandHandler→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.application.command.role.handler.UpdateRoleCommandHandler→cn.soybean.infrastructure.security.LoginHelper
- Direction
- system.application.command.role.handler uses infrastructure.security, so a change to infrastructure.security can break system.application.command.role.handler, while a change to system.application.command.role.handler can't break infrastructure.security.
- Position
- Below the diagonal: system.application.command.role.handler uses a module listed above it, which is the healthy direction.
25→4 system.application.command.role.handler uses shared.application.command✕
- Connections
- 6 pairs of types, where a type in system.application.command.role.handler uses a type in shared.application.command.
- The types involved
cn.soybean.system.application.command.role.handler.CreateRoleCommandHandler→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.role.handler.CreateRoleCommandHandler→cn.soybean.shared.application.command.CommandHandlercn.soybean.system.application.command.role.handler.DeleteRoleCommandHandler→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.role.handler.DeleteRoleCommandHandler→cn.soybean.shared.application.command.CommandHandlercn.soybean.system.application.command.role.handler.UpdateRoleCommandHandler→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.role.handler.UpdateRoleCommandHandler→cn.soybean.shared.application.command.CommandHandler
- Direction
- system.application.command.role.handler uses shared.application.command, so a change to shared.application.command can break system.application.command.role.handler, while a change to system.application.command.role.handler can't break shared.application.command.
- Position
- Below the diagonal: system.application.command.role.handler uses a module listed above it, which is the healthy direction.
25→14 system.application.command.role.handler uses shared.eventsourcing✕
- Connections
- 3 pairs of types, where a type in system.application.command.role.handler uses a type in shared.eventsourcing.
- The types involved
cn.soybean.system.application.command.role.handler.CreateRoleCommandHandler→cn.soybean.shared.eventsourcing.EventStoreDBcn.soybean.system.application.command.role.handler.DeleteRoleCommandHandler→cn.soybean.shared.eventsourcing.EventStoreDBcn.soybean.system.application.command.role.handler.UpdateRoleCommandHandler→cn.soybean.shared.eventsourcing.EventStoreDB
- Direction
- system.application.command.role.handler uses shared.eventsourcing, so a change to shared.eventsourcing can break system.application.command.role.handler, while a change to system.application.command.role.handler can't break shared.eventsourcing.
- Position
- Below the diagonal: system.application.command.role.handler uses a module listed above it, which is the healthy direction.
25→16 system.application.command.role.handler uses system.application.command.role✕
- Connections
- 3 pairs of types, where a type in system.application.command.role.handler uses a type in system.application.command.role.
- The types involved
cn.soybean.system.application.command.role.handler.CreateRoleCommandHandler→cn.soybean.system.application.command.role.CreateRoleCommandcn.soybean.system.application.command.role.handler.DeleteRoleCommandHandler→cn.soybean.system.application.command.role.DeleteRoleCommandcn.soybean.system.application.command.role.handler.UpdateRoleCommandHandler→cn.soybean.system.application.command.role.UpdateRoleCommand
- Direction
- system.application.command.role.handler uses system.application.command.role, so a change to system.application.command.role can break system.application.command.role.handler, while a change to system.application.command.role.handler can't break system.application.command.role.
- Position
- Below the diagonal: system.application.command.role.handler uses a module listed above it, which is the healthy direction.
26→2 system.application.command.route.handler uses infrastructure.security✕
- Connections
- 3 pairs of types, where a type in system.application.command.route.handler uses a type in infrastructure.security.
- The types involved
cn.soybean.system.application.command.route.handler.CreateRouteCommandHandler→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.application.command.route.handler.DeleteRouteCommandHandler→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.application.command.route.handler.UpdateRouteCommandHandler→cn.soybean.infrastructure.security.LoginHelper
- Direction
- system.application.command.route.handler uses infrastructure.security, so a change to infrastructure.security can break system.application.command.route.handler, while a change to system.application.command.route.handler can't break infrastructure.security.
- Position
- Below the diagonal: system.application.command.route.handler uses a module listed above it, which is the healthy direction.
26→4 system.application.command.route.handler uses shared.application.command✕
- Connections
- 6 pairs of types, where a type in system.application.command.route.handler uses a type in shared.application.command.
- The types involved
cn.soybean.system.application.command.route.handler.CreateRouteCommandHandler→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.route.handler.CreateRouteCommandHandler→cn.soybean.shared.application.command.CommandHandlercn.soybean.system.application.command.route.handler.DeleteRouteCommandHandler→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.route.handler.DeleteRouteCommandHandler→cn.soybean.shared.application.command.CommandHandlercn.soybean.system.application.command.route.handler.UpdateRouteCommandHandler→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.route.handler.UpdateRouteCommandHandler→cn.soybean.shared.application.command.CommandHandler
- Direction
- system.application.command.route.handler uses shared.application.command, so a change to shared.application.command can break system.application.command.route.handler, while a change to system.application.command.route.handler can't break shared.application.command.
- Position
- Below the diagonal: system.application.command.route.handler uses a module listed above it, which is the healthy direction.
26→14 system.application.command.route.handler uses shared.eventsourcing✕
- Connections
- 3 pairs of types, where a type in system.application.command.route.handler uses a type in shared.eventsourcing.
- The types involved
cn.soybean.system.application.command.route.handler.CreateRouteCommandHandler→cn.soybean.shared.eventsourcing.EventStoreDBcn.soybean.system.application.command.route.handler.DeleteRouteCommandHandler→cn.soybean.shared.eventsourcing.EventStoreDBcn.soybean.system.application.command.route.handler.UpdateRouteCommandHandler→cn.soybean.shared.eventsourcing.EventStoreDB
- Direction
- system.application.command.route.handler uses shared.eventsourcing, so a change to shared.eventsourcing can break system.application.command.route.handler, while a change to system.application.command.route.handler can't break shared.eventsourcing.
- Position
- Below the diagonal: system.application.command.route.handler uses a module listed above it, which is the healthy direction.
26→17 system.application.command.route.handler uses system.application.command.route✕
- Connections
- 3 pairs of types, where a type in system.application.command.route.handler uses a type in system.application.command.route.
- The types involved
cn.soybean.system.application.command.route.handler.CreateRouteCommandHandler→cn.soybean.system.application.command.route.CreateRouteCommandcn.soybean.system.application.command.route.handler.DeleteRouteCommandHandler→cn.soybean.system.application.command.route.DeleteRouteCommandcn.soybean.system.application.command.route.handler.UpdateRouteCommandHandler→cn.soybean.system.application.command.route.UpdateRouteCommand
- Direction
- system.application.command.route.handler uses system.application.command.route, so a change to system.application.command.route can break system.application.command.route.handler, while a change to system.application.command.route.handler can't break system.application.command.route.
- Position
- Below the diagonal: system.application.command.route.handler uses a module listed above it, which is the healthy direction.
27→2 system.application.command.user.handler uses infrastructure.security✕
- Connections
- 3 pairs of types, where a type in system.application.command.user.handler uses a type in infrastructure.security.
- The types involved
cn.soybean.system.application.command.user.handler.CreateUserCommandHandler→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.application.command.user.handler.DeleteUserCommandHandler→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.application.command.user.handler.UpdateUserCommandHandler→cn.soybean.infrastructure.security.LoginHelper
- Direction
- system.application.command.user.handler uses infrastructure.security, so a change to infrastructure.security can break system.application.command.user.handler, while a change to system.application.command.user.handler can't break infrastructure.security.
- Position
- Below the diagonal: system.application.command.user.handler uses a module listed above it, which is the healthy direction.
27→4 system.application.command.user.handler uses shared.application.command✕
- Connections
- 6 pairs of types, where a type in system.application.command.user.handler uses a type in shared.application.command.
- The types involved
cn.soybean.system.application.command.user.handler.CreateUserCommandHandler→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.user.handler.CreateUserCommandHandler→cn.soybean.shared.application.command.CommandHandlercn.soybean.system.application.command.user.handler.DeleteUserCommandHandler→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.user.handler.DeleteUserCommandHandler→cn.soybean.shared.application.command.CommandHandlercn.soybean.system.application.command.user.handler.UpdateUserCommandHandler→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.user.handler.UpdateUserCommandHandler→cn.soybean.shared.application.command.CommandHandler
- Direction
- system.application.command.user.handler uses shared.application.command, so a change to shared.application.command can break system.application.command.user.handler, while a change to system.application.command.user.handler can't break shared.application.command.
- Position
- Below the diagonal: system.application.command.user.handler uses a module listed above it, which is the healthy direction.
27→14 system.application.command.user.handler uses shared.eventsourcing✕
- Connections
- 3 pairs of types, where a type in system.application.command.user.handler uses a type in shared.eventsourcing.
- The types involved
cn.soybean.system.application.command.user.handler.CreateUserCommandHandler→cn.soybean.shared.eventsourcing.EventStoreDBcn.soybean.system.application.command.user.handler.DeleteUserCommandHandler→cn.soybean.shared.eventsourcing.EventStoreDBcn.soybean.system.application.command.user.handler.UpdateUserCommandHandler→cn.soybean.shared.eventsourcing.EventStoreDB
- Direction
- system.application.command.user.handler uses shared.eventsourcing, so a change to shared.eventsourcing can break system.application.command.user.handler, while a change to system.application.command.user.handler can't break shared.eventsourcing.
- Position
- Below the diagonal: system.application.command.user.handler uses a module listed above it, which is the healthy direction.
27→19 system.application.command.user.handler uses system.application.command.user✕
- Connections
- 3 pairs of types, where a type in system.application.command.user.handler uses a type in system.application.command.user.
- The types involved
cn.soybean.system.application.command.user.handler.CreateUserCommandHandler→cn.soybean.system.application.command.user.CreateUserCommandcn.soybean.system.application.command.user.handler.DeleteUserCommandHandler→cn.soybean.system.application.command.user.DeleteUserCommandcn.soybean.system.application.command.user.handler.UpdateUserCommandHandler→cn.soybean.system.application.command.user.UpdateUserCommand
- Direction
- system.application.command.user.handler uses system.application.command.user, so a change to system.application.command.user can break system.application.command.user.handler, while a change to system.application.command.user.handler can't break system.application.command.user.
- Position
- Below the diagonal: system.application.command.user.handler uses a module listed above it, which is the healthy direction.
28→3 system.application.query.role.service uses interfaces.rest.dto.response✕
- Connections
- 1 pair of types, where a type in system.application.query.role.service uses a type in interfaces.rest.dto.response.
- The types involved
cn.soybean.system.application.query.role.service.RoleQueryService→cn.soybean.interfaces.rest.dto.response.PageResult
- Direction
- system.application.query.role.service uses interfaces.rest.dto.response, so a change to interfaces.rest.dto.response can break system.application.query.role.service, while a change to system.application.query.role.service can't break interfaces.rest.dto.response.
- Position
- Below the diagonal: system.application.query.role.service uses a module listed above it, which is the healthy direction.
28→9 system.application.query.role.service uses domain.system.entity✕
- Connections
- 1 pair of types, where a type in system.application.query.role.service uses a type in domain.system.entity.
- The types involved
cn.soybean.system.application.query.role.service.RoleQueryService→cn.soybean.domain.system.entity.SystemRoleEntity
- Direction
- system.application.query.role.service uses domain.system.entity, so a change to domain.system.entity can break system.application.query.role.service, while a change to system.application.query.role.service can't break domain.system.entity.
- Position
- Below the diagonal: system.application.query.role.service uses a module listed above it, which is the healthy direction.
28→20 system.application.query.role.service uses system.interfaces.rest.dto.response.role✕
- Connections
- 1 pair of types, where a type in system.application.query.role.service uses a type in system.interfaces.rest.dto.response.role.
- The types involved
cn.soybean.system.application.query.role.service.RoleQueryService→cn.soybean.system.interfaces.rest.dto.response.role.RoleResponse
- Direction
- system.application.query.role.service uses system.interfaces.rest.dto.response.role, so a change to system.interfaces.rest.dto.response.role can break system.application.query.role.service, while a change to system.application.query.role.service can't break system.interfaces.rest.dto.response.role.
- Position
- Below the diagonal: system.application.query.role.service uses a module listed above it, which is the healthy direction.
29→9 system.application.query.route.service uses domain.system.entity✕
- Connections
- 1 pair of types, where a type in system.application.query.route.service uses a type in domain.system.entity.
- The types involved
cn.soybean.system.application.query.route.service.RouteQueryService→cn.soybean.domain.system.entity.SystemMenuEntity
- Direction
- system.application.query.route.service uses domain.system.entity, so a change to domain.system.entity can break system.application.query.route.service, while a change to system.application.query.route.service can't break domain.system.entity.
- Position
- Below the diagonal: system.application.query.route.service uses a module listed above it, which is the healthy direction.
29→21 system.application.query.route.service uses system.interfaces.rest.dto.response.route✕
- Connections
- 2 pairs of types, where a type in system.application.query.route.service uses a type in system.interfaces.rest.dto.response.route.
- The types involved
cn.soybean.system.application.query.route.service.RouteQueryService→cn.soybean.system.interfaces.rest.dto.response.route.MenuResponsecn.soybean.system.application.query.route.service.RouteQueryService→cn.soybean.system.interfaces.rest.dto.response.route.MenuRoute
- Direction
- system.application.query.route.service uses system.interfaces.rest.dto.response.route, so a change to system.interfaces.rest.dto.response.route can break system.application.query.route.service, while a change to system.application.query.route.service can't break system.interfaces.rest.dto.response.route.
- Position
- Below the diagonal: system.application.query.route.service uses a module listed above it, which is the healthy direction.
30→3 system.application.query.tenant.service uses interfaces.rest.dto.response✕
- Connections
- 1 pair of types, where a type in system.application.query.tenant.service uses a type in interfaces.rest.dto.response.
- The types involved
cn.soybean.system.application.query.tenant.service.TenantQueryService→cn.soybean.interfaces.rest.dto.response.PageResult
- Direction
- system.application.query.tenant.service uses interfaces.rest.dto.response, so a change to interfaces.rest.dto.response can break system.application.query.tenant.service, while a change to system.application.query.tenant.service can't break interfaces.rest.dto.response.
- Position
- Below the diagonal: system.application.query.tenant.service uses a module listed above it, which is the healthy direction.
30→9 system.application.query.tenant.service uses domain.system.entity✕
- Connections
- 1 pair of types, where a type in system.application.query.tenant.service uses a type in domain.system.entity.
- The types involved
cn.soybean.system.application.query.tenant.service.TenantQueryService→cn.soybean.domain.system.entity.SystemTenantEntity
- Direction
- system.application.query.tenant.service uses domain.system.entity, so a change to domain.system.entity can break system.application.query.tenant.service, while a change to system.application.query.tenant.service can't break domain.system.entity.
- Position
- Below the diagonal: system.application.query.tenant.service uses a module listed above it, which is the healthy direction.
31→3 system.application.query.user.service uses interfaces.rest.dto.response✕
- Connections
- 1 pair of types, where a type in system.application.query.user.service uses a type in interfaces.rest.dto.response.
- The types involved
cn.soybean.system.application.query.user.service.UserQueryService→cn.soybean.interfaces.rest.dto.response.PageResult
- Direction
- system.application.query.user.service uses interfaces.rest.dto.response, so a change to interfaces.rest.dto.response can break system.application.query.user.service, while a change to system.application.query.user.service can't break interfaces.rest.dto.response.
- Position
- Below the diagonal: system.application.query.user.service uses a module listed above it, which is the healthy direction.
31→9 system.application.query.user.service uses domain.system.entity✕
- Connections
- 1 pair of types, where a type in system.application.query.user.service uses a type in domain.system.entity.
- The types involved
cn.soybean.system.application.query.user.service.UserQueryService→cn.soybean.domain.system.entity.SystemUserEntity
- Direction
- system.application.query.user.service uses domain.system.entity, so a change to domain.system.entity can break system.application.query.user.service, while a change to system.application.query.user.service can't break domain.system.entity.
- Position
- Below the diagonal: system.application.query.user.service uses a module listed above it, which is the healthy direction.
32→9 system.infrastructure.security uses domain.system.entity✕
- Connections
- 1 pair of types, where a type in system.infrastructure.security uses a type in domain.system.entity.
- The types involved
cn.soybean.system.infrastructure.security.ApiKeyCache→cn.soybean.domain.system.entity.SystemApiKeyEntity
- Direction
- system.infrastructure.security uses domain.system.entity, so a change to domain.system.entity can break system.infrastructure.security, while a change to system.infrastructure.security can't break domain.system.entity.
- Position
- Below the diagonal: system.infrastructure.security uses a module listed above it, which is the healthy direction.
33→2 system.application.command.tenant.handler uses infrastructure.security✕
- Connections
- 3 pairs of types, where a type in system.application.command.tenant.handler uses a type in infrastructure.security.
- The types involved
cn.soybean.system.application.command.tenant.handler.CreateTenantCommandHandler→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.application.command.tenant.handler.DeleteTenantCommandHandler→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.application.command.tenant.handler.UpdateTenantCommandHandler→cn.soybean.infrastructure.security.LoginHelper
- Direction
- system.application.command.tenant.handler uses infrastructure.security, so a change to infrastructure.security can break system.application.command.tenant.handler, while a change to system.application.command.tenant.handler can't break infrastructure.security.
- Position
- Below the diagonal: system.application.command.tenant.handler uses a module listed above it, which is the healthy direction.
33→4 system.application.command.tenant.handler uses shared.application.command✕
- Connections
- 6 pairs of types, where a type in system.application.command.tenant.handler uses a type in shared.application.command.
- The types involved
cn.soybean.system.application.command.tenant.handler.CreateTenantCommandHandler→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.tenant.handler.CreateTenantCommandHandler→cn.soybean.shared.application.command.CommandHandlercn.soybean.system.application.command.tenant.handler.DeleteTenantCommandHandler→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.tenant.handler.DeleteTenantCommandHandler→cn.soybean.shared.application.command.CommandHandlercn.soybean.system.application.command.tenant.handler.UpdateTenantCommandHandler→cn.soybean.shared.application.command.Commandcn.soybean.system.application.command.tenant.handler.UpdateTenantCommandHandler→cn.soybean.shared.application.command.CommandHandler
- Direction
- system.application.command.tenant.handler uses shared.application.command, so a change to shared.application.command can break system.application.command.tenant.handler, while a change to system.application.command.tenant.handler can't break shared.application.command.
- Position
- Below the diagonal: system.application.command.tenant.handler uses a module listed above it, which is the healthy direction.
33→14 system.application.command.tenant.handler uses shared.eventsourcing✕
- Connections
- 3 pairs of types, where a type in system.application.command.tenant.handler uses a type in shared.eventsourcing.
- The types involved
cn.soybean.system.application.command.tenant.handler.CreateTenantCommandHandler→cn.soybean.shared.eventsourcing.EventStoreDBcn.soybean.system.application.command.tenant.handler.DeleteTenantCommandHandler→cn.soybean.shared.eventsourcing.EventStoreDBcn.soybean.system.application.command.tenant.handler.UpdateTenantCommandHandler→cn.soybean.shared.eventsourcing.EventStoreDB
- Direction
- system.application.command.tenant.handler uses shared.eventsourcing, so a change to shared.eventsourcing can break system.application.command.tenant.handler, while a change to system.application.command.tenant.handler can't break shared.eventsourcing.
- Position
- Below the diagonal: system.application.command.tenant.handler uses a module listed above it, which is the healthy direction.
33→18 system.application.command.tenant.handler uses system.application.command.tenant✕
- Connections
- 3 pairs of types, where a type in system.application.command.tenant.handler uses a type in system.application.command.tenant.
- The types involved
cn.soybean.system.application.command.tenant.handler.CreateTenantCommandHandler→cn.soybean.system.application.command.tenant.CreateTenantCommandcn.soybean.system.application.command.tenant.handler.DeleteTenantCommandHandler→cn.soybean.system.application.command.tenant.DeleteTenantCommandcn.soybean.system.application.command.tenant.handler.UpdateTenantCommandHandler→cn.soybean.system.application.command.tenant.UpdateTenantCommand
- Direction
- system.application.command.tenant.handler uses system.application.command.tenant, so a change to system.application.command.tenant can break system.application.command.tenant.handler, while a change to system.application.command.tenant.handler can't break system.application.command.tenant.
- Position
- Below the diagonal: system.application.command.tenant.handler uses a module listed above it, which is the healthy direction.
33→23 system.application.command.tenant.handler uses domain.system.aggregate.tenant✕
- Connections
- 1 pair of types, where a type in system.application.command.tenant.handler uses a type in domain.system.aggregate.tenant.
- The types involved
cn.soybean.system.application.command.tenant.handler.CreateTenantCommandHandler→cn.soybean.domain.system.aggregate.tenant.TenantAggregate
- Direction
- system.application.command.tenant.handler uses domain.system.aggregate.tenant, so a change to domain.system.aggregate.tenant can break system.application.command.tenant.handler, while a change to system.application.command.tenant.handler can't break domain.system.aggregate.tenant.
- Position
- Below the diagonal: system.application.command.tenant.handler uses a module listed above it, which is the healthy direction.
34→3 system.application.query.role.handler uses interfaces.rest.dto.response✕
- Connections
- 1 pair of types, where a type in system.application.query.role.handler uses a type in interfaces.rest.dto.response.
- The types involved
cn.soybean.system.application.query.role.handler.RoleQueryHandler→cn.soybean.interfaces.rest.dto.response.PageResult
- Direction
- system.application.query.role.handler uses interfaces.rest.dto.response, so a change to interfaces.rest.dto.response can break system.application.query.role.handler, while a change to system.application.query.role.handler can't break interfaces.rest.dto.response.
- Position
- Below the diagonal: system.application.query.role.handler uses a module listed above it, which is the healthy direction.
34→9 system.application.query.role.handler uses domain.system.entity✕
- Connections
- 1 pair of types, where a type in system.application.query.role.handler uses a type in domain.system.entity.
- The types involved
cn.soybean.system.application.query.role.handler.RoleQueryHandler→cn.soybean.domain.system.entity.SystemRoleEntity
- Direction
- system.application.query.role.handler uses domain.system.entity, so a change to domain.system.entity can break system.application.query.role.handler, while a change to system.application.query.role.handler can't break domain.system.entity.
- Position
- Below the diagonal: system.application.query.role.handler uses a module listed above it, which is the healthy direction.
34→20 system.application.query.role.handler uses system.interfaces.rest.dto.response.role✕
- Connections
- 2 pairs of types, where a type in system.application.query.role.handler uses a type in system.interfaces.rest.dto.response.role.
- The types involved
cn.soybean.system.application.query.role.handler.RoleQueryHandler→cn.soybean.system.interfaces.rest.dto.response.role.RoleResponsecn.soybean.system.application.query.role.handler.RoleQueryHandlerKt→cn.soybean.system.interfaces.rest.dto.response.role.RoleResponse
- Direction
- system.application.query.role.handler uses system.interfaces.rest.dto.response.role, so a change to system.interfaces.rest.dto.response.role can break system.application.query.role.handler, while a change to system.application.query.role.handler can't break system.interfaces.rest.dto.response.role.
- Position
- Below the diagonal: system.application.query.role.handler uses a module listed above it, which is the healthy direction.
34→24 system.application.query.role.handler uses domain.system.repository✕
- Connections
- 1 pair of types, where a type in system.application.query.role.handler uses a type in domain.system.repository.
- The types involved
cn.soybean.system.application.query.role.handler.RoleQueryHandler→cn.soybean.domain.system.repository.SystemRoleRepository
- Direction
- system.application.query.role.handler uses domain.system.repository, so a change to domain.system.repository can break system.application.query.role.handler, while a change to system.application.query.role.handler can't break domain.system.repository.
- Position
- Below the diagonal: system.application.query.role.handler uses a module listed above it, which is the healthy direction.
34→28 system.application.query.role.handler uses system.application.query.role.service✕
- Connections
- 1 pair of types, where a type in system.application.query.role.handler uses a type in system.application.query.role.service.
- The types involved
cn.soybean.system.application.query.role.handler.RoleQueryHandler→cn.soybean.system.application.query.role.service.RoleQueryService
- Direction
- system.application.query.role.handler uses system.application.query.role.service, so a change to system.application.query.role.service can break system.application.query.role.handler, while a change to system.application.query.role.handler can't break system.application.query.role.service.
- Position
- Below the diagonal: system.application.query.role.handler uses a module listed above it, which is the healthy direction.
35→9 system.application.query.route.handler uses domain.system.entity✕
- Connections
- 1 pair of types, where a type in system.application.query.route.handler uses a type in domain.system.entity.
- The types involved
cn.soybean.system.application.query.route.handler.RouteQueryHandler→cn.soybean.domain.system.entity.SystemMenuEntity
- Direction
- system.application.query.route.handler uses domain.system.entity, so a change to domain.system.entity can break system.application.query.route.handler, while a change to system.application.query.route.handler can't break domain.system.entity.
- Position
- Below the diagonal: system.application.query.route.handler uses a module listed above it, which is the healthy direction.
35→21 system.application.query.route.handler uses system.interfaces.rest.dto.response.route✕
- Connections
- 3 pairs of types, where a type in system.application.query.route.handler uses a type in system.interfaces.rest.dto.response.route.
- The types involved
cn.soybean.system.application.query.route.handler.RouteQueryHandler→cn.soybean.system.interfaces.rest.dto.response.route.MenuResponsecn.soybean.system.application.query.route.handler.RouteQueryHandler→cn.soybean.system.interfaces.rest.dto.response.route.MenuRoutecn.soybean.system.application.query.route.handler.RouteQueryHandlerKt→cn.soybean.system.interfaces.rest.dto.response.route.MenuResponse
- Direction
- system.application.query.route.handler uses system.interfaces.rest.dto.response.route, so a change to system.interfaces.rest.dto.response.route can break system.application.query.route.handler, while a change to system.application.query.route.handler can't break system.interfaces.rest.dto.response.route.
- Position
- Below the diagonal: system.application.query.route.handler uses a module listed above it, which is the healthy direction.
35→24 system.application.query.route.handler uses domain.system.repository✕
- Connections
- 2 pairs of types, where a type in system.application.query.route.handler uses a type in domain.system.repository.
- The types involved
cn.soybean.system.application.query.route.handler.RouteQueryHandler→cn.soybean.domain.system.repository.SystemMenuRepositorycn.soybean.system.application.query.route.handler.RouteQueryHandler→cn.soybean.domain.system.repository.SystemTenantRepository
- Direction
- system.application.query.route.handler uses domain.system.repository, so a change to domain.system.repository can break system.application.query.route.handler, while a change to system.application.query.route.handler can't break domain.system.repository.
- Position
- Below the diagonal: system.application.query.route.handler uses a module listed above it, which is the healthy direction.
35→29 system.application.query.route.handler uses system.application.query.route.service✕
- Connections
- 1 pair of types, where a type in system.application.query.route.handler uses a type in system.application.query.route.service.
- The types involved
cn.soybean.system.application.query.route.handler.RouteQueryHandler→cn.soybean.system.application.query.route.service.RouteQueryService
- Direction
- system.application.query.route.handler uses system.application.query.route.service, so a change to system.application.query.route.service can break system.application.query.route.handler, while a change to system.application.query.route.handler can't break system.application.query.route.service.
- Position
- Below the diagonal: system.application.query.route.handler uses a module listed above it, which is the healthy direction.
36→3 system.application.query.tenant.handler uses interfaces.rest.dto.response✕
- Connections
- 1 pair of types, where a type in system.application.query.tenant.handler uses a type in interfaces.rest.dto.response.
- The types involved
cn.soybean.system.application.query.tenant.handler.TenantQueryHandler→cn.soybean.interfaces.rest.dto.response.PageResult
- Direction
- system.application.query.tenant.handler uses interfaces.rest.dto.response, so a change to interfaces.rest.dto.response can break system.application.query.tenant.handler, while a change to system.application.query.tenant.handler can't break interfaces.rest.dto.response.
- Position
- Below the diagonal: system.application.query.tenant.handler uses a module listed above it, which is the healthy direction.
36→9 system.application.query.tenant.handler uses domain.system.entity✕
- Connections
- 1 pair of types, where a type in system.application.query.tenant.handler uses a type in domain.system.entity.
- The types involved
cn.soybean.system.application.query.tenant.handler.TenantQueryHandler→cn.soybean.domain.system.entity.SystemTenantEntity
- Direction
- system.application.query.tenant.handler uses domain.system.entity, so a change to domain.system.entity can break system.application.query.tenant.handler, while a change to system.application.query.tenant.handler can't break domain.system.entity.
- Position
- Below the diagonal: system.application.query.tenant.handler uses a module listed above it, which is the healthy direction.
36→24 system.application.query.tenant.handler uses domain.system.repository✕
- Connections
- 1 pair of types, where a type in system.application.query.tenant.handler uses a type in domain.system.repository.
- The types involved
cn.soybean.system.application.query.tenant.handler.TenantQueryHandler→cn.soybean.domain.system.repository.SystemTenantRepository
- Direction
- system.application.query.tenant.handler uses domain.system.repository, so a change to domain.system.repository can break system.application.query.tenant.handler, while a change to system.application.query.tenant.handler can't break domain.system.repository.
- Position
- Below the diagonal: system.application.query.tenant.handler uses a module listed above it, which is the healthy direction.
36→30 system.application.query.tenant.handler uses system.application.query.tenant.service✕
- Connections
- 1 pair of types, where a type in system.application.query.tenant.handler uses a type in system.application.query.tenant.service.
- The types involved
cn.soybean.system.application.query.tenant.handler.TenantQueryHandler→cn.soybean.system.application.query.tenant.service.TenantQueryService
- Direction
- system.application.query.tenant.handler uses system.application.query.tenant.service, so a change to system.application.query.tenant.service can break system.application.query.tenant.handler, while a change to system.application.query.tenant.handler can't break system.application.query.tenant.service.
- Position
- Below the diagonal: system.application.query.tenant.handler uses a module listed above it, which is the healthy direction.
37→3 system.application.query.user.handler uses interfaces.rest.dto.response✕
- Connections
- 1 pair of types, where a type in system.application.query.user.handler uses a type in interfaces.rest.dto.response.
- The types involved
cn.soybean.system.application.query.user.handler.UserQueryHandler→cn.soybean.interfaces.rest.dto.response.PageResult
- Direction
- system.application.query.user.handler uses interfaces.rest.dto.response, so a change to interfaces.rest.dto.response can break system.application.query.user.handler, while a change to system.application.query.user.handler can't break interfaces.rest.dto.response.
- Position
- Below the diagonal: system.application.query.user.handler uses a module listed above it, which is the healthy direction.
37→9 system.application.query.user.handler uses domain.system.entity✕
- Connections
- 1 pair of types, where a type in system.application.query.user.handler uses a type in domain.system.entity.
- The types involved
cn.soybean.system.application.query.user.handler.UserQueryHandler→cn.soybean.domain.system.entity.SystemUserEntity
- Direction
- system.application.query.user.handler uses domain.system.entity, so a change to domain.system.entity can break system.application.query.user.handler, while a change to system.application.query.user.handler can't break domain.system.entity.
- Position
- Below the diagonal: system.application.query.user.handler uses a module listed above it, which is the healthy direction.
37→24 system.application.query.user.handler uses domain.system.repository✕
- Connections
- 1 pair of types, where a type in system.application.query.user.handler uses a type in domain.system.repository.
- The types involved
cn.soybean.system.application.query.user.handler.UserQueryHandler→cn.soybean.domain.system.repository.SystemUserRepository
- Direction
- system.application.query.user.handler uses domain.system.repository, so a change to domain.system.repository can break system.application.query.user.handler, while a change to system.application.query.user.handler can't break domain.system.repository.
- Position
- Below the diagonal: system.application.query.user.handler uses a module listed above it, which is the healthy direction.
37→31 system.application.query.user.handler uses system.application.query.user.service✕
- Connections
- 1 pair of types, where a type in system.application.query.user.handler uses a type in system.application.query.user.service.
- The types involved
cn.soybean.system.application.query.user.handler.UserQueryHandler→cn.soybean.system.application.query.user.service.UserQueryService
- Direction
- system.application.query.user.handler uses system.application.query.user.service, so a change to system.application.query.user.service can break system.application.query.user.handler, while a change to system.application.query.user.handler can't break system.application.query.user.service.
- Position
- Below the diagonal: system.application.query.user.handler uses a module listed above it, which is the healthy direction.
38→8 system.application.service uses domain.event✕
- Connections
- 1 pair of types, where a type in system.application.service uses a type in domain.event.
- The types involved
cn.soybean.system.application.service.AuthService→cn.soybean.domain.event.DomainEventPublisher
- Direction
- system.application.service uses domain.event, so a change to domain.event can break system.application.service, while a change to system.application.service can't break domain.event.
- Position
- Below the diagonal: system.application.service uses a module listed above it, which is the healthy direction.
38→9 system.application.service uses domain.system.entity✕
- Connections
- 3 pairs of types, where a type in system.application.service uses a type in domain.system.entity.
- The types involved
cn.soybean.system.application.service.AuthService→cn.soybean.domain.system.entity.SystemLoginLogEntitycn.soybean.system.application.service.AuthService→cn.soybean.domain.system.entity.SystemTenantEntitycn.soybean.system.application.service.AuthService→cn.soybean.domain.system.entity.SystemUserEntity
- Direction
- system.application.service uses domain.system.entity, so a change to domain.system.entity can break system.application.service, while a change to system.application.service can't break domain.system.entity.
- Position
- Below the diagonal: system.application.service uses a module listed above it, which is the healthy direction.
38→16 system.application.service uses system.application.command.role✕
- Connections
- 3 pairs of types, where a type in system.application.service uses a type in system.application.command.role.
- The types involved
cn.soybean.system.application.service.RoleService→cn.soybean.system.application.command.role.CreateRoleCommandcn.soybean.system.application.service.RoleService→cn.soybean.system.application.command.role.DeleteRoleCommandcn.soybean.system.application.service.RoleService→cn.soybean.system.application.command.role.UpdateRoleCommand
- Direction
- system.application.service uses system.application.command.role, so a change to system.application.command.role can break system.application.service, while a change to system.application.service can't break system.application.command.role.
- Position
- Below the diagonal: system.application.service uses a module listed above it, which is the healthy direction.
38→17 system.application.service uses system.application.command.route✕
- Connections
- 3 pairs of types, where a type in system.application.service uses a type in system.application.command.route.
- The types involved
cn.soybean.system.application.service.RouteService→cn.soybean.system.application.command.route.CreateRouteCommandcn.soybean.system.application.service.RouteService→cn.soybean.system.application.command.route.DeleteRouteCommandcn.soybean.system.application.service.RouteService→cn.soybean.system.application.command.route.UpdateRouteCommand
- Direction
- system.application.service uses system.application.command.route, so a change to system.application.command.route can break system.application.service, while a change to system.application.service can't break system.application.command.route.
- Position
- Below the diagonal: system.application.service uses a module listed above it, which is the healthy direction.
38→18 system.application.service uses system.application.command.tenant✕
- Connections
- 3 pairs of types, where a type in system.application.service uses a type in system.application.command.tenant.
- The types involved
cn.soybean.system.application.service.TenantService→cn.soybean.system.application.command.tenant.CreateTenantCommandcn.soybean.system.application.service.TenantService→cn.soybean.system.application.command.tenant.DeleteTenantCommandcn.soybean.system.application.service.TenantService→cn.soybean.system.application.command.tenant.UpdateTenantCommand
- Direction
- system.application.service uses system.application.command.tenant, so a change to system.application.command.tenant can break system.application.service, while a change to system.application.service can't break system.application.command.tenant.
- Position
- Below the diagonal: system.application.service uses a module listed above it, which is the healthy direction.
38→19 system.application.service uses system.application.command.user✕
- Connections
- 3 pairs of types, where a type in system.application.service uses a type in system.application.command.user.
- The types involved
cn.soybean.system.application.service.UserService→cn.soybean.system.application.command.user.CreateUserCommandcn.soybean.system.application.service.UserService→cn.soybean.system.application.command.user.DeleteUserCommandcn.soybean.system.application.service.UserService→cn.soybean.system.application.command.user.UpdateUserCommand
- Direction
- system.application.service uses system.application.command.user, so a change to system.application.command.user can break system.application.service, while a change to system.application.service can't break system.application.command.user.
- Position
- Below the diagonal: system.application.service uses a module listed above it, which is the healthy direction.
38→24 system.application.service uses domain.system.repository✕
- Connections
- 3 pairs of types, where a type in system.application.service uses a type in domain.system.repository.
- The types involved
cn.soybean.system.application.service.PermissionService→cn.soybean.domain.system.repository.SystemRoleApiRepositorycn.soybean.system.application.service.PermissionService→cn.soybean.domain.system.repository.SystemRoleMenuRepositorycn.soybean.system.application.service.PermissionService→cn.soybean.domain.system.repository.SystemRoleUserRepository
- Direction
- system.application.service uses domain.system.repository, so a change to domain.system.repository can break system.application.service, while a change to system.application.service can't break domain.system.repository.
- Position
- Below the diagonal: system.application.service uses a module listed above it, which is the healthy direction.
38→28 system.application.service uses system.application.query.role.service✕
- Connections
- 3 pairs of types, where a type in system.application.service uses a type in system.application.query.role.service.
- The types involved
cn.soybean.system.application.service.AuthService→cn.soybean.system.application.query.role.service.RoleQueryServicecn.soybean.system.application.service.PermissionService→cn.soybean.system.application.query.role.service.RoleQueryServicecn.soybean.system.application.service.RoleService→cn.soybean.system.application.query.role.service.RoleQueryService
- Direction
- system.application.service uses system.application.query.role.service, so a change to system.application.query.role.service can break system.application.service, while a change to system.application.service can't break system.application.query.role.service.
- Position
- Below the diagonal: system.application.service uses a module listed above it, which is the healthy direction.
38→29 system.application.service uses system.application.query.route.service✕
- Connections
- 2 pairs of types, where a type in system.application.service uses a type in system.application.query.route.service.
- The types involved
cn.soybean.system.application.service.PermissionService→cn.soybean.system.application.query.route.service.RouteQueryServicecn.soybean.system.application.service.RouteService→cn.soybean.system.application.query.route.service.RouteQueryService
- Direction
- system.application.service uses system.application.query.route.service, so a change to system.application.query.route.service can break system.application.service, while a change to system.application.service can't break system.application.query.route.service.
- Position
- Below the diagonal: system.application.service uses a module listed above it, which is the healthy direction.
38→30 system.application.service uses system.application.query.tenant.service✕
- Connections
- 2 pairs of types, where a type in system.application.service uses a type in system.application.query.tenant.service.
- The types involved
cn.soybean.system.application.service.AuthService→cn.soybean.system.application.query.tenant.service.TenantQueryServicecn.soybean.system.application.service.TenantService→cn.soybean.system.application.query.tenant.service.TenantQueryService
- Direction
- system.application.service uses system.application.query.tenant.service, so a change to system.application.query.tenant.service can break system.application.service, while a change to system.application.service can't break system.application.query.tenant.service.
- Position
- Below the diagonal: system.application.service uses a module listed above it, which is the healthy direction.
38→31 system.application.service uses system.application.query.user.service✕
- Connections
- 3 pairs of types, where a type in system.application.service uses a type in system.application.query.user.service.
- The types involved
cn.soybean.system.application.service.AuthService→cn.soybean.system.application.query.user.service.UserQueryServicecn.soybean.system.application.service.PermissionService→cn.soybean.system.application.query.user.service.UserQueryServicecn.soybean.system.application.service.UserService→cn.soybean.system.application.query.user.service.UserQueryService
- Direction
- system.application.service uses system.application.query.user.service, so a change to system.application.query.user.service can break system.application.service, while a change to system.application.service can't break system.application.query.user.service.
- Position
- Below the diagonal: system.application.service uses a module listed above it, which is the healthy direction.
39→6 system.projection.tenant uses shared.domain.aggregate✕
- Connections
- 3 pairs of types, where a type in system.projection.tenant uses a type in shared.domain.aggregate.
- The types involved
cn.soybean.system.projection.tenant.TenantCreatedProjection→cn.soybean.shared.domain.aggregate.AggregateEventEntitycn.soybean.system.projection.tenant.TenantDeletedProjection→cn.soybean.shared.domain.aggregate.AggregateEventEntitycn.soybean.system.projection.tenant.TenantUpdatedProjection→cn.soybean.shared.domain.aggregate.AggregateEventEntity
- Direction
- system.projection.tenant uses shared.domain.aggregate, so a change to shared.domain.aggregate can break system.projection.tenant, while a change to system.projection.tenant can't break shared.domain.aggregate.
- Position
- Below the diagonal: system.projection.tenant uses a module listed above it, which is the healthy direction.
39→8 system.projection.tenant uses domain.event✕
- Connections
- 1 pair of types, where a type in system.projection.tenant uses a type in domain.event.
- The types involved
cn.soybean.system.projection.tenant.TenantDeletedProjection→cn.soybean.domain.event.EventInvoker
- Direction
- system.projection.tenant uses domain.event, so a change to domain.event can break system.projection.tenant, while a change to system.projection.tenant can't break domain.event.
- Position
- Below the diagonal: system.projection.tenant uses a module listed above it, which is the healthy direction.
39→9 system.projection.tenant uses domain.system.entity✕
- Connections
- 1 pair of types, where a type in system.projection.tenant uses a type in domain.system.entity.
- The types involved
cn.soybean.system.projection.tenant.TenantCreatedProjection→cn.soybean.domain.system.entity.SystemRoleEntity
- Direction
- system.projection.tenant uses domain.system.entity, so a change to domain.system.entity can break system.projection.tenant, while a change to system.projection.tenant can't break domain.system.entity.
- Position
- Below the diagonal: system.projection.tenant uses a module listed above it, which is the healthy direction.
39→12 system.projection.tenant uses domain.system.event.tenant✕
- Connections
- 1 pair of types, where a type in system.projection.tenant uses a type in domain.system.event.tenant.
- The types involved
cn.soybean.system.projection.tenant.TenantCreatedProjection→cn.soybean.domain.system.event.tenant.TenantCreatedEventBase
- Direction
- system.projection.tenant uses domain.system.event.tenant, so a change to domain.system.event.tenant can break system.projection.tenant, while a change to system.projection.tenant can't break domain.system.event.tenant.
- Position
- Below the diagonal: system.projection.tenant uses a module listed above it, which is the healthy direction.
39→15 system.projection.tenant uses shared.projection✕
- Connections
- 3 pairs of types, where a type in system.projection.tenant uses a type in shared.projection.
- The types involved
cn.soybean.system.projection.tenant.TenantCreatedProjection→cn.soybean.shared.projection.Projectioncn.soybean.system.projection.tenant.TenantDeletedProjection→cn.soybean.shared.projection.Projectioncn.soybean.system.projection.tenant.TenantUpdatedProjection→cn.soybean.shared.projection.Projection
- Direction
- system.projection.tenant uses shared.projection, so a change to shared.projection can break system.projection.tenant, while a change to system.projection.tenant can't break shared.projection.
- Position
- Below the diagonal: system.projection.tenant uses a module listed above it, which is the healthy direction.
39→24 system.projection.tenant uses domain.system.repository✕
- Connections
- 11 pairs of types, where a type in system.projection.tenant uses a type in domain.system.repository.
- The types involved
cn.soybean.system.projection.tenant.TenantCreatedProjection→cn.soybean.domain.system.repository.SystemRoleApiRepositorycn.soybean.system.projection.tenant.TenantCreatedProjection→cn.soybean.domain.system.repository.SystemRoleMenuRepositorycn.soybean.system.projection.tenant.TenantCreatedProjection→cn.soybean.domain.system.repository.SystemRoleRepositorycn.soybean.system.projection.tenant.TenantCreatedProjection→cn.soybean.domain.system.repository.SystemRoleUserRepositorycn.soybean.system.projection.tenant.TenantCreatedProjection→cn.soybean.domain.system.repository.SystemTenantRepositorycn.soybean.system.projection.tenant.TenantCreatedProjection→cn.soybean.domain.system.repository.SystemUserRepositorycn.soybean.system.projection.tenant.TenantDeletedProjection→cn.soybean.domain.system.repository.SystemTenantRepositorycn.soybean.system.projection.tenant.TenantUpdatedProjection→cn.soybean.domain.system.repository.SystemRoleApiRepositorycn.soybean.system.projection.tenant.TenantUpdatedProjection→cn.soybean.domain.system.repository.SystemRoleMenuRepositorycn.soybean.system.projection.tenant.TenantUpdatedProjection→cn.soybean.domain.system.repository.SystemRoleRepositorycn.soybean.system.projection.tenant.TenantUpdatedProjection→cn.soybean.domain.system.repository.SystemTenantRepository
- Direction
- system.projection.tenant uses domain.system.repository, so a change to domain.system.repository can break system.projection.tenant, while a change to system.projection.tenant can't break domain.system.repository.
- Position
- Below the diagonal: system.projection.tenant uses a module listed above it, which is the healthy direction.
40→2 system.interfaces.rest uses infrastructure.security✕
- Connections
- 7 pairs of types, where a type in system.interfaces.rest uses a type in infrastructure.security.
- The types involved
cn.soybean.system.interfaces.rest.ApiResource→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.interfaces.rest.PermissionResource→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.interfaces.rest.RoleResource→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.interfaces.rest.RouteResource→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.interfaces.rest.SystemAuthResource→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.interfaces.rest.TenantResource→cn.soybean.infrastructure.security.LoginHelpercn.soybean.system.interfaces.rest.UserResource→cn.soybean.infrastructure.security.LoginHelper
- Direction
- system.interfaces.rest uses infrastructure.security, so a change to infrastructure.security can break system.interfaces.rest, while a change to system.interfaces.rest can't break infrastructure.security.
- Position
- Below the diagonal: system.interfaces.rest uses a module listed above it, which is the healthy direction.
40→3 system.interfaces.rest uses interfaces.rest.dto.response✕
- Connections
- 3 pairs of types, where a type in system.interfaces.rest uses a type in interfaces.rest.dto.response.
- The types involved
cn.soybean.system.interfaces.rest.RoleResource→cn.soybean.interfaces.rest.dto.response.PageResultcn.soybean.system.interfaces.rest.TenantResource→cn.soybean.interfaces.rest.dto.response.PageResultcn.soybean.system.interfaces.rest.UserResource→cn.soybean.interfaces.rest.dto.response.PageResult
- Direction
- system.interfaces.rest uses interfaces.rest.dto.response, so a change to interfaces.rest.dto.response can break system.interfaces.rest, while a change to system.interfaces.rest can't break interfaces.rest.dto.response.
- Position
- Below the diagonal: system.interfaces.rest uses a module listed above it, which is the healthy direction.
40→9 system.interfaces.rest uses domain.system.entity✕
- Connections
- 1 pair of types, where a type in system.interfaces.rest uses a type in domain.system.entity.
- The types involved
cn.soybean.system.interfaces.rest.ApiResource→cn.soybean.domain.system.entity.SystemApisEntity
- Direction
- system.interfaces.rest uses domain.system.entity, so a change to domain.system.entity can break system.interfaces.rest, while a change to system.interfaces.rest can't break domain.system.entity.
- Position
- Below the diagonal: system.interfaces.rest uses a module listed above it, which is the healthy direction.
40→20 system.interfaces.rest uses system.interfaces.rest.dto.response.role✕
- Connections
- 1 pair of types, where a type in system.interfaces.rest uses a type in system.interfaces.rest.dto.response.role.
- The types involved
cn.soybean.system.interfaces.rest.RoleResource→cn.soybean.system.interfaces.rest.dto.response.role.RoleResponse
- Direction
- system.interfaces.rest uses system.interfaces.rest.dto.response.role, so a change to system.interfaces.rest.dto.response.role can break system.interfaces.rest, while a change to system.interfaces.rest can't break system.interfaces.rest.dto.response.role.
- Position
- Below the diagonal: system.interfaces.rest uses a module listed above it, which is the healthy direction.
40→21 system.interfaces.rest uses system.interfaces.rest.dto.response.route✕
- Connections
- 2 pairs of types, where a type in system.interfaces.rest uses a type in system.interfaces.rest.dto.response.route.
- The types involved
cn.soybean.system.interfaces.rest.RouteResource→cn.soybean.system.interfaces.rest.dto.response.route.MenuResponsecn.soybean.system.interfaces.rest.RouteResource→cn.soybean.system.interfaces.rest.dto.response.route.MenuRoute
- Direction
- system.interfaces.rest uses system.interfaces.rest.dto.response.route, so a change to system.interfaces.rest.dto.response.route can break system.interfaces.rest, while a change to system.interfaces.rest can't break system.interfaces.rest.dto.response.route.
- Position
- Below the diagonal: system.interfaces.rest uses a module listed above it, which is the healthy direction.
40→28 system.interfaces.rest uses system.application.query.role.service✕
- Connections
- 1 pair of types, where a type in system.interfaces.rest uses a type in system.application.query.role.service.
- The types involved
cn.soybean.system.interfaces.rest.RoleResource→cn.soybean.system.application.query.role.service.RoleQueryService
- Direction
- system.interfaces.rest uses system.application.query.role.service, so a change to system.application.query.role.service can break system.interfaces.rest, while a change to system.interfaces.rest can't break system.application.query.role.service.
- Position
- Below the diagonal: system.interfaces.rest uses a module listed above it, which is the healthy direction.
40→29 system.interfaces.rest uses system.application.query.route.service✕
- Connections
- 1 pair of types, where a type in system.interfaces.rest uses a type in system.application.query.route.service.
- The types involved
cn.soybean.system.interfaces.rest.RouteResource→cn.soybean.system.application.query.route.service.RouteQueryService
- Direction
- system.interfaces.rest uses system.application.query.route.service, so a change to system.application.query.route.service can break system.interfaces.rest, while a change to system.interfaces.rest can't break system.application.query.route.service.
- Position
- Below the diagonal: system.interfaces.rest uses a module listed above it, which is the healthy direction.
40→30 system.interfaces.rest uses system.application.query.tenant.service✕
- Connections
- 1 pair of types, where a type in system.interfaces.rest uses a type in system.application.query.tenant.service.
- The types involved
cn.soybean.system.interfaces.rest.TenantResource→cn.soybean.system.application.query.tenant.service.TenantQueryService
- Direction
- system.interfaces.rest uses system.application.query.tenant.service, so a change to system.application.query.tenant.service can break system.interfaces.rest, while a change to system.interfaces.rest can't break system.application.query.tenant.service.
- Position
- Below the diagonal: system.interfaces.rest uses a module listed above it, which is the healthy direction.
40→31 system.interfaces.rest uses system.application.query.user.service✕
- Connections
- 1 pair of types, where a type in system.interfaces.rest uses a type in system.application.query.user.service.
- The types involved
cn.soybean.system.interfaces.rest.UserResource→cn.soybean.system.application.query.user.service.UserQueryService
- Direction
- system.interfaces.rest uses system.application.query.user.service, so a change to system.application.query.user.service can break system.interfaces.rest, while a change to system.interfaces.rest can't break system.application.query.user.service.
- Position
- Below the diagonal: system.interfaces.rest uses a module listed above it, which is the healthy direction.
40→38 system.interfaces.rest uses system.application.service✕
- Connections
- 6 pairs of types, where a type in system.interfaces.rest uses a type in system.application.service.
- The types involved
cn.soybean.system.interfaces.rest.PermissionResource→cn.soybean.system.application.service.PermissionServicecn.soybean.system.interfaces.rest.RoleResource→cn.soybean.system.application.service.RoleServicecn.soybean.system.interfaces.rest.RouteResource→cn.soybean.system.application.service.RouteServicecn.soybean.system.interfaces.rest.SystemAuthResource→cn.soybean.system.application.service.AuthServicecn.soybean.system.interfaces.rest.TenantResource→cn.soybean.system.application.service.TenantServicecn.soybean.system.interfaces.rest.UserResource→cn.soybean.system.application.service.UserService
- Direction
- system.interfaces.rest uses system.application.service, so a change to system.application.service can break system.interfaces.rest, while a change to system.interfaces.rest can't break system.application.service.
- Position
- Below the diagonal: system.interfaces.rest 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 — Accessibility
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A02:2025 — Security Misconfiguration | 35 | High / Critical |
| A07:2025 — Authentication Failures | 12 | High / Critical |
| A05:2025 — Injection | 3 | Medium |
Roadmap
Immediately resolve the six leaked secrets in configuration files and encrypt sensitive data at rest using platform-native security tools while storing keys in a secure vault. Establish a CI/CD pipeline to run the full test suite on every change, integrating static analysis and secret scanning to block security regressions before they merge. Finally, clean up the forty-five orphaned files to maintain codebase hygiene and ensure knowledge freshness.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 6 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (2), REDACTED, REDACTED. | +7.8 pts | Low | REDACTED Scanning |
| Encrypt sensitive data at rest (open the store encrypted — SQLCipher's SupportFactory for Room, a Realm encryptionKey — or encrypt the fields with Tink's AEAD or an AES/GCM Cipher, or use Jetpack Security's EncryptedSharedPreferences on Android) keeping its key in the Android Keystore or a vault, and manage server-side keys in a vault (AWS KMS / Secrets Manager, GCP KMS / REDACTED Manager, Azure Key Vault, HashiCorp Vault). Skip if delegated to infra (Postgres TDE, KMS, etc.). | +5.3 pts | Medium | Data Protection |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +2.3 pts | Low | ADR Quality |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +4.2 pts | Medium | CI/CD gates |
| 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. | +4.2 pts | Medium | Security & performance tooling |
| Resolve the 5 REDACTED finding(s) in Secrets (history) — start with REDACTED (3), REDACTED (2). | +1.7 pts | Low | Secrets (history) |
| Resolve the 1 No network policy finding(s) in Network Egress Confinement. | +1.7 pts | Low | Network Egress Confinement |
| Resolve the 1 No seccomp profile finding(s) in Kernel & Syscall Confinement — start with REDACTED. | +1.7 pts | Low | Kernel & Syscall Confinement |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 1.8 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 3.0 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 3.3 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 4.4 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 5.4 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 5.8 | Mixed | Secrets (history): REDACTED: REDACTED |
| system/src/main/kotlin/cn/soybean/system/application/query/route/handler/RouteQueryHandler.kt | 7.0 | Mixed | Code Duplication: Duplicated block (13 lines × 2) |
| REDACTED | 7.2 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 7.2 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 7.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 7.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 7.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| system/src/main/kotlin/cn/soybean/BannkAccount.kt | 7.4 | Mixed | God Classes: FileTooLong: soybean/BannkAccount.kt |
| system/src/main/kotlin/cn/soybean/system/application/command/role/handler/DeleteRoleCommandHandler.kt | 7.8 | Mixed | Code Duplication: Members sharing a duplicated core (4 members, 50+ identical tokens) |
| system/src/main/kotlin/cn/soybean/system/application/command/role/handler/UpdateRoleCommandHandler.kt | 7.8 | Mixed | Code Duplication: Members sharing a duplicated core (4 members, 50+ identical tokens) |
| system/src/main/kotlin/cn/soybean/system/application/service/RoleService.kt | 7.8 | Mixed | Code Duplication: Members sharing a duplicated core (4 members, 50+ identical tokens) |
| system/src/main/kotlin/cn/soybean/infrastructure/persistence/listeners/BaseEntityListener.kt | 8.2 | Near-clean | Explicit Debt: TodoComment |
| system/src/main/kotlin/cn/soybean/system/interfaces/rest/dto/request/auth/AuthLoginRequest.kt | 8.2 | Near-clean | Explicit Debt: TodoComment |
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. 72 of 76 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.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 76 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, 148 of 159 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 · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ 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 reliability not included — the Java/Kotlin suite (repository root, Gradle) did not finish re-running within its budget: the JVM suite did not finish re-running within its tier budget.
- 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 — 5 Maven/Gradle manifest(s) were read, stating a version for 11 dependency(ies) and leaving 0 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 112 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. `domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemDeptEntity.kt`, `domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemDictDataEntity.kt`, `domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemDictTypeEntity.kt`, `domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemPostEntity.kt`, `domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemRoleApiEntity.kt`, … (+14 more) 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. Render strategy: boot via DockerCompose (REDACTED). compose up failed (exit 18 — an image could not be pulled) — postgres Pulling kafka Pulling redis Pulling mongo Pulling redis Error Get "https://registry-1.docker.io/v2/": Forbidden postgres Error context canceled kafka Error context canceled mongo Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: redis Pulling mongo Pulling postgres Pulling kafka Pulling redis Error Get "https://registry-1.docker.io/v2/": Forbidden postgres Error context canceled kafka Error context canceled mongo Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- DM9 Scattered domain decisions — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not measured — scattered-decision detection needs expression-level symbol resolution: a comparison operand bound to the member it judges (arm one) and a construction bound to the type it produces (arm two). A Roslyn compilation carries both; arm two alone also runs on any frontend that declares whether a construction is produced or passed, and this target loaded neither.
- ED5 Idempotency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check decides whether a handler's mutation is safe to re-run by recognising its persistence writes (a database save, a repository write, an event publish) and its guards. Those markers are .NET member names, so in this repository's language a write such as `repository.save(order)` is not recognised and a same-named call on an unrelated library type could be. The handlers were found; their idempotency was neither confirmed nor ruled out.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby and Scala source only, and no C#, F#, JavaScript/TypeScript, Dart, Ruby or Scala was found, and this repository's Kotlin, Python 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, Python 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.
- P8 Schema migrations — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. The schema may be created by a runner, a deploy script or a config file outside what this check reads, so an absence here is our blind spot rather than a missing migration strategy. The card abstains instead of scoring. You can widen what we reach: if the schema is created and evolved by a tool this check does not name, naming it lets us teach the detector to read it.
- 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.
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 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- 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").
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- 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.
- D40 Network Egress Confinement: Egress confinement is read from committed Kubernetes manifests — a policy applied out-of-band (cluster-default deny, a service mesh, or a cloud firewall/security group off-repo) is invisible, and a present NetworkPolicy is declared config, not proof the cluster admission-controller actually enforces it at runtime.
- D41 Kernel & Syscall Confinement: Syscall/MAC confinement is read from committed manifests — a profile applied by a cluster-wide PodSecurity default or a mutating webhook off-repo isn't seen, and a declared seccomp/AppArmor profile is config presence, not proof the node's kernel actually loaded and enforced it.
- 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.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- 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.
- DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- 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.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
1 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 1 FileTooLong finding(s) in God Classes — start with BannkAccount.kt. — One of this dimension's main actionable groups (1 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
8 duplicated block group(s) detected. A further 3 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted.
What to do
- Resolve the 3 Members sharing a duplicated core (4 members, 50+ identical tokens) finding(s) in Code Duplication — start with DeleteRoleCommandHandler.kt, UpdateRoleCommandHandler.kt, RoleService.kt. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 Duplicated block (13 lines × 2) finding(s) in Code Duplication — start with RouteQueryHandler.kt, REDACTED. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 Duplicated block (9 lines × 4) finding(s) in Code Duplication — start with DeleteRoleCommandHandler.kt, UpdateRoleCommandHandler.kt. — One of this dimension's main actionable groups (2 warning-level).
- Stand up a CI pipeline, then gate Code Duplication in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
4 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 3 of the 4 (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 49 classes have LCOM4 above 3.
D13 · REDACTED Scanning
5 secret(s) detected.
What to do
- Resolve the 6 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (6 issue-level).
- Stand up a CI pipeline, then gate REDACTED Scanning 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.
D14 · License Compliance
0 of 11 declared JVM dependency artifact(s) use a banned license. Licences were resolved from the POMs Maven Central publishes, over the coordinates this repository's 5 Maven/Gradle manifest(s) declare with a version resolvable from the manifest itself — the same declaration-site closure this analysis reads for dependency currency. The JVM has no lockfile a checkout is guaranteed to carry, so this is deliberately NOT the transitive closure. 1 of them resolve to no licence at all on Central, even through their parent POMs; that is missing data, not a violation, and none of them is charged.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
2 deducted task-comment markers across 10120 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.
What to do
- Resolve the 2 TodoComment finding(s) in Explicit Debt — start with BaseEntityListener.kt, AuthLoginRequest.kt. — One of this dimension's main actionable groups (2 warning-level).
- Stand up a CI pipeline, then gate Explicit Debt 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.
D19 · Documentation Quality
The repository's root README is a comprehensive overview of SoybeanAdmin Quarkus: it opens with an English description and links to Chinese sections (简介/前端项目/特性), then dives into the project's purpose, target audience, and features such as Kotlin, Quarkus, DDD, CQRS, event sourcing, Gradle, and RBAC. It also lists a full outline of what exists in the document: 简介; 前端项目; 特性; 项目结构; 快速开始; 技术栈; 贡献指南; 许可证. The body is clipped mid-sentence, so the remaining sections are not flagged as missing.
What to do
- Improve Documentation Quality — currently 7.0/10. — The repository's root README is a comprehensive overview of SoybeanAdmin Quarkus: it opens with an English description and links to Chinese sections (简介/前端项目/特性), then dives into the project's purpose, target audience, and features such as Kotlin, Quarkus, DDD, CQRS, event sourcing, Gradle, and RBAC. It also lists a full outline of what exists in the document: 简介; 前端项目; 特性; 项目结构; 快速开始; 技术栈; 贡献指南; 许可证. The body is clipped mid-sentence, so the remaining sections are not flagged as missing.
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 3 build units (Gradle) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Split system finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
5 finding(s): 0 critical, 5 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 5 REDACTED finding(s) in Secrets (history) — start with REDACTED (3), REDACTED (2). — One of this dimension's main actionable groups (5 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
3 finding(s): 0 critical, 0 high, 3 medium, 0 low. semgrep hit a parse error in 1 file(s) — `gradlew` (line 74, line 181) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
What to do
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D31 · IaC & Container Security
35 finding(s): 0 critical, 1 high, 28 medium, 6 low.
What to do
- Resolve the 28 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (20), REDACTED (4), REDACTED. — One of this dimension's main actionable groups (28 warning-level).
- Resolve the 1 High IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 6 Low IaC finding(s) in IaC & Container Security — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (6 recommendation-level).
D34 · Knowledge Freshness
46 of 46 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is system/src/main/kotlin/cn/soybean/BannkAccount.kt. Counted over 46 of the 220 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 45 Orphaned file finding(s) in Knowledge Freshness — start with build.gradle.kts (2), ApiSecurityRequestFilter.kt, AggregateEventStore.kt. — One of this dimension's main actionable groups (45 recommendation-level).
- Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Most significant orphaned file finding(s) in Knowledge Freshness — start with BannkAccount.kt. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
Strongest change-coupling: RouteQueryHandler.kt↔RouteResource.kt 73%
What to do
- Resolve the 1 Change coupling finding(s) in Change Coupling — start with RouteQueryHandler.kt. — One of this dimension's main actionable groups (1 warning-level).
D40 · Network Egress Confinement
0/2 network-egress controls present (network policy, egress restriction).
What to do
- Resolve the 1 No network policy finding(s) in Network Egress Confinement. — One of this dimension's main actionable groups (1 recommendation-level).
D41 · Kernel & Syscall Confinement
0/1 workload(s) run every container under a seccomp profile; 0/1 declare an AppArmor/SELinux profile.
What to do
- Resolve the 1 No seccomp profile finding(s) in Kernel & Syscall Confinement — start with REDACTED. — One of this dimension's main actionable groups (1 recommendation-level).
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 4 platform declaration(s) and 11 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
AC2 · Forms & labels
AC3 · Page structure
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. — system/src/main/resources/META-INF/resources/index.html:2
- Skipping heading levels breaks the document outline assistive tech relies on. Don't jump levels — increase by at most one. (×2) — system/src/main/resources/META-INF/resources/index.html:339, system/src/main/resources/META-INF/resources/index.html:351
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC6 · Visual & motion safety
- `.left-column .cta-button` sets color: white on background-color: #4695EB — 3.1:1, below the 4.5:1 WCAG AA minimum for normal text. This is a MINIFIED, build-generated sheet — editing the literal here is undone by the next vendor drop or rebuild, so override the rule in your own stylesheet (or fix it upstream / in the source the bundle is built from). — system/src/main/resources/META-INF/resources/index.html:6
What to do
- Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
AC7 · A11y enforcement
- No accessibility enforcement found — no accessibility linting at author time and no automated accessibility check in tests or CI. Add your UI toolkit's own accessibility assertion to the test suite (Flutter `meetsGuideline`, Espresso `AccessibilityChecks`, XCTest `performAccessibilityAudit`), then gate that test in the pipeline. What was searched, so you can tell an absence from a miss: the 1 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Enforce accessibility in the toolchain your project already uses: assert accessibility in your UI test suite with your toolkit's own matcher (Flutter `meetsGuideline`, Espresso `AccessibilityChecks`, XCTest `performAccessibilityAudit`), then gate that test in CI so a regression blocks the merge.
AX10 · Code composition
AX2 · Stateful singletons
- `Ip2RegionUtil` is a singleton (@ApplicationScoped: the container shares one instance across every request thread) but mutates instance state outside any lock (searcher; e.g. `searcher` in `initialize` at line 17). — system/src/main/kotlin/cn/soybean/interfaces/rest/util/Ip2RegionUtil.kt:14
What to do
- Java/Kotlin: keep container singletons stateless — move per-request data into locals or a request-scoped bean — or back the state with java.util.concurrent types (ConcurrentHashMap, AtomicInteger/AtomicReference), guard it with synchronized / a Lock (Kotlin: withLock), or mark a flag that is only ever overwritten volatile (@Volatile).
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
C1 · Data Protection
- No encryption usage (javax.crypto's Cipher in ENCRYPT_MODE, Tink, Jasypt, Spring Security's Encryptors, Jetpack Security's EncryptedSharedPreferences or EncryptedFile, the Android Keystore, SQLCipher, pgcrypto) was found, and this repository persists personal data in the model cited here — sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore. — deploy/db/postgres/public.sql:347
What to do
- Encrypt sensitive data at rest (open the store encrypted — SQLCipher's SupportFactory for Room, a Realm encryptionKey — or encrypt the fields with Tink's AEAD or an AES/GCM Cipher, or use Jetpack Security's EncryptedSharedPreferences on Android) keeping its key in the Android Keystore or a vault, and manage server-side keys in a vault (AWS KMS / Secrets Manager, GCP KMS / REDACTED Manager, Azure Key Vault, HashiCorp Vault). Skip if delegated to infra (Postgres TDE, KMS, etc.).
- Enforce HTTPS on the server that receives this data: terminate TLS in it (Ktor's sslConnector, Spring's server.ssl and requiresSecure, Netty's SslContextBuilder.forServer) and send Strict-Transport-Security (Ktor's HttpsRedirect), or run it behind a TLS-terminating proxy, so data in transit is always encrypted.
DM1 · Aggregate boundaries
DM10 · One transaction, one aggregate
DM11 · Constructible invalid state
- `BankAccountAggregate`'s public constructor takes `aggregateId` 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 `BankAccountAggregate` 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. — system/src/main/kotlin/cn/soybean/BannkAccount.kt:208
- `RoleAggregate`'s public constructor takes `aggregateId` 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 `RoleAggregate` 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. — domain/src/main/kotlin/cn/soybean/domain/system/aggregate/role/RoleAggregate.kt:19
- `RouteAggregate`'s public constructor takes `aggregateId` 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 `RouteAggregate` 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. — domain/src/main/kotlin/cn/soybean/domain/system/aggregate/route/RouteAggregate.kt:19
- `TenantAggregate`'s public constructor takes `aggregateId` 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 `TenantAggregate` 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. — domain/src/main/kotlin/cn/soybean/domain/system/aggregate/tenant/TenantAggregate.kt:21
- `UserAggregate`'s public constructor takes `aggregateId` 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 `UserAggregate` 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. — domain/src/main/kotlin/cn/soybean/domain/system/aggregate/user/UserAggregate.kt:20
- `SystemApisEntity`'s public constructor takes `operationId`, `path`, `httpMethod`, `summary`, … 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 `SystemApisEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemApisEntity.kt:22
- `SystemDeptEntity`'s public constructor takes `name`, `parentId`, `leaderUserId`, `leaderAccountName`, … 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 `SystemDeptEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemDeptEntity.kt:22
- `SystemDictDataEntity`'s public constructor takes `label`, `value`, `dictType`, `color`, … 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 `SystemDictDataEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemDictDataEntity.kt:23
- `SystemDictTypeEntity`'s public constructor takes `dictName`, `dictType`, `remark` 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 `SystemDictTypeEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemDictTypeEntity.kt:23
- `SystemLoginLogEntity`'s public constructor takes `action`, `remark`, `userId`, `accountName`, … 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 `SystemLoginLogEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemLoginLogEntity.kt:19
- `SystemMenuEntity`'s public constructor takes `menuName`, `parentId`, `icon`, `iconType`, … 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 `SystemMenuEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemMenuEntity.kt:24
- `SystemOperationLogEntity`'s public constructor takes `traceId`, `userId`, `accountName`, `tenantId`, … 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 `SystemOperationLogEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemOperationLogEntity.kt:21
- `SystemPostEntity`'s public constructor takes `name`, `remark` 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 `SystemPostEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemPostEntity.kt:23
- `SystemRoleApiEntity`'s public constructor takes `roleId`, `operationId`, `tenantId` 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 `SystemRoleApiEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemRoleApiEntity.kt:24
- `SystemRoleEntity`'s public constructor takes `name`, `code`, `remark` 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 `SystemRoleEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemRoleEntity.kt:26
- `SystemRoleMenuEntity`'s public constructor takes `roleId`, `menuId`, `tenantId` 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 `SystemRoleMenuEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemRoleMenuEntity.kt:24
- `SystemRoleUserEntity`'s public constructor takes `roleId`, `userId`, `tenantId` 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 `SystemRoleUserEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemRoleUserEntity.kt:24
- `SystemTenantEntity`'s public constructor takes `name`, `contactUserId`, `contactAccountName`, `website` 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 `SystemTenantEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemTenantEntity.kt:30
- `SystemUserEntity`'s public constructor takes `accountName`, `accountPassword`, `nickName`, `personalProfile`, … 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 `SystemUserEntity` 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. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemUserEntity.kt:26
What to do
- Give each aggregate one way in that can refuse — a guarded constructor, value-object parameters that validate themselves, or a private constructor behind a factory that returns a failure.
DM12 · Ambient inputs in the domain
DM2 · Strongly-typed ids
- `TenantAggregate.contactUserId` is a raw `String` — give it a strongly-typed id: a dedicated single-field type wrapping the `String`, in whatever form your language spells that. — domain/src/main/kotlin/cn/soybean/domain/system/aggregate/tenant/TenantAggregate.kt:25
What to do
- Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs.
DM4 · Rich vs anemic model
DM5 · Encapsulated state
- `TenantAggregate` exposes publicly writable state (name, contactUserId, contactAccountName, status, website, expireTime, and 2 more). — domain/src/main/kotlin/cn/soybean/domain/system/aggregate/tenant/TenantAggregate.kt:19
What to do
- Make entity setters private/init-only and hand collections out as IReadOnlyList/IReadOnlyCollection over a private backing field; change state only through methods that enforce the invariants (Marten/EF can bind via constructor or private setters).
DM6 · Domain ↔ infrastructure boundary
DM7 · Repository granularity
DM8 · Value-object opportunities
- The parameters [roleid, tenantid, userid] travel together across 4 signatures and were confirmed as a coherent concept by the model — that's a missing value object. Extracting them into one type (e.g. `Address`, `Money`, `Coordinate`) removes repetition, prevents argument-order mistakes, and gives the concept a home for its rules. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemApisEntity.kt:73
- The parameters [menuid, roleid, tenantid] travel together across 3 signatures and were confirmed as a coherent concept by the model — that's a missing value object. Extracting them into one type (e.g. `Address`, `Money`, `Coordinate`) removes repetition, prevents argument-order mistakes, and gives the concept a home for its rules. — domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemRoleMenuEntity.kt:24
What to do
- Extract recurring primitive parameter clusters into value objects so the concept (and its rules) lives in one place.
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 3 of 3 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.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
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.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
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.
P2 · Observability
What to do
- Add a health-check endpoint (Spring Boot Actuator's /actuator/health, or a /health route) so orchestrators and load balancers can probe liveness/readiness.
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.
P4 · Deployment & Rollback
What to do
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup
What to do
- Document RTO/RPO and a tested restore procedure (a backup config alone isn't disaster recovery).
- Enable purge protection / soft-delete (and prevent_destroy on critical resources) so data stores can't be lost to an accidental or malicious delete.
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
- `requests.post(` 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. — experiment/script.py:7
What to do
- Pass `timeout=` on every `requests`/`httpx` call (requests has no default and will wait forever), mount an `HTTPAdapter(max_retries=Retry(...))` on shared sessions, and wrap calls to flaky dependencies in `tenacity` retries or a `pybreaker` circuit breaker.
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
X24 · Document value interpolated into markup unescaped
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
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. — system/src/main/kotlin/cn/soybean/infrastructure/interceptor/LogOperationInterceptor.kt:71
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X4 · Structured logging
- `debug` at line 17 is handed an f-string as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: `logger.debug("order %s moved to %s", order_id, status)` with the standard library's `logging`, which keeps the message and its arguments apart on the record, or `log.debug("order moved", order_id=order_id, status=status)` with structlog. — experiment/script.py:17
- `debug` at line 18 is handed an f-string as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: `logger.debug("order %s moved to %s", order_id, status)` with the standard library's `logging`, which keeps the message and its arguments apart on the record, or `log.debug("order moved", order_id=order_id, status=status)` with structlog. — experiment/script.py:18
- `debug` at line 19 is handed an f-string as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: `logger.debug("order %s moved to %s", order_id, status)` with the standard library's `logging`, which keeps the message and its arguments apart on the record, or `log.debug("order moved", order_id=order_id, status=status)` with structlog. — experiment/script.py:19
- `debug` at line 23 is handed an f-string as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: `logger.debug("order %s moved to %s", order_id, status)` with the standard library's `logging`, which keeps the message and its arguments apart on the record, or `log.debug("order moved", order_id=order_id, status=status)` with structlog. — experiment/script.py:23
- `error` at line 29 is handed an f-string as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the record is filtered out. Pass the values beside a constant message instead: `logger.error("order %s moved to %s", order_id, status)` with the standard library's `logging`, which keeps the message and its arguments apart on the record, or `log.error("order moved", order_id=order_id, status=status)` with structlog. — experiment/script.py:29
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 68% | Adequate — gated by X4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 85% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 41% | Weak — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 24% | Critical — gated by D13, P1, P3, P7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 30% | Weak — gated by C1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 60% | Adequate — gated by DM2, DM11 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Accessibility | 48% | Weak — gated by AC6 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
Unscored — 1 check(s) recorded observations but carry no score
- X10 Duplicated predicate — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 3 control(s) we could not find positive evidence for
- C3 Audit Trail — Repo shows no audit-logging mechanism (an audit-log table or model — an Exposed table, a data class, a Room entity or a SQL migration's table named for it — Hibernate Envers' @Audited, a JPA entity listener, Hibernate event listener or jOOQ RecordListener that records each change) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
Not included — 50 check(s) not relevant to this codebase
- AC1 Text alternatives — No image/media element found in the parsed markup — AC1 not applicable here.
- AC4 Keyboard semantics — No interactive element found in the parsed markup — AC4 not applicable here.
- AC5 ARIA correctness — No ARIA usage found in the parsed markup — AC5 not applicable here.
- AX1 Captive dependencies — Not applicable: CDI injects normal-scoped beans through client proxies, and a @Dependent bean belongs to the bean it is injected into.
- 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 — compose up failed (exit 18 — an image could not be pulled) — postgres Pulling kafka Pulling redis Pulling mongo Pulling redis Error Get "https://registry-1.docker.io/v2/": Forbidden postgres Error context canceled kafka Error context canceled mongo Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: redis Pulling mongo Pulling postgres Pulling kafka Pulling redis Error Get "https://registry-1.docker.io/v2/": Forbidden postgres Error context canceled kafka Error context canceled mongo Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D10 Test Quality — ~59 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
- D12 Dependency Hygiene — Not scored — 5 Maven/Gradle manifest(s) were read, stating a version for 11 dependency(ies) and leaving 0 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 — 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. Aggregate roots were found in only one source directory (domain), which is a layered codebase, not two contexts. 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).
- D32 Data Compliance (PII/GDPR) — 19 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.
- D42 Runtime Threat Enforcement — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess.
- 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.
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- 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 only 1 of the 3 signals this lens looks for (12 CQRS handler(s))
- ED5 Idempotency — Not assessed, and this one is on us: 12 command handler(s) or message consumer(s) were found here, but this check does not yet recognise persistence writes in this repository's language. Idempotency was neither confirmed nor ruled out — this is a limit of the analyzer, not a finding about your code.
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C#, F#, JavaScript/TypeScript, Dart, Ruby and Scala, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
- IC1 Incompleteness & stubs — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- P12 CI test-gate honesty — no CI workflow found
- P8 Schema migrations — Hibernate is declared, but the schema-migration mechanism could not be identified. Our limit, not a verdict on this repository.
- 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 11,158 production line(s), 0 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
- PF3 Async & latency hygiene — Not applicable: this repository declares no async functions, so there is no asynchronous code for a blocking call to stall.
- 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 Python and Kotlin were 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 Python request takes no token: asyncio cancels the task and trio or anyio the scope that made it, from outside the call, and requests, httpx, aiohttp and gRPC take a timeout, not a cancellation; a Kotlin request outside a suspend function has no caller's cancellation to honour
- 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.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 12 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 76 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Constructible in an invalid state: BankAccountAggregate system/src/main/kotlin/cn/soybean/BannkAccount.kt:208
- Constructible in an invalid state: RoleAggregate domain/src/main/kotlin/cn/soybean/domain/system/aggregate/role/RoleAggregate.kt:19
- Constructible in an invalid state: RouteAggregate domain/src/main/kotlin/cn/soybean/domain/system/aggregate/route/RouteAggregate.kt:19
- Constructible in an invalid state: TenantAggregate domain/src/main/kotlin/cn/soybean/domain/system/aggregate/tenant/TenantAggregate.kt:21
- Constructible in an invalid state: UserAggregate domain/src/main/kotlin/cn/soybean/domain/system/aggregate/user/UserAggregate.kt:20
- Constructible in an invalid state: SystemApisEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemApisEntity.kt:22
- Constructible in an invalid state: SystemDeptEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemDeptEntity.kt:22
- Constructible in an invalid state: SystemDictDataEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemDictDataEntity.kt:23
- Constructible in an invalid state: SystemDictTypeEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemDictTypeEntity.kt:23
- Constructible in an invalid state: SystemLoginLogEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemLoginLogEntity.kt:19
- Constructible in an invalid state: SystemMenuEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemMenuEntity.kt:24
- Constructible in an invalid state: SystemOperationLogEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemOperationLogEntity.kt:21
- Constructible in an invalid state: SystemPostEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemPostEntity.kt:23
- Constructible in an invalid state: SystemRoleApiEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemRoleApiEntity.kt:24
- Constructible in an invalid state: SystemRoleEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemRoleEntity.kt:26
- Constructible in an invalid state: SystemRoleMenuEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemRoleMenuEntity.kt:24
- Constructible in an invalid state: SystemRoleUserEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemRoleUserEntity.kt:24
- Constructible in an invalid state: SystemTenantEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemTenantEntity.kt:30
- Constructible in an invalid state: SystemUserEntity domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemUserEntity.kt:26
- Members sharing a duplicated core (4 members, 50+ identical tokens) system/src/main/kotlin/cn/soybean/system/application/command/role/handler/DeleteRoleCommandHandler.kt:27
- Members sharing a duplicated core (4 members, 50+ identical tokens) system/src/main/kotlin/cn/soybean/system/application/command/role/handler/UpdateRoleCommandHandler.kt:25
- Members sharing a duplicated core (4 members, 50+ identical tokens) system/src/main/kotlin/cn/soybean/system/application/service/RoleService.kt:72
- TodoComment system/src/main/kotlin/cn/soybean/infrastructure/persistence/listeners/BaseEntityListener.kt:16
- TodoComment system/src/main/kotlin/cn/soybean/system/interfaces/rest/dto/request/auth/AuthLoginRequest.kt:27
- Duplicated block (13 lines × 2) system/src/main/kotlin/cn/soybean/system/application/query/route/handler/RouteQueryHandler.kt:79
- Duplicated block (13 lines × 2) REDACTED:105
- Duplicated block (9 lines × 4) system/src/main/kotlin/cn/soybean/system/application/command/role/handler/DeleteRoleCommandHandler.kt:37
- Duplicated block (9 lines × 4) system/src/main/kotlin/cn/soybean/system/application/command/role/handler/UpdateRoleCommandHandler.kt:30
- Page without a main landmark system/src/main/resources/META-INF/resources/index.html:2
- Heading level jumps from h1 to h3 system/src/main/resources/META-INF/resources/index.html:339
- Heading level jumps from h3 to h5 system/src/main/resources/META-INF/resources/index.html:351
- Low contrast colour pair in CSS (3.1:1) system/src/main/resources/META-INF/resources/index.html:6
- Accessibility enforcement below the top rung
- Stateful singleton: Ip2RegionUtil system/src/main/kotlin/cn/soybean/interfaces/rest/util/Ip2RegionUtil.kt:14
- No data-protection/encryption deploy/db/postgres/public.sql:347
- REDACTED
- REDACTED
- REDACTED
- FileTooLong: soybean/BannkAccount.kt system/src/main/kotlin/cn/soybean/BannkAccount.kt
- Change coupling: RouteQueryHandler.kt ↔ RouteResource.kt system/src/main/kotlin/cn/soybean/system/application/query/route/handler/RouteQueryHandler.kt:1
- Duplicated block (18–19 lines × 2) system/src/main/kotlin/cn/soybean/system/application/command/route/convert/Convert.kt:19
- Duplicated block (8 lines × 4) system/src/main/kotlin/cn/soybean/system/application/service/RoleService.kt:86
- Duplicated block (13 lines × 3) system/src/main/kotlin/cn/soybean/BannkAccount.kt:403
- Duplicated block (12 lines × 3) system/src/main/kotlin/cn/soybean/BannkAccount.kt:389
- Mutable entity: TenantAggregate domain/src/main/kotlin/cn/soybean/domain/system/aggregate/tenant/TenantAggregate.kt:19
- No CI pipeline
- Outbound HTTP without resilience experiment/script.py:7
- Swallowed exception (empty catch) system/src/main/kotlin/cn/soybean/infrastructure/interceptor/LogOperationInterceptor.kt:71
Minor — 71 finding(s)
- Orphaned file system/src/main/kotlin/cn/soybean/system/infrastructure/security/ApiSecurityRequestFilter.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/eventsourcing/AggregateEventStore.kt:1
- Orphaned file REDACTED:1
- Orphaned file system/build.gradle.kts:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/application/service/PermissionService.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/application/eventhandler/SystemEventHandler.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/application/query/route/handler/RouteQueryHandler.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/application/service/AuthService.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/application/service/UserService.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/projection/tenant/TenantUpdatedProjection.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/projection/tenant/TenantCreatedProjection.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/interfaces/rest/RouteResource.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/application/service/RoleService.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/application/service/TenantService.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/infrastructure/interceptor/LogOperationInterceptor.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/interfaces/rest/TenantResource.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/interfaces/rest/RoleResource.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/interfaces/rest/UserResource.kt:1
- Orphaned file domain/src/main/kotlin/cn/soybean/domain/system/aggregate/route/RouteAggregate.kt:1
- Orphaned file domain/src/main/kotlin/cn/soybean/domain/system/aggregate/user/UserAggregate.kt:1
- Orphaned file domain/src/main/kotlin/cn/soybean/domain/system/aggregate/tenant/TenantAggregate.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/projection/ProjectionInvoker.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/application/service/RouteService.kt:1
- Orphaned file system/src/main/kotlin/cn/soybean/system/interfaces/rest/PermissionResource.kt:1
- Orphaned file domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemMenuEntity.kt:1
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Interpolated log message defeats structured logging experiment/script.py:17
- Interpolated log message defeats structured logging experiment/script.py:18
- Interpolated log message defeats structured logging experiment/script.py:19
- Interpolated log message defeats structured logging experiment/script.py:23
- Interpolated log message defeats structured logging experiment/script.py:29
- Primitive data clump: [roleid, tenantid, userid] domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemApisEntity.kt:73
- Primitive data clump: [menuid, roleid, tenantid] domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemRoleMenuEntity.kt:24
- No ADRs found
- Split system
- REDACTED
- Dormant codebase
- Most significant orphaned file system/src/main/kotlin/cn/soybean/BannkAccount.kt:1
- No network policy
- No seccomp profile REDACTED:28
- Primitive id on a domain type: TenantAggregate.contactUserId domain/src/main/kotlin/cn/soybean/domain/system/aggregate/tenant/TenantAggregate.kt:25
- No ADRs
- No architecture diagram/doc
- No SAST
- No changelog
- Duplicated predicate domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemApisEntity.kt:79
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-59edeadd7cff40658a437c38de653120/history.json --exit-code 0 --source . | 5 | 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-59edeadd7cff40658a437c38de653120/tree.json --exit-code 0 --source . | 3 | 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 . | 3 | 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 config --format json --quiet . | 35 | artifacts/raw/trivy-config.json |
| 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 19 file(s) — `domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemDeptEntity.kt`, `domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemDictDataEntity.kt`, `domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemDictTypeEntity.kt`, `domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemPostEntity.kt`, `domain/src/main/kotlin/cn/soybean/domain/system/entity/SystemRoleApiEntity.kt`, … (+14 more) — 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 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — The repository ships application workloads but no cluster-governance resources (CRDs, admission webhooks, or a committed policy engine). Runtime threat-detection (Falco/Tetragon) and admission control (Kyverno/OPA-Gatekeeper/PodSecurity) are cluster-OPERATOR controls owned by the platform, not shipped by an application repo/chart — nothing for this repo to assess. | 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 | — |