Executive summary
mikaelvesavuori/get-a-room-ddd-example scores 54 out of 100 and is rated Adequate, while six of its seven lenses score higher still: Domain Modelling, Security and Compliance and Performance at 100, all rated Exemplary, Architecture at 87 and Code Health at 72, both rated Strong, and Maturity at 66, rated Adequate.
The score is lower than those six because the weakest lens counts most, and here that is Production Readiness, which scores 28 and is rated Weak. Its CI/CD gates dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 1 No ADRs found finding(s) in ADR Quality and to add a CI workflow that builds and runs the test suite on every push/PR, and if Production Readiness rose to 70, the score would rise from 54 to about 72.
Three findings are critical, all in Dependency Hygiene.
Watchdog couldn't measure 10 dimensions in this code, among them Test Reliability, License Compliance and Internal API Consistency, so they are left out of the score. The product code is 5,107 lines, which would take an estimated 0.1 person-years, around €8,500, to rebuild.
If Production Readiness rose from 28 to 70, the lowest score rated Strong, the score would rise from 54 to about 72.
Rebuild cost: about €8,500 · Estimate
| Cost to rebuild | €2,800 to €14,000, for 47 to 149 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | High, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 54. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 5,107 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 Analytics.Analytics.src.interfaces.AnalyticalRecord | 2 Reservation.Reservation.src.interfaces.Event | 3 Reservation.Reservation.src.interfaces.EventEmitter | 4 Reservation.Reservation.src.interfaces.Slot | 5 Reservation.Reservation.src.interfaces.VerificationCodeService | 6 Analytics.Analytics.src.application.usecases | 7 Analytics.Analytics.src.domain.entities.Record | 8 Analytics.Analytics.src.interfaces.Repository | 9 Reservation.Reservation.src.application.services.VerificationCodeService | 10 Reservation.Reservation.src.domain.entities.Slot | 11 Reservation.Reservation.src.infrastructure.emitters.EventBridgeEmitter | 12 Reservation.Reservation.src.infrastructure.emitters.LocalEmitter | 13 Reservation.Reservation.src.interfaces.DomainEventPublisherService | 14 Reservation.Reservation.src.interfaces.Repository | 15 Analytics.Analytics.src.infrastructure.adapters.web | 16 Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository | 17 Analytics.Analytics.src.infrastructure.repositories.LocalRepository | 18 Analytics.Analytics.src.infrastructure.utils | 19 Reservation.Display.src.application.usecases | 20 Reservation.Display.src.infrastructure.repositories.DynamoDbRepository | 21 Reservation.Display.src.infrastructure.repositories.LocalRepository | 22 Reservation.Display.src.infrastructure.utils | 23 Reservation.Display.src.interfaces.Repository | 24 Reservation.Reservation.src.application.services | 25 Reservation.Reservation.src.application.services.DomainEventPublisherService | 26 Reservation.Reservation.src.application.services.SlotLoaderService | 27 Reservation.Reservation.src.domain.services.ReservationService | 28 Reservation.Reservation.src.infrastructure.adapters.web | 29 Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository | 30 Reservation.Reservation.src.infrastructure.repositories.LocalRepository | 31 Reservation.Reservation.src.infrastructure.utils | 32 Security.VerificationCode.src.application.usecases | 33 Security.VerificationCode.src.infrastructure.adapters.web | 34 Security.VerificationCode.src.infrastructure.repositories.DynamoDbRepository | 35 Security.VerificationCode.src.infrastructure.repositories.LocalRepository | 36 Security.VerificationCode.src.infrastructure.utils | 37 Analytics.Analytics.src.infrastructure.repositories | 38 Reservation.Display.src.infrastructure.repositories | 39 Reservation.Reservation.src.infrastructure.repositories | 40 Security.VerificationCode.src.infrastructure.repositories |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Analytics.Analytics.src.interfaces.AnalyticalRecord | ||||||||||||||||||||||||||||||||||||||||
| 2 Reservation.Reservation.src.interfaces.Event | ||||||||||||||||||||||||||||||||||||||||
| 3 Reservation.Reservation.src.interfaces.EventEmitter | ||||||||||||||||||||||||||||||||||||||||
| 4 Reservation.Reservation.src.interfaces.Slot | ||||||||||||||||||||||||||||||||||||||||
| 5 Reservation.Reservation.src.interfaces.VerificationCodeService | ||||||||||||||||||||||||||||||||||||||||
| 6 Analytics.Analytics.src.application.usecases | 1 | |||||||||||||||||||||||||||||||||||||||
| 7 Analytics.Analytics.src.domain.entities.Record | 1 | |||||||||||||||||||||||||||||||||||||||
| 8 Analytics.Analytics.src.interfaces.Repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 9 Reservation.Reservation.src.application.services.VerificationCodeService | 1 | |||||||||||||||||||||||||||||||||||||||
| 10 Reservation.Reservation.src.domain.entities.Slot | 4 | |||||||||||||||||||||||||||||||||||||||
| 11 Reservation.Reservation.src.infrastructure.emitters.EventBridgeEmitter | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 Reservation.Reservation.src.infrastructure.emitters.LocalEmitter | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 Reservation.Reservation.src.interfaces.DomainEventPublisherService | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 Reservation.Reservation.src.interfaces.Repository | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 15 Analytics.Analytics.src.infrastructure.adapters.web | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 17 Analytics.Analytics.src.infrastructure.repositories.LocalRepository | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 18 Analytics.Analytics.src.infrastructure.utils | 2 | |||||||||||||||||||||||||||||||||||||||
| 19 Reservation.Display.src.application.usecases | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 Reservation.Display.src.infrastructure.repositories.DynamoDbRepository | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 21 Reservation.Display.src.infrastructure.repositories.LocalRepository | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 22 Reservation.Display.src.infrastructure.utils | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 23 Reservation.Display.src.interfaces.Repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 24 Reservation.Reservation.src.application.services | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 25 Reservation.Reservation.src.application.services.DomainEventPublisherService | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 26 Reservation.Reservation.src.application.services.SlotLoaderService | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 Reservation.Reservation.src.domain.services.ReservationService | 1 | 2 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 28 Reservation.Reservation.src.infrastructure.adapters.web | 1 | |||||||||||||||||||||||||||||||||||||||
| 29 Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 30 Reservation.Reservation.src.infrastructure.repositories.LocalRepository | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 31 Reservation.Reservation.src.infrastructure.utils | 1 | 3 | ||||||||||||||||||||||||||||||||||||||
| 32 Security.VerificationCode.src.application.usecases | 3 | |||||||||||||||||||||||||||||||||||||||
| 33 Security.VerificationCode.src.infrastructure.adapters.web | 2 | |||||||||||||||||||||||||||||||||||||||
| 34 Security.VerificationCode.src.infrastructure.repositories.DynamoDbRepository | 1 | |||||||||||||||||||||||||||||||||||||||
| 35 Security.VerificationCode.src.infrastructure.repositories.LocalRepository | 1 | |||||||||||||||||||||||||||||||||||||||
| 36 Security.VerificationCode.src.infrastructure.utils | 2 | |||||||||||||||||||||||||||||||||||||||
| 37 Analytics.Analytics.src.infrastructure.repositories | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 38 Reservation.Display.src.infrastructure.repositories | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 39 Reservation.Reservation.src.infrastructure.repositories | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 40 Security.VerificationCode.src.infrastructure.repositories | 1 |
6→1 Analytics.Analytics.src.application.usecases uses Analytics.Analytics.src.interfaces.AnalyticalRecord✕
- Connections
- 1 pair of types, where a type in Analytics.Analytics.src.application.usecases uses a type in Analytics.Analytics.src.interfaces.AnalyticalRecord.
- The types involved
code.Analytics.Analytics.src.application.usecases.AddRecordUseCase→code.Analytics.Analytics.src.interfaces.AnalyticalRecord.AnalyticalRecord
- Direction
- Analytics.Analytics.src.application.usecases uses Analytics.Analytics.src.interfaces.AnalyticalRecord, so a change to Analytics.Analytics.src.interfaces.AnalyticalRecord can break Analytics.Analytics.src.application.usecases, while a change to Analytics.Analytics.src.application.usecases can't break Analytics.Analytics.src.interfaces.AnalyticalRecord.
- Position
- Below the diagonal: Analytics.Analytics.src.application.usecases uses a module listed above it, which is the healthy direction.
7→1 Analytics.Analytics.src.domain.entities.Record uses Analytics.Analytics.src.interfaces.AnalyticalRecord✕
- Connections
- 1 pair of types, where a type in Analytics.Analytics.src.domain.entities.Record uses a type in Analytics.Analytics.src.interfaces.AnalyticalRecord.
- The types involved
code.Analytics.Analytics.src.domain.entities.Record.Record→code.Analytics.Analytics.src.interfaces.AnalyticalRecord.AnalyticalRecord
- Direction
- Analytics.Analytics.src.domain.entities.Record uses Analytics.Analytics.src.interfaces.AnalyticalRecord, so a change to Analytics.Analytics.src.interfaces.AnalyticalRecord can break Analytics.Analytics.src.domain.entities.Record, while a change to Analytics.Analytics.src.domain.entities.Record can't break Analytics.Analytics.src.interfaces.AnalyticalRecord.
- Position
- Below the diagonal: Analytics.Analytics.src.domain.entities.Record uses a module listed above it, which is the healthy direction.
8→1 Analytics.Analytics.src.interfaces.Repository uses Analytics.Analytics.src.interfaces.AnalyticalRecord✕
- Connections
- 1 pair of types, where a type in Analytics.Analytics.src.interfaces.Repository uses a type in Analytics.Analytics.src.interfaces.AnalyticalRecord.
- The types involved
code.Analytics.Analytics.src.interfaces.Repository.Repository→code.Analytics.Analytics.src.interfaces.AnalyticalRecord.AnalyticalRecord
- Direction
- Analytics.Analytics.src.interfaces.Repository uses Analytics.Analytics.src.interfaces.AnalyticalRecord, so a change to Analytics.Analytics.src.interfaces.AnalyticalRecord can break Analytics.Analytics.src.interfaces.Repository, while a change to Analytics.Analytics.src.interfaces.Repository can't break Analytics.Analytics.src.interfaces.AnalyticalRecord.
- Position
- Below the diagonal: Analytics.Analytics.src.interfaces.Repository uses a module listed above it, which is the healthy direction.
9→5 Reservation.Reservation.src.application.services.VerificationCodeService uses Reservation.Reservation.src.interfaces.VerificationCodeService✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.application.services.VerificationCodeService uses a type in Reservation.Reservation.src.interfaces.VerificationCodeService.
- The types involved
code.Reservation.Reservation.src.application.services.VerificationCodeService.OnlineVerificationCodeService→code.Reservation.Reservation.src.interfaces.VerificationCodeService.VerificationCodeService
- Direction
- Reservation.Reservation.src.application.services.VerificationCodeService uses Reservation.Reservation.src.interfaces.VerificationCodeService, so a change to Reservation.Reservation.src.interfaces.VerificationCodeService can break Reservation.Reservation.src.application.services.VerificationCodeService, while a change to Reservation.Reservation.src.application.services.VerificationCodeService can't break Reservation.Reservation.src.interfaces.VerificationCodeService.
- Position
- Below the diagonal: Reservation.Reservation.src.application.services.VerificationCodeService uses a module listed above it, which is the healthy direction.
10→4 Reservation.Reservation.src.domain.entities.Slot uses Reservation.Reservation.src.interfaces.Slot✕
- Connections
- 4 pairs of types, where a type in Reservation.Reservation.src.domain.entities.Slot uses a type in Reservation.Reservation.src.interfaces.Slot.
- The types involved
code.Reservation.Reservation.src.domain.entities.Slot.Slot→code.Reservation.Reservation.src.interfaces.Slot.SlotCreateInputcode.Reservation.Reservation.src.domain.entities.Slot.Slot→code.Reservation.Reservation.src.interfaces.Slot.SlotDTOcode.Reservation.Reservation.src.domain.entities.Slot.Slot→code.Reservation.Reservation.src.interfaces.Slot.Statuscode.Reservation.Reservation.src.domain.entities.Slot.SlotCommand→code.Reservation.Reservation.src.interfaces.Slot.Status
- Direction
- Reservation.Reservation.src.domain.entities.Slot uses Reservation.Reservation.src.interfaces.Slot, so a change to Reservation.Reservation.src.interfaces.Slot can break Reservation.Reservation.src.domain.entities.Slot, while a change to Reservation.Reservation.src.domain.entities.Slot can't break Reservation.Reservation.src.interfaces.Slot.
- Position
- Below the diagonal: Reservation.Reservation.src.domain.entities.Slot uses a module listed above it, which is the healthy direction.
11→3 Reservation.Reservation.src.infrastructure.emitters.EventBridgeEmitter uses Reservation.Reservation.src.interfaces.EventEmitter✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.infrastructure.emitters.EventBridgeEmitter uses a type in Reservation.Reservation.src.interfaces.EventEmitter.
- The types involved
code.Reservation.Reservation.src.infrastructure.emitters.EventBridgeEmitter.EventBridgeEmitter→code.Reservation.Reservation.src.interfaces.EventEmitter.EventEmitter
- Direction
- Reservation.Reservation.src.infrastructure.emitters.EventBridgeEmitter uses Reservation.Reservation.src.interfaces.EventEmitter, so a change to Reservation.Reservation.src.interfaces.EventEmitter can break Reservation.Reservation.src.infrastructure.emitters.EventBridgeEmitter, while a change to Reservation.Reservation.src.infrastructure.emitters.EventBridgeEmitter can't break Reservation.Reservation.src.interfaces.EventEmitter.
- Position
- Below the diagonal: Reservation.Reservation.src.infrastructure.emitters.EventBridgeEmitter uses a module listed above it, which is the healthy direction.
12→3 Reservation.Reservation.src.infrastructure.emitters.LocalEmitter uses Reservation.Reservation.src.interfaces.EventEmitter✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.infrastructure.emitters.LocalEmitter uses a type in Reservation.Reservation.src.interfaces.EventEmitter.
- The types involved
code.Reservation.Reservation.src.infrastructure.emitters.LocalEmitter.LocalEmitter→code.Reservation.Reservation.src.interfaces.EventEmitter.EventEmitter
- Direction
- Reservation.Reservation.src.infrastructure.emitters.LocalEmitter uses Reservation.Reservation.src.interfaces.EventEmitter, so a change to Reservation.Reservation.src.interfaces.EventEmitter can break Reservation.Reservation.src.infrastructure.emitters.LocalEmitter, while a change to Reservation.Reservation.src.infrastructure.emitters.LocalEmitter can't break Reservation.Reservation.src.interfaces.EventEmitter.
- Position
- Below the diagonal: Reservation.Reservation.src.infrastructure.emitters.LocalEmitter uses a module listed above it, which is the healthy direction.
13→2 Reservation.Reservation.src.interfaces.DomainEventPublisherService uses Reservation.Reservation.src.interfaces.Event✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.interfaces.DomainEventPublisherService uses a type in Reservation.Reservation.src.interfaces.Event.
- The types involved
code.Reservation.Reservation.src.interfaces.DomainEventPublisherService.DomainEventPublisherService→code.Reservation.Reservation.src.interfaces.Event.Event
- Direction
- Reservation.Reservation.src.interfaces.DomainEventPublisherService uses Reservation.Reservation.src.interfaces.Event, so a change to Reservation.Reservation.src.interfaces.Event can break Reservation.Reservation.src.interfaces.DomainEventPublisherService, while a change to Reservation.Reservation.src.interfaces.DomainEventPublisherService can't break Reservation.Reservation.src.interfaces.Event.
- Position
- Below the diagonal: Reservation.Reservation.src.interfaces.DomainEventPublisherService uses a module listed above it, which is the healthy direction.
14→2 Reservation.Reservation.src.interfaces.Repository uses Reservation.Reservation.src.interfaces.Event✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.interfaces.Repository uses a type in Reservation.Reservation.src.interfaces.Event.
- The types involved
code.Reservation.Reservation.src.interfaces.Repository.Repository→code.Reservation.Reservation.src.interfaces.Event.Event
- Direction
- Reservation.Reservation.src.interfaces.Repository uses Reservation.Reservation.src.interfaces.Event, so a change to Reservation.Reservation.src.interfaces.Event can break Reservation.Reservation.src.interfaces.Repository, while a change to Reservation.Reservation.src.interfaces.Repository can't break Reservation.Reservation.src.interfaces.Event.
- Position
- Below the diagonal: Reservation.Reservation.src.interfaces.Repository uses a module listed above it, which is the healthy direction.
14→4 Reservation.Reservation.src.interfaces.Repository uses Reservation.Reservation.src.interfaces.Slot✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.interfaces.Repository uses a type in Reservation.Reservation.src.interfaces.Slot.
- The types involved
code.Reservation.Reservation.src.interfaces.Repository.Repository→code.Reservation.Reservation.src.interfaces.Slot.SlotDTO
- Direction
- Reservation.Reservation.src.interfaces.Repository uses Reservation.Reservation.src.interfaces.Slot, so a change to Reservation.Reservation.src.interfaces.Slot can break Reservation.Reservation.src.interfaces.Repository, while a change to Reservation.Reservation.src.interfaces.Repository can't break Reservation.Reservation.src.interfaces.Slot.
- Position
- Below the diagonal: Reservation.Reservation.src.interfaces.Repository uses a module listed above it, which is the healthy direction.
15→7 Analytics.Analytics.src.infrastructure.adapters.web uses Analytics.Analytics.src.domain.entities.Record✕
- Connections
- 1 pair of types, where a type in Analytics.Analytics.src.infrastructure.adapters.web uses a type in Analytics.Analytics.src.domain.entities.Record.
- The types involved
code.Analytics.Analytics.src.infrastructure.adapters.web.AddRecord→code.Analytics.Analytics.src.domain.entities.Record.Record
- Direction
- Analytics.Analytics.src.infrastructure.adapters.web uses Analytics.Analytics.src.domain.entities.Record, so a change to Analytics.Analytics.src.domain.entities.Record can break Analytics.Analytics.src.infrastructure.adapters.web, while a change to Analytics.Analytics.src.infrastructure.adapters.web can't break Analytics.Analytics.src.domain.entities.Record.
- Position
- Below the diagonal: Analytics.Analytics.src.infrastructure.adapters.web uses a module listed above it, which is the healthy direction.
16→1 Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository uses Analytics.Analytics.src.interfaces.AnalyticalRecord✕
- Connections
- 1 pair of types, where a type in Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository uses a type in Analytics.Analytics.src.interfaces.AnalyticalRecord.
- The types involved
code.Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository.DynamoDbRepository→code.Analytics.Analytics.src.interfaces.AnalyticalRecord.AnalyticalRecord
- Direction
- Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository uses Analytics.Analytics.src.interfaces.AnalyticalRecord, so a change to Analytics.Analytics.src.interfaces.AnalyticalRecord can break Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository, while a change to Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository can't break Analytics.Analytics.src.interfaces.AnalyticalRecord.
- Position
- Below the diagonal: Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository uses a module listed above it, which is the healthy direction.
16→8 Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository uses Analytics.Analytics.src.interfaces.Repository✕
- Connections
- 1 pair of types, where a type in Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository uses a type in Analytics.Analytics.src.interfaces.Repository.
- The types involved
code.Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository.DynamoDbRepository→code.Analytics.Analytics.src.interfaces.Repository.Repository
- Direction
- Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository uses Analytics.Analytics.src.interfaces.Repository, so a change to Analytics.Analytics.src.interfaces.Repository can break Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository, while a change to Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository can't break Analytics.Analytics.src.interfaces.Repository.
- Position
- Below the diagonal: Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository uses a module listed above it, which is the healthy direction.
17→1 Analytics.Analytics.src.infrastructure.repositories.LocalRepository uses Analytics.Analytics.src.interfaces.AnalyticalRecord✕
- Connections
- 1 pair of types, where a type in Analytics.Analytics.src.infrastructure.repositories.LocalRepository uses a type in Analytics.Analytics.src.interfaces.AnalyticalRecord.
- The types involved
code.Analytics.Analytics.src.infrastructure.repositories.LocalRepository.LocalRepository→code.Analytics.Analytics.src.interfaces.AnalyticalRecord.AnalyticalRecord
- Direction
- Analytics.Analytics.src.infrastructure.repositories.LocalRepository uses Analytics.Analytics.src.interfaces.AnalyticalRecord, so a change to Analytics.Analytics.src.interfaces.AnalyticalRecord can break Analytics.Analytics.src.infrastructure.repositories.LocalRepository, while a change to Analytics.Analytics.src.infrastructure.repositories.LocalRepository can't break Analytics.Analytics.src.interfaces.AnalyticalRecord.
- Position
- Below the diagonal: Analytics.Analytics.src.infrastructure.repositories.LocalRepository uses a module listed above it, which is the healthy direction.
17→8 Analytics.Analytics.src.infrastructure.repositories.LocalRepository uses Analytics.Analytics.src.interfaces.Repository✕
- Connections
- 1 pair of types, where a type in Analytics.Analytics.src.infrastructure.repositories.LocalRepository uses a type in Analytics.Analytics.src.interfaces.Repository.
- The types involved
code.Analytics.Analytics.src.infrastructure.repositories.LocalRepository.LocalRepository→code.Analytics.Analytics.src.interfaces.Repository.Repository
- Direction
- Analytics.Analytics.src.infrastructure.repositories.LocalRepository uses Analytics.Analytics.src.interfaces.Repository, so a change to Analytics.Analytics.src.interfaces.Repository can break Analytics.Analytics.src.infrastructure.repositories.LocalRepository, while a change to Analytics.Analytics.src.infrastructure.repositories.LocalRepository can't break Analytics.Analytics.src.interfaces.Repository.
- Position
- Below the diagonal: Analytics.Analytics.src.infrastructure.repositories.LocalRepository uses a module listed above it, which is the healthy direction.
18→7 Analytics.Analytics.src.infrastructure.utils uses Analytics.Analytics.src.domain.entities.Record✕
- Connections
- 2 pairs of types, where a type in Analytics.Analytics.src.infrastructure.utils uses a type in Analytics.Analytics.src.domain.entities.Record.
- The types involved
code.Analytics.Analytics.src.infrastructure.utils.getDTO→code.Analytics.Analytics.src.domain.entities.Record.Recordcode.Analytics.Analytics.src.infrastructure.utils.getVersion→code.Analytics.Analytics.src.domain.entities.Record.Record
- Direction
- Analytics.Analytics.src.infrastructure.utils uses Analytics.Analytics.src.domain.entities.Record, so a change to Analytics.Analytics.src.domain.entities.Record can break Analytics.Analytics.src.infrastructure.utils, while a change to Analytics.Analytics.src.infrastructure.utils can't break Analytics.Analytics.src.domain.entities.Record.
- Position
- Below the diagonal: Analytics.Analytics.src.infrastructure.utils uses a module listed above it, which is the healthy direction.
19→10 Reservation.Display.src.application.usecases uses Reservation.Reservation.src.domain.entities.Slot✕
- Connections
- 1 pair of types, where a type in Reservation.Display.src.application.usecases uses a type in Reservation.Reservation.src.domain.entities.Slot.
- The types involved
code.Reservation.Display.src.application.usecases.UpdateSlotUseCase→code.Reservation.Reservation.src.domain.entities.Slot.Slot
- Direction
- Reservation.Display.src.application.usecases uses Reservation.Reservation.src.domain.entities.Slot, so a change to Reservation.Reservation.src.domain.entities.Slot can break Reservation.Display.src.application.usecases, while a change to Reservation.Display.src.application.usecases can't break Reservation.Reservation.src.domain.entities.Slot.
- Position
- Below the diagonal: Reservation.Display.src.application.usecases uses a module listed above it, which is the healthy direction.
20→8 Reservation.Display.src.infrastructure.repositories.DynamoDbRepository uses Analytics.Analytics.src.interfaces.Repository✕
- Connections
- 1 pair of types, where a type in Reservation.Display.src.infrastructure.repositories.DynamoDbRepository uses a type in Analytics.Analytics.src.interfaces.Repository.
- The types involved
code.Reservation.Display.src.infrastructure.repositories.DynamoDbRepository.DynamoDbRepository→code.Analytics.Analytics.src.interfaces.Repository.Repository
- Direction
- Reservation.Display.src.infrastructure.repositories.DynamoDbRepository uses Analytics.Analytics.src.interfaces.Repository, so a change to Analytics.Analytics.src.interfaces.Repository can break Reservation.Display.src.infrastructure.repositories.DynamoDbRepository, while a change to Reservation.Display.src.infrastructure.repositories.DynamoDbRepository can't break Analytics.Analytics.src.interfaces.Repository.
- Position
- Below the diagonal: Reservation.Display.src.infrastructure.repositories.DynamoDbRepository uses a module listed above it, which is the healthy direction.
20→10 Reservation.Display.src.infrastructure.repositories.DynamoDbRepository uses Reservation.Reservation.src.domain.entities.Slot✕
- Connections
- 1 pair of types, where a type in Reservation.Display.src.infrastructure.repositories.DynamoDbRepository uses a type in Reservation.Reservation.src.domain.entities.Slot.
- The types involved
code.Reservation.Display.src.infrastructure.repositories.DynamoDbRepository.DynamoDbRepository→code.Reservation.Reservation.src.domain.entities.Slot.Slot
- Direction
- Reservation.Display.src.infrastructure.repositories.DynamoDbRepository uses Reservation.Reservation.src.domain.entities.Slot, so a change to Reservation.Reservation.src.domain.entities.Slot can break Reservation.Display.src.infrastructure.repositories.DynamoDbRepository, while a change to Reservation.Display.src.infrastructure.repositories.DynamoDbRepository can't break Reservation.Reservation.src.domain.entities.Slot.
- Position
- Below the diagonal: Reservation.Display.src.infrastructure.repositories.DynamoDbRepository uses a module listed above it, which is the healthy direction.
21→8 Reservation.Display.src.infrastructure.repositories.LocalRepository uses Analytics.Analytics.src.interfaces.Repository✕
- Connections
- 1 pair of types, where a type in Reservation.Display.src.infrastructure.repositories.LocalRepository uses a type in Analytics.Analytics.src.interfaces.Repository.
- The types involved
code.Reservation.Display.src.infrastructure.repositories.LocalRepository.LocalRepository→code.Analytics.Analytics.src.interfaces.Repository.Repository
- Direction
- Reservation.Display.src.infrastructure.repositories.LocalRepository uses Analytics.Analytics.src.interfaces.Repository, so a change to Analytics.Analytics.src.interfaces.Repository can break Reservation.Display.src.infrastructure.repositories.LocalRepository, while a change to Reservation.Display.src.infrastructure.repositories.LocalRepository can't break Analytics.Analytics.src.interfaces.Repository.
- Position
- Below the diagonal: Reservation.Display.src.infrastructure.repositories.LocalRepository uses a module listed above it, which is the healthy direction.
21→10 Reservation.Display.src.infrastructure.repositories.LocalRepository uses Reservation.Reservation.src.domain.entities.Slot✕
- Connections
- 1 pair of types, where a type in Reservation.Display.src.infrastructure.repositories.LocalRepository uses a type in Reservation.Reservation.src.domain.entities.Slot.
- The types involved
code.Reservation.Display.src.infrastructure.repositories.LocalRepository.LocalRepository→code.Reservation.Reservation.src.domain.entities.Slot.Slot
- Direction
- Reservation.Display.src.infrastructure.repositories.LocalRepository uses Reservation.Reservation.src.domain.entities.Slot, so a change to Reservation.Reservation.src.domain.entities.Slot can break Reservation.Display.src.infrastructure.repositories.LocalRepository, while a change to Reservation.Display.src.infrastructure.repositories.LocalRepository can't break Reservation.Reservation.src.domain.entities.Slot.
- Position
- Below the diagonal: Reservation.Display.src.infrastructure.repositories.LocalRepository uses a module listed above it, which is the healthy direction.
22→7 Reservation.Display.src.infrastructure.utils uses Analytics.Analytics.src.domain.entities.Record✕
- Connections
- 2 pairs of types, where a type in Reservation.Display.src.infrastructure.utils uses a type in Analytics.Analytics.src.domain.entities.Record.
- The types involved
code.Reservation.Display.src.infrastructure.utils.getDTO→code.Analytics.Analytics.src.domain.entities.Record.Recordcode.Reservation.Display.src.infrastructure.utils.getVersion→code.Analytics.Analytics.src.domain.entities.Record.Record
- Direction
- Reservation.Display.src.infrastructure.utils uses Analytics.Analytics.src.domain.entities.Record, so a change to Analytics.Analytics.src.domain.entities.Record can break Reservation.Display.src.infrastructure.utils, while a change to Reservation.Display.src.infrastructure.utils can't break Analytics.Analytics.src.domain.entities.Record.
- Position
- Below the diagonal: Reservation.Display.src.infrastructure.utils uses a module listed above it, which is the healthy direction.
22→10 Reservation.Display.src.infrastructure.utils uses Reservation.Reservation.src.domain.entities.Slot✕
- Connections
- 1 pair of types, where a type in Reservation.Display.src.infrastructure.utils uses a type in Reservation.Reservation.src.domain.entities.Slot.
- The types involved
code.Reservation.Display.src.infrastructure.utils.getCleanedItems→code.Reservation.Reservation.src.domain.entities.Slot.Slot
- Direction
- Reservation.Display.src.infrastructure.utils uses Reservation.Reservation.src.domain.entities.Slot, so a change to Reservation.Reservation.src.domain.entities.Slot can break Reservation.Display.src.infrastructure.utils, while a change to Reservation.Display.src.infrastructure.utils can't break Reservation.Reservation.src.domain.entities.Slot.
- Position
- Below the diagonal: Reservation.Display.src.infrastructure.utils uses a module listed above it, which is the healthy direction.
23→10 Reservation.Display.src.interfaces.Repository uses Reservation.Reservation.src.domain.entities.Slot✕
- Connections
- 1 pair of types, where a type in Reservation.Display.src.interfaces.Repository uses a type in Reservation.Reservation.src.domain.entities.Slot.
- The types involved
code.Reservation.Display.src.interfaces.Repository.Repository→code.Reservation.Reservation.src.domain.entities.Slot.Slot
- Direction
- Reservation.Display.src.interfaces.Repository uses Reservation.Reservation.src.domain.entities.Slot, so a change to Reservation.Reservation.src.domain.entities.Slot can break Reservation.Display.src.interfaces.Repository, while a change to Reservation.Display.src.interfaces.Repository can't break Reservation.Reservation.src.domain.entities.Slot.
- Position
- Below the diagonal: Reservation.Display.src.interfaces.Repository uses a module listed above it, which is the healthy direction.
24→4 Reservation.Reservation.src.application.services uses Reservation.Reservation.src.interfaces.Slot✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.application.services uses a type in Reservation.Reservation.src.interfaces.Slot.
- The types involved
code.Reservation.Reservation.src.application.services.sanitizeInputData→code.Reservation.Reservation.src.interfaces.Slot.SlotDTO
- Direction
- Reservation.Reservation.src.application.services uses Reservation.Reservation.src.interfaces.Slot, so a change to Reservation.Reservation.src.interfaces.Slot can break Reservation.Reservation.src.application.services, while a change to Reservation.Reservation.src.application.services can't break Reservation.Reservation.src.interfaces.Slot.
- Position
- Below the diagonal: Reservation.Reservation.src.application.services uses a module listed above it, which is the healthy direction.
24→7 Reservation.Reservation.src.application.services uses Analytics.Analytics.src.domain.entities.Record✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.application.services uses a type in Analytics.Analytics.src.domain.entities.Record.
- The types involved
code.Reservation.Reservation.src.application.services.sanitizeInputData→code.Analytics.Analytics.src.domain.entities.Record.Record
- Direction
- Reservation.Reservation.src.application.services uses Analytics.Analytics.src.domain.entities.Record, so a change to Analytics.Analytics.src.domain.entities.Record can break Reservation.Reservation.src.application.services, while a change to Reservation.Reservation.src.application.services can't break Analytics.Analytics.src.domain.entities.Record.
- Position
- Below the diagonal: Reservation.Reservation.src.application.services uses a module listed above it, which is the healthy direction.
24→8 Reservation.Reservation.src.application.services uses Analytics.Analytics.src.interfaces.Repository✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.application.services uses a type in Analytics.Analytics.src.interfaces.Repository.
- The types involved
code.Reservation.Reservation.src.application.services.SlotLoaderService→code.Analytics.Analytics.src.interfaces.Repository.Repository
- Direction
- Reservation.Reservation.src.application.services uses Analytics.Analytics.src.interfaces.Repository, so a change to Analytics.Analytics.src.interfaces.Repository can break Reservation.Reservation.src.application.services, while a change to Reservation.Reservation.src.application.services can't break Analytics.Analytics.src.interfaces.Repository.
- Position
- Below the diagonal: Reservation.Reservation.src.application.services uses a module listed above it, which is the healthy direction.
25→2 Reservation.Reservation.src.application.services.DomainEventPublisherService uses Reservation.Reservation.src.interfaces.Event✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.application.services.DomainEventPublisherService uses a type in Reservation.Reservation.src.interfaces.Event.
- The types involved
code.Reservation.Reservation.src.application.services.DomainEventPublisherService.ConcreteDomainEventPublisherService→code.Reservation.Reservation.src.interfaces.Event.Event
- Direction
- Reservation.Reservation.src.application.services.DomainEventPublisherService uses Reservation.Reservation.src.interfaces.Event, so a change to Reservation.Reservation.src.interfaces.Event can break Reservation.Reservation.src.application.services.DomainEventPublisherService, while a change to Reservation.Reservation.src.application.services.DomainEventPublisherService can't break Reservation.Reservation.src.interfaces.Event.
- Position
- Below the diagonal: Reservation.Reservation.src.application.services.DomainEventPublisherService uses a module listed above it, which is the healthy direction.
25→3 Reservation.Reservation.src.application.services.DomainEventPublisherService uses Reservation.Reservation.src.interfaces.EventEmitter✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.application.services.DomainEventPublisherService uses a type in Reservation.Reservation.src.interfaces.EventEmitter.
- The types involved
code.Reservation.Reservation.src.application.services.DomainEventPublisherService.ConcreteDomainEventPublisherService→code.Reservation.Reservation.src.interfaces.EventEmitter.EventEmitter
- Direction
- Reservation.Reservation.src.application.services.DomainEventPublisherService uses Reservation.Reservation.src.interfaces.EventEmitter, so a change to Reservation.Reservation.src.interfaces.EventEmitter can break Reservation.Reservation.src.application.services.DomainEventPublisherService, while a change to Reservation.Reservation.src.application.services.DomainEventPublisherService can't break Reservation.Reservation.src.interfaces.EventEmitter.
- Position
- Below the diagonal: Reservation.Reservation.src.application.services.DomainEventPublisherService uses a module listed above it, which is the healthy direction.
25→13 Reservation.Reservation.src.application.services.DomainEventPublisherService uses Reservation.Reservation.src.interfaces.DomainEventPublisherService✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.application.services.DomainEventPublisherService uses a type in Reservation.Reservation.src.interfaces.DomainEventPublisherService.
- The types involved
code.Reservation.Reservation.src.application.services.DomainEventPublisherService.ConcreteDomainEventPublisherService→code.Reservation.Reservation.src.interfaces.DomainEventPublisherService.DomainEventPublisherService
- Direction
- Reservation.Reservation.src.application.services.DomainEventPublisherService uses Reservation.Reservation.src.interfaces.DomainEventPublisherService, so a change to Reservation.Reservation.src.interfaces.DomainEventPublisherService can break Reservation.Reservation.src.application.services.DomainEventPublisherService, while a change to Reservation.Reservation.src.application.services.DomainEventPublisherService can't break Reservation.Reservation.src.interfaces.DomainEventPublisherService.
- Position
- Below the diagonal: Reservation.Reservation.src.application.services.DomainEventPublisherService uses a module listed above it, which is the healthy direction.
26→4 Reservation.Reservation.src.application.services.SlotLoaderService uses Reservation.Reservation.src.interfaces.Slot✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.application.services.SlotLoaderService uses a type in Reservation.Reservation.src.interfaces.Slot.
- The types involved
code.Reservation.Reservation.src.application.services.SlotLoaderService.SlotLoaderService→code.Reservation.Reservation.src.interfaces.Slot.SlotDTO
- Direction
- Reservation.Reservation.src.application.services.SlotLoaderService uses Reservation.Reservation.src.interfaces.Slot, so a change to Reservation.Reservation.src.interfaces.Slot can break Reservation.Reservation.src.application.services.SlotLoaderService, while a change to Reservation.Reservation.src.application.services.SlotLoaderService can't break Reservation.Reservation.src.interfaces.Slot.
- Position
- Below the diagonal: Reservation.Reservation.src.application.services.SlotLoaderService uses a module listed above it, which is the healthy direction.
26→8 Reservation.Reservation.src.application.services.SlotLoaderService uses Analytics.Analytics.src.interfaces.Repository✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.application.services.SlotLoaderService uses a type in Analytics.Analytics.src.interfaces.Repository.
- The types involved
code.Reservation.Reservation.src.application.services.SlotLoaderService.SlotLoaderService→code.Analytics.Analytics.src.interfaces.Repository.Repository
- Direction
- Reservation.Reservation.src.application.services.SlotLoaderService uses Analytics.Analytics.src.interfaces.Repository, so a change to Analytics.Analytics.src.interfaces.Repository can break Reservation.Reservation.src.application.services.SlotLoaderService, while a change to Reservation.Reservation.src.application.services.SlotLoaderService can't break Analytics.Analytics.src.interfaces.Repository.
- Position
- Below the diagonal: Reservation.Reservation.src.application.services.SlotLoaderService uses a module listed above it, which is the healthy direction.
27→2 Reservation.Reservation.src.domain.services.ReservationService uses Reservation.Reservation.src.interfaces.Event✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.domain.services.ReservationService uses a type in Reservation.Reservation.src.interfaces.Event.
- The types involved
code.Reservation.Reservation.src.domain.services.ReservationService.ReservationService→code.Reservation.Reservation.src.interfaces.Event.Event
- Direction
- Reservation.Reservation.src.domain.services.ReservationService uses Reservation.Reservation.src.interfaces.Event, so a change to Reservation.Reservation.src.interfaces.Event can break Reservation.Reservation.src.domain.services.ReservationService, while a change to Reservation.Reservation.src.domain.services.ReservationService can't break Reservation.Reservation.src.interfaces.Event.
- Position
- Below the diagonal: Reservation.Reservation.src.domain.services.ReservationService uses a module listed above it, which is the healthy direction.
27→4 Reservation.Reservation.src.domain.services.ReservationService uses Reservation.Reservation.src.interfaces.Slot✕
- Connections
- 2 pairs of types, where a type in Reservation.Reservation.src.domain.services.ReservationService uses a type in Reservation.Reservation.src.interfaces.Slot.
- The types involved
code.Reservation.Reservation.src.domain.services.ReservationService.ReservationService→code.Reservation.Reservation.src.interfaces.Slot.SlotDTOcode.Reservation.Reservation.src.domain.services.ReservationService.ReservationService→code.Reservation.Reservation.src.interfaces.Slot.Status
- Direction
- Reservation.Reservation.src.domain.services.ReservationService uses Reservation.Reservation.src.interfaces.Slot, so a change to Reservation.Reservation.src.interfaces.Slot can break Reservation.Reservation.src.domain.services.ReservationService, while a change to Reservation.Reservation.src.domain.services.ReservationService can't break Reservation.Reservation.src.interfaces.Slot.
- Position
- Below the diagonal: Reservation.Reservation.src.domain.services.ReservationService uses a module listed above it, which is the healthy direction.
27→5 Reservation.Reservation.src.domain.services.ReservationService uses Reservation.Reservation.src.interfaces.VerificationCodeService✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.domain.services.ReservationService uses a type in Reservation.Reservation.src.interfaces.VerificationCodeService.
- The types involved
code.Reservation.Reservation.src.domain.services.ReservationService.ReservationService→code.Reservation.Reservation.src.interfaces.VerificationCodeService.VerificationCodeService
- Direction
- Reservation.Reservation.src.domain.services.ReservationService uses Reservation.Reservation.src.interfaces.VerificationCodeService, so a change to Reservation.Reservation.src.interfaces.VerificationCodeService can break Reservation.Reservation.src.domain.services.ReservationService, while a change to Reservation.Reservation.src.domain.services.ReservationService can't break Reservation.Reservation.src.interfaces.VerificationCodeService.
- Position
- Below the diagonal: Reservation.Reservation.src.domain.services.ReservationService uses a module listed above it, which is the healthy direction.
27→8 Reservation.Reservation.src.domain.services.ReservationService uses Analytics.Analytics.src.interfaces.Repository✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.domain.services.ReservationService uses a type in Analytics.Analytics.src.interfaces.Repository.
- The types involved
code.Reservation.Reservation.src.domain.services.ReservationService.ReservationService→code.Analytics.Analytics.src.interfaces.Repository.Repository
- Direction
- Reservation.Reservation.src.domain.services.ReservationService uses Analytics.Analytics.src.interfaces.Repository, so a change to Analytics.Analytics.src.interfaces.Repository can break Reservation.Reservation.src.domain.services.ReservationService, while a change to Reservation.Reservation.src.domain.services.ReservationService can't break Analytics.Analytics.src.interfaces.Repository.
- Position
- Below the diagonal: Reservation.Reservation.src.domain.services.ReservationService uses a module listed above it, which is the healthy direction.
27→10 Reservation.Reservation.src.domain.services.ReservationService uses Reservation.Reservation.src.domain.entities.Slot✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.domain.services.ReservationService uses a type in Reservation.Reservation.src.domain.entities.Slot.
- The types involved
code.Reservation.Reservation.src.domain.services.ReservationService.ReservationService→code.Reservation.Reservation.src.domain.entities.Slot.Slot
- Direction
- Reservation.Reservation.src.domain.services.ReservationService uses Reservation.Reservation.src.domain.entities.Slot, so a change to Reservation.Reservation.src.domain.entities.Slot can break Reservation.Reservation.src.domain.services.ReservationService, while a change to Reservation.Reservation.src.domain.services.ReservationService can't break Reservation.Reservation.src.domain.entities.Slot.
- Position
- Below the diagonal: Reservation.Reservation.src.domain.services.ReservationService uses a module listed above it, which is the healthy direction.
27→13 Reservation.Reservation.src.domain.services.ReservationService uses Reservation.Reservation.src.interfaces.DomainEventPublisherService✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.domain.services.ReservationService uses a type in Reservation.Reservation.src.interfaces.DomainEventPublisherService.
- The types involved
code.Reservation.Reservation.src.domain.services.ReservationService.ReservationService→code.Reservation.Reservation.src.interfaces.DomainEventPublisherService.DomainEventPublisherService
- Direction
- Reservation.Reservation.src.domain.services.ReservationService uses Reservation.Reservation.src.interfaces.DomainEventPublisherService, so a change to Reservation.Reservation.src.interfaces.DomainEventPublisherService can break Reservation.Reservation.src.domain.services.ReservationService, while a change to Reservation.Reservation.src.domain.services.ReservationService can't break Reservation.Reservation.src.interfaces.DomainEventPublisherService.
- Position
- Below the diagonal: Reservation.Reservation.src.domain.services.ReservationService uses a module listed above it, which is the healthy direction.
28→7 Reservation.Reservation.src.infrastructure.adapters.web uses Analytics.Analytics.src.domain.entities.Record✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.infrastructure.adapters.web uses a type in Analytics.Analytics.src.domain.entities.Record.
- The types involved
code.Reservation.Reservation.src.infrastructure.adapters.web.OpenSlot→code.Analytics.Analytics.src.domain.entities.Record.Record
- Direction
- Reservation.Reservation.src.infrastructure.adapters.web uses Analytics.Analytics.src.domain.entities.Record, so a change to Analytics.Analytics.src.domain.entities.Record can break Reservation.Reservation.src.infrastructure.adapters.web, while a change to Reservation.Reservation.src.infrastructure.adapters.web can't break Analytics.Analytics.src.domain.entities.Record.
- Position
- Below the diagonal: Reservation.Reservation.src.infrastructure.adapters.web uses a module listed above it, which is the healthy direction.
29→2 Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository uses Reservation.Reservation.src.interfaces.Event✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository uses a type in Reservation.Reservation.src.interfaces.Event.
- The types involved
code.Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository.DynamoDbRepository→code.Reservation.Reservation.src.interfaces.Event.Event
- Direction
- Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository uses Reservation.Reservation.src.interfaces.Event, so a change to Reservation.Reservation.src.interfaces.Event can break Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository, while a change to Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository can't break Reservation.Reservation.src.interfaces.Event.
- Position
- Below the diagonal: Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository uses a module listed above it, which is the healthy direction.
29→4 Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository uses Reservation.Reservation.src.interfaces.Slot✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository uses a type in Reservation.Reservation.src.interfaces.Slot.
- The types involved
code.Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository.DynamoDbRepository→code.Reservation.Reservation.src.interfaces.Slot.SlotDTO
- Direction
- Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository uses Reservation.Reservation.src.interfaces.Slot, so a change to Reservation.Reservation.src.interfaces.Slot can break Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository, while a change to Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository can't break Reservation.Reservation.src.interfaces.Slot.
- Position
- Below the diagonal: Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository uses a module listed above it, which is the healthy direction.
29→8 Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository uses Analytics.Analytics.src.interfaces.Repository✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository uses a type in Analytics.Analytics.src.interfaces.Repository.
- The types involved
code.Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository.DynamoDbRepository→code.Analytics.Analytics.src.interfaces.Repository.Repository
- Direction
- Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository uses Analytics.Analytics.src.interfaces.Repository, so a change to Analytics.Analytics.src.interfaces.Repository can break Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository, while a change to Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository can't break Analytics.Analytics.src.interfaces.Repository.
- Position
- Below the diagonal: Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository uses a module listed above it, which is the healthy direction.
30→2 Reservation.Reservation.src.infrastructure.repositories.LocalRepository uses Reservation.Reservation.src.interfaces.Event✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.infrastructure.repositories.LocalRepository uses a type in Reservation.Reservation.src.interfaces.Event.
- The types involved
code.Reservation.Reservation.src.infrastructure.repositories.LocalRepository.LocalRepository→code.Reservation.Reservation.src.interfaces.Event.Event
- Direction
- Reservation.Reservation.src.infrastructure.repositories.LocalRepository uses Reservation.Reservation.src.interfaces.Event, so a change to Reservation.Reservation.src.interfaces.Event can break Reservation.Reservation.src.infrastructure.repositories.LocalRepository, while a change to Reservation.Reservation.src.infrastructure.repositories.LocalRepository can't break Reservation.Reservation.src.interfaces.Event.
- Position
- Below the diagonal: Reservation.Reservation.src.infrastructure.repositories.LocalRepository uses a module listed above it, which is the healthy direction.
30→4 Reservation.Reservation.src.infrastructure.repositories.LocalRepository uses Reservation.Reservation.src.interfaces.Slot✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.infrastructure.repositories.LocalRepository uses a type in Reservation.Reservation.src.interfaces.Slot.
- The types involved
code.Reservation.Reservation.src.infrastructure.repositories.LocalRepository.LocalRepository→code.Reservation.Reservation.src.interfaces.Slot.SlotDTO
- Direction
- Reservation.Reservation.src.infrastructure.repositories.LocalRepository uses Reservation.Reservation.src.interfaces.Slot, so a change to Reservation.Reservation.src.interfaces.Slot can break Reservation.Reservation.src.infrastructure.repositories.LocalRepository, while a change to Reservation.Reservation.src.infrastructure.repositories.LocalRepository can't break Reservation.Reservation.src.interfaces.Slot.
- Position
- Below the diagonal: Reservation.Reservation.src.infrastructure.repositories.LocalRepository uses a module listed above it, which is the healthy direction.
30→8 Reservation.Reservation.src.infrastructure.repositories.LocalRepository uses Analytics.Analytics.src.interfaces.Repository✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.infrastructure.repositories.LocalRepository uses a type in Analytics.Analytics.src.interfaces.Repository.
- The types involved
code.Reservation.Reservation.src.infrastructure.repositories.LocalRepository.LocalRepository→code.Analytics.Analytics.src.interfaces.Repository.Repository
- Direction
- Reservation.Reservation.src.infrastructure.repositories.LocalRepository uses Analytics.Analytics.src.interfaces.Repository, so a change to Analytics.Analytics.src.interfaces.Repository can break Reservation.Reservation.src.infrastructure.repositories.LocalRepository, while a change to Reservation.Reservation.src.infrastructure.repositories.LocalRepository can't break Analytics.Analytics.src.interfaces.Repository.
- Position
- Below the diagonal: Reservation.Reservation.src.infrastructure.repositories.LocalRepository uses a module listed above it, which is the healthy direction.
31→4 Reservation.Reservation.src.infrastructure.utils uses Reservation.Reservation.src.interfaces.Slot✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.infrastructure.utils uses a type in Reservation.Reservation.src.interfaces.Slot.
- The types involved
code.Reservation.Reservation.src.infrastructure.utils.getCleanedItems→code.Reservation.Reservation.src.interfaces.Slot.SlotDTO
- Direction
- Reservation.Reservation.src.infrastructure.utils uses Reservation.Reservation.src.interfaces.Slot, so a change to Reservation.Reservation.src.interfaces.Slot can break Reservation.Reservation.src.infrastructure.utils, while a change to Reservation.Reservation.src.infrastructure.utils can't break Reservation.Reservation.src.interfaces.Slot.
- Position
- Below the diagonal: Reservation.Reservation.src.infrastructure.utils uses a module listed above it, which is the healthy direction.
31→7 Reservation.Reservation.src.infrastructure.utils uses Analytics.Analytics.src.domain.entities.Record✕
- Connections
- 3 pairs of types, where a type in Reservation.Reservation.src.infrastructure.utils uses a type in Analytics.Analytics.src.domain.entities.Record.
- The types involved
code.Reservation.Reservation.src.infrastructure.utils.getSlotId→code.Analytics.Analytics.src.domain.entities.Record.Recordcode.Reservation.Reservation.src.infrastructure.utils.getVersion→code.Analytics.Analytics.src.domain.entities.Record.Recordcode.Reservation.Reservation.src.infrastructure.utils.userMetadata→code.Analytics.Analytics.src.domain.entities.Record.Record
- Direction
- Reservation.Reservation.src.infrastructure.utils uses Analytics.Analytics.src.domain.entities.Record, so a change to Analytics.Analytics.src.domain.entities.Record can break Reservation.Reservation.src.infrastructure.utils, while a change to Reservation.Reservation.src.infrastructure.utils can't break Analytics.Analytics.src.domain.entities.Record.
- Position
- Below the diagonal: Reservation.Reservation.src.infrastructure.utils uses a module listed above it, which is the healthy direction.
32→8 Security.VerificationCode.src.application.usecases uses Analytics.Analytics.src.interfaces.Repository✕
- Connections
- 3 pairs of types, where a type in Security.VerificationCode.src.application.usecases uses a type in Analytics.Analytics.src.interfaces.Repository.
- The types involved
code.Security.VerificationCode.src.application.usecases.GenerateCodeUseCase→code.Analytics.Analytics.src.interfaces.Repository.Repositorycode.Security.VerificationCode.src.application.usecases.RemoveCodeUseCase→code.Analytics.Analytics.src.interfaces.Repository.Repositorycode.Security.VerificationCode.src.application.usecases.VerifyCodeUseCase→code.Analytics.Analytics.src.interfaces.Repository.Repository
- Direction
- Security.VerificationCode.src.application.usecases uses Analytics.Analytics.src.interfaces.Repository, so a change to Analytics.Analytics.src.interfaces.Repository can break Security.VerificationCode.src.application.usecases, while a change to Security.VerificationCode.src.application.usecases can't break Analytics.Analytics.src.interfaces.Repository.
- Position
- Below the diagonal: Security.VerificationCode.src.application.usecases uses a module listed above it, which is the healthy direction.
33→7 Security.VerificationCode.src.infrastructure.adapters.web uses Analytics.Analytics.src.domain.entities.Record✕
- Connections
- 2 pairs of types, where a type in Security.VerificationCode.src.infrastructure.adapters.web uses a type in Analytics.Analytics.src.domain.entities.Record.
- The types involved
code.Security.VerificationCode.src.infrastructure.adapters.web.RemoveCode→code.Analytics.Analytics.src.domain.entities.Record.Recordcode.Security.VerificationCode.src.infrastructure.adapters.web.VerifyCode→code.Analytics.Analytics.src.domain.entities.Record.Record
- Direction
- Security.VerificationCode.src.infrastructure.adapters.web uses Analytics.Analytics.src.domain.entities.Record, so a change to Analytics.Analytics.src.domain.entities.Record can break Security.VerificationCode.src.infrastructure.adapters.web, while a change to Security.VerificationCode.src.infrastructure.adapters.web can't break Analytics.Analytics.src.domain.entities.Record.
- Position
- Below the diagonal: Security.VerificationCode.src.infrastructure.adapters.web uses a module listed above it, which is the healthy direction.
34→8 Security.VerificationCode.src.infrastructure.repositories.DynamoDbRepository uses Analytics.Analytics.src.interfaces.Repository✕
- Connections
- 1 pair of types, where a type in Security.VerificationCode.src.infrastructure.repositories.DynamoDbRepository uses a type in Analytics.Analytics.src.interfaces.Repository.
- The types involved
code.Security.VerificationCode.src.infrastructure.repositories.DynamoDbRepository.DynamoDbRepository→code.Analytics.Analytics.src.interfaces.Repository.Repository
- Direction
- Security.VerificationCode.src.infrastructure.repositories.DynamoDbRepository uses Analytics.Analytics.src.interfaces.Repository, so a change to Analytics.Analytics.src.interfaces.Repository can break Security.VerificationCode.src.infrastructure.repositories.DynamoDbRepository, while a change to Security.VerificationCode.src.infrastructure.repositories.DynamoDbRepository can't break Analytics.Analytics.src.interfaces.Repository.
- Position
- Below the diagonal: Security.VerificationCode.src.infrastructure.repositories.DynamoDbRepository uses a module listed above it, which is the healthy direction.
35→8 Security.VerificationCode.src.infrastructure.repositories.LocalRepository uses Analytics.Analytics.src.interfaces.Repository✕
- Connections
- 1 pair of types, where a type in Security.VerificationCode.src.infrastructure.repositories.LocalRepository uses a type in Analytics.Analytics.src.interfaces.Repository.
- The types involved
code.Security.VerificationCode.src.infrastructure.repositories.LocalRepository.LocalRepo→code.Analytics.Analytics.src.interfaces.Repository.Repository
- Direction
- Security.VerificationCode.src.infrastructure.repositories.LocalRepository uses Analytics.Analytics.src.interfaces.Repository, so a change to Analytics.Analytics.src.interfaces.Repository can break Security.VerificationCode.src.infrastructure.repositories.LocalRepository, while a change to Security.VerificationCode.src.infrastructure.repositories.LocalRepository can't break Analytics.Analytics.src.interfaces.Repository.
- Position
- Below the diagonal: Security.VerificationCode.src.infrastructure.repositories.LocalRepository uses a module listed above it, which is the healthy direction.
36→7 Security.VerificationCode.src.infrastructure.utils uses Analytics.Analytics.src.domain.entities.Record✕
- Connections
- 2 pairs of types, where a type in Security.VerificationCode.src.infrastructure.utils uses a type in Analytics.Analytics.src.domain.entities.Record.
- The types involved
code.Security.VerificationCode.src.infrastructure.utils.getDTO→code.Analytics.Analytics.src.domain.entities.Record.Recordcode.Security.VerificationCode.src.infrastructure.utils.getVersion→code.Analytics.Analytics.src.domain.entities.Record.Record
- Direction
- Security.VerificationCode.src.infrastructure.utils uses Analytics.Analytics.src.domain.entities.Record, so a change to Analytics.Analytics.src.domain.entities.Record can break Security.VerificationCode.src.infrastructure.utils, while a change to Security.VerificationCode.src.infrastructure.utils can't break Analytics.Analytics.src.domain.entities.Record.
- Position
- Below the diagonal: Security.VerificationCode.src.infrastructure.utils uses a module listed above it, which is the healthy direction.
37→16 Analytics.Analytics.src.infrastructure.repositories uses Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository✕
- Connections
- 1 pair of types, where a type in Analytics.Analytics.src.infrastructure.repositories uses a type in Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository.
- The types involved
code.Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository→code.Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository.DynamoDbRepository
- Direction
- Analytics.Analytics.src.infrastructure.repositories uses Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository, so a change to Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository can break Analytics.Analytics.src.infrastructure.repositories, while a change to Analytics.Analytics.src.infrastructure.repositories can't break Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository.
- Position
- Below the diagonal: Analytics.Analytics.src.infrastructure.repositories uses a module listed above it, which is the healthy direction.
37→17 Analytics.Analytics.src.infrastructure.repositories uses Analytics.Analytics.src.infrastructure.repositories.LocalRepository✕
- Connections
- 1 pair of types, where a type in Analytics.Analytics.src.infrastructure.repositories uses a type in Analytics.Analytics.src.infrastructure.repositories.LocalRepository.
- The types involved
code.Analytics.Analytics.src.infrastructure.repositories.LocalRepository→code.Analytics.Analytics.src.infrastructure.repositories.LocalRepository.LocalRepository
- Direction
- Analytics.Analytics.src.infrastructure.repositories uses Analytics.Analytics.src.infrastructure.repositories.LocalRepository, so a change to Analytics.Analytics.src.infrastructure.repositories.LocalRepository can break Analytics.Analytics.src.infrastructure.repositories, while a change to Analytics.Analytics.src.infrastructure.repositories can't break Analytics.Analytics.src.infrastructure.repositories.LocalRepository.
- Position
- Below the diagonal: Analytics.Analytics.src.infrastructure.repositories uses a module listed above it, which is the healthy direction.
38→16 Reservation.Display.src.infrastructure.repositories uses Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository✕
- Connections
- 1 pair of types, where a type in Reservation.Display.src.infrastructure.repositories uses a type in Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository.
- The types involved
code.Reservation.Display.src.infrastructure.repositories.DynamoDbRepository→code.Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository.DynamoDbRepository
- Direction
- Reservation.Display.src.infrastructure.repositories uses Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository, so a change to Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository can break Reservation.Display.src.infrastructure.repositories, while a change to Reservation.Display.src.infrastructure.repositories can't break Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository.
- Position
- Below the diagonal: Reservation.Display.src.infrastructure.repositories uses a module listed above it, which is the healthy direction.
38→17 Reservation.Display.src.infrastructure.repositories uses Analytics.Analytics.src.infrastructure.repositories.LocalRepository✕
- Connections
- 1 pair of types, where a type in Reservation.Display.src.infrastructure.repositories uses a type in Analytics.Analytics.src.infrastructure.repositories.LocalRepository.
- The types involved
code.Reservation.Display.src.infrastructure.repositories.LocalRepository→code.Analytics.Analytics.src.infrastructure.repositories.LocalRepository.LocalRepository
- Direction
- Reservation.Display.src.infrastructure.repositories uses Analytics.Analytics.src.infrastructure.repositories.LocalRepository, so a change to Analytics.Analytics.src.infrastructure.repositories.LocalRepository can break Reservation.Display.src.infrastructure.repositories, while a change to Reservation.Display.src.infrastructure.repositories can't break Analytics.Analytics.src.infrastructure.repositories.LocalRepository.
- Position
- Below the diagonal: Reservation.Display.src.infrastructure.repositories uses a module listed above it, which is the healthy direction.
39→16 Reservation.Reservation.src.infrastructure.repositories uses Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.infrastructure.repositories uses a type in Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository.
- The types involved
code.Reservation.Reservation.src.infrastructure.repositories.DynamoDbRepository→code.Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository.DynamoDbRepository
- Direction
- Reservation.Reservation.src.infrastructure.repositories uses Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository, so a change to Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository can break Reservation.Reservation.src.infrastructure.repositories, while a change to Reservation.Reservation.src.infrastructure.repositories can't break Analytics.Analytics.src.infrastructure.repositories.DynamoDbRepository.
- Position
- Below the diagonal: Reservation.Reservation.src.infrastructure.repositories uses a module listed above it, which is the healthy direction.
39→17 Reservation.Reservation.src.infrastructure.repositories uses Analytics.Analytics.src.infrastructure.repositories.LocalRepository✕
- Connections
- 1 pair of types, where a type in Reservation.Reservation.src.infrastructure.repositories uses a type in Analytics.Analytics.src.infrastructure.repositories.LocalRepository.
- The types involved
code.Reservation.Reservation.src.infrastructure.repositories.LocalRepository→code.Analytics.Analytics.src.infrastructure.repositories.LocalRepository.LocalRepository
- Direction
- Reservation.Reservation.src.infrastructure.repositories uses Analytics.Analytics.src.infrastructure.repositories.LocalRepository, so a change to Analytics.Analytics.src.infrastructure.repositories.LocalRepository can break Reservation.Reservation.src.infrastructure.repositories, while a change to Reservation.Reservation.src.infrastructure.repositories can't break Analytics.Analytics.src.infrastructure.repositories.LocalRepository.
- Position
- Below the diagonal: Reservation.Reservation.src.infrastructure.repositories uses a module listed above it, which is the healthy direction.
40→35 Security.VerificationCode.src.infrastructure.repositories uses Security.VerificationCode.src.infrastructure.repositories.LocalRepository✕
- Connections
- 1 pair of types, where a type in Security.VerificationCode.src.infrastructure.repositories uses a type in Security.VerificationCode.src.infrastructure.repositories.LocalRepository.
- The types involved
code.Security.VerificationCode.src.infrastructure.repositories.LocalRepository→code.Security.VerificationCode.src.infrastructure.repositories.LocalRepository.LocalRepo
- Direction
- Security.VerificationCode.src.infrastructure.repositories uses Security.VerificationCode.src.infrastructure.repositories.LocalRepository, so a change to Security.VerificationCode.src.infrastructure.repositories.LocalRepository can break Security.VerificationCode.src.infrastructure.repositories, while a change to Security.VerificationCode.src.infrastructure.repositories can't break Security.VerificationCode.src.infrastructure.repositories.LocalRepository.
- Position
- Below the diagonal: Security.VerificationCode.src.infrastructure.repositories uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 1 | Medium |
| A08:2025 — Software or Data Integrity Failures | 1 | Medium |
Roadmap
First, establish a CI workflow that builds the project and runs the test suite on every push or pull request to ensure immediate feedback. Next, resolve the missing architecture decision records by documenting significant design choices in a dedicated folder, while simultaneously cleaning up dependencies by removing unused packages and explicitly declaring imports. Finally, integrate eslint and TypeScript type checking into the project scripts and CI pipeline to maintain code quality and consistency.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +4.5 pts | Low | ADR Quality |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +5.1 pts | Medium | CI/CD gates |
| Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies. | +3.7 pts | Medium | Dependency Hygiene |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +3.7 pts | Medium | Architecture documentation |
| Resolve the 2 Documentation finding(s) in Documentation Quality. | +1.6 pts | Low | Documentation Quality |
| Add eslint and `tsc --noEmit` as package.json scripts and run them in CI. | +2.5 pts | Medium | Tooling |
| Thread an AbortSignal through async functions that make requests, so the work stops when its caller gives up. | +1.6 pts | Medium | Cancellation propagation |
| Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root. | +1.2 pts | Medium | Folder & project structure |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| code/Reservation/Display/src/infrastructure/utils/getDTO.ts | 7.8 | Mixed | Cyclomatic Complexity: getDTO.getDTO (cyclomatic 16) |
| code/Reservation/Reservation/__tests__/integration/index.ts | 8.2 | Near-clean | Explicit Debt: TodoComment |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 73 of 76 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.7 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 76 dimensions across the health lenses
- Can you open the finding? Real findings cite a repo-relative file and line you can open at the cited line — never an absolute scratch path. Here, 104 of 122 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test source is present (.ts) and the reliability runner does support this ecosystem — it drives jest, vitest, mocha and egg-bin — but the runner its test command uses is one the re-runner has no executor for (`ava`). Read from the manifests: `code/Analytics/Analytics` has a `scripts.test` of `npx c8 ava` and declares `ava`; `code/Reservation/Display` has a `scripts.test` of `npx c8 ava` and declares `ava`; `code/Reservation/Reservation` has a `scripts.test` of `npm run test:unit && npm run test:integration` and declares `ava`; `code/Security/VerificationCode` has a `scripts.test` of `npx c8 ava` and declares `ava`. So flakiness couldn't be assessed. Not scored — this is a gap in the analyzer's runner coverage, not a missing .ts runner and not a finding about this repository.
- D12 Dependency Hygiene — 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. This repository's 5 package.json manifest(s) WERE read and their pinning discipline assessed; what went unanswered is the currency half, because answering it needs a lockfile resolved to CONCRETE versions and this repository commits none — a package.json states version RANGES, and a range names no particular release to be behind. So registry.npmjs.org was never asked, and there was nothing here for it to grade. This is a true statement about the repository and NOT a gap on our side: no lockfile reader we could write would find anything here to read, so there is no capability behind this row to build.
- D14 License Compliance — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Not scored — this repository declares package.json manifests but commits no lockfile this pass can resolve (npm, pnpm, yarn and bun each write a different one, and `bun.lockb` is a binary format with no published shape), so the set of packages it actually ships is not resolvable from the checkout: its declarations carry version RANGES, and grading whichever release happens to be newest today would be a verdict about a dependency graph this repository has not pinned. Commit the lock and this dimension grades its production dependencies against registry.npmjs.org. NOT a finding that this repository's licences are compliant: this dimension asserts nothing about its licensing in either direction.
- D15 Churn × Complexity Hotspots — measured, with a gap in what it reached — 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. Git history depth insufficient — this repository has 15 commit(s), too few for a reliable trend signal. The clone is complete, so there is no deeper history to fetch: the signal returns as the project accumulates history.
- 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 15 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: it declares a published package (package.json), but 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. For npm the surface is what a published package.json's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
- D30 Dependency Vulnerabilities — measured, with a gap in what it reached — 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. The scanner produced no output at all, so no dependency was actually scanned. 1 of 2 declared ecosystem(s) (npm) WERE scanned and every vulnerability they reported is included in this result; REDACTED was not, so this dimension's score covers less than the dependency surface this repository declares, and nothing here is evidence that REDACTED is free of known-vulnerable dependencies.
- D34 Knowledge Freshness — 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. Too few commits to judge knowledge freshness (15 commit(s) sampled).
- D35 Change Coupling — measured, with a gap in what it reached — 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. Git history depth insufficient — this repository has 15 commit(s), too few for a reliable change-coupling signal. The clone is complete, so there is no deeper history to fetch: the signal returns as the project accumulates history.
- D43 Malicious Dependencies — measured, with a gap in what it reached — 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. The scanner produced no output at all, so no dependency was actually scanned. 1 of 2 declared ecosystem(s) (npm) WERE scanned and every vulnerability they reported is included in this result; REDACTED was not, so this dimension's score covers less than the dependency surface this repository declares, and nothing here is evidence that REDACTED is free of known-vulnerable dependencies.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DevServer (start). the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence.
- 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. '@aws-sdk/client-dynamodb' is imported (code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:1), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- 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. '@aws-sdk/client-dynamodb' is imported (code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:1), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- 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. '@aws-sdk/client-dynamodb' is imported (code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:1), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- 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. '@aws-sdk/client-dynamodb' is imported (code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:1), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- DM9 Scattered domain decisions — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Arm two tells a construction that PRODUCES a measurement from one that merely passes it along, and this repository's frontend does not compute that fact. A measurement built independently in two places would not appear above.
- M3 Folder & project structure — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Whether the tests sit apart from production code is not visible here, because the suite is not in a form this pass reads. The test-separation credit is granted rather than withheld: this is a gap in the analyzer's language coverage, not a finding about the repository's tests. You can widen what we reach: keep the test surface somewhere a reader can find it without opening a binary — an exported/checked-in test source tree beside the production code makes the suite reviewable, diffable and discoverable by tooling.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 134 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled certificate validation and obsolete TLS versions, and none was found. The server controls this dimension also scores were not assessed, so no score is given.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, PHP, Dart, Ruby, Scala and Rust source only, and no C# was loaded, and this repository's JavaScript/TypeScript, Python and PHP log through no library that carries a message's values as fields (pino, winston, bunyan, tslog, LogTape, roarr; Python's logging, structlog; PHP's PSR-3 loggers), so its log calls cannot be judged, 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.
- 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.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- 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").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- 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.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- 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".
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
1 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was getDTO.getDTO at 16.
What to do
- Bring the 1 body over 15 down to 15 or less in Cyclomatic Complexity — start with getDTO.getDTO (cyclomatic 16). — Refactoring it lifts Cyclomatic Complexity from 9.9 to about 10.0/10.
- Stand up a CI pipeline, then gate Cyclomatic Complexity in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
1 method(s) exceeded the cognitive complexity threshold of 15; the worst was getDTO.getDTO at 16.
What to do
- Bring the 1 body over 15 down to 15 or less in Cognitive Complexity — start with getDTO.getDTO (cognitive 16). — Refactoring it lifts Cognitive Complexity from 9.9 to about 10.0/10.
- Stand up a CI pipeline, then gate Cognitive Complexity in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
0 god class(es) detected.
D5 · Coupling
5 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 0 module(s) off the main sequence, with abstractness counted on 4 of the 5 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
D6 · Cohesion (LCOM4)
0 of 12 classes have LCOM4 above 3.
D9 · Test Distribution
22 test methods: 22 unit, 0 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 22 `it`/`test` case(s) across 12 test file(s) declaring at least one; its tier split is read from package names and paths only.
D10 · Test Quality
0 skipped, 0 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 22 tests.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
1 deducted task-comment markers across 4171 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 1 TodoComment finding(s) in Explicit Debt — start with index.ts. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Explicit Debt in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's root README gives a strong overview of the project (DDD & clean architecture on AWS for room booking) and links to an external book. It also directs readers to each bounded context's README for detailed instructions, which is consistent with the outline. The individual Bounded Context READMEs document their own directories rather than the repository as a whole, so the missing-overview, missing-installation, or missing-usage defects are not applicable to them. There is no architecture/design documentation and one internal-focused section ('INTEGRATION_ENDPOINT_BASE value set in integration script') that a reader cannot decode; this falls under 'internal-focused' rather than an actual gap.
What to do
- Resolve the 2 Documentation finding(s) in Documentation Quality. — One of this dimension's main actionable groups (2 recommendation-level).
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
0 of 4 build units (npm) flagged as possibly oversized/incoherent.
D27 · Navigability
76 % of calls cross a namespace and 8 % go through an interface, but 73 % of collaborators are co-located — so following a call takes several hops. Baseline: small — navigation cost is tolerated.
What to do
- Improve Navigability — currently 8.6/10. — 76 % of calls cross a namespace and 8 % go through an interface, but 73 % of collaborators are co-located — so following a call takes several hops. Baseline: small — navigation cost is tolerated.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
semgrep found no security issues.
D30 · Dependency Vulnerabilities
No known-vulnerable dependencies in the 1 ecosystem(s) that were scanned (npm). Partial dependency scan: 1 of 2 declared ecosystem(s) were scanned (npm), and the findings above are real and complete for them. REDACTED was not scanned (REDACTED: the scanner produced no output at all, so no dependency was actually scanned), so this is not the whole dependency surface and the result is reported at reduced confidence.
D31 · IaC & Container Security
trivy and checkov found no infrastructure-as-code or container misconfigurations.
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No known-vulnerable dependencies in the 1 ecosystem(s) that were scanned (npm). Partial dependency scan: 1 of 2 declared ecosystem(s) were scanned (npm), and the findings above are real and complete for them. REDACTED was not scanned (REDACTED: the scanner produced no output at all, so no dependency was actually scanned), so this is not the whole dependency surface and the result is reported at reduced confidence.
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 1 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
DM1 · Aggregate boundaries
DM10 · One transaction, one aggregate
DM11 · Constructible invalid state
DM5 · Encapsulated state
DM6 · Domain ↔ infrastructure boundary
DM7 · Repository granularity
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- `AddRecordUseCase` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — code/Analytics/Analytics/src/application/usecases/AddRecordUseCase.ts:9
What to do
- Remove the dead code that still moves this score: delete dead if(false) branches and either do the real async work or drop the async keyword from fake-async functions.
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
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
- Production code isn't grouped under a src/ folder — it all sits under code/ alongside the root build files, so the conventional src/ boundary between the product and its tooling isn't drawn.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
M4 · Documentation accuracy
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
P10 · Library API & versioning
P2 · Observability
- `code/Analytics/Analytics/src/infrastructure/repositories/LocalRepository.ts` reports through `console.*` at line 25 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — code/Analytics/Analytics/src/infrastructure/repositories/LocalRepository.ts:25
- `code/Reservation/Display/src/infrastructure/repositories/LocalRepository.ts` reports through `console.*` at line 26 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — code/Reservation/Display/src/infrastructure/repositories/LocalRepository.ts:26
- `code/Reservation/Reservation/src/infrastructure/authorizers/Authorizer.ts` reports through `console.*` at line 33 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — code/Reservation/Reservation/src/infrastructure/authorizers/Authorizer.ts:33
- `code/Reservation/Reservation/src/infrastructure/authorizers/Authorizer.ts` reports through `console.*` at line 114 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — code/Reservation/Reservation/src/infrastructure/authorizers/Authorizer.ts:114
- `code/Reservation/Reservation/src/infrastructure/emitters/LocalEmitter.ts` reports through `console.*` at line 17 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — code/Reservation/Reservation/src/infrastructure/emitters/LocalEmitter.ts:17
- `code/Reservation/Reservation/src/infrastructure/repositories/LocalRepository.ts` reports through `console.*` at line 33 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — code/Reservation/Reservation/src/infrastructure/repositories/LocalRepository.ts:33
- `code/Security/VerificationCode/src/infrastructure/repositories/LocalRepository.ts` reports through `console.*` at line 50 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — code/Security/VerificationCode/src/infrastructure/repositories/LocalRepository.ts:50
What to do
- Route service-code `console.*` output through the module's structured logger (with named fields), so delivery outcomes and failures reach the log pipeline with a level.
- Consider OpenTelemetry tracing/metrics (@opentelemetry/sdk-node) and a health-check endpoint (@godaddy/terminus or a /health route) for operability.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Run what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY'S PIPELINE FILES. What was read: every file under `.github/workflows/`, `.forgejo/workflows/`, `.gitea/workflows/`, `.azuredevops/` and `.azure-pipelines/`, plus `.gitlab-ci*` and `azure-pipelines*` — with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab's `when: manual`, CircleCI's `type: approval`, an Azure `ManualValidation@` task or an `approvals:` block, a Jenkins `input` step, a `uses:` step naming an approval action, an `environment:` paired with `reviewers` / `required_reviewers` / `protection` / `wait-timer` / `deployment_branch_policy`, a draft-release step, a `workflow_dispatch` promotion, or a release-event gate. ★ What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy — all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release.
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.
PF3 · Async & latency hygiene
R1 · Type Safety
R10 · Code Duplication
- 19 duplicated blocks under code/ have copies in at least two of the sibling directories Analytics, Reservation, Security — 13 of them are reported below, and 6 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 19 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 19 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 19 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — code/Analytics/Analytics/.dependency-cruiser.js:2
- 5 of the duplicated blocks reported below have copies in at least two of the sibling directories Display, Reservation under code/Reservation/. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — code/Reservation/Display/src/infrastructure/repositories/DynamoDbRepository.ts:15
- code/Analytics/Analytics/.dependency-cruiser.js:2 · code/Reservation/Display/.dependency-cruiser.js:2 · code/Reservation/Reservation/.dependency-cruiser.js:2 · code/Security/VerificationCode/.dependency-cruiser.js:2 — these 4 files are line-for-line copies of one another — 87 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — code/Analytics/Analytics/.dependency-cruiser.js:2
- code/Reservation/Reservation/src/infrastructure/adapters/web/CancelSlot.ts:18 · code/Reservation/Reservation/src/infrastructure/adapters/web/CheckIn.ts:18 · code/Reservation/Reservation/src/infrastructure/adapters/web/CheckOut.ts:18 — the 3 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — code/Reservation/Reservation/src/infrastructure/adapters/web/CancelSlot.ts:18
- code/Reservation/Reservation/src/infrastructure/adapters/web/CloseSlots.ts:17 · code/Reservation/Reservation/src/infrastructure/adapters/web/UnattendSlots.ts:17 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — code/Reservation/Reservation/src/infrastructure/adapters/web/CloseSlots.ts:17
- code/Security/VerificationCode/src/infrastructure/adapters/web/GenerateCode.ts:19 · code/Security/VerificationCode/src/infrastructure/adapters/web/VerifyCode.ts:19 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — code/Security/VerificationCode/src/infrastructure/adapters/web/GenerateCode.ts:19
- code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:12 · code/Reservation/Display/src/infrastructure/repositories/DynamoDbRepository.ts:15 · code/Reservation/Reservation/src/infrastructure/repositories/DynamoDbRepository.ts:24 · code/Security/VerificationCode/src/infrastructure/repositories/DynamoDbRepository.ts:17 — the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:12
- code/Reservation/Display/src/infrastructure/repositories/DynamoDbRepository.ts:15 · code/Reservation/Reservation/src/infrastructure/repositories/DynamoDbRepository.ts:24 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — code/Reservation/Display/src/infrastructure/repositories/DynamoDbRepository.ts:15
- code/Analytics/Analytics/src/infrastructure/adapters/web/AddRecord.ts:18 · code/Reservation/Display/src/infrastructure/adapters/web/UpdateSlot.ts:28 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — code/Analytics/Analytics/src/infrastructure/adapters/web/AddRecord.ts:18
- code/Reservation/Display/src/infrastructure/repositories/DynamoDbRepository.ts:47 · code/Reservation/Reservation/src/infrastructure/repositories/DynamoDbRepository.ts:113 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — code/Reservation/Display/src/infrastructure/repositories/DynamoDbRepository.ts:47
- code/Reservation/Reservation/src/domain/entities/Slot.ts:247 · code/Reservation/Reservation/src/domain/entities/Slot.ts:272 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — code/Reservation/Reservation/src/domain/entities/Slot.ts:247
- code/Reservation/Reservation/src/infrastructure/adapters/web/CancelSlot.ts:9 · code/Reservation/Reservation/src/infrastructure/adapters/web/CheckIn.ts:9 · code/Reservation/Reservation/src/infrastructure/adapters/web/CheckOut.ts:9 · code/Reservation/Reservation/src/infrastructure/adapters/web/ReserveSlot.ts:9 — the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — code/Reservation/Reservation/src/infrastructure/adapters/web/CancelSlot.ts:9
- code/Reservation/Display/src/infrastructure/adapters/web/GetSlots.ts:24 · code/Reservation/Reservation/src/infrastructure/adapters/web/CreateSlots.ts:31 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — code/Reservation/Display/src/infrastructure/adapters/web/GetSlots.ts:24
- code/Reservation/Display/src/infrastructure/adapters/web/UpdateSlot.ts:18 · code/Security/VerificationCode/src/infrastructure/adapters/web/GenerateCode.ts:18 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — code/Reservation/Display/src/infrastructure/adapters/web/UpdateSlot.ts:18
- code/Reservation/Display/src/infrastructure/utils/getCleanedItems.ts:7 · code/Reservation/Reservation/src/infrastructure/utils/getCleanedItems.ts:7 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — code/Reservation/Display/src/infrastructure/utils/getCleanedItems.ts:7
- code/Security/VerificationCode/src/infrastructure/adapters/web/RemoveCode.ts:18 · code/Security/VerificationCode/src/infrastructure/adapters/web/VerifyCode.ts:18 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — code/Security/VerificationCode/src/infrastructure/adapters/web/RemoveCode.ts:18
- code/Analytics/Analytics/src/infrastructure/utils/getVersion.ts:7 · code/Reservation/Display/src/infrastructure/utils/getVersion.ts:7 · code/Reservation/Reservation/src/infrastructure/utils/getVersion.ts:7 · code/Security/VerificationCode/src/infrastructure/utils/getVersion.ts:7 — the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — code/Analytics/Analytics/src/infrastructure/utils/getVersion.ts:7
- code/Reservation/Reservation/src/infrastructure/repositories/DynamoDbRepository.ts:71 · code/Reservation/Reservation/src/infrastructure/repositories/DynamoDbRepository.ts:94 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — code/Reservation/Reservation/src/infrastructure/repositories/DynamoDbRepository.ts:71
- code/Analytics/Analytics/src/errors/FailureToAddError.ts:6 · code/Analytics/Analytics/src/errors/MissingEnvVarsError.ts:15 · code/Analytics/Analytics/src/errors/RecordValidationError.ts:6 · code/Reservation/Display/src/errors/MissingEnvVarsError.ts:15 · +8 more site(s) not listed — the 12 copies are spread across 12 files, and each CITED SPAN is a SPECIALISATION DECLARATION — a type whose `extends` clause names a base and whose body hands that base its own values through `super(…)`. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the `super(…)` call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row — there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base — a type argument, a service, an alias, a cache — the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited. — code/Analytics/Analytics/src/errors/FailureToAddError.ts:6
- code/Reservation/Display/src/interfaces/DynamoDb.ts:4 · code/Reservation/Reservation/src/interfaces/DynamoDb.ts:4 — the two spans are one implementation copied and then locally edited — 55 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — code/Reservation/Display/src/interfaces/DynamoDb.ts:4
- code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:26 · code/Reservation/Display/src/infrastructure/repositories/DynamoDbRepository.ts:29 · code/Reservation/Reservation/src/application/services/DomainEventPublisherService.ts:36 · code/Reservation/Reservation/src/infrastructure/repositories/DynamoDbRepository.ts:38 · +1 more site(s) not listed — the 5 copies are spread across 5 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 5 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:26
- code/Reservation/Display/src/infrastructure/repositories/DynamoDbRepository.ts:83 · code/Security/VerificationCode/src/infrastructure/repositories/DynamoDbRepository.ts:104 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — code/Reservation/Display/src/infrastructure/repositories/DynamoDbRepository.ts:83
- code/Reservation/Display/src/infrastructure/utils/getDTO.ts:15 · code/Security/VerificationCode/src/infrastructure/utils/getDTO.ts:12 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — code/Reservation/Display/src/infrastructure/utils/getDTO.ts:15
- code/Reservation/Reservation/src/infrastructure/adapters/web/OpenSlot.ts:19 · code/Security/VerificationCode/src/infrastructure/adapters/web/RemoveCode.ts:18 · code/Security/VerificationCode/src/infrastructure/adapters/web/VerifyCode.ts:18 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — code/Reservation/Reservation/src/infrastructure/adapters/web/OpenSlot.ts:19
- code/Reservation/Reservation/src/infrastructure/repositories/DynamoDbRepository.ts:125 · code/Security/VerificationCode/src/infrastructure/repositories/DynamoDbRepository.ts:76 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — code/Reservation/Reservation/src/infrastructure/repositories/DynamoDbRepository.ts:125
- code/Analytics/Analytics/src/infrastructure/utils/getDTO.ts:6 · code/Reservation/Reservation/src/infrastructure/utils/getSlotId.ts:4 — the two spans are one implementation copied and then locally edited — 63 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — code/Analytics/Analytics/src/infrastructure/utils/getDTO.ts:6
- code/Reservation/Display/src/infrastructure/utils/getDTO.ts:6 · code/Security/VerificationCode/src/infrastructure/utils/getDTO.ts:6 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — code/Reservation/Display/src/infrastructure/utils/getDTO.ts:6
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R11 · Import Boundaries
- code/Reservation/Reservation/src/domain/events/Event.ts:13 imports code/Reservation/Reservation/src/infrastructure/utils/userMetadata.ts against the layered-src rules. — code/Reservation/Reservation/src/domain/events/Event.ts:13
- code/Reservation/Reservation/src/infrastructure/repositories/LocalRepository.ts:4 imports code/Reservation/Reservation/testdata/TestDatabase.ts, a module inside the test suite — test helpers carry no compatibility contract and are maintained for the suite, not as an API, so production code that depends on one is coupled to a module nobody keeps stable. Move the shared helper into a source directory both layers may depend on. — code/Reservation/Reservation/src/infrastructure/repositories/LocalRepository.ts:4
What to do
- Fix the listed violations: respect the layer/slice order — import only through a slice's public index and never upward into a higher layer (1 row); move the shared test helper into a source directory production code may depend on (1 row).
R2 · Cyclomatic Complexity
- getDTO has cyclomatic complexity 16 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — code/Reservation/Display/src/infrastructure/utils/getDTO.ts:6
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
R4 · Test Coverage
- No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×38) — code/Reservation/Reservation/src/infrastructure/authorizers/Authorizer.ts:1, code/Reservation/Reservation/src/infrastructure/adapters/web/ReserveSlot.ts:1, code/Reservation/Reservation/src/infrastructure/adapters/web/CancelSlot.ts:1, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R6 · Tooling
- test ✓ · lint ✗ · typecheck ✗ — read from this repository's package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: `test` for the suite, `lint` or `prettier` for linting, `typecheck`/`type-check`/`tsc` for type checking. ✗ therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline — a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A ✓ means the wiring is DECLARED — a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite.
What to do
- Add eslint and `tsc --noEmit` as package.json scripts and run them in CI.
R7 · Dead Code
- 23 file(s) (~845 LoC) were excluded from dead-code analysis. This package DOES declare main/module/exports — but every declared target is missing from the scanned tree, which is what a build-output entry (dist/, lib/, out/) looks like before the package is built. Point a declared target at the source entry, or build the package before scanning, so reachability can follow it. — code/Analytics/Analytics
- 25 file(s) (~908 LoC) were excluded from dead-code analysis. This package DOES declare main/module/exports — but every declared target is missing from the scanned tree, which is what a build-output entry (dist/, lib/, out/) looks like before the package is built. Point a declared target at the source entry, or build the package before scanning, so reachability can follow it. — code/Reservation/Display
- 33 file(s) (~1083 LoC) were excluded from dead-code analysis. This package DOES declare main/module/exports — but every declared target is missing from the scanned tree, which is what a build-output entry (dist/, lib/, out/) looks like before the package is built. Point a declared target at the source entry, or build the package before scanning, so reachability can follow it. — code/Security/VerificationCode
- Unreachable from the 1 application, 4 tooling and 38 test entry point(s) detected in this repo. Nothing this repository declares compiles or type-checks these files, so a wrong deletion here would raise no compile error — gate removals on `npm test`, which loads the modules, and note that it only covers what it exercises. An undetected custom entry would make these reachable.
- no import path from any entry point (1 application, 4 tooling, 38 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make (×9) — code/Reservation/Reservation/src/infrastructure/authorizers/Authorizer.ts, code/Reservation/Reservation/src/infrastructure/adapters/web/ReserveSlot.ts, code/Reservation/Reservation/src/infrastructure/adapters/web/CancelSlot.ts, …
- no import path from any entry point (1 application, 4 tooling, 38 test roots considered), but 8 in-repo import(s) from 8 other file(s) do name it (code/Reservation/Reservation/src/infrastructure/adapters/web/CancelSlot.ts, code/Reservation/Reservation/src/infrastructure/adapters/web/CheckIn.ts, code/Reservation/Reservation/src/infrastructure/adapters/web/CheckOut.ts and 5 more) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×3) — code/Reservation/Reservation/src/config/metadata.ts, code/Reservation/Reservation/src/infrastructure/utils/getVersion.ts, code/Reservation/Reservation/src/errors/UnsupportedVersionError.ts
- no import path from any entry point (1 application, 4 tooling, 38 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (code/Reservation/Reservation/src/infrastructure/authorizers/Authorizer.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×2) — code/Reservation/Reservation/src/errors/AuthorizationHeaderError.ts, code/Reservation/Reservation/src/errors/InvalidVerificationCodeError.ts
- no import path from any entry point (1 application, 4 tooling, 38 test roots considered), but 4 in-repo import(s) from 4 other file(s) do name it (code/Reservation/Reservation/src/infrastructure/adapters/web/CancelSlot.ts, code/Reservation/Reservation/src/infrastructure/adapters/web/CheckIn.ts, code/Reservation/Reservation/src/infrastructure/adapters/web/CheckOut.ts and 1 more) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — code/Reservation/Reservation/src/errors/MissingRequestBodyError.ts
- no import path from any entry point (1 application, 4 tooling, 38 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (code/Reservation/Reservation/src/infrastructure/adapters/web/OpenSlot.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×2) — code/Reservation/Reservation/src/errors/MissingSlotId.ts, code/Reservation/Reservation/src/infrastructure/utils/getSlotId.ts
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene
- Imported but not declared in any reachable package.json — installs work only by hoisting accident. (×3) — code/Analytics/Analytics/src/infrastructure/adapters/web/AddRecord.ts:1, code/Reservation/Display/src/infrastructure/adapters/web/GetSlots.ts:1, code/Security/VerificationCode/src/infrastructure/adapters/web/GenerateCode.ts:1
- Declared in code/Reservation/Reservation/package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×3)
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 0/2 async functions that make a cancellable request (fetch, axios, ky, ofetch) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up — a page navigated away from, an unmounted component, a timed-out job. Take a `signal` (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice — judge against how the function is used.
- `getVerificationCode` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — code/Reservation/Reservation/src/application/services/VerificationCodeService.ts:30
- `validateCode` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — code/Reservation/Reservation/src/infrastructure/authorizers/Authorizer.ts:100
What to do
- Thread an AbortSignal through async functions that make requests, so the work stops when its caller gives up.
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 72% | Strong | Solid. |
| Architecture | 87% | Strong | Solid. |
| Maturity | 66% | Adequate — gated by M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 28% | Weak — gated by R6, R8, P1, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 100% | Exemplary | Strongest area. |
| Domain Modelling | 100% | Exemplary | Solid. |
| Performance | 100% | Exemplary | Solid. |
Unscored — 2 check(s) recorded observations but carry no score
- SC1 Supply-chain hygiene — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X10 Duplicated predicate — 3 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 5 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: this repository stores data through '@aws-sdk/client-dynamodb' (code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:1) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether its changes need an audit trail could not be established, and the trail's absence is not scored.
- C4 Data Retention — Not assessed: this repository stores data through '@aws-sdk/client-dynamodb' (code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:1) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether a retention limit applies here could not be established, and its absence is not scored.
- C5 Data-Subject Rights — Not assessed: this repository stores data through '@aws-sdk/client-dynamodb' (code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:1) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether data-subject rights apply here could not be established, and their absence is not scored.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 58 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — Not applicable: this repository's JavaScript imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's; this repository's TypeScript imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — Not assessed: this repository stores data through '@aws-sdk/client-dynamodb' (code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:1) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so the absence of a personal-data field here is not evidence that none is stored, and encryption at rest is not scored over a subject that could not be established.
- C2 Access Controls — No access-control surface detected in the analyzed source — this repository stands up no server (no Express, Fastify, Koa, Hono, NestJS or similar app, no Next.js/SvelteKit/Nuxt server route, no edge function), creates no Supabase tables and talks to no hosted backend. Access control is therefore N/A here — a browser application or library is authorized by the server it calls, not by itself; a client-side route guard hides a page and authorizes nothing. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
- D11 Test Reliability — Test reliability not included — no executor for the `ava` test runner
- D12 Dependency Hygiene — Dependency currency not established — this repository commits no lockfile to resolve
- D14 License Compliance — npm licences not graded — this npm repository commits no lockfile this pass can resolve
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- 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.
- D34 Knowledge Freshness — too few commits to judge knowledge freshness
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.ts) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication.
- 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.
- 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 MEASURED: the JavaScript/TypeScript half could not be measured — the own c8/nyc coverage script suite in code/Analytics/Analytics/ ran and not one test passed (✘ This version of AVA (6.4.1) is not compatible with @ava/typescript@4.0.0), so the coverage would describe the failed run, not the code. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository's maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run.
- DM2 Strongly-typed ids — no id-bearing domain types detected — strongly-typed-id adoption not assessable
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- DM4 Rich vs anemic model — no data-bearing entities detected — rich-vs-anemic model not assessable
- 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
- P12 CI test-gate honesty — no CI workflow found
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JavaScript/TypeScript 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 (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) 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 tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a package.json, 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: TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- R5 Dependency Freshness — no package-lock.json — dependency freshness not measured (would require an npm lockfile); JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
- S1 Web-Security Posture — Not assessed: 134 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled TLS certificate validation and obsolete TLS versions, and none was found. That half of the dimension is clean, but it is not scored on its own: a C# repository with the same clean reading is scored on its server controls as well, or is N/A for having no web surface, and neither can be decided here. The server controls — HTTPS enforcement, HSTS, cookie flags, input validation — are NOT assessed for JavaScript/TypeScript: each is scored as an absence, an absence is only reportable over the production HTTP server, and in this ecosystem the file that opens the port is build output or a framework launcher rather than a file in the source tree. Their absence here is not a finding about this repository.
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — Not applicable: this check looks for a loop whose body adds to or removes from the very collection the loop is walking, invalidating the enumerator it holds, and in this repository's languages that cannot happen. JavaScript and TypeScript have no iterator that a change can invalidate: an `Array` is walked by index against its live length, and a `Map` or `Set` by the ECMAScript specification's live entry list, so a body that adds to, removes from or empties what it walks raises nothing — every loop form (`for…of`, `for…in`, `forEach`, `map`, `filter`, `reduce`, `entries()`) on every built-in collection (`Array`, `Map`, `Set`, plain objects, `URLSearchParams`, `Headers`, `FormData`) runs to completion. Such a loop can still skip an element or never end, which is a different defect and not the one this check asks about. Not a gap in the analyzer and not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — 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
- 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 — 3 finding(s)
- Unlisted import 'aws-lambda' code/Analytics/Analytics/src/infrastructure/adapters/web/AddRecord.ts:1
- Unlisted import 'aws-lambda' code/Reservation/Display/src/infrastructure/adapters/web/GetSlots.ts:1
- Unlisted import 'aws-lambda' code/Security/VerificationCode/src/infrastructure/adapters/web/GenerateCode.ts:1
Serious — 98 finding(s)
- No test reaches this file code/Reservation/Reservation/src/infrastructure/authorizers/Authorizer.ts:1
- No test reaches this file code/Reservation/Reservation/src/infrastructure/adapters/web/ReserveSlot.ts:1
- No test reaches this file code/Reservation/Reservation/src/infrastructure/adapters/web/CancelSlot.ts:1
- No test reaches this file code/Reservation/Display/src/infrastructure/adapters/web/UpdateSlot.ts:1
- No test reaches this file code/Reservation/Reservation/src/infrastructure/adapters/web/CheckOut.ts:1
- No test reaches this file code/Security/VerificationCode/src/infrastructure/adapters/web/GenerateCode.ts:1
- No test reaches this file code/Security/VerificationCode/src/infrastructure/adapters/web/RemoveCode.ts:1
- No test reaches this file code/Security/VerificationCode/src/infrastructure/adapters/web/VerifyCode.ts:1
- No test reaches this file code/Reservation/Reservation/src/infrastructure/adapters/web/CheckIn.ts:1
- No test reaches this file code/Reservation/Reservation/src/infrastructure/adapters/web/OpenSlot.ts:1
- No test reaches this file code/Reservation/Reservation/src/infrastructure/adapters/web/CloseSlots.ts:1
- No test reaches this file code/Reservation/Reservation/src/infrastructure/adapters/web/CreateSlots.ts:1
- No test reaches this file code/Reservation/Reservation/src/infrastructure/adapters/web/UnattendSlots.ts:1
- No test reaches this file code/Analytics/Analytics/src/infrastructure/utils/getDTO.ts:1
- No test reaches this file code/Reservation/Display/src/infrastructure/adapters/web/GetSlots.ts:1
- No test reaches this file code/Analytics/Analytics/src/infrastructure/adapters/web/AddRecord.ts:1
- No test reaches this file code/Reservation/Display/src/infrastructure/utils/getDTO.ts:1
- No test reaches this file code/Security/VerificationCode/src/infrastructure/utils/getDTO.ts:1
- No test reaches this file code/Reservation/Reservation/src/config/metadata.ts:1
- No test reaches this file code/Analytics/Analytics/src/infrastructure/utils/getVersion.ts:1
- No test reaches this file code/Reservation/Display/src/infrastructure/utils/getVersion.ts:1
- No test reaches this file code/Reservation/Reservation/src/infrastructure/utils/getVersion.ts:1
- No test reaches this file code/Security/VerificationCode/src/infrastructure/utils/getVersion.ts:1
- No test reaches this file code/Security/VerificationCode/src/errors/FailedToConstructCleanedItemError.ts:1
- No test reaches this file code/Analytics/Analytics/src/errors/UnsupportedVersionError.ts:1
- Duplicated block (13 lines × 2 locations) code/Reservation/Display/src/infrastructure/adapters/web/GetSlots.ts:24
- Duplicated block (13 lines × 2 locations) code/Reservation/Display/src/infrastructure/adapters/web/UpdateSlot.ts:18
- Duplicated block (13 lines × 2 locations) code/Reservation/Display/src/infrastructure/utils/getCleanedItems.ts:7
- Duplicated block (13 lines × 2 locations) code/Security/VerificationCode/src/infrastructure/adapters/web/RemoveCode.ts:18
- Dead file (~45 LoC) code/Reservation/Reservation/src/infrastructure/adapters/web/CloseSlots.ts
- Dead file (~45 LoC) code/Reservation/Reservation/src/infrastructure/adapters/web/CreateSlots.ts
- Dead file (~45 LoC) code/Reservation/Reservation/src/infrastructure/adapters/web/UnattendSlots.ts
- Dead file (~16 LoC) code/Reservation/Reservation/src/errors/InvalidVerificationCodeError.ts
- Dead file (~16 LoC) code/Reservation/Reservation/src/errors/MissingRequestBodyError.ts
- Dead file (~16 LoC) code/Reservation/Reservation/src/errors/MissingSlotId.ts
- Duplicated block (25 lines × 2 locations) code/Reservation/Reservation/src/infrastructure/adapters/web/CloseSlots.ts:17
- Duplicated block (25 lines × 2 locations) code/Security/VerificationCode/src/infrastructure/adapters/web/GenerateCode.ts:19
- Duplicated block (16 lines × 2 locations) code/Analytics/Analytics/src/infrastructure/adapters/web/AddRecord.ts:18
- Duplicated block (16 lines × 2 locations) code/Reservation/Display/src/infrastructure/repositories/DynamoDbRepository.ts:47
- Duplicated block (9 lines × 2 locations) code/Reservation/Display/src/infrastructure/repositories/DynamoDbRepository.ts:83
- Duplicated block (9 lines × 2 locations) code/Reservation/Display/src/infrastructure/utils/getDTO.ts:15
- Dead file (~46 LoC) code/Reservation/Reservation/src/infrastructure/adapters/web/CheckIn.ts
- Dead file (~46 LoC) code/Reservation/Reservation/src/infrastructure/adapters/web/OpenSlot.ts
- Dead file (~17 LoC) code/Reservation/Reservation/src/errors/AuthorizationHeaderError.ts
- Dead file (~17 LoC) code/Reservation/Reservation/src/errors/UnsupportedVersionError.ts
- Async function without AbortSignal: getVerificationCode code/Reservation/Reservation/src/application/services/VerificationCodeService.ts:30
- Async function without AbortSignal: validateCode code/Reservation/Reservation/src/infrastructure/authorizers/Authorizer.ts:100
- getDTO.getDTO (cyclomatic 16) code/Reservation/Display/src/infrastructure/utils/getDTO.ts:6
- TodoComment code/Reservation/Reservation/__tests__/integration/index.ts:6
- getDTO.getDTO (cognitive 16) code/Reservation/Display/src/infrastructure/utils/getDTO.ts:6
- Coverage not measured — JavaScript/TypeScript suite
- Fake-async — async method never awaits code/Analytics/Analytics/src/application/usecases/AddRecordUseCase.ts:9
- No CI pipeline
- Duplication concentrated across 3 sibling directories (19 clone groups) code/Analytics/Analytics/.dependency-cruiser.js:2
- Duplication concentrated across 2 sibling directories (5 clone groups) code/Reservation/Display/src/infrastructure/repositories/DynamoDbRepository.ts:15
- Wholesale file copy (87 identical lines × 4 files) code/Analytics/Analytics/.dependency-cruiser.js:2
- Duplicated block (25 lines × 3 locations) code/Reservation/Reservation/src/infrastructure/adapters/web/CancelSlot.ts:18
- Duplicated block (20 lines × 4 locations) code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:12
- Duplicated block (20 lines × 2 locations) code/Reservation/Display/src/infrastructure/repositories/DynamoDbRepository.ts:15
- Duplicated block (15 lines × 2 locations) code/Reservation/Reservation/src/domain/entities/Slot.ts:247
- Duplicated block (14 lines × 4 locations) code/Reservation/Reservation/src/infrastructure/adapters/web/CancelSlot.ts:9
- Duplicated block (12 lines × 4 locations) code/Analytics/Analytics/src/infrastructure/utils/getVersion.ts:7
- Duplicated block (11 lines × 2 locations) code/Reservation/Reservation/src/infrastructure/repositories/DynamoDbRepository.ts:71
- Duplicated block (10 lines × 12 locations) code/Analytics/Analytics/src/errors/FailureToAddError.ts:6
- Duplicated block with local edits (10 matched lines × 2 locations) code/Reservation/Display/src/interfaces/DynamoDb.ts:4
- Duplicated block (9 lines × 5 locations) code/Analytics/Analytics/src/infrastructure/repositories/DynamoDbRepository.ts:26
- Duplicated block (9 lines × 3 locations) code/Reservation/Reservation/src/infrastructure/adapters/web/OpenSlot.ts:19
- Duplicated block (8 lines × 2 locations) code/Reservation/Reservation/src/infrastructure/repositories/DynamoDbRepository.ts:125
- Duplicated block with local edits (6 matched lines × 2 locations) code/Analytics/Analytics/src/infrastructure/utils/getDTO.ts:6
- Duplicated block (6 lines × 2 locations) code/Reservation/Display/src/infrastructure/utils/getDTO.ts:6
- Boundary violation [layered:upward-import] code/Reservation/Reservation/src/domain/events/Event.ts:13
- Boundary violation [package:test-suite-dependency] code/Reservation/Reservation/src/infrastructure/repositories/LocalRepository.ts:4
- Complex function getDTO (cyclomatic 16, cognitive 16) code/Reservation/Display/src/infrastructure/utils/getDTO.ts:6
- No lint or typecheck script
- Dead file (~127 LoC) code/Reservation/Reservation/src/infrastructure/authorizers/Authorizer.ts
- Dead file (~55 LoC) code/Reservation/Reservation/src/infrastructure/adapters/web/ReserveSlot.ts
- Dead file (~51 LoC) code/Reservation/Reservation/src/infrastructure/adapters/web/CancelSlot.ts
- Dead file (~47 LoC) code/Reservation/Reservation/src/infrastructure/adapters/web/CheckOut.ts
- Dead file (~21 LoC) code/Reservation/Reservation/src/config/metadata.ts
- Dead file (~20 LoC) code/Reservation/Reservation/src/infrastructure/utils/getVersion.ts
- Dead file (~13 LoC) code/Reservation/Reservation/src/infrastructure/utils/getSlotId.ts
- Unused dependency '@mhlabs/cfn-diagram'
- Unused dependency 'serverless'
- Unused dependency 'serverless-esbuild'
- JavaScript dependencies are not locked
Minor — 20 finding(s)
- Console output used as the logging channel code/Analytics/Analytics/src/infrastructure/repositories/LocalRepository.ts:25
- Console output used as the logging channel code/Reservation/Display/src/infrastructure/repositories/LocalRepository.ts:26
- Console output used as the logging channel code/Reservation/Reservation/src/infrastructure/authorizers/Authorizer.ts:33
- Console output used as the logging channel code/Reservation/Reservation/src/infrastructure/authorizers/Authorizer.ts:114
- Console output used as the logging channel code/Reservation/Reservation/src/infrastructure/emitters/LocalEmitter.ts:17
- Console output used as the logging channel code/Reservation/Reservation/src/infrastructure/repositories/LocalRepository.ts:33
- Console output used as the logging channel code/Security/VerificationCode/src/infrastructure/repositories/LocalRepository.ts:50
- Duplicated predicate code/Analytics/Analytics/src/infrastructure/utils/getDTO.ts:14
- Duplicated predicate code/Analytics/Analytics/src/infrastructure/utils/getVersion.ts:8
- Duplicated predicate code/Analytics/Analytics/src/infrastructure/utils/getVersion.ts:9
- Documentation: no architecture or design documentation
- Documentation: written for insiders
- No ADRs found
- REDACTED
- REDACTED
- No ADRs
- No src/ separation
- No SAST
- No release approval gate
- Not all async functions that make a request accept an AbortSignal
Minor — 1 finding(s)
- Dependency hygiene PARTLY measured — npm pinning read, dependency currency not (no committed lockfile, so no resolved version to grade)
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-6b4d61801cb84ceb9bbfeda3ba912431/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-6b4d61801cb84ceb9bbfeda3ba912431/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 0 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . | 0 | — |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 0 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |