Executive summary
doytowin/doyto-query scores 59 out of 100 and is rated Adequate, while three of its five lenses score higher still: Architecture at 94, rated Exemplary, and Production Readiness at 66 and Maturity at 62, both rated Adequate.
The score is lower than those three because the weakest lens counts most, and here that is Security and Compliance, which scores 54 and is rated Adequate. Its Supply-chain Provenance & Signing dimension scores 0 out of 10, and until that reaches 4, Security and Compliance can't be rated higher than Adequate. The first actions are to resolve the 4 REDACTED finding(s) in Supply-chain Provenance & Signing and to resolve the 4 REDACTED finding(s) in Static Analysis (SAST), and if Security and Compliance rose to 70, the score would rise from 59 to about 63.
23 findings are critical: 22 in Static Analysis (SAST) and one in Change Coupling.
Watchdog couldn't measure 18 dimensions in this code, among them Code Coverage, Dependency Hygiene and ADR Quality, so they are left out of the score. The product code is 10,491 lines, which would take an estimated 0.2 person-years, around €25,000, to rebuild.
If Security and Compliance rose from 54 to 70, the lowest score rated Strong, the score would rise from 59 to about 63.
New since the last survey: 4 findings
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
Fixed since the last survey: 1 finding
- Supply-chain Provenance & Signing REDACTED
Rebuild cost: about €25,000 · Estimate
| Cost to rebuild | €8,200 to €41,000, for 137 to 435 hours of work, about 0.2 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.8 at a score of 59. 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,491 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 cache | 2 core | 3 geo | 4 jdbc.rowmapper | 5 util | 6 validation | 7 web.demo.mongodb | 8 web.response | 9 web.util | 10 config | 11 dialect | 12 entity | 13 web.component | 14 annotation | 15 test.menu | 16 web.config | 17 web.demo.common | 18 relation | 19 service | 20 test.user | 21 web | 22 sql | 23 test.role | 24 web.controller | 25 web.demo | 26 jdbc | 27 sql.field | 28 test.perm | 29 web.demo.module.building | 30 web.demo.module.menu | 31 web.demo.module.role | 32 jdbc.autoconfigure | 33 test | 34 web.demo.module.user | 35 web.demo.module.auth | 36 web.demo.test |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 cache | ||||||||||||||||||||||||||||||||||||
| 2 core | ||||||||||||||||||||||||||||||||||||
| 3 geo | ||||||||||||||||||||||||||||||||||||
| 4 jdbc.rowmapper | ||||||||||||||||||||||||||||||||||||
| 5 util | ||||||||||||||||||||||||||||||||||||
| 6 validation | ||||||||||||||||||||||||||||||||||||
| 7 web.demo.mongodb | ||||||||||||||||||||||||||||||||||||
| 8 web.response | ||||||||||||||||||||||||||||||||||||
| 9 web.util | ||||||||||||||||||||||||||||||||||||
| 10 config | 3 | |||||||||||||||||||||||||||||||||||
| 11 dialect | 6 | |||||||||||||||||||||||||||||||||||
| 12 entity | 1 | |||||||||||||||||||||||||||||||||||
| 13 web.component | 1 | 4 | 1 | |||||||||||||||||||||||||||||||||
| 14 annotation | 2 | |||||||||||||||||||||||||||||||||||
| 15 test.menu | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||
| 16 web.config | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 17 web.demo.common | 1 | |||||||||||||||||||||||||||||||||||
| 18 relation | 1 | |||||||||||||||||||||||||||||||||||
| 19 service | 1 | 15 | 4 | 3 | ||||||||||||||||||||||||||||||||
| 20 test.user | 3 | 1 | 2 | 3 | 2 | |||||||||||||||||||||||||||||||
| 21 web | 1 | |||||||||||||||||||||||||||||||||||
| 22 sql | 12 | 7 | 1 | |||||||||||||||||||||||||||||||||
| 23 test.role | 1 | 1 | 2 | 2 | ||||||||||||||||||||||||||||||||
| 24 web.controller | 2 | 4 | ||||||||||||||||||||||||||||||||||
| 25 web.demo | 1 | |||||||||||||||||||||||||||||||||||
| 26 jdbc | 11 | 9 | 1 | 1 | 1 | 8 | ||||||||||||||||||||||||||||||
| 27 sql.field | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 28 test.perm | 1 | 1 | 2 | 1 | ||||||||||||||||||||||||||||||||
| 29 web.demo.module.building | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||
| 30 web.demo.module.menu | 2 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||
| 31 web.demo.module.role | 1 | |||||||||||||||||||||||||||||||||||
| 32 jdbc.autoconfigure | 1 | 5 | ||||||||||||||||||||||||||||||||||
| 33 test | 6 | 2 | 1 | |||||||||||||||||||||||||||||||||
| 34 web.demo.module.user | 2 | 1 | 3 | 2 | 2 | 3 | 1 | |||||||||||||||||||||||||||||
| 35 web.demo.module.auth | 2 | |||||||||||||||||||||||||||||||||||
| 36 web.demo.test | 1 | 2 | 2 |
10→2 config uses core✕
- Connections
- 3 pairs of types, where a type in config uses a type in core.
- The types involved
win.doyto.query.config.GlobalConfiguration→win.doyto.query.core.Dialectwin.doyto.query.config.GlobalConfiguration→win.doyto.query.core.DoytoQuerywin.doyto.query.config.SimpleDialect→win.doyto.query.core.Dialect
- Direction
- config uses core, so a change to core can break config, while a change to config can't break core.
- Position
- Below the diagonal: config uses a module listed above it, which is the healthy direction.
11→2 dialect uses core✕
- Connections
- 6 pairs of types, where a type in dialect uses a type in core.
- The types involved
win.doyto.query.dialect.HSQLDBDialect→win.doyto.query.core.Dialectwin.doyto.query.dialect.MySQLDialect→win.doyto.query.core.Dialectwin.doyto.query.dialect.OracleDialect→win.doyto.query.core.Dialectwin.doyto.query.dialect.PostgreSQLDialect→win.doyto.query.core.Dialectwin.doyto.query.dialect.SQLServerDialect→win.doyto.query.core.Dialectwin.doyto.query.dialect.SQLiteDialect→win.doyto.query.core.Dialect
- Direction
- dialect uses core, so a change to core can break dialect, while a change to dialect can't break core.
- Position
- Below the diagonal: dialect uses a module listed above it, which is the healthy direction.
12→2 entity uses core✕
- Connections
- 1 pair of types, where a type in entity uses a type in core.
- The types involved
win.doyto.query.entity.Persistable→win.doyto.query.core.IdWrapper
- Direction
- entity uses core, so a change to core can break entity, while a change to entity can't break core.
- Position
- Below the diagonal: entity uses a module listed above it, which is the healthy direction.
13→2 web.component uses core✕
- Connections
- 1 pair of types, where a type in web.component uses a type in core.
- The types involved
win.doyto.query.web.component.NotEmptyQueryValidator→win.doyto.query.core.DoytoQuery
- Direction
- web.component uses core, so a change to core can break web.component, while a change to web.component can't break core.
- Position
- Below the diagonal: web.component uses a module listed above it, which is the healthy direction.
13→8 web.component uses web.response✕
- Connections
- 4 pairs of types, where a type in web.component uses a type in web.response.
- The types involved
win.doyto.query.web.component.CommonExceptionHandler→win.doyto.query.web.response.ErrorCodewin.doyto.query.web.component.CommonExceptionHandler→win.doyto.query.web.response.ErrorCodeExceptionwin.doyto.query.web.component.ErrorCodeI18nService→win.doyto.query.web.response.ErrorCodewin.doyto.query.web.component.JsonResponseAdvice→win.doyto.query.web.response.ErrorCode
- Direction
- web.component uses web.response, so a change to web.response can break web.component, while a change to web.component can't break web.response.
- Position
- Below the diagonal: web.component uses a module listed above it, which is the healthy direction.
13→16 web.component uses web.config part of a loop✕
- Connections
- 1 pair of types, where a type in web.component uses a type in web.config.
- The types involved
win.doyto.query.web.component.SortArgumentResolver→win.doyto.query.web.config.SortFieldsProperties
- Direction
- web.component uses web.config, so a change to web.config can break web.component, while a change to web.component can't break web.config.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
14→12 annotation uses entity✕
- Connections
- 2 pairs of types, where a type in annotation uses a type in entity.
- The types involved
win.doyto.query.annotation.CompositeView→win.doyto.query.entity.Persistablewin.doyto.query.annotation.Subquery→win.doyto.query.entity.Persistable
- Direction
- annotation uses entity, so a change to entity can break annotation, while a change to annotation can't break entity.
- Position
- Below the diagonal: annotation uses a module listed above it, which is the healthy direction.
15→2 test.menu uses core✕
- Connections
- 1 pair of types, where a type in test.menu uses a type in core.
- The types involved
win.doyto.query.test.menu.MenuQuery→win.doyto.query.core.PageQuery
- Direction
- test.menu uses core, so a change to core can break test.menu, while a change to test.menu can't break core.
- Position
- Below the diagonal: test.menu uses a module listed above it, which is the healthy direction.
15→12 test.menu uses entity✕
- Connections
- 1 pair of types, where a type in test.menu uses a type in entity.
- The types involved
win.doyto.query.test.menu.MenuEntity→win.doyto.query.entity.AbstractPersistable
- Direction
- test.menu uses entity, so a change to entity can break test.menu, while a change to test.menu can't break entity.
- Position
- Below the diagonal: test.menu uses a module listed above it, which is the healthy direction.
15→20 test.menu uses test.user part of a loop✕
- Connections
- 2 pairs of types, where a type in test.menu uses a type in test.user.
- The types involved
win.doyto.query.test.menu.MenuEntity→win.doyto.query.test.user.UserEntitywin.doyto.query.test.menu.MenuQuery→win.doyto.query.test.user.UserQuery
- Direction
- test.menu uses test.user, so a change to test.user can break test.menu, while a change to test.menu can't break test.user.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
16→2 web.config uses core✕
- Connections
- 1 pair of types, where a type in web.config uses a type in core.
- The types involved
win.doyto.query.web.config.DoytoQueryInitializer→win.doyto.query.core.Dialect
- Direction
- web.config uses core, so a change to core can break web.config, while a change to web.config can't break core.
- Position
- Below the diagonal: web.config uses a module listed above it, which is the healthy direction.
16→10 web.config uses config✕
- Connections
- 1 pair of types, where a type in web.config uses a type in config.
- The types involved
win.doyto.query.web.config.DoytoQueryInitializer→win.doyto.query.config.GlobalConfiguration
- Direction
- web.config uses config, so a change to config can break web.config, while a change to web.config can't break config.
- Position
- Below the diagonal: web.config uses a module listed above it, which is the healthy direction.
16→13 web.config uses web.component✕
- Connections
- 1 pair of types, where a type in web.config uses a type in web.component.
- The types involved
win.doyto.query.web.config.WebComponentsConfiguration→win.doyto.query.web.component.ErrorCodeI18nService
- Direction
- web.config uses web.component, so a change to web.component can break web.config, while a change to web.config can't break web.component.
- Position
- Below the diagonal: web.config uses a module listed above it, which is the healthy direction.
17→12 web.demo.common uses entity✕
- Connections
- 1 pair of types, where a type in web.demo.common uses a type in entity.
- The types involved
win.doyto.query.web.demo.common.MockUserIdProvider→win.doyto.query.entity.UserIdProvider
- Direction
- web.demo.common uses entity, so a change to entity can break web.demo.common, while a change to web.demo.common can't break entity.
- Position
- Below the diagonal: web.demo.common uses a module listed above it, which is the healthy direction.
18→14 relation uses annotation✕
- Connections
- 1 pair of types, where a type in relation uses a type in annotation.
- The types involved
win.doyto.query.relation.DomainPathDetail→win.doyto.query.annotation.DomainPath
- Direction
- relation uses annotation, so a change to annotation can break relation, while a change to relation can't break annotation.
- Position
- Below the diagonal: relation uses a module listed above it, which is the healthy direction.
19→1 service uses cache✕
- Connections
- 1 pair of types, where a type in service uses a type in cache.
- The types involved
win.doyto.query.service.CachedDataAccess→win.doyto.query.cache.CacheWrapper
- Direction
- service uses cache, so a change to cache can break service, while a change to service can't break cache.
- Position
- Below the diagonal: service uses a module listed above it, which is the healthy direction.
19→2 service uses core✕
- Connections
- 15 pairs of types, where a type in service uses a type in core.
- The types involved
win.doyto.query.service.AbstractDynamicService→win.doyto.query.core.DataAccesswin.doyto.query.service.AbstractDynamicService→win.doyto.query.core.IdWrapperwin.doyto.query.service.AspectDataAccess→win.doyto.query.core.DataAccesswin.doyto.query.service.AspectDataAccess→win.doyto.query.core.IdWrapperwin.doyto.query.service.CachedDataAccess→win.doyto.query.core.DataAccesswin.doyto.query.service.CachedDataAccess→win.doyto.query.core.IdWrapperwin.doyto.query.service.DataAccessFactory→win.doyto.query.core.DataAccesswin.doyto.query.service.DataAccessManager→win.doyto.query.core.DataAccesswin.doyto.query.service.DynamicService→win.doyto.query.core.IdWrapperwin.doyto.query.service.FilterExecutor→win.doyto.query.core.QuerySuffixwin.doyto.query.service.MemoryDataAccess→win.doyto.query.core.DataAccesswin.doyto.query.service.MemoryDataAccess→win.doyto.query.core.IdWrapperwin.doyto.query.service.MemoryDataAccess→win.doyto.query.core.PageListwin.doyto.query.service.QueryService→win.doyto.query.core.PageListwin.doyto.query.service.UserIdDataAccess→win.doyto.query.core.DataAccess
- Direction
- service uses core, so a change to core can break service, while a change to service can't break core.
- Position
- Below the diagonal: service uses a module listed above it, which is the healthy direction.
19→12 service uses entity✕
- Connections
- 4 pairs of types, where a type in service uses a type in entity.
- The types involved
win.doyto.query.service.AbstractDynamicService→win.doyto.query.entity.EntityAspectwin.doyto.query.service.AbstractDynamicService→win.doyto.query.entity.UserIdProviderwin.doyto.query.service.AspectDataAccess→win.doyto.query.entity.EntityAspectwin.doyto.query.service.UserIdDataAccess→win.doyto.query.entity.UserIdProvider
- Direction
- service uses entity, so a change to entity can break service, while a change to service can't break entity.
- Position
- Below the diagonal: service uses a module listed above it, which is the healthy direction.
19→14 service uses annotation✕
- Connections
- 3 pairs of types, where a type in service uses a type in annotation.
- The types involved
win.doyto.query.service.AbstractDynamicService→win.doyto.query.annotation.EntityTypewin.doyto.query.service.DataAccessFactory→win.doyto.query.annotation.EntityTypewin.doyto.query.service.DataAccessManager→win.doyto.query.annotation.EntityType
- Direction
- service uses annotation, so a change to annotation can break service, while a change to service can't break annotation.
- Position
- Below the diagonal: service uses a module listed above it, which is the healthy direction.
20→2 test.user uses core✕
- Connections
- 3 pairs of types, where a type in test.user uses a type in core.
- The types involved
win.doyto.query.test.user.UserLevelHaving→win.doyto.query.core.Havingwin.doyto.query.test.user.UserLevelQuery→win.doyto.query.core.PageQuerywin.doyto.query.test.user.UserQuery→win.doyto.query.core.PageQuery
- Direction
- test.user uses core, so a change to core can break test.user, while a change to test.user can't break core.
- Position
- Below the diagonal: test.user uses a module listed above it, which is the healthy direction.
20→12 test.user uses entity✕
- Connections
- 1 pair of types, where a type in test.user uses a type in entity.
- The types involved
win.doyto.query.test.user.UserEntity→win.doyto.query.entity.AbstractCommonEntity
- Direction
- test.user uses entity, so a change to entity can break test.user, while a change to test.user can't break entity.
- Position
- Below the diagonal: test.user uses a module listed above it, which is the healthy direction.
20→15 test.user uses test.menu✕
- Connections
- 2 pairs of types, where a type in test.user uses a type in test.menu.
- The types involved
win.doyto.query.test.user.UserEntity→win.doyto.query.test.menu.MenuEntitywin.doyto.query.test.user.UserQuery→win.doyto.query.test.menu.MenuQuery
- Direction
- test.user uses test.menu, so a change to test.menu can break test.user, while a change to test.user can't break test.menu.
- Position
- Below the diagonal: test.user uses a module listed above it, which is the healthy direction.
20→23 test.user uses test.role part of a loop✕
- Connections
- 3 pairs of types, where a type in test.user uses a type in test.role.
- The types involved
win.doyto.query.test.user.UserEntity→win.doyto.query.test.role.RoleEntitywin.doyto.query.test.user.UserEntity→win.doyto.query.test.role.RoleStatViewwin.doyto.query.test.user.UserQuery→win.doyto.query.test.role.RoleQuery
- Direction
- test.user uses test.role, so a change to test.role can break test.user, while a change to test.user can't break test.role.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
20→28 test.user uses test.perm part of a loop✕
- Connections
- 2 pairs of types, where a type in test.user uses a type in test.perm.
- The types involved
win.doyto.query.test.user.UserEntity→win.doyto.query.test.perm.PermEntitywin.doyto.query.test.user.UserQuery→win.doyto.query.test.perm.PermissionQuery
- Direction
- test.user uses test.perm, so a change to test.perm can break test.user, while a change to test.user can't break test.perm.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
21→16 web uses web.config✕
- Connections
- 1 pair of types, where a type in web uses a type in web.config.
- The types involved
win.doyto.query.web.WebMvcConfigurerAdapter→win.doyto.query.web.config.SortFieldsProperties
- Direction
- web uses web.config, so a change to web.config can break web, while a change to web can't break web.config.
- Position
- Below the diagonal: web uses a module listed above it, which is the healthy direction.
22→2 sql uses core✕
- Connections
- 12 pairs of types, where a type in sql uses a type in core.
- The types involved
win.doyto.query.sql.AggregateQueryBuilder→win.doyto.query.core.DoytoQuerywin.doyto.query.sql.AssociationSqlBuilder→win.doyto.query.core.UniqueKeywin.doyto.query.sql.BuildHelper→win.doyto.query.core.DoytoQuerywin.doyto.query.sql.BuildHelper→win.doyto.query.core.Havingwin.doyto.query.sql.CrudBuilder→win.doyto.query.core.DoytoQuerywin.doyto.query.sql.CrudBuilder→win.doyto.query.core.IdWrapperwin.doyto.query.sql.QueryBuilder→win.doyto.query.core.DoytoQuerywin.doyto.query.sql.QueryBuilder→win.doyto.query.core.IdWrapperwin.doyto.query.sql.RelationalQueryBuilder→win.doyto.query.core.DoytoQuerywin.doyto.query.sql.SqlBuilder→win.doyto.query.core.DoytoQuerywin.doyto.query.sql.SqlBuilder→win.doyto.query.core.IdWrapperwin.doyto.query.sql.WrappedQuery→win.doyto.query.core.DoytoQuery
- Direction
- sql uses core, so a change to core can break sql, while a change to sql can't break core.
- Position
- Below the diagonal: sql uses a module listed above it, which is the healthy direction.
22→14 sql uses annotation✕
- Connections
- 7 pairs of types, where a type in sql uses a type in annotation.
- The types involved
win.doyto.query.sql.AggregateQueryBuilder→win.doyto.query.annotation.Joinwin.doyto.query.sql.AggregateQueryBuilder→win.doyto.query.annotation.Viewwin.doyto.query.sql.BuildHelper→win.doyto.query.annotation.Viewwin.doyto.query.sql.EntityMetadata→win.doyto.query.annotation.Casewin.doyto.query.sql.EntityMetadata→win.doyto.query.annotation.Viewwin.doyto.query.sql.EntityMetadata→win.doyto.query.annotation.ViewTypewin.doyto.query.sql.ViewIndex→win.doyto.query.annotation.View
- Direction
- sql uses annotation, so a change to annotation can break sql, while a change to sql can't break annotation.
- Position
- Below the diagonal: sql uses a module listed above it, which is the healthy direction.
22→18 sql uses relation✕
- Connections
- 1 pair of types, where a type in sql uses a type in relation.
- The types involved
win.doyto.query.sql.RelatedDomainPath→win.doyto.query.relation.DomainPathDetail
- Direction
- sql uses relation, so a change to relation can break sql, while a change to sql can't break relation.
- Position
- Below the diagonal: sql uses a module listed above it, which is the healthy direction.
23→2 test.role uses core✕
- Connections
- 1 pair of types, where a type in test.role uses a type in core.
- The types involved
win.doyto.query.test.role.RoleQuery→win.doyto.query.core.PageQuery
- Direction
- test.role uses core, so a change to core can break test.role, while a change to test.role can't break core.
- Position
- Below the diagonal: test.role uses a module listed above it, which is the healthy direction.
23→12 test.role uses entity✕
- Connections
- 1 pair of types, where a type in test.role uses a type in entity.
- The types involved
win.doyto.query.test.role.RoleEntity→win.doyto.query.entity.AbstractCommonEntity
- Direction
- test.role uses entity, so a change to entity can break test.role, while a change to test.role can't break entity.
- Position
- Below the diagonal: test.role uses a module listed above it, which is the healthy direction.
23→20 test.role uses test.user✕
- Connections
- 2 pairs of types, where a type in test.role uses a type in test.user.
- The types involved
win.doyto.query.test.role.RoleEntity→win.doyto.query.test.user.UserEntitywin.doyto.query.test.role.RoleQuery→win.doyto.query.test.user.UserQuery
- Direction
- test.role uses test.user, so a change to test.user can break test.role, while a change to test.role can't break test.user.
- Position
- Below the diagonal: test.role uses a module listed above it, which is the healthy direction.
23→28 test.role uses test.perm part of a loop✕
- Connections
- 2 pairs of types, where a type in test.role uses a type in test.perm.
- The types involved
win.doyto.query.test.role.RoleEntity→win.doyto.query.test.perm.PermEntitywin.doyto.query.test.role.RoleQuery→win.doyto.query.test.perm.PermissionQuery
- Direction
- test.role uses test.perm, so a change to test.perm can break test.role, while a change to test.role can't break test.perm.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
24→2 web.controller uses core✕
- Connections
- 2 pairs of types, where a type in web.controller uses a type in core.
- The types involved
win.doyto.query.web.controller.AbstractController→win.doyto.query.core.PageListwin.doyto.query.web.controller.RestApi→win.doyto.query.core.PageList
- Direction
- web.controller uses core, so a change to core can break web.controller, while a change to web.controller can't break core.
- Position
- Below the diagonal: web.controller uses a module listed above it, which is the healthy direction.
24→19 web.controller uses service✕
- Connections
- 4 pairs of types, where a type in web.controller uses a type in service.
- The types involved
win.doyto.query.web.controller.1818→win.doyto.query.service.AbstractCrudServicewin.doyto.query.web.controller.2→win.doyto.query.service.AbstractCrudServicewin.doyto.query.web.controller.AbstractDynamicController→win.doyto.query.service.DynamicServicewin.doyto.query.web.controller.AbstractRestController→win.doyto.query.service.CrudService
- Direction
- web.controller uses service, so a change to service can break web.controller, while a change to web.controller can't break service.
- Position
- Below the diagonal: web.controller uses a module listed above it, which is the healthy direction.
25→21 web.demo uses web✕
- Connections
- 1 pair of types, where a type in web.demo uses a type in web.
- The types involved
win.doyto.query.web.demo.DemoApplication→win.doyto.query.web.WebMvcConfigurerAdapter
- Direction
- web.demo uses web, so a change to web can break web.demo, while a change to web.demo can't break web.
- Position
- Below the diagonal: web.demo uses a module listed above it, which is the healthy direction.
26→2 jdbc uses core✕
- Connections
- 11 pairs of types, where a type in jdbc uses a type in core.
- The types involved
win.doyto.query.jdbc.JdbcAggregateChain→win.doyto.query.core.AggregateChainwin.doyto.query.jdbc.JdbcAggregateChain→win.doyto.query.core.DoytoQuerywin.doyto.query.jdbc.JdbcAssociationService→win.doyto.query.core.AssociationServicewin.doyto.query.jdbc.JdbcAssociationService→win.doyto.query.core.UniqueKeywin.doyto.query.jdbc.JdbcDataAccess→win.doyto.query.core.DataAccesswin.doyto.query.jdbc.JdbcDataAccess→win.doyto.query.core.IdWrapperwin.doyto.query.jdbc.JdbcDataAccess→win.doyto.query.core.PageListwin.doyto.query.jdbc.JdbcDataAccessFactory→win.doyto.query.core.DataAccesswin.doyto.query.jdbc.JdbcDataQueryClient→win.doyto.query.core.DataQueryClientwin.doyto.query.jdbc.JdbcDatabaseOperations→win.doyto.query.core.AggregateChainwin.doyto.query.jdbc.JdbcDatabaseOperations→win.doyto.query.core.AggregateClient
- Direction
- jdbc uses core, so a change to core can break jdbc, while a change to jdbc can't break core.
- Position
- Below the diagonal: jdbc uses a module listed above it, which is the healthy direction.
26→4 jdbc uses jdbc.rowmapper✕
- Connections
- 9 pairs of types, where a type in jdbc uses a type in jdbc.rowmapper.
- The types involved
win.doyto.query.jdbc.DatabaseOperations→win.doyto.query.jdbc.rowmapper.ResultSetExtractorwin.doyto.query.jdbc.DatabaseOperations→win.doyto.query.jdbc.rowmapper.RowMapperwin.doyto.query.jdbc.JdbcAggregateChain→win.doyto.query.jdbc.rowmapper.RowMapperwin.doyto.query.jdbc.JdbcAssociationService→win.doyto.query.jdbc.rowmapper.SingleColumnRowMapperwin.doyto.query.jdbc.JdbcDataAccess→win.doyto.query.jdbc.rowmapper.RowMapperwin.doyto.query.jdbc.JdbcDataAccess→win.doyto.query.jdbc.rowmapper.SingleColumnRowMapperwin.doyto.query.jdbc.JdbcDataQueryClient→win.doyto.query.jdbc.rowmapper.RowMapperwin.doyto.query.jdbc.JdbcDatabaseOperations→win.doyto.query.jdbc.rowmapper.ResultSetExtractorwin.doyto.query.jdbc.JdbcDatabaseOperations→win.doyto.query.jdbc.rowmapper.RowMapper
- Direction
- jdbc uses jdbc.rowmapper, so a change to jdbc.rowmapper can break jdbc, while a change to jdbc can't break jdbc.rowmapper.
- Position
- Below the diagonal: jdbc uses a module listed above it, which is the healthy direction.
26→12 jdbc uses entity✕
- Connections
- 1 pair of types, where a type in jdbc uses a type in entity.
- The types involved
win.doyto.query.jdbc.JdbcAssociationService→win.doyto.query.entity.UserIdProvider
- Direction
- jdbc uses entity, so a change to entity can break jdbc, while a change to jdbc can't break entity.
- Position
- Below the diagonal: jdbc uses a module listed above it, which is the healthy direction.
26→14 jdbc uses annotation✕
- Connections
- 1 pair of types, where a type in jdbc uses a type in annotation.
- The types involved
win.doyto.query.jdbc.JdbcDataAccessFactory→win.doyto.query.annotation.EntityType
- Direction
- jdbc uses annotation, so a change to annotation can break jdbc, while a change to jdbc can't break annotation.
- Position
- Below the diagonal: jdbc uses a module listed above it, which is the healthy direction.
26→19 jdbc uses service✕
- Connections
- 1 pair of types, where a type in jdbc uses a type in service.
- The types involved
win.doyto.query.jdbc.JdbcDataAccessFactory→win.doyto.query.service.DataAccessFactory
- Direction
- jdbc uses service, so a change to service can break jdbc, while a change to jdbc can't break service.
- Position
- Below the diagonal: jdbc uses a module listed above it, which is the healthy direction.
26→22 jdbc uses sql✕
- Connections
- 8 pairs of types, where a type in jdbc uses a type in sql.
- The types involved
win.doyto.query.jdbc.DatabaseOperations→win.doyto.query.sql.SqlAndArgswin.doyto.query.jdbc.JdbcAggregateChain→win.doyto.query.sql.EntityMetadatawin.doyto.query.jdbc.JdbcAssociationService→win.doyto.query.sql.AssociationSqlBuilderwin.doyto.query.jdbc.JdbcDataAccess→win.doyto.query.sql.EntityMetadatawin.doyto.query.jdbc.JdbcDataAccess→win.doyto.query.sql.SqlBuilderwin.doyto.query.jdbc.JdbcDataQueryClient→win.doyto.query.sql.EntityMetadatawin.doyto.query.jdbc.JdbcDataQueryClient→win.doyto.query.sql.SqlAndArgswin.doyto.query.jdbc.JdbcDatabaseOperations→win.doyto.query.sql.SqlAndArgs
- Direction
- jdbc uses sql, so a change to sql can break jdbc, while a change to jdbc can't break sql.
- Position
- Below the diagonal: jdbc uses a module listed above it, which is the healthy direction.
27→2 sql.field uses core✕
- Connections
- 1 pair of types, where a type in sql.field uses a type in core.
- The types involved
win.doyto.query.sql.field.DomainPathProcessor→win.doyto.query.core.DoytoQuery
- Direction
- sql.field uses core, so a change to core can break sql.field, while a change to sql.field can't break core.
- Position
- Below the diagonal: sql.field uses a module listed above it, which is the healthy direction.
27→18 sql.field uses relation✕
- Connections
- 1 pair of types, where a type in sql.field uses a type in relation.
- The types involved
win.doyto.query.sql.field.DomainPathProcessor→win.doyto.query.relation.DomainPathDetail
- Direction
- sql.field uses relation, so a change to relation can break sql.field, while a change to sql.field can't break relation.
- Position
- Below the diagonal: sql.field uses a module listed above it, which is the healthy direction.
27→22 sql.field uses sql✕
- Connections
- 1 pair of types, where a type in sql.field uses a type in sql.
- The types involved
win.doyto.query.sql.field.SubqueryV2Processor→win.doyto.query.sql.EntityMetadata
- Direction
- sql.field uses sql, so a change to sql can break sql.field, while a change to sql.field can't break sql.
- Position
- Below the diagonal: sql.field uses a module listed above it, which is the healthy direction.
28→2 test.perm uses core✕
- Connections
- 1 pair of types, where a type in test.perm uses a type in core.
- The types involved
win.doyto.query.test.perm.PermissionQuery→win.doyto.query.core.PageQuery
- Direction
- test.perm uses core, so a change to core can break test.perm, while a change to test.perm can't break core.
- Position
- Below the diagonal: test.perm uses a module listed above it, which is the healthy direction.
28→12 test.perm uses entity✕
- Connections
- 1 pair of types, where a type in test.perm uses a type in entity.
- The types involved
win.doyto.query.test.perm.PermEntity→win.doyto.query.entity.AbstractPersistable
- Direction
- test.perm uses entity, so a change to entity can break test.perm, while a change to test.perm can't break entity.
- Position
- Below the diagonal: test.perm uses a module listed above it, which is the healthy direction.
28→20 test.perm uses test.user✕
- Connections
- 2 pairs of types, where a type in test.perm uses a type in test.user.
- The types involved
win.doyto.query.test.perm.PermEntity→win.doyto.query.test.user.UserEntitywin.doyto.query.test.perm.PermissionQuery→win.doyto.query.test.user.UserQuery
- Direction
- test.perm uses test.user, so a change to test.user can break test.perm, while a change to test.perm can't break test.user.
- Position
- Below the diagonal: test.perm uses a module listed above it, which is the healthy direction.
28→23 test.perm uses test.role✕
- Connections
- 1 pair of types, where a type in test.perm uses a type in test.role.
- The types involved
win.doyto.query.test.perm.PermissionQuery→win.doyto.query.test.role.RoleQuery
- Direction
- test.perm uses test.role, so a change to test.role can break test.perm, while a change to test.perm can't break test.role.
- Position
- Below the diagonal: test.perm uses a module listed above it, which is the healthy direction.
29→2 web.demo.module.building uses core✕
- Connections
- 1 pair of types, where a type in web.demo.module.building uses a type in core.
- The types involved
win.doyto.query.web.demo.module.building.BuildingQuery→win.doyto.query.core.PageQuery
- Direction
- web.demo.module.building uses core, so a change to core can break web.demo.module.building, while a change to web.demo.module.building can't break core.
- Position
- Below the diagonal: web.demo.module.building uses a module listed above it, which is the healthy direction.
29→3 web.demo.module.building uses geo✕
- Connections
- 2 pairs of types, where a type in web.demo.module.building uses a type in geo.
- The types involved
win.doyto.query.web.demo.module.building.BuildingEntity→win.doyto.query.geo.Pointwin.doyto.query.web.demo.module.building.BuildingQuery→win.doyto.query.geo.GeoShape
- Direction
- web.demo.module.building uses geo, so a change to geo can break web.demo.module.building, while a change to web.demo.module.building can't break geo.
- Position
- Below the diagonal: web.demo.module.building uses a module listed above it, which is the healthy direction.
29→24 web.demo.module.building uses web.controller✕
- Connections
- 1 pair of types, where a type in web.demo.module.building uses a type in web.controller.
- The types involved
win.doyto.query.web.demo.module.building.BuildingController→win.doyto.query.web.controller.AbstractEIQController
- Direction
- web.demo.module.building uses web.controller, so a change to web.controller can break web.demo.module.building, while a change to web.demo.module.building can't break web.controller.
- Position
- Below the diagonal: web.demo.module.building uses a module listed above it, which is the healthy direction.
30→2 web.demo.module.menu uses core✕
- Connections
- 2 pairs of types, where a type in web.demo.module.menu uses a type in core.
- The types involved
win.doyto.query.web.demo.module.menu.MenuIdWrapper→win.doyto.query.core.IdWrapperwin.doyto.query.web.demo.module.menu.MenuQuery→win.doyto.query.core.PageQuery
- Direction
- web.demo.module.menu uses core, so a change to core can break web.demo.module.menu, while a change to web.demo.module.menu can't break core.
- Position
- Below the diagonal: web.demo.module.menu uses a module listed above it, which is the healthy direction.
30→12 web.demo.module.menu uses entity✕
- Connections
- 1 pair of types, where a type in web.demo.module.menu uses a type in entity.
- The types involved
win.doyto.query.web.demo.module.menu.MenuEntity→win.doyto.query.entity.AbstractCommonEntity
- Direction
- web.demo.module.menu uses entity, so a change to entity can break web.demo.module.menu, while a change to web.demo.module.menu can't break entity.
- Position
- Below the diagonal: web.demo.module.menu uses a module listed above it, which is the healthy direction.
30→19 web.demo.module.menu uses service✕
- Connections
- 1 pair of types, where a type in web.demo.module.menu uses a type in service.
- The types involved
win.doyto.query.web.demo.module.menu.MenuService→win.doyto.query.service.AbstractDynamicService
- Direction
- web.demo.module.menu uses service, so a change to service can break web.demo.module.menu, while a change to web.demo.module.menu can't break service.
- Position
- Below the diagonal: web.demo.module.menu uses a module listed above it, which is the healthy direction.
30→24 web.demo.module.menu uses web.controller✕
- Connections
- 1 pair of types, where a type in web.demo.module.menu uses a type in web.controller.
- The types involved
win.doyto.query.web.demo.module.menu.MenuController→win.doyto.query.web.controller.AbstractDynamicController
- Direction
- web.demo.module.menu uses web.controller, so a change to web.controller can break web.demo.module.menu, while a change to web.demo.module.menu can't break web.controller.
- Position
- Below the diagonal: web.demo.module.menu uses a module listed above it, which is the healthy direction.
31→24 web.demo.module.role uses web.controller✕
- Connections
- 1 pair of types, where a type in web.demo.module.role uses a type in web.controller.
- The types involved
win.doyto.query.web.demo.module.role.RoleController→win.doyto.query.web.controller.AbstractEIQController
- Direction
- web.demo.module.role uses web.controller, so a change to web.controller can break web.demo.module.role, while a change to web.demo.module.role can't break web.controller.
- Position
- Below the diagonal: web.demo.module.role uses a module listed above it, which is the healthy direction.
32→2 jdbc.autoconfigure uses core✕
- Connections
- 1 pair of types, where a type in jdbc.autoconfigure uses a type in core.
- The types involved
win.doyto.query.jdbc.autoconfigure.DataQueryClientConfiguration→win.doyto.query.core.DataQueryClient
- Direction
- jdbc.autoconfigure uses core, so a change to core can break jdbc.autoconfigure, while a change to jdbc.autoconfigure can't break core.
- Position
- Below the diagonal: jdbc.autoconfigure uses a module listed above it, which is the healthy direction.
32→26 jdbc.autoconfigure uses jdbc✕
- Connections
- 5 pairs of types, where a type in jdbc.autoconfigure uses a type in jdbc.
- The types involved
win.doyto.query.jdbc.autoconfigure.1→win.doyto.query.jdbc.TransactionBodywin.doyto.query.jdbc.autoconfigure.1→win.doyto.query.jdbc.TransactionExecutorwin.doyto.query.jdbc.autoconfigure.DataQueryClientConfiguration→win.doyto.query.jdbc.DatabaseOperationswin.doyto.query.jdbc.autoconfigure.DatabaseOperationsConfiguration→win.doyto.query.jdbc.DatabaseOperationswin.doyto.query.jdbc.autoconfigure.DatabaseOperationsConfiguration→win.doyto.query.jdbc.TransactionExecutor
- Direction
- jdbc.autoconfigure uses jdbc, so a change to jdbc can break jdbc.autoconfigure, while a change to jdbc.autoconfigure can't break jdbc.
- Position
- Below the diagonal: jdbc.autoconfigure uses a module listed above it, which is the healthy direction.
33→2 test uses core✕
- Connections
- 6 pairs of types, where a type in test uses a type in core.
- The types involved
win.doyto.query.test.Account→win.doyto.query.core.Querywin.doyto.query.test.DynamicEntity→win.doyto.query.core.IdWrapperwin.doyto.query.test.DynamicIdWrapper→win.doyto.query.core.IdWrapperwin.doyto.query.test.DynamicQuery→win.doyto.query.core.PageQuerywin.doyto.query.test.TestEntity→win.doyto.query.core.OptimisticLockwin.doyto.query.test.TestQuery→win.doyto.query.core.PageQuery
- Direction
- test uses core, so a change to core can break test, while a change to test can't break core.
- Position
- Below the diagonal: test uses a module listed above it, which is the healthy direction.
33→12 test uses entity✕
- Connections
- 2 pairs of types, where a type in test uses a type in entity.
- The types involved
win.doyto.query.test.DynamicEntity→win.doyto.query.entity.AbstractPersistablewin.doyto.query.test.TestEntity→win.doyto.query.entity.AbstractPersistable
- Direction
- test uses entity, so a change to entity can break test, while a change to test can't break entity.
- Position
- Below the diagonal: test uses a module listed above it, which is the healthy direction.
33→28 test uses test.perm✕
- Connections
- 1 pair of types, where a type in test uses a type in test.perm.
- The types involved
win.doyto.query.test.TestQuery→win.doyto.query.test.perm.PermissionQuery
- Direction
- test uses test.perm, so a change to test.perm can break test, while a change to test can't break test.perm.
- Position
- Below the diagonal: test uses a module listed above it, which is the healthy direction.
34→2 web.demo.module.user uses core✕
- Connections
- 2 pairs of types, where a type in web.demo.module.user uses a type in core.
- The types involved
win.doyto.query.web.demo.module.user.UserAggregateController→win.doyto.query.core.AggregateClientwin.doyto.query.web.demo.module.user.UserQuery→win.doyto.query.core.PageQuery
- Direction
- web.demo.module.user uses core, so a change to core can break web.demo.module.user, while a change to web.demo.module.user can't break core.
- Position
- Below the diagonal: web.demo.module.user uses a module listed above it, which is the healthy direction.
34→8 web.demo.module.user uses web.response✕
- Connections
- 1 pair of types, where a type in web.demo.module.user uses a type in web.response.
- The types involved
win.doyto.query.web.demo.module.user.UserController→win.doyto.query.web.response.JsonResponse
- Direction
- web.demo.module.user uses web.response, so a change to web.response can break web.demo.module.user, while a change to web.demo.module.user can't break web.response.
- Position
- Below the diagonal: web.demo.module.user uses a module listed above it, which is the healthy direction.
34→12 web.demo.module.user uses entity✕
- Connections
- 3 pairs of types, where a type in web.demo.module.user uses a type in entity.
- The types involved
win.doyto.query.web.demo.module.user.UserDetailEntity→win.doyto.query.entity.Persistablewin.doyto.query.web.demo.module.user.UserEntity→win.doyto.query.entity.AbstractCommonEntitywin.doyto.query.web.demo.module.user.UserResponse→win.doyto.query.entity.Persistable
- Direction
- web.demo.module.user uses entity, so a change to entity can break web.demo.module.user, while a change to web.demo.module.user can't break entity.
- Position
- Below the diagonal: web.demo.module.user uses a module listed above it, which is the healthy direction.
34→19 web.demo.module.user uses service✕
- Connections
- 2 pairs of types, where a type in web.demo.module.user uses a type in service.
- The types involved
win.doyto.query.web.demo.module.user.UserDetailService→win.doyto.query.service.AbstractCrudServicewin.doyto.query.web.demo.module.user.UserService→win.doyto.query.service.AbstractCrudService
- Direction
- web.demo.module.user uses service, so a change to service can break web.demo.module.user, while a change to web.demo.module.user can't break service.
- Position
- Below the diagonal: web.demo.module.user uses a module listed above it, which is the healthy direction.
34→20 web.demo.module.user uses test.user✕
- Connections
- 2 pairs of types, where a type in web.demo.module.user uses a type in test.user.
- The types involved
win.doyto.query.web.demo.module.user.UserAggregateController→win.doyto.query.test.user.UserLevelCountViewwin.doyto.query.web.demo.module.user.UserAggregateController→win.doyto.query.test.user.UserLevelHaving
- Direction
- web.demo.module.user uses test.user, so a change to test.user can break web.demo.module.user, while a change to web.demo.module.user can't break test.user.
- Position
- Below the diagonal: web.demo.module.user uses a module listed above it, which is the healthy direction.
34→24 web.demo.module.user uses web.controller✕
- Connections
- 3 pairs of types, where a type in web.demo.module.user uses a type in web.controller.
- The types involved
win.doyto.query.web.demo.module.user.UserApi→win.doyto.query.web.controller.RestApiwin.doyto.query.web.demo.module.user.UserController→win.doyto.query.web.controller.AbstractRestControllerwin.doyto.query.web.demo.module.user.UserController2→win.doyto.query.web.controller.AbstractRestController
- Direction
- web.demo.module.user uses web.controller, so a change to web.controller can break web.demo.module.user, while a change to web.demo.module.user can't break web.controller.
- Position
- Below the diagonal: web.demo.module.user uses a module listed above it, which is the healthy direction.
34→28 web.demo.module.user uses test.perm✕
- Connections
- 1 pair of types, where a type in web.demo.module.user uses a type in test.perm.
- The types involved
win.doyto.query.web.demo.module.user.UserQuery→win.doyto.query.test.perm.PermissionQuery
- Direction
- web.demo.module.user uses test.perm, so a change to test.perm can break web.demo.module.user, while a change to web.demo.module.user can't break test.perm.
- Position
- Below the diagonal: web.demo.module.user uses a module listed above it, which is the healthy direction.
35→34 web.demo.module.auth uses web.demo.module.user✕
- Connections
- 2 pairs of types, where a type in web.demo.module.auth uses a type in web.demo.module.user.
- The types involved
win.doyto.query.web.demo.module.auth.LoginController→win.doyto.query.web.demo.module.user.UserApiwin.doyto.query.web.demo.module.auth.LoginController→win.doyto.query.web.demo.module.user.UserResponse
- Direction
- web.demo.module.auth uses web.demo.module.user, so a change to web.demo.module.user can break web.demo.module.auth, while a change to web.demo.module.auth can't break web.demo.module.user.
- Position
- Below the diagonal: web.demo.module.auth uses a module listed above it, which is the healthy direction.
36→8 web.demo.test uses web.response✕
- Connections
- 1 pair of types, where a type in web.demo.test uses a type in web.response.
- The types involved
win.doyto.query.web.demo.test.DemoApplicationTest→win.doyto.query.web.response.ErrorCode
- Direction
- web.demo.test uses web.response, so a change to web.response can break web.demo.test, while a change to web.demo.test can't break web.response.
- Position
- Below the diagonal: web.demo.test uses a module listed above it, which is the healthy direction.
36→31 web.demo.test uses web.demo.module.role✕
- Connections
- 2 pairs of types, where a type in web.demo.test uses a type in web.demo.module.role.
- The types involved
win.doyto.query.web.demo.test.CacheTest→win.doyto.query.web.demo.module.role.RoleControllerwin.doyto.query.web.demo.test.RoleControllerTest→win.doyto.query.web.demo.module.role.RoleController
- Direction
- web.demo.test uses web.demo.module.role, so a change to web.demo.module.role can break web.demo.test, while a change to web.demo.test can't break web.demo.module.role.
- Position
- Below the diagonal: web.demo.test uses a module listed above it, which is the healthy direction.
36→34 web.demo.test uses web.demo.module.user✕
- Connections
- 2 pairs of types, where a type in web.demo.test uses a type in web.demo.module.user.
- The types involved
win.doyto.query.web.demo.test.CacheTest→win.doyto.query.web.demo.module.user.UserServicewin.doyto.query.web.demo.test.RestApiTest→win.doyto.query.web.demo.module.user.UserApi
- Direction
- web.demo.test uses web.demo.module.user, so a change to web.demo.module.user can break web.demo.test, while a change to web.demo.test can't break web.demo.module.user.
- Position
- Below the diagonal: web.demo.test 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
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 22 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 8 | Medium |
Roadmap
First, restrict token permissions in the supply-chain workflows to ensure provenance integrity. Next, remove orphaned files to keep knowledge bases current and eliminate static analysis issues related to shell injection and secret inheritance. Finally, enforce nullable reference types across Java packages to prevent null pointer exceptions and improve code reliability.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 4 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED, REDACTED. | +3.4 pts | Low | Supply-chain Provenance & Signing |
| Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (4). | +2.8 pts | Low | Static Analysis (SAST) |
| Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2), REDACTED, REDACTED. | +2.8 pts | Low | Static Analysis (SAST) |
| Resolve the 46 Orphaned file finding(s) in Knowledge Freshness — start with CrudBuilder.java, EntityMetadata.java, MemoryDataAccess.java. | +3.0 pts | Medium | Knowledge Freshness |
| Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. | +1.5 pts | Low | Supply-chain Provenance & Signing |
| Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. | +1.5 pts | Low | Supply-chain Provenance & Signing |
| Declare the default where Java declares it: `@NullMarked` (org.jspecify.annotations) in each package's `package-info.java`, or once in `module-info.java`, and run NullAway (Error Prone) or the Checker Framework so the declaration is enforced. Then annotate the real exceptions `@Nullable` and resolve the suppressions rather than adding to them: a `@SuppressWarnings("NullAway")` or `castToNonNull(x)` on a value the checker could show to be null is a `NullPointerException` waiting for the path that makes it true — where the value genuinely cannot be null, say something the checker can see instead (a null check, `Objects.requireNonNull`, a non-null field initialised in the constructor). | +2.5 pts | Medium | Nullable reference types |
| Interpolated log message defeats structured logging | +1.8 pts | Medium | Structured logging |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 2.4 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.0 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.0 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| doyto-query-web/src/test/java/win/doyto/query/web/component/SortTest.java | 7.0 | Mixed | Test Quality: No assertions: shouldBeConnectedBySemicolonIfMultiSortParamProvided |
| REDACTED | 7.2 | Mixed | Static Analysis (SAST): High: REDACTED |
| doyto-query-api/src/main/java/win/doyto/query/core/QuerySuffix.java | 8.0 | Near-clean | Change Coupling: Boundary-crossing change coupling: QuerySuffix.java ↔ SqlQuerySuffix.java |
| doyto-query-sql/src/main/java/win/doyto/query/sql/field/CollectionProcessor.java | 8.5 | Near-clean | Code Duplication: Duplicated block (8 lines × 2) |
| doyto-query-sql/src/main/java/win/doyto/query/sql/AssociationSqlBuilder.java | 8.5 | Near-clean | Cohesion (LCOM4): Low cohesion: AssociationSqlBuilder (LCOM4 5) |
| doyto-query-web-common/src/test/java/win/doyto/query/web/component/ExceptionTest.java | 9.0 | Near-clean | Test Quality: No direct assertions: entityNotFound |
| doyto-query-web-common/src/test/java/win/doyto/query/web/component/LocaleTest.java | 9.1 | Near-clean | Test Quality: No direct assertions: resolveLocaleFromCookie |
| doyto-query-web-common/src/test/java/win/doyto/query/web/component/ValidationGroupTest.java | 9.1 | Near-clean | Test Quality: No direct assertions: shouldRejectWhenCreateContentContainsId |
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. 54 of 57 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 57 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, 110 of 119 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.java) 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 — `mvn jacoco:report`) 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 — `mvn jacoco:report`) 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.
- 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. This repository's dependency manifests WERE read and their pinning discipline assessed; what went unanswered is the currency half, because central.sonatype.com — the registry that answers it — was asked and did not reply (the build stopped because central.sonatype.com, a repository this project declares, refused it with HTTP 403 — what this scan's egress allowlist returns for a host that is not on it; 17 dependencies were resolved and graded first, but the graph is partial so the result is reported and not scored). This is OUR side and it is an ENVIRONMENT fault, not a missing collector: the collector exists and ran. An HTTP 403 here is what this scan's egress allowlist returns for a host that is not on it, so the remedy is to add central.sonatype.com to the allowlist and re-run — not to build anything.
- 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 1480 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.
- D20 ADR Quality — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. The ADR expectation is gated on whether a repository ships a deployable product. Our repo-kind classifier reads .NET project files and the host and package markers of the other ecosystems it knows (a Go `package main`, a Cargo binary, a package.json `bin`, `start` script or application dev server such as Vite or Next, Python console scripts or a Django/WSGI entry point, a Spring Boot / WAR / Gradle application build, a Rack or Rails app, a Composer project, an OTP release or escript, a Dockerfile, a Procfile, a Platform.sh `.platform/routes.yaml`, and the corresponding published-package manifests, including an OTP `*.app.src`, a Drupal module's `*.info` and a Claude Code `.claude-plugin/plugin.json`), and found none here, so we could not tell what kind of repository this is and did not assess its ADR log. This is a gap in our analyzer, not a finding about this repository.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D30 Dependency Vulnerabilities — 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. Osv: osv-scanner exited 127 with no findings — dependency CVEs were not measured. 'osv-scanner' exited 127 and produced no findings, and that exit code has no documented repo-side meaning — so this run measured nothing, and nothing here is a statement about the repository.
- D43 Malicious Dependencies — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Osv: osv-scanner exited 127 with no findings — dependency CVEs were not measured. 'osv-scanner' exited 127 and produced no findings, and that exit code has no documented repo-side meaning — so this run measured nothing, and nothing here is a statement about the repository.
- C1 Data Protection — 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 personal data 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 personal data controls.
- 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.
- C3 Audit Trail — 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 audit 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 audit controls.
- C4 Data Retention — 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 retention 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 retention controls.
- C5 Data-Subject Rights — 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 data-subject rights 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 data-subject rights controls.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby and Scala source only, and no C#, F#, JavaScript/TypeScript, Dart, Ruby or Scala was found, and this repository's Java 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.
- 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.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala, Rust and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala, Rust or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- 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".
- 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
0 god class(es) detected.
D4 · Code Duplication
1 duplicated block group(s) detected.
What to do
- Resolve the 1 Duplicated block (8 lines × 2) finding(s) in Code Duplication — start with CollectionProcessor.java. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
10 production modules (Maven), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 1 module(s) off the main sequence, with abstractness counted on 8 of the 10 (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).
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Coupling in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
1 of 37 classes have LCOM4 above 3.
What to do
- Resolve the 1 Low cohesion finding(s) in Cohesion (LCOM4) — start with AssociationSqlBuilder.java. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
359 test methods: 359 unit, 0 integration, 0 BDD, 0 e2e.
D10 · Test Quality
0 skipped, 25 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 359 tests (1 harness-style project(s) excluded from the assertion penalty).
What to do
- Resolve the 16 No direct assertions finding(s) in Test Quality — start with ExceptionTest.java (8), LocaleTest.java (4), ValidationGroupTest.java (4). — One of this dimension's main actionable groups (16 recommendation-level).
- Resolve the 9 No assertions finding(s) in Test Quality — start with SortTest.java (9). — One of this dimension's main actionable groups (9 warning-level).
- Enforce Test Quality in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D11 · Test Reliability
0 flaky across 1 measured tier(s). Java/Kotlin (repository root, Maven): measured (0 flaky).
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 1 declared JVM dependency artifact(s) use a banned license. Licences were resolved from the POMs Maven Central publishes, over the coordinates this repository's 11 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. 70 further coordinate(s) are declared with no version at the declaration site — inherited from a parent POM, a BOM or an unresolved Gradle version reference — and are NOT graded: this verdict covers what the checkout pins, not the full transitive graph.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 10491 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The repository's root README (README.md) is clear and complete: it introduces DoytoQuery as a dynamic query language implemented in Java for CRUD, explains the entity/view-query object model, and provides a Quick Start with Spring Initializer dependency instructions plus an XML pom snippet. It also links to docs.doyto.win and documents architecture migration milestones (0.0.x through 0.3.x) via a README of the docs/ directory. The docs/README.md is focused on the architecture doc set, not the repository, so its quality is judged separately.
What to do
- Improve Documentation Quality — currently 7.0/10. — The repository's root README (README.md) is clear and complete: it introduces DoytoQuery as a dynamic query language implemented in Java for CRUD, explains the entity/view-query object model, and provides a Quick Start with Spring Initializer dependency instructions plus an XML pom snippet. It also links to docs.doyto.win and documents architecture migration milestones (0.0.x through 0.3.x) via a README of the docs/ directory. The docs/README.md is focused on the architecture doc set, not the repository, so its quality is judged separately.
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
0 of 8 build units (Maven) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
22 finding(s): 0 critical, 22 high, 0 medium, 0 low. 12 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. Separately, one or more rules could not re-parse an embedded snippet in 1 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (4). — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (4 issue-level).
- No action in Static Analysis (SAST) — all 9 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (9 issue-level, 0 of them charged here).
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 doyto-query-sql/src/main/java/win/doyto/query/sql/CrudBuilder.java. Counted over 46 of the 181 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 46 Orphaned file finding(s) in Knowledge Freshness — start with CrudBuilder.java, EntityMetadata.java, MemoryDataAccess.java. — One of this dimension's main actionable groups (46 recommendation-level).
- Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
Strongest change-coupling: QuerySuffix.java↔SqlQuerySuffix.java 65%
What to do
- Resolve the 1 Boundary-crossing change coupling finding(s) in Change Coupling — start with QuerySuffix.java. — One of this dimension's main actionable groups (1 issue-level).
D36 · Supply-chain Provenance & Signing
0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 4 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — 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 0 platform declaration(s) and 13 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
AX1 · Captive dependencies
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX2 · Stateful singletons
AX3 · Project dependency cycles
AX4 · Dependency direction
AX6 · Interface segregation
IC1 · Incompleteness & stubs
- A test is skipped/ignored — coverage that looks present but never runs. Re-enable it or delete it so the green run means something. — doyto-query-integration-test/src/test/java/win/doyto/query/web/demo/test/BuildingMvcTest.java:40
What to do
- Clear the softer debt: re-enable or delete @Disabled/@Ignore tests, decide whether each empty method or UnsupportedOperationException is deliberate (and say so in a comment), and replace @SuppressWarnings("all") with targeted, justified suppressions.
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add a README to the 10 of 10 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
P2 · Observability
What to do
- Consider OpenTelemetry tracing/metrics (opentelemetry-java or Micrometer) and a health-check endpoint (Spring Boot Actuator's /actuator/health, or a /health route) for operability.
P3 · Security & performance tooling
What to do
- Dependabot is configured but does not watch `maven` — add that `package-ecosystem` entry to REDACTED so those dependencies get the same automatic update and advisory pressure as the ones it already covers.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- Nothing pauses a release for a human: publish as a draft release (or gate the release job on a protected tag/manual dispatch) so a bad build can be stopped before users can download it.
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.
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
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
- `catch (Exception)` takes every exception and records none of it — the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter. — doyto-query-common/src/main/java/win/doyto/query/util/BeanUtil.java:92
What to do
- Swallowed exception (caught, then discarded)
X30 · Support guard that admits what it rejects
X4 · Structured logging
- `error` at line 54 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, 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 level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — doyto-query-web-common/src/main/java/win/doyto/query/web/component/CommonExceptionHandler.java:54
- `error` at line 66 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, 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 level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — doyto-query-web-common/src/main/java/win/doyto/query/web/component/CommonExceptionHandler.java:66
- `error` at line 72 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, 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 level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — doyto-query-web-common/src/main/java/win/doyto/query/web/component/CommonExceptionHandler.java:72
- `error` at line 105 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, 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 level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — doyto-query-web-common/src/main/java/win/doyto/query/web/component/CommonExceptionHandler.java:105
- `error` at line 55 is handed a message assembled at the call — a string concatenated with a value, or `String.format` — through SLF4J or log4j 2, 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 level is filtered out. Pass a constant pattern and the values beside it instead: `log.error("Order {} moved to {}", orderId, status)`, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, log4j 2's JsonTemplateLayout, OpenTelemetry), or `log.atInfo().addKeyValue("order_id", orderId).log("order moved")` with SLF4J 2's fluent API. An exception goes last, as the throwable argument, not into the text. — doyto-query-web/src/main/java/win/doyto/query/cache/CacheUtil.java:55
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
- 0/24 of this repository's Java package directories are under a non-null default: a `package-info.java` declaring `@NullMarked` (JSpecify) or `@NonNullApi`, `@ParametersAreNonnullByDefault`, `@NonNullByDefault`, `@DefaultQualifier(NonNull.class)`; a `module-info.java` declaring `@NullMarked`; every type in it `@NullMarked`; or a build that runs NullAway with the package in `AnnotatedPackages`, or the Checker Framework's `NullnessChecker`. Elsewhere every reference admits null and no checker warns on the dereference that throws a `NullPointerException`.
What to do
- Declare the default where Java declares it: `@NullMarked` (org.jspecify.annotations) in each package's `package-info.java`, or once in `module-info.java`, and run NullAway (Error Prone) or the Checker Framework so the declaration is enforced. Then annotate the real exceptions `@Nullable` and resolve the suppressions rather than adding to them: a `@SuppressWarnings("NullAway")` or `castToNonNull(x)` on a value the checker could show to be null is a `NullPointerException` waiting for the path that makes it true — where the value genuinely cannot be null, say something the checker can see instead (a null check, `Objects.requireNonNull`, a non-null field initialised in the constructor).
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 58% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 94% | Exemplary | Strongest area. |
| Maturity | 62% | Adequate — gated by D34 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 66% | Adequate | Acceptable, with room to improve. |
| Security | 54% | Adequate — gated by D29, D36 | 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 — 3 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit 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 audit 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.
- C4 Data Retention — Not assessed: these retention 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 retention 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.
- C5 Data-Subject Rights — Not assessed: these data-subject rights 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 data-subject rights 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.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 57 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX5 Architecture & structure — not assessed — architecture style/structure is computed from a project graph (projects, types, module namespaces) that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- 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
- AXB1 Runtime evidence locked — no reproducible boot — This repository has nothing the runtime tiers could boot or serve — no markup, no UI framework or web-server dependency, no UI component source, no native UI project and no API definition — nothing here is a surface to boot — so runtime a11y/egress/header evidence has no subject here. Not applicable: this is neither a gap in the scan nor a finding about your code.
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- C1 Data Protection — Not assessed: these personal data 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 personal data 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.
- 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.
- D12 Dependency Hygiene — Dependency currency not established — central.sonatype.com did not answer
- 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.
- D20 ADR Quality — Repository kind not determined
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.java), 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 — Scanner failed to run — not a clean result
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D43 Malicious Dependencies — Scanner failed to run — not a clean result
- 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
- DM1 Domain Modelling — not scored — this repository shows only 1 of the 3 signals this lens looks for (12 value object(s))
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- GD1 Unfinished & placeholder code — no source files were read — this check reads C#, F#, JavaScript/TypeScript, Dart, Ruby and Scala, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JVM source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (JaCoCo XML — `mvn jacoco:report`) 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 Java code has 12,094 production line(s), 1 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
- 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.
- X1 Async correctness — 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
- X12 Unreachable branch — 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
- X13 Undrained process stream — 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
- X17 Uncapped recursion over a caller-supplied document — 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
- X2 Cancellation propagation — no C# was loaded; this repository's Java was read, and no request in it can be cancelled by a caller — a Java request off Android takes no token: it is cancelled through the handle it returns (Future.cancel, Call.cancel, a Disposable), ambiently (io.grpc.Context) or by interrupting its thread, not through a parameter
- 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 — 23 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Boundary-crossing change coupling: QuerySuffix.java ↔ SqlQuerySuffix.java doyto-query-api/src/main/java/win/doyto/query/core/QuerySuffix.java:1
Serious — 18 finding(s)
- No assertions: shouldBeConnectedBySemicolonIfMultiSortParamProvided doyto-query-web/src/test/java/win/doyto/query/web/component/SortTest.java:59
- No assertions: shouldBeNullWhenNoSortableColumns doyto-query-web/src/test/java/win/doyto/query/web/component/SortTest.java:97
- No assertions: shouldBeOKWhenSubSortParamNotProvided doyto-query-web/src/test/java/win/doyto/query/web/component/SortTest.java:52
- No assertions: shouldKeepArgSortWhenNotConfigured doyto-query-web/src/test/java/win/doyto/query/web/component/SortTest.java:105
- No assertions: shouldReadSortFromSubSortParamIfProvided doyto-query-web/src/test/java/win/doyto/query/web/component/SortTest.java:45
- No assertions: shouldResolvedAsFieldIfSubSortParamContainComma doyto-query-web/src/test/java/win/doyto/query/web/component/SortTest.java:66
- No assertions: shouldSupportCustomColumnsWhenConfigured doyto-query-web/src/test/java/win/doyto/query/web/component/SortTest.java:81
- No assertions: shouldSupportEmptySubSortParam doyto-query-web/src/test/java/win/doyto/query/web/component/SortTest.java:73
- No assertions: shouldSupportNoColumnsWhenNotConfigured doyto-query-web/src/test/java/win/doyto/query/web/component/SortTest.java:89
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (8 lines × 2) doyto-query-sql/src/main/java/win/doyto/query/sql/field/CollectionProcessor.java:40
- Off the main sequence: doyto-query-geo
- Low cohesion: AssociationSqlBuilder (LCOM4 5) doyto-query-sql/src/main/java/win/doyto/query/sql/AssociationSqlBuilder.java:35
- Swallowed exception (caught, then discarded) doyto-query-common/src/main/java/win/doyto/query/util/BeanUtil.java:92
Minor — 78 finding(s)
- Orphaned file doyto-query-sql/src/main/java/win/doyto/query/sql/CrudBuilder.java:1
- Orphaned file doyto-query-sql/src/main/java/win/doyto/query/sql/EntityMetadata.java:1
- Orphaned file doyto-query-web/src/main/java/win/doyto/query/service/MemoryDataAccess.java:1
- Orphaned file doyto-query-sql/src/main/java/win/doyto/query/sql/BuildHelper.java:1
- Orphaned file doyto-query-sql/src/main/java/win/doyto/query/sql/field/SqlQuerySuffix.java:1
- Orphaned file doyto-query-jdbc/src/main/java/win/doyto/query/jdbc/JdbcDataAccess.java:1
- Orphaned file doyto-query-common/src/main/java/win/doyto/query/util/CommonUtil.java:1
- Orphaned file doyto-query-common/src/main/java/win/doyto/query/util/BeanUtil.java:1
- Orphaned file doyto-query-sql/src/main/java/win/doyto/query/sql/AggregateQueryBuilder.java:1
- Orphaned file doyto-query-web/src/main/java/win/doyto/query/service/AbstractDynamicService.java:1
- Orphaned file doyto-query-common/src/main/java/win/doyto/query/util/ColumnUtil.java:1
- Orphaned file doyto-query-jdbc/src/main/java/win/doyto/query/jdbc/JdbcDataQueryClient.java:1
- Orphaned file doyto-query-web/src/main/java/win/doyto/query/web/WebMvcConfigurerAdapter.java:1
- Orphaned file doyto-query-sql/src/main/java/win/doyto/query/sql/AssociationSqlBuilder.java:1
- Orphaned file doyto-query-web-common/src/main/java/win/doyto/query/web/component/CommonExceptionHandler.java:1
- Orphaned file doyto-query-web/src/main/java/win/doyto/query/web/controller/AbstractController.java:1
- Orphaned file doyto-query-web/src/main/java/win/doyto/query/service/CachedDataAccess.java:1
- Orphaned file doyto-query-sql/src/main/java/win/doyto/query/sql/field/SubqueryProcessor.java:1
- Orphaned file doyto-query-jdbc/src/main/java/win/doyto/query/jdbc/rowmapper/BeanPropertyRowMapper.java:1
- Orphaned file doyto-query-sql/src/main/java/win/doyto/query/sql/QueryBuilder.java:1
- Orphaned file doyto-query-common/src/main/java/win/doyto/query/geo/GeoShapeDeserializer.java:1
- Orphaned file doyto-query-jdbc/src/main/java/win/doyto/query/jdbc/JdbcDatabaseOperations.java:1
- Orphaned file doyto-query-common/src/main/java/win/doyto/query/relation/DomainPathDetail.java:1
- Orphaned file doyto-query-sql/src/main/java/win/doyto/query/sql/field/FieldMapper.java:1
- Orphaned file doyto-query-web-common/src/main/java/win/doyto/query/web/config/DoytoQueryInitializer.java:1
- No direct assertions: entityNotFound doyto-query-web-common/src/test/java/win/doyto/query/web/component/ExceptionTest.java:42
- No direct assertions: testBindException doyto-query-web-common/src/test/java/win/doyto/query/web/component/ExceptionTest.java:86
- No direct assertions: testConstraintViolationException doyto-query-web-common/src/test/java/win/doyto/query/web/component/ExceptionTest.java:78
- No direct assertions: testDuplicateKeyException doyto-query-web-common/src/test/java/win/doyto/query/web/component/ExceptionTest.java:95
- No direct assertions: testHttpRequestMethodNotSupportedException doyto-query-web-common/src/test/java/win/doyto/query/web/component/ExceptionTest.java:37
- No direct assertions: testMethodArgumentNotValidException doyto-query-web-common/src/test/java/win/doyto/query/web/component/ExceptionTest.java:52
- No direct assertions: testMethodArgumentNotValidExceptionWithList doyto-query-web-common/src/test/java/win/doyto/query/web/component/ExceptionTest.java:61
- No direct assertions: testMethodArgumentTypeMismatchException doyto-query-web-common/src/test/java/win/doyto/query/web/component/ExceptionTest.java:47
- No direct assertions: resolveLocaleFromCookie doyto-query-web-common/src/test/java/win/doyto/query/web/component/LocaleTest.java:36
- No direct assertions: resolveLocaleFromHeader doyto-query-web-common/src/test/java/win/doyto/query/web/component/LocaleTest.java:44
- No direct assertions: testCustomResourceBundle doyto-query-web-common/src/test/java/win/doyto/query/web/component/LocaleTest.java:52
- No direct assertions: testLocaleChangeInterceptor doyto-query-web-common/src/test/java/win/doyto/query/web/component/LocaleTest.java:60
- No direct assertions: shouldRejectWhenCreateContentContainsId doyto-query-web-common/src/test/java/win/doyto/query/web/component/ValidationGroupTest.java:42
- No direct assertions: shouldRejectWhenDeleteWithoutQueryParameters doyto-query-web-common/src/test/java/win/doyto/query/web/component/ValidationGroupTest.java:70
- No direct assertions: shouldRejectWhenPatchContentWithoutId doyto-query-web-common/src/test/java/win/doyto/query/web/component/ValidationGroupTest.java:61
- No direct assertions: shouldRejectWhenUpdateContentWithoutId doyto-query-web-common/src/test/java/win/doyto/query/web/component/ValidationGroupTest.java:52
- Interpolated log message defeats structured logging doyto-query-web-common/src/main/java/win/doyto/query/web/component/CommonExceptionHandler.java:54
- Interpolated log message defeats structured logging doyto-query-web-common/src/main/java/win/doyto/query/web/component/CommonExceptionHandler.java:66
- Interpolated log message defeats structured logging doyto-query-web-common/src/main/java/win/doyto/query/web/component/CommonExceptionHandler.java:72
- Interpolated log message defeats structured logging doyto-query-web-common/src/main/java/win/doyto/query/web/component/CommonExceptionHandler.java:105
- Interpolated log message defeats structured logging doyto-query-web/src/main/java/win/doyto/query/cache/CacheUtil.java:55
- Duplicated predicate doyto-query-common/src/main/java/win/doyto/query/util/ColumnUtil.java:128
- Duplicated predicate doyto-query-common/src/main/java/win/doyto/query/util/CommonUtil.java:102
- Duplicated predicate doyto-query-jdbc/src/main/java/win/doyto/query/jdbc/JdbcDataAccess.java:79
- Dormant codebase
- REDACTED
- REDACTED
- REDACTED
- Disabled test doyto-query-integration-test/src/test/java/win/doyto/query/web/demo/test/BuildingMvcTest.java:40
- No ADRs
- No changelog
- Java packages are not null-marked everywhere
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-67914ef187c1495f9b758636d89809e4/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-67914ef187c1495f9b758636d89809e4/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 22 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . | 0 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . | 0 | artifacts/raw/osv-scanner.json |