Executive summary
pvarentsov/typescript-clean-architecture scores 44 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 33 and is rated Weak. Its REDACTED Scanning dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 5 Leaked secret finding(s) in REDACTED Scanning and to resolve the 1 Inverted test pyramid finding(s) in Test Distribution, and if Production Readiness rose to 70, the score would rise from 44 to about 52.
64 findings are critical: 47 in Dependency Vulnerabilities, six in Secrets (history), five in REDACTED Scanning, three in IaC & Container Security, two in Static Analysis (SAST) and one in Dependency Hygiene.
Watchdog couldn't measure 7 dimensions in this code, among them Test Reliability, Internal API Consistency and Navigability, so they are left out of the score. The product code is 3,688 lines, which would take an estimated 0.1 person-years, around €9,800, to rebuild.
If Production Readiness rose from 33 to 70, the lowest score rated Strong, the score would rise from 44 to about 52.
New since the last survey: 38 findings
- Dependency Hygiene · Deprecated: eslint REDACTED
- Dependency Hygiene · Deprecated: supertest REDACTED
- Dependency Hygiene · Deprecated: uuid REDACTED
- REDACTED Scanning · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Dependency Hygiene · Unlisted import 'express' src/application/api/http-rest/auth/type/HttpAuthTypes.ts
Fixed since the last survey: 20 findings
- Dependency Vulnerabilities · Critical CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Supply-chain Provenance & Signing REDACTED
Rebuild cost: about €9,800 · Estimate
| Cost to rebuild | €3,300 to €16,000, for 54 to 172 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 44. 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,688 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 src.application.api.http-rest.controller.documentation.common.HttpRestApiResponse | 2 src.core.common.adapter.usecase.UseCaseValidatableAdapter | 3 src.core.common.enums.MediaEnums | 4 src.core.common.enums.PostEnums | 5 src.core.common.enums.UserEnums | 6 src.core.common.type.CommonTypes | 7 src.application.api.http-rest.controller.documentation.post.HttpRestApiModelPost | 8 src.core.common.api.CoreApiResponse | 9 src.core.common.entity.Entity | 10 src.core.domain.media.value-object.FileMetadata | 11 src.core.domain.media.entity.Media | 12 src.core.domain.post.entity.PostImage | 13 src.core.domain.post.entity.PostOwner | 14 src.core.domain.user.entity.User | 15 src.core.domain.media.port.persistence.MediaRepositoryPort | 16 src.core.domain.media.usecase.dto.MediaUseCaseDto | 17 src.core.domain.post.entity.Post | 18 src.core.domain.user.port.persistence.UserRepositoryPort | 19 src.core.domain.user.usecase.dto.UserUseCaseDto | 20 src.application.api.http-rest.auth.HttpAuthService | 21 src.application.api.http-rest.controller.MediaController | 22 src.application.api.http-rest.controller.UserController | 23 src.core.domain.post.port.persistence.PostRepositoryPort | 24 src.core.domain.post.usecase.dto.PostUseCaseDto | 25 src.core.service.media.handler.HandleDoesMediaExistQueryService | 26 src.core.service.media.handler.HandleGetMediaPreviewQueryService | 27 src.core.service.media.usecase.CreateMediaService | 28 src.core.service.media.usecase.EditMediaService | 29 src.core.service.media.usecase.GetMediaService | 30 src.core.service.media.usecase.RemoveMediaService | 31 src.core.service.user.handler.HandleGetUserPreviewQueryService | 32 src.core.service.user.usecase.CreateUserService | 33 src.core.service.user.usecase.GetUserService | 34 src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter | 35 test.e2e.fixture.PostFixture | 36 src.application.api.http-rest.controller.PostController | 37 src.core.service.post.usecase.CreatePostService | 38 src.core.service.post.usecase.EditPostService | 39 src.core.service.post.usecase.GetPostService | 40 src.core.service.post.usecase.PublishPostService |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 src.application.api.http-rest.controller.documentation.common.HttpRestApiResponse | ||||||||||||||||||||||||||||||||||||||||
| 2 src.core.common.adapter.usecase.UseCaseValidatableAdapter | ||||||||||||||||||||||||||||||||||||||||
| 3 src.core.common.enums.MediaEnums | ||||||||||||||||||||||||||||||||||||||||
| 4 src.core.common.enums.PostEnums | ||||||||||||||||||||||||||||||||||||||||
| 5 src.core.common.enums.UserEnums | ||||||||||||||||||||||||||||||||||||||||
| 6 src.core.common.type.CommonTypes | ||||||||||||||||||||||||||||||||||||||||
| 7 src.application.api.http-rest.controller.documentation.post.HttpRestApiModelPost | 1 | |||||||||||||||||||||||||||||||||||||||
| 8 src.core.common.api.CoreApiResponse | 1 | |||||||||||||||||||||||||||||||||||||||
| 9 src.core.common.entity.Entity | 1 | |||||||||||||||||||||||||||||||||||||||
| 10 src.core.domain.media.value-object.FileMetadata | 1 | |||||||||||||||||||||||||||||||||||||||
| 11 src.core.domain.media.entity.Media | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 12 src.core.domain.post.entity.PostImage | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 src.core.domain.post.entity.PostOwner | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 14 src.core.domain.user.entity.User | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 15 src.core.domain.media.port.persistence.MediaRepositoryPort | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 16 src.core.domain.media.usecase.dto.MediaUseCaseDto | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 17 src.core.domain.post.entity.Post | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 18 src.core.domain.user.port.persistence.UserRepositoryPort | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 src.core.domain.user.usecase.dto.UserUseCaseDto | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 20 src.application.api.http-rest.auth.HttpAuthService | 2 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 21 src.application.api.http-rest.controller.MediaController | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 22 src.application.api.http-rest.controller.UserController | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 23 src.core.domain.post.port.persistence.PostRepositoryPort | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 src.core.domain.post.usecase.dto.PostUseCaseDto | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 25 src.core.service.media.handler.HandleDoesMediaExistQueryService | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 src.core.service.media.handler.HandleGetMediaPreviewQueryService | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 src.core.service.media.usecase.CreateMediaService | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 28 src.core.service.media.usecase.EditMediaService | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 29 src.core.service.media.usecase.GetMediaService | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 src.core.service.media.usecase.RemoveMediaService | 1 | |||||||||||||||||||||||||||||||||||||||
| 31 src.core.service.user.handler.HandleGetUserPreviewQueryService | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 32 src.core.service.user.usecase.CreateUserService | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 33 src.core.service.user.usecase.GetUserService | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 34 src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 35 test.e2e.fixture.PostFixture | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 36 src.application.api.http-rest.controller.PostController | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 37 src.core.service.post.usecase.CreatePostService | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 38 src.core.service.post.usecase.EditPostService | 2 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 39 src.core.service.post.usecase.GetPostService | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 40 src.core.service.post.usecase.PublishPostService | 1 | 1 |
7→4 src.application.api.http-rest.controller.documentation.post.HttpRestApiModelPost uses src.core.common.enums.PostEnums✕
- Connections
- 1 pair of types, where a type in src.application.api.http-rest.controller.documentation.post.HttpRestApiModelPost uses a type in src.core.common.enums.PostEnums.
- The types involved
src.application.api.http-rest.controller.documentation.post.HttpRestApiModelPost.HttpRestApiModelPost→src.core.common.enums.PostEnums.PostStatus
- Direction
- src.application.api.http-rest.controller.documentation.post.HttpRestApiModelPost uses src.core.common.enums.PostEnums, so a change to src.core.common.enums.PostEnums can break src.application.api.http-rest.controller.documentation.post.HttpRestApiModelPost, while a change to src.application.api.http-rest.controller.documentation.post.HttpRestApiModelPost can't break src.core.common.enums.PostEnums.
- Position
- Below the diagonal: src.application.api.http-rest.controller.documentation.post.HttpRestApiModelPost uses a module listed above it, which is the healthy direction.
8→6 src.core.common.api.CoreApiResponse uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.core.common.api.CoreApiResponse uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.common.api.CoreApiResponse.CoreApiResponse→src.core.common.type.CommonTypes.Nullable
- Direction
- src.core.common.api.CoreApiResponse uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.common.api.CoreApiResponse, while a change to src.core.common.api.CoreApiResponse can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.common.api.CoreApiResponse uses a module listed above it, which is the healthy direction.
9→6 src.core.common.entity.Entity uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.core.common.entity.Entity uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.common.entity.Entity.Entity→src.core.common.type.CommonTypes.Optional
- Direction
- src.core.common.entity.Entity uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.common.entity.Entity, while a change to src.core.common.entity.Entity can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.common.entity.Entity uses a module listed above it, which is the healthy direction.
10→6 src.core.domain.media.value-object.FileMetadata uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.core.domain.media.value-object.FileMetadata uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.domain.media.value-object.FileMetadata.FileMetadata→src.core.common.type.CommonTypes.Nullable
- Direction
- src.core.domain.media.value-object.FileMetadata uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.domain.media.value-object.FileMetadata, while a change to src.core.domain.media.value-object.FileMetadata can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.domain.media.value-object.FileMetadata uses a module listed above it, which is the healthy direction.
11→3 src.core.domain.media.entity.Media uses src.core.common.enums.MediaEnums✕
- Connections
- 1 pair of types, where a type in src.core.domain.media.entity.Media uses a type in src.core.common.enums.MediaEnums.
- The types involved
src.core.domain.media.entity.Media.Media→src.core.common.enums.MediaEnums.MediaType
- Direction
- src.core.domain.media.entity.Media uses src.core.common.enums.MediaEnums, so a change to src.core.common.enums.MediaEnums can break src.core.domain.media.entity.Media, while a change to src.core.domain.media.entity.Media can't break src.core.common.enums.MediaEnums.
- Position
- Below the diagonal: src.core.domain.media.entity.Media uses a module listed above it, which is the healthy direction.
11→6 src.core.domain.media.entity.Media uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.core.domain.media.entity.Media uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.domain.media.entity.Media.Media→src.core.common.type.CommonTypes.Nullable
- Direction
- src.core.domain.media.entity.Media uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.domain.media.entity.Media, while a change to src.core.domain.media.entity.Media can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.domain.media.entity.Media uses a module listed above it, which is the healthy direction.
11→9 src.core.domain.media.entity.Media uses src.core.common.entity.Entity✕
- Connections
- 1 pair of types, where a type in src.core.domain.media.entity.Media uses a type in src.core.common.entity.Entity.
- The types involved
src.core.domain.media.entity.Media.Media→src.core.common.entity.Entity.Entity
- Direction
- src.core.domain.media.entity.Media uses src.core.common.entity.Entity, so a change to src.core.common.entity.Entity can break src.core.domain.media.entity.Media, while a change to src.core.domain.media.entity.Media can't break src.core.common.entity.Entity.
- Position
- Below the diagonal: src.core.domain.media.entity.Media uses a module listed above it, which is the healthy direction.
11→10 src.core.domain.media.entity.Media uses src.core.domain.media.value-object.FileMetadata✕
- Connections
- 1 pair of types, where a type in src.core.domain.media.entity.Media uses a type in src.core.domain.media.value-object.FileMetadata.
- The types involved
src.core.domain.media.entity.Media.Media→src.core.domain.media.value-object.FileMetadata.FileMetadata
- Direction
- src.core.domain.media.entity.Media uses src.core.domain.media.value-object.FileMetadata, so a change to src.core.domain.media.value-object.FileMetadata can break src.core.domain.media.entity.Media, while a change to src.core.domain.media.entity.Media can't break src.core.domain.media.value-object.FileMetadata.
- Position
- Below the diagonal: src.core.domain.media.entity.Media uses a module listed above it, which is the healthy direction.
12→9 src.core.domain.post.entity.PostImage uses src.core.common.entity.Entity✕
- Connections
- 1 pair of types, where a type in src.core.domain.post.entity.PostImage uses a type in src.core.common.entity.Entity.
- The types involved
src.core.domain.post.entity.PostImage.PostImage→src.core.common.entity.Entity.Entity
- Direction
- src.core.domain.post.entity.PostImage uses src.core.common.entity.Entity, so a change to src.core.common.entity.Entity can break src.core.domain.post.entity.PostImage, while a change to src.core.domain.post.entity.PostImage can't break src.core.common.entity.Entity.
- Position
- Below the diagonal: src.core.domain.post.entity.PostImage uses a module listed above it, which is the healthy direction.
13→5 src.core.domain.post.entity.PostOwner uses src.core.common.enums.UserEnums✕
- Connections
- 1 pair of types, where a type in src.core.domain.post.entity.PostOwner uses a type in src.core.common.enums.UserEnums.
- The types involved
src.core.domain.post.entity.PostOwner.PostOwner→src.core.common.enums.UserEnums.UserRole
- Direction
- src.core.domain.post.entity.PostOwner uses src.core.common.enums.UserEnums, so a change to src.core.common.enums.UserEnums can break src.core.domain.post.entity.PostOwner, while a change to src.core.domain.post.entity.PostOwner can't break src.core.common.enums.UserEnums.
- Position
- Below the diagonal: src.core.domain.post.entity.PostOwner uses a module listed above it, which is the healthy direction.
13→9 src.core.domain.post.entity.PostOwner uses src.core.common.entity.Entity✕
- Connections
- 1 pair of types, where a type in src.core.domain.post.entity.PostOwner uses a type in src.core.common.entity.Entity.
- The types involved
src.core.domain.post.entity.PostOwner.PostOwner→src.core.common.entity.Entity.Entity
- Direction
- src.core.domain.post.entity.PostOwner uses src.core.common.entity.Entity, so a change to src.core.common.entity.Entity can break src.core.domain.post.entity.PostOwner, while a change to src.core.domain.post.entity.PostOwner can't break src.core.common.entity.Entity.
- Position
- Below the diagonal: src.core.domain.post.entity.PostOwner uses a module listed above it, which is the healthy direction.
14→5 src.core.domain.user.entity.User uses src.core.common.enums.UserEnums✕
- Connections
- 1 pair of types, where a type in src.core.domain.user.entity.User uses a type in src.core.common.enums.UserEnums.
- The types involved
src.core.domain.user.entity.User.User→src.core.common.enums.UserEnums.UserRole
- Direction
- src.core.domain.user.entity.User uses src.core.common.enums.UserEnums, so a change to src.core.common.enums.UserEnums can break src.core.domain.user.entity.User, while a change to src.core.domain.user.entity.User can't break src.core.common.enums.UserEnums.
- Position
- Below the diagonal: src.core.domain.user.entity.User uses a module listed above it, which is the healthy direction.
14→6 src.core.domain.user.entity.User uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.core.domain.user.entity.User uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.domain.user.entity.User.User→src.core.common.type.CommonTypes.Nullable
- Direction
- src.core.domain.user.entity.User uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.domain.user.entity.User, while a change to src.core.domain.user.entity.User can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.domain.user.entity.User uses a module listed above it, which is the healthy direction.
14→9 src.core.domain.user.entity.User uses src.core.common.entity.Entity✕
- Connections
- 1 pair of types, where a type in src.core.domain.user.entity.User uses a type in src.core.common.entity.Entity.
- The types involved
src.core.domain.user.entity.User.User→src.core.common.entity.Entity.Entity
- Direction
- src.core.domain.user.entity.User uses src.core.common.entity.Entity, so a change to src.core.common.entity.Entity can break src.core.domain.user.entity.User, while a change to src.core.domain.user.entity.User can't break src.core.common.entity.Entity.
- Position
- Below the diagonal: src.core.domain.user.entity.User uses a module listed above it, which is the healthy direction.
15→6 src.core.domain.media.port.persistence.MediaRepositoryPort uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.core.domain.media.port.persistence.MediaRepositoryPort uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.domain.media.port.persistence.MediaRepositoryPort.MediaRepositoryPort→src.core.common.type.CommonTypes.Optional
- Direction
- src.core.domain.media.port.persistence.MediaRepositoryPort uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.domain.media.port.persistence.MediaRepositoryPort, while a change to src.core.domain.media.port.persistence.MediaRepositoryPort can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.domain.media.port.persistence.MediaRepositoryPort uses a module listed above it, which is the healthy direction.
15→11 src.core.domain.media.port.persistence.MediaRepositoryPort uses src.core.domain.media.entity.Media✕
- Connections
- 1 pair of types, where a type in src.core.domain.media.port.persistence.MediaRepositoryPort uses a type in src.core.domain.media.entity.Media.
- The types involved
src.core.domain.media.port.persistence.MediaRepositoryPort.MediaRepositoryPort→src.core.domain.media.entity.Media.Media
- Direction
- src.core.domain.media.port.persistence.MediaRepositoryPort uses src.core.domain.media.entity.Media, so a change to src.core.domain.media.entity.Media can break src.core.domain.media.port.persistence.MediaRepositoryPort, while a change to src.core.domain.media.port.persistence.MediaRepositoryPort can't break src.core.domain.media.entity.Media.
- Position
- Below the diagonal: src.core.domain.media.port.persistence.MediaRepositoryPort uses a module listed above it, which is the healthy direction.
16→3 src.core.domain.media.usecase.dto.MediaUseCaseDto uses src.core.common.enums.MediaEnums✕
- Connections
- 1 pair of types, where a type in src.core.domain.media.usecase.dto.MediaUseCaseDto uses a type in src.core.common.enums.MediaEnums.
- The types involved
src.core.domain.media.usecase.dto.MediaUseCaseDto.MediaUseCaseDto→src.core.common.enums.MediaEnums.MediaType
- Direction
- src.core.domain.media.usecase.dto.MediaUseCaseDto uses src.core.common.enums.MediaEnums, so a change to src.core.common.enums.MediaEnums can break src.core.domain.media.usecase.dto.MediaUseCaseDto, while a change to src.core.domain.media.usecase.dto.MediaUseCaseDto can't break src.core.common.enums.MediaEnums.
- Position
- Below the diagonal: src.core.domain.media.usecase.dto.MediaUseCaseDto uses a module listed above it, which is the healthy direction.
16→6 src.core.domain.media.usecase.dto.MediaUseCaseDto uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.core.domain.media.usecase.dto.MediaUseCaseDto uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.domain.media.usecase.dto.MediaUseCaseDto.MediaUseCaseDto→src.core.common.type.CommonTypes.Nullable
- Direction
- src.core.domain.media.usecase.dto.MediaUseCaseDto uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.domain.media.usecase.dto.MediaUseCaseDto, while a change to src.core.domain.media.usecase.dto.MediaUseCaseDto can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.domain.media.usecase.dto.MediaUseCaseDto uses a module listed above it, which is the healthy direction.
16→11 src.core.domain.media.usecase.dto.MediaUseCaseDto uses src.core.domain.media.entity.Media✕
- Connections
- 1 pair of types, where a type in src.core.domain.media.usecase.dto.MediaUseCaseDto uses a type in src.core.domain.media.entity.Media.
- The types involved
src.core.domain.media.usecase.dto.MediaUseCaseDto.MediaUseCaseDto→src.core.domain.media.entity.Media.Media
- Direction
- src.core.domain.media.usecase.dto.MediaUseCaseDto uses src.core.domain.media.entity.Media, so a change to src.core.domain.media.entity.Media can break src.core.domain.media.usecase.dto.MediaUseCaseDto, while a change to src.core.domain.media.usecase.dto.MediaUseCaseDto can't break src.core.domain.media.entity.Media.
- Position
- Below the diagonal: src.core.domain.media.usecase.dto.MediaUseCaseDto uses a module listed above it, which is the healthy direction.
17→4 src.core.domain.post.entity.Post uses src.core.common.enums.PostEnums✕
- Connections
- 1 pair of types, where a type in src.core.domain.post.entity.Post uses a type in src.core.common.enums.PostEnums.
- The types involved
src.core.domain.post.entity.Post.Post→src.core.common.enums.PostEnums.PostStatus
- Direction
- src.core.domain.post.entity.Post uses src.core.common.enums.PostEnums, so a change to src.core.common.enums.PostEnums can break src.core.domain.post.entity.Post, while a change to src.core.domain.post.entity.Post can't break src.core.common.enums.PostEnums.
- Position
- Below the diagonal: src.core.domain.post.entity.Post uses a module listed above it, which is the healthy direction.
17→6 src.core.domain.post.entity.Post uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.core.domain.post.entity.Post uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.domain.post.entity.Post.Post→src.core.common.type.CommonTypes.Nullable
- Direction
- src.core.domain.post.entity.Post uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.domain.post.entity.Post, while a change to src.core.domain.post.entity.Post can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.domain.post.entity.Post uses a module listed above it, which is the healthy direction.
17→9 src.core.domain.post.entity.Post uses src.core.common.entity.Entity✕
- Connections
- 1 pair of types, where a type in src.core.domain.post.entity.Post uses a type in src.core.common.entity.Entity.
- The types involved
src.core.domain.post.entity.Post.Post→src.core.common.entity.Entity.Entity
- Direction
- src.core.domain.post.entity.Post uses src.core.common.entity.Entity, so a change to src.core.common.entity.Entity can break src.core.domain.post.entity.Post, while a change to src.core.domain.post.entity.Post can't break src.core.common.entity.Entity.
- Position
- Below the diagonal: src.core.domain.post.entity.Post uses a module listed above it, which is the healthy direction.
17→12 src.core.domain.post.entity.Post uses src.core.domain.post.entity.PostImage✕
- Connections
- 1 pair of types, where a type in src.core.domain.post.entity.Post uses a type in src.core.domain.post.entity.PostImage.
- The types involved
src.core.domain.post.entity.Post.Post→src.core.domain.post.entity.PostImage.PostImage
- Direction
- src.core.domain.post.entity.Post uses src.core.domain.post.entity.PostImage, so a change to src.core.domain.post.entity.PostImage can break src.core.domain.post.entity.Post, while a change to src.core.domain.post.entity.Post can't break src.core.domain.post.entity.PostImage.
- Position
- Below the diagonal: src.core.domain.post.entity.Post uses a module listed above it, which is the healthy direction.
17→13 src.core.domain.post.entity.Post uses src.core.domain.post.entity.PostOwner✕
- Connections
- 1 pair of types, where a type in src.core.domain.post.entity.Post uses a type in src.core.domain.post.entity.PostOwner.
- The types involved
src.core.domain.post.entity.Post.Post→src.core.domain.post.entity.PostOwner.PostOwner
- Direction
- src.core.domain.post.entity.Post uses src.core.domain.post.entity.PostOwner, so a change to src.core.domain.post.entity.PostOwner can break src.core.domain.post.entity.Post, while a change to src.core.domain.post.entity.Post can't break src.core.domain.post.entity.PostOwner.
- Position
- Below the diagonal: src.core.domain.post.entity.Post uses a module listed above it, which is the healthy direction.
18→6 src.core.domain.user.port.persistence.UserRepositoryPort uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.core.domain.user.port.persistence.UserRepositoryPort uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.domain.user.port.persistence.UserRepositoryPort.UserRepositoryPort→src.core.common.type.CommonTypes.Optional
- Direction
- src.core.domain.user.port.persistence.UserRepositoryPort uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.domain.user.port.persistence.UserRepositoryPort, while a change to src.core.domain.user.port.persistence.UserRepositoryPort can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.domain.user.port.persistence.UserRepositoryPort uses a module listed above it, which is the healthy direction.
18→14 src.core.domain.user.port.persistence.UserRepositoryPort uses src.core.domain.user.entity.User✕
- Connections
- 1 pair of types, where a type in src.core.domain.user.port.persistence.UserRepositoryPort uses a type in src.core.domain.user.entity.User.
- The types involved
src.core.domain.user.port.persistence.UserRepositoryPort.UserRepositoryPort→src.core.domain.user.entity.User.User
- Direction
- src.core.domain.user.port.persistence.UserRepositoryPort uses src.core.domain.user.entity.User, so a change to src.core.domain.user.entity.User can break src.core.domain.user.port.persistence.UserRepositoryPort, while a change to src.core.domain.user.port.persistence.UserRepositoryPort can't break src.core.domain.user.entity.User.
- Position
- Below the diagonal: src.core.domain.user.port.persistence.UserRepositoryPort uses a module listed above it, which is the healthy direction.
19→5 src.core.domain.user.usecase.dto.UserUseCaseDto uses src.core.common.enums.UserEnums✕
- Connections
- 1 pair of types, where a type in src.core.domain.user.usecase.dto.UserUseCaseDto uses a type in src.core.common.enums.UserEnums.
- The types involved
src.core.domain.user.usecase.dto.UserUseCaseDto.UserUseCaseDto→src.core.common.enums.UserEnums.UserRole
- Direction
- src.core.domain.user.usecase.dto.UserUseCaseDto uses src.core.common.enums.UserEnums, so a change to src.core.common.enums.UserEnums can break src.core.domain.user.usecase.dto.UserUseCaseDto, while a change to src.core.domain.user.usecase.dto.UserUseCaseDto can't break src.core.common.enums.UserEnums.
- Position
- Below the diagonal: src.core.domain.user.usecase.dto.UserUseCaseDto uses a module listed above it, which is the healthy direction.
19→14 src.core.domain.user.usecase.dto.UserUseCaseDto uses src.core.domain.user.entity.User✕
- Connections
- 1 pair of types, where a type in src.core.domain.user.usecase.dto.UserUseCaseDto uses a type in src.core.domain.user.entity.User.
- The types involved
src.core.domain.user.usecase.dto.UserUseCaseDto.UserUseCaseDto→src.core.domain.user.entity.User.User
- Direction
- src.core.domain.user.usecase.dto.UserUseCaseDto uses src.core.domain.user.entity.User, so a change to src.core.domain.user.entity.User can break src.core.domain.user.usecase.dto.UserUseCaseDto, while a change to src.core.domain.user.usecase.dto.UserUseCaseDto can't break src.core.domain.user.entity.User.
- Position
- Below the diagonal: src.core.domain.user.usecase.dto.UserUseCaseDto uses a module listed above it, which is the healthy direction.
20→6 src.application.api.http-rest.auth.HttpAuthService uses src.core.common.type.CommonTypes✕
- Connections
- 2 pairs of types, where a type in src.application.api.http-rest.auth.HttpAuthService uses a type in src.core.common.type.CommonTypes.
- The types involved
src.application.api.http-rest.auth.HttpAuthService.HttpAuthService→src.core.common.type.CommonTypes.Nullablesrc.application.api.http-rest.auth.HttpAuthService.HttpAuthService→src.core.common.type.CommonTypes.Optional
- Direction
- src.application.api.http-rest.auth.HttpAuthService uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.application.api.http-rest.auth.HttpAuthService, while a change to src.application.api.http-rest.auth.HttpAuthService can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.application.api.http-rest.auth.HttpAuthService uses a module listed above it, which is the healthy direction.
20→14 src.application.api.http-rest.auth.HttpAuthService uses src.core.domain.user.entity.User✕
- Connections
- 1 pair of types, where a type in src.application.api.http-rest.auth.HttpAuthService uses a type in src.core.domain.user.entity.User.
- The types involved
src.application.api.http-rest.auth.HttpAuthService.HttpAuthService→src.core.domain.user.entity.User.User
- Direction
- src.application.api.http-rest.auth.HttpAuthService uses src.core.domain.user.entity.User, so a change to src.core.domain.user.entity.User can break src.application.api.http-rest.auth.HttpAuthService, while a change to src.application.api.http-rest.auth.HttpAuthService can't break src.core.domain.user.entity.User.
- Position
- Below the diagonal: src.application.api.http-rest.auth.HttpAuthService uses a module listed above it, which is the healthy direction.
20→18 src.application.api.http-rest.auth.HttpAuthService uses src.core.domain.user.port.persistence.UserRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.application.api.http-rest.auth.HttpAuthService uses a type in src.core.domain.user.port.persistence.UserRepositoryPort.
- The types involved
src.application.api.http-rest.auth.HttpAuthService.HttpAuthService→src.core.domain.user.port.persistence.UserRepositoryPort.UserRepositoryPort
- Direction
- src.application.api.http-rest.auth.HttpAuthService uses src.core.domain.user.port.persistence.UserRepositoryPort, so a change to src.core.domain.user.port.persistence.UserRepositoryPort can break src.application.api.http-rest.auth.HttpAuthService, while a change to src.application.api.http-rest.auth.HttpAuthService can't break src.core.domain.user.port.persistence.UserRepositoryPort.
- Position
- Below the diagonal: src.application.api.http-rest.auth.HttpAuthService uses a module listed above it, which is the healthy direction.
21→8 src.application.api.http-rest.controller.MediaController uses src.core.common.api.CoreApiResponse✕
- Connections
- 1 pair of types, where a type in src.application.api.http-rest.controller.MediaController uses a type in src.core.common.api.CoreApiResponse.
- The types involved
src.application.api.http-rest.controller.MediaController.MediaController→src.core.common.api.CoreApiResponse.CoreApiResponse
- Direction
- src.application.api.http-rest.controller.MediaController uses src.core.common.api.CoreApiResponse, so a change to src.core.common.api.CoreApiResponse can break src.application.api.http-rest.controller.MediaController, while a change to src.application.api.http-rest.controller.MediaController can't break src.core.common.api.CoreApiResponse.
- Position
- Below the diagonal: src.application.api.http-rest.controller.MediaController uses a module listed above it, which is the healthy direction.
21→16 src.application.api.http-rest.controller.MediaController uses src.core.domain.media.usecase.dto.MediaUseCaseDto✕
- Connections
- 1 pair of types, where a type in src.application.api.http-rest.controller.MediaController uses a type in src.core.domain.media.usecase.dto.MediaUseCaseDto.
- The types involved
src.application.api.http-rest.controller.MediaController.MediaController→src.core.domain.media.usecase.dto.MediaUseCaseDto.MediaUseCaseDto
- Direction
- src.application.api.http-rest.controller.MediaController uses src.core.domain.media.usecase.dto.MediaUseCaseDto, so a change to src.core.domain.media.usecase.dto.MediaUseCaseDto can break src.application.api.http-rest.controller.MediaController, while a change to src.application.api.http-rest.controller.MediaController can't break src.core.domain.media.usecase.dto.MediaUseCaseDto.
- Position
- Below the diagonal: src.application.api.http-rest.controller.MediaController uses a module listed above it, which is the healthy direction.
22→8 src.application.api.http-rest.controller.UserController uses src.core.common.api.CoreApiResponse✕
- Connections
- 1 pair of types, where a type in src.application.api.http-rest.controller.UserController uses a type in src.core.common.api.CoreApiResponse.
- The types involved
src.application.api.http-rest.controller.UserController.UserController→src.core.common.api.CoreApiResponse.CoreApiResponse
- Direction
- src.application.api.http-rest.controller.UserController uses src.core.common.api.CoreApiResponse, so a change to src.core.common.api.CoreApiResponse can break src.application.api.http-rest.controller.UserController, while a change to src.application.api.http-rest.controller.UserController can't break src.core.common.api.CoreApiResponse.
- Position
- Below the diagonal: src.application.api.http-rest.controller.UserController uses a module listed above it, which is the healthy direction.
22→19 src.application.api.http-rest.controller.UserController uses src.core.domain.user.usecase.dto.UserUseCaseDto✕
- Connections
- 1 pair of types, where a type in src.application.api.http-rest.controller.UserController uses a type in src.core.domain.user.usecase.dto.UserUseCaseDto.
- The types involved
src.application.api.http-rest.controller.UserController.UserController→src.core.domain.user.usecase.dto.UserUseCaseDto.UserUseCaseDto
- Direction
- src.application.api.http-rest.controller.UserController uses src.core.domain.user.usecase.dto.UserUseCaseDto, so a change to src.core.domain.user.usecase.dto.UserUseCaseDto can break src.application.api.http-rest.controller.UserController, while a change to src.application.api.http-rest.controller.UserController can't break src.core.domain.user.usecase.dto.UserUseCaseDto.
- Position
- Below the diagonal: src.application.api.http-rest.controller.UserController uses a module listed above it, which is the healthy direction.
23→6 src.core.domain.post.port.persistence.PostRepositoryPort uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.core.domain.post.port.persistence.PostRepositoryPort uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.domain.post.port.persistence.PostRepositoryPort.PostRepositoryPort→src.core.common.type.CommonTypes.Optional
- Direction
- src.core.domain.post.port.persistence.PostRepositoryPort uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.domain.post.port.persistence.PostRepositoryPort, while a change to src.core.domain.post.port.persistence.PostRepositoryPort can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.domain.post.port.persistence.PostRepositoryPort uses a module listed above it, which is the healthy direction.
23→17 src.core.domain.post.port.persistence.PostRepositoryPort uses src.core.domain.post.entity.Post✕
- Connections
- 1 pair of types, where a type in src.core.domain.post.port.persistence.PostRepositoryPort uses a type in src.core.domain.post.entity.Post.
- The types involved
src.core.domain.post.port.persistence.PostRepositoryPort.PostRepositoryPort→src.core.domain.post.entity.Post.Post
- Direction
- src.core.domain.post.port.persistence.PostRepositoryPort uses src.core.domain.post.entity.Post, so a change to src.core.domain.post.entity.Post can break src.core.domain.post.port.persistence.PostRepositoryPort, while a change to src.core.domain.post.port.persistence.PostRepositoryPort can't break src.core.domain.post.entity.Post.
- Position
- Below the diagonal: src.core.domain.post.port.persistence.PostRepositoryPort uses a module listed above it, which is the healthy direction.
24→4 src.core.domain.post.usecase.dto.PostUseCaseDto uses src.core.common.enums.PostEnums✕
- Connections
- 1 pair of types, where a type in src.core.domain.post.usecase.dto.PostUseCaseDto uses a type in src.core.common.enums.PostEnums.
- The types involved
src.core.domain.post.usecase.dto.PostUseCaseDto.PostUseCaseDto→src.core.common.enums.PostEnums.PostStatus
- Direction
- src.core.domain.post.usecase.dto.PostUseCaseDto uses src.core.common.enums.PostEnums, so a change to src.core.common.enums.PostEnums can break src.core.domain.post.usecase.dto.PostUseCaseDto, while a change to src.core.domain.post.usecase.dto.PostUseCaseDto can't break src.core.common.enums.PostEnums.
- Position
- Below the diagonal: src.core.domain.post.usecase.dto.PostUseCaseDto uses a module listed above it, which is the healthy direction.
24→6 src.core.domain.post.usecase.dto.PostUseCaseDto uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.core.domain.post.usecase.dto.PostUseCaseDto uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.domain.post.usecase.dto.PostUseCaseDto.PostUseCaseDto→src.core.common.type.CommonTypes.Nullable
- Direction
- src.core.domain.post.usecase.dto.PostUseCaseDto uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.domain.post.usecase.dto.PostUseCaseDto, while a change to src.core.domain.post.usecase.dto.PostUseCaseDto can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.domain.post.usecase.dto.PostUseCaseDto uses a module listed above it, which is the healthy direction.
24→17 src.core.domain.post.usecase.dto.PostUseCaseDto uses src.core.domain.post.entity.Post✕
- Connections
- 1 pair of types, where a type in src.core.domain.post.usecase.dto.PostUseCaseDto uses a type in src.core.domain.post.entity.Post.
- The types involved
src.core.domain.post.usecase.dto.PostUseCaseDto.PostUseCaseDto→src.core.domain.post.entity.Post.Post
- Direction
- src.core.domain.post.usecase.dto.PostUseCaseDto uses src.core.domain.post.entity.Post, so a change to src.core.domain.post.entity.Post can break src.core.domain.post.usecase.dto.PostUseCaseDto, while a change to src.core.domain.post.usecase.dto.PostUseCaseDto can't break src.core.domain.post.entity.Post.
- Position
- Below the diagonal: src.core.domain.post.usecase.dto.PostUseCaseDto uses a module listed above it, which is the healthy direction.
25→15 src.core.service.media.handler.HandleDoesMediaExistQueryService uses src.core.domain.media.port.persistence.MediaRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.core.service.media.handler.HandleDoesMediaExistQueryService uses a type in src.core.domain.media.port.persistence.MediaRepositoryPort.
- The types involved
src.core.service.media.handler.HandleDoesMediaExistQueryService.HandleDoesMediaExistQueryService→src.core.domain.media.port.persistence.MediaRepositoryPort.MediaRepositoryPort
- Direction
- src.core.service.media.handler.HandleDoesMediaExistQueryService uses src.core.domain.media.port.persistence.MediaRepositoryPort, so a change to src.core.domain.media.port.persistence.MediaRepositoryPort can break src.core.service.media.handler.HandleDoesMediaExistQueryService, while a change to src.core.service.media.handler.HandleDoesMediaExistQueryService can't break src.core.domain.media.port.persistence.MediaRepositoryPort.
- Position
- Below the diagonal: src.core.service.media.handler.HandleDoesMediaExistQueryService uses a module listed above it, which is the healthy direction.
26→6 src.core.service.media.handler.HandleGetMediaPreviewQueryService uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.core.service.media.handler.HandleGetMediaPreviewQueryService uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.service.media.handler.HandleGetMediaPreviewQueryService.HandleGetMediaPreviewQueryService→src.core.common.type.CommonTypes.Optional
- Direction
- src.core.service.media.handler.HandleGetMediaPreviewQueryService uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.service.media.handler.HandleGetMediaPreviewQueryService, while a change to src.core.service.media.handler.HandleGetMediaPreviewQueryService can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.service.media.handler.HandleGetMediaPreviewQueryService uses a module listed above it, which is the healthy direction.
26→15 src.core.service.media.handler.HandleGetMediaPreviewQueryService uses src.core.domain.media.port.persistence.MediaRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.core.service.media.handler.HandleGetMediaPreviewQueryService uses a type in src.core.domain.media.port.persistence.MediaRepositoryPort.
- The types involved
src.core.service.media.handler.HandleGetMediaPreviewQueryService.HandleGetMediaPreviewQueryService→src.core.domain.media.port.persistence.MediaRepositoryPort.MediaRepositoryPort
- Direction
- src.core.service.media.handler.HandleGetMediaPreviewQueryService uses src.core.domain.media.port.persistence.MediaRepositoryPort, so a change to src.core.domain.media.port.persistence.MediaRepositoryPort can break src.core.service.media.handler.HandleGetMediaPreviewQueryService, while a change to src.core.service.media.handler.HandleGetMediaPreviewQueryService can't break src.core.domain.media.port.persistence.MediaRepositoryPort.
- Position
- Below the diagonal: src.core.service.media.handler.HandleGetMediaPreviewQueryService uses a module listed above it, which is the healthy direction.
27→15 src.core.service.media.usecase.CreateMediaService uses src.core.domain.media.port.persistence.MediaRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.core.service.media.usecase.CreateMediaService uses a type in src.core.domain.media.port.persistence.MediaRepositoryPort.
- The types involved
src.core.service.media.usecase.CreateMediaService.CreateMediaService→src.core.domain.media.port.persistence.MediaRepositoryPort.MediaRepositoryPort
- Direction
- src.core.service.media.usecase.CreateMediaService uses src.core.domain.media.port.persistence.MediaRepositoryPort, so a change to src.core.domain.media.port.persistence.MediaRepositoryPort can break src.core.service.media.usecase.CreateMediaService, while a change to src.core.service.media.usecase.CreateMediaService can't break src.core.domain.media.port.persistence.MediaRepositoryPort.
- Position
- Below the diagonal: src.core.service.media.usecase.CreateMediaService uses a module listed above it, which is the healthy direction.
27→16 src.core.service.media.usecase.CreateMediaService uses src.core.domain.media.usecase.dto.MediaUseCaseDto✕
- Connections
- 1 pair of types, where a type in src.core.service.media.usecase.CreateMediaService uses a type in src.core.domain.media.usecase.dto.MediaUseCaseDto.
- The types involved
src.core.service.media.usecase.CreateMediaService.CreateMediaService→src.core.domain.media.usecase.dto.MediaUseCaseDto.MediaUseCaseDto
- Direction
- src.core.service.media.usecase.CreateMediaService uses src.core.domain.media.usecase.dto.MediaUseCaseDto, so a change to src.core.domain.media.usecase.dto.MediaUseCaseDto can break src.core.service.media.usecase.CreateMediaService, while a change to src.core.service.media.usecase.CreateMediaService can't break src.core.domain.media.usecase.dto.MediaUseCaseDto.
- Position
- Below the diagonal: src.core.service.media.usecase.CreateMediaService uses a module listed above it, which is the healthy direction.
28→15 src.core.service.media.usecase.EditMediaService uses src.core.domain.media.port.persistence.MediaRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.core.service.media.usecase.EditMediaService uses a type in src.core.domain.media.port.persistence.MediaRepositoryPort.
- The types involved
src.core.service.media.usecase.EditMediaService.EditMediaService→src.core.domain.media.port.persistence.MediaRepositoryPort.MediaRepositoryPort
- Direction
- src.core.service.media.usecase.EditMediaService uses src.core.domain.media.port.persistence.MediaRepositoryPort, so a change to src.core.domain.media.port.persistence.MediaRepositoryPort can break src.core.service.media.usecase.EditMediaService, while a change to src.core.service.media.usecase.EditMediaService can't break src.core.domain.media.port.persistence.MediaRepositoryPort.
- Position
- Below the diagonal: src.core.service.media.usecase.EditMediaService uses a module listed above it, which is the healthy direction.
28→16 src.core.service.media.usecase.EditMediaService uses src.core.domain.media.usecase.dto.MediaUseCaseDto✕
- Connections
- 1 pair of types, where a type in src.core.service.media.usecase.EditMediaService uses a type in src.core.domain.media.usecase.dto.MediaUseCaseDto.
- The types involved
src.core.service.media.usecase.EditMediaService.EditMediaService→src.core.domain.media.usecase.dto.MediaUseCaseDto.MediaUseCaseDto
- Direction
- src.core.service.media.usecase.EditMediaService uses src.core.domain.media.usecase.dto.MediaUseCaseDto, so a change to src.core.domain.media.usecase.dto.MediaUseCaseDto can break src.core.service.media.usecase.EditMediaService, while a change to src.core.service.media.usecase.EditMediaService can't break src.core.domain.media.usecase.dto.MediaUseCaseDto.
- Position
- Below the diagonal: src.core.service.media.usecase.EditMediaService uses a module listed above it, which is the healthy direction.
29→15 src.core.service.media.usecase.GetMediaService uses src.core.domain.media.port.persistence.MediaRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.core.service.media.usecase.GetMediaService uses a type in src.core.domain.media.port.persistence.MediaRepositoryPort.
- The types involved
src.core.service.media.usecase.GetMediaService.GetMediaService→src.core.domain.media.port.persistence.MediaRepositoryPort.MediaRepositoryPort
- Direction
- src.core.service.media.usecase.GetMediaService uses src.core.domain.media.port.persistence.MediaRepositoryPort, so a change to src.core.domain.media.port.persistence.MediaRepositoryPort can break src.core.service.media.usecase.GetMediaService, while a change to src.core.service.media.usecase.GetMediaService can't break src.core.domain.media.port.persistence.MediaRepositoryPort.
- Position
- Below the diagonal: src.core.service.media.usecase.GetMediaService uses a module listed above it, which is the healthy direction.
29→16 src.core.service.media.usecase.GetMediaService uses src.core.domain.media.usecase.dto.MediaUseCaseDto✕
- Connections
- 1 pair of types, where a type in src.core.service.media.usecase.GetMediaService uses a type in src.core.domain.media.usecase.dto.MediaUseCaseDto.
- The types involved
src.core.service.media.usecase.GetMediaService.GetMediaService→src.core.domain.media.usecase.dto.MediaUseCaseDto.MediaUseCaseDto
- Direction
- src.core.service.media.usecase.GetMediaService uses src.core.domain.media.usecase.dto.MediaUseCaseDto, so a change to src.core.domain.media.usecase.dto.MediaUseCaseDto can break src.core.service.media.usecase.GetMediaService, while a change to src.core.service.media.usecase.GetMediaService can't break src.core.domain.media.usecase.dto.MediaUseCaseDto.
- Position
- Below the diagonal: src.core.service.media.usecase.GetMediaService uses a module listed above it, which is the healthy direction.
30→15 src.core.service.media.usecase.RemoveMediaService uses src.core.domain.media.port.persistence.MediaRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.core.service.media.usecase.RemoveMediaService uses a type in src.core.domain.media.port.persistence.MediaRepositoryPort.
- The types involved
src.core.service.media.usecase.RemoveMediaService.RemoveMediaService→src.core.domain.media.port.persistence.MediaRepositoryPort.MediaRepositoryPort
- Direction
- src.core.service.media.usecase.RemoveMediaService uses src.core.domain.media.port.persistence.MediaRepositoryPort, so a change to src.core.domain.media.port.persistence.MediaRepositoryPort can break src.core.service.media.usecase.RemoveMediaService, while a change to src.core.service.media.usecase.RemoveMediaService can't break src.core.domain.media.port.persistence.MediaRepositoryPort.
- Position
- Below the diagonal: src.core.service.media.usecase.RemoveMediaService uses a module listed above it, which is the healthy direction.
31→6 src.core.service.user.handler.HandleGetUserPreviewQueryService uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.core.service.user.handler.HandleGetUserPreviewQueryService uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.service.user.handler.HandleGetUserPreviewQueryService.HandleGetUserPreviewQueryService→src.core.common.type.CommonTypes.Optional
- Direction
- src.core.service.user.handler.HandleGetUserPreviewQueryService uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.service.user.handler.HandleGetUserPreviewQueryService, while a change to src.core.service.user.handler.HandleGetUserPreviewQueryService can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.service.user.handler.HandleGetUserPreviewQueryService uses a module listed above it, which is the healthy direction.
31→18 src.core.service.user.handler.HandleGetUserPreviewQueryService uses src.core.domain.user.port.persistence.UserRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.core.service.user.handler.HandleGetUserPreviewQueryService uses a type in src.core.domain.user.port.persistence.UserRepositoryPort.
- The types involved
src.core.service.user.handler.HandleGetUserPreviewQueryService.HandleGetUserPreviewQueryService→src.core.domain.user.port.persistence.UserRepositoryPort.UserRepositoryPort
- Direction
- src.core.service.user.handler.HandleGetUserPreviewQueryService uses src.core.domain.user.port.persistence.UserRepositoryPort, so a change to src.core.domain.user.port.persistence.UserRepositoryPort can break src.core.service.user.handler.HandleGetUserPreviewQueryService, while a change to src.core.service.user.handler.HandleGetUserPreviewQueryService can't break src.core.domain.user.port.persistence.UserRepositoryPort.
- Position
- Below the diagonal: src.core.service.user.handler.HandleGetUserPreviewQueryService uses a module listed above it, which is the healthy direction.
32→18 src.core.service.user.usecase.CreateUserService uses src.core.domain.user.port.persistence.UserRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.core.service.user.usecase.CreateUserService uses a type in src.core.domain.user.port.persistence.UserRepositoryPort.
- The types involved
src.core.service.user.usecase.CreateUserService.CreateUserService→src.core.domain.user.port.persistence.UserRepositoryPort.UserRepositoryPort
- Direction
- src.core.service.user.usecase.CreateUserService uses src.core.domain.user.port.persistence.UserRepositoryPort, so a change to src.core.domain.user.port.persistence.UserRepositoryPort can break src.core.service.user.usecase.CreateUserService, while a change to src.core.service.user.usecase.CreateUserService can't break src.core.domain.user.port.persistence.UserRepositoryPort.
- Position
- Below the diagonal: src.core.service.user.usecase.CreateUserService uses a module listed above it, which is the healthy direction.
32→19 src.core.service.user.usecase.CreateUserService uses src.core.domain.user.usecase.dto.UserUseCaseDto✕
- Connections
- 1 pair of types, where a type in src.core.service.user.usecase.CreateUserService uses a type in src.core.domain.user.usecase.dto.UserUseCaseDto.
- The types involved
src.core.service.user.usecase.CreateUserService.CreateUserService→src.core.domain.user.usecase.dto.UserUseCaseDto.UserUseCaseDto
- Direction
- src.core.service.user.usecase.CreateUserService uses src.core.domain.user.usecase.dto.UserUseCaseDto, so a change to src.core.domain.user.usecase.dto.UserUseCaseDto can break src.core.service.user.usecase.CreateUserService, while a change to src.core.service.user.usecase.CreateUserService can't break src.core.domain.user.usecase.dto.UserUseCaseDto.
- Position
- Below the diagonal: src.core.service.user.usecase.CreateUserService uses a module listed above it, which is the healthy direction.
33→18 src.core.service.user.usecase.GetUserService uses src.core.domain.user.port.persistence.UserRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.core.service.user.usecase.GetUserService uses a type in src.core.domain.user.port.persistence.UserRepositoryPort.
- The types involved
src.core.service.user.usecase.GetUserService.GetUserService→src.core.domain.user.port.persistence.UserRepositoryPort.UserRepositoryPort
- Direction
- src.core.service.user.usecase.GetUserService uses src.core.domain.user.port.persistence.UserRepositoryPort, so a change to src.core.domain.user.port.persistence.UserRepositoryPort can break src.core.service.user.usecase.GetUserService, while a change to src.core.service.user.usecase.GetUserService can't break src.core.domain.user.port.persistence.UserRepositoryPort.
- Position
- Below the diagonal: src.core.service.user.usecase.GetUserService uses a module listed above it, which is the healthy direction.
33→19 src.core.service.user.usecase.GetUserService uses src.core.domain.user.usecase.dto.UserUseCaseDto✕
- Connections
- 1 pair of types, where a type in src.core.service.user.usecase.GetUserService uses a type in src.core.domain.user.usecase.dto.UserUseCaseDto.
- The types involved
src.core.service.user.usecase.GetUserService.GetUserService→src.core.domain.user.usecase.dto.UserUseCaseDto.UserUseCaseDto
- Direction
- src.core.service.user.usecase.GetUserService uses src.core.domain.user.usecase.dto.UserUseCaseDto, so a change to src.core.domain.user.usecase.dto.UserUseCaseDto can break src.core.service.user.usecase.GetUserService, while a change to src.core.service.user.usecase.GetUserService can't break src.core.domain.user.usecase.dto.UserUseCaseDto.
- Position
- Below the diagonal: src.core.service.user.usecase.GetUserService uses a module listed above it, which is the healthy direction.
34→6 src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter uses src.core.common.type.CommonTypes✕
- Connections
- 1 pair of types, where a type in src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter uses a type in src.core.common.type.CommonTypes.
- The types involved
src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter.TypeOrmMediaRepositoryAdapter→src.core.common.type.CommonTypes.Optional
- Direction
- src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter, while a change to src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter uses a module listed above it, which is the healthy direction.
34→11 src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter uses src.core.domain.media.entity.Media✕
- Connections
- 1 pair of types, where a type in src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter uses a type in src.core.domain.media.entity.Media.
- The types involved
src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter.TypeOrmMediaRepositoryAdapter→src.core.domain.media.entity.Media.Media
- Direction
- src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter uses src.core.domain.media.entity.Media, so a change to src.core.domain.media.entity.Media can break src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter, while a change to src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter can't break src.core.domain.media.entity.Media.
- Position
- Below the diagonal: src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter uses a module listed above it, which is the healthy direction.
34→15 src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter uses src.core.domain.media.port.persistence.MediaRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter uses a type in src.core.domain.media.port.persistence.MediaRepositoryPort.
- The types involved
src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter.TypeOrmMediaRepositoryAdapter→src.core.domain.media.port.persistence.MediaRepositoryPort.MediaRepositoryPort
- Direction
- src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter uses src.core.domain.media.port.persistence.MediaRepositoryPort, so a change to src.core.domain.media.port.persistence.MediaRepositoryPort can break src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter, while a change to src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter can't break src.core.domain.media.port.persistence.MediaRepositoryPort.
- Position
- Below the diagonal: src.infrastructure.adapter.persistence.typeorm.repository.media.TypeOrmMediaRepositoryAdapter uses a module listed above it, which is the healthy direction.
35→11 test.e2e.fixture.PostFixture uses src.core.domain.media.entity.Media✕
- Connections
- 1 pair of types, where a type in test.e2e.fixture.PostFixture uses a type in src.core.domain.media.entity.Media.
- The types involved
test.e2e.fixture.PostFixture.PostFixture→src.core.domain.media.entity.Media.Media
- Direction
- test.e2e.fixture.PostFixture uses src.core.domain.media.entity.Media, so a change to src.core.domain.media.entity.Media can break test.e2e.fixture.PostFixture, while a change to test.e2e.fixture.PostFixture can't break src.core.domain.media.entity.Media.
- Position
- Below the diagonal: test.e2e.fixture.PostFixture uses a module listed above it, which is the healthy direction.
35→12 test.e2e.fixture.PostFixture uses src.core.domain.post.entity.PostImage✕
- Connections
- 1 pair of types, where a type in test.e2e.fixture.PostFixture uses a type in src.core.domain.post.entity.PostImage.
- The types involved
test.e2e.fixture.PostFixture.PostFixture→src.core.domain.post.entity.PostImage.PostImage
- Direction
- test.e2e.fixture.PostFixture uses src.core.domain.post.entity.PostImage, so a change to src.core.domain.post.entity.PostImage can break test.e2e.fixture.PostFixture, while a change to test.e2e.fixture.PostFixture can't break src.core.domain.post.entity.PostImage.
- Position
- Below the diagonal: test.e2e.fixture.PostFixture uses a module listed above it, which is the healthy direction.
35→13 test.e2e.fixture.PostFixture uses src.core.domain.post.entity.PostOwner✕
- Connections
- 1 pair of types, where a type in test.e2e.fixture.PostFixture uses a type in src.core.domain.post.entity.PostOwner.
- The types involved
test.e2e.fixture.PostFixture.PostFixture→src.core.domain.post.entity.PostOwner.PostOwner
- Direction
- test.e2e.fixture.PostFixture uses src.core.domain.post.entity.PostOwner, so a change to src.core.domain.post.entity.PostOwner can break test.e2e.fixture.PostFixture, while a change to test.e2e.fixture.PostFixture can't break src.core.domain.post.entity.PostOwner.
- Position
- Below the diagonal: test.e2e.fixture.PostFixture uses a module listed above it, which is the healthy direction.
35→14 test.e2e.fixture.PostFixture uses src.core.domain.user.entity.User✕
- Connections
- 1 pair of types, where a type in test.e2e.fixture.PostFixture uses a type in src.core.domain.user.entity.User.
- The types involved
test.e2e.fixture.PostFixture.PostFixture→src.core.domain.user.entity.User.User
- Direction
- test.e2e.fixture.PostFixture uses src.core.domain.user.entity.User, so a change to src.core.domain.user.entity.User can break test.e2e.fixture.PostFixture, while a change to test.e2e.fixture.PostFixture can't break src.core.domain.user.entity.User.
- Position
- Below the diagonal: test.e2e.fixture.PostFixture uses a module listed above it, which is the healthy direction.
35→17 test.e2e.fixture.PostFixture uses src.core.domain.post.entity.Post✕
- Connections
- 1 pair of types, where a type in test.e2e.fixture.PostFixture uses a type in src.core.domain.post.entity.Post.
- The types involved
test.e2e.fixture.PostFixture.PostFixture→src.core.domain.post.entity.Post.Post
- Direction
- test.e2e.fixture.PostFixture uses src.core.domain.post.entity.Post, so a change to src.core.domain.post.entity.Post can break test.e2e.fixture.PostFixture, while a change to test.e2e.fixture.PostFixture can't break src.core.domain.post.entity.Post.
- Position
- Below the diagonal: test.e2e.fixture.PostFixture uses a module listed above it, which is the healthy direction.
36→8 src.application.api.http-rest.controller.PostController uses src.core.common.api.CoreApiResponse✕
- Connections
- 1 pair of types, where a type in src.application.api.http-rest.controller.PostController uses a type in src.core.common.api.CoreApiResponse.
- The types involved
src.application.api.http-rest.controller.PostController.PostController→src.core.common.api.CoreApiResponse.CoreApiResponse
- Direction
- src.application.api.http-rest.controller.PostController uses src.core.common.api.CoreApiResponse, so a change to src.core.common.api.CoreApiResponse can break src.application.api.http-rest.controller.PostController, while a change to src.application.api.http-rest.controller.PostController can't break src.core.common.api.CoreApiResponse.
- Position
- Below the diagonal: src.application.api.http-rest.controller.PostController uses a module listed above it, which is the healthy direction.
36→24 src.application.api.http-rest.controller.PostController uses src.core.domain.post.usecase.dto.PostUseCaseDto✕
- Connections
- 1 pair of types, where a type in src.application.api.http-rest.controller.PostController uses a type in src.core.domain.post.usecase.dto.PostUseCaseDto.
- The types involved
src.application.api.http-rest.controller.PostController.PostController→src.core.domain.post.usecase.dto.PostUseCaseDto.PostUseCaseDto
- Direction
- src.application.api.http-rest.controller.PostController uses src.core.domain.post.usecase.dto.PostUseCaseDto, so a change to src.core.domain.post.usecase.dto.PostUseCaseDto can break src.application.api.http-rest.controller.PostController, while a change to src.application.api.http-rest.controller.PostController can't break src.core.domain.post.usecase.dto.PostUseCaseDto.
- Position
- Below the diagonal: src.application.api.http-rest.controller.PostController uses a module listed above it, which is the healthy direction.
37→23 src.core.service.post.usecase.CreatePostService uses src.core.domain.post.port.persistence.PostRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.core.service.post.usecase.CreatePostService uses a type in src.core.domain.post.port.persistence.PostRepositoryPort.
- The types involved
src.core.service.post.usecase.CreatePostService.CreatePostService→src.core.domain.post.port.persistence.PostRepositoryPort.PostRepositoryPort
- Direction
- src.core.service.post.usecase.CreatePostService uses src.core.domain.post.port.persistence.PostRepositoryPort, so a change to src.core.domain.post.port.persistence.PostRepositoryPort can break src.core.service.post.usecase.CreatePostService, while a change to src.core.service.post.usecase.CreatePostService can't break src.core.domain.post.port.persistence.PostRepositoryPort.
- Position
- Below the diagonal: src.core.service.post.usecase.CreatePostService uses a module listed above it, which is the healthy direction.
37→24 src.core.service.post.usecase.CreatePostService uses src.core.domain.post.usecase.dto.PostUseCaseDto✕
- Connections
- 1 pair of types, where a type in src.core.service.post.usecase.CreatePostService uses a type in src.core.domain.post.usecase.dto.PostUseCaseDto.
- The types involved
src.core.service.post.usecase.CreatePostService.CreatePostService→src.core.domain.post.usecase.dto.PostUseCaseDto.PostUseCaseDto
- Direction
- src.core.service.post.usecase.CreatePostService uses src.core.domain.post.usecase.dto.PostUseCaseDto, so a change to src.core.domain.post.usecase.dto.PostUseCaseDto can break src.core.service.post.usecase.CreatePostService, while a change to src.core.service.post.usecase.CreatePostService can't break src.core.domain.post.usecase.dto.PostUseCaseDto.
- Position
- Below the diagonal: src.core.service.post.usecase.CreatePostService uses a module listed above it, which is the healthy direction.
38→6 src.core.service.post.usecase.EditPostService uses src.core.common.type.CommonTypes✕
- Connections
- 2 pairs of types, where a type in src.core.service.post.usecase.EditPostService uses a type in src.core.common.type.CommonTypes.
- The types involved
src.core.service.post.usecase.EditPostService.EditPostService→src.core.common.type.CommonTypes.Nullablesrc.core.service.post.usecase.EditPostService.EditPostService→src.core.common.type.CommonTypes.Optional
- Direction
- src.core.service.post.usecase.EditPostService uses src.core.common.type.CommonTypes, so a change to src.core.common.type.CommonTypes can break src.core.service.post.usecase.EditPostService, while a change to src.core.service.post.usecase.EditPostService can't break src.core.common.type.CommonTypes.
- Position
- Below the diagonal: src.core.service.post.usecase.EditPostService uses a module listed above it, which is the healthy direction.
38→12 src.core.service.post.usecase.EditPostService uses src.core.domain.post.entity.PostImage✕
- Connections
- 1 pair of types, where a type in src.core.service.post.usecase.EditPostService uses a type in src.core.domain.post.entity.PostImage.
- The types involved
src.core.service.post.usecase.EditPostService.EditPostService→src.core.domain.post.entity.PostImage.PostImage
- Direction
- src.core.service.post.usecase.EditPostService uses src.core.domain.post.entity.PostImage, so a change to src.core.domain.post.entity.PostImage can break src.core.service.post.usecase.EditPostService, while a change to src.core.service.post.usecase.EditPostService can't break src.core.domain.post.entity.PostImage.
- Position
- Below the diagonal: src.core.service.post.usecase.EditPostService uses a module listed above it, which is the healthy direction.
38→17 src.core.service.post.usecase.EditPostService uses src.core.domain.post.entity.Post✕
- Connections
- 1 pair of types, where a type in src.core.service.post.usecase.EditPostService uses a type in src.core.domain.post.entity.Post.
- The types involved
src.core.service.post.usecase.EditPostService.EditPostService→src.core.domain.post.entity.Post.Post
- Direction
- src.core.service.post.usecase.EditPostService uses src.core.domain.post.entity.Post, so a change to src.core.domain.post.entity.Post can break src.core.service.post.usecase.EditPostService, while a change to src.core.service.post.usecase.EditPostService can't break src.core.domain.post.entity.Post.
- Position
- Below the diagonal: src.core.service.post.usecase.EditPostService uses a module listed above it, which is the healthy direction.
38→23 src.core.service.post.usecase.EditPostService uses src.core.domain.post.port.persistence.PostRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.core.service.post.usecase.EditPostService uses a type in src.core.domain.post.port.persistence.PostRepositoryPort.
- The types involved
src.core.service.post.usecase.EditPostService.EditPostService→src.core.domain.post.port.persistence.PostRepositoryPort.PostRepositoryPort
- Direction
- src.core.service.post.usecase.EditPostService uses src.core.domain.post.port.persistence.PostRepositoryPort, so a change to src.core.domain.post.port.persistence.PostRepositoryPort can break src.core.service.post.usecase.EditPostService, while a change to src.core.service.post.usecase.EditPostService can't break src.core.domain.post.port.persistence.PostRepositoryPort.
- Position
- Below the diagonal: src.core.service.post.usecase.EditPostService uses a module listed above it, which is the healthy direction.
38→24 src.core.service.post.usecase.EditPostService uses src.core.domain.post.usecase.dto.PostUseCaseDto✕
- Connections
- 1 pair of types, where a type in src.core.service.post.usecase.EditPostService uses a type in src.core.domain.post.usecase.dto.PostUseCaseDto.
- The types involved
src.core.service.post.usecase.EditPostService.EditPostService→src.core.domain.post.usecase.dto.PostUseCaseDto.PostUseCaseDto
- Direction
- src.core.service.post.usecase.EditPostService uses src.core.domain.post.usecase.dto.PostUseCaseDto, so a change to src.core.domain.post.usecase.dto.PostUseCaseDto can break src.core.service.post.usecase.EditPostService, while a change to src.core.service.post.usecase.EditPostService can't break src.core.domain.post.usecase.dto.PostUseCaseDto.
- Position
- Below the diagonal: src.core.service.post.usecase.EditPostService uses a module listed above it, which is the healthy direction.
39→23 src.core.service.post.usecase.GetPostService uses src.core.domain.post.port.persistence.PostRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.core.service.post.usecase.GetPostService uses a type in src.core.domain.post.port.persistence.PostRepositoryPort.
- The types involved
src.core.service.post.usecase.GetPostService.GetPostService→src.core.domain.post.port.persistence.PostRepositoryPort.PostRepositoryPort
- Direction
- src.core.service.post.usecase.GetPostService uses src.core.domain.post.port.persistence.PostRepositoryPort, so a change to src.core.domain.post.port.persistence.PostRepositoryPort can break src.core.service.post.usecase.GetPostService, while a change to src.core.service.post.usecase.GetPostService can't break src.core.domain.post.port.persistence.PostRepositoryPort.
- Position
- Below the diagonal: src.core.service.post.usecase.GetPostService uses a module listed above it, which is the healthy direction.
39→24 src.core.service.post.usecase.GetPostService uses src.core.domain.post.usecase.dto.PostUseCaseDto✕
- Connections
- 1 pair of types, where a type in src.core.service.post.usecase.GetPostService uses a type in src.core.domain.post.usecase.dto.PostUseCaseDto.
- The types involved
src.core.service.post.usecase.GetPostService.GetPostService→src.core.domain.post.usecase.dto.PostUseCaseDto.PostUseCaseDto
- Direction
- src.core.service.post.usecase.GetPostService uses src.core.domain.post.usecase.dto.PostUseCaseDto, so a change to src.core.domain.post.usecase.dto.PostUseCaseDto can break src.core.service.post.usecase.GetPostService, while a change to src.core.service.post.usecase.GetPostService can't break src.core.domain.post.usecase.dto.PostUseCaseDto.
- Position
- Below the diagonal: src.core.service.post.usecase.GetPostService uses a module listed above it, which is the healthy direction.
40→23 src.core.service.post.usecase.PublishPostService uses src.core.domain.post.port.persistence.PostRepositoryPort✕
- Connections
- 1 pair of types, where a type in src.core.service.post.usecase.PublishPostService uses a type in src.core.domain.post.port.persistence.PostRepositoryPort.
- The types involved
src.core.service.post.usecase.PublishPostService.PublishPostService→src.core.domain.post.port.persistence.PostRepositoryPort.PostRepositoryPort
- Direction
- src.core.service.post.usecase.PublishPostService uses src.core.domain.post.port.persistence.PostRepositoryPort, so a change to src.core.domain.post.port.persistence.PostRepositoryPort can break src.core.service.post.usecase.PublishPostService, while a change to src.core.service.post.usecase.PublishPostService can't break src.core.domain.post.port.persistence.PostRepositoryPort.
- Position
- Below the diagonal: src.core.service.post.usecase.PublishPostService uses a module listed above it, which is the healthy direction.
40→24 src.core.service.post.usecase.PublishPostService uses src.core.domain.post.usecase.dto.PostUseCaseDto✕
- Connections
- 1 pair of types, where a type in src.core.service.post.usecase.PublishPostService uses a type in src.core.domain.post.usecase.dto.PostUseCaseDto.
- The types involved
src.core.service.post.usecase.PublishPostService.PublishPostService→src.core.domain.post.usecase.dto.PostUseCaseDto.PostUseCaseDto
- Direction
- src.core.service.post.usecase.PublishPostService uses src.core.domain.post.usecase.dto.PostUseCaseDto, so a change to src.core.domain.post.usecase.dto.PostUseCaseDto can break src.core.service.post.usecase.PublishPostService, while a change to src.core.service.post.usecase.PublishPostService can't break src.core.domain.post.usecase.dto.PostUseCaseDto.
- Position
- Below the diagonal: src.core.service.post.usecase.PublishPostService uses a module listed above it, which is the healthy direction.
At a glance — Code Health
At a glance — Architecture
At a glance — Maturity
At a glance — Readiness
At a glance — Security
At a glance — Domain Modelling
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 75 | High / Critical |
| A05:2025 — Injection | 17 | High / Critical |
| A07:2025 — Authentication Failures | 12 | High / Critical |
| A02:2025 — Security Misconfiguration | 5 | High / Critical |
Roadmap
Immediately resolve the five leaked secrets in configuration files and address the inverted test pyramid to stabilize quality. Concurrently, update all outdated npm dependencies and integrate a SAST step into the CI pipeline to prevent security regressions. Finally, codify disaster recovery procedures by documenting RTO/RPO and implementing IaC-based backups to ensure true resilience.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 5 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED, REDACTED, REDACTED. | +9.2 pts | Low | REDACTED Scanning |
| Resolve the 1 Inverted test pyramid finding(s) in Test Distribution. | +8.7 pts | Low | Test Distribution |
| Resolve the 9 Outdated (npm) finding(s) in Dependency Hygiene — start with REDACTED (9). | +6.1 pts | Low | Dependency Hygiene |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +4.3 pts | Low | ADR Quality |
| Resolve the 3 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (3). | +2.5 pts | Low | Dependency Hygiene |
| Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing. | +5.0 pts | Medium | Security & performance tooling |
| Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery. | +5.0 pts | Medium | DR & Backup |
| Resolve the 14 Orphaned file finding(s) in Knowledge Freshness — start with REDACTED, REDACTED, TypeOrmPostRepositoryAdapter.ts. | +4.9 pts | Medium | Knowledge Freshness |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 2.1 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.0 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 4.4 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 4.4 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 4.4 | Mixed | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 5.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 7.2 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 7.2 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | Secrets (history): REDACTED: REDACTED |
| REDACTED | 7.2 | Mixed | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 7.2 | Mixed | IaC & Container Security: High IaC: REDACTED |
| test/e2e/tests/media/MediaRemove.spec.ts | 7.8 | Mixed | Test Quality: No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response |
| test/e2e/tests/media/MediaGetList.spec.ts | 7.8 | Mixed | Test Quality: No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response |
| test/e2e/tests/media/MediaGet.spec.ts | 7.8 | Mixed | Test Quality: No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response |
| test/e2e/tests/media/MediaEdit.spec.ts | 7.8 | Mixed | Test Quality: No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response |
| test/e2e/tests/media/MediaCreate.spec.ts | 7.8 | Mixed | Test Quality: No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response |
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. 74 of 77 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 77 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, 258 of 284 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability not scored — the JavaScript/TypeScript suite (jest via `npm ci --ignore-scripts` in the repository root (0 tests)) ran but surfaced no test cases to the runner, so flakiness couldn't be exercised.
- 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 256 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: it declares a published package (REDACTED), but no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published REDACTED's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D32 Data Compliance (PII/GDPR) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `src/core/common/di/CoreDITokens.ts`, `src/core/domain/media/di/MediaDITokens.ts`, `src/core/domain/post/di/PostDITokens.ts`, `src/core/domain/user/di/UserDITokens.ts` produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DockerCompose (REDACTED). compose up failed (exit 18 — an image could not be pulled) — minio_local Pulling minio_local Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: postgresql_local Skipped - No image to be pulled minio_local Pulling minio_local Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
- DM9 Scattered domain decisions — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Arm two tells a construction that PRODUCES a measurement from one that merely passes it along, and this repository's frontend does not compute that fact. A measurement built independently in two places would not appear above.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 185 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled certificate validation and obsolete TLS versions, and none was found. The server controls this dimension also scores were not assessed, so no score is given.
- X2 Cancellation propagation — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Go, PHP, Dart, Kotlin, Ruby, Scala, Java, Python and Rust source only, and no C# was loaded, and no named async function in this repository's JavaScript/TypeScript, nor any Go, PHP or Dart function or Kotlin suspend function, makes a request that can be cancelled (fetch, axios, ky, ofetch; net/http, net.Dial; amphp; Dio; Ktor, OkHttp), so there is nothing to judge, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, PHP, Dart, Ruby, Scala and Rust source only, and no C# was loaded, and this repository's JavaScript/TypeScript, Python and PHP log through no library that carries a message's values as fields (pino, winston, bunyan, tslog, LogTape, roarr; Python's logging, structlog; PHP's PSR-3 loggers), so its log calls cannot be judged, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- 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 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a REDACTED (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
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.
D6 · Cohesion (LCOM4)
0 of 16 classes have LCOM4 above 3.
D9 · Test Distribution
204 test methods: 99 unit, 0 integration, 0 BDD, 105 e2e. The JavaScript/TypeScript suite contributes 204 `it`/`test` case(s) across 51 test file(s) declaring at least one; its tier split is read from package names and paths only.
What to do
- Resolve the 1 Inverted test pyramid finding(s) in Test Distribution. — One of this dimension's main actionable groups (1 recommendation-level).
D10 · Test Quality
0 skipped, 26 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 204 tests.
What to do
- Resolve the 26 No assertions finding(s) in Test Quality — start with MediaRemove.spec.ts (2), MediaGetList.spec.ts (2), MediaGet.spec.ts (2). — One of this dimension's main actionable groups (26 warning-level).
- Resolve the 1 Mock-dominated test finding(s) in Test Quality — start with HandlePostImageRemovedEventService.spec.ts. — One of this dimension's main actionable groups (1 recommendation-level).
- Enforce Test Quality in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D12 · Dependency Hygiene
21 outdated direct production npm dependency(ies) of 26 graded, 0 pinning defect(s), across 1 REDACTED (1 of them the product) and 1 committed lockfile(s). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 3 direct dependency(ies) — production, development or optional — are marked DEPRECATED by their publisher (the registry's per-version mark, or the lockfile's copy of it when the registry could not be asked); deprecated transitive packages are listed but not charged. Whether any is UNMAINTAINED is not graded — the registry publishes no maintenance status, and release age does not stand in for one. Whether any is UNUSED is not graded either: that is a source question, and the frontend dependency lens (R8) answers it in this same run. Known CVEs in this dependency graph are D30's question, read from the manifest there.
What to do
- Resolve the 9 Outdated (npm) finding(s) in Dependency Hygiene — start with REDACTED (9). — One of this dimension's main actionable groups (9 recommendation-level).
- Resolve the 3 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (3). — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (2). — One of this dimension's main actionable groups (2 recommendation-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 · REDACTED Scanning
5 secret(s) detected.
What to do
- Resolve the 5 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (5 issue-level).
- Enforce REDACTED Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 26 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 26 production dependency(ies) this repository's committed lockfile resolves, across 1 product REDACTED manifest(s). Its 22 `devDependencies` declaration(s) are excluded: a consumer installs none of them. ★ DEPTH: this is the DIRECT production set the lockfile resolves, NOT the transitive closure — only one of the four lock dialects this pass reads states a full graph, so a banned licence pulled in only by a dependency's OWN dependencies is outside this verdict, exactly as the JVM arm's declaration-site verdict is. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry. This repository publishes itself under MIT, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 3688 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
D19 · Documentation Quality
The repository's root README is a single cohesive document covering the project (Typescript Clean Architecture), its fictional IPoster application, an overview of main entities and use cases, local development instructions including Docker, building/configuring/running, and a license badge. It is well written with a strong visual IPoster poster and a clear outline; however it does not yet show any architecture or design documentation (the referenced markdown files are zero), so the missing-architecture-docs category cannot be flagged.
What to do
- Improve Documentation Quality — currently 8.0/10. — The repository's root README is a single cohesive document covering the project (Typescript Clean Architecture), its fictional IPoster application, an overview of main entities and use cases, local development instructions including Docker, building/configuring/running, and a license badge. It is well written with a strong visual IPoster poster and a clear outline; however it does not yet show any architecture or design documentation (the referenced markdown files are zero), so the missing-architecture-docs category cannot be flagged.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
0 of 1 build units (npm) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
6 finding(s): 0 critical, 6 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 5 REDACTED finding(s) in Secrets (history) — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (5 issue-level).
- Resolve the 1 High secret finding(s) in Secrets (history) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
17 finding(s): 0 critical, 2 high, 15 medium, 0 low. 2 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. semgrep hit a parse error in 4 file(s) — `src/core/common/di/CoreDITokens.ts` (line 5, line 6, line 7), `src/core/domain/media/di/MediaDITokens.ts` (line 5, line 6, line 7, …), `src/core/domain/post/di/PostDITokens.ts` (line 5, line 6, line 7, …), `src/core/domain/user/di/UserDITokens.ts` (line 5, line 6, line 10, …) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
What to do
- Resolve the 13 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (7), REDACTED (5), REDACTED. — One of this dimension's main actionable groups (13 warning-level).
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). — One of this dimension's main actionable groups (2 warning-level).
- No action in Static Analysis (SAST) — all 2 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 (2 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
75 finding(s): 10 critical, 37 high, 18 medium, 10 low.
What to do
- Resolve the 37 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (37). — One of this dimension's main actionable groups (37 issue-level).
- Resolve the 9 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (8), REDACTED. — One of this dimension's main actionable groups (9 issue-level).
- Resolve the 1 Critical vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D31 · IaC & Container Security
5 finding(s): 0 critical, 3 high, 1 medium, 1 low.
What to do
- Resolve the 3 High IaC finding(s) in IaC & Container Security — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 1 Medium IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 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
14 of 14 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is REDACTED. Counted over 14 of the 164 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 14 Orphaned file finding(s) in Knowledge Freshness — start with REDACTED, REDACTED, TypeOrmPostRepositoryAdapter.ts. — One of this dimension's main actionable groups (14 recommendation-level).
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 26 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AX10 · Code composition
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
AX9 · CQS / query purity
C1 · Data Protection
What to do
- Strengthen data-at-rest protection: vault your keys (AWS KMS / Secrets Manager, Azure Key Vault, GCP KMS / REDACTED Manager, HashiCorp Vault) and encrypt the most sensitive columns (typeorm-encrypted, prisma-field-encryption, mongoose-field-encryption or MongoDB CSFLE) — partial coverage still leaves gaps.
- Enforce HTTPS (serve through https.createServer / NestJS httpsOptions, or redirect plain HTTP with express-sslify behind your TLS terminator) so data in transit is always encrypted.
C2 · Access Controls
DM6 · Domain ↔ infrastructure boundary
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
- No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named `architecture` or `design` in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape — no `## Architecture` heading, no "architecture overview"/"high-level design" phrasing, no "the architecture is …" introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document — not evidence that nobody wrote the shape down.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
- Add a C4 context/container diagram (Structurizr, PlantUML or Mermaid) or an architecture.md overview.
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
What to do
- Consider OpenTelemetry tracing/metrics (@opentelemetry/sdk-node) and a health-check endpoint (@godaddy/terminus or a /health route) for operability.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 826 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 javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
- Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.
What to do
- Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup
- A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
- Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
P8 · Schema migrations
PF3 · Async & latency hygiene
R1 · Type Safety
R10 · Code Duplication
- 6 duplicated blocks under src/infrastructure/adapter/usecase/ have copies in at least two of the sibling directories media, post, user — 4 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 6 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 6 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 6 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — src/infrastructure/adapter/usecase/media/GetMediaAdapter.ts:6
- REDACTED:46 · REDACTED:31 — the two spans are one implementation copied and then locally edited — 692 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — REDACTED:46
- src/core/domain/media/entity/Media.ts:22 · src/core/domain/user/entity/User.ts:25 — the two spans are one implementation copied and then locally edited — 362 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — src/core/domain/media/entity/Media.ts:22
- src/application/di/MediaModule.ts:42 · src/application/di/PostModule.ts:36 — the two spans are one implementation copied and then locally edited — 235 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — src/application/di/MediaModule.ts:42
- src/infrastructure/adapter/persistence/typeorm/repository/media/TypeOrmMediaRepositoryAdapter.ts:10 · src/infrastructure/adapter/persistence/typeorm/repository/post/TypeOrmPostRepositoryAdapter.ts:13 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — src/infrastructure/adapter/persistence/typeorm/repository/media/TypeOrmMediaRepositoryAdapter.ts:10
- src/infrastructure/adapter/persistence/typeorm/repository/media/TypeOrmMediaRepositoryAdapter.ts:55 · src/infrastructure/adapter/persistence/typeorm/repository/user/TypeOrmUserRepositoryAdapter.ts:34 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — src/infrastructure/adapter/persistence/typeorm/repository/media/TypeOrmMediaRepositoryAdapter.ts:55
- src/infrastructure/adapter/usecase/post/CreatePostAdapter.ts:6 · src/infrastructure/adapter/usecase/post/EditPostAdapter.ts:6 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — src/infrastructure/adapter/usecase/post/CreatePostAdapter.ts:6
- src/infrastructure/adapter/usecase/media/GetMediaAdapter.ts:6 · src/infrastructure/adapter/usecase/media/RemoveMediaAdapter.ts:6 · src/infrastructure/adapter/usecase/post/GetPostAdapter.ts:6 · src/infrastructure/adapter/usecase/post/PublishPostAdapter.ts:6 · +1 more site(s) not listed — the 5 copies are spread across 5 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — src/infrastructure/adapter/usecase/media/GetMediaAdapter.ts:6
- src/infrastructure/adapter/usecase/media/EditMediaAdapter.ts:2 · src/infrastructure/adapter/usecase/post/CreatePostAdapter.ts:2 · src/infrastructure/adapter/usecase/post/EditPostAdapter.ts:2 · src/infrastructure/adapter/usecase/user/CreateUserAdapter.ts:3 — the 4 copies are spread across 4 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — src/infrastructure/adapter/usecase/media/EditMediaAdapter.ts:2
- src/infrastructure/adapter/usecase/media/EditMediaAdapter.ts:6 · src/infrastructure/adapter/usecase/post/CreatePostAdapter.ts:6 · src/infrastructure/adapter/usecase/post/EditPostAdapter.ts:6 — the 3 copies are spread across 3 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — src/infrastructure/adapter/usecase/media/EditMediaAdapter.ts:6
- src/core/common/message/query/queries/media/DoesMediaExistQuery.ts:3 · src/core/common/message/query/queries/media/GetMediaPreviewQuery.ts:3 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — src/core/common/message/query/queries/media/DoesMediaExistQuery.ts:3
- REDACTED:67 · REDACTED:147 · REDACTED:160 — all 3 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — REDACTED:67
- src/core/service/media/usecase/EditMediaService.ts:10 · src/core/service/media/usecase/GetMediaService.ts:10 · src/core/service/post/usecase/GetPostService.ts:11 · src/core/service/post/usecase/PublishPostService.ts:10 — the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — src/core/service/media/usecase/EditMediaService.ts:10
- src/core/service/post/usecase/EditPostService.ts:19 · src/core/service/post/usecase/PublishPostService.ts:13 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — src/core/service/post/usecase/EditPostService.ts:19
- src/infrastructure/adapter/usecase/media/EditMediaAdapter.ts:2 · src/infrastructure/adapter/usecase/post/CreatePostAdapter.ts:2 · src/infrastructure/adapter/usecase/post/EditPostAdapter.ts:2 · src/infrastructure/adapter/usecase/post/GetPostListAdapter.ts:3 · +1 more site(s) not listed — the 5 copies are spread across 5 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — src/infrastructure/adapter/usecase/media/EditMediaAdapter.ts:2
- REDACTED:120 · REDACTED:149 · REDACTED:162 — all 3 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — REDACTED:120
- src/infrastructure/handler/media/NestWrapperDoesMediaExistQueryHandler.ts:6 · src/infrastructure/handler/media/NestWrapperGetMediaPreviewQueryHandler.ts:7 · src/infrastructure/handler/user/NestWrapperGetUserPreviewQueryHandler.ts:7 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — src/infrastructure/handler/media/NestWrapperDoesMediaExistQueryHandler.ts:6
- src/core/common/adapter/usecase/UseCaseValidatableAdapter.ts:6 · src/core/common/value-object/ValueObject.ts:6 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — src/core/common/adapter/usecase/UseCaseValidatableAdapter.ts:6
- src/core/service/media/usecase/EditMediaService.ts:16 · src/core/service/media/usecase/RemoveMediaService.ts:18 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — src/core/service/media/usecase/EditMediaService.ts:16
- src/core/service/post/usecase/EditPostService.ts:22 · src/core/service/post/usecase/PublishPostService.ts:16 · src/core/service/post/usecase/RemovePostService.ts:15 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — src/core/service/post/usecase/EditPostService.ts:22
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R11 · Import Boundaries
- src/application/ServerApplication.ts:2 imports src/infrastructure/config/ApiServerConfig.ts against the layered-src rules. — src/application/ServerApplication.ts:2
- src/application/api/http-rest/auth/passport/HttpJwtStrategy.ts:7 imports src/infrastructure/config/ApiServerConfig.ts against the layered-src rules. — src/application/api/http-rest/auth/passport/HttpJwtStrategy.ts:7
- src/application/api/http-rest/auth/passport/HttpLocalStrategy.ts:6 imports src/infrastructure/config/ApiServerConfig.ts against the layered-src rules. — src/application/api/http-rest/auth/passport/HttpLocalStrategy.ts:6
- REDACTED:19 imports src/infrastructure/adapter/usecase/media/CreateMediaAdapter.ts against the layered-src rules. — REDACTED:19
- REDACTED:20 imports src/infrastructure/adapter/usecase/media/EditMediaAdapter.ts against the layered-src rules. — REDACTED:20
- REDACTED:21 imports src/infrastructure/adapter/usecase/media/GetMediaAdapter.ts against the layered-src rules. — REDACTED:21
- REDACTED:22 imports src/infrastructure/adapter/usecase/media/GetMediaListAdapter.ts against the layered-src rules. — REDACTED:22
- REDACTED:23 imports src/infrastructure/adapter/usecase/media/RemoveMediaAdapter.ts against the layered-src rules. — REDACTED:23
- REDACTED:24 imports src/infrastructure/config/FileStorageConfig.ts against the layered-src rules. — REDACTED:24
- REDACTED:20 imports src/infrastructure/adapter/usecase/post/CreatePostAdapter.ts against the layered-src rules. — REDACTED:20
- REDACTED:21 imports src/infrastructure/adapter/usecase/post/EditPostAdapter.ts against the layered-src rules. — REDACTED:21
- REDACTED:22 imports src/infrastructure/adapter/usecase/post/GetPostAdapter.ts against the layered-src rules. — REDACTED:22
- REDACTED:23 imports src/infrastructure/adapter/usecase/post/GetPostListAdapter.ts against the layered-src rules. — REDACTED:23
- REDACTED:24 imports src/infrastructure/adapter/usecase/post/PublishPostAdapter.ts against the layered-src rules. — REDACTED:24
- REDACTED:25 imports src/infrastructure/adapter/usecase/post/RemovePostAdapter.ts against the layered-src rules. — REDACTED:25
- REDACTED:26 imports src/infrastructure/config/FileStorageConfig.ts against the layered-src rules. — REDACTED:26
- REDACTED:12 imports src/infrastructure/adapter/usecase/user/CreateUserAdapter.ts against the layered-src rules. — REDACTED:12
- REDACTED:13 imports src/infrastructure/adapter/usecase/user/GetUserAdapter.ts against the layered-src rules. — REDACTED:13
- src/application/api/http-rest/exception-filter/NestHttpExceptionFilter.ts:4 imports src/infrastructure/config/ApiServerConfig.ts against the layered-src rules. — src/application/api/http-rest/exception-filter/NestHttpExceptionFilter.ts:4
- src/application/di/AuthModule.ts:6 imports src/infrastructure/config/ApiServerConfig.ts against the layered-src rules. — src/application/di/AuthModule.ts:6
- REDACTED:4 imports src/infrastructure/adapter/message/NestCommandBusAdapter.ts against the layered-src rules. — REDACTED:4
- REDACTED:5 imports src/infrastructure/adapter/message/NestEventBusAdapter.ts against the layered-src rules. — REDACTED:5
- REDACTED:6 imports src/infrastructure/adapter/message/NestQueryBusAdapter.ts against the layered-src rules. — REDACTED:6
- REDACTED:7 imports src/infrastructure/adapter/persistence/typeorm/logger/TypeOrmLogger.ts against the layered-src rules. — REDACTED:7
- REDACTED:8 imports src/infrastructure/adapter/persistence/typeorm/TypeOrmDirectory.ts against the layered-src rules. — REDACTED:8
- REDACTED:9 imports src/infrastructure/config/ApiServerConfig.ts against the layered-src rules. — REDACTED:9
- REDACTED:10 imports src/infrastructure/config/DatabaseConfig.ts against the layered-src rules. — REDACTED:10
- src/application/di/MediaModule.ts:14 imports src/infrastructure/adapter/persistence/media-file/MinioMediaFileStorageAdapter.ts against the layered-src rules. — src/application/di/MediaModule.ts:14
- src/application/di/MediaModule.ts:15 imports src/infrastructure/adapter/persistence/typeorm/repository/media/TypeOrmMediaRepositoryAdapter.ts against the layered-src rules. — src/application/di/MediaModule.ts:15
- src/application/di/MediaModule.ts:16 imports src/infrastructure/handler/media/NestWrapperDoesMediaExistQueryHandler.ts against the layered-src rules. — src/application/di/MediaModule.ts:16
- src/application/di/MediaModule.ts:17 imports src/infrastructure/handler/media/NestWrapperGetMediaPreviewQueryHandler.ts against the layered-src rules. — src/application/di/MediaModule.ts:17
- src/application/di/MediaModule.ts:18 imports src/infrastructure/transaction/TransactionalUseCaseWrapper.ts against the layered-src rules. — src/application/di/MediaModule.ts:18
- src/application/di/PostModule.ts:15 imports src/infrastructure/adapter/persistence/typeorm/repository/post/TypeOrmPostRepositoryAdapter.ts against the layered-src rules. — src/application/di/PostModule.ts:15
- src/application/di/PostModule.ts:16 imports src/infrastructure/handler/post/NestWrapperPostImageRemovedEventHandler.ts against the layered-src rules. — src/application/di/PostModule.ts:16
- src/application/di/PostModule.ts:17 imports src/infrastructure/transaction/TransactionalUseCaseWrapper.ts against the layered-src rules. — src/application/di/PostModule.ts:17
- src/application/di/UserModule.ts:6 imports src/infrastructure/adapter/persistence/typeorm/repository/user/TypeOrmUserRepositoryAdapter.ts against the layered-src rules. — src/application/di/UserModule.ts:6
- src/application/di/UserModule.ts:7 imports src/infrastructure/handler/user/NestWrapperGetUserPreviewQueryHandler.ts against the layered-src rules. — src/application/di/UserModule.ts:7
What to do
- Fix the listed violations: respect the layer/slice order — import only through a slice's public index and never upward into a higher layer (37 rows).
R2 · Cyclomatic Complexity
R3 · Large Files
R4 · Test Coverage
- No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×34) — REDACTED:1, REDACTED:1, src/application/di/MediaModule.ts:1, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness
- 42 outdated package(s); JS/npm CVEs scored in D30
What to do
- Bump outdated dependencies to current versions to limit upgrade debt.
R6 · Tooling
R7 · Dead Code
- Unreachable from the 1 application, 4 tooling and 58 test entry point(s) detected in this repo. Gate removals on `npm run build` — an undetected custom entry would make these reachable.
- no import path from any entry point (1 application, 4 tooling, 58 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make (×2) — src/application/api/http-rest/auth/decorator/HttpRoles.ts, src/core/common/message/command/CommandHandler.ts
R8 · Dependency Hygiene
- Imported but not declared in any reachable REDACTED — installs work only by hoisting accident. — src/application/api/http-rest/auth/type/HttpAuthTypes.ts:2
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- 0/2 of this repository's type-checking configuration(s) turn on strict null checking (`"strict": true`, or `"strictNullChecks": true`). A configuration that states neither is counted as OFF, because off is tsc's own default; a solution-style one whose `"files"` is empty and whose `"references"` point at other projects is in neither number, because it checks no source itself. Where it is off, `string` admits `null` and `undefined`: passing a value that is null compiles silently and throws on the first property access.
- ~0.2 `!` null assertions per 1k TypeScript source lines — 1 assertion(s) across the 4884 source line(s) of the 185 TypeScript file(s) read, which is the only code the operator asserts anything in (a `!` in a `.js` file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: src/infrastructure/adapter/persistence/typeorm/entity/post/mapper/TypeOrmPostMapper.ts (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic `strictNullChecks` exists to produce.
What to do
- The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 75% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 62% | Adequate — gated by R11 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 43% | Weak — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 33% | Weak — gated by D9, D13, P3, P5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 49% | Weak — gated by D30, C1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 100% | Exemplary | Strongest area. |
| Performance | 100% | Exemplary | Solid. |
Unscored — 1 check(s) recorded observations but carry no score
- D36 Supply-chain Provenance & Signing — 1 observation(s) recorded · The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Repo shows no audit-logging mechanism (an audit-log table or model, an ORM write hook that records changes — a TypeORM/MikroORM subscriber, a Sequelize or Mongoose hook, Prisma middleware — or a change-history plugin such as mongoose-history or sequelize-paper-trail) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 58 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — Not applicable: NestJS makes a provider that injects a request-scoped one request-scoped itself (scope bubbles up the injection chain), and gives every consumer its own transient instance by contract.
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 18 — an image could not be pulled) — minio_local Pulling minio_local Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: postgresql_local Skipped - No image to be pulled minio_local Pulling minio_local Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- D11 Test Reliability — No tests discovered
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.ts), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D32 Data Compliance (PII/GDPR) — 4 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.ts) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D5 Coupling — Not applicable — this npm build ships 1 production module(s), so there is no coupling BETWEEN modules to measure. (Its test and non-production modules are not part of the shipped graph.)
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured — the jest suite in the repository root ran and not one test passed (FAIL test/e2e/tests/post/PostGet.spec.ts), so the coverage would describe the failed run, not the code. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository's maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run.
- DM1 Aggregate boundaries — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM10 One transaction, one aggregate — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM2 Strongly-typed ids — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM3 Integration-event coupling — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM4 Rich vs anemic model — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM5 Encapsulated state — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM7 Repository granularity — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- ED1 Event-Driven — not scored — this repository shows only 1 of the 3 signals this lens looks for (3 CQRS handler(s))
- 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 HTTP client call or construction in the JavaScript/TypeScript source (service entry point: src/application/ServerApplication.ts:15 (NestFactory.create))
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `jest --coverage --coverageReporters=lcovonly`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a REDACTED, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- S1 Web-Security Posture — Not assessed: 185 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled TLS certificate validation and obsolete TLS versions, and none was found. That half of the dimension is clean, but it is not scored on its own: a C# repository with the same clean reading is scored on its server controls as well, or is N/A for having no web surface, and neither can be decided here. The server controls — HTTPS enforcement, HSTS, cookie flags, input validation — are NOT assessed for JavaScript/TypeScript: each is scored as an absence, an absence is only reportable over the production HTTP server, and in this ecosystem the file that opens the port is build output or a framework launcher rather than a file in the source tree. Their absence here is not a finding about this repository.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — Not applicable: this check looks for a loop whose body adds to or removes from the very collection the loop is walking, invalidating the enumerator it holds, and in this repository's languages that cannot happen. JavaScript and TypeScript have no iterator that a change can invalidate: an `Array` is walked by index against its live length, and a `Map` or `Set` by the ECMAScript specification's live entry list, so a body that adds to, removes from or empties what it walks raises nothing — every loop form (`for…of`, `for…in`, `forEach`, `map`, `filter`, `reduce`, `entries()`) on every built-in collection (`Array`, `Map`, `Set`, plain objects, `URLSearchParams`, `Headers`, `FormData`) runs to completion. Such a loop can still skip an element or never end, which is a different defect and not the one this check asks about. Not a gap in the analyzer and not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 64 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Unlisted import 'express' src/application/api/http-rest/auth/type/HttpAuthTypes.ts:2
Serious — 160 finding(s)
- Boundary violation [layered:upward-import] src/application/ServerApplication.ts:2
- Boundary violation [layered:upward-import] src/application/api/http-rest/auth/passport/HttpJwtStrategy.ts:7
- Boundary violation [layered:upward-import] src/application/api/http-rest/auth/passport/HttpLocalStrategy.ts:6
- Boundary violation [layered:upward-import] REDACTED:19
- Boundary violation [layered:upward-import] REDACTED:20
- Boundary violation [layered:upward-import] REDACTED:21
- Boundary violation [layered:upward-import] REDACTED:22
- Boundary violation [layered:upward-import] REDACTED:23
- Boundary violation [layered:upward-import] REDACTED:24
- Boundary violation [layered:upward-import] REDACTED:20
- Boundary violation [layered:upward-import] REDACTED:21
- Boundary violation [layered:upward-import] REDACTED:22
- Boundary violation [layered:upward-import] REDACTED:23
- Boundary violation [layered:upward-import] REDACTED:24
- Boundary violation [layered:upward-import] REDACTED:25
- Boundary violation [layered:upward-import] REDACTED:26
- Boundary violation [layered:upward-import] REDACTED:12
- Boundary violation [layered:upward-import] REDACTED:13
- Boundary violation [layered:upward-import] src/application/api/http-rest/exception-filter/NestHttpExceptionFilter.ts:4
- Boundary violation [layered:upward-import] src/application/di/AuthModule.ts:6
- Boundary violation [layered:upward-import] REDACTED:4
- Boundary violation [layered:upward-import] REDACTED:5
- Boundary violation [layered:upward-import] REDACTED:6
- Boundary violation [layered:upward-import] REDACTED:7
- Boundary violation [layered:upward-import] REDACTED:8
- No test reaches this file REDACTED:1
- No test reaches this file REDACTED:1
- No test reaches this file src/application/di/MediaModule.ts:1
- No test reaches this file src/application/di/PostModule.ts:1
- No test reaches this file REDACTED:1
- No test reaches this file REDACTED:1
- No test reaches this file src/application/di/UserModule.ts:1
- No test reaches this file src/application/api/http-rest/exception-filter/NestHttpExceptionFilter.ts:1
- No test reaches this file src/infrastructure/adapter/persistence/typeorm/logger/TypeOrmLogger.ts:1
- No test reaches this file src/application/ServerApplication.ts:1
- No test reaches this file src/application/api/http-rest/auth/HttpAuthService.ts:1
- No test reaches this file src/application/api/http-rest/auth/passport/HttpJwtStrategy.ts:1
- No test reaches this file src/application/api/http-rest/auth/guard/HttpRoleAuthGuard.ts:1
- No test reaches this file src/infrastructure/adapter/usecase/post/GetPostListAdapter.ts:1
- No test reaches this file src/application/api/http-rest/auth/passport/HttpLocalStrategy.ts:1
- No test reaches this file src/application/di/AuthModule.ts:1
- No test reaches this file src/application/api/http-rest/controller/AuthController.ts:1
- No test reaches this file src/application/api/http-rest/interceptor/NestHttpLoggingInterceptor.ts:1
- No test reaches this file src/infrastructure/handler/media/NestWrapperGetMediaPreviewQueryHandler.ts:1
- No test reaches this file src/infrastructure/handler/user/NestWrapperGetUserPreviewQueryHandler.ts:1
- No test reaches this file src/infrastructure/handler/media/NestWrapperDoesMediaExistQueryHandler.ts:1
- No test reaches this file src/infrastructure/transaction/TransactionalUseCaseWrapper.ts:1
- No test reaches this file src/infrastructure/adapter/usecase/media/GetMediaListAdapter.ts:1
- No test reaches this file src/infrastructure/adapter/usecase/user/GetUserAdapter.ts:1
- No test reaches this file src/infrastructure/handler/post/NestWrapperPostImageRemovedEventHandler.ts:1
- No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/media/MediaRemove.spec.ts:119
- No assertions: When access token is not valid, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/media/MediaRemove.spec.ts:124
- No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/media/MediaGetList.spec.ts:60
- No assertions: When access token is not valid, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/media/MediaGetList.spec.ts:64
- No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/media/MediaGet.spec.ts:157
- No assertions: When access token is not valid, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/media/MediaGet.spec.ts:162
- No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/media/MediaEdit.spec.ts:88
- No assertions: When access token is not valid, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/media/MediaEdit.spec.ts:93
- No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/media/MediaCreate.spec.ts:69
- No assertions: When access token is not valid, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/media/MediaCreate.spec.ts:73
- No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostRemove.spec.ts:98
- No assertions: When access token is not valid, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostRemove.spec.ts:105
- No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostPublish.spec.ts:82
- No assertions: When access token is not valid, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostPublish.spec.ts:89
- No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostGetMineList.spec.ts:70
- No assertions: When access token is not valid, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostGetMineList.spec.ts:74
- No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostGetCommonList.spec.ts:52
- No assertions: When access token is not valid, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostGetCommonList.spec.ts:56
- No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostGet.spec.ts:221
- No assertions: When access token is not valid, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostGet.spec.ts:228
- No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostEdit.spec.ts:102
- No assertions: When access token is not valid, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostEdit.spec.ts:109
- No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostCreate.spec.ts:85
- No assertions: When access token is not valid, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/post/PostCreate.spec.ts:89
- No assertions: When access token is not passed, expect it returns "UNAUTHORIZED_ERROR" response test/e2e/tests/user/User.spec.ts:106
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Deprecated: eslint REDACTED:50
- Deprecated: supertest REDACTED:56
- Deprecated: uuid REDACTED:87
- REDACTED
- REDACTED
- Duplicated block (9 lines × 3 locations) REDACTED:120
- Duplicated block (9 lines × 3 locations) src/infrastructure/handler/media/NestWrapperDoesMediaExistQueryHandler.ts:6
- Duplicated block (8 lines × 2 locations) src/core/common/adapter/usecase/UseCaseValidatableAdapter.ts:6
- Duplicated block (8 lines × 2 locations) src/core/service/media/usecase/EditMediaService.ts:16
- REDACTED
- REDACTED
- Coverage not measured — JavaScript/TypeScript suite
- No DR/backup evidence
- Duplication concentrated across 3 sibling directories (6 clone groups) src/infrastructure/adapter/usecase/media/GetMediaAdapter.ts:6
- Duplicated block with local edits (84 matched lines × 2 locations) REDACTED:46
- Duplicated block with local edits (61 matched lines × 2 locations) src/core/domain/media/entity/Media.ts:22
- Duplicated block with local edits (50 matched lines × 2 locations) src/application/di/MediaModule.ts:42
- Duplicated block (34 lines × 2 locations) src/infrastructure/adapter/persistence/typeorm/repository/media/TypeOrmMediaRepositoryAdapter.ts:10
- Duplicated block (27 lines × 2 locations) src/infrastructure/adapter/persistence/typeorm/repository/media/TypeOrmMediaRepositoryAdapter.ts:55
- Duplicated block (22 lines × 2 locations) src/infrastructure/adapter/usecase/post/CreatePostAdapter.ts:6
- Duplicated block (14 lines × 5 locations) src/infrastructure/adapter/usecase/media/GetMediaAdapter.ts:6
- Duplicated block (13 lines × 4 locations) src/infrastructure/adapter/usecase/media/EditMediaAdapter.ts:2
- Duplicated block (12 lines × 3 locations) src/infrastructure/adapter/usecase/media/EditMediaAdapter.ts:6
- Duplicated block (11 lines × 2 locations) src/core/common/message/query/queries/media/DoesMediaExistQuery.ts:3
- Duplicated block (10 lines × 3 locations) REDACTED:67
- Duplicated block (10 lines × 4 locations) src/core/service/media/usecase/EditMediaService.ts:10
- Duplicated block (10 lines × 2 locations) src/core/service/post/usecase/EditPostService.ts:19
- Duplicated block (10 lines × 5 locations) src/infrastructure/adapter/usecase/media/EditMediaAdapter.ts:2
- Duplicated block (8 lines × 3 locations) src/core/service/post/usecase/EditPostService.ts:22
- Dependency Freshness
- Dead file (~5 LoC) src/application/api/http-rest/auth/decorator/HttpRoles.ts
- Dead file (~3 LoC) src/core/common/message/command/CommandHandler.ts
Minor — 48 finding(s)
- Orphaned file REDACTED:1
- Orphaned file REDACTED:1
- Orphaned file src/infrastructure/adapter/persistence/typeorm/repository/post/TypeOrmPostRepositoryAdapter.ts:1
- Orphaned file src/application/di/MediaModule.ts:1
- Orphaned file src/infrastructure/adapter/persistence/typeorm/repository/media/TypeOrmMediaRepositoryAdapter.ts:1
- Orphaned file src/application/di/PostModule.ts:1
- Orphaned file src/core/domain/post/entity/Post.ts:1
- Orphaned file src/core/domain/user/entity/User.ts:1
- Orphaned file src/infrastructure/adapter/persistence/typeorm/repository/user/TypeOrmUserRepositoryAdapter.ts:1
- Orphaned file REDACTED:1
- Orphaned file src/core/service/post/usecase/EditPostService.ts:1
- Orphaned file REDACTED:1
- Orphaned file src/core/domain/media/entity/Media.ts:1
- Orphaned file src/core/service/post/usecase/CreatePostService.ts:1
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Outdated (npm): @nestjs/common REDACTED:62
- Outdated (npm): @nestjs/core REDACTED:63
- Outdated (npm): @nestjs/cqrs REDACTED:64
- Outdated (npm): @nestjs/jwt REDACTED:65
- Outdated (npm): @nestjs/passport REDACTED:66
- Outdated (npm): @nestjs/platform-express REDACTED:67
- Outdated (npm): @nestjs/swagger REDACTED:68
- Outdated (npm): @nestjs/typeorm REDACTED:69
- Outdated (npm): uuid REDACTED:87
- Deprecated: @npmcli/move-file REDACTED:1926
- Deprecated: multer REDACTED:8062
- Mock-dominated test: When not image media is removed, expect it does not nothing test/unit/core/service/post/handler/HandlePostImageRemovedEventService.spec.ts:51
- No ADRs found
- REDACTED
- REDACTED
- Orphaned files with no living knowledge
- REDACTED
- Inverted test pyramid
- No ADRs
- No architecture diagram/doc
- No SAST
- No rollback/health safety
- Strict null checking is not enabled everywhere the repository type-checks
- Null assertions (`!`) reduce the strict null checking score
Minor — 12 finding(s)
- Outdated (npm): bcryptjs
- Outdated (npm): class-validator
- Outdated (npm): dotenv
- Outdated (npm): env-var
- Outdated (npm): minio
- Outdated (npm): module-alias
- Outdated (npm): passport
- Outdated (npm): pg
- Outdated (npm): reflect-metadata
- Outdated (npm): rxjs
- Outdated (npm): swagger-ui-express
- Outdated (npm): typeorm
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-b7d0cc3070674e4ba5a2bc4f9424eb07/history.json --exit-code 0 --source . | 8 | 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-b7d0cc3070674e4ba5a2bc4f9424eb07/tree.json --exit-code 0 --source . | 3 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 17 | artifacts/raw/semgrep.json |
| D30 · Dependency Vulnerabilities | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 75 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 5 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 4 file(s) — `src/core/common/di/CoreDITokens.ts`, `src/core/domain/media/di/MediaDITokens.ts`, `src/core/domain/post/di/PostDITokens.ts`, `src/core/domain/user/di/UserDITokens.ts` — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 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 | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |