Executive summary
carlossalasamper/react-clean-architecture is rated At risk because critical security findings are open, all of them in the packages it uses. Its score is held back in part because the project has no automated tests. It scores 32 out of 100, which the At risk rating leaves unchanged.
Production Readiness, at 14, is the weakest lens and counts most in the score. The best first step is adding automated tests, worth about 14 points. Adding an automated build and test pipeline is another step, worth about 4 points. Raising Production Readiness to 70 would lift the score to about 47.
Twenty known security holes in the packages the code depends on can be used by attackers. The project has no automated tests, so a change can break it without warning. Adding automated tests and updating the vulnerable packages would close both risks. The four labels or groups of fields with no name need connecting to their fields or naming.
The product code is 1,372 lines, about €1,400 to rebuild. The check for the health of its packages couldn't finish, so that result is missing, not a clean pass.
If Production Readiness rose from 14 to 70, the lowest score rated Strong, the score would rise from 32 to about 47.
New since the last survey: 1 finding
- Dependency Vulnerabilities · REDACTED
Rebuild cost: about €1,400 · Estimate
| Cost to rebuild | €470 to €2,300, for 8 to 25 hours of work, under 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 32. 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 | Very small: 1,372 lines of product code |
| What it is not | Not a quotation: nobody has offered to build it for that. Not a valuation: it says nothing about what the business is worth. Not a certified figure: no professional has signed it as one. |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 src | 2 src.AppModule | 3 src.core.CoreModule | 4 src.core.application.UseCase | 5 src.core.domain.enums.Locale | 6 src.core.domain.specifications.IHttpClient | 7 src.core.infrastructure.models.PayloadDto | 8 src.core.infrastructure.models.ResponseDto | 9 src.core.presentation | 10 src.core.presentation.components.Button | 11 src.core.presentation.components.Card | 12 src.core.presentation.components.Dialog | 13 src.core.presentation.components.EmptyList | 14 src.core.presentation.components.IconButton | 15 src.core.presentation.components.Loading | 16 src.core.presentation.components.Separator | 17 src.core.presentation.components.Tabs | 18 src.core.presentation.components.Tooltip | 19 src.core.presentation.services.ToastService | 20 src.core.presentation.types.PaginationState | 21 src.post.application.types.GetPostsPayload | 22 src.post.application.types.GetPostsResponse | 23 src.post.domain.entities.PostEntity | 24 src.post.domain.specifications.IPostRepository | 25 src.post.presentation.types.FindPostStoreState | 26 src.post.presentation.types.GetPostsStoreState | 27 src.core.infrastructure.implementations.HttpClient | 28 src.core.presentation.components | 29 src.core.presentation.types.ListState | 30 src.post.application.useCases.FindPostUseCase | 31 src.post.application.useCases.GetPostsUseCase | 32 src.post.infrastructure.implementations.PostRepository | 33 src.post.infrastructure.models.GetPostsQuery | 34 src.post.infrastructure.models.PostDto | 35 src.post.presentation.components.PostItem | 36 src.post.presentation.components | 37 src.post.presentation.stores.FindPostStore.FindPostStore | 38 src.post.presentation.stores.GetPostsStore.GetPostsStore | 39 src.post.presentation.stores.FindPostStore | 40 src.post.presentation.stores.GetPostsStore |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 src | ||||||||||||||||||||||||||||||||||||||||
| 2 src.AppModule | ||||||||||||||||||||||||||||||||||||||||
| 3 src.core.CoreModule | ||||||||||||||||||||||||||||||||||||||||
| 4 src.core.application.UseCase | ||||||||||||||||||||||||||||||||||||||||
| 5 src.core.domain.enums.Locale | ||||||||||||||||||||||||||||||||||||||||
| 6 src.core.domain.specifications.IHttpClient | ||||||||||||||||||||||||||||||||||||||||
| 7 src.core.infrastructure.models.PayloadDto | ||||||||||||||||||||||||||||||||||||||||
| 8 src.core.infrastructure.models.ResponseDto | ||||||||||||||||||||||||||||||||||||||||
| 9 src.core.presentation | ||||||||||||||||||||||||||||||||||||||||
| 10 src.core.presentation.components.Button | ||||||||||||||||||||||||||||||||||||||||
| 11 src.core.presentation.components.Card | ||||||||||||||||||||||||||||||||||||||||
| 12 src.core.presentation.components.Dialog | ||||||||||||||||||||||||||||||||||||||||
| 13 src.core.presentation.components.EmptyList | ||||||||||||||||||||||||||||||||||||||||
| 14 src.core.presentation.components.IconButton | ||||||||||||||||||||||||||||||||||||||||
| 15 src.core.presentation.components.Loading | ||||||||||||||||||||||||||||||||||||||||
| 16 src.core.presentation.components.Separator | ||||||||||||||||||||||||||||||||||||||||
| 17 src.core.presentation.components.Tabs | ||||||||||||||||||||||||||||||||||||||||
| 18 src.core.presentation.components.Tooltip | ||||||||||||||||||||||||||||||||||||||||
| 19 src.core.presentation.services.ToastService | ||||||||||||||||||||||||||||||||||||||||
| 20 src.core.presentation.types.PaginationState | ||||||||||||||||||||||||||||||||||||||||
| 21 src.post.application.types.GetPostsPayload | ||||||||||||||||||||||||||||||||||||||||
| 22 src.post.application.types.GetPostsResponse | ||||||||||||||||||||||||||||||||||||||||
| 23 src.post.domain.entities.PostEntity | ||||||||||||||||||||||||||||||||||||||||
| 24 src.post.domain.specifications.IPostRepository | ||||||||||||||||||||||||||||||||||||||||
| 25 src.post.presentation.types.FindPostStoreState | ||||||||||||||||||||||||||||||||||||||||
| 26 src.post.presentation.types.GetPostsStoreState | ||||||||||||||||||||||||||||||||||||||||
| 27 src.core.infrastructure.implementations.HttpClient | 1 | |||||||||||||||||||||||||||||||||||||||
| 28 src.core.presentation.components | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||
| 29 src.core.presentation.types.ListState | 1 | |||||||||||||||||||||||||||||||||||||||
| 30 src.post.application.useCases.FindPostUseCase | 1 | |||||||||||||||||||||||||||||||||||||||
| 31 src.post.application.useCases.GetPostsUseCase | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 32 src.post.infrastructure.implementations.PostRepository | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 33 src.post.infrastructure.models.GetPostsQuery | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 34 src.post.infrastructure.models.PostDto | 1 | |||||||||||||||||||||||||||||||||||||||
| 35 src.post.presentation.components.PostItem | 1 | |||||||||||||||||||||||||||||||||||||||
| 36 src.post.presentation.components | 1 | |||||||||||||||||||||||||||||||||||||||
| 37 src.post.presentation.stores.FindPostStore.FindPostStore | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 38 src.post.presentation.stores.GetPostsStore.GetPostsStore | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 39 src.post.presentation.stores.FindPostStore | 1 | |||||||||||||||||||||||||||||||||||||||
| 40 src.post.presentation.stores.GetPostsStore | 1 |
27→6 src.core.infrastructure.implementations.HttpClient uses src.core.domain.specifications.IHttpClient✕
- Connections
- 1 pair of types, where a type in src.core.infrastructure.implementations.HttpClient uses a type in src.core.domain.specifications.IHttpClient.
- The types involved
src.core.infrastructure.implementations.HttpClient.HttpClient→src.core.domain.specifications.IHttpClient.IHttpClient
- Direction
- src.core.infrastructure.implementations.HttpClient uses src.core.domain.specifications.IHttpClient, so a change to src.core.domain.specifications.IHttpClient can break src.core.infrastructure.implementations.HttpClient, while a change to src.core.infrastructure.implementations.HttpClient can't break src.core.domain.specifications.IHttpClient.
- Position
- Below the diagonal: src.core.infrastructure.implementations.HttpClient uses a module listed above it, which is the healthy direction.
28→10 src.core.presentation.components uses src.core.presentation.components.Button✕
- Connections
- 1 pair of types, where a type in src.core.presentation.components uses a type in src.core.presentation.components.Button.
- The types involved
src.core.presentation.components.Button→src.core.presentation.components.Button.ButtonProps
- Direction
- src.core.presentation.components uses src.core.presentation.components.Button, so a change to src.core.presentation.components.Button can break src.core.presentation.components, while a change to src.core.presentation.components can't break src.core.presentation.components.Button.
- Position
- Below the diagonal: src.core.presentation.components uses a module listed above it, which is the healthy direction.
28→11 src.core.presentation.components uses src.core.presentation.components.Card✕
- Connections
- 1 pair of types, where a type in src.core.presentation.components uses a type in src.core.presentation.components.Card.
- The types involved
src.core.presentation.components.Card→src.core.presentation.components.Card.StatsProps
- Direction
- src.core.presentation.components uses src.core.presentation.components.Card, so a change to src.core.presentation.components.Card can break src.core.presentation.components, while a change to src.core.presentation.components can't break src.core.presentation.components.Card.
- Position
- Below the diagonal: src.core.presentation.components uses a module listed above it, which is the healthy direction.
28→12 src.core.presentation.components uses src.core.presentation.components.Dialog✕
- Connections
- 1 pair of types, where a type in src.core.presentation.components uses a type in src.core.presentation.components.Dialog.
- The types involved
src.core.presentation.components.Dialog→src.core.presentation.components.Dialog.DialogProps
- Direction
- src.core.presentation.components uses src.core.presentation.components.Dialog, so a change to src.core.presentation.components.Dialog can break src.core.presentation.components, while a change to src.core.presentation.components can't break src.core.presentation.components.Dialog.
- Position
- Below the diagonal: src.core.presentation.components uses a module listed above it, which is the healthy direction.
28→13 src.core.presentation.components uses src.core.presentation.components.EmptyList✕
- Connections
- 1 pair of types, where a type in src.core.presentation.components uses a type in src.core.presentation.components.EmptyList.
- The types involved
src.core.presentation.components.EmptyList→src.core.presentation.components.EmptyList.EmptyListProps
- Direction
- src.core.presentation.components uses src.core.presentation.components.EmptyList, so a change to src.core.presentation.components.EmptyList can break src.core.presentation.components, while a change to src.core.presentation.components can't break src.core.presentation.components.EmptyList.
- Position
- Below the diagonal: src.core.presentation.components uses a module listed above it, which is the healthy direction.
28→14 src.core.presentation.components uses src.core.presentation.components.IconButton✕
- Connections
- 1 pair of types, where a type in src.core.presentation.components uses a type in src.core.presentation.components.IconButton.
- The types involved
src.core.presentation.components.IconButton→src.core.presentation.components.IconButton.IconButtonProps
- Direction
- src.core.presentation.components uses src.core.presentation.components.IconButton, so a change to src.core.presentation.components.IconButton can break src.core.presentation.components, while a change to src.core.presentation.components can't break src.core.presentation.components.IconButton.
- Position
- Below the diagonal: src.core.presentation.components uses a module listed above it, which is the healthy direction.
28→15 src.core.presentation.components uses src.core.presentation.components.Loading✕
- Connections
- 1 pair of types, where a type in src.core.presentation.components uses a type in src.core.presentation.components.Loading.
- The types involved
src.core.presentation.components.Loading→src.core.presentation.components.Loading.LoadingProps
- Direction
- src.core.presentation.components uses src.core.presentation.components.Loading, so a change to src.core.presentation.components.Loading can break src.core.presentation.components, while a change to src.core.presentation.components can't break src.core.presentation.components.Loading.
- Position
- Below the diagonal: src.core.presentation.components uses a module listed above it, which is the healthy direction.
28→16 src.core.presentation.components uses src.core.presentation.components.Separator✕
- Connections
- 1 pair of types, where a type in src.core.presentation.components uses a type in src.core.presentation.components.Separator.
- The types involved
src.core.presentation.components.Separator→src.core.presentation.components.Separator.SeparatorProps
- Direction
- src.core.presentation.components uses src.core.presentation.components.Separator, so a change to src.core.presentation.components.Separator can break src.core.presentation.components, while a change to src.core.presentation.components can't break src.core.presentation.components.Separator.
- Position
- Below the diagonal: src.core.presentation.components uses a module listed above it, which is the healthy direction.
28→17 src.core.presentation.components uses src.core.presentation.components.Tabs✕
- Connections
- 1 pair of types, where a type in src.core.presentation.components uses a type in src.core.presentation.components.Tabs.
- The types involved
src.core.presentation.components.Tabs→src.core.presentation.components.Tabs.TabsProps
- Direction
- src.core.presentation.components uses src.core.presentation.components.Tabs, so a change to src.core.presentation.components.Tabs can break src.core.presentation.components, while a change to src.core.presentation.components can't break src.core.presentation.components.Tabs.
- Position
- Below the diagonal: src.core.presentation.components uses a module listed above it, which is the healthy direction.
28→18 src.core.presentation.components uses src.core.presentation.components.Tooltip✕
- Connections
- 1 pair of types, where a type in src.core.presentation.components uses a type in src.core.presentation.components.Tooltip.
- The types involved
src.core.presentation.components.Tooltip→src.core.presentation.components.Tooltip.TooltipProps
- Direction
- src.core.presentation.components uses src.core.presentation.components.Tooltip, so a change to src.core.presentation.components.Tooltip can break src.core.presentation.components, while a change to src.core.presentation.components can't break src.core.presentation.components.Tooltip.
- Position
- Below the diagonal: src.core.presentation.components uses a module listed above it, which is the healthy direction.
29→20 src.core.presentation.types.ListState uses src.core.presentation.types.PaginationState✕
- Connections
- 1 pair of types, where a type in src.core.presentation.types.ListState uses a type in src.core.presentation.types.PaginationState.
- The types involved
src.core.presentation.types.ListState.ListState→src.core.presentation.types.PaginationState.PaginationState
- Direction
- src.core.presentation.types.ListState uses src.core.presentation.types.PaginationState, so a change to src.core.presentation.types.PaginationState can break src.core.presentation.types.ListState, while a change to src.core.presentation.types.ListState can't break src.core.presentation.types.PaginationState.
- Position
- Below the diagonal: src.core.presentation.types.ListState uses a module listed above it, which is the healthy direction.
30→24 src.post.application.useCases.FindPostUseCase uses src.post.domain.specifications.IPostRepository✕
- Connections
- 1 pair of types, where a type in src.post.application.useCases.FindPostUseCase uses a type in src.post.domain.specifications.IPostRepository.
- The types involved
src.post.application.useCases.FindPostUseCase.FindPostUseCase→src.post.domain.specifications.IPostRepository.IPostRepository
- Direction
- src.post.application.useCases.FindPostUseCase uses src.post.domain.specifications.IPostRepository, so a change to src.post.domain.specifications.IPostRepository can break src.post.application.useCases.FindPostUseCase, while a change to src.post.application.useCases.FindPostUseCase can't break src.post.domain.specifications.IPostRepository.
- Position
- Below the diagonal: src.post.application.useCases.FindPostUseCase uses a module listed above it, which is the healthy direction.
31→4 src.post.application.useCases.GetPostsUseCase uses src.core.application.UseCase✕
- Connections
- 1 pair of types, where a type in src.post.application.useCases.GetPostsUseCase uses a type in src.core.application.UseCase.
- The types involved
src.post.application.useCases.GetPostsUseCase.GetPostsUseCase→src.core.application.UseCase.UseCase
- Direction
- src.post.application.useCases.GetPostsUseCase uses src.core.application.UseCase, so a change to src.core.application.UseCase can break src.post.application.useCases.GetPostsUseCase, while a change to src.post.application.useCases.GetPostsUseCase can't break src.core.application.UseCase.
- Position
- Below the diagonal: src.post.application.useCases.GetPostsUseCase uses a module listed above it, which is the healthy direction.
31→21 src.post.application.useCases.GetPostsUseCase uses src.post.application.types.GetPostsPayload✕
- Connections
- 1 pair of types, where a type in src.post.application.useCases.GetPostsUseCase uses a type in src.post.application.types.GetPostsPayload.
- The types involved
src.post.application.useCases.GetPostsUseCase.GetPostsUseCase→src.post.application.types.GetPostsPayload.GetPostsPayload
- Direction
- src.post.application.useCases.GetPostsUseCase uses src.post.application.types.GetPostsPayload, so a change to src.post.application.types.GetPostsPayload can break src.post.application.useCases.GetPostsUseCase, while a change to src.post.application.useCases.GetPostsUseCase can't break src.post.application.types.GetPostsPayload.
- Position
- Below the diagonal: src.post.application.useCases.GetPostsUseCase uses a module listed above it, which is the healthy direction.
31→24 src.post.application.useCases.GetPostsUseCase uses src.post.domain.specifications.IPostRepository✕
- Connections
- 1 pair of types, where a type in src.post.application.useCases.GetPostsUseCase uses a type in src.post.domain.specifications.IPostRepository.
- The types involved
src.post.application.useCases.GetPostsUseCase.GetPostsUseCase→src.post.domain.specifications.IPostRepository.IPostRepository
- Direction
- src.post.application.useCases.GetPostsUseCase uses src.post.domain.specifications.IPostRepository, so a change to src.post.domain.specifications.IPostRepository can break src.post.application.useCases.GetPostsUseCase, while a change to src.post.application.useCases.GetPostsUseCase can't break src.post.domain.specifications.IPostRepository.
- Position
- Below the diagonal: src.post.application.useCases.GetPostsUseCase uses a module listed above it, which is the healthy direction.
32→6 src.post.infrastructure.implementations.PostRepository uses src.core.domain.specifications.IHttpClient✕
- Connections
- 1 pair of types, where a type in src.post.infrastructure.implementations.PostRepository uses a type in src.core.domain.specifications.IHttpClient.
- The types involved
src.post.infrastructure.implementations.PostRepository.PostRepository→src.core.domain.specifications.IHttpClient.IHttpClient
- Direction
- src.post.infrastructure.implementations.PostRepository uses src.core.domain.specifications.IHttpClient, so a change to src.core.domain.specifications.IHttpClient can break src.post.infrastructure.implementations.PostRepository, while a change to src.post.infrastructure.implementations.PostRepository can't break src.core.domain.specifications.IHttpClient.
- Position
- Below the diagonal: src.post.infrastructure.implementations.PostRepository uses a module listed above it, which is the healthy direction.
32→21 src.post.infrastructure.implementations.PostRepository uses src.post.application.types.GetPostsPayload✕
- Connections
- 1 pair of types, where a type in src.post.infrastructure.implementations.PostRepository uses a type in src.post.application.types.GetPostsPayload.
- The types involved
src.post.infrastructure.implementations.PostRepository.PostRepository→src.post.application.types.GetPostsPayload.GetPostsPayload
- Direction
- src.post.infrastructure.implementations.PostRepository uses src.post.application.types.GetPostsPayload, so a change to src.post.application.types.GetPostsPayload can break src.post.infrastructure.implementations.PostRepository, while a change to src.post.infrastructure.implementations.PostRepository can't break src.post.application.types.GetPostsPayload.
- Position
- Below the diagonal: src.post.infrastructure.implementations.PostRepository uses a module listed above it, which is the healthy direction.
32→22 src.post.infrastructure.implementations.PostRepository uses src.post.application.types.GetPostsResponse✕
- Connections
- 1 pair of types, where a type in src.post.infrastructure.implementations.PostRepository uses a type in src.post.application.types.GetPostsResponse.
- The types involved
src.post.infrastructure.implementations.PostRepository.PostRepository→src.post.application.types.GetPostsResponse.GetPostsResponse
- Direction
- src.post.infrastructure.implementations.PostRepository uses src.post.application.types.GetPostsResponse, so a change to src.post.application.types.GetPostsResponse can break src.post.infrastructure.implementations.PostRepository, while a change to src.post.infrastructure.implementations.PostRepository can't break src.post.application.types.GetPostsResponse.
- Position
- Below the diagonal: src.post.infrastructure.implementations.PostRepository uses a module listed above it, which is the healthy direction.
32→24 src.post.infrastructure.implementations.PostRepository uses src.post.domain.specifications.IPostRepository✕
- Connections
- 1 pair of types, where a type in src.post.infrastructure.implementations.PostRepository uses a type in src.post.domain.specifications.IPostRepository.
- The types involved
src.post.infrastructure.implementations.PostRepository.PostRepository→src.post.domain.specifications.IPostRepository.IPostRepository
- Direction
- src.post.infrastructure.implementations.PostRepository uses src.post.domain.specifications.IPostRepository, so a change to src.post.domain.specifications.IPostRepository can break src.post.infrastructure.implementations.PostRepository, while a change to src.post.infrastructure.implementations.PostRepository can't break src.post.domain.specifications.IPostRepository.
- Position
- Below the diagonal: src.post.infrastructure.implementations.PostRepository uses a module listed above it, which is the healthy direction.
33→7 src.post.infrastructure.models.GetPostsQuery uses src.core.infrastructure.models.PayloadDto✕
- Connections
- 1 pair of types, where a type in src.post.infrastructure.models.GetPostsQuery uses a type in src.core.infrastructure.models.PayloadDto.
- The types involved
src.post.infrastructure.models.GetPostsQuery.GetPostsQuery→src.core.infrastructure.models.PayloadDto.PayloadDto
- Direction
- src.post.infrastructure.models.GetPostsQuery uses src.core.infrastructure.models.PayloadDto, so a change to src.core.infrastructure.models.PayloadDto can break src.post.infrastructure.models.GetPostsQuery, while a change to src.post.infrastructure.models.GetPostsQuery can't break src.core.infrastructure.models.PayloadDto.
- Position
- Below the diagonal: src.post.infrastructure.models.GetPostsQuery uses a module listed above it, which is the healthy direction.
33→21 src.post.infrastructure.models.GetPostsQuery uses src.post.application.types.GetPostsPayload✕
- Connections
- 1 pair of types, where a type in src.post.infrastructure.models.GetPostsQuery uses a type in src.post.application.types.GetPostsPayload.
- The types involved
src.post.infrastructure.models.GetPostsQuery.GetPostsQuery→src.post.application.types.GetPostsPayload.GetPostsPayload
- Direction
- src.post.infrastructure.models.GetPostsQuery uses src.post.application.types.GetPostsPayload, so a change to src.post.application.types.GetPostsPayload can break src.post.infrastructure.models.GetPostsQuery, while a change to src.post.infrastructure.models.GetPostsQuery can't break src.post.application.types.GetPostsPayload.
- Position
- Below the diagonal: src.post.infrastructure.models.GetPostsQuery uses a module listed above it, which is the healthy direction.
34→8 src.post.infrastructure.models.PostDto uses src.core.infrastructure.models.ResponseDto✕
- Connections
- 1 pair of types, where a type in src.post.infrastructure.models.PostDto uses a type in src.core.infrastructure.models.ResponseDto.
- The types involved
src.post.infrastructure.models.PostDto.PostDto→src.core.infrastructure.models.ResponseDto.ResponseDto
- Direction
- src.post.infrastructure.models.PostDto uses src.core.infrastructure.models.ResponseDto, so a change to src.core.infrastructure.models.ResponseDto can break src.post.infrastructure.models.PostDto, while a change to src.post.infrastructure.models.PostDto can't break src.core.infrastructure.models.ResponseDto.
- Position
- Below the diagonal: src.post.infrastructure.models.PostDto uses a module listed above it, which is the healthy direction.
35→23 src.post.presentation.components.PostItem uses src.post.domain.entities.PostEntity✕
- Connections
- 1 pair of types, where a type in src.post.presentation.components.PostItem uses a type in src.post.domain.entities.PostEntity.
- The types involved
src.post.presentation.components.PostItem.PostItemProps→src.post.domain.entities.PostEntity.PostEntity
- Direction
- src.post.presentation.components.PostItem uses src.post.domain.entities.PostEntity, so a change to src.post.domain.entities.PostEntity can break src.post.presentation.components.PostItem, while a change to src.post.presentation.components.PostItem can't break src.post.domain.entities.PostEntity.
- Position
- Below the diagonal: src.post.presentation.components.PostItem uses a module listed above it, which is the healthy direction.
36→35 src.post.presentation.components uses src.post.presentation.components.PostItem✕
- Connections
- 1 pair of types, where a type in src.post.presentation.components uses a type in src.post.presentation.components.PostItem.
- The types involved
src.post.presentation.components.PostItem→src.post.presentation.components.PostItem.PostItemProps
- Direction
- src.post.presentation.components uses src.post.presentation.components.PostItem, so a change to src.post.presentation.components.PostItem can break src.post.presentation.components, while a change to src.post.presentation.components can't break src.post.presentation.components.PostItem.
- Position
- Below the diagonal: src.post.presentation.components uses a module listed above it, which is the healthy direction.
37→25 src.post.presentation.stores.FindPostStore.FindPostStore uses src.post.presentation.types.FindPostStoreState✕
- Connections
- 1 pair of types, where a type in src.post.presentation.stores.FindPostStore.FindPostStore uses a type in src.post.presentation.types.FindPostStoreState.
- The types involved
src.post.presentation.stores.FindPostStore.FindPostStore.FindPostStore→src.post.presentation.types.FindPostStoreState.FindPostStoreState
- Direction
- src.post.presentation.stores.FindPostStore.FindPostStore uses src.post.presentation.types.FindPostStoreState, so a change to src.post.presentation.types.FindPostStoreState can break src.post.presentation.stores.FindPostStore.FindPostStore, while a change to src.post.presentation.stores.FindPostStore.FindPostStore can't break src.post.presentation.types.FindPostStoreState.
- Position
- Below the diagonal: src.post.presentation.stores.FindPostStore.FindPostStore uses a module listed above it, which is the healthy direction.
37→30 src.post.presentation.stores.FindPostStore.FindPostStore uses src.post.application.useCases.FindPostUseCase✕
- Connections
- 1 pair of types, where a type in src.post.presentation.stores.FindPostStore.FindPostStore uses a type in src.post.application.useCases.FindPostUseCase.
- The types involved
src.post.presentation.stores.FindPostStore.FindPostStore.FindPostStore→src.post.application.useCases.FindPostUseCase.FindPostUseCase
- Direction
- src.post.presentation.stores.FindPostStore.FindPostStore uses src.post.application.useCases.FindPostUseCase, so a change to src.post.application.useCases.FindPostUseCase can break src.post.presentation.stores.FindPostStore.FindPostStore, while a change to src.post.presentation.stores.FindPostStore.FindPostStore can't break src.post.application.useCases.FindPostUseCase.
- Position
- Below the diagonal: src.post.presentation.stores.FindPostStore.FindPostStore uses a module listed above it, which is the healthy direction.
38→19 src.post.presentation.stores.GetPostsStore.GetPostsStore uses src.core.presentation.services.ToastService✕
- Connections
- 1 pair of types, where a type in src.post.presentation.stores.GetPostsStore.GetPostsStore uses a type in src.core.presentation.services.ToastService.
- The types involved
src.post.presentation.stores.GetPostsStore.GetPostsStore.GetPostsStore→src.core.presentation.services.ToastService.ToastService
- Direction
- src.post.presentation.stores.GetPostsStore.GetPostsStore uses src.core.presentation.services.ToastService, so a change to src.core.presentation.services.ToastService can break src.post.presentation.stores.GetPostsStore.GetPostsStore, while a change to src.post.presentation.stores.GetPostsStore.GetPostsStore can't break src.core.presentation.services.ToastService.
- Position
- Below the diagonal: src.post.presentation.stores.GetPostsStore.GetPostsStore uses a module listed above it, which is the healthy direction.
38→26 src.post.presentation.stores.GetPostsStore.GetPostsStore uses src.post.presentation.types.GetPostsStoreState✕
- Connections
- 1 pair of types, where a type in src.post.presentation.stores.GetPostsStore.GetPostsStore uses a type in src.post.presentation.types.GetPostsStoreState.
- The types involved
src.post.presentation.stores.GetPostsStore.GetPostsStore.GetPostsStore→src.post.presentation.types.GetPostsStoreState.GetPostsStoreState
- Direction
- src.post.presentation.stores.GetPostsStore.GetPostsStore uses src.post.presentation.types.GetPostsStoreState, so a change to src.post.presentation.types.GetPostsStoreState can break src.post.presentation.stores.GetPostsStore.GetPostsStore, while a change to src.post.presentation.stores.GetPostsStore.GetPostsStore can't break src.post.presentation.types.GetPostsStoreState.
- Position
- Below the diagonal: src.post.presentation.stores.GetPostsStore.GetPostsStore uses a module listed above it, which is the healthy direction.
38→31 src.post.presentation.stores.GetPostsStore.GetPostsStore uses src.post.application.useCases.GetPostsUseCase✕
- Connections
- 1 pair of types, where a type in src.post.presentation.stores.GetPostsStore.GetPostsStore uses a type in src.post.application.useCases.GetPostsUseCase.
- The types involved
src.post.presentation.stores.GetPostsStore.GetPostsStore.GetPostsStore→src.post.application.useCases.GetPostsUseCase.GetPostsUseCase
- Direction
- src.post.presentation.stores.GetPostsStore.GetPostsStore uses src.post.application.useCases.GetPostsUseCase, so a change to src.post.application.useCases.GetPostsUseCase can break src.post.presentation.stores.GetPostsStore.GetPostsStore, while a change to src.post.presentation.stores.GetPostsStore.GetPostsStore can't break src.post.application.useCases.GetPostsUseCase.
- Position
- Below the diagonal: src.post.presentation.stores.GetPostsStore.GetPostsStore uses a module listed above it, which is the healthy direction.
39→37 src.post.presentation.stores.FindPostStore uses src.post.presentation.stores.FindPostStore.FindPostStore✕
- Connections
- 1 pair of types, where a type in src.post.presentation.stores.FindPostStore uses a type in src.post.presentation.stores.FindPostStore.FindPostStore.
- The types involved
src.post.presentation.stores.FindPostStore.useFindPostStore→src.post.presentation.stores.FindPostStore.FindPostStore.FindPostStore
- Direction
- src.post.presentation.stores.FindPostStore uses src.post.presentation.stores.FindPostStore.FindPostStore, so a change to src.post.presentation.stores.FindPostStore.FindPostStore can break src.post.presentation.stores.FindPostStore, while a change to src.post.presentation.stores.FindPostStore can't break src.post.presentation.stores.FindPostStore.FindPostStore.
- Position
- Below the diagonal: src.post.presentation.stores.FindPostStore uses a module listed above it, which is the healthy direction.
40→38 src.post.presentation.stores.GetPostsStore uses src.post.presentation.stores.GetPostsStore.GetPostsStore✕
- Connections
- 1 pair of types, where a type in src.post.presentation.stores.GetPostsStore uses a type in src.post.presentation.stores.GetPostsStore.GetPostsStore.
- The types involved
src.post.presentation.stores.GetPostsStore.useGetPostsStore→src.post.presentation.stores.GetPostsStore.GetPostsStore.GetPostsStore
- Direction
- src.post.presentation.stores.GetPostsStore uses src.post.presentation.stores.GetPostsStore.GetPostsStore, so a change to src.post.presentation.stores.GetPostsStore.GetPostsStore can break src.post.presentation.stores.GetPostsStore, while a change to src.post.presentation.stores.GetPostsStore can't break src.post.presentation.stores.GetPostsStore.GetPostsStore.
- Position
- Below the diagonal: src.post.presentation.stores.GetPostsStore 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 — Accessibility
At a glance — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 32 | High / Critical |
Roadmap
Top priorities: Resolve the 1 No automated tests finding(s) in Code Coverage; Resolve the 1 No tests found finding(s) in Test Distribution; Add a CI workflow that builds and runs the test suite on every push/PR.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 No tests found finding(s) in Test Distribution. | +14.4 pts | Low | Test Distribution |
| Resolve the 1 No automated tests finding(s) in Code Coverage. | +14.4 pts | High | Code Coverage |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +4.4 pts | Medium | CI/CD gates |
| Add tests that import the unreached modules (directly or through their public entry). | +4.4 pts | Medium | Test Coverage |
| Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href. | +3.5 pts | Medium | Keyboard semantics |
| Add a test runner (vitest / jest / playwright) and `tsc --noEmit` as package.json scripts and run them in CI. | +2.6 pts | Medium | Tooling |
| Keep the ORM/table mapping on a boundary data-model + mapper; leave the domain entity framework-free (map row↔domain through a repository). | +2.6 pts | Medium | Domain ↔ infrastructure boundary |
| Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1. | +2.4 pts | Medium | Visual & motion safety |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| src/core/infrastructure/implementations/HttpClient.ts | 7.3 | Mixed | Explicit Debt: TodoComment |
| src/core/presentation/components/Button.tsx | 8.5 | Near-clean | Cyclomatic Complexity: Button.Button (cyclomatic 18) |
| package.json | 8.5 | Near-clean | Dependency Hygiene: Deprecated: eslint |
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
This survey 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. All 69 evaluated dimensions are computed by tools and static analysis; no language model sets or judges any of them. Overall confidence is 0.8, the weighted average across measured dimensions.
What we checked — 69 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, 83 of 95 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 or a scanner, 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 |
| Canine Code Analyzer duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
Run transparency — what happened this run
- D12 Dependency Hygiene — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This repository's dependency manifests WERE read and their pinning discipline assessed; what went unanswered is the currency half, because registry.npmjs.org — the registry that answers it — was asked and did not reply (registry returned 429). This is OUR side and it is an ENVIRONMENT fault, not a missing collector: the collector exists and ran. An HTTP 403 here is what this scan's egress allowlist returns for a host that is not on it, so the remedy is to add registry.npmjs.org to the allowlist and re-run — not to build anything.
- D15 Churn × Complexity Hotspots — measured, with a gap in what it reached — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Git history depth insufficient — this repository has 9 commit(s), too few for a reliable trend signal. The clone is complete, so there is no deeper history to fetch: the signal returns as the project accumulates history.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-contributor repository — bus factor is not applicable (1 contributor(s) across 9 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.
- D21 Naming Consistency — not measured this run — We 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. PREREGISTRATION version 20's fallback (adjudication D21-sample3-v3): this rule kind was adjudicated below the 95 % precision gate, so its candidates are counted here and not published, and the score covers only the acronym-spelling and awaitable-suffix rules. The kind returns as rows only after it shows a measured precision; this says nothing about whether these names are consistent.
- D22 Internal API Consistency — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published package.json's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
- D34 Knowledge Freshness — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Too few commits to judge knowledge freshness (9 commit(s) sampled).
- D35 Change Coupling — measured, with a gap in what it reached — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Git history depth insufficient — this repository has 9 commit(s), too few for a reliable change-coupling signal. The clone is complete, so there is no deeper history to fetch: the signal returns as the project accumulates history.
- AXB2 Runtime readiness — not measured this run — We 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. A program the dev server needs is not installed in our sandbox image. This is a limit of our sandbox, not of your repository. (rule: missing-tool). The renderer reported: the dev server (`npm run dev`) exited before it served a page. Likely cause (our sandbox): a program the dev server needs is not installed in our sandbox image. This is a limit of our sandbox, not of your repository. Last output: "at onErrorNT (node:internal/child_process:483:16) / at process.processTicksAndRejections (node:internal/process/task_queues:90:21) / Emitted 'error' event on ChildProcess instance at: / at ChildProcess._handle.onexit (node:internal/child_process:291:12) / at onErrorNT (node:internal/child_process:483:16) / at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { / errno: -2, / code: 'ENOENT', / syscall: 'spawn xdg-open', / path: 'xdg-open', / spawnargs: [ 'http://localhost:5173/' ] / } / Node.js v22.13.0" No runtime evidence was gathered.
- AXR1 Runtime accessibility — not measured this run — We could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DevServer (dev). the dev server (`npm run dev`) exited before it served a page. Likely cause (our sandbox): a program the dev server needs is not installed in our sandbox image. This is a limit of our sandbox, not of your repository. Last output: "at onErrorNT (node:internal/child_process:483:16) / at process.processTicksAndRejections (node:internal/process/task_queues:90:21) / Emitted 'error' event on ChildProcess instance at: / at ChildProcess._handle.onexit (node:internal/child_process:291:12) / at onErrorNT (node:internal/child_process:483:16) / at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { / errno: -2, / code: 'ENOENT', / syscall: 'spawn xdg-open', / path: 'xdg-open', / spawnargs: [ 'http://localhost:5173/' ] / } / Node.js v22.13.0" No runtime evidence was gathered.
- DM9 Scattered domain decisions — measured, with a gap in what it reached — We measured this, but not all of it. What we 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.
- P5 DR & Backup — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. No backup/snapshot/replication config, RTO/RPO or restore-procedure documentation was found — and no production persistence was detected either (no data-access packages, no data-store services, no database resources), so there is nothing in this repository whose loss a DR control would recover. If this system's data lives in a platform or ops repo we can't see, that's where the DR evidence belongs.
- S1 Web-Security Posture — not measured this run — We 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. 67 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled certificate validation, obsolete TLS versions, plaintext password storage and session cookies set without HttpOnly, Secure or SameSite, 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 — We 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, got, undici, node:http; 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 — We 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 make no call through a named logger, 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
We assess the repository exactly as committed, and only the repository. By design we do 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.
- D8 Code Coverage: Coverage is measured by building and running the test suite inside our isolated image — the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality publishes two things only: a runnable or packaged unit with no example, and a multi-project root README that maps none of its parts. It does not judge clarity, and its other checks (overview, licence, boilerplate, structure, empty sections, XML-doc coverage) are withheld after adjudication: their candidates are counted in the card's gaps, not shown as rows. A false statement in a document is M4's; units are .NET projects only.
- D20 ADR Quality: ADR quality checks the structure of the decision records present: it cannot know about decisions made and never recorded, and it does not judge how well a record argues its case. Records in a language the section lexicon does not cover are not evaluated.
- D23 Boundary Type-Coupling: Boundary leakage is detected from type references across detected contexts — leaks that flow through primitives, serialization or shared infrastructure may not surface as a typed reference.
- 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.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- AC4 Keyboard semantics: Keyboard semantics are inferred from markup attributes — interactivity wired purely in script, focus managed at runtime, and component-level handlers are invisible. A clean result means "no static keyboard-trap shape", not a keyboard-operability proof.
- AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
Dimensions
D1 · Cyclomatic Complexity
1 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was Button.Button at 18.
What to do
- Bring the 1 body over 15 down to 15 or less in Cyclomatic Complexity — start with Button.Button (cyclomatic 18). — Refactoring it lifts Cyclomatic Complexity from 9.7 to about 10.0/10.
- Stand up a CI pipeline, then gate Cyclomatic Complexity in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D6 · Cohesion (LCOM4)
0 of 2 classes have LCOM4 above 3.
D8 · Code Coverage
No automated tests — no test code was found in this repository.
What to do
- Resolve the 1 No automated tests finding(s) in Code Coverage. — One of this dimension's main actionable groups (1 issue-level).
- Stand up a CI pipeline, then gate Code Coverage in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
No test suite found.
What to do
- Resolve the 1 No tests found finding(s) in Test Distribution. — One of this dimension's main actionable groups (1 recommendation-level).
D13 · Secret Scanning
Secret scan ran and found no leaked secrets.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
2 deducted task-comment markers across 1372 LoC (0.1/KLoC) → score 9.9. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 2 TodoComment finding(s) in Explicit Debt — start with HttpClient.ts (2). — One of this dimension's main actionable groups (2 warning-level).
- Stand up a CI pipeline, then gate Explicit Debt in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
1 of 1 documentation facets pass in full. 1 document(s) read across 1 unit(s).
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).
D23 · Boundary Type-Coupling
No domain types leak across context boundaries (2 contexts). Contexts: core, post.
D26 · Project Cohesion
0 of 1 build units (npm) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
semgrep found no security issues.
D30 · Dependency Vulnerabilities
32 finding(s): 1 critical, 19 high, 10 medium, 2 low.
What to do
- Resolve the 19 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (19). — One of this dimension's main actionable groups (19 issue-level).
- Resolve the 9 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (9). — One of this dimension's main actionable groups (9 warning-level).
- Resolve the 1 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-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 20 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
AC2 · Forms & labels
- This <label> has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association — it is the TARGET of one, so a control still has to point at it. Give the label htmlFor="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id. (×4) — src/core/presentation/components/NumberInput.tsx:30, src/core/presentation/components/Select.tsx:18, src/core/presentation/components/Switch.tsx:20, …
What to do
- Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
AC3 · Page structure
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. This document's body is only the mount point <div id="root">, so there is no content here to wrap — render the <main> from the component mounted into it. — index.html:2
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC4 · Keyboard semantics
- This <div> binds mouse-enter and mouse-leave and nothing else — no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}="0" so the element can receive that focus. — src/core/presentation/components/Tooltip.tsx:22
- A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabIndex={0} + a key handler. — src/post/presentation/components/PostItem.tsx:16
What to do
- Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC5 · ARIA correctness
AC6 · Visual & motion safety
- <input> takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2). (×2) — src/core/presentation/components/NumberInput.tsx:43, src/core/presentation/components/TextInput.tsx:42
- <select> takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2). — src/core/presentation/components/Select.tsx:26
- This element's Tailwind text/background colour utilities fall below the 4.5:1 WCAG AA minimum for normal text. Pick a darker or lighter shade. — src/core/presentation/components/Select.tsx:26
- <button> takes keyboard focus, and its outline-none utility removes the focus ring with no focus-state ring, shadow, border or outline utility in its place. Add one (e.g. focus-visible:ring-2). — src/core/presentation/components/Tabs.tsx:23
What to do
- Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
AC7 · A11y enforcement
- No accessibility enforcement found — no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 25 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here. — package.json:34
What to do
- Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y, then assert with your test runner's axe binding (jest-axe, vitest-axe, cypress-axe or @axe-core/playwright) in tests, then gate axe/pa11y/Lighthouse in CI.
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
DM6 · Domain ↔ infrastructure boundary
- `src/core/domain/specifications/IHttpClient.ts` (domain layer) depends on `axios` (import) — a HTTP module; the domain should own a port and let an infrastructure adapter implement it. — src/core/domain/specifications/IHttpClient.ts:1
What to do
- Keep the ORM/table mapping on a boundary data-model + mapper; leave the domain entity framework-free (map row↔domain through a repository).
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
What to do
- Start a test surface where your build system looks for one (tests/, test/, spec/, or your ecosystem's test source set) — the separation follows from putting the first tests in the right place.
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
- `package.json` declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices — including after an advisory is published against it. Add a `.github/dependabot.yml` with one `package-ecosystem` entry per ecosystem the tree uses (or an enabled `renovate.json`), and gate pull requests with `actions/dependency-review-action`. — package.json:12
What to do
- Run what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
PF3 · Async & latency hygiene
R1 · Type Safety
R10 · Code Duplication
- src/core/presentation/components/NumberInput.tsx:14 · src/core/presentation/components/TextInput.tsx:13 — the two spans are one implementation copied and then locally edited — 247 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/presentation/components/NumberInput.tsx:14
- src/core/presentation/components/Select.tsx:9 · src/core/presentation/components/TextInput.tsx:10 — the two spans are one implementation copied and then locally edited — 154 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/presentation/components/Select.tsx:9
- src/core/presentation/components/NumberInput.tsx:67 · src/core/presentation/components/Select.tsx:51 · src/core/presentation/components/Switch.tsx:33 · src/core/presentation/components/TextInput.tsx:62 — the 4 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — src/core/presentation/components/NumberInput.tsx:67
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/core/presentation/components/IconButton.tsx:3 imports react-icons/lib, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — src/core/presentation/components/IconButton.tsx:3
- src/core/presentation/components/Tabs.tsx:4 imports react-icons/lib, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — src/core/presentation/components/Tabs.tsx:4
What to do
- Fix the listed violations: import through public entries (package exports / slice index), never reach into another layer or package's internals.
R2 · Cyclomatic Complexity
- Button has cyclomatic complexity 18 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/core/presentation/components/Button.tsx:13
- IconButton has cyclomatic complexity 12 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/core/presentation/components/IconButton.tsx:14
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
R4 · Test Coverage
- 0% of 55 production file(s) reachable from 0 test file(s) via the import graph — 'production' here is the RESIDUE: every source file left once tests, tooling, generated output, config, declarations and declaration-only modules, fixture corpora, type fixtures, behaviour-free data modules, re-export barrels, registration/constant data modules and service workers are set aside, so the percentage is taken over a smaller denominator than the workspace's file count
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R6 · Tooling
- test ✗ · lint ✓ · typecheck ✗ — read from this repository's package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: `test` for the suite, `lint` or `prettier` for linting, `typecheck`/`type-check`/`tsc` for type checking. ✗ therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline — a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A ✓ means the wiring is DECLARED — a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite.
What to do
- Add a test runner (vitest / jest / playwright) and `tsc --noEmit` as package.json scripts and run them in CI.
R7 · Dead Code
- Unreachable from the 3 application, 5 tooling and 0 test entry point(s) detected in this repo. Gate removals on `yarn run build` — an undetected custom entry would make these reachable.
- no import path from any entry point (3 application, 5 tooling, 0 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 (×18) — src/core/presentation/components/NumberInput.tsx, src/core/presentation/components/TextInput.tsx, src/core/presentation/components/Select.tsx, …
- no import path from any entry point (3 application, 5 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/post/infrastructure/models/GetPostsQuery.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/core/infrastructure/models/PayloadDto.ts
- no import path from any entry point (3 application, 5 tooling, 0 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (src/core/presentation/components/Dialog.tsx) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it — src/core/presentation/types/BaseDialogProps.ts
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene
- Declared in the root package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×3)
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
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
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. — src/post/presentation/stores/FindPostStore/FindPostStore.ts:31
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- ~3.7 `!` null assertions per 1k TypeScript source lines — 6 assertion(s) across the 1631 source line(s) of the 67 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/post/infrastructure/models/PostDto.ts (4), src/post/infrastructure/models/GetPostsQuery.ts (2). 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 `?`).
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| AC4 · Keyboard semantics | 2.1.1, 2.4.3 | Partial signal |
| AC5 · ARIA correctness | 4.1.2 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 57% | Adequate — gated by R7, X3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 69% | Adequate | Acceptable, with room to improve. |
| Maturity | 70% | Strong | Solid. |
| Readiness | 14% | Critical — gated by D8, D9, R4, R6, P1, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 100% | Exemplary | Strongest area. |
| Domain Modelling | 50% | Adequate | Acceptable, with room to improve. |
| Accessibility | 33% | Weak — gated by AC4, AC6 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 100% | Exemplary | Solid. |
Unscored — 2 check(s) recorded observations but carry no score
- D12 Dependency Hygiene — 10 observation(s) recorded · Dependency currency not established — registry.npmjs.org did not answer
- X10 Duplicated predicate — 5 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 3 control(s) we could not find positive evidence for
- P4 Deployment & Rollback — not evidenced — no deploy/rollback/approval signal in the repo; absence of evidence is not evidence of a manual release
- P5 DR & Backup — not evidenced — repo shows no backup/RTO/RPO controls; absence of evidence is not evidence of a working control
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 65 check(s) not relevant to this codebase
- AC1 Text alternatives — No image/media element found in the parsed markup — AC1 not applicable here.
- AX1 Captive dependencies — Not applicable: this repository's TypeScript imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — the dev server (`npm run dev`) exited before it served a page. Likely cause (our sandbox): a program the dev server needs is not installed in our sandbox image. This is a limit of our sandbox, not of your repository. Last output: "at onErrorNT (node:internal/child_process:483:16) / at process.processTicksAndRejections (node:internal/process/task_queues:90:21) / Emitted 'error' event on ChildProcess instance at: / at ChildProcess._handle.onexit (node:internal/child_process:291:12) / at onErrorNT (node:internal/child_process:483:16) / at process.processTicksAndRejections (node:internal/process/task_queues:90:21) { / errno: -2, / code: 'ENOENT', / syscall: 'spawn xdg-open', / path: 'xdg-open', / spawnargs: [ 'http://localhost:5173/' ] / } / Node.js v22.13.0" No runtime evidence was gathered. This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no data at rest for these controls to protect. If it does persist personal data (through a hosted backend configured outside this repository, for instance), the controls belong to wherever that data is stored.
- C2 Access Controls — No access-control surface detected in the analyzed source — this repository stands up no server (no Express, Fastify, Koa, Hono, NestJS or similar app, no Next.js/SvelteKit/Nuxt server route, no edge function), creates no Supabase tables and talks to no hosted backend. Access control is therefore N/A here — a browser application or library is authorized by the server it calls, not by itself; a client-side route guard hides a page and authorizes nothing. If this codebase grows request handlers, the dimension reactivates and a default-deny posture is expected then.
- C3 Audit Trail — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no sensitive data whose changes an audit trail would record. If it does (through a hosted backend configured outside this repository, for instance), the trail belongs to wherever that data is stored.
- C4 Data Retention — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no personal data whose lifetime a retention limit would bound. If it does (through a hosted backend configured outside this repository, for instance), the limit belongs wherever that data is stored.
- C5 Data-Subject Rights — No personal data detected in a persisted data model — no PII-named field (email, firstName, dateOfBirth, phoneNumber, …) or stored credential on a TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entity, a Mongoose schema, a Sequelize or Drizzle table, a Knex migration or a Prisma model — and no database or data-store client in the source either, so this repository keeps no personal data for a data subject to erase, export or consent over. If it does (through a hosted backend configured outside this repository, for instance), the rights are served wherever that data is stored.
- D10 Test Quality — No tests were found in the analyzed repository to assess for quality.
- D11 Test Reliability — No test suite was found to re-run, so reliability couldn't be assessed. Two searches produced that zero and both came back empty: the classifier that reads the loaded workspace recognised no suite it could run, and a walk of the source on disk — which covers the JS/TS `*.test.*` and `*.spec.*` conventions and probes for a Pester suite — found no test source in any other ecosystem either. Neither search reaches a suite that is missing from the loaded workspace and carries no name either walk recognises, so this is 'no suite found by those two searches', not a verdict that the repository has none.
- D14 License Compliance — Not scored — this repository's 51 shipped npm package(s) were resolved from its committed lockfile, but registry.npmjs.org could not be asked for the licence of 6 of them (registry returned 429), and a licence verdict over part of a dependency graph is not a licence verdict. Nothing is asserted about this repository's licensing in either direction.
- 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.
- D21 Naming Consistency — D21 withholds its case and prefix conventions rows: 1 candidate(s) found and not reported.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D24 Comment Value — Too few judgeable comments (1 of at least 30); comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — symbol resolution incomplete — navigability not assessed
- D31 IaC & Container Security — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D34 Knowledge Freshness — too few commits to judge knowledge freshness
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.ts, .tsx) 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
- 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 none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- M4 Documentation accuracy — Not applicable: the 1 current-state document(s) make no claim of a kind M4 checks. 4 claim(s) of kinds M4 does not check were not checked (command argument 4); M4 checks only links and versions and artefact counts.
- P12 CI test-gate honesty — no CI workflow found
- P2 Observability — This repository's JavaScript/TypeScript source (1 module(s), 67 file(s) read) declares no entry point and bootstraps no server, and nothing here deploys a service — it is a library, run inside whatever hosts it, so production observability (structured logging, tracing/metrics, health checks) is N/A. If it grows a binary or a service, the dimension reactivates.
- P7 Outbound HTTP resilience — not applicable — no HTTP server, API framework or worker entry point was found in the JavaScript/TypeScript source, so there is no service whose uptime a failing dependency could take down
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a package.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not scored: this check counted allocation-aware idioms (Span, pools, stackalloc) per line, which describes what kind of code a repository is rather than whether it has an allocation problem, so it was withdrawn. Nothing here is a finding about your code.
- R5 Dependency Freshness — uses a yarn lockfile — dependency freshness not measured here; JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
- S1 Web-Security Posture — Not assessed: 67 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled TLS certificate validation, obsolete TLS versions, passwords stored or checked as plaintext and session cookies set without HttpOnly, Secure or SameSite, 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. Of the server controls, two are read where the source shows them: every session or sign-in cookie the code sets is read for HttpOnly, Secure and SameSite at the line that sets it (a raw `Set-Cookie` header, Express, Fastify, Hono, Koa, Next.js, `cookie.serialize`, express-session and cookie-session), and every Node listener for HTTPS enforcement. HSTS, security response headers and 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.
- 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 — 28 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- <label> that labels no control src/core/presentation/components/NumberInput.tsx:30
- <label> that labels no control src/core/presentation/components/Select.tsx:18
- <label> that labels no control src/core/presentation/components/Switch.tsx:20
- <label> that labels no control src/core/presentation/components/TextInput.tsx:29
- Hover-only interaction on <div> src/core/presentation/components/Tooltip.tsx:22
- Click handler on a non-interactive <div> src/post/presentation/components/PostItem.tsx:16
- REDACTED
- No automated tests
- Domain depends on infrastructure: IHttpClient src/core/domain/specifications/IHttpClient.ts:1
Serious — 54 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Focus outline removed inline src/core/presentation/components/NumberInput.tsx:43
- Focus outline removed inline src/core/presentation/components/Select.tsx:26
- Focus outline removed inline src/core/presentation/components/Tabs.tsx:23
- Focus outline removed inline src/core/presentation/components/TextInput.tsx:42
- TodoComment src/core/infrastructure/implementations/HttpClient.ts:16
- TodoComment src/core/infrastructure/implementations/HttpClient.ts:24
- Boundary violation [package:third-party-deep-import] src/core/presentation/components/IconButton.tsx:3
- Boundary violation [package:third-party-deep-import] src/core/presentation/components/Tabs.tsx:4
- Dead file (~19 LoC) src/core/infrastructure/models/PayloadDto.ts
- Dead file (~19 LoC) src/core/presentation/components/Separator.tsx
- Dead file (~5 LoC) src/core/presentation/types/BaseDialogProps.ts
- Dead file (~5 LoC) src/core/presentation/types/BaseFormProps.ts
- Page without a main landmark index.html:2
- Low contrast Tailwind colour pair (4.4:1) src/core/presentation/components/Select.tsx:26
- Accessibility enforcement below the top rung package.json:34
- Button.Button (cyclomatic 18) src/core/presentation/components/Button.tsx:13
- REDACTED
- No CI pipeline
- Duplicated block with local edits (58 matched lines × 2 locations) src/core/presentation/components/NumberInput.tsx:14
- Duplicated block with local edits (26 matched lines × 2 locations) src/core/presentation/components/Select.tsx:9
- Duplicated block (16 lines × 4 locations) src/core/presentation/components/NumberInput.tsx:67
- Complex function Button (cyclomatic 18, cognitive 14) src/core/presentation/components/Button.tsx:13
- Complex function IconButton (cyclomatic 12, cognitive 9) src/core/presentation/components/IconButton.tsx:14
- Test Coverage
- No test or typecheck script
- Dead file (~85 LoC) src/core/presentation/components/NumberInput.tsx
- Dead file (~80 LoC) src/core/presentation/components/TextInput.tsx
- Dead file (~69 LoC) src/core/presentation/components/Select.tsx
- Dead file (~59 LoC) src/core/presentation/components/Dialog.tsx
- Dead file (~57 LoC) src/core/presentation/components/Tooltip.tsx
- Dead file (~51 LoC) src/core/presentation/components/Switch.tsx
- Dead file (~50 LoC) src/core/presentation/components/Tabs.tsx
- Dead file (~45 LoC) src/core/presentation/components/IconButton.tsx
- Dead file (~29 LoC) src/core/presentation/hooks/useLocaleOptions.ts
- Dead file (~25 LoC) src/core/presentation/components/Card.tsx
- Dead file (~18 LoC) src/post/infrastructure/models/GetPostsQuery.ts
- Dead file (~16 LoC) src/core/presentation/components/EmptyList.tsx
- Dead file (~11 LoC) src/core/presentation/hooks/useEffectOnce.ts
- Dead file (~7 LoC) src/core/presentation/utils/getObjectFieldErrorMessage.ts
- Dead file (~6 LoC) src/core/presentation/types/ToastType.ts
- Dead file (~4 LoC) src/core/presentation/types/DialogState.ts
- Unused dependency '@hookform/resolvers'
- Unused dependency 'react-hook-form'
- Unused dependency 'reflect-metadata'
- Swallowed exception (empty catch) src/post/presentation/stores/FindPostStore/FindPostStore.ts:31
Minor — 13 finding(s)
- Duplicated predicate src/core/presentation/components/NumberInput.tsx:72
- Duplicated predicate src/core/presentation/components/Button.tsx:34
- Duplicated predicate src/core/presentation/components/Button.tsx:33
- Duplicated predicate src/core/presentation/components/Button.tsx:35
- Duplicated predicate src/core/presentation/components/Button.tsx:36
- REDACTED
- REDACTED
- No ADRs found
- No tests found
- No ADRs
- No SAST
- No dependency-update automation package.json:12
- Null assertions (`!`) reduce the strict null checking score
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/canine-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-9303b6730ec34c31acd84f09b85d7e72/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/canine-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-9303b6730ec34c31acd84f09b85d7e72/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/canine-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off --exclude *.arrow --exclude *.avro --exclude *.csv --exclude *.dat --exclude *.db --exclude *.feather --exclude *.geojson --exclude *.h5 --exclude *.hdf5 --exclude *.jsonl --exclude *.log --exclude *.ndjson --exclude *.npy --exclude *.npz --exclude *.orc --exclude *.parquet --exclude *.pickle --exclude *.pkl --exclude *.psv --exclude *.sqlite --exclude *.sqlite3 --exclude *.tfrecord --exclude *.tsv --exclude *.txt . | 0 | 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 | 32 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy: not applicable — No Infrastructure-as-Code or container manifests found (Dockerfile, Docker Compose, Terraform, Kubernetes/Helm, CloudFormation, ARM, Bicep, Ansible); nothing to scan. | 0 | — |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | 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 |