Executive summary
MehrdadShirvani/AlibabaClone-Backend scores 43 out of 100 and is rated Weak, while six of its seven lenses score higher still: Performance at 100, rated Exemplary, Architecture at 87 and Code Health at 80, both rated Strong, Security and Compliance at 60 and Maturity at 59, both rated Adequate, and Domain Modelling at 47, rated Weak.
The score is lower than those six because the weakest lens counts most, and here that is Production Readiness, which scores 26 and is rated Weak. Its Code Coverage dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 1 No automated tests finding(s) in Code Coverage and to resolve the 1 No tests found finding(s) in Test Distribution, and if Production Readiness rose to 70, the score would rise from 43 to about 57.
22 findings are critical: 13 in Static Analysis (SAST), four in Explicit Debt, one in Code Coverage, one in Dependency Hygiene, one in Dependency Vulnerabilities, one in IaC & Container Security and one in Project dependency cycles.
The product code is 3,821 lines, which would take an estimated 0.1 person-years, around €6,900, to rebuild.
If Production Readiness rose from 26 to 70, the lowest score rated Strong, the score would rise from 43 to about 57.
New since the last survey: 24 findings
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Web-Security Posture · Password key derivation is priced too cheaply AlibabaClone.Application/Utils/PasswordHasher.cs
- Web-Security Posture · Password key derivation is priced too cheaply AlibabaClone.Application/Utils/PasswordHasher.cs
- Cancellation propagation · Async method without CancellationToken: GetProfileAsync AlibabaClone.Application/Services/AccountService.cs
- Cancellation propagation · Async method without CancellationToken: GetTravels AlibabaClone.Application/Services/AccountService.cs
- Cancellation propagation · Async method without CancellationToken: GetTicketOrderTravelersDetails AlibabaClone.Application/Services/AccountService.cs
- Cancellation propagation · Async method without CancellationToken: GetAccountTransactions AlibabaClone.Application/Services/AccountService.cs
- Cancellation propagation · Async method without CancellationToken: UpdateEmailAsync AlibabaClone.Application/Services/AccountService.cs
- Cancellation propagation · Async method without CancellationToken: UpdatePasswordAsync AlibabaClone.Application/Services/AccountService.cs
- Cancellation propagation · Async method without CancellationToken: UpsertBankAccountDetailAsync AlibabaClone.Application/Services/AccountService.cs
- Cancellation propagation · Async method without CancellationToken: GetPeople AlibabaClone.Application/Services/AccountService.cs
- Cancellation propagation · Async method without CancellationToken: TopUpAccount AlibabaClone.Application/Services/AccountService.cs
- Cancellation propagation · Async method without CancellationToken: PayForTicketOrderAsync AlibabaClone.Application/Services/AccountService.cs
- Cancellation propagation · Async method without CancellationToken: RegisterAsync AlibabaClone.Application/Services/AuthService.cs
- Cancellation propagation · Async method without CancellationToken: LoginAsync AlibabaClone.Application/Services/AuthService.cs
- Cancellation propagation · Async method without CancellationToken: GetCitiesAsync AlibabaClone.Application/Services/CityService.cs
- Cancellation propagation · Async method without CancellationToken: ValidateCouponAsync AlibabaClone.Application/Services/CouponService.cs
- Cancellation propagation · Async method without CancellationToken: UpsertAccountPersonAsync AlibabaClone.Application/Services/PersonService.cs
- Cancellation propagation · Async method without CancellationToken: UpsertPersonAsync AlibabaClone.Application/Services/PersonService.cs
- Cancellation propagation · Async method without CancellationToken: CreateTicketOrderAsync AlibabaClone.Application/Services/TicketOrderService.cs
- Cancellation propagation · Async method without CancellationToken: GenerateTicketsPdfAsync AlibabaClone.Application/Services/TicketOrderService.cs
Fixed since the last survey: 3 findings
- Supply-chain Provenance & Signing REDACTED
- Web-Security Posture · Cryptographic key material is a compile-time constant AlibabaClone.Application/Utils/PasswordHasher.cs
- Repository granularity · Repository for a non-root entity: AccountRepository → Account AlibabaClone.Infrastructure/Services/AccountAggregates/AccountRepository.cs
Rebuild cost: about €6,900 · Estimate
| Cost to rebuild | €2,300 to €11,000, for 38 to 120 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | High, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 43. 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: 3,821 lines of product code, of which 37% is declarations and boilerplate, 49% straight logic and 14% logic with branches |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 Application.DTOs.Account | 2 Application.DTOs.Authentication | 3 Application.DTOs.City | 4 Application.DTOs.Transaction | 5 Application.DTOs.Transportation | 6 Application.Result | 7 Domain.Framework.Interfaces | 8 Domain.Framework.Interfaces.Repositories | 9 Domain.Framework.Base | 10 Domain.Framework.Interfaces.Repositories.CompanyRepositories | 11 Domain.Framework.Interfaces.Repositories.LocationRepositories | 12 Domain.Aggregates.CompanyAggregates | 13 Domain.Aggregates.LocationAggregates | 14 Domain.Aggregates.TransactionAggregates | 15 Domain.Aggregates.VehicleAggregates | 16 Domain.Aggregates.AccountAggregates | 17 Domain.Framework.Interfaces.Repositories.TransactionRepositories | 18 Domain.Framework.Interfaces.Repositories.VehicleRepositories | 19 Infrastructure.Configurations.CompanyAggregates | 20 Infrastructure.Configurations.LocationAggregates | 21 Infrastructure.Configurations.TransactionAggregates | 22 Infrastructure.Configurations.VehicleAggregates | 23 Domain.Aggregates.TransportationAggregates | 24 Domain.Framework.Interfaces.Repositories.AccountRepositories | 25 Infrastructure.Configurations.AccountAggregates | 26 Application.Interfaces | 27 Domain.Framework.Interfaces.Repositories.TransportationRepositories | 28 Infrastructure | 29 Infrastructure.Configurations.TransportationAggregates | 30 Application.Services | 31 Infrastructure.Framework.Base | 32 Infrastructure.Seeders | 33 Infrastructure.Services | 34 WebAPI.Authentication | 35 Infrastructure.Services.AccountAggregates | 36 Infrastructure.Services.CompanyAggregates | 37 Infrastructure.Services.TransactionAggregates | 38 Infrastructure.Services.TransportationAggregates | 39 Infrastructure.Services.VehicleAggregates | 40 WebAPI.Controllers |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 Application.DTOs.Account | ||||||||||||||||||||||||||||||||||||||||
| 2 Application.DTOs.Authentication | ||||||||||||||||||||||||||||||||||||||||
| 3 Application.DTOs.City | ||||||||||||||||||||||||||||||||||||||||
| 4 Application.DTOs.Transaction | ||||||||||||||||||||||||||||||||||||||||
| 5 Application.DTOs.Transportation | ||||||||||||||||||||||||||||||||||||||||
| 6 Application.Result | ||||||||||||||||||||||||||||||||||||||||
| 7 Domain.Framework.Interfaces | ||||||||||||||||||||||||||||||||||||||||
| 8 Domain.Framework.Interfaces.Repositories | ||||||||||||||||||||||||||||||||||||||||
| 9 Domain.Framework.Base | 1 | |||||||||||||||||||||||||||||||||||||||
| 10 Domain.Framework.Interfaces.Repositories.CompanyRepositories | 1 | |||||||||||||||||||||||||||||||||||||||
| 11 Domain.Framework.Interfaces.Repositories.LocationRepositories | 3 | |||||||||||||||||||||||||||||||||||||||
| 12 Domain.Aggregates.CompanyAggregates | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 13 Domain.Aggregates.LocationAggregates | 3 | 1 | ||||||||||||||||||||||||||||||||||||||
| 14 Domain.Aggregates.TransactionAggregates | 3 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 15 Domain.Aggregates.VehicleAggregates | 3 | 2 | ||||||||||||||||||||||||||||||||||||||
| 16 Domain.Aggregates.AccountAggregates | 5 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 17 Domain.Framework.Interfaces.Repositories.TransactionRepositories | 2 | 2 | ||||||||||||||||||||||||||||||||||||||
| 18 Domain.Framework.Interfaces.Repositories.VehicleRepositories | 3 | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 Infrastructure.Configurations.CompanyAggregates | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 Infrastructure.Configurations.LocationAggregates | 3 | |||||||||||||||||||||||||||||||||||||||
| 21 Infrastructure.Configurations.TransactionAggregates | 3 | |||||||||||||||||||||||||||||||||||||||
| 22 Infrastructure.Configurations.VehicleAggregates | 3 | |||||||||||||||||||||||||||||||||||||||
| 23 Domain.Aggregates.TransportationAggregates | 4 | 1 | 1 | 1 | 2 | 2 | ||||||||||||||||||||||||||||||||||
| 24 Domain.Framework.Interfaces.Repositories.AccountRepositories | 5 | 4 | ||||||||||||||||||||||||||||||||||||||
| 25 Infrastructure.Configurations.AccountAggregates | 6 | |||||||||||||||||||||||||||||||||||||||
| 26 Application.Interfaces | 5 | 3 | 1 | 4 | 6 | 8 | 1 | |||||||||||||||||||||||||||||||||
| 27 Domain.Framework.Interfaces.Repositories.TransportationRepositories | 4 | 3 | ||||||||||||||||||||||||||||||||||||||
| 28 Infrastructure | 1 | 3 | 3 | 3 | 6 | 4 | ||||||||||||||||||||||||||||||||||
| 29 Infrastructure.Configurations.TransportationAggregates | 4 | |||||||||||||||||||||||||||||||||||||||
| 30 Application.Services | 5 | 3 | 1 | 4 | 7 | 8 | 7 | 1 | 1 | 4 | 2 | 1 | 9 | 16 | 6 | |||||||||||||||||||||||||
| 31 Infrastructure.Framework.Base | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 32 Infrastructure.Seeders | 1 | |||||||||||||||||||||||||||||||||||||||
| 33 Infrastructure.Services | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 34 WebAPI.Authentication | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 35 Infrastructure.Services.AccountAggregates | 3 | 4 | 5 | 8 | 8 | |||||||||||||||||||||||||||||||||||
| 36 Infrastructure.Services.CompanyAggregates | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 37 Infrastructure.Services.TransactionAggregates | 2 | 2 | 2 | 2 | ||||||||||||||||||||||||||||||||||||
| 38 Infrastructure.Services.TransportationAggregates | 3 | 4 | 4 | 4 | ||||||||||||||||||||||||||||||||||||
| 39 Infrastructure.Services.VehicleAggregates | 1 | 3 | 3 | 3 | ||||||||||||||||||||||||||||||||||||
| 40 WebAPI.Controllers | 5 | 2 | 1 | 2 | 11 | 1 |
9→7 Domain.Framework.Base uses Domain.Framework.Interfaces✕
- Connections
- 1 pair of types, where a type in Domain.Framework.Base uses a type in Domain.Framework.Interfaces.
- The types involved
AlibabaClone.Domain.Framework.Base.Entity→AlibabaClone.Domain.Framework.Interfaces.IEntity
- Direction
- Domain.Framework.Base uses Domain.Framework.Interfaces, so a change to Domain.Framework.Interfaces can break Domain.Framework.Base, while a change to Domain.Framework.Base can't break Domain.Framework.Interfaces.
- Position
- Below the diagonal: Domain.Framework.Base uses a module listed above it, which is the healthy direction.
10→8 Domain.Framework.Interfaces.Repositories.CompanyRepositories uses Domain.Framework.Interfaces.Repositories✕
- Connections
- 1 pair of types, where a type in Domain.Framework.Interfaces.Repositories.CompanyRepositories uses a type in Domain.Framework.Interfaces.Repositories.
- The types involved
AlibabaClone.Domain.Framework.Interfaces.Repositories.CompanyRepositories.ICompanyRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepository
- Direction
- Domain.Framework.Interfaces.Repositories.CompanyRepositories uses Domain.Framework.Interfaces.Repositories, so a change to Domain.Framework.Interfaces.Repositories can break Domain.Framework.Interfaces.Repositories.CompanyRepositories, while a change to Domain.Framework.Interfaces.Repositories.CompanyRepositories can't break Domain.Framework.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Framework.Interfaces.Repositories.CompanyRepositories uses a module listed above it, which is the healthy direction.
11→8 Domain.Framework.Interfaces.Repositories.LocationRepositories uses Domain.Framework.Interfaces.Repositories✕
- Connections
- 3 pairs of types, where a type in Domain.Framework.Interfaces.Repositories.LocationRepositories uses a type in Domain.Framework.Interfaces.Repositories.
- The types involved
AlibabaClone.Domain.Framework.Interfaces.Repositories.LocationRepositories.ICityRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepositoryAlibabaClone.Domain.Framework.Interfaces.Repositories.LocationRepositories.ILocationRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepositoryAlibabaClone.Domain.Framework.Interfaces.Repositories.LocationRepositories.ILocationTypeRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepository
- Direction
- Domain.Framework.Interfaces.Repositories.LocationRepositories uses Domain.Framework.Interfaces.Repositories, so a change to Domain.Framework.Interfaces.Repositories can break Domain.Framework.Interfaces.Repositories.LocationRepositories, while a change to Domain.Framework.Interfaces.Repositories.LocationRepositories can't break Domain.Framework.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Framework.Interfaces.Repositories.LocationRepositories uses a module listed above it, which is the healthy direction.
12→9 Domain.Aggregates.CompanyAggregates uses Domain.Framework.Base✕
- Connections
- 1 pair of types, where a type in Domain.Aggregates.CompanyAggregates uses a type in Domain.Framework.Base.
- The types involved
AlibabaClone.Domain.Aggregates.CompanyAggregates.Company→AlibabaClone.Domain.Framework.Base.Entity
- Direction
- Domain.Aggregates.CompanyAggregates uses Domain.Framework.Base, so a change to Domain.Framework.Base can break Domain.Aggregates.CompanyAggregates, while a change to Domain.Aggregates.CompanyAggregates can't break Domain.Framework.Base.
- Position
- Below the diagonal: Domain.Aggregates.CompanyAggregates uses a module listed above it, which is the healthy direction.
12→23 Domain.Aggregates.CompanyAggregates uses Domain.Aggregates.TransportationAggregates part of a loop✕
- Connections
- 1 pair of types, where a type in Domain.Aggregates.CompanyAggregates uses a type in Domain.Aggregates.TransportationAggregates.
- The types involved
AlibabaClone.Domain.Aggregates.CompanyAggregates.Company→AlibabaClone.Domain.Aggregates.TransportationAggregates.Transportation
- Direction
- Domain.Aggregates.CompanyAggregates uses Domain.Aggregates.TransportationAggregates, so a change to Domain.Aggregates.TransportationAggregates can break Domain.Aggregates.CompanyAggregates, while a change to Domain.Aggregates.CompanyAggregates can't break Domain.Aggregates.TransportationAggregates.
- 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.
13→9 Domain.Aggregates.LocationAggregates uses Domain.Framework.Base✕
- Connections
- 3 pairs of types, where a type in Domain.Aggregates.LocationAggregates uses a type in Domain.Framework.Base.
- The types involved
AlibabaClone.Domain.Aggregates.LocationAggregates.City→AlibabaClone.Domain.Framework.Base.EntityAlibabaClone.Domain.Aggregates.LocationAggregates.Location→AlibabaClone.Domain.Framework.Base.EntityAlibabaClone.Domain.Aggregates.LocationAggregates.LocationType→AlibabaClone.Domain.Framework.Base.Entity
- Direction
- Domain.Aggregates.LocationAggregates uses Domain.Framework.Base, so a change to Domain.Framework.Base can break Domain.Aggregates.LocationAggregates, while a change to Domain.Aggregates.LocationAggregates can't break Domain.Framework.Base.
- Position
- Below the diagonal: Domain.Aggregates.LocationAggregates uses a module listed above it, which is the healthy direction.
13→23 Domain.Aggregates.LocationAggregates uses Domain.Aggregates.TransportationAggregates part of a loop✕
- Connections
- 1 pair of types, where a type in Domain.Aggregates.LocationAggregates uses a type in Domain.Aggregates.TransportationAggregates.
- The types involved
AlibabaClone.Domain.Aggregates.LocationAggregates.Location→AlibabaClone.Domain.Aggregates.TransportationAggregates.Transportation
- Direction
- Domain.Aggregates.LocationAggregates uses Domain.Aggregates.TransportationAggregates, so a change to Domain.Aggregates.TransportationAggregates can break Domain.Aggregates.LocationAggregates, while a change to Domain.Aggregates.LocationAggregates can't break Domain.Aggregates.TransportationAggregates.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
14→9 Domain.Aggregates.TransactionAggregates uses Domain.Framework.Base✕
- Connections
- 3 pairs of types, where a type in Domain.Aggregates.TransactionAggregates uses a type in Domain.Framework.Base.
- The types involved
AlibabaClone.Domain.Aggregates.TransactionAggregates.Coupon→AlibabaClone.Domain.Framework.Base.EntityAlibabaClone.Domain.Aggregates.TransactionAggregates.Transaction→AlibabaClone.Domain.Framework.Base.EntityAlibabaClone.Domain.Aggregates.TransactionAggregates.TransactionType→AlibabaClone.Domain.Framework.Base.Entity
- Direction
- Domain.Aggregates.TransactionAggregates uses Domain.Framework.Base, so a change to Domain.Framework.Base can break Domain.Aggregates.TransactionAggregates, while a change to Domain.Aggregates.TransactionAggregates can't break Domain.Framework.Base.
- Position
- Below the diagonal: Domain.Aggregates.TransactionAggregates uses a module listed above it, which is the healthy direction.
14→16 Domain.Aggregates.TransactionAggregates uses Domain.Aggregates.AccountAggregates part of a loop✕
- Connections
- 1 pair of types, where a type in Domain.Aggregates.TransactionAggregates uses a type in Domain.Aggregates.AccountAggregates.
- The types involved
AlibabaClone.Domain.Aggregates.TransactionAggregates.Transaction→AlibabaClone.Domain.Aggregates.AccountAggregates.Account
- Direction
- Domain.Aggregates.TransactionAggregates uses Domain.Aggregates.AccountAggregates, so a change to Domain.Aggregates.AccountAggregates can break Domain.Aggregates.TransactionAggregates, while a change to Domain.Aggregates.TransactionAggregates can't break Domain.Aggregates.AccountAggregates.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
14→23 Domain.Aggregates.TransactionAggregates uses Domain.Aggregates.TransportationAggregates part of a loop✕
- Connections
- 1 pair of types, where a type in Domain.Aggregates.TransactionAggregates uses a type in Domain.Aggregates.TransportationAggregates.
- The types involved
AlibabaClone.Domain.Aggregates.TransactionAggregates.Transaction→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketOrder
- Direction
- Domain.Aggregates.TransactionAggregates uses Domain.Aggregates.TransportationAggregates, so a change to Domain.Aggregates.TransportationAggregates can break Domain.Aggregates.TransactionAggregates, while a change to Domain.Aggregates.TransactionAggregates can't break Domain.Aggregates.TransportationAggregates.
- 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.
15→9 Domain.Aggregates.VehicleAggregates uses Domain.Framework.Base✕
- Connections
- 3 pairs of types, where a type in Domain.Aggregates.VehicleAggregates uses a type in Domain.Framework.Base.
- The types involved
AlibabaClone.Domain.Aggregates.VehicleAggregates.Seat→AlibabaClone.Domain.Framework.Base.EntityAlibabaClone.Domain.Aggregates.VehicleAggregates.Vehicle→AlibabaClone.Domain.Framework.Base.EntityAlibabaClone.Domain.Aggregates.VehicleAggregates.VehicleType→AlibabaClone.Domain.Framework.Base.Entity
- Direction
- Domain.Aggregates.VehicleAggregates uses Domain.Framework.Base, so a change to Domain.Framework.Base can break Domain.Aggregates.VehicleAggregates, while a change to Domain.Aggregates.VehicleAggregates can't break Domain.Framework.Base.
- Position
- Below the diagonal: Domain.Aggregates.VehicleAggregates uses a module listed above it, which is the healthy direction.
15→23 Domain.Aggregates.VehicleAggregates uses Domain.Aggregates.TransportationAggregates part of a loop✕
- Connections
- 2 pairs of types, where a type in Domain.Aggregates.VehicleAggregates uses a type in Domain.Aggregates.TransportationAggregates.
- The types involved
AlibabaClone.Domain.Aggregates.VehicleAggregates.Seat→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketAlibabaClone.Domain.Aggregates.VehicleAggregates.Vehicle→AlibabaClone.Domain.Aggregates.TransportationAggregates.Transportation
- Direction
- Domain.Aggregates.VehicleAggregates uses Domain.Aggregates.TransportationAggregates, so a change to Domain.Aggregates.TransportationAggregates can break Domain.Aggregates.VehicleAggregates, while a change to Domain.Aggregates.VehicleAggregates can't break Domain.Aggregates.TransportationAggregates.
- Position
- Above the diagonal, so it is part of a loop. Neither module can be changed, tested or released on its own until one of these dependencies is removed.
16→9 Domain.Aggregates.AccountAggregates uses Domain.Framework.Base✕
- Connections
- 5 pairs of types, where a type in Domain.Aggregates.AccountAggregates uses a type in Domain.Framework.Base.
- The types involved
AlibabaClone.Domain.Aggregates.AccountAggregates.Account→AlibabaClone.Domain.Framework.Base.EntityAlibabaClone.Domain.Aggregates.AccountAggregates.BankAccountDetail→AlibabaClone.Domain.Framework.Base.EntityAlibabaClone.Domain.Aggregates.AccountAggregates.Gender→AlibabaClone.Domain.Framework.Base.EntityAlibabaClone.Domain.Aggregates.AccountAggregates.Person→AlibabaClone.Domain.Framework.Base.EntityAlibabaClone.Domain.Aggregates.AccountAggregates.Role→AlibabaClone.Domain.Framework.Base.Entity
- Direction
- Domain.Aggregates.AccountAggregates uses Domain.Framework.Base, so a change to Domain.Framework.Base can break Domain.Aggregates.AccountAggregates, while a change to Domain.Aggregates.AccountAggregates can't break Domain.Framework.Base.
- Position
- Below the diagonal: Domain.Aggregates.AccountAggregates uses a module listed above it, which is the healthy direction.
16→14 Domain.Aggregates.AccountAggregates uses Domain.Aggregates.TransactionAggregates✕
- Connections
- 1 pair of types, where a type in Domain.Aggregates.AccountAggregates uses a type in Domain.Aggregates.TransactionAggregates.
- The types involved
AlibabaClone.Domain.Aggregates.AccountAggregates.Account→AlibabaClone.Domain.Aggregates.TransactionAggregates.Transaction
- Direction
- Domain.Aggregates.AccountAggregates uses Domain.Aggregates.TransactionAggregates, so a change to Domain.Aggregates.TransactionAggregates can break Domain.Aggregates.AccountAggregates, while a change to Domain.Aggregates.AccountAggregates can't break Domain.Aggregates.TransactionAggregates.
- Position
- Below the diagonal: Domain.Aggregates.AccountAggregates uses a module listed above it, which is the healthy direction.
16→23 Domain.Aggregates.AccountAggregates uses Domain.Aggregates.TransportationAggregates part of a loop✕
- Connections
- 2 pairs of types, where a type in Domain.Aggregates.AccountAggregates uses a type in Domain.Aggregates.TransportationAggregates.
- The types involved
AlibabaClone.Domain.Aggregates.AccountAggregates.Account→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketOrderAlibabaClone.Domain.Aggregates.AccountAggregates.Person→AlibabaClone.Domain.Aggregates.TransportationAggregates.Ticket
- Direction
- Domain.Aggregates.AccountAggregates uses Domain.Aggregates.TransportationAggregates, so a change to Domain.Aggregates.TransportationAggregates can break Domain.Aggregates.AccountAggregates, while a change to Domain.Aggregates.AccountAggregates can't break Domain.Aggregates.TransportationAggregates.
- 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.
17→8 Domain.Framework.Interfaces.Repositories.TransactionRepositories uses Domain.Framework.Interfaces.Repositories✕
- Connections
- 2 pairs of types, where a type in Domain.Framework.Interfaces.Repositories.TransactionRepositories uses a type in Domain.Framework.Interfaces.Repositories.
- The types involved
AlibabaClone.Domain.Framework.Interfaces.Repositories.TransactionRepositories.ICouponRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepositoryAlibabaClone.Domain.Framework.Interfaces.Repositories.TransactionRepositories.ITransactionRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepository
- Direction
- Domain.Framework.Interfaces.Repositories.TransactionRepositories uses Domain.Framework.Interfaces.Repositories, so a change to Domain.Framework.Interfaces.Repositories can break Domain.Framework.Interfaces.Repositories.TransactionRepositories, while a change to Domain.Framework.Interfaces.Repositories.TransactionRepositories can't break Domain.Framework.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Framework.Interfaces.Repositories.TransactionRepositories uses a module listed above it, which is the healthy direction.
17→14 Domain.Framework.Interfaces.Repositories.TransactionRepositories uses Domain.Aggregates.TransactionAggregates✕
- Connections
- 2 pairs of types, where a type in Domain.Framework.Interfaces.Repositories.TransactionRepositories uses a type in Domain.Aggregates.TransactionAggregates.
- The types involved
AlibabaClone.Domain.Framework.Interfaces.Repositories.TransactionRepositories.ICouponRepository→AlibabaClone.Domain.Aggregates.TransactionAggregates.CouponAlibabaClone.Domain.Framework.Interfaces.Repositories.TransactionRepositories.ITransactionRepository→AlibabaClone.Domain.Aggregates.TransactionAggregates.Transaction
- Direction
- Domain.Framework.Interfaces.Repositories.TransactionRepositories uses Domain.Aggregates.TransactionAggregates, so a change to Domain.Aggregates.TransactionAggregates can break Domain.Framework.Interfaces.Repositories.TransactionRepositories, while a change to Domain.Framework.Interfaces.Repositories.TransactionRepositories can't break Domain.Aggregates.TransactionAggregates.
- Position
- Below the diagonal: Domain.Framework.Interfaces.Repositories.TransactionRepositories uses a module listed above it, which is the healthy direction.
18→8 Domain.Framework.Interfaces.Repositories.VehicleRepositories uses Domain.Framework.Interfaces.Repositories✕
- Connections
- 3 pairs of types, where a type in Domain.Framework.Interfaces.Repositories.VehicleRepositories uses a type in Domain.Framework.Interfaces.Repositories.
- The types involved
AlibabaClone.Domain.Framework.Interfaces.Repositories.VehicleRepositories.ISeatRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepositoryAlibabaClone.Domain.Framework.Interfaces.Repositories.VehicleRepositories.IVehicleRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepositoryAlibabaClone.Domain.Framework.Interfaces.Repositories.VehicleRepositories.IVehicleTypeRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepository
- Direction
- Domain.Framework.Interfaces.Repositories.VehicleRepositories uses Domain.Framework.Interfaces.Repositories, so a change to Domain.Framework.Interfaces.Repositories can break Domain.Framework.Interfaces.Repositories.VehicleRepositories, while a change to Domain.Framework.Interfaces.Repositories.VehicleRepositories can't break Domain.Framework.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Framework.Interfaces.Repositories.VehicleRepositories uses a module listed above it, which is the healthy direction.
18→15 Domain.Framework.Interfaces.Repositories.VehicleRepositories uses Domain.Aggregates.VehicleAggregates✕
- Connections
- 1 pair of types, where a type in Domain.Framework.Interfaces.Repositories.VehicleRepositories uses a type in Domain.Aggregates.VehicleAggregates.
- The types involved
AlibabaClone.Domain.Framework.Interfaces.Repositories.VehicleRepositories.ISeatRepository→AlibabaClone.Domain.Aggregates.VehicleAggregates.Seat
- Direction
- Domain.Framework.Interfaces.Repositories.VehicleRepositories uses Domain.Aggregates.VehicleAggregates, so a change to Domain.Aggregates.VehicleAggregates can break Domain.Framework.Interfaces.Repositories.VehicleRepositories, while a change to Domain.Framework.Interfaces.Repositories.VehicleRepositories can't break Domain.Aggregates.VehicleAggregates.
- Position
- Below the diagonal: Domain.Framework.Interfaces.Repositories.VehicleRepositories uses a module listed above it, which is the healthy direction.
19→12 Infrastructure.Configurations.CompanyAggregates uses Domain.Aggregates.CompanyAggregates✕
- Connections
- 1 pair of types, where a type in Infrastructure.Configurations.CompanyAggregates uses a type in Domain.Aggregates.CompanyAggregates.
- The types involved
AlibabaClone.Infrastructure.Configurations.CompanyAggregates.CompanyConfiguration→AlibabaClone.Domain.Aggregates.CompanyAggregates.Company
- Direction
- Infrastructure.Configurations.CompanyAggregates uses Domain.Aggregates.CompanyAggregates, so a change to Domain.Aggregates.CompanyAggregates can break Infrastructure.Configurations.CompanyAggregates, while a change to Infrastructure.Configurations.CompanyAggregates can't break Domain.Aggregates.CompanyAggregates.
- Position
- Below the diagonal: Infrastructure.Configurations.CompanyAggregates uses a module listed above it, which is the healthy direction.
20→13 Infrastructure.Configurations.LocationAggregates uses Domain.Aggregates.LocationAggregates✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Configurations.LocationAggregates uses a type in Domain.Aggregates.LocationAggregates.
- The types involved
AlibabaClone.Infrastructure.Configurations.LocationAggregates.CityConfiguration→AlibabaClone.Domain.Aggregates.LocationAggregates.CityAlibabaClone.Infrastructure.Configurations.LocationAggregates.LocationConfiguration→AlibabaClone.Domain.Aggregates.LocationAggregates.LocationAlibabaClone.Infrastructure.Configurations.LocationAggregates.LocationTypeConfiguration→AlibabaClone.Domain.Aggregates.LocationAggregates.LocationType
- Direction
- Infrastructure.Configurations.LocationAggregates uses Domain.Aggregates.LocationAggregates, so a change to Domain.Aggregates.LocationAggregates can break Infrastructure.Configurations.LocationAggregates, while a change to Infrastructure.Configurations.LocationAggregates can't break Domain.Aggregates.LocationAggregates.
- Position
- Below the diagonal: Infrastructure.Configurations.LocationAggregates uses a module listed above it, which is the healthy direction.
21→14 Infrastructure.Configurations.TransactionAggregates uses Domain.Aggregates.TransactionAggregates✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Configurations.TransactionAggregates uses a type in Domain.Aggregates.TransactionAggregates.
- The types involved
AlibabaClone.Infrastructure.Configurations.TransactionAggregates.CouponConfiguration→AlibabaClone.Domain.Aggregates.TransactionAggregates.CouponAlibabaClone.Infrastructure.Configurations.TransactionAggregates.TransactionConfiguration→AlibabaClone.Domain.Aggregates.TransactionAggregates.TransactionAlibabaClone.Infrastructure.Configurations.TransactionAggregates.TransactionTypeConfiguration→AlibabaClone.Domain.Aggregates.TransactionAggregates.TransactionType
- Direction
- Infrastructure.Configurations.TransactionAggregates uses Domain.Aggregates.TransactionAggregates, so a change to Domain.Aggregates.TransactionAggregates can break Infrastructure.Configurations.TransactionAggregates, while a change to Infrastructure.Configurations.TransactionAggregates can't break Domain.Aggregates.TransactionAggregates.
- Position
- Below the diagonal: Infrastructure.Configurations.TransactionAggregates uses a module listed above it, which is the healthy direction.
22→15 Infrastructure.Configurations.VehicleAggregates uses Domain.Aggregates.VehicleAggregates✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Configurations.VehicleAggregates uses a type in Domain.Aggregates.VehicleAggregates.
- The types involved
AlibabaClone.Infrastructure.Configurations.VehicleAggregates.SeatConfiguration→AlibabaClone.Domain.Aggregates.VehicleAggregates.SeatAlibabaClone.Infrastructure.Configurations.VehicleAggregates.VehicleConfiguration→AlibabaClone.Domain.Aggregates.VehicleAggregates.VehicleAlibabaClone.Infrastructure.Configurations.VehicleAggregates.VehicleTypeConfiguration→AlibabaClone.Domain.Aggregates.VehicleAggregates.VehicleType
- Direction
- Infrastructure.Configurations.VehicleAggregates uses Domain.Aggregates.VehicleAggregates, so a change to Domain.Aggregates.VehicleAggregates can break Infrastructure.Configurations.VehicleAggregates, while a change to Infrastructure.Configurations.VehicleAggregates can't break Domain.Aggregates.VehicleAggregates.
- Position
- Below the diagonal: Infrastructure.Configurations.VehicleAggregates uses a module listed above it, which is the healthy direction.
23→9 Domain.Aggregates.TransportationAggregates uses Domain.Framework.Base✕
- Connections
- 4 pairs of types, where a type in Domain.Aggregates.TransportationAggregates uses a type in Domain.Framework.Base.
- The types involved
AlibabaClone.Domain.Aggregates.TransportationAggregates.Ticket→AlibabaClone.Domain.Framework.Base.EntityAlibabaClone.Domain.Aggregates.TransportationAggregates.TicketOrder→AlibabaClone.Domain.Framework.Base.EntityAlibabaClone.Domain.Aggregates.TransportationAggregates.TicketStatus→AlibabaClone.Domain.Framework.Base.EntityAlibabaClone.Domain.Aggregates.TransportationAggregates.Transportation→AlibabaClone.Domain.Framework.Base.Entity
- Direction
- Domain.Aggregates.TransportationAggregates uses Domain.Framework.Base, so a change to Domain.Framework.Base can break Domain.Aggregates.TransportationAggregates, while a change to Domain.Aggregates.TransportationAggregates can't break Domain.Framework.Base.
- Position
- Below the diagonal: Domain.Aggregates.TransportationAggregates uses a module listed above it, which is the healthy direction.
23→12 Domain.Aggregates.TransportationAggregates uses Domain.Aggregates.CompanyAggregates✕
- Connections
- 1 pair of types, where a type in Domain.Aggregates.TransportationAggregates uses a type in Domain.Aggregates.CompanyAggregates.
- The types involved
AlibabaClone.Domain.Aggregates.TransportationAggregates.Transportation→AlibabaClone.Domain.Aggregates.CompanyAggregates.Company
- Direction
- Domain.Aggregates.TransportationAggregates uses Domain.Aggregates.CompanyAggregates, so a change to Domain.Aggregates.CompanyAggregates can break Domain.Aggregates.TransportationAggregates, while a change to Domain.Aggregates.TransportationAggregates can't break Domain.Aggregates.CompanyAggregates.
- Position
- Below the diagonal: Domain.Aggregates.TransportationAggregates uses a module listed above it, which is the healthy direction.
23→13 Domain.Aggregates.TransportationAggregates uses Domain.Aggregates.LocationAggregates✕
- Connections
- 1 pair of types, where a type in Domain.Aggregates.TransportationAggregates uses a type in Domain.Aggregates.LocationAggregates.
- The types involved
AlibabaClone.Domain.Aggregates.TransportationAggregates.Transportation→AlibabaClone.Domain.Aggregates.LocationAggregates.Location
- Direction
- Domain.Aggregates.TransportationAggregates uses Domain.Aggregates.LocationAggregates, so a change to Domain.Aggregates.LocationAggregates can break Domain.Aggregates.TransportationAggregates, while a change to Domain.Aggregates.TransportationAggregates can't break Domain.Aggregates.LocationAggregates.
- Position
- Below the diagonal: Domain.Aggregates.TransportationAggregates uses a module listed above it, which is the healthy direction.
23→14 Domain.Aggregates.TransportationAggregates uses Domain.Aggregates.TransactionAggregates✕
- Connections
- 1 pair of types, where a type in Domain.Aggregates.TransportationAggregates uses a type in Domain.Aggregates.TransactionAggregates.
- The types involved
AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketOrder→AlibabaClone.Domain.Aggregates.TransactionAggregates.Transaction
- Direction
- Domain.Aggregates.TransportationAggregates uses Domain.Aggregates.TransactionAggregates, so a change to Domain.Aggregates.TransactionAggregates can break Domain.Aggregates.TransportationAggregates, while a change to Domain.Aggregates.TransportationAggregates can't break Domain.Aggregates.TransactionAggregates.
- Position
- Below the diagonal: Domain.Aggregates.TransportationAggregates uses a module listed above it, which is the healthy direction.
23→15 Domain.Aggregates.TransportationAggregates uses Domain.Aggregates.VehicleAggregates✕
- Connections
- 2 pairs of types, where a type in Domain.Aggregates.TransportationAggregates uses a type in Domain.Aggregates.VehicleAggregates.
- The types involved
AlibabaClone.Domain.Aggregates.TransportationAggregates.Ticket→AlibabaClone.Domain.Aggregates.VehicleAggregates.SeatAlibabaClone.Domain.Aggregates.TransportationAggregates.Transportation→AlibabaClone.Domain.Aggregates.VehicleAggregates.Vehicle
- Direction
- Domain.Aggregates.TransportationAggregates uses Domain.Aggregates.VehicleAggregates, so a change to Domain.Aggregates.VehicleAggregates can break Domain.Aggregates.TransportationAggregates, while a change to Domain.Aggregates.TransportationAggregates can't break Domain.Aggregates.VehicleAggregates.
- Position
- Below the diagonal: Domain.Aggregates.TransportationAggregates uses a module listed above it, which is the healthy direction.
23→16 Domain.Aggregates.TransportationAggregates uses Domain.Aggregates.AccountAggregates✕
- Connections
- 2 pairs of types, where a type in Domain.Aggregates.TransportationAggregates uses a type in Domain.Aggregates.AccountAggregates.
- The types involved
AlibabaClone.Domain.Aggregates.TransportationAggregates.Ticket→AlibabaClone.Domain.Aggregates.AccountAggregates.PersonAlibabaClone.Domain.Aggregates.TransportationAggregates.TicketOrder→AlibabaClone.Domain.Aggregates.AccountAggregates.Account
- Direction
- Domain.Aggregates.TransportationAggregates uses Domain.Aggregates.AccountAggregates, so a change to Domain.Aggregates.AccountAggregates can break Domain.Aggregates.TransportationAggregates, while a change to Domain.Aggregates.TransportationAggregates can't break Domain.Aggregates.AccountAggregates.
- Position
- Below the diagonal: Domain.Aggregates.TransportationAggregates uses a module listed above it, which is the healthy direction.
24→8 Domain.Framework.Interfaces.Repositories.AccountRepositories uses Domain.Framework.Interfaces.Repositories✕
- Connections
- 5 pairs of types, where a type in Domain.Framework.Interfaces.Repositories.AccountRepositories uses a type in Domain.Framework.Interfaces.Repositories.
- The types involved
AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IAccountRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepositoryAlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IBankAccountDetailRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepositoryAlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IGenderRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepositoryAlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IPersonRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepositoryAlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IRoleRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepository
- Direction
- Domain.Framework.Interfaces.Repositories.AccountRepositories uses Domain.Framework.Interfaces.Repositories, so a change to Domain.Framework.Interfaces.Repositories can break Domain.Framework.Interfaces.Repositories.AccountRepositories, while a change to Domain.Framework.Interfaces.Repositories.AccountRepositories can't break Domain.Framework.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Framework.Interfaces.Repositories.AccountRepositories uses a module listed above it, which is the healthy direction.
24→16 Domain.Framework.Interfaces.Repositories.AccountRepositories uses Domain.Aggregates.AccountAggregates✕
- Connections
- 4 pairs of types, where a type in Domain.Framework.Interfaces.Repositories.AccountRepositories uses a type in Domain.Aggregates.AccountAggregates.
- The types involved
AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IAccountRepository→AlibabaClone.Domain.Aggregates.AccountAggregates.AccountAlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IAccountRepository→AlibabaClone.Domain.Aggregates.AccountAggregates.AccountRoleAlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IBankAccountDetailRepository→AlibabaClone.Domain.Aggregates.AccountAggregates.BankAccountDetailAlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IPersonRepository→AlibabaClone.Domain.Aggregates.AccountAggregates.Person
- Direction
- Domain.Framework.Interfaces.Repositories.AccountRepositories uses Domain.Aggregates.AccountAggregates, so a change to Domain.Aggregates.AccountAggregates can break Domain.Framework.Interfaces.Repositories.AccountRepositories, while a change to Domain.Framework.Interfaces.Repositories.AccountRepositories can't break Domain.Aggregates.AccountAggregates.
- Position
- Below the diagonal: Domain.Framework.Interfaces.Repositories.AccountRepositories uses a module listed above it, which is the healthy direction.
25→16 Infrastructure.Configurations.AccountAggregates uses Domain.Aggregates.AccountAggregates✕
- Connections
- 6 pairs of types, where a type in Infrastructure.Configurations.AccountAggregates uses a type in Domain.Aggregates.AccountAggregates.
- The types involved
AlibabaClone.Infrastructure.Configurations.AccountAggregates.AccountConfiguration→AlibabaClone.Domain.Aggregates.AccountAggregates.AccountAlibabaClone.Infrastructure.Configurations.AccountAggregates.AccountRoleConfiguration→AlibabaClone.Domain.Aggregates.AccountAggregates.AccountRoleAlibabaClone.Infrastructure.Configurations.AccountAggregates.BankAccountDetailConfiguration→AlibabaClone.Domain.Aggregates.AccountAggregates.BankAccountDetailAlibabaClone.Infrastructure.Configurations.AccountAggregates.GenderConfiguration→AlibabaClone.Domain.Aggregates.AccountAggregates.GenderAlibabaClone.Infrastructure.Configurations.AccountAggregates.PersonConfiguration→AlibabaClone.Domain.Aggregates.AccountAggregates.PersonAlibabaClone.Infrastructure.Configurations.AccountAggregates.RoleConfiguration→AlibabaClone.Domain.Aggregates.AccountAggregates.Role
- Direction
- Infrastructure.Configurations.AccountAggregates uses Domain.Aggregates.AccountAggregates, so a change to Domain.Aggregates.AccountAggregates can break Infrastructure.Configurations.AccountAggregates, while a change to Infrastructure.Configurations.AccountAggregates can't break Domain.Aggregates.AccountAggregates.
- Position
- Below the diagonal: Infrastructure.Configurations.AccountAggregates uses a module listed above it, which is the healthy direction.
26→1 Application.Interfaces uses Application.DTOs.Account✕
- Connections
- 5 pairs of types, where a type in Application.Interfaces uses a type in Application.DTOs.Account.
- The types involved
AlibabaClone.Application.Interfaces.IAccountService→AlibabaClone.Application.DTOs.Account.PersonDtoAlibabaClone.Application.Interfaces.IAccountService→AlibabaClone.Application.DTOs.Account.ProfileDtoAlibabaClone.Application.Interfaces.IAccountService→AlibabaClone.Application.DTOs.Account.TopUpDtoAlibabaClone.Application.Interfaces.IAccountService→AlibabaClone.Application.DTOs.Account.UpsertBankAccountDetailDtoAlibabaClone.Application.Interfaces.IPersonService→AlibabaClone.Application.DTOs.Account.PersonDto
- Direction
- Application.Interfaces uses Application.DTOs.Account, so a change to Application.DTOs.Account can break Application.Interfaces, while a change to Application.Interfaces can't break Application.DTOs.Account.
- Position
- Below the diagonal: Application.Interfaces uses a module listed above it, which is the healthy direction.
26→2 Application.Interfaces uses Application.DTOs.Authentication✕
- Connections
- 3 pairs of types, where a type in Application.Interfaces uses a type in Application.DTOs.Authentication.
- The types involved
AlibabaClone.Application.Interfaces.IAuthService→AlibabaClone.Application.DTOs.Authentication.AuthResponseDtoAlibabaClone.Application.Interfaces.IAuthService→AlibabaClone.Application.DTOs.Authentication.LoginRequestDtoAlibabaClone.Application.Interfaces.IAuthService→AlibabaClone.Application.DTOs.Authentication.RegisterRequestDto
- Direction
- Application.Interfaces uses Application.DTOs.Authentication, so a change to Application.DTOs.Authentication can break Application.Interfaces, while a change to Application.Interfaces can't break Application.DTOs.Authentication.
- Position
- Below the diagonal: Application.Interfaces uses a module listed above it, which is the healthy direction.
26→3 Application.Interfaces uses Application.DTOs.City✕
- Connections
- 1 pair of types, where a type in Application.Interfaces uses a type in Application.DTOs.City.
- The types involved
AlibabaClone.Application.Interfaces.ICityService→AlibabaClone.Application.DTOs.City.CityDto
- Direction
- Application.Interfaces uses Application.DTOs.City, so a change to Application.DTOs.City can break Application.Interfaces, while a change to Application.Interfaces can't break Application.DTOs.City.
- Position
- Below the diagonal: Application.Interfaces uses a module listed above it, which is the healthy direction.
26→4 Application.Interfaces uses Application.DTOs.Transaction✕
- Connections
- 4 pairs of types, where a type in Application.Interfaces uses a type in Application.DTOs.Transaction.
- The types involved
AlibabaClone.Application.Interfaces.IAccountService→AlibabaClone.Application.DTOs.Transaction.TransactionDtoAlibabaClone.Application.Interfaces.ICouponService→AlibabaClone.Application.DTOs.Transaction.CouponValidationRequestDtoAlibabaClone.Application.Interfaces.ICouponService→AlibabaClone.Application.DTOs.Transaction.DiscountDtoAlibabaClone.Application.Interfaces.ITransactionService→AlibabaClone.Application.DTOs.Transaction.TransactionDto
- Direction
- Application.Interfaces uses Application.DTOs.Transaction, so a change to Application.DTOs.Transaction can break Application.Interfaces, while a change to Application.Interfaces can't break Application.DTOs.Transaction.
- Position
- Below the diagonal: Application.Interfaces uses a module listed above it, which is the healthy direction.
26→5 Application.Interfaces uses Application.DTOs.Transportation✕
- Connections
- 6 pairs of types, where a type in Application.Interfaces uses a type in Application.DTOs.Transportation.
- The types involved
AlibabaClone.Application.Interfaces.IAccountService→AlibabaClone.Application.DTOs.Transportation.TicketOrderSummaryDtoAlibabaClone.Application.Interfaces.IAccountService→AlibabaClone.Application.DTOs.Transportation.TravelerTicketDtoAlibabaClone.Application.Interfaces.ITicketOrderService→AlibabaClone.Application.DTOs.Transportation.CreateTicketOrderDtoAlibabaClone.Application.Interfaces.ITransportationService→AlibabaClone.Application.DTOs.Transportation.TransportationSearchRequestDtoAlibabaClone.Application.Interfaces.ITransportationService→AlibabaClone.Application.DTOs.Transportation.TransportationSearchResultDtoAlibabaClone.Application.Interfaces.ITransportationService→AlibabaClone.Application.DTOs.Transportation.TransportationSeatDto
- Direction
- Application.Interfaces uses Application.DTOs.Transportation, so a change to Application.DTOs.Transportation can break Application.Interfaces, while a change to Application.Interfaces can't break Application.DTOs.Transportation.
- Position
- Below the diagonal: Application.Interfaces uses a module listed above it, which is the healthy direction.
26→6 Application.Interfaces uses Application.Result✕
- Connections
- 8 pairs of types, where a type in Application.Interfaces uses a type in Application.Result.
- The types involved
AlibabaClone.Application.Interfaces.IAccountService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Interfaces.IAuthService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Interfaces.ICityService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Interfaces.ICouponService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Interfaces.IPersonService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Interfaces.ITicketOrderService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Interfaces.ITransactionService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Interfaces.ITransportationService→AlibabaClone.Application.Result.Result
- Direction
- Application.Interfaces uses Application.Result, so a change to Application.Result can break Application.Interfaces, while a change to Application.Interfaces can't break Application.Result.
- Position
- Below the diagonal: Application.Interfaces uses a module listed above it, which is the healthy direction.
26→23 Application.Interfaces uses Domain.Aggregates.TransportationAggregates✕
- Connections
- 1 pair of types, where a type in Application.Interfaces uses a type in Domain.Aggregates.TransportationAggregates.
- The types involved
AlibabaClone.Application.Interfaces.IPdfGenerator→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketOrder
- Direction
- Application.Interfaces uses Domain.Aggregates.TransportationAggregates, so a change to Domain.Aggregates.TransportationAggregates can break Application.Interfaces, while a change to Application.Interfaces can't break Domain.Aggregates.TransportationAggregates.
- Position
- Below the diagonal: Application.Interfaces uses a module listed above it, which is the healthy direction.
27→8 Domain.Framework.Interfaces.Repositories.TransportationRepositories uses Domain.Framework.Interfaces.Repositories✕
- Connections
- 4 pairs of types, where a type in Domain.Framework.Interfaces.Repositories.TransportationRepositories uses a type in Domain.Framework.Interfaces.Repositories.
- The types involved
AlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITicketOrderRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepositoryAlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITicketRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepositoryAlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITicketStatusRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepositoryAlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITransportationRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepository
- Direction
- Domain.Framework.Interfaces.Repositories.TransportationRepositories uses Domain.Framework.Interfaces.Repositories, so a change to Domain.Framework.Interfaces.Repositories can break Domain.Framework.Interfaces.Repositories.TransportationRepositories, while a change to Domain.Framework.Interfaces.Repositories.TransportationRepositories can't break Domain.Framework.Interfaces.Repositories.
- Position
- Below the diagonal: Domain.Framework.Interfaces.Repositories.TransportationRepositories uses a module listed above it, which is the healthy direction.
27→23 Domain.Framework.Interfaces.Repositories.TransportationRepositories uses Domain.Aggregates.TransportationAggregates✕
- Connections
- 3 pairs of types, where a type in Domain.Framework.Interfaces.Repositories.TransportationRepositories uses a type in Domain.Aggregates.TransportationAggregates.
- The types involved
AlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITicketOrderRepository→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketOrderAlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITicketRepository→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketAlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITransportationRepository→AlibabaClone.Domain.Aggregates.TransportationAggregates.Transportation
- Direction
- Domain.Framework.Interfaces.Repositories.TransportationRepositories uses Domain.Aggregates.TransportationAggregates, so a change to Domain.Aggregates.TransportationAggregates can break Domain.Framework.Interfaces.Repositories.TransportationRepositories, while a change to Domain.Framework.Interfaces.Repositories.TransportationRepositories can't break Domain.Aggregates.TransportationAggregates.
- Position
- Below the diagonal: Domain.Framework.Interfaces.Repositories.TransportationRepositories uses a module listed above it, which is the healthy direction.
28→12 Infrastructure uses Domain.Aggregates.CompanyAggregates✕
- Connections
- 1 pair of types, where a type in Infrastructure uses a type in Domain.Aggregates.CompanyAggregates.
- The types involved
AlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.CompanyAggregates.Company
- Direction
- Infrastructure uses Domain.Aggregates.CompanyAggregates, so a change to Domain.Aggregates.CompanyAggregates can break Infrastructure, while a change to Infrastructure can't break Domain.Aggregates.CompanyAggregates.
- Position
- Below the diagonal: Infrastructure uses a module listed above it, which is the healthy direction.
28→13 Infrastructure uses Domain.Aggregates.LocationAggregates✕
- Connections
- 3 pairs of types, where a type in Infrastructure uses a type in Domain.Aggregates.LocationAggregates.
- The types involved
AlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.LocationAggregates.CityAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.LocationAggregates.LocationAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.LocationAggregates.LocationType
- Direction
- Infrastructure uses Domain.Aggregates.LocationAggregates, so a change to Domain.Aggregates.LocationAggregates can break Infrastructure, while a change to Infrastructure can't break Domain.Aggregates.LocationAggregates.
- Position
- Below the diagonal: Infrastructure uses a module listed above it, which is the healthy direction.
28→14 Infrastructure uses Domain.Aggregates.TransactionAggregates✕
- Connections
- 3 pairs of types, where a type in Infrastructure uses a type in Domain.Aggregates.TransactionAggregates.
- The types involved
AlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.TransactionAggregates.CouponAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.TransactionAggregates.TransactionAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.TransactionAggregates.TransactionType
- Direction
- Infrastructure uses Domain.Aggregates.TransactionAggregates, so a change to Domain.Aggregates.TransactionAggregates can break Infrastructure, while a change to Infrastructure can't break Domain.Aggregates.TransactionAggregates.
- Position
- Below the diagonal: Infrastructure uses a module listed above it, which is the healthy direction.
28→15 Infrastructure uses Domain.Aggregates.VehicleAggregates✕
- Connections
- 3 pairs of types, where a type in Infrastructure uses a type in Domain.Aggregates.VehicleAggregates.
- The types involved
AlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.VehicleAggregates.SeatAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.VehicleAggregates.VehicleAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.VehicleAggregates.VehicleType
- Direction
- Infrastructure uses Domain.Aggregates.VehicleAggregates, so a change to Domain.Aggregates.VehicleAggregates can break Infrastructure, while a change to Infrastructure can't break Domain.Aggregates.VehicleAggregates.
- Position
- Below the diagonal: Infrastructure uses a module listed above it, which is the healthy direction.
28→16 Infrastructure uses Domain.Aggregates.AccountAggregates✕
- Connections
- 6 pairs of types, where a type in Infrastructure uses a type in Domain.Aggregates.AccountAggregates.
- The types involved
AlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.AccountAggregates.AccountAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.AccountAggregates.AccountRoleAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.AccountAggregates.BankAccountDetailAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.AccountAggregates.GenderAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.AccountAggregates.PersonAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.AccountAggregates.Role
- Direction
- Infrastructure uses Domain.Aggregates.AccountAggregates, so a change to Domain.Aggregates.AccountAggregates can break Infrastructure, while a change to Infrastructure can't break Domain.Aggregates.AccountAggregates.
- Position
- Below the diagonal: Infrastructure uses a module listed above it, which is the healthy direction.
28→23 Infrastructure uses Domain.Aggregates.TransportationAggregates✕
- Connections
- 4 pairs of types, where a type in Infrastructure uses a type in Domain.Aggregates.TransportationAggregates.
- The types involved
AlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketOrderAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketStatusAlibabaClone.Infrastructure.ApplicationDBContext→AlibabaClone.Domain.Aggregates.TransportationAggregates.Transportation
- Direction
- Infrastructure uses Domain.Aggregates.TransportationAggregates, so a change to Domain.Aggregates.TransportationAggregates can break Infrastructure, while a change to Infrastructure can't break Domain.Aggregates.TransportationAggregates.
- Position
- Below the diagonal: Infrastructure uses a module listed above it, which is the healthy direction.
29→23 Infrastructure.Configurations.TransportationAggregates uses Domain.Aggregates.TransportationAggregates✕
- Connections
- 4 pairs of types, where a type in Infrastructure.Configurations.TransportationAggregates uses a type in Domain.Aggregates.TransportationAggregates.
- The types involved
AlibabaClone.Infrastructure.Configurations.TransportationAggregates.TicketConfiguration→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketAlibabaClone.Infrastructure.Configurations.TransportationAggregates.TicketOrderConfiguration→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketOrderAlibabaClone.Infrastructure.Configurations.TransportationAggregates.TicketStatusConfiguration→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketStatusAlibabaClone.Infrastructure.Configurations.TransportationAggregates.TransportationConfiguration→AlibabaClone.Domain.Aggregates.TransportationAggregates.Transportation
- Direction
- Infrastructure.Configurations.TransportationAggregates uses Domain.Aggregates.TransportationAggregates, so a change to Domain.Aggregates.TransportationAggregates can break Infrastructure.Configurations.TransportationAggregates, while a change to Infrastructure.Configurations.TransportationAggregates can't break Domain.Aggregates.TransportationAggregates.
- Position
- Below the diagonal: Infrastructure.Configurations.TransportationAggregates uses a module listed above it, which is the healthy direction.
30→1 Application.Services uses Application.DTOs.Account✕
- Connections
- 5 pairs of types, where a type in Application.Services uses a type in Application.DTOs.Account.
- The types involved
AlibabaClone.Application.Services.AccountService→AlibabaClone.Application.DTOs.Account.PersonDtoAlibabaClone.Application.Services.AccountService→AlibabaClone.Application.DTOs.Account.ProfileDtoAlibabaClone.Application.Services.AccountService→AlibabaClone.Application.DTOs.Account.TopUpDtoAlibabaClone.Application.Services.AccountService→AlibabaClone.Application.DTOs.Account.UpsertBankAccountDetailDtoAlibabaClone.Application.Services.PersonService→AlibabaClone.Application.DTOs.Account.PersonDto
- Direction
- Application.Services uses Application.DTOs.Account, so a change to Application.DTOs.Account can break Application.Services, while a change to Application.Services can't break Application.DTOs.Account.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→2 Application.Services uses Application.DTOs.Authentication✕
- Connections
- 3 pairs of types, where a type in Application.Services uses a type in Application.DTOs.Authentication.
- The types involved
AlibabaClone.Application.Services.AuthService→AlibabaClone.Application.DTOs.Authentication.AuthResponseDtoAlibabaClone.Application.Services.AuthService→AlibabaClone.Application.DTOs.Authentication.LoginRequestDtoAlibabaClone.Application.Services.AuthService→AlibabaClone.Application.DTOs.Authentication.RegisterRequestDto
- Direction
- Application.Services uses Application.DTOs.Authentication, so a change to Application.DTOs.Authentication can break Application.Services, while a change to Application.Services can't break Application.DTOs.Authentication.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→3 Application.Services uses Application.DTOs.City✕
- Connections
- 1 pair of types, where a type in Application.Services uses a type in Application.DTOs.City.
- The types involved
AlibabaClone.Application.Services.CityService→AlibabaClone.Application.DTOs.City.CityDto
- Direction
- Application.Services uses Application.DTOs.City, so a change to Application.DTOs.City can break Application.Services, while a change to Application.Services can't break Application.DTOs.City.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→4 Application.Services uses Application.DTOs.Transaction✕
- Connections
- 4 pairs of types, where a type in Application.Services uses a type in Application.DTOs.Transaction.
- The types involved
AlibabaClone.Application.Services.AccountService→AlibabaClone.Application.DTOs.Transaction.TransactionDtoAlibabaClone.Application.Services.CouponService→AlibabaClone.Application.DTOs.Transaction.CouponValidationRequestDtoAlibabaClone.Application.Services.CouponService→AlibabaClone.Application.DTOs.Transaction.DiscountDtoAlibabaClone.Application.Services.TransactionService→AlibabaClone.Application.DTOs.Transaction.TransactionDto
- Direction
- Application.Services uses Application.DTOs.Transaction, so a change to Application.DTOs.Transaction can break Application.Services, while a change to Application.Services can't break Application.DTOs.Transaction.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→5 Application.Services uses Application.DTOs.Transportation✕
- Connections
- 7 pairs of types, where a type in Application.Services uses a type in Application.DTOs.Transportation.
- The types involved
AlibabaClone.Application.Services.AccountService→AlibabaClone.Application.DTOs.Transportation.TicketOrderSummaryDtoAlibabaClone.Application.Services.AccountService→AlibabaClone.Application.DTOs.Transportation.TravelerTicketDtoAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Application.DTOs.Transportation.CreateTicketOrderDtoAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Application.DTOs.Transportation.CreateTravelerTicketDtoAlibabaClone.Application.Services.TransportationService→AlibabaClone.Application.DTOs.Transportation.TransportationSearchRequestDtoAlibabaClone.Application.Services.TransportationService→AlibabaClone.Application.DTOs.Transportation.TransportationSearchResultDtoAlibabaClone.Application.Services.TransportationService→AlibabaClone.Application.DTOs.Transportation.TransportationSeatDto
- Direction
- Application.Services uses Application.DTOs.Transportation, so a change to Application.DTOs.Transportation can break Application.Services, while a change to Application.Services can't break Application.DTOs.Transportation.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→6 Application.Services uses Application.Result✕
- Connections
- 8 pairs of types, where a type in Application.Services uses a type in Application.Result.
- The types involved
AlibabaClone.Application.Services.AccountService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Services.AuthService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Services.CityService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Services.CouponService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Services.PersonService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Services.TransactionService→AlibabaClone.Application.Result.ResultAlibabaClone.Application.Services.TransportationService→AlibabaClone.Application.Result.Result
- Direction
- Application.Services uses Application.Result, so a change to Application.Result can break Application.Services, while a change to Application.Services can't break Application.Result.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→7 Application.Services uses Domain.Framework.Interfaces✕
- Connections
- 7 pairs of types, where a type in Application.Services uses a type in Domain.Framework.Interfaces.
- The types involved
AlibabaClone.Application.Services.AccountService→AlibabaClone.Domain.Framework.Interfaces.IUnitOfWorkAlibabaClone.Application.Services.AuthService→AlibabaClone.Domain.Framework.Interfaces.IUnitOfWorkAlibabaClone.Application.Services.CityService→AlibabaClone.Domain.Framework.Interfaces.IUnitOfWorkAlibabaClone.Application.Services.PersonService→AlibabaClone.Domain.Framework.Interfaces.IUnitOfWorkAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Domain.Framework.Interfaces.IUnitOfWorkAlibabaClone.Application.Services.TransactionService→AlibabaClone.Domain.Framework.Interfaces.IUnitOfWorkAlibabaClone.Application.Services.TransportationService→AlibabaClone.Domain.Framework.Interfaces.IUnitOfWork
- Direction
- Application.Services uses Domain.Framework.Interfaces, so a change to Domain.Framework.Interfaces can break Application.Services, while a change to Application.Services can't break Domain.Framework.Interfaces.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→11 Application.Services uses Domain.Framework.Interfaces.Repositories.LocationRepositories✕
- Connections
- 1 pair of types, where a type in Application.Services uses a type in Domain.Framework.Interfaces.Repositories.LocationRepositories.
- The types involved
AlibabaClone.Application.Services.CityService→AlibabaClone.Domain.Framework.Interfaces.Repositories.LocationRepositories.ICityRepository
- Direction
- Application.Services uses Domain.Framework.Interfaces.Repositories.LocationRepositories, so a change to Domain.Framework.Interfaces.Repositories.LocationRepositories can break Application.Services, while a change to Application.Services can't break Domain.Framework.Interfaces.Repositories.LocationRepositories.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→14 Application.Services uses Domain.Aggregates.TransactionAggregates✕
- Connections
- 1 pair of types, where a type in Application.Services uses a type in Domain.Aggregates.TransactionAggregates.
- The types involved
AlibabaClone.Application.Services.CouponService→AlibabaClone.Domain.Aggregates.TransactionAggregates.Coupon
- Direction
- Application.Services uses Domain.Aggregates.TransactionAggregates, so a change to Domain.Aggregates.TransactionAggregates can break Application.Services, while a change to Application.Services can't break Domain.Aggregates.TransactionAggregates.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→17 Application.Services uses Domain.Framework.Interfaces.Repositories.TransactionRepositories✕
- Connections
- 4 pairs of types, where a type in Application.Services uses a type in Domain.Framework.Interfaces.Repositories.TransactionRepositories.
- The types involved
AlibabaClone.Application.Services.AccountService→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransactionRepositories.ITransactionRepositoryAlibabaClone.Application.Services.CouponService→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransactionRepositories.ICouponRepositoryAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransactionRepositories.ICouponRepositoryAlibabaClone.Application.Services.TransactionService→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransactionRepositories.ITransactionRepository
- Direction
- Application.Services uses Domain.Framework.Interfaces.Repositories.TransactionRepositories, so a change to Domain.Framework.Interfaces.Repositories.TransactionRepositories can break Application.Services, while a change to Application.Services can't break Domain.Framework.Interfaces.Repositories.TransactionRepositories.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→18 Application.Services uses Domain.Framework.Interfaces.Repositories.VehicleRepositories✕
- Connections
- 2 pairs of types, where a type in Application.Services uses a type in Domain.Framework.Interfaces.Repositories.VehicleRepositories.
- The types involved
AlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Domain.Framework.Interfaces.Repositories.VehicleRepositories.ISeatRepositoryAlibabaClone.Application.Services.TransportationService→AlibabaClone.Domain.Framework.Interfaces.Repositories.VehicleRepositories.ISeatRepository
- Direction
- Application.Services uses Domain.Framework.Interfaces.Repositories.VehicleRepositories, so a change to Domain.Framework.Interfaces.Repositories.VehicleRepositories can break Application.Services, while a change to Application.Services can't break Domain.Framework.Interfaces.Repositories.VehicleRepositories.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→23 Application.Services uses Domain.Aggregates.TransportationAggregates✕
- Connections
- 1 pair of types, where a type in Application.Services uses a type in Domain.Aggregates.TransportationAggregates.
- The types involved
AlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Domain.Aggregates.TransportationAggregates.Transportation
- Direction
- Application.Services uses Domain.Aggregates.TransportationAggregates, so a change to Domain.Aggregates.TransportationAggregates can break Application.Services, while a change to Application.Services can't break Domain.Aggregates.TransportationAggregates.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→24 Application.Services uses Domain.Framework.Interfaces.Repositories.AccountRepositories✕
- Connections
- 9 pairs of types, where a type in Application.Services uses a type in Domain.Framework.Interfaces.Repositories.AccountRepositories.
- The types involved
AlibabaClone.Application.Services.AccountService→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IAccountRepositoryAlibabaClone.Application.Services.AccountService→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IBankAccountDetailRepositoryAlibabaClone.Application.Services.AccountService→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IPersonRepositoryAlibabaClone.Application.Services.AuthService→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IAccountRepositoryAlibabaClone.Application.Services.CouponService→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IAccountRepositoryAlibabaClone.Application.Services.PersonService→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IAccountRepositoryAlibabaClone.Application.Services.PersonService→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IPersonRepositoryAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IAccountRepositoryAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IPersonRepository
- Direction
- Application.Services uses Domain.Framework.Interfaces.Repositories.AccountRepositories, so a change to Domain.Framework.Interfaces.Repositories.AccountRepositories can break Application.Services, while a change to Application.Services can't break Domain.Framework.Interfaces.Repositories.AccountRepositories.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→26 Application.Services uses Application.Interfaces✕
- Connections
- 16 pairs of types, where a type in Application.Services uses a type in Application.Interfaces.
- The types involved
AlibabaClone.Application.Services.AccountService→AlibabaClone.Application.Interfaces.IAccountServiceAlibabaClone.Application.Services.AccountService→AlibabaClone.Application.Interfaces.ITransactionServiceAlibabaClone.Application.Services.AuthService→AlibabaClone.Application.Interfaces.IAuthServiceAlibabaClone.Application.Services.CityService→AlibabaClone.Application.Interfaces.ICityServiceAlibabaClone.Application.Services.CouponService→AlibabaClone.Application.Interfaces.ICouponServiceAlibabaClone.Application.Services.PersonService→AlibabaClone.Application.Interfaces.IPersonServiceAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Application.Interfaces.IAccountServiceAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Application.Interfaces.ICouponServiceAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Application.Interfaces.IPdfGeneratorAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Application.Interfaces.IPersonServiceAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Application.Interfaces.ITicketOrderServiceAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Application.Interfaces.ITransactionServiceAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Application.Interfaces.ITransportationLockServiceAlibabaClone.Application.Services.TransactionService→AlibabaClone.Application.Interfaces.ITransactionServiceAlibabaClone.Application.Services.TransportationLockService→AlibabaClone.Application.Interfaces.ITransportationLockServiceAlibabaClone.Application.Services.TransportationService→AlibabaClone.Application.Interfaces.ITransportationService
- Direction
- Application.Services uses Application.Interfaces, so a change to Application.Interfaces can break Application.Services, while a change to Application.Services can't break Application.Interfaces.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
30→27 Application.Services uses Domain.Framework.Interfaces.Repositories.TransportationRepositories✕
- Connections
- 6 pairs of types, where a type in Application.Services uses a type in Domain.Framework.Interfaces.Repositories.TransportationRepositories.
- The types involved
AlibabaClone.Application.Services.AccountService→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITicketOrderRepositoryAlibabaClone.Application.Services.AccountService→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITicketRepositoryAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITicketOrderRepositoryAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITicketRepositoryAlibabaClone.Application.Services.TicketOrderService→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITransportationRepositoryAlibabaClone.Application.Services.TransportationService→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITransportationRepository
- Direction
- Application.Services uses Domain.Framework.Interfaces.Repositories.TransportationRepositories, so a change to Domain.Framework.Interfaces.Repositories.TransportationRepositories can break Application.Services, while a change to Application.Services can't break Domain.Framework.Interfaces.Repositories.TransportationRepositories.
- Position
- Below the diagonal: Application.Services uses a module listed above it, which is the healthy direction.
31→7 Infrastructure.Framework.Base uses Domain.Framework.Interfaces✕
- Connections
- 1 pair of types, where a type in Infrastructure.Framework.Base uses a type in Domain.Framework.Interfaces.
- The types involved
AlibabaClone.Infrastructure.Framework.Base.UnitOfWork→AlibabaClone.Domain.Framework.Interfaces.IUnitOfWork
- Direction
- Infrastructure.Framework.Base uses Domain.Framework.Interfaces, so a change to Domain.Framework.Interfaces can break Infrastructure.Framework.Base, while a change to Infrastructure.Framework.Base can't break Domain.Framework.Interfaces.
- Position
- Below the diagonal: Infrastructure.Framework.Base uses a module listed above it, which is the healthy direction.
31→8 Infrastructure.Framework.Base uses Domain.Framework.Interfaces.Repositories✕
- Connections
- 1 pair of types, where a type in Infrastructure.Framework.Base uses a type in Domain.Framework.Interfaces.Repositories.
- The types involved
AlibabaClone.Infrastructure.Framework.Base.BaseRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.IRepository
- Direction
- Infrastructure.Framework.Base uses Domain.Framework.Interfaces.Repositories, so a change to Domain.Framework.Interfaces.Repositories can break Infrastructure.Framework.Base, while a change to Infrastructure.Framework.Base can't break Domain.Framework.Interfaces.Repositories.
- Position
- Below the diagonal: Infrastructure.Framework.Base uses a module listed above it, which is the healthy direction.
31→28 Infrastructure.Framework.Base uses Infrastructure✕
- Connections
- 1 pair of types, where a type in Infrastructure.Framework.Base uses a type in Infrastructure.
- The types involved
AlibabaClone.Infrastructure.Framework.Base.UnitOfWork→AlibabaClone.Infrastructure.ApplicationDBContext
- Direction
- Infrastructure.Framework.Base uses Infrastructure, so a change to Infrastructure can break Infrastructure.Framework.Base, while a change to Infrastructure.Framework.Base can't break Infrastructure.
- Position
- Below the diagonal: Infrastructure.Framework.Base uses a module listed above it, which is the healthy direction.
32→28 Infrastructure.Seeders uses Infrastructure✕
- Connections
- 1 pair of types, where a type in Infrastructure.Seeders uses a type in Infrastructure.
- The types involved
AlibabaClone.Infrastructure.Seeders.DBInitializer→AlibabaClone.Infrastructure.ApplicationDBContext
- Direction
- Infrastructure.Seeders uses Infrastructure, so a change to Infrastructure can break Infrastructure.Seeders, while a change to Infrastructure.Seeders can't break Infrastructure.
- Position
- Below the diagonal: Infrastructure.Seeders uses a module listed above it, which is the healthy direction.
33→23 Infrastructure.Services uses Domain.Aggregates.TransportationAggregates✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Services uses a type in Domain.Aggregates.TransportationAggregates.
- The types involved
AlibabaClone.Infrastructure.Services.PdfGenerator→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketOrderAlibabaClone.Infrastructure.Services.TicketOrderDocument→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketOrder
- Direction
- Infrastructure.Services uses Domain.Aggregates.TransportationAggregates, so a change to Domain.Aggregates.TransportationAggregates can break Infrastructure.Services, while a change to Infrastructure.Services can't break Domain.Aggregates.TransportationAggregates.
- Position
- Below the diagonal: Infrastructure.Services uses a module listed above it, which is the healthy direction.
33→26 Infrastructure.Services uses Application.Interfaces✕
- Connections
- 1 pair of types, where a type in Infrastructure.Services uses a type in Application.Interfaces.
- The types involved
AlibabaClone.Infrastructure.Services.PdfGenerator→AlibabaClone.Application.Interfaces.IPdfGenerator
- Direction
- Infrastructure.Services uses Application.Interfaces, so a change to Application.Interfaces can break Infrastructure.Services, while a change to Infrastructure.Services can't break Application.Interfaces.
- Position
- Below the diagonal: Infrastructure.Services uses a module listed above it, which is the healthy direction.
34→2 WebAPI.Authentication uses Application.DTOs.Authentication✕
- Connections
- 2 pairs of types, where a type in WebAPI.Authentication uses a type in Application.DTOs.Authentication.
- The types involved
AlibabaClone.WebAPI.Authentication.IJwtGenerator→AlibabaClone.Application.DTOs.Authentication.AuthResponseDtoAlibabaClone.WebAPI.Authentication.JwtGenerator→AlibabaClone.Application.DTOs.Authentication.AuthResponseDto
- Direction
- WebAPI.Authentication uses Application.DTOs.Authentication, so a change to Application.DTOs.Authentication can break WebAPI.Authentication, while a change to WebAPI.Authentication can't break Application.DTOs.Authentication.
- Position
- Below the diagonal: WebAPI.Authentication uses a module listed above it, which is the healthy direction.
34→26 WebAPI.Authentication uses Application.Interfaces✕
- Connections
- 1 pair of types, where a type in WebAPI.Authentication uses a type in Application.Interfaces.
- The types involved
AlibabaClone.WebAPI.Authentication.UserContext→AlibabaClone.Application.Interfaces.IUserContext
- Direction
- WebAPI.Authentication uses Application.Interfaces, so a change to Application.Interfaces can break WebAPI.Authentication, while a change to WebAPI.Authentication can't break Application.Interfaces.
- Position
- Below the diagonal: WebAPI.Authentication uses a module listed above it, which is the healthy direction.
35→11 Infrastructure.Services.AccountAggregates uses Domain.Framework.Interfaces.Repositories.LocationRepositories✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Services.AccountAggregates uses a type in Domain.Framework.Interfaces.Repositories.LocationRepositories.
- The types involved
AlibabaClone.Infrastructure.Services.AccountAggregates.CityRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.LocationRepositories.ICityRepositoryAlibabaClone.Infrastructure.Services.AccountAggregates.LocationRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.LocationRepositories.ILocationRepositoryAlibabaClone.Infrastructure.Services.AccountAggregates.LocationTypeRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.LocationRepositories.ILocationTypeRepository
- Direction
- Infrastructure.Services.AccountAggregates uses Domain.Framework.Interfaces.Repositories.LocationRepositories, so a change to Domain.Framework.Interfaces.Repositories.LocationRepositories can break Infrastructure.Services.AccountAggregates, while a change to Infrastructure.Services.AccountAggregates can't break Domain.Framework.Interfaces.Repositories.LocationRepositories.
- Position
- Below the diagonal: Infrastructure.Services.AccountAggregates uses a module listed above it, which is the healthy direction.
35→16 Infrastructure.Services.AccountAggregates uses Domain.Aggregates.AccountAggregates✕
- Connections
- 4 pairs of types, where a type in Infrastructure.Services.AccountAggregates uses a type in Domain.Aggregates.AccountAggregates.
- The types involved
AlibabaClone.Infrastructure.Services.AccountAggregates.AccountRepository→AlibabaClone.Domain.Aggregates.AccountAggregates.AccountAlibabaClone.Infrastructure.Services.AccountAggregates.AccountRepository→AlibabaClone.Domain.Aggregates.AccountAggregates.AccountRoleAlibabaClone.Infrastructure.Services.AccountAggregates.BankAccountDetailRepository→AlibabaClone.Domain.Aggregates.AccountAggregates.BankAccountDetailAlibabaClone.Infrastructure.Services.AccountAggregates.PersonRepository→AlibabaClone.Domain.Aggregates.AccountAggregates.Person
- Direction
- Infrastructure.Services.AccountAggregates uses Domain.Aggregates.AccountAggregates, so a change to Domain.Aggregates.AccountAggregates can break Infrastructure.Services.AccountAggregates, while a change to Infrastructure.Services.AccountAggregates can't break Domain.Aggregates.AccountAggregates.
- Position
- Below the diagonal: Infrastructure.Services.AccountAggregates uses a module listed above it, which is the healthy direction.
35→24 Infrastructure.Services.AccountAggregates uses Domain.Framework.Interfaces.Repositories.AccountRepositories✕
- Connections
- 5 pairs of types, where a type in Infrastructure.Services.AccountAggregates uses a type in Domain.Framework.Interfaces.Repositories.AccountRepositories.
- The types involved
AlibabaClone.Infrastructure.Services.AccountAggregates.AccountRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IAccountRepositoryAlibabaClone.Infrastructure.Services.AccountAggregates.BankAccountDetailRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IBankAccountDetailRepositoryAlibabaClone.Infrastructure.Services.AccountAggregates.GenderRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IGenderRepositoryAlibabaClone.Infrastructure.Services.AccountAggregates.PersonRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IPersonRepositoryAlibabaClone.Infrastructure.Services.AccountAggregates.RoleRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.AccountRepositories.IRoleRepository
- Direction
- Infrastructure.Services.AccountAggregates uses Domain.Framework.Interfaces.Repositories.AccountRepositories, so a change to Domain.Framework.Interfaces.Repositories.AccountRepositories can break Infrastructure.Services.AccountAggregates, while a change to Infrastructure.Services.AccountAggregates can't break Domain.Framework.Interfaces.Repositories.AccountRepositories.
- Position
- Below the diagonal: Infrastructure.Services.AccountAggregates uses a module listed above it, which is the healthy direction.
35→28 Infrastructure.Services.AccountAggregates uses Infrastructure✕
- Connections
- 8 pairs of types, where a type in Infrastructure.Services.AccountAggregates uses a type in Infrastructure.
- The types involved
AlibabaClone.Infrastructure.Services.AccountAggregates.AccountRepository→AlibabaClone.Infrastructure.ApplicationDBContextAlibabaClone.Infrastructure.Services.AccountAggregates.BankAccountDetailRepository→AlibabaClone.Infrastructure.ApplicationDBContextAlibabaClone.Infrastructure.Services.AccountAggregates.CityRepository→AlibabaClone.Infrastructure.ApplicationDBContextAlibabaClone.Infrastructure.Services.AccountAggregates.GenderRepository→AlibabaClone.Infrastructure.ApplicationDBContextAlibabaClone.Infrastructure.Services.AccountAggregates.LocationRepository→AlibabaClone.Infrastructure.ApplicationDBContextAlibabaClone.Infrastructure.Services.AccountAggregates.LocationTypeRepository→AlibabaClone.Infrastructure.ApplicationDBContextAlibabaClone.Infrastructure.Services.AccountAggregates.PersonRepository→AlibabaClone.Infrastructure.ApplicationDBContextAlibabaClone.Infrastructure.Services.AccountAggregates.RoleRepository→AlibabaClone.Infrastructure.ApplicationDBContext
- Direction
- Infrastructure.Services.AccountAggregates uses Infrastructure, so a change to Infrastructure can break Infrastructure.Services.AccountAggregates, while a change to Infrastructure.Services.AccountAggregates can't break Infrastructure.
- Position
- Below the diagonal: Infrastructure.Services.AccountAggregates uses a module listed above it, which is the healthy direction.
35→31 Infrastructure.Services.AccountAggregates uses Infrastructure.Framework.Base✕
- Connections
- 8 pairs of types, where a type in Infrastructure.Services.AccountAggregates uses a type in Infrastructure.Framework.Base.
- The types involved
AlibabaClone.Infrastructure.Services.AccountAggregates.AccountRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepositoryAlibabaClone.Infrastructure.Services.AccountAggregates.BankAccountDetailRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepositoryAlibabaClone.Infrastructure.Services.AccountAggregates.CityRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepositoryAlibabaClone.Infrastructure.Services.AccountAggregates.GenderRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepositoryAlibabaClone.Infrastructure.Services.AccountAggregates.LocationRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepositoryAlibabaClone.Infrastructure.Services.AccountAggregates.LocationTypeRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepositoryAlibabaClone.Infrastructure.Services.AccountAggregates.PersonRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepositoryAlibabaClone.Infrastructure.Services.AccountAggregates.RoleRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepository
- Direction
- Infrastructure.Services.AccountAggregates uses Infrastructure.Framework.Base, so a change to Infrastructure.Framework.Base can break Infrastructure.Services.AccountAggregates, while a change to Infrastructure.Services.AccountAggregates can't break Infrastructure.Framework.Base.
- Position
- Below the diagonal: Infrastructure.Services.AccountAggregates uses a module listed above it, which is the healthy direction.
36→10 Infrastructure.Services.CompanyAggregates uses Domain.Framework.Interfaces.Repositories.CompanyRepositories✕
- Connections
- 1 pair of types, where a type in Infrastructure.Services.CompanyAggregates uses a type in Domain.Framework.Interfaces.Repositories.CompanyRepositories.
- The types involved
AlibabaClone.Infrastructure.Services.CompanyAggregates.CompanyRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.CompanyRepositories.ICompanyRepository
- Direction
- Infrastructure.Services.CompanyAggregates uses Domain.Framework.Interfaces.Repositories.CompanyRepositories, so a change to Domain.Framework.Interfaces.Repositories.CompanyRepositories can break Infrastructure.Services.CompanyAggregates, while a change to Infrastructure.Services.CompanyAggregates can't break Domain.Framework.Interfaces.Repositories.CompanyRepositories.
- Position
- Below the diagonal: Infrastructure.Services.CompanyAggregates uses a module listed above it, which is the healthy direction.
36→28 Infrastructure.Services.CompanyAggregates uses Infrastructure✕
- Connections
- 1 pair of types, where a type in Infrastructure.Services.CompanyAggregates uses a type in Infrastructure.
- The types involved
AlibabaClone.Infrastructure.Services.CompanyAggregates.CompanyRepository→AlibabaClone.Infrastructure.ApplicationDBContext
- Direction
- Infrastructure.Services.CompanyAggregates uses Infrastructure, so a change to Infrastructure can break Infrastructure.Services.CompanyAggregates, while a change to Infrastructure.Services.CompanyAggregates can't break Infrastructure.
- Position
- Below the diagonal: Infrastructure.Services.CompanyAggregates uses a module listed above it, which is the healthy direction.
36→31 Infrastructure.Services.CompanyAggregates uses Infrastructure.Framework.Base✕
- Connections
- 1 pair of types, where a type in Infrastructure.Services.CompanyAggregates uses a type in Infrastructure.Framework.Base.
- The types involved
AlibabaClone.Infrastructure.Services.CompanyAggregates.CompanyRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepository
- Direction
- Infrastructure.Services.CompanyAggregates uses Infrastructure.Framework.Base, so a change to Infrastructure.Framework.Base can break Infrastructure.Services.CompanyAggregates, while a change to Infrastructure.Services.CompanyAggregates can't break Infrastructure.Framework.Base.
- Position
- Below the diagonal: Infrastructure.Services.CompanyAggregates uses a module listed above it, which is the healthy direction.
37→14 Infrastructure.Services.TransactionAggregates uses Domain.Aggregates.TransactionAggregates✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Services.TransactionAggregates uses a type in Domain.Aggregates.TransactionAggregates.
- The types involved
AlibabaClone.Infrastructure.Services.TransactionAggregates.CouponRepository→AlibabaClone.Domain.Aggregates.TransactionAggregates.CouponAlibabaClone.Infrastructure.Services.TransactionAggregates.TransactionRepository→AlibabaClone.Domain.Aggregates.TransactionAggregates.Transaction
- Direction
- Infrastructure.Services.TransactionAggregates uses Domain.Aggregates.TransactionAggregates, so a change to Domain.Aggregates.TransactionAggregates can break Infrastructure.Services.TransactionAggregates, while a change to Infrastructure.Services.TransactionAggregates can't break Domain.Aggregates.TransactionAggregates.
- Position
- Below the diagonal: Infrastructure.Services.TransactionAggregates uses a module listed above it, which is the healthy direction.
37→17 Infrastructure.Services.TransactionAggregates uses Domain.Framework.Interfaces.Repositories.TransactionRepositories✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Services.TransactionAggregates uses a type in Domain.Framework.Interfaces.Repositories.TransactionRepositories.
- The types involved
AlibabaClone.Infrastructure.Services.TransactionAggregates.CouponRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransactionRepositories.ICouponRepositoryAlibabaClone.Infrastructure.Services.TransactionAggregates.TransactionRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransactionRepositories.ITransactionRepository
- Direction
- Infrastructure.Services.TransactionAggregates uses Domain.Framework.Interfaces.Repositories.TransactionRepositories, so a change to Domain.Framework.Interfaces.Repositories.TransactionRepositories can break Infrastructure.Services.TransactionAggregates, while a change to Infrastructure.Services.TransactionAggregates can't break Domain.Framework.Interfaces.Repositories.TransactionRepositories.
- Position
- Below the diagonal: Infrastructure.Services.TransactionAggregates uses a module listed above it, which is the healthy direction.
37→28 Infrastructure.Services.TransactionAggregates uses Infrastructure✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Services.TransactionAggregates uses a type in Infrastructure.
- The types involved
AlibabaClone.Infrastructure.Services.TransactionAggregates.CouponRepository→AlibabaClone.Infrastructure.ApplicationDBContextAlibabaClone.Infrastructure.Services.TransactionAggregates.TransactionRepository→AlibabaClone.Infrastructure.ApplicationDBContext
- Direction
- Infrastructure.Services.TransactionAggregates uses Infrastructure, so a change to Infrastructure can break Infrastructure.Services.TransactionAggregates, while a change to Infrastructure.Services.TransactionAggregates can't break Infrastructure.
- Position
- Below the diagonal: Infrastructure.Services.TransactionAggregates uses a module listed above it, which is the healthy direction.
37→31 Infrastructure.Services.TransactionAggregates uses Infrastructure.Framework.Base✕
- Connections
- 2 pairs of types, where a type in Infrastructure.Services.TransactionAggregates uses a type in Infrastructure.Framework.Base.
- The types involved
AlibabaClone.Infrastructure.Services.TransactionAggregates.CouponRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepositoryAlibabaClone.Infrastructure.Services.TransactionAggregates.TransactionRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepository
- Direction
- Infrastructure.Services.TransactionAggregates uses Infrastructure.Framework.Base, so a change to Infrastructure.Framework.Base can break Infrastructure.Services.TransactionAggregates, while a change to Infrastructure.Services.TransactionAggregates can't break Infrastructure.Framework.Base.
- Position
- Below the diagonal: Infrastructure.Services.TransactionAggregates uses a module listed above it, which is the healthy direction.
38→23 Infrastructure.Services.TransportationAggregates uses Domain.Aggregates.TransportationAggregates✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Services.TransportationAggregates uses a type in Domain.Aggregates.TransportationAggregates.
- The types involved
AlibabaClone.Infrastructure.Services.TransportationAggregates.TicketOrderRepository→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketOrderAlibabaClone.Infrastructure.Services.TransportationAggregates.TicketRepository→AlibabaClone.Domain.Aggregates.TransportationAggregates.TicketAlibabaClone.Infrastructure.Services.TransportationAggregates.TransportationRepository→AlibabaClone.Domain.Aggregates.TransportationAggregates.Transportation
- Direction
- Infrastructure.Services.TransportationAggregates uses Domain.Aggregates.TransportationAggregates, so a change to Domain.Aggregates.TransportationAggregates can break Infrastructure.Services.TransportationAggregates, while a change to Infrastructure.Services.TransportationAggregates can't break Domain.Aggregates.TransportationAggregates.
- Position
- Below the diagonal: Infrastructure.Services.TransportationAggregates uses a module listed above it, which is the healthy direction.
38→27 Infrastructure.Services.TransportationAggregates uses Domain.Framework.Interfaces.Repositories.TransportationRepositories✕
- Connections
- 4 pairs of types, where a type in Infrastructure.Services.TransportationAggregates uses a type in Domain.Framework.Interfaces.Repositories.TransportationRepositories.
- The types involved
AlibabaClone.Infrastructure.Services.TransportationAggregates.TicketOrderRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITicketOrderRepositoryAlibabaClone.Infrastructure.Services.TransportationAggregates.TicketRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITicketRepositoryAlibabaClone.Infrastructure.Services.TransportationAggregates.TicketStatusRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITicketStatusRepositoryAlibabaClone.Infrastructure.Services.TransportationAggregates.TransportationRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.TransportationRepositories.ITransportationRepository
- Direction
- Infrastructure.Services.TransportationAggregates uses Domain.Framework.Interfaces.Repositories.TransportationRepositories, so a change to Domain.Framework.Interfaces.Repositories.TransportationRepositories can break Infrastructure.Services.TransportationAggregates, while a change to Infrastructure.Services.TransportationAggregates can't break Domain.Framework.Interfaces.Repositories.TransportationRepositories.
- Position
- Below the diagonal: Infrastructure.Services.TransportationAggregates uses a module listed above it, which is the healthy direction.
38→28 Infrastructure.Services.TransportationAggregates uses Infrastructure✕
- Connections
- 4 pairs of types, where a type in Infrastructure.Services.TransportationAggregates uses a type in Infrastructure.
- The types involved
AlibabaClone.Infrastructure.Services.TransportationAggregates.TicketOrderRepository→AlibabaClone.Infrastructure.ApplicationDBContextAlibabaClone.Infrastructure.Services.TransportationAggregates.TicketRepository→AlibabaClone.Infrastructure.ApplicationDBContextAlibabaClone.Infrastructure.Services.TransportationAggregates.TicketStatusRepository→AlibabaClone.Infrastructure.ApplicationDBContextAlibabaClone.Infrastructure.Services.TransportationAggregates.TransportationRepository→AlibabaClone.Infrastructure.ApplicationDBContext
- Direction
- Infrastructure.Services.TransportationAggregates uses Infrastructure, so a change to Infrastructure can break Infrastructure.Services.TransportationAggregates, while a change to Infrastructure.Services.TransportationAggregates can't break Infrastructure.
- Position
- Below the diagonal: Infrastructure.Services.TransportationAggregates uses a module listed above it, which is the healthy direction.
38→31 Infrastructure.Services.TransportationAggregates uses Infrastructure.Framework.Base✕
- Connections
- 4 pairs of types, where a type in Infrastructure.Services.TransportationAggregates uses a type in Infrastructure.Framework.Base.
- The types involved
AlibabaClone.Infrastructure.Services.TransportationAggregates.TicketOrderRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepositoryAlibabaClone.Infrastructure.Services.TransportationAggregates.TicketRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepositoryAlibabaClone.Infrastructure.Services.TransportationAggregates.TicketStatusRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepositoryAlibabaClone.Infrastructure.Services.TransportationAggregates.TransportationRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepository
- Direction
- Infrastructure.Services.TransportationAggregates uses Infrastructure.Framework.Base, so a change to Infrastructure.Framework.Base can break Infrastructure.Services.TransportationAggregates, while a change to Infrastructure.Services.TransportationAggregates can't break Infrastructure.Framework.Base.
- Position
- Below the diagonal: Infrastructure.Services.TransportationAggregates uses a module listed above it, which is the healthy direction.
39→15 Infrastructure.Services.VehicleAggregates uses Domain.Aggregates.VehicleAggregates✕
- Connections
- 1 pair of types, where a type in Infrastructure.Services.VehicleAggregates uses a type in Domain.Aggregates.VehicleAggregates.
- The types involved
AlibabaClone.Infrastructure.Services.VehicleAggregates.SeatRepository→AlibabaClone.Domain.Aggregates.VehicleAggregates.Seat
- Direction
- Infrastructure.Services.VehicleAggregates uses Domain.Aggregates.VehicleAggregates, so a change to Domain.Aggregates.VehicleAggregates can break Infrastructure.Services.VehicleAggregates, while a change to Infrastructure.Services.VehicleAggregates can't break Domain.Aggregates.VehicleAggregates.
- Position
- Below the diagonal: Infrastructure.Services.VehicleAggregates uses a module listed above it, which is the healthy direction.
39→18 Infrastructure.Services.VehicleAggregates uses Domain.Framework.Interfaces.Repositories.VehicleRepositories✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Services.VehicleAggregates uses a type in Domain.Framework.Interfaces.Repositories.VehicleRepositories.
- The types involved
AlibabaClone.Infrastructure.Services.VehicleAggregates.SeatRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.VehicleRepositories.ISeatRepositoryAlibabaClone.Infrastructure.Services.VehicleAggregates.VehicleRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.VehicleRepositories.IVehicleRepositoryAlibabaClone.Infrastructure.Services.VehicleAggregates.VehicleTypeRepository→AlibabaClone.Domain.Framework.Interfaces.Repositories.VehicleRepositories.IVehicleTypeRepository
- Direction
- Infrastructure.Services.VehicleAggregates uses Domain.Framework.Interfaces.Repositories.VehicleRepositories, so a change to Domain.Framework.Interfaces.Repositories.VehicleRepositories can break Infrastructure.Services.VehicleAggregates, while a change to Infrastructure.Services.VehicleAggregates can't break Domain.Framework.Interfaces.Repositories.VehicleRepositories.
- Position
- Below the diagonal: Infrastructure.Services.VehicleAggregates uses a module listed above it, which is the healthy direction.
39→28 Infrastructure.Services.VehicleAggregates uses Infrastructure✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Services.VehicleAggregates uses a type in Infrastructure.
- The types involved
AlibabaClone.Infrastructure.Services.VehicleAggregates.SeatRepository→AlibabaClone.Infrastructure.ApplicationDBContextAlibabaClone.Infrastructure.Services.VehicleAggregates.VehicleRepository→AlibabaClone.Infrastructure.ApplicationDBContextAlibabaClone.Infrastructure.Services.VehicleAggregates.VehicleTypeRepository→AlibabaClone.Infrastructure.ApplicationDBContext
- Direction
- Infrastructure.Services.VehicleAggregates uses Infrastructure, so a change to Infrastructure can break Infrastructure.Services.VehicleAggregates, while a change to Infrastructure.Services.VehicleAggregates can't break Infrastructure.
- Position
- Below the diagonal: Infrastructure.Services.VehicleAggregates uses a module listed above it, which is the healthy direction.
39→31 Infrastructure.Services.VehicleAggregates uses Infrastructure.Framework.Base✕
- Connections
- 3 pairs of types, where a type in Infrastructure.Services.VehicleAggregates uses a type in Infrastructure.Framework.Base.
- The types involved
AlibabaClone.Infrastructure.Services.VehicleAggregates.SeatRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepositoryAlibabaClone.Infrastructure.Services.VehicleAggregates.VehicleRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepositoryAlibabaClone.Infrastructure.Services.VehicleAggregates.VehicleTypeRepository→AlibabaClone.Infrastructure.Framework.Base.BaseRepository
- Direction
- Infrastructure.Services.VehicleAggregates uses Infrastructure.Framework.Base, so a change to Infrastructure.Framework.Base can break Infrastructure.Services.VehicleAggregates, while a change to Infrastructure.Services.VehicleAggregates can't break Infrastructure.Framework.Base.
- Position
- Below the diagonal: Infrastructure.Services.VehicleAggregates uses a module listed above it, which is the healthy direction.
40→1 WebAPI.Controllers uses Application.DTOs.Account✕
- Connections
- 5 pairs of types, where a type in WebAPI.Controllers uses a type in Application.DTOs.Account.
- The types involved
AlibabaClone.WebAPI.Controllers.AccountController→AlibabaClone.Application.DTOs.Account.EditEmailDtoAlibabaClone.WebAPI.Controllers.AccountController→AlibabaClone.Application.DTOs.Account.EditPasswordDtoAlibabaClone.WebAPI.Controllers.AccountController→AlibabaClone.Application.DTOs.Account.PersonDtoAlibabaClone.WebAPI.Controllers.AccountController→AlibabaClone.Application.DTOs.Account.TopUpDtoAlibabaClone.WebAPI.Controllers.AccountController→AlibabaClone.Application.DTOs.Account.UpsertBankAccountDetailDto
- Direction
- WebAPI.Controllers uses Application.DTOs.Account, so a change to Application.DTOs.Account can break WebAPI.Controllers, while a change to WebAPI.Controllers can't break Application.DTOs.Account.
- Position
- Below the diagonal: WebAPI.Controllers uses a module listed above it, which is the healthy direction.
40→2 WebAPI.Controllers uses Application.DTOs.Authentication✕
- Connections
- 2 pairs of types, where a type in WebAPI.Controllers uses a type in Application.DTOs.Authentication.
- The types involved
AlibabaClone.WebAPI.Controllers.AuthController→AlibabaClone.Application.DTOs.Authentication.LoginRequestDtoAlibabaClone.WebAPI.Controllers.AuthController→AlibabaClone.Application.DTOs.Authentication.RegisterRequestDto
- Direction
- WebAPI.Controllers uses Application.DTOs.Authentication, so a change to Application.DTOs.Authentication can break WebAPI.Controllers, while a change to WebAPI.Controllers can't break Application.DTOs.Authentication.
- Position
- Below the diagonal: WebAPI.Controllers uses a module listed above it, which is the healthy direction.
40→4 WebAPI.Controllers uses Application.DTOs.Transaction✕
- Connections
- 1 pair of types, where a type in WebAPI.Controllers uses a type in Application.DTOs.Transaction.
- The types involved
AlibabaClone.WebAPI.Controllers.CouponController→AlibabaClone.Application.DTOs.Transaction.CouponValidationRequestDto
- Direction
- WebAPI.Controllers uses Application.DTOs.Transaction, so a change to Application.DTOs.Transaction can break WebAPI.Controllers, while a change to WebAPI.Controllers can't break Application.DTOs.Transaction.
- Position
- Below the diagonal: WebAPI.Controllers uses a module listed above it, which is the healthy direction.
40→5 WebAPI.Controllers uses Application.DTOs.Transportation✕
- Connections
- 2 pairs of types, where a type in WebAPI.Controllers uses a type in Application.DTOs.Transportation.
- The types involved
AlibabaClone.WebAPI.Controllers.TicketOrderController→AlibabaClone.Application.DTOs.Transportation.CreateTicketOrderDtoAlibabaClone.WebAPI.Controllers.TransportationController→AlibabaClone.Application.DTOs.Transportation.TransportationSearchRequestDto
- Direction
- WebAPI.Controllers uses Application.DTOs.Transportation, so a change to Application.DTOs.Transportation can break WebAPI.Controllers, while a change to WebAPI.Controllers can't break Application.DTOs.Transportation.
- Position
- Below the diagonal: WebAPI.Controllers uses a module listed above it, which is the healthy direction.
40→26 WebAPI.Controllers uses Application.Interfaces✕
- Connections
- 11 pairs of types, where a type in WebAPI.Controllers uses a type in Application.Interfaces.
- The types involved
AlibabaClone.WebAPI.Controllers.AccountController→AlibabaClone.Application.Interfaces.IAccountServiceAlibabaClone.WebAPI.Controllers.AccountController→AlibabaClone.Application.Interfaces.IPersonServiceAlibabaClone.WebAPI.Controllers.AccountController→AlibabaClone.Application.Interfaces.IUserContextAlibabaClone.WebAPI.Controllers.AuthController→AlibabaClone.Application.Interfaces.IAuthServiceAlibabaClone.WebAPI.Controllers.CityController→AlibabaClone.Application.Interfaces.ICityServiceAlibabaClone.WebAPI.Controllers.CouponController→AlibabaClone.Application.Interfaces.ICouponServiceAlibabaClone.WebAPI.Controllers.CouponController→AlibabaClone.Application.Interfaces.IUserContextAlibabaClone.WebAPI.Controllers.TicketOrderController→AlibabaClone.Application.Interfaces.ITicketOrderServiceAlibabaClone.WebAPI.Controllers.TicketOrderController→AlibabaClone.Application.Interfaces.ITransportationServiceAlibabaClone.WebAPI.Controllers.TicketOrderController→AlibabaClone.Application.Interfaces.IUserContextAlibabaClone.WebAPI.Controllers.TransportationController→AlibabaClone.Application.Interfaces.ITransportationService
- Direction
- WebAPI.Controllers uses Application.Interfaces, so a change to Application.Interfaces can break WebAPI.Controllers, while a change to WebAPI.Controllers can't break Application.Interfaces.
- Position
- Below the diagonal: WebAPI.Controllers uses a module listed above it, which is the healthy direction.
40→34 WebAPI.Controllers uses WebAPI.Authentication✕
- Connections
- 1 pair of types, where a type in WebAPI.Controllers uses a type in WebAPI.Authentication.
- The types involved
AlibabaClone.WebAPI.Controllers.AuthController→AlibabaClone.WebAPI.Authentication.IJwtGenerator
- Direction
- WebAPI.Controllers uses WebAPI.Authentication, so a change to WebAPI.Authentication can break WebAPI.Controllers, while a change to WebAPI.Controllers can't break WebAPI.Authentication.
- Position
- Below the diagonal: WebAPI.Controllers uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A05:2025 — Injection | 16 | High / Critical |
| A03:2025 — Software Supply Chain Failures | 7 | High / Critical |
| A02:2025 — Security Misconfiguration | 4 | High / Critical |
Roadmap
First, establish a baseline of reliability by resolving the single gaps in automated code coverage and test distribution. Next, immediately address the identified vulnerability in dependencies to secure the codebase. Then, implement structured logging across all service-like projects to improve observability. Finally, integrate a static analysis security tool into the CI pipeline to prevent security regressions from reaching production.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No automated tests finding(s) in Code Coverage. | +14.2 pts | Low | Code Coverage |
| Resolve the 1 No tests found finding(s) in Test Distribution. | +14.2 pts | Low | Test Distribution |
| Resolve the 1 Vulnerable finding(s) in Dependency Hygiene. | +13.3 pts | Low | Dependency Hygiene |
| Adopt ILogger (or Serilog) and log at meaningful points across the projects. | +5.6 pts | Medium | Observability |
| Add a SAST step to CI running what this repository's stack ships: CodeQL's csharp pack, or a .NET security analyzer package — or `semgrep --config=auto`, which runs on any language — so a security regression fails the build instead of landing. | +5.6 pts | Medium | Security & performance tooling |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +1.8 pts | Low | ADR Quality |
| Define repositories per aggregate root and keep the query handle inside them; reach child entities through their root so invariants can't be bypassed. | +3.1 pts | Medium | Repository granularity |
| Resolve the 1 Documentation finding(s) in Documentation Quality — start with README.md. | +1.2 pts | Low | Documentation Quality |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 2.3 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.4 | Slop | IaC & Container Security: High IaC: REDACTED |
| AlibabaClone.WebAPI/Controllers/AccountController.cs | 7.2 | Mixed | Code Duplication: Members sharing a duplicated core (7 members, 50+ identical tokens) |
| REDACTED | 7.2 | Mixed | Dependency Vulnerabilities: High CVE: REDACTED |
| AlibabaClone.Application/Services/CityService.cs | 7.6 | Mixed | Explicit Debt: WriteOnlyPrivateField |
| AlibabaClone.Application/Services/TransportationService.cs | 7.6 | Mixed | Explicit Debt: WriteOnlyPrivateField |
| AlibabaClone.Application/Services/TicketOrderService.cs | 7.6 | Mixed | Explicit Debt: WriteOnlyPrivateField |
| AlibabaClone.WebAPI/Controllers/TicketOrderController.cs | 7.6 | Mixed | Explicit Debt: WriteOnlyPrivateField |
| AlibabaClone.Infrastructure/Configurations/AccountAggregates/GenderConfiguration.cs | 7.8 | Mixed | Code Duplication: Members sharing a duplicated core (8 members, 50+ identical tokens) |
| REDACTED | 7.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 7.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 7.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| AlibabaClone.Infrastructure/Services/TransportationAggregates/TransportationRepository.cs | 8.2 | Near-clean | Explicit Debt: CommentedOutCode |
| AlibabaClone.Infrastructure/Services/PdfGenerator.cs | 8.2 | Near-clean | Explicit Debt: Dead code: CellStyle |
| AlibabaClone.Application/DTOs/Account/PersonDto.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (18 lines × 2) |
| AlibabaClone.WebAPI/Controllers/CouponController.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (10–11 lines × 2) |
| AlibabaClone.Application/Services/AccountService.cs | 8.5 | Near-clean | Code Duplication: Duplicated block (7 lines × 2) |
| README.md | 9.5 | Near-clean | Documentation Quality: Documentation: no contributor guidance |
| AlibabaClone.Application/Interfaces/IPersonService.cs | 9.5 | Near-clean | Comment Value: misleading comment |
| AlibabaClone.Application/Mappers/Profiles/MappingProfile.cs | 9.5 | Near-clean | IL Efficiency: IL efficiency: 6 authored method(s) exceed the IL budget |
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. 84 of 88 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 1.0 — 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 — 88 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, 204 of 240 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
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-contributor repository — bus factor is not applicable (1 contributor(s) across 310 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. The loaded project set declares no packable project and no `.Contracts` project, so there is no intentionally-exposed surface for API consistency to be judged over.
- P1 CI/CD gates — 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. A CI pipeline exists and the word "test" appears, but no explicit test-runner invocation (your stack's test command, or a test job) was matched — so either the gate runs tests through a step this pass could not recognise, or "test" is incidental here (a path, "latest", a reporter). Which of the two it is cannot be settled from this dimension's evidence; the coverage dimensions report whether a suite exists at all. You can widen what we reach: name the test runner explicitly in the pipeline step (your stack's test command, or a job named for the suite) so the gate is unambiguous to a reader and to this pass.
- X2 Cancellation propagation — 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. 26 further occurrence(s) are not listed individually; the score already reflects all 66.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D4 Code Duplication: Duplication is token-similarity — an in-process token-stream comparison over sliding windows, with type-aware normalization — so it finds copy-paste, not semantic duplication expressed differently. Committed machine-written code (scaffolded migrations, designer/codegen output, protobuf/OpenAPI stubs, model snapshots) is EXCLUDED — its repetition is the tool's, not the team's — so the score reflects hand-written duplication only.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D8 Code Coverage: Coverage is measured by building and running the test suite inside Watchdog's isolated image — the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- 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.
- D18 Solution Shape: Build integrity reflects whether the solution compiled in this environment — a build that needs a private feed, a specific SDK, or a generated file absent from the repo can read as broken when it is merely unreproducible here.
- 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.
- D24 Comment Value: Comment value (WHY vs WHAT) is an LLM judgement over a bounded sample — it is advisory and cannot weigh a comment against the precise code change it was written to explain.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D27 Navigability: Indirection/navigability is structural — it measures hops to follow a call, not whether that indirection buys real flexibility or just ceremony.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a 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.
- C4 Data Retention: This control is scored from in-repo evidence only — its real-world effectiveness, exercised only at runtime, is outside a static scan.
- 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".
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
7 duplicated block group(s) detected. A further 2 rows report members as variants of one another; they aggregate block groups already counted above and are not themselves counted.
What to do
- Resolve the 1 Members sharing a duplicated core (8 members, 50+ identical tokens) finding(s) in Code Duplication — start with GenderConfiguration.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Members sharing a duplicated core (7 members, 50+ identical tokens) finding(s) in Code Duplication — start with AccountController.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Duplicated block (18 lines × 2) finding(s) in Code Duplication — start with PersonDto.cs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Code Duplication in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D5 · Coupling
4 projects, 0 dependency cycle(s), 0 unstable depended-on project(s).
D6 · Cohesion (LCOM4)
0 of 14 classes have LCOM4 above 3.
D8 · Code Coverage
No automated tests — no test code was found in this repository.
What to do
- Resolve the 1 No automated tests finding(s) in Code Coverage. — One of this dimension's main actionable groups (1 issue-level).
- Enforce Code Coverage in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
No test suite found.
What to do
- Resolve the 1 No tests found finding(s) in Test Distribution. — One of this dimension's main actionable groups (1 recommendation-level).
D12 · Dependency Hygiene
14 outdated, 1 vulnerable, 0 deprecated packages.
What to do
- Resolve the 1 Vulnerable finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 issue-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 190 packages use a banned license. ★ DEPTH: this repository's MSBuild projects declare 14 direct `PackageReference`(s), and 172 further package(s) were reached beyond them by closing the graph over nuget.org's own nuspec dependency graph — so a banned licence pulled in only by a dependency's OWN dependencies is inside this verdict. A package whose licence nuget.org could not be asked for is not graded, and version ranges are taken at their lower bound, so this is the closure as that graph states it rather than a restored consumer's exact resolution.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window. Repeated repair below the complexity floor: AlibabaClone.Application/Services/TicketOrderService.cs (6 of 10 changes were fixes); AlibabaClone.Application/Services/AuthService.cs (4 of 5 changes were fixes); AlibabaClone.Application/Services/PersonService.cs (4 of 4 changes were fixes)
What to do
- Resolve the 14 Repeated repair finding(s) in Churn × Complexity Hotspots — start with TicketOrderService.cs, AuthService.cs, PersonService.cs. — One of this dimension's main actionable groups (14 warning-level).
D17 · Explicit Debt
5 deducted debt markers + 1 dead symbols across 3821 LoC in the .NET projects (0.8/KLoC) → score 8.5.
What to do
- Resolve the 4 WriteOnlyPrivateField finding(s) in Explicit Debt — start with CityService.cs, TransportationService.cs, TicketOrderService.cs. — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 1 CommentedOutCode finding(s) in Explicit Debt — start with TransportationRepository.cs. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Dead code finding(s) in Explicit Debt — start with PdfGenerator.cs. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D18 · Solution Shape
4 projects, 147 source files, 3821 hand-written lines of code (3821 production / 0 test — the split is derived per file: test is what its project, its own path, or a compile-guarded region marks as test, and a file carrying no test signal counts as production), plus 7316 generated (machine-written code — designer, scaffolded and tool-emitted files — excluded from quality), 5 inter-project edges.
D19 · Documentation Quality
The repository's root README is a single cohesive document covering the project's purpose, an overview of the tech stack with a table, and a brief 'Getting Started' section. It begins with a strong About-the-Project heading that states what the backend does (transportation management app) and links to the frontend, then transitions into a Tech Stack table before opening up a full architecture outline. The visible content is clear but thin: it names no install/build commands, gives no usage examples, and only mentions 'Authentication & Authorization' as one of several core features without explaining what they do or how to run the app.
What to do
- Resolve the 1 Documentation finding(s) in Documentation Quality — start with README.md. — One of this dimension's main actionable groups (1 recommendation-level).
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
1 naming inconsistencies across 200 sampled symbols.
D24 · Comment Value
10 valuable / 0 redundant across 34 sampled comments; 1 shown with locations.
What to do
- Resolve the 1 misleading comment finding(s) in Comment Value — start with IPersonService.cs. — One of this dimension's main actionable groups (1 recommendation-level).
D26 · Project Cohesion
0 of 4 projects flagged as possibly oversized/incoherent.
D27 · Navigability
100 % of calls cross a namespace and 2 % go through an interface, but 100 % of collaborators are co-located — so a call's collaborators sit together and tracing stays easy. Baseline: small — navigation cost is tolerated.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
16 finding(s): 0 critical, 13 high, 3 medium, 0 low. 3 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. Separately, one or more rules could not re-parse an embedded snippet in 1 file(s) (e.g. a workflow `run:` block read as shell). Those files WERE scanned and their other rows are unaffected; only those rules' view of those snippets is missing.
What to do
- Resolve the 5 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (5). — One of this dimension's main actionable groups (5 issue-level).
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- No action in Static Analysis (SAST) — all 3 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (3 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
1 finding(s): 0 critical, 1 high, 0 medium, 0 low.
What to do
- Resolve the 1 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D31 · IaC & Container Security
4 finding(s): 0 critical, 1 high, 2 medium, 1 low.
What to do
- Resolve the 1 High IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 2 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 Low IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 recommendation-level).
D34 · Knowledge Freshness
12 of 12 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is AlibabaClone.Application/Services/AccountService.cs. Counted over 12 of the 147 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 12 Orphaned file finding(s) in Knowledge Freshness — start with AccountService.cs, TicketOrderService.cs, AccountController.cs. — One of this dimension's main actionable groups (12 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.
D36 · Supply-chain Provenance & Signing
0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D39 · IL Efficiency
6 of 223 first-party methods have an oversized IL body.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 4 platform declaration(s) and 0 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX1 · Captive dependencies
AX10 · Code composition
AX2 · Stateful singletons
AX3 · Project dependency cycles
- The namespaces AlibabaClone.Domain.Aggregates.AccountAggregates ↔ AlibabaClone.Domain.Aggregates.CompanyAggregates ↔ AlibabaClone.Domain.Aggregates.LocationAggregates ↔ AlibabaClone.Domain.Aggregates.TransactionAggregates ↔ AlibabaClone.Domain.Aggregates.TransportationAggregates ↔ AlibabaClone.Domain.Aggregates.VehicleAggregates depend on each other. The lightest dependency in the cycle is AlibabaClone.Domain.Aggregates.AccountAggregates → AlibabaClone.Domain.Aggregates.TransactionAggregates (AlibabaClone.Domain.Aggregates.AccountAggregates.Account → AlibabaClone.Domain.Aggregates.TransactionAggregates.Transaction, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface. — AlibabaClone.Domain/Aggregates/AccountAggregates/Account.cs:1
What to do
- Break namespace cycles inside a project by moving the shared type to a namespace both sides can use, or by inverting the back edge behind an interface.
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
C1 · Data Protection
What to do
- Strengthen data-at-rest protection: vault your keys (Azure Key Vault / AWS KMS / IDataProtector key ring) and encrypt the most sensitive columns (EF HasConversion encryption or provider-native column encryption) — partial coverage still leaves gaps.
C2 · Access Controls
C4 · Data Retention
- A retention mechanism is present, but the data-lifecycle is not yet complete — missing: a scheduled purge / cleanup job (PurgeOlderThan / CleanupJob), a documented retention period / data-expiry.
What to do
- Complete the data-lifecycle story: an expiry limit (a declared maximum age for the stored data — a retention-age setting, or a store-level TTL where your storage offers one), a scheduled purge/cleanup job that enforces it, and a documented retention period covering the personal data.
DM1 · Aggregate boundaries
DM10 · One transaction, one aggregate
DM11 · Constructible invalid state
DM12 · Ambient inputs in the domain
- `Coupon` reads `DateTime.UtcNow` inside `IsExpired`. The rule this feeds is not a function of its inputs: it cannot be tested at the instant that matters without moving the machine clock, and two reads inside one operation can observe different times. Pass the instant in as a parameter, or inject `TimeProvider`. — AlibabaClone.Domain/Aggregates/TransactionAggregates/Coupon.cs:17
What to do
- Pass the instant into the domain method that needs it, or inject `TimeProvider` (BCL, .NET 8+) and read it there — then a test can choose the moment a rule is evaluated at.
DM2 · Strongly-typed ids
- `Account.PersonId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/AccountAggregates/Account.cs:12
- `BankAccountDetail.AccountId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/AccountAggregates/BankAccountDetail.cs:7
- `Person.GenderId` is a raw `Int16` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int16`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:13
- `Person.CreatorAccountId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:18
- `Location.CityId` is a raw `Int32` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int32`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/LocationAggregates/Location.cs:9
- `Location.LocationTypeId` is a raw `Int16` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int16`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/LocationAggregates/Location.cs:10
- `Transaction.TransactionTypeId` is a raw `Int16` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int16`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransactionAggregates/Transaction.cs:9
- `Transaction.AccountId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransactionAggregates/Transaction.cs:10
- `Transaction.TicketOrderId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransactionAggregates/Transaction.cs:11
- `Transaction.CouponId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransactionAggregates/Transaction.cs:16
- `Ticket.TicketOrderId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:10
- `Ticket.SeatId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:11
- `Ticket.TravelerId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:12
- `Ticket.CompanionId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:15
- `Ticket.TicketStatusId` is a raw `Int16` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int16`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:16
- `TicketOrder.TransportationId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransportationAggregates/TicketOrder.cs:9
- `TicketOrder.BuyerId` is a raw `Int64` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int64`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransportationAggregates/TicketOrder.cs:10
- `Transportation.FromLocationId` is a raw `Int32` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int32`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs:10
- `Transportation.ToLocationId` is a raw `Int32` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int32`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs:11
- `Transportation.CompanyId` is a raw `Int32` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int32`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs:12
- `Transportation.VehicleId` is a raw `Int32` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int32`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs:13
- `Seat.VehicleId` is a raw `Int32` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int32`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/VehicleAggregates/Seat.cs:8
- `Vehicle.VehicleTypeId` is a raw `Int16` — give it a strongly-typed id: a dedicated single-field type wrapping the `Int16`, in whatever form your language spells that. — AlibabaClone.Domain/Aggregates/VehicleAggregates/Vehicle.cs:9
What to do
- Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs.
DM4 · Rich vs anemic model
- `BankAccountDetail` is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/AccountAggregates/BankAccountDetail.cs:5
- `Gender` is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/AccountAggregates/Gender.cs:5
- `Person` is an aggregate/entity with 13 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:6
- `Role` is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/AccountAggregates/Role.cs:5
- `Company` is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/CompanyAggregates/Company.cs:6
- `City` is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/LocationAggregates/City.cs:5
- `Location` is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/LocationAggregates/Location.cs:6
- `LocationType` is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/LocationAggregates/LocationType.cs:5
- `Coupon` is an aggregate/entity with 8 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/TransactionAggregates/Coupon.cs:5
- `Transaction` is an aggregate/entity with 13 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/TransactionAggregates/Transaction.cs:7
- `TransactionType` is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/TransactionAggregates/TransactionType.cs:5
- `Ticket` is an aggregate/entity with 14 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:7
- `TicketOrder` is an aggregate/entity with 9 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/TransportationAggregates/TicketOrder.cs:7
- `TicketStatus` is an aggregate/entity with 1 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/TransportationAggregates/TicketStatus.cs:5
- `Transportation` is an aggregate/entity with 15 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs:8
- `Seat` is an aggregate/entity with 8 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/VehicleAggregates/Seat.cs:6
- `Vehicle` is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/VehicleAggregates/Vehicle.cs:6
- `VehicleType` is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — AlibabaClone.Domain/Aggregates/VehicleAggregates/VehicleType.cs:5
What to do
- Move business rules onto the aggregates/entities they govern so invariants are enforced at the source, not in anemic services.
DM5 · Encapsulated state
- `Account` exposes publicly writable state (PhoneNumber, Password, Email, PersonId, Person, BankAccountDetail, and 4 more). — AlibabaClone.Domain/Aggregates/AccountAggregates/Account.cs:7
- `BankAccountDetail` exposes publicly writable state (AccountId, BankName, CardNumber, IBAN, BankAccountNumber, Account). — AlibabaClone.Domain/Aggregates/AccountAggregates/BankAccountDetail.cs:5
- `Gender` exposes publicly writable state (Title). — AlibabaClone.Domain/Aggregates/AccountAggregates/Gender.cs:5
- `Person` exposes publicly writable state (FirstName, LastName, IdNumber, Birthdate, GenderId, PhoneNumber, and 7 more). — AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:6
- `Role` exposes publicly writable state (Title). — AlibabaClone.Domain/Aggregates/AccountAggregates/Role.cs:5
- `Company` exposes publicly writable state (Title, Transportations). — AlibabaClone.Domain/Aggregates/CompanyAggregates/Company.cs:6
- `City` exposes publicly writable state (Title, Locations). — AlibabaClone.Domain/Aggregates/LocationAggregates/City.cs:5
- `Location` exposes publicly writable state (Title, CityId, LocationTypeId, City, LocationType, DepartingTransportations, and 1 more). — AlibabaClone.Domain/Aggregates/LocationAggregates/Location.cs:6
- `LocationType` exposes publicly writable state (Title, Locations). — AlibabaClone.Domain/Aggregates/LocationAggregates/LocationType.cs:5
- `Coupon` exposes publicly writable state (Code, MaxDiscountAmount, DiscountPercentage, ExpiryDate, MaxUsages, MaxUsagesPerAccount, and 2 more). — AlibabaClone.Domain/Aggregates/TransactionAggregates/Coupon.cs:5
- `Transaction` exposes publicly writable state (TransactionTypeId, AccountId, TicketOrderId, BaseAmount, FinalAmount, SerialNumber, and 7 more). — AlibabaClone.Domain/Aggregates/TransactionAggregates/Transaction.cs:7
- `TransactionType` exposes publicly writable state (Title). — AlibabaClone.Domain/Aggregates/TransactionAggregates/TransactionType.cs:5
- `Ticket` exposes publicly writable state (TicketOrderId, SeatId, TravelerId, CreatedAt, CanceledAt, CompanionId, and 8 more). — AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:7
- `TicketOrder` exposes publicly writable state (TransportationId, BuyerId, CreatedAt, SerialNumber, Description, Tickets, and 3 more). — AlibabaClone.Domain/Aggregates/TransportationAggregates/TicketOrder.cs:7
- `TicketStatus` exposes publicly writable state (Title). — AlibabaClone.Domain/Aggregates/TransportationAggregates/TicketStatus.cs:5
- `Transportation` exposes publicly writable state (FromLocationId, ToLocationId, CompanyId, VehicleId, StartDateTime, EndDateTime, and 7 more). — AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs:8
- `Seat` exposes publicly writable state (VehicleId, Row, Column, IsVIP, IsAvailable, Description, and 2 more). — AlibabaClone.Domain/Aggregates/VehicleAggregates/Seat.cs:6
- `Vehicle` exposes publicly writable state (Title, VehicleTypeId, Capacity, PlateNumber, VehicleType, Seats, and 1 more). — AlibabaClone.Domain/Aggregates/VehicleAggregates/Vehicle.cs:6
- `VehicleType` exposes publicly writable state (Title, Vehicles). — AlibabaClone.Domain/Aggregates/VehicleAggregates/VehicleType.cs:5
What to do
- Make entity setters private/init-only and hand collections out as IReadOnlyList/IReadOnlyCollection over a private backing field; change state only through methods that enforce the invariants (Marten/EF can bind via constructor or private setters).
DM6 · Domain ↔ infrastructure boundary
DM7 · Repository granularity
- `IBankAccountDetailRepository` is a repository over `BankAccountDetail`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `BankAccountDetail` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/AccountRepositories/IBankAccountDetailRepository.cs:5
- `IGenderRepository` is a repository over `Gender`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `Gender` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/AccountRepositories/IGenderRepository.cs:5
- `IPersonRepository` is a repository over `Person`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `Person` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/AccountRepositories/IPersonRepository.cs:5
- `IRoleRepository` is a repository over `Role`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `Role` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/AccountRepositories/IRoleRepository.cs:5
- `ICompanyRepository` is a repository over `Company`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `Company` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/CompanyRepositories/ICompanyRepository.cs:5
- `ICityRepository` is a repository over `City`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `City` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/LocationRepositories/ICityRepository.cs:5
- `ILocationRepository` is a repository over `Location`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `Location` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/LocationRepositories/ILocationRepository.cs:5
- `ILocationTypeRepository` is a repository over `LocationType`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `LocationType` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/LocationRepositories/ILocationTypeRepository.cs:5
- `ICouponRepository` is a repository over `Coupon`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `Coupon` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/TransactionRepositories/ICouponRepository.cs:5
- `ITransactionRepository` is a repository over `Transaction`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `Transaction` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/TransactionRepositories/ITransactionRepository.cs:5
- `ITicketOrderRepository` is a repository over `TicketOrder`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `TicketOrder` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/TransportationRepositories/ITicketOrderRepository.cs:5
- `ITicketRepository` is a repository over `Ticket`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `Ticket` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/TransportationRepositories/ITicketRepository.cs:5
- `ITicketStatusRepository` is a repository over `TicketStatus`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `TicketStatus` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/TransportationRepositories/ITicketStatusRepository.cs:5
- `ITransportationRepository` is a repository over `Transportation`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `Transportation` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/TransportationRepositories/ITransportationRepository.cs:5
- `ISeatRepository` is a repository over `Seat`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `Seat` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/VehicleRepositories/ISeatRepository.cs:5
- `IVehicleRepository` is a repository over `Vehicle`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `Vehicle` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/VehicleRepositories/IVehicleRepository.cs:5
- `IVehicleTypeRepository` is a repository over `VehicleType`, which is an entity but not an aggregate root. Repositories should be per aggregate ROOT — loading/saving a child entity independently lets callers bypass the root's invariants. Access `VehicleType` through its owning aggregate instead. — AlibabaClone.Domain/Framework/Interfaces/Repositories/VehicleRepositories/IVehicleTypeRepository.cs:5
What to do
- Define repositories per aggregate root and keep the query handle inside them; reach child entities through their root so invariants can't be bypassed.
DM8 · Value-object opportunities
DM9 · Scattered domain decisions
- AlibabaClone.Domain.Aggregates.AccountAggregates.Person's [CreatorAccountId, IdNumber] are judged in AlibabaClone.Application.Services.PersonService, AlibabaClone.Application.Services.TicketOrderService — the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it.
What to do
- Move each repeated judgement onto the type that owns the members it reads, so the rule has one home and cannot drift.
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- A line of code has been commented out rather than removed — dead weight that rots and confuses. Delete it (version control remembers). (×8) — AlibabaClone.Infrastructure/Services/PdfGenerator.cs:22, AlibabaClone.Infrastructure/Services/PdfGenerator.cs:23, AlibabaClone.Infrastructure/Services/PdfGenerator.cs:66, …
What to do
- Clear the softer debt: remove commented-out code and dead branches, re-enable or delete skipped tests, and replace blanket warning suppressions with targeted ones.
M1 · Documentation (README)
What to do
- Add a README to the 4 of 4 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
- Production code isn't grouped under a src/ folder — it's spread across several top-level directories, so there's no one place that says 'this is the product'.
What to do
- Group production code under src/ (or split deliberately, e.g. backend/ + frontend/) so production and tooling code aren't mixed at the root.
- Start a test surface where your build system looks for one (tests/, test/, spec/, or your ecosystem's test source set) — the separation follows from putting the first tests in the right place.
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:463
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
What to do
- Run the test suite in CI via an explicit runner step for your stack, and gate merges on it.
P2 · Observability
- No logging call was found in the 176 `.cs` file(s) this check read. Each was searched for the framework names `ILogger`, `Serilog`, `NLog` and `log4net`; for a call on a receiver whose name ends in `Logger`; for a `System.Diagnostics` write; for a level-gated log facade; and for the builder spellings that CONFIGURE logging for everyone else (`AddLogging(`, `ConfigureLogging(`, `UseSerilog(`, `UseNLog(`, `.Logging.Add…(`); and for emission through an `EventSource`, `ActivitySource` or `DiagnosticSource` (`WriteEvent(`, `StartActivity(`, `.Write("event", …)`). That walk sees only `.cs` documents from projects the workspace loaded, so it cannot see logging in source that did not load, in another language, or through a repo-local wrapper whose name does not end in `Logger` — this is 'no logging found by this walk', not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose.
What to do
- Adopt ILogger (or Serilog) and log at meaningful points across the projects.
- Consider OpenTelemetry tracing/metrics and a health-check endpoint for operability.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's csharp pack, or a .NET security analyzer package (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 1732 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: CodeQL's csharp pack, or a .NET security analyzer package — 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 automation exists but no readiness/liveness probes, rolling-update strategy, lifecycle hooks or migration job were evidenced — a bad release is harder to detect and reverse.
What to do
- Add readiness/liveness probes and a rolling-update (or blue/green) strategy so a bad release is caught and rolled back automatically.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P8 · Schema migrations
PF3 · Async & latency hygiene
S1 · Web-Security Posture
- This code fixes PBKDF2-SHA-256 at 100,000 iterations. A key-derivation function's only defence is the cost of ONE guess, and that cost is this number — the algorithm choice does not set it. Current OWASP guidance is 1,300,000 PBKDF2 iterations with HMAC-SHA1, 600,000 with SHA-256 and 210,000 with SHA-512; scrypt at N=2^17, r=8, p=1 (or an equivalent N·r·p product); Argon2id at 19 MiB of memory and 2 iterations (or an equivalent row); bcrypt at a work factor of at least 10. This figure divides the attacker's work by a factor of tens or hundreds against the same stolen hash, on hardware they already own. Where what is derived is short or low-entropy — a PIN, a numeric parental code, a four-character token — the whole keyspace falls in the time this parameter buys, and no salt or constant-time comparison changes that. Raise the count to the current published figure for the PRF you use, measure it on the slowest hardware that must run it (a target of roughly 100 ms per derivation is the usual budget), and read the value from configuration so a deployment can raise it again without a rebuild. Where the derived value must interoperate with a format someone else fixed, the count cannot move — derive a SEPARATE value for anything you own rather than inheriting the external format's price. (×2) — AlibabaClone.Application/Utils/PasswordHasher.cs:11, AlibabaClone.Application/Utils/PasswordHasher.cs:28
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is configured — defense in depth, even when a reverse proxy could set them. (−2.0 on this card.)
- This web host's pipeline is composed here and adds no security response header (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, a frame policy) to what it serves. — AlibabaClone.WebAPI/Program.cs:26
What to do
- Raise the cost parameter to current guidance — PBKDF2 at 1,300,000 (HMAC-SHA1), 600,000 (SHA-256) or 210,000 (SHA-512) iterations; scrypt at N=2^17, r=8, p=1; bcrypt at a work factor of 10 or more — or move to a memory-hard KDF (Argon2id, scrypt) where the platform offers one. Read the parameter from configuration and tune it to roughly 100 ms per derivation on the slowest hardware that must run it, so the price can be raised again without shipping new code. This repository constructs a key derivation priced below the floor at 2 sites, not one: `AlibabaClone.Application/Utils/PasswordHasher.cs:11` (PBKDF2-SHA-256, 100,000 iterations), `AlibabaClone.Application/Utils/PasswordHasher.cs:28` (PBKDF2-SHA-256, 100,000 iterations). Each is a separate decision — fixing only the line this row cites leaves the others in place.
- Add security response headers (Content-Security-Policy first, then Strict-Transport-Security, X-Content-Type-Options and a frame policy) — defense in depth, even when a reverse proxy could set them.
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
- `pbkdf2` is a `Rfc2898DeriveBytes`, which implements `IDisposable`, and it is created here (line 11). Every use of it in `HashPassword` reads a member through it — it is never returned, never stored, never handed to anything else, and never disposed — so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with `using` (`using var pbkdf2 = …;`), which releases it at the end of the scope on every path including a throw. — AlibabaClone.Application/Utils/PasswordHasher.cs:11
- `pbkdf2` is a `Rfc2898DeriveBytes`, which implements `IDisposable`, and it is created here (line 28). Every use of it in `VerifyPassword` reads a member through it — it is never returned, never stored, never handed to anything else, and never disposed — so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with `using` (`using var pbkdf2 = …;`), which releases it at the end of the scope on every path including a throw. — AlibabaClone.Application/Utils/PasswordHasher.cs:28
- `_context` is never created by `UnitOfWork` — every assignment to it takes a constructor parameter — yet this type disposes it here (line 16). Its declared type `ApplicationDBContext` is an interface, so the instance came from whoever resolved it, and that owner decides when it ends. Disposing it from here reaches outside this object's lifetime: a dependency shared with the rest of the process is torn down when THIS instance goes away, and the real owner's later `Dispose()` runs a second time on an object already disposed. Drop the call — a type disposes what it constructed, and only that. If this dependency genuinely is exclusive to this instance, construct it here (or take an owned factory) so the ownership is stated in the code rather than assumed. — AlibabaClone.Infrastructure/Framework/Base/UnitOfWork.cs:16
What to do
- Each finding names the value and the span that decides who owns it — the `new` that created it, or the constructor parameter that handed it over. Confirm ownership from that span, then make the disposal match it: release what this type created, leave what it was injected with to whoever created THAT, and drop a finalizer whose type holds nothing unmanaged to release.
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 0/65 async methods accept a CancellationToken, so in-flight work can't be stopped early when the caller gives up — whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice — judge against your hosting model.
- No CancellationToken parameter — this work can't be stopped early once started. (×39) — AlibabaClone.WebAPI/Controllers/AccountController.cs:26, AlibabaClone.WebAPI/Controllers/AccountController.cs:46, AlibabaClone.WebAPI/Controllers/AccountController.cs:67, …
What to do
- Thread a CancellationToken through async methods so work stops promptly on cancellation.
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
X32 · Type resolved by simple name across every loaded assembly
X4 · Structured logging
X5 · Nullable reference types
- ~0.1 `!` suppressions per 1k syntax nodes — 7 suppression(s) across the 69443 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a `!` can suppress anything in (a `!` under `#nullable disable` is inert and is not counted, and its file's nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide.
What to do
- Enable <Nullable>enable</Nullable> across all projects and resolve warnings rather than suppressing with `!`.
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 80% | Strong | Solid. |
| Architecture | 87% | Strong | Solid. |
| Maturity | 59% | Adequate — gated by D34 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 26% | Weak — gated by D8, D9, P2, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 60% | Adequate — gated by D29, D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 47% | Weak — gated by DM2, DM4, DM7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Strongest area. |
Unscored — 2 check(s) recorded observations but carry no score
- SC1 Supply-chain hygiene — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X10 Duplicated predicate — 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 — Repo shows no audit-logging mechanism (IAuditable, an immutable audit log, an EF SaveChanges interceptor) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 38 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 — This repository has no user interface to render — no markup (HTML, Razor, JSX, Vue, Svelte or server templates), no UI framework dependency, no UI component source and no native UI project — so WCAG's runtime success criteria have nothing to apply to here. Not applicable: this is neither a gap in the scan nor a finding about your code.
- AXS1 Runtime exposed surface — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- D10 Test Quality — No tests were found in the analyzed repository to assess for quality.
- D11 Test Reliability — No test suite was found to re-run, so reliability couldn't be assessed. Two searches produced that zero and both came back empty: the classifier that reads the loaded workspace recognised no suite it could run, and a walk of the source on disk — which covers the JS/TS `*.test.*` and `*.spec.*` conventions and probes for a Pester suite — found no test source in any other ecosystem either. Neither search reaches a suite that is missing from the loaded workspace and carries no name either walk recognises, so this is 'no suite found by those two searches', not a verdict that the repository has none.
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- D23 Boundary Type-Coupling — small single-context codebase (3,821 production LoC in the .NET projects) — bounded contexts are not needed at this size 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 (AlibabaClone.Domain), which is a layered codebase, not two contexts. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D25 ADR Conformance — no ADRs to check
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- 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.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D43 Malicious Dependencies — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet).
- D7 Architectural Integrity — no checkable ADRs and no dependency cycles — architectural integrity not assessed
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P7 Outbound HTTP resilience — no outbound HTTP usage detected — no HttpClient/IHttpClientFactory/AddHttpClient in source, and no Refit/RestSharp/Flurl.Http namespace or package reference
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (Cobertura — `dotnet test --collect:"XPlat Code Coverage"` with a `coverlet.collector` PackageReference) 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 — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- PF2 Allocation hygiene — Performance is assessed only for perf-relevant repos — a packaged library, one that ships benchmarks, or one already using allocation-aware APIs. This repo isn't one, so the Performance lens is not applicable and is excluded from the score.
- 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 — 22 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- WriteOnlyPrivateField AlibabaClone.Application/Services/CityService.cs:14
- WriteOnlyPrivateField AlibabaClone.Application/Services/TransportationService.cs:16
- WriteOnlyPrivateField AlibabaClone.Application/Services/TicketOrderService.cs:28
- WriteOnlyPrivateField AlibabaClone.WebAPI/Controllers/TicketOrderController.cs:16
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Namespace dependency cycle AlibabaClone.Domain/Aggregates/AccountAggregates/Account.cs:1
- Vulnerable: AutoMapper
- REDACTED
- REDACTED
- REDACTED
- No automated tests
Serious — 114 finding(s)
- Async method without CancellationToken: GetProfile AlibabaClone.WebAPI/Controllers/AccountController.cs:26
- Async method without CancellationToken: GetMyTravels AlibabaClone.WebAPI/Controllers/AccountController.cs:46
- Async method without CancellationToken: GetTravelOrderDetails AlibabaClone.WebAPI/Controllers/AccountController.cs:67
- Async method without CancellationToken: GetMyTransactions AlibabaClone.WebAPI/Controllers/AccountController.cs:88
- Async method without CancellationToken: EditEmail AlibabaClone.WebAPI/Controllers/AccountController.cs:110
- Async method without CancellationToken: EditPassword AlibabaClone.WebAPI/Controllers/AccountController.cs:128
- Async method without CancellationToken: UpsertAccountPerson AlibabaClone.WebAPI/Controllers/AccountController.cs:146
- Async method without CancellationToken: UpsertPerson AlibabaClone.WebAPI/Controllers/AccountController.cs:163
- Async method without CancellationToken: UpsertBankDetail AlibabaClone.WebAPI/Controllers/AccountController.cs:181
- Async method without CancellationToken: GetMyPeople AlibabaClone.WebAPI/Controllers/AccountController.cs:199
- Async method without CancellationToken: TopUpAccount AlibabaClone.WebAPI/Controllers/AccountController.cs:221
- Async method without CancellationToken: Register REDACTED:22
- Async method without CancellationToken: Login REDACTED:41
- Async method without CancellationToken: GetAllCities REDACTED:18
- Async method without CancellationToken: ValidateCoupon AlibabaClone.WebAPI/Controllers/CouponController.cs:25
- Async method without CancellationToken: CreateTicketOrder AlibabaClone.WebAPI/Controllers/TicketOrderController.cs:28
- Async method without CancellationToken: DownloadPdf AlibabaClone.WebAPI/Controllers/TicketOrderController.cs:46
- Async method without CancellationToken: SearchTransportations REDACTED:20
- Async method without CancellationToken: GetTransportationSeats REDACTED:43
- Async method without CancellationToken: GetProfileAsync AlibabaClone.Application/Services/AccountService.cs:50
- Async method without CancellationToken: GetTravels AlibabaClone.Application/Services/AccountService.cs:61
- Async method without CancellationToken: GetTicketOrderTravelersDetails AlibabaClone.Application/Services/AccountService.cs:72
- Async method without CancellationToken: GetAccountTransactions AlibabaClone.Application/Services/AccountService.cs:88
- Async method without CancellationToken: UpdateEmailAsync AlibabaClone.Application/Services/AccountService.cs:99
- Async method without CancellationToken: UpdatePasswordAsync AlibabaClone.Application/Services/AccountService.cs:123
- Anemic entity: BankAccountDetail AlibabaClone.Domain/Aggregates/AccountAggregates/BankAccountDetail.cs:5
- Anemic entity: Gender AlibabaClone.Domain/Aggregates/AccountAggregates/Gender.cs:5
- Anemic entity: Person AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:6
- Anemic entity: Role AlibabaClone.Domain/Aggregates/AccountAggregates/Role.cs:5
- Anemic entity: Company AlibabaClone.Domain/Aggregates/CompanyAggregates/Company.cs:6
- Anemic entity: City AlibabaClone.Domain/Aggregates/LocationAggregates/City.cs:5
- Anemic entity: Location AlibabaClone.Domain/Aggregates/LocationAggregates/Location.cs:6
- Anemic entity: LocationType AlibabaClone.Domain/Aggregates/LocationAggregates/LocationType.cs:5
- Anemic entity: Coupon AlibabaClone.Domain/Aggregates/TransactionAggregates/Coupon.cs:5
- Anemic entity: Transaction AlibabaClone.Domain/Aggregates/TransactionAggregates/Transaction.cs:7
- Anemic entity: TransactionType AlibabaClone.Domain/Aggregates/TransactionAggregates/TransactionType.cs:5
- Anemic entity: Ticket AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:7
- Anemic entity: TicketOrder AlibabaClone.Domain/Aggregates/TransportationAggregates/TicketOrder.cs:7
- Anemic entity: TicketStatus AlibabaClone.Domain/Aggregates/TransportationAggregates/TicketStatus.cs:5
- Anemic entity: Transportation AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs:8
- Anemic entity: Seat AlibabaClone.Domain/Aggregates/VehicleAggregates/Seat.cs:6
- Anemic entity: Vehicle AlibabaClone.Domain/Aggregates/VehicleAggregates/Vehicle.cs:6
- Anemic entity: VehicleType AlibabaClone.Domain/Aggregates/VehicleAggregates/VehicleType.cs:5
- Repository for a non-root entity: IBankAccountDetailRepository → BankAccountDetail AlibabaClone.Domain/Framework/Interfaces/Repositories/AccountRepositories/IBankAccountDetailRepository.cs:5
- Repository for a non-root entity: IGenderRepository → Gender AlibabaClone.Domain/Framework/Interfaces/Repositories/AccountRepositories/IGenderRepository.cs:5
- Repository for a non-root entity: IPersonRepository → Person AlibabaClone.Domain/Framework/Interfaces/Repositories/AccountRepositories/IPersonRepository.cs:5
- Repository for a non-root entity: IRoleRepository → Role AlibabaClone.Domain/Framework/Interfaces/Repositories/AccountRepositories/IRoleRepository.cs:5
- Repository for a non-root entity: ICompanyRepository → Company AlibabaClone.Domain/Framework/Interfaces/Repositories/CompanyRepositories/ICompanyRepository.cs:5
- Repository for a non-root entity: ICityRepository → City AlibabaClone.Domain/Framework/Interfaces/Repositories/LocationRepositories/ICityRepository.cs:5
- Repository for a non-root entity: ILocationRepository → Location AlibabaClone.Domain/Framework/Interfaces/Repositories/LocationRepositories/ILocationRepository.cs:5
- Repository for a non-root entity: ILocationTypeRepository → LocationType AlibabaClone.Domain/Framework/Interfaces/Repositories/LocationRepositories/ILocationTypeRepository.cs:5
- Repository for a non-root entity: ICouponRepository → Coupon AlibabaClone.Domain/Framework/Interfaces/Repositories/TransactionRepositories/ICouponRepository.cs:5
- Repository for a non-root entity: ITransactionRepository → Transaction AlibabaClone.Domain/Framework/Interfaces/Repositories/TransactionRepositories/ITransactionRepository.cs:5
- Repository for a non-root entity: ITicketOrderRepository → TicketOrder AlibabaClone.Domain/Framework/Interfaces/Repositories/TransportationRepositories/ITicketOrderRepository.cs:5
- Repository for a non-root entity: ITicketRepository → Ticket AlibabaClone.Domain/Framework/Interfaces/Repositories/TransportationRepositories/ITicketRepository.cs:5
- Repository for a non-root entity: ITicketStatusRepository → TicketStatus AlibabaClone.Domain/Framework/Interfaces/Repositories/TransportationRepositories/ITicketStatusRepository.cs:5
- Repository for a non-root entity: ITransportationRepository → Transportation AlibabaClone.Domain/Framework/Interfaces/Repositories/TransportationRepositories/ITransportationRepository.cs:5
- Repository for a non-root entity: ISeatRepository → Seat AlibabaClone.Domain/Framework/Interfaces/Repositories/VehicleRepositories/ISeatRepository.cs:5
- Repository for a non-root entity: IVehicleRepository → Vehicle AlibabaClone.Domain/Framework/Interfaces/Repositories/VehicleRepositories/IVehicleRepository.cs:5
- Repository for a non-root entity: IVehicleTypeRepository → VehicleType AlibabaClone.Domain/Framework/Interfaces/Repositories/VehicleRepositories/IVehicleTypeRepository.cs:5
- Repeated repair: AlibabaClone.Application/Services/TicketOrderService.cs AlibabaClone.Application/Services/TicketOrderService.cs:66
- Repeated repair: AlibabaClone.Application/Services/AuthService.cs AlibabaClone.Application/Services/AuthService.cs:96
- Repeated repair: AlibabaClone.Application/Services/PersonService.cs AlibabaClone.Application/Services/PersonService.cs:59
- Repeated repair: AlibabaClone.Domain/Aggregates/AccountAggregates/Account.cs AlibabaClone.Domain/Aggregates/AccountAggregates/Account.cs:32
- Repeated repair: AlibabaClone.Infrastructure/Configurations/AccountAggregates/GenderConfiguration.cs AlibabaClone.Infrastructure/Configurations/AccountAggregates/GenderConfiguration.cs:9
- Repeated repair: AlibabaClone.Infrastructure/Configurations/AccountAggregates/RoleConfiguration.cs AlibabaClone.Infrastructure/Configurations/AccountAggregates/RoleConfiguration.cs:9
- Repeated repair: AlibabaClone.Infrastructure/Configurations/LocationAggregates/LocationTypeConfiguration.cs AlibabaClone.Infrastructure/Configurations/LocationAggregates/LocationTypeConfiguration.cs:10
- Repeated repair: AlibabaClone.Infrastructure/Configurations/TransactionAggregates/TransactionTypeConfiguration.cs AlibabaClone.Infrastructure/Configurations/TransactionAggregates/TransactionTypeConfiguration.cs:10
- Repeated repair: AlibabaClone.Infrastructure/Configurations/TransportationAggregates/TicketStatusConfiguration.cs AlibabaClone.Infrastructure/Configurations/TransportationAggregates/TicketStatusConfiguration.cs:9
- Repeated repair: AlibabaClone.Infrastructure/Configurations/VehicleAggregates/VehicleTypeConfiguration.cs AlibabaClone.Infrastructure/Configurations/VehicleAggregates/VehicleTypeConfiguration.cs:12
- Repeated repair: AlibabaClone.Application/Services/TransportationService.cs AlibabaClone.Application/Services/TransportationService.cs:51
- Repeated repair: AlibabaClone.Application/Result/Result.cs AlibabaClone.Application/Result/Result.cs:8
- Repeated repair: AlibabaClone.Infrastructure/Configurations/TransportationAggregates/TransportationConfiguration.cs AlibabaClone.Infrastructure/Configurations/TransportationAggregates/TransportationConfiguration.cs:9
- Repeated repair: AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs:17
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Password key derivation is priced too cheaply AlibabaClone.Application/Utils/PasswordHasher.cs:11
- Password key derivation is priced too cheaply AlibabaClone.Application/Utils/PasswordHasher.cs:28
- Disposable created and abandoned in the method that made it AlibabaClone.Application/Utils/PasswordHasher.cs:11
- Disposable created and abandoned in the method that made it AlibabaClone.Application/Utils/PasswordHasher.cs:28
- CommentedOutCode AlibabaClone.Infrastructure/Services/TransportationAggregates/TransportationRepository.cs:31
- Dead code: CellStyle AlibabaClone.Infrastructure/Services/PdfGenerator.cs:32
- REDACTED
- REDACTED
- Members sharing a duplicated core (8 members, 50+ identical tokens) AlibabaClone.Infrastructure/Configurations/AccountAggregates/GenderConfiguration.cs:10
- Members sharing a duplicated core (7 members, 50+ identical tokens) AlibabaClone.WebAPI/Controllers/AccountController.cs:27
- Duplicated block (18 lines × 2) AlibabaClone.Application/DTOs/Account/PersonDto.cs:7
- Duplicated block (13 lines × 7) AlibabaClone.WebAPI/Controllers/AccountController.cs:31
- Duplicated block (12–13 lines × 8) AlibabaClone.Infrastructure/Configurations/AccountAggregates/GenderConfiguration.cs:10
- Duplicated block (10 lines × 2) AlibabaClone.WebAPI/Controllers/AccountController.cs:116
- Duplicated block (10–11 lines × 2) AlibabaClone.WebAPI/Controllers/CouponController.cs:29
- Duplicated block (9 lines × 3) AlibabaClone.WebAPI/Controllers/AccountController.cs:152
- Duplicated block (7 lines × 2) AlibabaClone.Application/Services/AccountService.cs:145
- Domain type reads the wall clock: Coupon AlibabaClone.Domain/Aggregates/TransactionAggregates/Coupon.cs:17
- No structured logging
- NuGet dependencies are not locked
- Disposes a dependency it does not own AlibabaClone.Infrastructure/Framework/Base/UnitOfWork.cs:16
Minor — 86 finding(s)
- Primitive id on a domain type: Account.PersonId AlibabaClone.Domain/Aggregates/AccountAggregates/Account.cs:12
- Primitive id on a domain type: BankAccountDetail.AccountId AlibabaClone.Domain/Aggregates/AccountAggregates/BankAccountDetail.cs:7
- Primitive id on a domain type: Person.GenderId AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:13
- Primitive id on a domain type: Person.CreatorAccountId AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:18
- Primitive id on a domain type: Location.CityId AlibabaClone.Domain/Aggregates/LocationAggregates/Location.cs:9
- Primitive id on a domain type: Location.LocationTypeId AlibabaClone.Domain/Aggregates/LocationAggregates/Location.cs:10
- Primitive id on a domain type: Transaction.TransactionTypeId AlibabaClone.Domain/Aggregates/TransactionAggregates/Transaction.cs:9
- Primitive id on a domain type: Transaction.AccountId AlibabaClone.Domain/Aggregates/TransactionAggregates/Transaction.cs:10
- Primitive id on a domain type: Transaction.TicketOrderId AlibabaClone.Domain/Aggregates/TransactionAggregates/Transaction.cs:11
- Primitive id on a domain type: Transaction.CouponId AlibabaClone.Domain/Aggregates/TransactionAggregates/Transaction.cs:16
- Primitive id on a domain type: Ticket.TicketOrderId AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:10
- Primitive id on a domain type: Ticket.SeatId AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:11
- Primitive id on a domain type: Ticket.TravelerId AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:12
- Primitive id on a domain type: Ticket.CompanionId AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:15
- Primitive id on a domain type: Ticket.TicketStatusId AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:16
- Primitive id on a domain type: TicketOrder.TransportationId AlibabaClone.Domain/Aggregates/TransportationAggregates/TicketOrder.cs:9
- Primitive id on a domain type: TicketOrder.BuyerId AlibabaClone.Domain/Aggregates/TransportationAggregates/TicketOrder.cs:10
- Primitive id on a domain type: Transportation.FromLocationId AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs:10
- Primitive id on a domain type: Transportation.ToLocationId AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs:11
- Primitive id on a domain type: Transportation.CompanyId AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs:12
- Primitive id on a domain type: Transportation.VehicleId AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs:13
- Primitive id on a domain type: Seat.VehicleId AlibabaClone.Domain/Aggregates/VehicleAggregates/Seat.cs:8
- Primitive id on a domain type: Vehicle.VehicleTypeId AlibabaClone.Domain/Aggregates/VehicleAggregates/Vehicle.cs:9
- Mutable entity: Account AlibabaClone.Domain/Aggregates/AccountAggregates/Account.cs:7
- Mutable entity: BankAccountDetail AlibabaClone.Domain/Aggregates/AccountAggregates/BankAccountDetail.cs:5
- Mutable entity: Gender AlibabaClone.Domain/Aggregates/AccountAggregates/Gender.cs:5
- Mutable entity: Person AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:6
- Mutable entity: Role AlibabaClone.Domain/Aggregates/AccountAggregates/Role.cs:5
- Mutable entity: Company AlibabaClone.Domain/Aggregates/CompanyAggregates/Company.cs:6
- Mutable entity: City AlibabaClone.Domain/Aggregates/LocationAggregates/City.cs:5
- Mutable entity: Location AlibabaClone.Domain/Aggregates/LocationAggregates/Location.cs:6
- Mutable entity: LocationType AlibabaClone.Domain/Aggregates/LocationAggregates/LocationType.cs:5
- Mutable entity: Coupon AlibabaClone.Domain/Aggregates/TransactionAggregates/Coupon.cs:5
- Mutable entity: Transaction AlibabaClone.Domain/Aggregates/TransactionAggregates/Transaction.cs:7
- Mutable entity: TransactionType AlibabaClone.Domain/Aggregates/TransactionAggregates/TransactionType.cs:5
- Mutable entity: Ticket AlibabaClone.Domain/Aggregates/TransportationAggregates/Ticket.cs:7
- Mutable entity: TicketOrder AlibabaClone.Domain/Aggregates/TransportationAggregates/TicketOrder.cs:7
- Mutable entity: TicketStatus AlibabaClone.Domain/Aggregates/TransportationAggregates/TicketStatus.cs:5
- Mutable entity: Transportation AlibabaClone.Domain/Aggregates/TransportationAggregates/Transportation.cs:8
- Mutable entity: Seat AlibabaClone.Domain/Aggregates/VehicleAggregates/Seat.cs:6
- Mutable entity: Vehicle AlibabaClone.Domain/Aggregates/VehicleAggregates/Vehicle.cs:6
- Mutable entity: VehicleType AlibabaClone.Domain/Aggregates/VehicleAggregates/VehicleType.cs:5
- Orphaned file AlibabaClone.Application/Services/AccountService.cs:1
- Orphaned file AlibabaClone.Application/Services/TicketOrderService.cs:1
- Orphaned file AlibabaClone.WebAPI/Controllers/AccountController.cs:1
- Orphaned file AlibabaClone.Application/Mappers/Profiles/MappingProfile.cs:1
- Orphaned file AlibabaClone.WebAPI/Program.cs:1
- Orphaned file AlibabaClone.Infrastructure/Services/PdfGenerator.cs:1
- Orphaned file AlibabaClone.Application/Services/AuthService.cs:1
- Orphaned file AlibabaClone.Application/Services/CouponService.cs:1
- Orphaned file AlibabaClone.Application/Services/PersonService.cs:1
- Orphaned file AlibabaClone.Infrastructure/Seeders/DBInitializer.cs:1
- Orphaned file AlibabaClone.Application/Services/TransportationService.cs:1
- Orphaned file AlibabaClone.WebAPI/Controllers/TicketOrderController.cs:1
- Commented-out code AlibabaClone.Infrastructure/Services/PdfGenerator.cs:22
- Commented-out code AlibabaClone.Infrastructure/Services/PdfGenerator.cs:23
- Commented-out code AlibabaClone.Infrastructure/Services/PdfGenerator.cs:66
- Commented-out code AlibabaClone.Infrastructure/Services/TransportationAggregates/TransportationRepository.cs:31
- Commented-out code AlibabaClone.Infrastructure/Services/TransportationAggregates/TransportationRepository.cs:32
- Commented-out code AlibabaClone.Infrastructure/Services/TransportationAggregates/TransportationRepository.cs:33
- Commented-out code AlibabaClone.Infrastructure/Services/TransportationAggregates/TransportationRepository.cs:34
- Commented-out code AlibabaClone.Infrastructure/Services/TransportationAggregates/TransportationRepository.cs:35
- No security response headers detected
- No security response headers detected AlibabaClone.WebAPI/Program.cs:26
- Partial data-retention evidence
- Documentation: no contributor guidance README.md
- No ADRs found
- Migration class names use inconsistent casing conventions: PascalCase (`AdjustDatabaseforProfilePage`) vs camelCase (`updatecoupon`).
- misleading comment AlibabaClone.Application/Interfaces/IPersonService.cs:8
- REDACTED
- Orphaned files with no living knowledge
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- IL efficiency: 6 authored method(s) exceed the IL budget AlibabaClone.Application/Mappers/Profiles/MappingProfile.cs:17
- No tests found
- Rule about [CreatorAccountId, IdNumber] decided in 2 places
- No ADRs
- No src/ separation
- README/code drift README.md:463
- No SAST
- No rollback/health safety
- Duplicated predicate AlibabaClone.Application/Services/AccountService.cs:145
- Not all async methods take a CancellationToken
- Null-forgiving operator (`!`) suppressions reduce the NRT score
Minor — 18 finding(s)
- Outdated: AutoMapper
- Outdated: DotNetEnv
- Outdated: Microsoft.AspNetCore.Authentication.JwtBearer
- Outdated: Microsoft.EntityFrameworkCore.Design
- Outdated: Newtonsoft.Json
- Outdated: Swashbuckle.AspNetCore
- Outdated: Swashbuckle.AspNetCore.Swagger
- Outdated: System.IdentityModel.Tokens.Jwt
- Outdated: Microsoft.Extensions.DependencyInjection
- Outdated: Microsoft.EntityFrameworkCore
- Outdated: Microsoft.EntityFrameworkCore.Proxies
- Outdated: Microsoft.EntityFrameworkCore.SqlServer
- Outdated: Microsoft.EntityFrameworkCore.Tools
- Outdated: QuestPDF
- XML-doc coverage: AlibabaClone.WebAPI AlibabaClone.WebAPI/AlibabaClone.WebAPI.csproj
- XML-doc coverage: AlibabaClone.Application REDACTED
- XML-doc coverage: AlibabaClone.Domain AlibabaClone.Domain/AlibabaClone.Domain.csproj
- XML-doc coverage: AlibabaClone.Infrastructure AlibabaClone.Infrastructure/AlibabaClone.Infrastructure.csproj
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-1b84013ee1cb45db93eb0a811d06b8f9/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-1b84013ee1cb45db93eb0a811d06b8f9/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 . | 16 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | dotnet | — | dotnet list AlibabaClone-Backend.sln package --vulnerable --include-transitive --format json | 1 | artifacts/raw/dotnet-vulnerable.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 4 | 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 | none (no readable dependency manifest) | — | none (no readable dependency manifest): not applicable — Not scored — no dependency manifest in a supported ecosystem was read for this repository. A gap in the analyzer's language coverage, NOT a finding that the repository is free of vulnerable dependencies (a Python pyproject.toml/requirements.txt (pip/uv/Poetry), a Swift Package.swift/Package.resolved, a Cargo manifest, a Go module (go.mod/go.sum), a Gradle version catalogue, a Maven POM, an sbt build (build.sbt), composer.json, package.json, a Dart pubspec.yaml, an Elixir mix.exs/mix.lock (Hex), a rebar.config / erlang.mk DEPS (Hex), a Ruby Gemfile/Gemfile.lock or .gemspec (Bundler/RubyGems) — not scanned yet). | 0 | — |
Appendix C — Personal-data map
Name — 14 field(s)
- PersonDto.FirstName AlibabaClone.Application/DTOs/Account/PersonDto.cs:10
- PersonDto.LastName AlibabaClone.Application/DTOs/Account/PersonDto.cs:12
- PersonDto.EnglishFirstName AlibabaClone.Application/DTOs/Account/PersonDto.cs:23
- PersonDto.EnglishLastName AlibabaClone.Application/DTOs/Account/PersonDto.cs:24
- ProfileDto.FirstName AlibabaClone.Application/DTOs/Account/ProfileDto.cs:5
- ProfileDto.LastName AlibabaClone.Application/DTOs/Account/ProfileDto.cs:6
- CreateTravelerTicketDto.FirstName AlibabaClone.Application/DTOs/Transportation/CreateTravelerTicketDto.cs:10
- CreateTravelerTicketDto.LastName AlibabaClone.Application/DTOs/Transportation/CreateTravelerTicketDto.cs:12
- CreateTravelerTicketDto.EnglishFirstName AlibabaClone.Application/DTOs/Transportation/CreateTravelerTicketDto.cs:23
- CreateTravelerTicketDto.EnglishLastName AlibabaClone.Application/DTOs/Transportation/CreateTravelerTicketDto.cs:24
- Person.FirstName AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:8
- Person.LastName AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:9
- Person.EnglishFirstName AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:16
- Person.EnglishLastName AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:17
Phone — 10 field(s)
- AccountDto.PhoneNumber AlibabaClone.Application/DTOs/Account/AccountDTO.cs:6
- PersonDto.PhoneNumber AlibabaClone.Application/DTOs/Account/PersonDto.cs:20
- ProfileDto.AccountPhoneNumber AlibabaClone.Application/DTOs/Account/ProfileDto.cs:7
- ProfileDto.PersonPhoneNumber AlibabaClone.Application/DTOs/Account/ProfileDto.cs:11
- AuthResponseDto.PhoneNumber AlibabaClone.Application/DTOs/Authentication/AuthResponseDto.cs:7
- LoginRequestDto.PhoneNumber AlibabaClone.Application/DTOs/Authentication/LoginRequestDto.cs:5
- RegisterRequestDto.PhoneNumber AlibabaClone.Application/DTOs/Authentication/RegisterRequestDto.cs:9
- CreateTravelerTicketDto.PhoneNumber AlibabaClone.Application/DTOs/Transportation/CreateTravelerTicketDto.cs:20
- Account.PhoneNumber AlibabaClone.Domain/Aggregates/AccountAggregates/Account.cs:9
- Person.PhoneNumber AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:14
Financial (card / IBAN) — 6 field(s)
- ProfileDto.IBAN AlibabaClone.Application/DTOs/Account/ProfileDto.cs:14
- ProfileDto.CardNumber AlibabaClone.Application/DTOs/Account/ProfileDto.cs:16
- UpsertBankAccountDetailDto.IBAN AlibabaClone.Application/DTOs/Account/UpsertBankAccountDetailDto.cs:5
- UpsertBankAccountDetailDto.CardNumber AlibabaClone.Application/DTOs/Account/UpsertBankAccountDetailDto.cs:6
- BankAccountDetail.CardNumber AlibabaClone.Domain/Aggregates/AccountAggregates/BankAccountDetail.cs:9
- BankAccountDetail.IBAN AlibabaClone.Domain/Aggregates/AccountAggregates/BankAccountDetail.cs:10
Date of birth — 5 field(s)
- PersonDto.BirthDate AlibabaClone.Application/DTOs/Account/PersonDto.cs:22
- ProfileDto.BirthDate AlibabaClone.Application/DTOs/Account/ProfileDto.cs:12
- CreateTravelerTicketDto.BirthDate AlibabaClone.Application/DTOs/Transportation/CreateTravelerTicketDto.cs:22
- TravelerTicketDto.BirthDate AlibabaClone.Application/DTOs/Transportation/TravelerTicketDto.cs:8
- Person.Birthdate AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:12
Email — 4 field(s)
- AccountDto.Email AlibabaClone.Application/DTOs/Account/AccountDTO.cs:8
- EditEmailDto.NewEmail AlibabaClone.Application/DTOs/Account/EditEmailDto.cs:8
- ProfileDto.Email AlibabaClone.Application/DTOs/Account/ProfileDto.cs:8
- Account.Email AlibabaClone.Domain/Aggregates/AccountAggregates/Account.cs:11
Government ID (SSN / passport / tax) — 1 field(s)
- Person.PassportNumber AlibabaClone.Domain/Aggregates/AccountAggregates/Person.cs:15