Executive summary
ddd-by-examples/library scores 65 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 50 and is rated Weak. Its Security & performance tooling 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 add a SAST step to CI running what this repository's stack ships: spotbugs with find-sec-bugs — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing and to resolve the 1 No ADRs found finding(s) in ADR Quality, and if Production Readiness rose to 70, the score would rise from 65 to about 75.
Seven findings are critical: four in IaC & Container Security, two in Static Analysis (SAST) and one in Dependency Vulnerabilities.
Watchdog couldn't measure 18 dimensions in this code, among them Code Coverage, Test Reliability and Dependency Hygiene, so they are left out of the score. The product code is 2,977 lines, which would take an estimated 0.1 person-years, around €5,300, to rebuild.
If Production Readiness rose from 50 to 70, the lowest score rated Strong, the score would rise from 65 to about 75.
Rebuild cost: about €5,300 · Estimate
| Cost to rebuild | €1,700 to €8,800, for 29 to 92 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.9 at a score of 65. 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: 2,977 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 library | 2 library.commons.aggregates | 3 library.commons.commands | 4 library.commons.events | 5 library.lending.librarybranch.model | 6 library.catalogue | 7 library.commons.events.publisher | 8 library.lending.patron.model | 9 library.lending.book.model | 10 library.lending.dailysheet.model | 11 library.lending.patronprofile.model | 12 library.lending | 13 library.lending.book.application | 14 library.lending.dailysheet.infrastructure | 15 library.lending.patron.application.hold | 16 library.lending.patronprofile.infrastructure | 17 library.lending.book.infrastructure | 18 library.lending.patron.application.checkout | 19 library.lending.patronprofile.web | 20 library.lending.patron.infrastructure |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 library | ||||||||||||||||||||
| 2 library.commons.aggregates | ||||||||||||||||||||
| 3 library.commons.commands | ||||||||||||||||||||
| 4 library.commons.events | ||||||||||||||||||||
| 5 library.lending.librarybranch.model | ||||||||||||||||||||
| 6 library.catalogue | 1 | 3 | ||||||||||||||||||
| 7 library.commons.events.publisher | 8 | |||||||||||||||||||
| 8 library.lending.patron.model | 2 | 12 | 14 | 4 | ||||||||||||||||
| 9 library.lending.book.model | 4 | 1 | 3 | 11 | 8 | |||||||||||||||
| 10 library.lending.dailysheet.model | 2 | 2 | 11 | |||||||||||||||||
| 11 library.lending.patronprofile.model | 3 | 1 | ||||||||||||||||||
| 12 library.lending | 1 | 1 | ||||||||||||||||||
| 13 library.lending.book.application | 1 | 1 | 1 | 5 | 4 | |||||||||||||||
| 14 library.lending.dailysheet.infrastructure | 5 | 6 | ||||||||||||||||||
| 15 library.lending.patron.application.hold | 4 | 1 | 6 | 16 | 5 | 1 | ||||||||||||||
| 16 library.lending.patronprofile.infrastructure | 1 | 5 | ||||||||||||||||||
| 17 library.lending.book.infrastructure | 1 | 3 | 1 | 10 | 2 | 2 | ||||||||||||||
| 18 library.lending.patron.application.checkout | 2 | 1 | 2 | 9 | 1 | 1 | 1 | |||||||||||||
| 19 library.lending.patronprofile.web | 5 | 2 | ||||||||||||||||||
| 20 library.lending.patron.infrastructure | 2 | 1 | 1 | 18 | 1 | 6 | 2 |
6→3 library.catalogue uses library.commons.commands✕
- Connections
- 1 pair of types, where a type in library.catalogue uses a type in library.commons.commands.
- The types involved
io.pillopl.library.catalogue.Catalogue→io.pillopl.library.commons.commands.Result
- Direction
- library.catalogue uses library.commons.commands, so a change to library.commons.commands can break library.catalogue, while a change to library.catalogue can't break library.commons.commands.
- Position
- Below the diagonal: library.catalogue uses a module listed above it, which is the healthy direction.
6→4 library.catalogue uses library.commons.events✕
- Connections
- 3 pairs of types, where a type in library.catalogue uses a type in library.commons.events.
- The types involved
io.pillopl.library.catalogue.BookInstanceAddedToCatalogue→io.pillopl.library.commons.events.DomainEventio.pillopl.library.catalogue.Catalogue→io.pillopl.library.commons.events.DomainEventsio.pillopl.library.catalogue.CatalogueConfiguration→io.pillopl.library.commons.events.DomainEvents
- Direction
- library.catalogue uses library.commons.events, so a change to library.commons.events can break library.catalogue, while a change to library.catalogue can't break library.commons.events.
- Position
- Below the diagonal: library.catalogue uses a module listed above it, which is the healthy direction.
7→4 library.commons.events.publisher uses library.commons.events✕
- Connections
- 8 pairs of types, where a type in library.commons.events.publisher uses a type in library.commons.events.
- The types involved
io.pillopl.library.commons.events.publisher.DomainEventsConfig→io.pillopl.library.commons.events.DomainEventsio.pillopl.library.commons.events.publisher.EventsStorage→io.pillopl.library.commons.events.DomainEventio.pillopl.library.commons.events.publisher.JustForwardDomainEventPublisher→io.pillopl.library.commons.events.DomainEventio.pillopl.library.commons.events.publisher.JustForwardDomainEventPublisher→io.pillopl.library.commons.events.DomainEventsio.pillopl.library.commons.events.publisher.MeteredDomainEventPublisher→io.pillopl.library.commons.events.DomainEventio.pillopl.library.commons.events.publisher.MeteredDomainEventPublisher→io.pillopl.library.commons.events.DomainEventsio.pillopl.library.commons.events.publisher.StoreAndForwardDomainEventPublisher→io.pillopl.library.commons.events.DomainEventio.pillopl.library.commons.events.publisher.StoreAndForwardDomainEventPublisher→io.pillopl.library.commons.events.DomainEvents
- Direction
- library.commons.events.publisher uses library.commons.events, so a change to library.commons.events can break library.commons.events.publisher, while a change to library.commons.events.publisher can't break library.commons.events.
- Position
- Below the diagonal: library.commons.events.publisher uses a module listed above it, which is the healthy direction.
8→4 library.lending.patron.model uses library.commons.events✕
- Connections
- 2 pairs of types, where a type in library.lending.patron.model uses a type in library.commons.events.
- The types involved
io.pillopl.library.lending.patron.model.BookPlacedOnHoldEvents→io.pillopl.library.commons.events.DomainEventio.pillopl.library.lending.patron.model.PatronEvent→io.pillopl.library.commons.events.DomainEvent
- Direction
- library.lending.patron.model uses library.commons.events, so a change to library.commons.events can break library.lending.patron.model, while a change to library.lending.patron.model can't break library.commons.events.
- Position
- Below the diagonal: library.lending.patron.model uses a module listed above it, which is the healthy direction.
8→5 library.lending.patron.model uses library.lending.librarybranch.model✕
- Connections
- 12 pairs of types, where a type in library.lending.patron.model uses a type in library.lending.librarybranch.model.
- The types involved
io.pillopl.library.lending.patron.model.BookCheckedOut→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.patron.model.BookCheckingOutFailed→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.patron.model.BookHoldCanceled→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.patron.model.BookHoldCancelingFailed→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.patron.model.BookHoldExpired→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.patron.model.BookHoldFailed→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.patron.model.BookPlacedOnHold→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.patron.model.Hold→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.patron.model.OverdueCheckoutRegistered→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.patron.model.OverdueCheckouts→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.patron.model.Patron→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.patron.model.PatronFactory→io.pillopl.library.lending.librarybranch.model.LibraryBranchId
- Direction
- library.lending.patron.model uses library.lending.librarybranch.model, so a change to library.lending.librarybranch.model can break library.lending.patron.model, while a change to library.lending.patron.model can't break library.lending.librarybranch.model.
- Position
- Below the diagonal: library.lending.patron.model uses a module listed above it, which is the healthy direction.
8→6 library.lending.patron.model uses library.catalogue✕
- Connections
- 14 pairs of types, where a type in library.lending.patron.model uses a type in library.catalogue.
- The types involved
io.pillopl.library.lending.patron.model.BookCheckedOut→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.model.BookCheckedOut→io.pillopl.library.catalogue.BookTypeio.pillopl.library.lending.patron.model.BookCheckingOutFailed→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.model.BookHoldCanceled→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.model.BookHoldCancelingFailed→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.model.BookHoldExpired→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.model.BookHoldFailed→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.model.BookPlacedOnHold→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.model.BookPlacedOnHold→io.pillopl.library.catalogue.BookTypeio.pillopl.library.lending.patron.model.BookReturned→io.pillopl.library.catalogue.BookTypeio.pillopl.library.lending.patron.model.Hold→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.model.OverdueCheckoutRegistered→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.model.OverdueCheckouts→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.model.PatronFactory→io.pillopl.library.catalogue.BookId
- Direction
- library.lending.patron.model uses library.catalogue, so a change to library.catalogue can break library.lending.patron.model, while a change to library.lending.patron.model can't break library.catalogue.
- Position
- Below the diagonal: library.lending.patron.model uses a module listed above it, which is the healthy direction.
8→9 library.lending.patron.model uses library.lending.book.model part of a loop✕
- Connections
- 4 pairs of types, where a type in library.lending.patron.model uses a type in library.lending.book.model.
- The types involved
io.pillopl.library.lending.patron.model.Patron→io.pillopl.library.lending.book.model.AvailableBookio.pillopl.library.lending.patron.model.Patron→io.pillopl.library.lending.book.model.BookOnHoldio.pillopl.library.lending.patron.model.PatronHolds→io.pillopl.library.lending.book.model.AvailableBookio.pillopl.library.lending.patron.model.PatronHolds→io.pillopl.library.lending.book.model.BookOnHold
- Direction
- library.lending.patron.model uses library.lending.book.model, so a change to library.lending.book.model can break library.lending.patron.model, while a change to library.lending.patron.model can't break library.lending.book.model.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
9→2 library.lending.book.model uses library.commons.aggregates✕
- Connections
- 4 pairs of types, where a type in library.lending.book.model uses a type in library.commons.aggregates.
- The types involved
io.pillopl.library.lending.book.model.AvailableBook→io.pillopl.library.commons.aggregates.Versionio.pillopl.library.lending.book.model.Book→io.pillopl.library.commons.aggregates.Versionio.pillopl.library.lending.book.model.BookOnHold→io.pillopl.library.commons.aggregates.Versionio.pillopl.library.lending.book.model.CheckedOutBook→io.pillopl.library.commons.aggregates.Version
- Direction
- library.lending.book.model uses library.commons.aggregates, so a change to library.commons.aggregates can break library.lending.book.model, while a change to library.lending.book.model can't break library.commons.aggregates.
- Position
- Below the diagonal: library.lending.book.model uses a module listed above it, which is the healthy direction.
9→4 library.lending.book.model uses library.commons.events✕
- Connections
- 1 pair of types, where a type in library.lending.book.model uses a type in library.commons.events.
- The types involved
io.pillopl.library.lending.book.model.BookDuplicateHoldFound→io.pillopl.library.commons.events.DomainEvent
- Direction
- library.lending.book.model uses library.commons.events, so a change to library.commons.events can break library.lending.book.model, while a change to library.lending.book.model can't break library.commons.events.
- Position
- Below the diagonal: library.lending.book.model uses a module listed above it, which is the healthy direction.
9→5 library.lending.book.model uses library.lending.librarybranch.model✕
- Connections
- 3 pairs of types, where a type in library.lending.book.model uses a type in library.lending.librarybranch.model.
- The types involved
io.pillopl.library.lending.book.model.AvailableBook→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.book.model.BookOnHold→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.book.model.CheckedOutBook→io.pillopl.library.lending.librarybranch.model.LibraryBranchId
- Direction
- library.lending.book.model uses library.lending.librarybranch.model, so a change to library.lending.librarybranch.model can break library.lending.book.model, while a change to library.lending.book.model can't break library.lending.librarybranch.model.
- Position
- Below the diagonal: library.lending.book.model uses a module listed above it, which is the healthy direction.
9→6 library.lending.book.model uses library.catalogue✕
- Connections
- 11 pairs of types, where a type in library.lending.book.model uses a type in library.catalogue.
- The types involved
io.pillopl.library.lending.book.model.AvailableBook→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.book.model.AvailableBook→io.pillopl.library.catalogue.BookTypeio.pillopl.library.lending.book.model.Book→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.book.model.Book→io.pillopl.library.catalogue.BookTypeio.pillopl.library.lending.book.model.BookInformation→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.book.model.BookInformation→io.pillopl.library.catalogue.BookTypeio.pillopl.library.lending.book.model.BookOnHold→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.book.model.BookOnHold→io.pillopl.library.catalogue.BookTypeio.pillopl.library.lending.book.model.BookRepository→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.book.model.CheckedOutBook→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.book.model.CheckedOutBook→io.pillopl.library.catalogue.BookType
- Direction
- library.lending.book.model uses library.catalogue, so a change to library.catalogue can break library.lending.book.model, while a change to library.lending.book.model can't break library.catalogue.
- Position
- Below the diagonal: library.lending.book.model uses a module listed above it, which is the healthy direction.
9→8 library.lending.book.model uses library.lending.patron.model✕
- Connections
- 8 pairs of types, where a type in library.lending.book.model uses a type in library.lending.patron.model.
- The types involved
io.pillopl.library.lending.book.model.AvailableBook→io.pillopl.library.lending.patron.model.BookPlacedOnHoldio.pillopl.library.lending.book.model.BookOnHold→io.pillopl.library.lending.patron.model.BookCheckedOutio.pillopl.library.lending.book.model.BookOnHold→io.pillopl.library.lending.patron.model.BookHoldCanceledio.pillopl.library.lending.book.model.BookOnHold→io.pillopl.library.lending.patron.model.BookHoldExpiredio.pillopl.library.lending.book.model.BookOnHold→io.pillopl.library.lending.patron.model.BookReturnedio.pillopl.library.lending.book.model.BookOnHold→io.pillopl.library.lending.patron.model.PatronIdio.pillopl.library.lending.book.model.CheckedOutBook→io.pillopl.library.lending.patron.model.BookReturnedio.pillopl.library.lending.book.model.CheckedOutBook→io.pillopl.library.lending.patron.model.PatronId
- Direction
- library.lending.book.model uses library.lending.patron.model, so a change to library.lending.patron.model can break library.lending.book.model, while a change to library.lending.book.model can't break library.lending.patron.model.
- Position
- Below the diagonal: library.lending.book.model uses a module listed above it, which is the healthy direction.
10→5 library.lending.dailysheet.model uses library.lending.librarybranch.model✕
- Connections
- 2 pairs of types, where a type in library.lending.dailysheet.model uses a type in library.lending.librarybranch.model.
- The types involved
io.pillopl.library.lending.dailysheet.model.ExpiredHold→io.pillopl.library.lending.librarybranch.model.LibraryBranchIdio.pillopl.library.lending.dailysheet.model.OverdueCheckout→io.pillopl.library.lending.librarybranch.model.LibraryBranchId
- Direction
- library.lending.dailysheet.model uses library.lending.librarybranch.model, so a change to library.lending.librarybranch.model can break library.lending.dailysheet.model, while a change to library.lending.dailysheet.model can't break library.lending.librarybranch.model.
- Position
- Below the diagonal: library.lending.dailysheet.model uses a module listed above it, which is the healthy direction.
10→6 library.lending.dailysheet.model uses library.catalogue✕
- Connections
- 2 pairs of types, where a type in library.lending.dailysheet.model uses a type in library.catalogue.
- The types involved
io.pillopl.library.lending.dailysheet.model.ExpiredHold→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.dailysheet.model.OverdueCheckout→io.pillopl.library.catalogue.BookId
- Direction
- library.lending.dailysheet.model uses library.catalogue, so a change to library.catalogue can break library.lending.dailysheet.model, while a change to library.lending.dailysheet.model can't break library.catalogue.
- Position
- Below the diagonal: library.lending.dailysheet.model uses a module listed above it, which is the healthy direction.
10→8 library.lending.dailysheet.model uses library.lending.patron.model✕
- Connections
- 11 pairs of types, where a type in library.lending.dailysheet.model uses a type in library.lending.patron.model.
- The types involved
io.pillopl.library.lending.dailysheet.model.CheckoutsToOverdueSheet→io.pillopl.library.lending.patron.model.OverdueCheckoutRegisteredio.pillopl.library.lending.dailysheet.model.DailySheet→io.pillopl.library.lending.patron.model.BookCheckedOutio.pillopl.library.lending.dailysheet.model.DailySheet→io.pillopl.library.lending.patron.model.BookHoldCanceledio.pillopl.library.lending.dailysheet.model.DailySheet→io.pillopl.library.lending.patron.model.BookHoldExpiredio.pillopl.library.lending.dailysheet.model.DailySheet→io.pillopl.library.lending.patron.model.BookPlacedOnHoldio.pillopl.library.lending.dailysheet.model.DailySheet→io.pillopl.library.lending.patron.model.BookReturnedio.pillopl.library.lending.dailysheet.model.ExpiredHold→io.pillopl.library.lending.patron.model.BookHoldExpiredio.pillopl.library.lending.dailysheet.model.ExpiredHold→io.pillopl.library.lending.patron.model.PatronIdio.pillopl.library.lending.dailysheet.model.HoldsToExpireSheet→io.pillopl.library.lending.patron.model.BookHoldExpiredio.pillopl.library.lending.dailysheet.model.OverdueCheckout→io.pillopl.library.lending.patron.model.OverdueCheckoutRegisteredio.pillopl.library.lending.dailysheet.model.OverdueCheckout→io.pillopl.library.lending.patron.model.PatronId
- Direction
- library.lending.dailysheet.model uses library.lending.patron.model, so a change to library.lending.patron.model can break library.lending.dailysheet.model, while a change to library.lending.dailysheet.model can't break library.lending.patron.model.
- Position
- Below the diagonal: library.lending.dailysheet.model uses a module listed above it, which is the healthy direction.
11→6 library.lending.patronprofile.model uses library.catalogue✕
- Connections
- 3 pairs of types, where a type in library.lending.patronprofile.model uses a type in library.catalogue.
- The types involved
io.pillopl.library.lending.patronprofile.model.Checkout→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patronprofile.model.Hold→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patronprofile.model.PatronProfile→io.pillopl.library.catalogue.BookId
- Direction
- library.lending.patronprofile.model uses library.catalogue, so a change to library.catalogue can break library.lending.patronprofile.model, while a change to library.lending.patronprofile.model can't break library.catalogue.
- Position
- Below the diagonal: library.lending.patronprofile.model uses a module listed above it, which is the healthy direction.
11→8 library.lending.patronprofile.model uses library.lending.patron.model✕
- Connections
- 1 pair of types, where a type in library.lending.patronprofile.model uses a type in library.lending.patron.model.
- The types involved
io.pillopl.library.lending.patronprofile.model.PatronProfiles→io.pillopl.library.lending.patron.model.PatronId
- Direction
- library.lending.patronprofile.model uses library.lending.patron.model, so a change to library.lending.patron.model can break library.lending.patronprofile.model, while a change to library.lending.patronprofile.model can't break library.lending.patron.model.
- Position
- Below the diagonal: library.lending.patronprofile.model uses a module listed above it, which is the healthy direction.
12→8 library.lending uses library.lending.patron.model✕
- Connections
- 1 pair of types, where a type in library.lending uses a type in library.lending.patron.model.
- The types involved
io.pillopl.library.lending.LendingDatabaseConfig→io.pillopl.library.lending.patron.model.Patrons
- Direction
- library.lending uses library.lending.patron.model, so a change to library.lending.patron.model can break library.lending, while a change to library.lending can't break library.lending.patron.model.
- Position
- Below the diagonal: library.lending uses a module listed above it, which is the healthy direction.
12→9 library.lending uses library.lending.book.model✕
- Connections
- 1 pair of types, where a type in library.lending uses a type in library.lending.book.model.
- The types involved
io.pillopl.library.lending.LendingDatabaseConfig→io.pillopl.library.lending.book.model.BookRepository
- Direction
- library.lending uses library.lending.book.model, so a change to library.lending.book.model can break library.lending, while a change to library.lending can't break library.lending.book.model.
- Position
- Below the diagonal: library.lending uses a module listed above it, which is the healthy direction.
13→4 library.lending.book.application uses library.commons.events✕
- Connections
- 1 pair of types, where a type in library.lending.book.application uses a type in library.commons.events.
- The types involved
io.pillopl.library.lending.book.application.PatronEventsHandler→io.pillopl.library.commons.events.DomainEvents
- Direction
- library.lending.book.application uses library.commons.events, so a change to library.commons.events can break library.lending.book.application, while a change to library.lending.book.application can't break library.commons.events.
- Position
- Below the diagonal: library.lending.book.application uses a module listed above it, which is the healthy direction.
13→5 library.lending.book.application uses library.lending.librarybranch.model✕
- Connections
- 1 pair of types, where a type in library.lending.book.application uses a type in library.lending.librarybranch.model.
- The types involved
io.pillopl.library.lending.book.application.CreateAvailableBookOnInstanceAddedEventHandler→io.pillopl.library.lending.librarybranch.model.LibraryBranchId
- Direction
- library.lending.book.application uses library.lending.librarybranch.model, so a change to library.lending.librarybranch.model can break library.lending.book.application, while a change to library.lending.book.application can't break library.lending.librarybranch.model.
- Position
- Below the diagonal: library.lending.book.application uses a module listed above it, which is the healthy direction.
13→6 library.lending.book.application uses library.catalogue✕
- Connections
- 1 pair of types, where a type in library.lending.book.application uses a type in library.catalogue.
- The types involved
io.pillopl.library.lending.book.application.CreateAvailableBookOnInstanceAddedEventHandler→io.pillopl.library.catalogue.BookInstanceAddedToCatalogue
- Direction
- library.lending.book.application uses library.catalogue, so a change to library.catalogue can break library.lending.book.application, while a change to library.lending.book.application can't break library.catalogue.
- Position
- Below the diagonal: library.lending.book.application uses a module listed above it, which is the healthy direction.
13→8 library.lending.book.application uses library.lending.patron.model✕
- Connections
- 5 pairs of types, where a type in library.lending.book.application uses a type in library.lending.patron.model.
- The types involved
io.pillopl.library.lending.book.application.PatronEventsHandler→io.pillopl.library.lending.patron.model.BookCheckedOutio.pillopl.library.lending.book.application.PatronEventsHandler→io.pillopl.library.lending.patron.model.BookHoldCanceledio.pillopl.library.lending.book.application.PatronEventsHandler→io.pillopl.library.lending.patron.model.BookHoldExpiredio.pillopl.library.lending.book.application.PatronEventsHandler→io.pillopl.library.lending.patron.model.BookPlacedOnHoldio.pillopl.library.lending.book.application.PatronEventsHandler→io.pillopl.library.lending.patron.model.BookReturned
- Direction
- library.lending.book.application uses library.lending.patron.model, so a change to library.lending.patron.model can break library.lending.book.application, while a change to library.lending.book.application can't break library.lending.patron.model.
- Position
- Below the diagonal: library.lending.book.application uses a module listed above it, which is the healthy direction.
13→9 library.lending.book.application uses library.lending.book.model✕
- Connections
- 4 pairs of types, where a type in library.lending.book.application uses a type in library.lending.book.model.
- The types involved
io.pillopl.library.lending.book.application.CreateAvailableBookOnInstanceAddedEventHandler→io.pillopl.library.lending.book.model.BookRepositoryio.pillopl.library.lending.book.application.PatronEventsHandler→io.pillopl.library.lending.book.model.Bookio.pillopl.library.lending.book.application.PatronEventsHandler→io.pillopl.library.lending.book.model.BookOnHoldio.pillopl.library.lending.book.application.PatronEventsHandler→io.pillopl.library.lending.book.model.BookRepository
- Direction
- library.lending.book.application uses library.lending.book.model, so a change to library.lending.book.model can break library.lending.book.application, while a change to library.lending.book.application can't break library.lending.book.model.
- Position
- Below the diagonal: library.lending.book.application uses a module listed above it, which is the healthy direction.
14→8 library.lending.dailysheet.infrastructure uses library.lending.patron.model✕
- Connections
- 5 pairs of types, where a type in library.lending.dailysheet.infrastructure uses a type in library.lending.patron.model.
- The types involved
io.pillopl.library.lending.dailysheet.infrastructure.SheetsReadModel→io.pillopl.library.lending.patron.model.BookCheckedOutio.pillopl.library.lending.dailysheet.infrastructure.SheetsReadModel→io.pillopl.library.lending.patron.model.BookHoldCanceledio.pillopl.library.lending.dailysheet.infrastructure.SheetsReadModel→io.pillopl.library.lending.patron.model.BookHoldExpiredio.pillopl.library.lending.dailysheet.infrastructure.SheetsReadModel→io.pillopl.library.lending.patron.model.BookPlacedOnHoldio.pillopl.library.lending.dailysheet.infrastructure.SheetsReadModel→io.pillopl.library.lending.patron.model.BookReturned
- Direction
- library.lending.dailysheet.infrastructure uses library.lending.patron.model, so a change to library.lending.patron.model can break library.lending.dailysheet.infrastructure, while a change to library.lending.dailysheet.infrastructure can't break library.lending.patron.model.
- Position
- Below the diagonal: library.lending.dailysheet.infrastructure uses a module listed above it, which is the healthy direction.
14→10 library.lending.dailysheet.infrastructure uses library.lending.dailysheet.model✕
- Connections
- 6 pairs of types, where a type in library.lending.dailysheet.infrastructure uses a type in library.lending.dailysheet.model.
- The types involved
io.pillopl.library.lending.dailysheet.infrastructure.DailySheetConfiguration→io.pillopl.library.lending.dailysheet.model.DailySheetio.pillopl.library.lending.dailysheet.infrastructure.SheetsReadModel→io.pillopl.library.lending.dailysheet.model.CheckoutsToOverdueSheetio.pillopl.library.lending.dailysheet.infrastructure.SheetsReadModel→io.pillopl.library.lending.dailysheet.model.DailySheetio.pillopl.library.lending.dailysheet.infrastructure.SheetsReadModel→io.pillopl.library.lending.dailysheet.model.ExpiredHoldio.pillopl.library.lending.dailysheet.infrastructure.SheetsReadModel→io.pillopl.library.lending.dailysheet.model.HoldsToExpireSheetio.pillopl.library.lending.dailysheet.infrastructure.SheetsReadModel→io.pillopl.library.lending.dailysheet.model.OverdueCheckout
- Direction
- library.lending.dailysheet.infrastructure uses library.lending.dailysheet.model, so a change to library.lending.dailysheet.model can break library.lending.dailysheet.infrastructure, while a change to library.lending.dailysheet.infrastructure can't break library.lending.dailysheet.model.
- Position
- Below the diagonal: library.lending.dailysheet.infrastructure uses a module listed above it, which is the healthy direction.
15→3 library.lending.patron.application.hold uses library.commons.commands✕
- Connections
- 4 pairs of types, where a type in library.lending.patron.application.hold uses a type in library.commons.commands.
- The types involved
io.pillopl.library.lending.patron.application.hold.CancelingHold→io.pillopl.library.commons.commands.Resultio.pillopl.library.lending.patron.application.hold.ExpiringHolds→io.pillopl.library.commons.commands.BatchResultio.pillopl.library.lending.patron.application.hold.HandleDuplicateHold→io.pillopl.library.commons.commands.Resultio.pillopl.library.lending.patron.application.hold.PlacingOnHold→io.pillopl.library.commons.commands.Result
- Direction
- library.lending.patron.application.hold uses library.commons.commands, so a change to library.commons.commands can break library.lending.patron.application.hold, while a change to library.lending.patron.application.hold can't break library.commons.commands.
- Position
- Below the diagonal: library.lending.patron.application.hold uses a module listed above it, which is the healthy direction.
15→5 library.lending.patron.application.hold uses library.lending.librarybranch.model✕
- Connections
- 1 pair of types, where a type in library.lending.patron.application.hold uses a type in library.lending.librarybranch.model.
- The types involved
io.pillopl.library.lending.patron.application.hold.PlaceOnHoldCommand→io.pillopl.library.lending.librarybranch.model.LibraryBranchId
- Direction
- library.lending.patron.application.hold uses library.lending.librarybranch.model, so a change to library.lending.librarybranch.model can break library.lending.patron.application.hold, while a change to library.lending.patron.application.hold can't break library.lending.librarybranch.model.
- Position
- Below the diagonal: library.lending.patron.application.hold uses a module listed above it, which is the healthy direction.
15→6 library.lending.patron.application.hold uses library.catalogue✕
- Connections
- 6 pairs of types, where a type in library.lending.patron.application.hold uses a type in library.catalogue.
- The types involved
io.pillopl.library.lending.patron.application.hold.CancelHoldCommand→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.application.hold.CancelingHold→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.application.hold.FindAvailableBook→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.application.hold.FindBookOnHold→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.application.hold.PlaceOnHoldCommand→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.application.hold.PlacingOnHold→io.pillopl.library.catalogue.BookId
- Direction
- library.lending.patron.application.hold uses library.catalogue, so a change to library.catalogue can break library.lending.patron.application.hold, while a change to library.lending.patron.application.hold can't break library.catalogue.
- Position
- Below the diagonal: library.lending.patron.application.hold uses a module listed above it, which is the healthy direction.
15→8 library.lending.patron.application.hold uses library.lending.patron.model✕
- Connections
- 16 pairs of types, where a type in library.lending.patron.application.hold uses a type in library.lending.patron.model.
- The types involved
io.pillopl.library.lending.patron.application.hold.CancelHoldCommand→io.pillopl.library.lending.patron.model.PatronIdio.pillopl.library.lending.patron.application.hold.CancelingHold→io.pillopl.library.lending.patron.model.BookHoldCanceledio.pillopl.library.lending.patron.application.hold.CancelingHold→io.pillopl.library.lending.patron.model.BookHoldCancelingFailedio.pillopl.library.lending.patron.application.hold.CancelingHold→io.pillopl.library.lending.patron.model.Patronio.pillopl.library.lending.patron.application.hold.CancelingHold→io.pillopl.library.lending.patron.model.PatronIdio.pillopl.library.lending.patron.application.hold.CancelingHold→io.pillopl.library.lending.patron.model.Patronsio.pillopl.library.lending.patron.application.hold.ExpiringHolds→io.pillopl.library.lending.patron.model.BookHoldExpiredio.pillopl.library.lending.patron.application.hold.ExpiringHolds→io.pillopl.library.lending.patron.model.Patronsio.pillopl.library.lending.patron.application.hold.FindBookOnHold→io.pillopl.library.lending.patron.model.PatronIdio.pillopl.library.lending.patron.application.hold.PlaceOnHoldCommand→io.pillopl.library.lending.patron.model.HoldDurationio.pillopl.library.lending.patron.application.hold.PlaceOnHoldCommand→io.pillopl.library.lending.patron.model.PatronIdio.pillopl.library.lending.patron.application.hold.PlacingOnHold→io.pillopl.library.lending.patron.model.BookHoldFailedio.pillopl.library.lending.patron.application.hold.PlacingOnHold→io.pillopl.library.lending.patron.model.BookPlacedOnHoldEventsio.pillopl.library.lending.patron.application.hold.PlacingOnHold→io.pillopl.library.lending.patron.model.Patronio.pillopl.library.lending.patron.application.hold.PlacingOnHold→io.pillopl.library.lending.patron.model.PatronIdio.pillopl.library.lending.patron.application.hold.PlacingOnHold→io.pillopl.library.lending.patron.model.Patrons
- Direction
- library.lending.patron.application.hold uses library.lending.patron.model, so a change to library.lending.patron.model can break library.lending.patron.application.hold, while a change to library.lending.patron.application.hold can't break library.lending.patron.model.
- Position
- Below the diagonal: library.lending.patron.application.hold uses a module listed above it, which is the healthy direction.
15→9 library.lending.patron.application.hold uses library.lending.book.model✕
- Connections
- 5 pairs of types, where a type in library.lending.patron.application.hold uses a type in library.lending.book.model.
- The types involved
io.pillopl.library.lending.patron.application.hold.CancelingHold→io.pillopl.library.lending.book.model.BookOnHoldio.pillopl.library.lending.patron.application.hold.FindAvailableBook→io.pillopl.library.lending.book.model.AvailableBookio.pillopl.library.lending.patron.application.hold.FindBookOnHold→io.pillopl.library.lending.book.model.BookOnHoldio.pillopl.library.lending.patron.application.hold.HandleDuplicateHold→io.pillopl.library.lending.book.model.BookDuplicateHoldFoundio.pillopl.library.lending.patron.application.hold.PlacingOnHold→io.pillopl.library.lending.book.model.AvailableBook
- Direction
- library.lending.patron.application.hold uses library.lending.book.model, so a change to library.lending.book.model can break library.lending.patron.application.hold, while a change to library.lending.patron.application.hold can't break library.lending.book.model.
- Position
- Below the diagonal: library.lending.patron.application.hold uses a module listed above it, which is the healthy direction.
15→10 library.lending.patron.application.hold uses library.lending.dailysheet.model✕
- Connections
- 1 pair of types, where a type in library.lending.patron.application.hold uses a type in library.lending.dailysheet.model.
- The types involved
io.pillopl.library.lending.patron.application.hold.ExpiringHolds→io.pillopl.library.lending.dailysheet.model.DailySheet
- Direction
- library.lending.patron.application.hold uses library.lending.dailysheet.model, so a change to library.lending.dailysheet.model can break library.lending.patron.application.hold, while a change to library.lending.patron.application.hold can't break library.lending.dailysheet.model.
- Position
- Below the diagonal: library.lending.patron.application.hold uses a module listed above it, which is the healthy direction.
16→8 library.lending.patronprofile.infrastructure uses library.lending.patron.model✕
- Connections
- 1 pair of types, where a type in library.lending.patronprofile.infrastructure uses a type in library.lending.patron.model.
- The types involved
io.pillopl.library.lending.patronprofile.infrastructure.PatronProfileReadModel→io.pillopl.library.lending.patron.model.PatronId
- Direction
- library.lending.patronprofile.infrastructure uses library.lending.patron.model, so a change to library.lending.patron.model can break library.lending.patronprofile.infrastructure, while a change to library.lending.patronprofile.infrastructure can't break library.lending.patron.model.
- Position
- Below the diagonal: library.lending.patronprofile.infrastructure uses a module listed above it, which is the healthy direction.
16→11 library.lending.patronprofile.infrastructure uses library.lending.patronprofile.model✕
- Connections
- 5 pairs of types, where a type in library.lending.patronprofile.infrastructure uses a type in library.lending.patronprofile.model.
- The types involved
io.pillopl.library.lending.patronprofile.infrastructure.PatronProfileConfiguration→io.pillopl.library.lending.patronprofile.model.PatronProfilesio.pillopl.library.lending.patronprofile.infrastructure.PatronProfileReadModel→io.pillopl.library.lending.patronprofile.model.Checkoutio.pillopl.library.lending.patronprofile.infrastructure.PatronProfileReadModel→io.pillopl.library.lending.patronprofile.model.Holdio.pillopl.library.lending.patronprofile.infrastructure.PatronProfileReadModel→io.pillopl.library.lending.patronprofile.model.PatronProfileio.pillopl.library.lending.patronprofile.infrastructure.PatronProfileReadModel→io.pillopl.library.lending.patronprofile.model.PatronProfiles
- Direction
- library.lending.patronprofile.infrastructure uses library.lending.patronprofile.model, so a change to library.lending.patronprofile.model can break library.lending.patronprofile.infrastructure, while a change to library.lending.patronprofile.infrastructure can't break library.lending.patronprofile.model.
- Position
- Below the diagonal: library.lending.patronprofile.infrastructure uses a module listed above it, which is the healthy direction.
17→4 library.lending.book.infrastructure uses library.commons.events✕
- Connections
- 1 pair of types, where a type in library.lending.book.infrastructure uses a type in library.commons.events.
- The types involved
io.pillopl.library.lending.book.infrastructure.BookConfiguration→io.pillopl.library.commons.events.DomainEvents
- Direction
- library.lending.book.infrastructure uses library.commons.events, so a change to library.commons.events can break library.lending.book.infrastructure, while a change to library.lending.book.infrastructure can't break library.commons.events.
- Position
- Below the diagonal: library.lending.book.infrastructure uses a module listed above it, which is the healthy direction.
17→6 library.lending.book.infrastructure uses library.catalogue✕
- Connections
- 3 pairs of types, where a type in library.lending.book.infrastructure uses a type in library.catalogue.
- The types involved
io.pillopl.library.lending.book.infrastructure.BookDatabaseEntity→io.pillopl.library.catalogue.BookTypeio.pillopl.library.lending.book.infrastructure.BookDatabaseRepository→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.book.infrastructure.BookDatabaseRepository→io.pillopl.library.catalogue.BookType
- Direction
- library.lending.book.infrastructure uses library.catalogue, so a change to library.catalogue can break library.lending.book.infrastructure, while a change to library.lending.book.infrastructure can't break library.catalogue.
- Position
- Below the diagonal: library.lending.book.infrastructure uses a module listed above it, which is the healthy direction.
17→8 library.lending.book.infrastructure uses library.lending.patron.model✕
- Connections
- 1 pair of types, where a type in library.lending.book.infrastructure uses a type in library.lending.patron.model.
- The types involved
io.pillopl.library.lending.book.infrastructure.BookDatabaseRepository→io.pillopl.library.lending.patron.model.PatronId
- Direction
- library.lending.book.infrastructure uses library.lending.patron.model, so a change to library.lending.patron.model can break library.lending.book.infrastructure, while a change to library.lending.book.infrastructure can't break library.lending.patron.model.
- Position
- Below the diagonal: library.lending.book.infrastructure uses a module listed above it, which is the healthy direction.
17→9 library.lending.book.infrastructure uses library.lending.book.model✕
- Connections
- 10 pairs of types, where a type in library.lending.book.infrastructure uses a type in library.lending.book.model.
- The types involved
io.pillopl.library.lending.book.infrastructure.BookConfiguration→io.pillopl.library.lending.book.model.BookRepositoryio.pillopl.library.lending.book.infrastructure.BookDatabaseEntity→io.pillopl.library.lending.book.model.AvailableBookio.pillopl.library.lending.book.infrastructure.BookDatabaseEntity→io.pillopl.library.lending.book.model.Bookio.pillopl.library.lending.book.infrastructure.BookDatabaseEntity→io.pillopl.library.lending.book.model.BookOnHoldio.pillopl.library.lending.book.infrastructure.BookDatabaseEntity→io.pillopl.library.lending.book.model.CheckedOutBookio.pillopl.library.lending.book.infrastructure.BookDatabaseRepository→io.pillopl.library.lending.book.model.AvailableBookio.pillopl.library.lending.book.infrastructure.BookDatabaseRepository→io.pillopl.library.lending.book.model.Bookio.pillopl.library.lending.book.infrastructure.BookDatabaseRepository→io.pillopl.library.lending.book.model.BookOnHoldio.pillopl.library.lending.book.infrastructure.BookDatabaseRepository→io.pillopl.library.lending.book.model.BookRepositoryio.pillopl.library.lending.book.infrastructure.BookDatabaseRepository→io.pillopl.library.lending.book.model.CheckedOutBook
- Direction
- library.lending.book.infrastructure uses library.lending.book.model, so a change to library.lending.book.model can break library.lending.book.infrastructure, while a change to library.lending.book.infrastructure can't break library.lending.book.model.
- Position
- Below the diagonal: library.lending.book.infrastructure uses a module listed above it, which is the healthy direction.
17→13 library.lending.book.infrastructure uses library.lending.book.application✕
- Connections
- 2 pairs of types, where a type in library.lending.book.infrastructure uses a type in library.lending.book.application.
- The types involved
io.pillopl.library.lending.book.infrastructure.BookConfiguration→io.pillopl.library.lending.book.application.CreateAvailableBookOnInstanceAddedEventHandlerio.pillopl.library.lending.book.infrastructure.BookConfiguration→io.pillopl.library.lending.book.application.PatronEventsHandler
- Direction
- library.lending.book.infrastructure uses library.lending.book.application, so a change to library.lending.book.application can break library.lending.book.infrastructure, while a change to library.lending.book.infrastructure can't break library.lending.book.application.
- Position
- Below the diagonal: library.lending.book.infrastructure uses a module listed above it, which is the healthy direction.
17→15 library.lending.book.infrastructure uses library.lending.patron.application.hold✕
- Connections
- 2 pairs of types, where a type in library.lending.book.infrastructure uses a type in library.lending.patron.application.hold.
- The types involved
io.pillopl.library.lending.book.infrastructure.BookDatabaseRepository→io.pillopl.library.lending.patron.application.hold.FindAvailableBookio.pillopl.library.lending.book.infrastructure.BookDatabaseRepository→io.pillopl.library.lending.patron.application.hold.FindBookOnHold
- Direction
- library.lending.book.infrastructure uses library.lending.patron.application.hold, so a change to library.lending.patron.application.hold can break library.lending.book.infrastructure, while a change to library.lending.book.infrastructure can't break library.lending.patron.application.hold.
- Position
- Below the diagonal: library.lending.book.infrastructure uses a module listed above it, which is the healthy direction.
18→3 library.lending.patron.application.checkout uses library.commons.commands✕
- Connections
- 2 pairs of types, where a type in library.lending.patron.application.checkout uses a type in library.commons.commands.
- The types involved
io.pillopl.library.lending.patron.application.checkout.CheckingOutBookOnHold→io.pillopl.library.commons.commands.Resultio.pillopl.library.lending.patron.application.checkout.RegisteringOverdueCheckout→io.pillopl.library.commons.commands.BatchResult
- Direction
- library.lending.patron.application.checkout uses library.commons.commands, so a change to library.commons.commands can break library.lending.patron.application.checkout, while a change to library.lending.patron.application.checkout can't break library.commons.commands.
- Position
- Below the diagonal: library.lending.patron.application.checkout uses a module listed above it, which is the healthy direction.
18→5 library.lending.patron.application.checkout uses library.lending.librarybranch.model✕
- Connections
- 1 pair of types, where a type in library.lending.patron.application.checkout uses a type in library.lending.librarybranch.model.
- The types involved
io.pillopl.library.lending.patron.application.checkout.CheckOutBookCommand→io.pillopl.library.lending.librarybranch.model.LibraryBranchId
- Direction
- library.lending.patron.application.checkout uses library.lending.librarybranch.model, so a change to library.lending.librarybranch.model can break library.lending.patron.application.checkout, while a change to library.lending.patron.application.checkout can't break library.lending.librarybranch.model.
- Position
- Below the diagonal: library.lending.patron.application.checkout uses a module listed above it, which is the healthy direction.
18→6 library.lending.patron.application.checkout uses library.catalogue✕
- Connections
- 2 pairs of types, where a type in library.lending.patron.application.checkout uses a type in library.catalogue.
- The types involved
io.pillopl.library.lending.patron.application.checkout.CheckOutBookCommand→io.pillopl.library.catalogue.BookIdio.pillopl.library.lending.patron.application.checkout.CheckingOutBookOnHold→io.pillopl.library.catalogue.BookId
- Direction
- library.lending.patron.application.checkout uses library.catalogue, so a change to library.catalogue can break library.lending.patron.application.checkout, while a change to library.lending.patron.application.checkout can't break library.catalogue.
- Position
- Below the diagonal: library.lending.patron.application.checkout uses a module listed above it, which is the healthy direction.
18→8 library.lending.patron.application.checkout uses library.lending.patron.model✕
- Connections
- 9 pairs of types, where a type in library.lending.patron.application.checkout uses a type in library.lending.patron.model.
- The types involved
io.pillopl.library.lending.patron.application.checkout.CheckOutBookCommand→io.pillopl.library.lending.patron.model.CheckoutDurationio.pillopl.library.lending.patron.application.checkout.CheckOutBookCommand→io.pillopl.library.lending.patron.model.PatronIdio.pillopl.library.lending.patron.application.checkout.CheckingOutBookOnHold→io.pillopl.library.lending.patron.model.BookCheckedOutio.pillopl.library.lending.patron.application.checkout.CheckingOutBookOnHold→io.pillopl.library.lending.patron.model.BookCheckingOutFailedio.pillopl.library.lending.patron.application.checkout.CheckingOutBookOnHold→io.pillopl.library.lending.patron.model.Patronio.pillopl.library.lending.patron.application.checkout.CheckingOutBookOnHold→io.pillopl.library.lending.patron.model.PatronIdio.pillopl.library.lending.patron.application.checkout.CheckingOutBookOnHold→io.pillopl.library.lending.patron.model.Patronsio.pillopl.library.lending.patron.application.checkout.RegisteringOverdueCheckout→io.pillopl.library.lending.patron.model.OverdueCheckoutRegisteredio.pillopl.library.lending.patron.application.checkout.RegisteringOverdueCheckout→io.pillopl.library.lending.patron.model.Patrons
- Direction
- library.lending.patron.application.checkout uses library.lending.patron.model, so a change to library.lending.patron.model can break library.lending.patron.application.checkout, while a change to library.lending.patron.application.checkout can't break library.lending.patron.model.
- Position
- Below the diagonal: library.lending.patron.application.checkout uses a module listed above it, which is the healthy direction.
18→9 library.lending.patron.application.checkout uses library.lending.book.model✕
- Connections
- 1 pair of types, where a type in library.lending.patron.application.checkout uses a type in library.lending.book.model.
- The types involved
io.pillopl.library.lending.patron.application.checkout.CheckingOutBookOnHold→io.pillopl.library.lending.book.model.BookOnHold
- Direction
- library.lending.patron.application.checkout uses library.lending.book.model, so a change to library.lending.book.model can break library.lending.patron.application.checkout, while a change to library.lending.patron.application.checkout can't break library.lending.book.model.
- Position
- Below the diagonal: library.lending.patron.application.checkout uses a module listed above it, which is the healthy direction.
18→10 library.lending.patron.application.checkout uses library.lending.dailysheet.model✕
- Connections
- 1 pair of types, where a type in library.lending.patron.application.checkout uses a type in library.lending.dailysheet.model.
- The types involved
io.pillopl.library.lending.patron.application.checkout.RegisteringOverdueCheckout→io.pillopl.library.lending.dailysheet.model.DailySheet
- Direction
- library.lending.patron.application.checkout uses library.lending.dailysheet.model, so a change to library.lending.dailysheet.model can break library.lending.patron.application.checkout, while a change to library.lending.patron.application.checkout can't break library.lending.dailysheet.model.
- Position
- Below the diagonal: library.lending.patron.application.checkout uses a module listed above it, which is the healthy direction.
18→15 library.lending.patron.application.checkout uses library.lending.patron.application.hold✕
- Connections
- 1 pair of types, where a type in library.lending.patron.application.checkout uses a type in library.lending.patron.application.hold.
- The types involved
io.pillopl.library.lending.patron.application.checkout.CheckingOutBookOnHold→io.pillopl.library.lending.patron.application.hold.FindBookOnHold
- Direction
- library.lending.patron.application.checkout uses library.lending.patron.application.hold, so a change to library.lending.patron.application.hold can break library.lending.patron.application.checkout, while a change to library.lending.patron.application.checkout can't break library.lending.patron.application.hold.
- Position
- Below the diagonal: library.lending.patron.application.checkout uses a module listed above it, which is the healthy direction.
19→11 library.lending.patronprofile.web uses library.lending.patronprofile.model✕
- Connections
- 5 pairs of types, where a type in library.lending.patronprofile.web uses a type in library.lending.patronprofile.model.
- The types involved
io.pillopl.library.lending.patronprofile.web.Checkout→io.pillopl.library.lending.patronprofile.model.Checkoutio.pillopl.library.lending.patronprofile.web.Hold→io.pillopl.library.lending.patronprofile.model.Holdio.pillopl.library.lending.patronprofile.web.PatronProfileController→io.pillopl.library.lending.patronprofile.model.Checkoutio.pillopl.library.lending.patronprofile.web.PatronProfileController→io.pillopl.library.lending.patronprofile.model.Holdio.pillopl.library.lending.patronprofile.web.PatronProfileController→io.pillopl.library.lending.patronprofile.model.PatronProfiles
- Direction
- library.lending.patronprofile.web uses library.lending.patronprofile.model, so a change to library.lending.patronprofile.model can break library.lending.patronprofile.web, while a change to library.lending.patronprofile.web can't break library.lending.patronprofile.model.
- Position
- Below the diagonal: library.lending.patronprofile.web uses a module listed above it, which is the healthy direction.
19→15 library.lending.patronprofile.web uses library.lending.patron.application.hold✕
- Connections
- 2 pairs of types, where a type in library.lending.patronprofile.web uses a type in library.lending.patron.application.hold.
- The types involved
io.pillopl.library.lending.patronprofile.web.PatronProfileController→io.pillopl.library.lending.patron.application.hold.CancelingHoldio.pillopl.library.lending.patronprofile.web.PatronProfileController→io.pillopl.library.lending.patron.application.hold.PlacingOnHold
- Direction
- library.lending.patronprofile.web uses library.lending.patron.application.hold, so a change to library.lending.patron.application.hold can break library.lending.patronprofile.web, while a change to library.lending.patronprofile.web can't break library.lending.patron.application.hold.
- Position
- Below the diagonal: library.lending.patronprofile.web uses a module listed above it, which is the healthy direction.
20→4 library.lending.patron.infrastructure uses library.commons.events✕
- Connections
- 2 pairs of types, where a type in library.lending.patron.infrastructure uses a type in library.commons.events.
- The types involved
io.pillopl.library.lending.patron.infrastructure.PatronConfiguration→io.pillopl.library.commons.events.DomainEventsio.pillopl.library.lending.patron.infrastructure.PatronsDatabaseRepository→io.pillopl.library.commons.events.DomainEvents
- Direction
- library.lending.patron.infrastructure uses library.commons.events, so a change to library.commons.events can break library.lending.patron.infrastructure, while a change to library.lending.patron.infrastructure can't break library.commons.events.
- Position
- Below the diagonal: library.lending.patron.infrastructure uses a module listed above it, which is the healthy direction.
20→5 library.lending.patron.infrastructure uses library.lending.librarybranch.model✕
- Connections
- 1 pair of types, where a type in library.lending.patron.infrastructure uses a type in library.lending.librarybranch.model.
- The types involved
io.pillopl.library.lending.patron.infrastructure.DomainModelMapper→io.pillopl.library.lending.librarybranch.model.LibraryBranchId
- Direction
- library.lending.patron.infrastructure uses library.lending.librarybranch.model, so a change to library.lending.librarybranch.model can break library.lending.patron.infrastructure, while a change to library.lending.patron.infrastructure can't break library.lending.librarybranch.model.
- Position
- Below the diagonal: library.lending.patron.infrastructure uses a module listed above it, which is the healthy direction.
20→6 library.lending.patron.infrastructure uses library.catalogue✕
- Connections
- 1 pair of types, where a type in library.lending.patron.infrastructure uses a type in library.catalogue.
- The types involved
io.pillopl.library.lending.patron.infrastructure.DomainModelMapper→io.pillopl.library.catalogue.BookId
- Direction
- library.lending.patron.infrastructure uses library.catalogue, so a change to library.catalogue can break library.lending.patron.infrastructure, while a change to library.lending.patron.infrastructure can't break library.catalogue.
- Position
- Below the diagonal: library.lending.patron.infrastructure uses a module listed above it, which is the healthy direction.
20→8 library.lending.patron.infrastructure uses library.lending.patron.model✕
- Connections
- 18 pairs of types, where a type in library.lending.patron.infrastructure uses a type in library.lending.patron.model.
- The types involved
io.pillopl.library.lending.patron.infrastructure.DomainModelMapper→io.pillopl.library.lending.patron.model.Patronio.pillopl.library.lending.patron.infrastructure.DomainModelMapper→io.pillopl.library.lending.patron.model.PatronFactoryio.pillopl.library.lending.patron.infrastructure.PatronConfiguration→io.pillopl.library.lending.patron.model.Patronsio.pillopl.library.lending.patron.infrastructure.PatronDatabaseEntity→io.pillopl.library.lending.patron.model.BookCheckedOutio.pillopl.library.lending.patron.infrastructure.PatronDatabaseEntity→io.pillopl.library.lending.patron.model.BookHoldCanceledio.pillopl.library.lending.patron.infrastructure.PatronDatabaseEntity→io.pillopl.library.lending.patron.model.BookHoldExpiredio.pillopl.library.lending.patron.infrastructure.PatronDatabaseEntity→io.pillopl.library.lending.patron.model.BookPlacedOnHoldio.pillopl.library.lending.patron.infrastructure.PatronDatabaseEntity→io.pillopl.library.lending.patron.model.BookPlacedOnHoldEventsio.pillopl.library.lending.patron.infrastructure.PatronDatabaseEntity→io.pillopl.library.lending.patron.model.BookReturnedio.pillopl.library.lending.patron.infrastructure.PatronDatabaseEntity→io.pillopl.library.lending.patron.model.OverdueCheckoutRegisteredio.pillopl.library.lending.patron.infrastructure.PatronDatabaseEntity→io.pillopl.library.lending.patron.model.PatronEventio.pillopl.library.lending.patron.infrastructure.PatronDatabaseEntity→io.pillopl.library.lending.patron.model.PatronIdio.pillopl.library.lending.patron.infrastructure.PatronDatabaseEntity→io.pillopl.library.lending.patron.model.PatronTypeio.pillopl.library.lending.patron.infrastructure.PatronsDatabaseRepository→io.pillopl.library.lending.patron.model.Patronio.pillopl.library.lending.patron.infrastructure.PatronsDatabaseRepository→io.pillopl.library.lending.patron.model.PatronCreatedio.pillopl.library.lending.patron.infrastructure.PatronsDatabaseRepository→io.pillopl.library.lending.patron.model.PatronEventio.pillopl.library.lending.patron.infrastructure.PatronsDatabaseRepository→io.pillopl.library.lending.patron.model.PatronIdio.pillopl.library.lending.patron.infrastructure.PatronsDatabaseRepository→io.pillopl.library.lending.patron.model.Patrons
- Direction
- library.lending.patron.infrastructure uses library.lending.patron.model, so a change to library.lending.patron.model can break library.lending.patron.infrastructure, while a change to library.lending.patron.infrastructure can't break library.lending.patron.model.
- Position
- Below the diagonal: library.lending.patron.infrastructure uses a module listed above it, which is the healthy direction.
20→10 library.lending.patron.infrastructure uses library.lending.dailysheet.model✕
- Connections
- 1 pair of types, where a type in library.lending.patron.infrastructure uses a type in library.lending.dailysheet.model.
- The types involved
io.pillopl.library.lending.patron.infrastructure.PatronConfiguration→io.pillopl.library.lending.dailysheet.model.DailySheet
- Direction
- library.lending.patron.infrastructure uses library.lending.dailysheet.model, so a change to library.lending.dailysheet.model can break library.lending.patron.infrastructure, while a change to library.lending.patron.infrastructure can't break library.lending.dailysheet.model.
- Position
- Below the diagonal: library.lending.patron.infrastructure uses a module listed above it, which is the healthy direction.
20→15 library.lending.patron.infrastructure uses library.lending.patron.application.hold✕
- Connections
- 6 pairs of types, where a type in library.lending.patron.infrastructure uses a type in library.lending.patron.application.hold.
- The types involved
io.pillopl.library.lending.patron.infrastructure.PatronConfiguration→io.pillopl.library.lending.patron.application.hold.CancelingHoldio.pillopl.library.lending.patron.infrastructure.PatronConfiguration→io.pillopl.library.lending.patron.application.hold.ExpiringHoldsio.pillopl.library.lending.patron.infrastructure.PatronConfiguration→io.pillopl.library.lending.patron.application.hold.FindAvailableBookio.pillopl.library.lending.patron.infrastructure.PatronConfiguration→io.pillopl.library.lending.patron.application.hold.FindBookOnHoldio.pillopl.library.lending.patron.infrastructure.PatronConfiguration→io.pillopl.library.lending.patron.application.hold.HandleDuplicateHoldio.pillopl.library.lending.patron.infrastructure.PatronConfiguration→io.pillopl.library.lending.patron.application.hold.PlacingOnHold
- Direction
- library.lending.patron.infrastructure uses library.lending.patron.application.hold, so a change to library.lending.patron.application.hold can break library.lending.patron.infrastructure, while a change to library.lending.patron.infrastructure can't break library.lending.patron.application.hold.
- Position
- Below the diagonal: library.lending.patron.infrastructure uses a module listed above it, which is the healthy direction.
20→18 library.lending.patron.infrastructure uses library.lending.patron.application.checkout✕
- Connections
- 2 pairs of types, where a type in library.lending.patron.infrastructure uses a type in library.lending.patron.application.checkout.
- The types involved
io.pillopl.library.lending.patron.infrastructure.PatronConfiguration→io.pillopl.library.lending.patron.application.checkout.CheckingOutBookOnHoldio.pillopl.library.lending.patron.infrastructure.PatronConfiguration→io.pillopl.library.lending.patron.application.checkout.RegisteringOverdueCheckout
- Direction
- library.lending.patron.infrastructure uses library.lending.patron.application.checkout, so a change to library.lending.patron.application.checkout can break library.lending.patron.infrastructure, while a change to library.lending.patron.infrastructure can't break library.lending.patron.application.checkout.
- Position
- Below the diagonal: library.lending.patron.infrastructure 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
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A02:2025 — Security Misconfiguration | 11 | High / Critical |
| A05:2025 — Injection | 2 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 1 | High / Critical |
Roadmap
First, integrate automated security scanning into the CI pipeline to block regressions before they land, and ensure deployment reliability by adding health checks and immutable image tags for safe rollbacks. Next, maintain a clear changelog for release hygiene and address the missing architectural decision records to improve documentation quality. Finally, enforce nullable reference types across the Java codebase by declaring defaults and resolving suppressions to prevent null pointer exceptions.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Add a SAST step to CI running what this repository's stack ships: spotbugs with find-sec-bugs — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing. | +11.0 pts | Medium | Security & performance tooling |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +2.5 pts | Low | ADR Quality |
| Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding. | +4.0 pts | Medium | Deployment & Rollback |
| Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release. | +4.0 pts | Medium | Release Hygiene |
| Declare the default where Java declares it: `@NullMarked` (org.jspecify.annotations) in each package's `package-info.java`, or once in `module-info.java`, and run NullAway (Error Prone) or the Checker Framework so the declaration is enforced. Then annotate the real exceptions `@Nullable` and resolve the suppressions rather than adding to them: a `@SuppressWarnings("NullAway")` or `castToNonNull(x)` on a value the checker could show to be null is a `NullPointerException` waiting for the path that makes it true — where the value genuinely cannot be null, say something the checker can see instead (a null check, `Objects.requireNonNull`, a non-null field initialised in the constructor). | +2.1 pts | Medium | Nullable reference types |
| Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them. | +2.0 pts | Medium | Architecture documentation |
| Resolve the 2 Orphaned file finding(s) in Knowledge Freshness — start with CheckingOutBookOnHold.java, PatronConfiguration.java. | +0.7 pts | Low | Knowledge Freshness |
| Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. | +0.4 pts | Low | Knowledge Freshness |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 2.0 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 3.0 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 5.1 | Mixed | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 6.9 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| src/main/java/io/pillopl/library/lending/patron/application/checkout/CheckingOutBookOnHold.java | 8.5 | Near-clean | Code Duplication: Duplicated block (5 lines × 2) |
| src/main/java/io/pillopl/library/lending/patron/infrastructure/HoldDatabaseEntity.java | 8.5 | Near-clean | Code Duplication: Duplicated block (5 lines × 2) |
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. 63 of 66 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.8 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 66 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, 21 of 30 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
- D4 Code Duplication — 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. The 2 duplicated block group(s) on this row were found in the languages this pass could tokenize, and they do NOT cover all of this repository's production source: .groovy (978 lines, 25% of production source) went unread, because no language model this pass could load exposed a clone-unit token stream for those file kinds. Duplication in that source is UNMEASURED — its absence from the count above is a gap in this analyzer's language coverage, not a finding that the code is free of duplication.
- D8 Code Coverage — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Coverage NOT MEASURED: test source is present (.java) but the built-in coverage collector has no runner for this repository's ecosystem — so this suite was never executed by it. Not scored — this is a gap in the analyzer's language coverage, not a defect in the repo. To have real coverage read, produce a coverage report in a standard format (JaCoCo XML — `mvn jacoco:report`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures. You can widen what we reach: optional: produce a coverage report in a standard format (JaCoCo XML — `mvn jacoco:report`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures — then the real number is read on the next scan.
- 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 (.java) and this repository declares a JVM test suite (repository root, Maven), but it was not re-run: the analyzer environment could not run it. Not scored — this is a gap in the analyzer's language coverage, not a finding about this repository.
- D12 Dependency Hygiene — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This repository's dependency manifests WERE read and their pinning discipline assessed; what went unanswered is the currency half, because repo.spring.io — the registry that answers it — was asked and did not reply (the build stopped because repo.spring.io, a repository this project declares, refused it with HTTP 403 — what this scan's egress allowlist returns for a host that is not on it, so the dependency graph was not resolved). This is OUR side and it is an ENVIRONMENT fault, not a missing collector: the collector exists and ran. An HTTP 403 here is what this scan's egress allowlist returns for a host that is not on it, so the remedy is to add repo.spring.io to the allowlist and re-run — not to build anything.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Every one of the 17 significant source file(s) was last meaningfully changed so long ago that no living knowledge remains, so there is no concentration to measure — the bus factor is not scored. This is not a clean bill: nobody currently holds working knowledge of this code (see D34 Knowledge Freshness).
- 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 a COLLECTOR gap, not an environment fault: no published-package marker D22 reads admitted any project here, so this ecosystem's public API has no collector, and the remedy is to write one — no change to the scan image can close it.
- D26 Project Cohesion — 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. Project size and spread are measured over build units whose source a code model reads. This repository's .groovy source is a material share of its production lines and was read by none, so the score is a verdict about the units that were read. Not a finding that the unread source is cohesive — it is unmeasured.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DockerCompose (REDACTED). compose up failed (exit 18 — an image could not be pulled) — grafana Pulling app Pulling prometheus Pulling grafana Error Get "https://registry-1.docker.io/v2/": Forbidden prometheus Error Get "https://registry-1.docker.io/v2/": Forbidden app Warning context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: prometheus Pulling grafana Pulling app Pulling prometheus Error Get "https://registry-1.docker.io/v2/": Forbidden app Warning Get "https://registry-1.docker.io/v2/": Forbidden grafana Error context canceled WARNING: Some service image(s) must be built from source by running: docker compose build app Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
- C1 Data Protection — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These personal data controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks personal data controls.
- C2 Access Controls — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These authorization controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks authorization controls.
- C3 Audit Trail — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These audit controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks audit controls.
- C4 Data Retention — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These retention controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks retention controls.
- C5 Data-Subject Rights — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These data-subject rights controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks data-subject rights controls.
- 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 one resolves each comparison operand to the domain member it judges, and that binding exists only in a Roslyn compilation, which this run did not load. Arm two ran over the neutral model because this repository's frontend declares whether each construction is produced or passed. A rule decided in two places would not appear above.
- ED5 Idempotency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check decides whether a handler's mutation is safe to re-run by recognising its persistence writes (a database save, a repository write, an event publish) and its guards. Those markers are .NET member names, so in this repository's language a write such as `repository.save(order)` is not recognised and a same-named call on an unrelated library type could be. The handlers were found; their idempotency was neither confirmed nor ruled out.
- GD1 Unfinished & placeholder code — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, F#, JavaScript/TypeScript, Dart, Ruby and Scala source only, and no C#, F#, JavaScript/TypeScript, Dart, Ruby or Scala was found, and this repository's Java is not read yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. These web-security controls are read from declarative annotations, request middleware, entity/column names and guard methods in a C# source model, and none was loaded on this run, so there was nothing to gather. That is a gap in this analyzer's language reach — not a finding that the repository lacks web-security controls.
- X1 Async correctness — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala, Rust and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala, Rust or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X12 Unreachable branch — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X13 Undrained process stream — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X17 Uncapped recursion over a caller-supplied document — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Python, Dart, Ruby, Scala and Kotlin source only, and no C# was loaded and no JavaScript/TypeScript, Python, Dart, Ruby, Scala or Kotlin was found in this repository, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- 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.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- 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 REDACTED (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.
- DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D4 · Code Duplication
2 duplicated block group(s) detected. Measured on part of this repository only: .groovy (25% of production source) was not exposed to the token comparison, so duplication there is unmeasured and is not in this count.
What to do
- Resolve the 2 Duplicated block (5 lines × 2) finding(s) in Code Duplication — start with CheckingOutBookOnHold.java, HoldDatabaseEntity.java. — One of this dimension's main actionable groups (2 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
0 of 16 classes have LCOM4 above 3.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 6 declared JVM dependency artifact(s) use a banned license. Licences were resolved from the POMs Maven Central publishes, over the coordinates this repository's 1 Maven/Gradle manifest(s) declare with a version resolvable from the manifest itself — the same declaration-site closure this analysis reads for dependency currency. The JVM has no lockfile a checkout is guaranteed to carry, so this is deliberately NOT the transitive closure. 7 further coordinate(s) are declared with no version at the declaration site — inherited from a parent POM, a BOM or an unresolved Gradle version reference — and are NOT graded: this verdict covers what the checkout pins, not the full transitive graph.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 2977 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The repository's root README and three architecture/design docs form a complete documentation set. The root README is an overview of the library with domain description, process discovery, general assumptions (process-discovery sub-sections), and how to contribute; it also links to CircleCI and codecov CI/coverage badges. The three design-level docs are well-structured eventstorming walkthroughs: Big Picture EventStorming covers close-ended book holding with a sticky-note walk-through, definitions, and the shared book-returning process; Design Level EventStorming dives into each example (regular patron placing 6th hold, book failed, overdue checkouts) with accompanying diagrams; Example Mapping maps high-level domain concepts to design-level events. All sections in the outline exist: About, Domain description, General assumptions, Process discovery, Project structure and architecture, Aggregates, Events, Events in Repositories, ArchUnit, Functional thinking, Immutable objects, Pure functions, Type system, Monads, Pattern Matching, (No) ORM, Architecture-code gap, Model-code gap, Placing on hold, Spring, Tests, How to contribute; the three design docs are clipped mid-walkthrough and do not contradict each other.
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 1 build units (Maven) flagged as possibly oversized/incoherent. This repository's .groovy source was read by no build unit, so this covers part of the tree, not all of it.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
2 finding(s): 0 critical, 2 high, 0 medium, 0 low. semgrep hit a parse error in 1 file(s) — `mvnw` (lines 217–218) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
What to do
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D30 · Dependency Vulnerabilities
1 finding(s): 1 critical, 0 high, 0 medium, 0 low.
What to do
- Resolve the 1 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D31 · IaC & Container Security
11 finding(s): 0 critical, 4 high, 5 medium, 2 low.
What to do
- Resolve the 4 High IaC finding(s) in IaC & Container Security — start with REDACTED (2), REDACTED (2). — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 5 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (2), REDACTED (2), REDACTED. — One of this dimension's main actionable groups (5 warning-level).
- Resolve the 2 Low IaC finding(s) in IaC & Container Security — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 recommendation-level).
D34 · Knowledge Freshness
2 of 17 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/main/java/io/pillopl/library/lending/patron/application/checkout/CheckingOutBookOnHold.java. Counted over 17 of the 89 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 2 Orphaned file finding(s) in Knowledge Freshness — start with CheckingOutBookOnHold.java, PatronConfiguration.java. — One of this dimension's main actionable groups (2 recommendation-level).
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 1 end-of-life framework(s), read from 1 platform declaration(s) and 7 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.
What to do
- Resolve the 1 End-of-life framework finding(s) in Platform End-of-Life — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
Frontend & cross-cutting dimensions
AX1 · Captive dependencies
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX2 · Stateful singletons
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
DM1 · Aggregate boundaries
DM10 · One transaction, one aggregate
DM11 · Constructible invalid state
DM12 · Ambient inputs in the domain
DM4 · Rich vs anemic model
DM5 · Encapsulated state
DM6 · Domain ↔ infrastructure boundary
DM8 · Value-object opportunities
DM9 · Scattered domain decisions
IC1 · Incompleteness & stubs
M1 · Documentation (README)
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
- README advertises a microservices architecture, but the repo is a single project with no service manifests — searched for: `microservice`, `service-mesh`, `istio`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest and configuration files (package.json and other *.json, *.csproj, *.props, *.sln/*.slnx, *.yml, *.toml, *.config, tool configs such as eslint.config.js, REDACTED); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong. — README.md:85
What to do
- Reconcile the README with reality: README advertises a microservices architecture, but the repo is a single project with no service manifests.
P1 · CI/CD gates
P2 · Observability
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add spotbugs with find-sec-bugs (or `semgrep --config=auto`, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 755 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
- Add a SAST step to CI running what this repository's stack ships: spotbugs with find-sec-bugs — or `semgrep --config=auto`, which runs on any language — 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
- Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.
What to do
- Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X4 · Structured logging
X5 · Nullable reference types
- 0/20 of this repository's Java package directories are under a non-null default: a `package-info.java` declaring `@NullMarked` (JSpecify) or `@NonNullApi`, `@ParametersAreNonnullByDefault`, `@NonNullByDefault`, `@DefaultQualifier(NonNull.class)`; a `module-info.java` declaring `@NullMarked`; every type in it `@NullMarked`; or a build that runs NullAway with the package in `AnnotatedPackages`, or the Checker Framework's `NullnessChecker`. Elsewhere every reference admits null and no checker warns on the dereference that throws a `NullPointerException`.
What to do
- Declare the default where Java declares it: `@NullMarked` (org.jspecify.annotations) in each package's `package-info.java`, or once in `module-info.java`, and run NullAway (Error Prone) or the Checker Framework so the declaration is enforced. Then annotate the real exceptions `@Nullable` and resolve the suppressions rather than adding to them: a `@SuppressWarnings("NullAway")` or `castToNonNull(x)` on a value the checker could show to be null is a `NullPointerException` waiting for the path that makes it true — where the value genuinely cannot be null, say something the checker can see instead (a null check, `Objects.requireNonNull`, a non-null field initialised in the constructor).
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 76% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 87% | Strong | Solid. |
| Maturity | 74% | Strong | Solid. |
| Readiness | 50% | Weak — gated by P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 87% | Strong | Solid. |
| Domain Modelling | 100% | Exemplary | Strongest area. |
Unscored — 2 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
- X10 Duplicated predicate — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: these audit controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks audit controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C4 Data Retention — Not assessed: these retention controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks retention controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C5 Data-Subject Rights — Not assessed: these data-subject rights controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks data-subject rights controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
Not included — 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.
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 18 — an image could not be pulled) — grafana Pulling app Pulling prometheus Pulling grafana Error Get "https://registry-1.docker.io/v2/": Forbidden prometheus Error Get "https://registry-1.docker.io/v2/": Forbidden app Warning context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: prometheus Pulling grafana Pulling app Pulling prometheus Error Get "https://registry-1.docker.io/v2/": Forbidden app Warning Get "https://registry-1.docker.io/v2/": Forbidden grafana Error context canceled WARNING: Some service image(s) must be built from source by running: docker compose build app Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — Not assessed: these personal data controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks personal data controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- C2 Access Controls — Not assessed: these authorization controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks authorization controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- D10 Test Quality — ~330 lines of test source are present (.java) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so skipped/assertion-free tests couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- D11 Test Reliability — Test reliability not included — the .java suite was found but not re-run
- D12 Dependency Hygiene — Dependency currency not established — repo.spring.io did not answer
- D16 Bus Factor — dormant codebase — no living knowledge left to concentrate
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Aggregate roots were found in only one source directory (lending), which is a layered codebase, not two contexts. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.java), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- 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.
- D36 Supply-chain Provenance & Signing — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D5 Coupling — Not applicable — this Maven build ships 1 production module(s), so there is no coupling BETWEEN modules to measure. (Its test and non-production modules are not part of the shipped graph.)
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not included — suite not readable by the collector
- D9 Test Distribution — Test source is present (.java) but no test cases reached the test census for this repository — no test root we could resolve declared them, or the files we read declare no cases in a test framework we recognise — so its unit/integration/BDD/E2E split couldn't be counted. Not scored — this is a gap in the analyzer, not a finding about this repository.
- 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
- DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
- ED1 Event-Driven — not scored — this repository shows only 1 of the 3 signals this lens looks for (5 event handler(s))
- ED5 Idempotency — Not assessed, and this one is on us: 5 command handler(s) or message consumer(s) were found here, but this check does not yet recognise persistence writes in this repository's language. Idempotency was neither confirmed nor ruled out — this is a limit of the analyzer, not a finding about your code.
- ES1 Event Sourcing — not scored — this repository shows only 1 of the 3 signals this lens looks for (an Axon event-sourcing framework (@Aggregate/@CommandHandler/@EventSourcingHandler annotations))
- GD1 Unfinished & placeholder code — no source files were read — this check reads C#, F#, JavaScript/TypeScript, Dart, Ruby and Scala, and none was read for this repository's product. That is a limit of the analyzer, not a finding about your code.
- P7 Outbound HTTP resilience — no outbound HTTP usage detected — no HTTP client call or construction in the JVM source (service entry point: src/main/java/io/pillopl/library/lending/patronprofile/web/PatronProfileController.java:47 (@RestController))
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (JaCoCo XML — `mvn jacoco:report`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for `@Benchmark` in a Java, Kotlin or Scala file importing JMH or kotlinx-benchmark, Jetpack Benchmark's `measureRepeated` in a file importing androidx.benchmark, or JMH/kotlinx-benchmark/androidx.benchmark in a REDACTED, Gradle or sbt build, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: allocation awareness is rated where code engineers for it — at least 400 production lines that ship benchmarks or already use allocation-aware idioms (8 or more). This repository's Java code has 3,425 production line(s), 0 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
- PF3 Async & latency hygiene — Not applicable: this repository declares no async functions, so there is no asynchronous code for a blocking call to stall.
- S1 Web-Security Posture — Not assessed: these web-security controls are read from a source model (declarative annotations, request middleware, entity/column names, guard methods) that was not loaded for this repository — because the repository is written in a language this check does not yet model, or because its projects failed to load. Absence of an idiom this check recognises is NOT evidence that this repository lacks web-security controls: it may implement them entirely in its own ecosystem. This is a gap in the analyzer's language coverage, not a finding about this repository.
- X1 Async correctness — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X12 Unreachable branch — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X13 Undrained process stream — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X17 Uncapped recursion over a caller-supplied document — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X2 Cancellation propagation — no C# was loaded; this repository's Java was read, and no request in it can be cancelled by a caller — a Java request off Android takes no token: it is cancelled through the handle it returns (Future.cancel, Call.cancel, a Disposable), ambiently (io.grpc.Context) or by interrupting its thread, not through a parameter
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 7 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 9 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (5 lines × 2) src/main/java/io/pillopl/library/lending/patron/application/checkout/CheckingOutBookOnHold.java:55
- Duplicated block (5 lines × 2) src/main/java/io/pillopl/library/lending/patron/infrastructure/HoldDatabaseEntity.java:29
- End-of-life framework: Spring Boot 2 REDACTED:1
- Coverage collected but not gated
Minor — 14 finding(s)
- REDACTED
- REDACTED
- Orphaned file src/main/java/io/pillopl/library/lending/patron/application/checkout/CheckingOutBookOnHold.java:1
- Orphaned file src/main/java/io/pillopl/library/lending/patron/infrastructure/PatronConfiguration.java:1
- No ADRs found
- Orphaned files with no living knowledge
- REDACTED
- No ADRs
- README/code drift README.md:85
- No SAST
- No rollback/health safety
- No changelog
- Duplicated predicate src/main/java/io/pillopl/library/lending/patron/infrastructure/HoldDatabaseEntity.java:30
- Java packages are not null-marked everywhere
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-3ed4a4f2a7d24f00bd660669b0df617a/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-3ed4a4f2a7d24f00bd660669b0df617a/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 . | 2 | 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 . | 1 | artifacts/raw/osv-scanner.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 11 | 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 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | osv-scanner | — | osv-scanner --format json --recursive --experimental-disable-plugins transitivedependency/requirements --experimental-disable-plugins dotnet/csproj --experimental-disable-plugins dotnet/nugetcpm . | 0 | artifacts/raw/osv-scanner.json |