Executive summary
sinanptm/clean-auth-template scores 46 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged. Watchdog judged it as a template, sample or demo, meant to be read or copied, so the dimensions about building, releasing and running a product don't apply, and its lenses are rated against a lower bar. The score itself is worked out as for any repository.
The weakest lens counts most in the score, and here that is Security and Compliance, which scores 39 and is rated Weak. Its Dependency Vulnerabilities dimension scores 0 out of 10, and until that reaches 4, Security and Compliance can't be rated higher than Adequate. The first actions are to strengthen data-at-rest protection: vault your keys (AWS KMS / Secrets Manager, Azure Key Vault, GCP KMS / Secret Manager, HashiCorp Vault) and encrypt the most sensitive columns (typeorm-encrypted, prisma-field-encryption, mongoose-field-encryption or MongoDB CSFLE) — partial coverage still leaves gaps and to resolve the 1 REDACTED finding(s) in Static Analysis (SAST), and if Security and Compliance rose to 70, the score would rise from 46 to about 52.
70 findings are critical: 39 in Dependency Vulnerabilities, 26 in Static Analysis (SAST), two in Circular Imports, one in Forms & labels, one in Page structure and one in Secret Scanning.
Watchdog couldn't measure 6 dimensions in this code, among them Internal API Consistency, Navigability and Platform End-of-Life, so they are left out of the score. The product code is 6,855 lines, which would take an estimated 0.1 person-years, around €8,300, to rebuild.
If Security and Compliance rose from 39 to 70, the lowest score rated Strong, the score would rise from 46 to about 52.
New since the last survey: 36 findings
- Dependency Hygiene · Deprecated: next REDACTED
- Dependency Hygiene · Deprecated: eslint REDACTED
- Secret Scanning · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Large Files · web/components/forms/elements/MultipleSelector.tsx: 673 lines of code web/components/forms/elements/MultipleSelector.tsx
- Visual & motion safety · Focus outline removed inline web/components/forms/elements/MultipleSelector.tsx
- Visual & motion safety · Focus outline removed inline web/components/forms/elements/MultipleSelector.tsx
- Visual & motion safety · Focus outline removed inline web/components/ui/input.tsx
- Visual & motion safety · Focus outline removed inline web/components/ui/textarea.tsx
Fixed since the last survey: 21 findings
- Dependency Vulnerabilities · Critical CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Critical CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Critical CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Critical CVE: [CVE redacted] REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: [CVE redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: [CVE redacted] REDACTED
- Supply-chain Provenance & Signing REDACTED
- Test Coverage · No test reaches this file web/hooks/store/useLoading.ts
- Test Coverage · No test reaches this file server/src/config/initConfig.ts
- Test Coverage · No test reaches this file web/types/api/PutRoutes.ts
- Test Coverage · No test reaches this file web/types/api/GetRoutes.ts
- Test Coverage · No test reaches this file web/types/api/PatchRoutes.ts
- Test Coverage · No test reaches this file web/types/api/DeleteRoutes.ts
- Test Coverage · No test reaches this file web/lib/fonts.ts
- Test Coverage · No test reaches this file web/constants/index.ts
- Test Coverage · No test reaches this file server/src/utils/generateOtp.ts
Rebuild cost: about €8,300 · Estimate
| Cost to rebuild | €2,800 to €14,000, for 46 to 146 hours of work, about 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 46. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 6,855 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 server.src.domain.interfaces.repositories.IOtpRepository | 2 server.src.domain.interfaces.repositories.IUserRepository | 3 server.src.domain.interfaces.services.IHashService | 4 server.src.domain.interfaces.services.IMailService | 5 server.src.domain.interfaces.services.IOAuthService | 6 server.src.domain.interfaces.services.IValidatorService | 7 server.src.types | 8 web.components.admin.UserTable | 9 web.hooks.api.admin.auth.useSignin | 10 web.types.props | 11 server.src.domain.entities.IOtp | 12 server.src.domain.entities.IUser | 13 server.src.domain.interfaces.services.ITokenService | 14 server.src.infrastructure.repositories.OtpRepository | 15 server.src.infrastructure.services.HashService | 16 server.src.infrastructure.services.MailService | 17 server.src.infrastructure.services.OAuthService | 18 server.src.use_case.admin.GetUsersUseCase | 19 server.src.use_case.user.GetProfileUseCase | 20 server.src.use_case.user.auth.ResetPasswordUseCase | 21 web.components.dialogs.LogoutConfirmDialog | 22 web.components.forms.elements | 23 web.components.user.auth.forgot-password | 24 server.src.infrastructure.repositories.UserRepository | 25 server.src.infrastructure.services.TokenService | 26 server.src.presentation.middlewares.AdminAuthMiddleware | 27 server.src.presentation.middlewares.UserAuthMiddleware | 28 server.src.use_case.admin.SigninUseCase | 29 server.src.use_case.admin.UpdateUserUseCase | 30 server.src.use_case.user.UpdateProfileUseCase | 31 server.src.use_case.user.auth.OAuthUseCase | 32 server.src.use_case.user.auth.SignupUseCase | 33 web.components.dialogs | 34 web.types.api | 35 server.src.presentation.controllers.admin.AdminConroller | 36 server.src.presentation.controllers.user.ProfileController | 37 server.src.use_case.user.auth.OtpUseCase | 38 server.src.use_case.user.auth.SigninUseCase | 39 web.lib | 40 server.src.presentation.controllers.user.AuthControllers |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 server.src.domain.interfaces.repositories.IOtpRepository | ||||||||||||||||||||||||||||||||||||||||
| 2 server.src.domain.interfaces.repositories.IUserRepository | ||||||||||||||||||||||||||||||||||||||||
| 3 server.src.domain.interfaces.services.IHashService | ||||||||||||||||||||||||||||||||||||||||
| 4 server.src.domain.interfaces.services.IMailService | ||||||||||||||||||||||||||||||||||||||||
| 5 server.src.domain.interfaces.services.IOAuthService | ||||||||||||||||||||||||||||||||||||||||
| 6 server.src.domain.interfaces.services.IValidatorService | ||||||||||||||||||||||||||||||||||||||||
| 7 server.src.types | ||||||||||||||||||||||||||||||||||||||||
| 8 web.components.admin.UserTable | ||||||||||||||||||||||||||||||||||||||||
| 9 web.hooks.api.admin.auth.useSignin | ||||||||||||||||||||||||||||||||||||||||
| 10 web.types.props | ||||||||||||||||||||||||||||||||||||||||
| 11 server.src.domain.entities.IOtp | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 server.src.domain.entities.IUser | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 server.src.domain.interfaces.services.ITokenService | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 server.src.infrastructure.repositories.OtpRepository | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 server.src.infrastructure.services.HashService | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 server.src.infrastructure.services.MailService | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 server.src.infrastructure.services.OAuthService | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 server.src.use_case.admin.GetUsersUseCase | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 server.src.use_case.user.GetProfileUseCase | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 20 server.src.use_case.user.auth.ResetPasswordUseCase | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 21 web.components.dialogs.LogoutConfirmDialog | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 web.components.forms.elements | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 web.components.user.auth.forgot-password | 1 | |||||||||||||||||||||||||||||||||||||||
| 24 server.src.infrastructure.repositories.UserRepository | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 25 server.src.infrastructure.services.TokenService | 3 | |||||||||||||||||||||||||||||||||||||||
| 26 server.src.presentation.middlewares.AdminAuthMiddleware | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 27 server.src.presentation.middlewares.UserAuthMiddleware | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 28 server.src.use_case.admin.SigninUseCase | 1 | |||||||||||||||||||||||||||||||||||||||
| 29 server.src.use_case.admin.UpdateUserUseCase | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 30 server.src.use_case.user.UpdateProfileUseCase | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 31 server.src.use_case.user.auth.OAuthUseCase | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 32 server.src.use_case.user.auth.SignupUseCase | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 33 web.components.dialogs | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 34 web.types.api | 1 | 5 | ||||||||||||||||||||||||||||||||||||||
| 35 server.src.presentation.controllers.admin.AdminConroller | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 36 server.src.presentation.controllers.user.ProfileController | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 37 server.src.use_case.user.auth.OtpUseCase | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 38 server.src.use_case.user.auth.SigninUseCase | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 39 web.lib | 1 | 1 | 5 | |||||||||||||||||||||||||||||||||||||
| 40 server.src.presentation.controllers.user.AuthControllers | 1 | 1 | 1 | 1 | 1 |
11→7 server.src.domain.entities.IOtp uses server.src.types✕
- Connections
- 1 pair of types, where a type in server.src.domain.entities.IOtp uses a type in server.src.types.
- The types involved
server.src.domain.entities.IOtp.IOtp→server.src.types.DateString
- Direction
- server.src.domain.entities.IOtp uses server.src.types, so a change to server.src.types can break server.src.domain.entities.IOtp, while a change to server.src.domain.entities.IOtp can't break server.src.types.
- Position
- Below the diagonal: server.src.domain.entities.IOtp uses a module listed above it, which is the healthy direction.
12→7 server.src.domain.entities.IUser uses server.src.types✕
- Connections
- 1 pair of types, where a type in server.src.domain.entities.IUser uses a type in server.src.types.
- The types involved
server.src.domain.entities.IUser.IUser→server.src.types.DateString
- Direction
- server.src.domain.entities.IUser uses server.src.types, so a change to server.src.types can break server.src.domain.entities.IUser, while a change to server.src.domain.entities.IUser can't break server.src.types.
- Position
- Below the diagonal: server.src.domain.entities.IUser uses a module listed above it, which is the healthy direction.
13→7 server.src.domain.interfaces.services.ITokenService uses server.src.types✕
- Connections
- 1 pair of types, where a type in server.src.domain.interfaces.services.ITokenService uses a type in server.src.types.
- The types involved
server.src.domain.interfaces.services.ITokenService.AccessTokenPayload→server.src.types.UserRole
- Direction
- server.src.domain.interfaces.services.ITokenService uses server.src.types, so a change to server.src.types can break server.src.domain.interfaces.services.ITokenService, while a change to server.src.domain.interfaces.services.ITokenService can't break server.src.types.
- Position
- Below the diagonal: server.src.domain.interfaces.services.ITokenService uses a module listed above it, which is the healthy direction.
14→1 server.src.infrastructure.repositories.OtpRepository uses server.src.domain.interfaces.repositories.IOtpRepository✕
- Connections
- 1 pair of types, where a type in server.src.infrastructure.repositories.OtpRepository uses a type in server.src.domain.interfaces.repositories.IOtpRepository.
- The types involved
server.src.infrastructure.repositories.OtpRepository.OtpRepository→server.src.domain.interfaces.repositories.IOtpRepository.IOtpRepository
- Direction
- server.src.infrastructure.repositories.OtpRepository uses server.src.domain.interfaces.repositories.IOtpRepository, so a change to server.src.domain.interfaces.repositories.IOtpRepository can break server.src.infrastructure.repositories.OtpRepository, while a change to server.src.infrastructure.repositories.OtpRepository can't break server.src.domain.interfaces.repositories.IOtpRepository.
- Position
- Below the diagonal: server.src.infrastructure.repositories.OtpRepository uses a module listed above it, which is the healthy direction.
15→3 server.src.infrastructure.services.HashService uses server.src.domain.interfaces.services.IHashService✕
- Connections
- 1 pair of types, where a type in server.src.infrastructure.services.HashService uses a type in server.src.domain.interfaces.services.IHashService.
- The types involved
server.src.infrastructure.services.HashService.HashService→server.src.domain.interfaces.services.IHashService.IHashService
- Direction
- server.src.infrastructure.services.HashService uses server.src.domain.interfaces.services.IHashService, so a change to server.src.domain.interfaces.services.IHashService can break server.src.infrastructure.services.HashService, while a change to server.src.infrastructure.services.HashService can't break server.src.domain.interfaces.services.IHashService.
- Position
- Below the diagonal: server.src.infrastructure.services.HashService uses a module listed above it, which is the healthy direction.
16→4 server.src.infrastructure.services.MailService uses server.src.domain.interfaces.services.IMailService✕
- Connections
- 1 pair of types, where a type in server.src.infrastructure.services.MailService uses a type in server.src.domain.interfaces.services.IMailService.
- The types involved
server.src.infrastructure.services.MailService.MailService→server.src.domain.interfaces.services.IMailService.IMailService
- Direction
- server.src.infrastructure.services.MailService uses server.src.domain.interfaces.services.IMailService, so a change to server.src.domain.interfaces.services.IMailService can break server.src.infrastructure.services.MailService, while a change to server.src.infrastructure.services.MailService can't break server.src.domain.interfaces.services.IMailService.
- Position
- Below the diagonal: server.src.infrastructure.services.MailService uses a module listed above it, which is the healthy direction.
17→5 server.src.infrastructure.services.OAuthService uses server.src.domain.interfaces.services.IOAuthService✕
- Connections
- 1 pair of types, where a type in server.src.infrastructure.services.OAuthService uses a type in server.src.domain.interfaces.services.IOAuthService.
- The types involved
server.src.infrastructure.services.OAuthService.OAuhService→server.src.domain.interfaces.services.IOAuthService.IOAuthService
- Direction
- server.src.infrastructure.services.OAuthService uses server.src.domain.interfaces.services.IOAuthService, so a change to server.src.domain.interfaces.services.IOAuthService can break server.src.infrastructure.services.OAuthService, while a change to server.src.infrastructure.services.OAuthService can't break server.src.domain.interfaces.services.IOAuthService.
- Position
- Below the diagonal: server.src.infrastructure.services.OAuthService uses a module listed above it, which is the healthy direction.
18→2 server.src.use_case.admin.GetUsersUseCase uses server.src.domain.interfaces.repositories.IUserRepository✕
- Connections
- 1 pair of types, where a type in server.src.use_case.admin.GetUsersUseCase uses a type in server.src.domain.interfaces.repositories.IUserRepository.
- The types involved
server.src.use_case.admin.GetUsersUseCase.GetUsersUseCase→server.src.domain.interfaces.repositories.IUserRepository.IUserRepository
- Direction
- server.src.use_case.admin.GetUsersUseCase uses server.src.domain.interfaces.repositories.IUserRepository, so a change to server.src.domain.interfaces.repositories.IUserRepository can break server.src.use_case.admin.GetUsersUseCase, while a change to server.src.use_case.admin.GetUsersUseCase can't break server.src.domain.interfaces.repositories.IUserRepository.
- Position
- Below the diagonal: server.src.use_case.admin.GetUsersUseCase uses a module listed above it, which is the healthy direction.
19→2 server.src.use_case.user.GetProfileUseCase uses server.src.domain.interfaces.repositories.IUserRepository✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.GetProfileUseCase uses a type in server.src.domain.interfaces.repositories.IUserRepository.
- The types involved
server.src.use_case.user.GetProfileUseCase.GetProfileUseCase→server.src.domain.interfaces.repositories.IUserRepository.IUserRepository
- Direction
- server.src.use_case.user.GetProfileUseCase uses server.src.domain.interfaces.repositories.IUserRepository, so a change to server.src.domain.interfaces.repositories.IUserRepository can break server.src.use_case.user.GetProfileUseCase, while a change to server.src.use_case.user.GetProfileUseCase can't break server.src.domain.interfaces.repositories.IUserRepository.
- Position
- Below the diagonal: server.src.use_case.user.GetProfileUseCase uses a module listed above it, which is the healthy direction.
19→6 server.src.use_case.user.GetProfileUseCase uses server.src.domain.interfaces.services.IValidatorService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.GetProfileUseCase uses a type in server.src.domain.interfaces.services.IValidatorService.
- The types involved
server.src.use_case.user.GetProfileUseCase.GetProfileUseCase→server.src.domain.interfaces.services.IValidatorService.IValidatorService
- Direction
- server.src.use_case.user.GetProfileUseCase uses server.src.domain.interfaces.services.IValidatorService, so a change to server.src.domain.interfaces.services.IValidatorService can break server.src.use_case.user.GetProfileUseCase, while a change to server.src.use_case.user.GetProfileUseCase can't break server.src.domain.interfaces.services.IValidatorService.
- Position
- Below the diagonal: server.src.use_case.user.GetProfileUseCase uses a module listed above it, which is the healthy direction.
20→1 server.src.use_case.user.auth.ResetPasswordUseCase uses server.src.domain.interfaces.repositories.IOtpRepository✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.ResetPasswordUseCase uses a type in server.src.domain.interfaces.repositories.IOtpRepository.
- The types involved
server.src.use_case.user.auth.ResetPasswordUseCase.ResetPasswordUseCase→server.src.domain.interfaces.repositories.IOtpRepository.IOtpRepository
- Direction
- server.src.use_case.user.auth.ResetPasswordUseCase uses server.src.domain.interfaces.repositories.IOtpRepository, so a change to server.src.domain.interfaces.repositories.IOtpRepository can break server.src.use_case.user.auth.ResetPasswordUseCase, while a change to server.src.use_case.user.auth.ResetPasswordUseCase can't break server.src.domain.interfaces.repositories.IOtpRepository.
- Position
- Below the diagonal: server.src.use_case.user.auth.ResetPasswordUseCase uses a module listed above it, which is the healthy direction.
20→2 server.src.use_case.user.auth.ResetPasswordUseCase uses server.src.domain.interfaces.repositories.IUserRepository✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.ResetPasswordUseCase uses a type in server.src.domain.interfaces.repositories.IUserRepository.
- The types involved
server.src.use_case.user.auth.ResetPasswordUseCase.ResetPasswordUseCase→server.src.domain.interfaces.repositories.IUserRepository.IUserRepository
- Direction
- server.src.use_case.user.auth.ResetPasswordUseCase uses server.src.domain.interfaces.repositories.IUserRepository, so a change to server.src.domain.interfaces.repositories.IUserRepository can break server.src.use_case.user.auth.ResetPasswordUseCase, while a change to server.src.use_case.user.auth.ResetPasswordUseCase can't break server.src.domain.interfaces.repositories.IUserRepository.
- Position
- Below the diagonal: server.src.use_case.user.auth.ResetPasswordUseCase uses a module listed above it, which is the healthy direction.
20→3 server.src.use_case.user.auth.ResetPasswordUseCase uses server.src.domain.interfaces.services.IHashService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.ResetPasswordUseCase uses a type in server.src.domain.interfaces.services.IHashService.
- The types involved
server.src.use_case.user.auth.ResetPasswordUseCase.ResetPasswordUseCase→server.src.domain.interfaces.services.IHashService.IHashService
- Direction
- server.src.use_case.user.auth.ResetPasswordUseCase uses server.src.domain.interfaces.services.IHashService, so a change to server.src.domain.interfaces.services.IHashService can break server.src.use_case.user.auth.ResetPasswordUseCase, while a change to server.src.use_case.user.auth.ResetPasswordUseCase can't break server.src.domain.interfaces.services.IHashService.
- Position
- Below the diagonal: server.src.use_case.user.auth.ResetPasswordUseCase uses a module listed above it, which is the healthy direction.
20→4 server.src.use_case.user.auth.ResetPasswordUseCase uses server.src.domain.interfaces.services.IMailService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.ResetPasswordUseCase uses a type in server.src.domain.interfaces.services.IMailService.
- The types involved
server.src.use_case.user.auth.ResetPasswordUseCase.ResetPasswordUseCase→server.src.domain.interfaces.services.IMailService.IMailService
- Direction
- server.src.use_case.user.auth.ResetPasswordUseCase uses server.src.domain.interfaces.services.IMailService, so a change to server.src.domain.interfaces.services.IMailService can break server.src.use_case.user.auth.ResetPasswordUseCase, while a change to server.src.use_case.user.auth.ResetPasswordUseCase can't break server.src.domain.interfaces.services.IMailService.
- Position
- Below the diagonal: server.src.use_case.user.auth.ResetPasswordUseCase uses a module listed above it, which is the healthy direction.
20→6 server.src.use_case.user.auth.ResetPasswordUseCase uses server.src.domain.interfaces.services.IValidatorService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.ResetPasswordUseCase uses a type in server.src.domain.interfaces.services.IValidatorService.
- The types involved
server.src.use_case.user.auth.ResetPasswordUseCase.ResetPasswordUseCase→server.src.domain.interfaces.services.IValidatorService.IValidatorService
- Direction
- server.src.use_case.user.auth.ResetPasswordUseCase uses server.src.domain.interfaces.services.IValidatorService, so a change to server.src.domain.interfaces.services.IValidatorService can break server.src.use_case.user.auth.ResetPasswordUseCase, while a change to server.src.use_case.user.auth.ResetPasswordUseCase can't break server.src.domain.interfaces.services.IValidatorService.
- Position
- Below the diagonal: server.src.use_case.user.auth.ResetPasswordUseCase uses a module listed above it, which is the healthy direction.
21→7 web.components.dialogs.LogoutConfirmDialog uses server.src.types✕
- Connections
- 1 pair of types, where a type in web.components.dialogs.LogoutConfirmDialog uses a type in server.src.types.
- The types involved
web.components.dialogs.LogoutConfirmDialog.LogoutConfirmDialogProps→server.src.types.UserRole
- Direction
- web.components.dialogs.LogoutConfirmDialog uses server.src.types, so a change to server.src.types can break web.components.dialogs.LogoutConfirmDialog, while a change to web.components.dialogs.LogoutConfirmDialog can't break server.src.types.
- Position
- Below the diagonal: web.components.dialogs.LogoutConfirmDialog uses a module listed above it, which is the healthy direction.
22→10 web.components.forms.elements uses web.types.props✕
- Connections
- 1 pair of types, where a type in web.components.forms.elements uses a type in web.types.props.
- The types involved
web.components.forms.elements.FormFieldWrapper→web.types.props.FormFieldWrapperProps
- Direction
- web.components.forms.elements uses web.types.props, so a change to web.types.props can break web.components.forms.elements, while a change to web.components.forms.elements can't break web.types.props.
- Position
- Below the diagonal: web.components.forms.elements uses a module listed above it, which is the healthy direction.
23→10 web.components.user.auth.forgot-password uses web.types.props✕
- Connections
- 1 pair of types, where a type in web.components.user.auth.forgot-password uses a type in web.types.props.
- The types involved
web.components.user.auth.forgot-password.ResetPasswordForm→web.types.props.ResetPasswordFormProps
- Direction
- web.components.user.auth.forgot-password uses web.types.props, so a change to web.types.props can break web.components.user.auth.forgot-password, while a change to web.components.user.auth.forgot-password can't break web.types.props.
- Position
- Below the diagonal: web.components.user.auth.forgot-password uses a module listed above it, which is the healthy direction.
24→2 server.src.infrastructure.repositories.UserRepository uses server.src.domain.interfaces.repositories.IUserRepository✕
- Connections
- 1 pair of types, where a type in server.src.infrastructure.repositories.UserRepository uses a type in server.src.domain.interfaces.repositories.IUserRepository.
- The types involved
server.src.infrastructure.repositories.UserRepository.UserRepository→server.src.domain.interfaces.repositories.IUserRepository.IUserRepository
- Direction
- server.src.infrastructure.repositories.UserRepository uses server.src.domain.interfaces.repositories.IUserRepository, so a change to server.src.domain.interfaces.repositories.IUserRepository can break server.src.infrastructure.repositories.UserRepository, while a change to server.src.infrastructure.repositories.UserRepository can't break server.src.domain.interfaces.repositories.IUserRepository.
- Position
- Below the diagonal: server.src.infrastructure.repositories.UserRepository uses a module listed above it, which is the healthy direction.
24→12 server.src.infrastructure.repositories.UserRepository uses server.src.domain.entities.IUser✕
- Connections
- 1 pair of types, where a type in server.src.infrastructure.repositories.UserRepository uses a type in server.src.domain.entities.IUser.
- The types involved
server.src.infrastructure.repositories.UserRepository.UserRepository→server.src.domain.entities.IUser.IUser
- Direction
- server.src.infrastructure.repositories.UserRepository uses server.src.domain.entities.IUser, so a change to server.src.domain.entities.IUser can break server.src.infrastructure.repositories.UserRepository, while a change to server.src.infrastructure.repositories.UserRepository can't break server.src.domain.entities.IUser.
- Position
- Below the diagonal: server.src.infrastructure.repositories.UserRepository uses a module listed above it, which is the healthy direction.
25→13 server.src.infrastructure.services.TokenService uses server.src.domain.interfaces.services.ITokenService✕
- Connections
- 3 pairs of types, where a type in server.src.infrastructure.services.TokenService uses a type in server.src.domain.interfaces.services.ITokenService.
- The types involved
server.src.infrastructure.services.TokenService.TokenService→server.src.domain.interfaces.services.ITokenService.AccessTokenPayloadserver.src.infrastructure.services.TokenService.TokenService→server.src.domain.interfaces.services.ITokenService.ITokenServiceserver.src.infrastructure.services.TokenService.TokenService→server.src.domain.interfaces.services.ITokenService.RefreshTokenPayload
- Direction
- server.src.infrastructure.services.TokenService uses server.src.domain.interfaces.services.ITokenService, so a change to server.src.domain.interfaces.services.ITokenService can break server.src.infrastructure.services.TokenService, while a change to server.src.infrastructure.services.TokenService can't break server.src.domain.interfaces.services.ITokenService.
- Position
- Below the diagonal: server.src.infrastructure.services.TokenService uses a module listed above it, which is the healthy direction.
26→7 server.src.presentation.middlewares.AdminAuthMiddleware uses server.src.types✕
- Connections
- 1 pair of types, where a type in server.src.presentation.middlewares.AdminAuthMiddleware uses a type in server.src.types.
- The types involved
server.src.presentation.middlewares.AdminAuthMiddleware.AdminAuthMiddleware→server.src.types.CustomRequest
- Direction
- server.src.presentation.middlewares.AdminAuthMiddleware uses server.src.types, so a change to server.src.types can break server.src.presentation.middlewares.AdminAuthMiddleware, while a change to server.src.presentation.middlewares.AdminAuthMiddleware can't break server.src.types.
- Position
- Below the diagonal: server.src.presentation.middlewares.AdminAuthMiddleware uses a module listed above it, which is the healthy direction.
26→9 server.src.presentation.middlewares.AdminAuthMiddleware uses web.hooks.api.admin.auth.useSignin✕
- Connections
- 1 pair of types, where a type in server.src.presentation.middlewares.AdminAuthMiddleware uses a type in web.hooks.api.admin.auth.useSignin.
- The types involved
server.src.presentation.middlewares.AdminAuthMiddleware.AdminAuthMiddleware→web.hooks.api.admin.auth.useSignin.Response
- Direction
- server.src.presentation.middlewares.AdminAuthMiddleware uses web.hooks.api.admin.auth.useSignin, so a change to web.hooks.api.admin.auth.useSignin can break server.src.presentation.middlewares.AdminAuthMiddleware, while a change to server.src.presentation.middlewares.AdminAuthMiddleware can't break web.hooks.api.admin.auth.useSignin.
- Position
- Below the diagonal: server.src.presentation.middlewares.AdminAuthMiddleware uses a module listed above it, which is the healthy direction.
26→13 server.src.presentation.middlewares.AdminAuthMiddleware uses server.src.domain.interfaces.services.ITokenService✕
- Connections
- 1 pair of types, where a type in server.src.presentation.middlewares.AdminAuthMiddleware uses a type in server.src.domain.interfaces.services.ITokenService.
- The types involved
server.src.presentation.middlewares.AdminAuthMiddleware.AdminAuthMiddleware→server.src.domain.interfaces.services.ITokenService.ITokenService
- Direction
- server.src.presentation.middlewares.AdminAuthMiddleware uses server.src.domain.interfaces.services.ITokenService, so a change to server.src.domain.interfaces.services.ITokenService can break server.src.presentation.middlewares.AdminAuthMiddleware, while a change to server.src.presentation.middlewares.AdminAuthMiddleware can't break server.src.domain.interfaces.services.ITokenService.
- Position
- Below the diagonal: server.src.presentation.middlewares.AdminAuthMiddleware uses a module listed above it, which is the healthy direction.
27→7 server.src.presentation.middlewares.UserAuthMiddleware uses server.src.types✕
- Connections
- 1 pair of types, where a type in server.src.presentation.middlewares.UserAuthMiddleware uses a type in server.src.types.
- The types involved
server.src.presentation.middlewares.UserAuthMiddleware.UserAuthMiddleware→server.src.types.CustomRequest
- Direction
- server.src.presentation.middlewares.UserAuthMiddleware uses server.src.types, so a change to server.src.types can break server.src.presentation.middlewares.UserAuthMiddleware, while a change to server.src.presentation.middlewares.UserAuthMiddleware can't break server.src.types.
- Position
- Below the diagonal: server.src.presentation.middlewares.UserAuthMiddleware uses a module listed above it, which is the healthy direction.
27→9 server.src.presentation.middlewares.UserAuthMiddleware uses web.hooks.api.admin.auth.useSignin✕
- Connections
- 1 pair of types, where a type in server.src.presentation.middlewares.UserAuthMiddleware uses a type in web.hooks.api.admin.auth.useSignin.
- The types involved
server.src.presentation.middlewares.UserAuthMiddleware.UserAuthMiddleware→web.hooks.api.admin.auth.useSignin.Response
- Direction
- server.src.presentation.middlewares.UserAuthMiddleware uses web.hooks.api.admin.auth.useSignin, so a change to web.hooks.api.admin.auth.useSignin can break server.src.presentation.middlewares.UserAuthMiddleware, while a change to server.src.presentation.middlewares.UserAuthMiddleware can't break web.hooks.api.admin.auth.useSignin.
- Position
- Below the diagonal: server.src.presentation.middlewares.UserAuthMiddleware uses a module listed above it, which is the healthy direction.
27→13 server.src.presentation.middlewares.UserAuthMiddleware uses server.src.domain.interfaces.services.ITokenService✕
- Connections
- 1 pair of types, where a type in server.src.presentation.middlewares.UserAuthMiddleware uses a type in server.src.domain.interfaces.services.ITokenService.
- The types involved
server.src.presentation.middlewares.UserAuthMiddleware.UserAuthMiddleware→server.src.domain.interfaces.services.ITokenService.ITokenService
- Direction
- server.src.presentation.middlewares.UserAuthMiddleware uses server.src.domain.interfaces.services.ITokenService, so a change to server.src.domain.interfaces.services.ITokenService can break server.src.presentation.middlewares.UserAuthMiddleware, while a change to server.src.presentation.middlewares.UserAuthMiddleware can't break server.src.domain.interfaces.services.ITokenService.
- Position
- Below the diagonal: server.src.presentation.middlewares.UserAuthMiddleware uses a module listed above it, which is the healthy direction.
28→13 server.src.use_case.admin.SigninUseCase uses server.src.domain.interfaces.services.ITokenService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.admin.SigninUseCase uses a type in server.src.domain.interfaces.services.ITokenService.
- The types involved
server.src.use_case.admin.SigninUseCase.AdminSigninUseCase→server.src.domain.interfaces.services.ITokenService.ITokenService
- Direction
- server.src.use_case.admin.SigninUseCase uses server.src.domain.interfaces.services.ITokenService, so a change to server.src.domain.interfaces.services.ITokenService can break server.src.use_case.admin.SigninUseCase, while a change to server.src.use_case.admin.SigninUseCase can't break server.src.domain.interfaces.services.ITokenService.
- Position
- Below the diagonal: server.src.use_case.admin.SigninUseCase uses a module listed above it, which is the healthy direction.
29→2 server.src.use_case.admin.UpdateUserUseCase uses server.src.domain.interfaces.repositories.IUserRepository✕
- Connections
- 1 pair of types, where a type in server.src.use_case.admin.UpdateUserUseCase uses a type in server.src.domain.interfaces.repositories.IUserRepository.
- The types involved
server.src.use_case.admin.UpdateUserUseCase.UpdateUserUseCase→server.src.domain.interfaces.repositories.IUserRepository.IUserRepository
- Direction
- server.src.use_case.admin.UpdateUserUseCase uses server.src.domain.interfaces.repositories.IUserRepository, so a change to server.src.domain.interfaces.repositories.IUserRepository can break server.src.use_case.admin.UpdateUserUseCase, while a change to server.src.use_case.admin.UpdateUserUseCase can't break server.src.domain.interfaces.repositories.IUserRepository.
- Position
- Below the diagonal: server.src.use_case.admin.UpdateUserUseCase uses a module listed above it, which is the healthy direction.
29→6 server.src.use_case.admin.UpdateUserUseCase uses server.src.domain.interfaces.services.IValidatorService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.admin.UpdateUserUseCase uses a type in server.src.domain.interfaces.services.IValidatorService.
- The types involved
server.src.use_case.admin.UpdateUserUseCase.UpdateUserUseCase→server.src.domain.interfaces.services.IValidatorService.IValidatorService
- Direction
- server.src.use_case.admin.UpdateUserUseCase uses server.src.domain.interfaces.services.IValidatorService, so a change to server.src.domain.interfaces.services.IValidatorService can break server.src.use_case.admin.UpdateUserUseCase, while a change to server.src.use_case.admin.UpdateUserUseCase can't break server.src.domain.interfaces.services.IValidatorService.
- Position
- Below the diagonal: server.src.use_case.admin.UpdateUserUseCase uses a module listed above it, which is the healthy direction.
29→12 server.src.use_case.admin.UpdateUserUseCase uses server.src.domain.entities.IUser✕
- Connections
- 2 pairs of types, where a type in server.src.use_case.admin.UpdateUserUseCase uses a type in server.src.domain.entities.IUser.
- The types involved
server.src.use_case.admin.UpdateUserUseCase.UpdateUserUseCase→server.src.domain.entities.IUser.IUserserver.src.use_case.admin.UpdateUserUseCase.UpdateUserUseCase→server.src.domain.entities.IUser.IUserProfile
- Direction
- server.src.use_case.admin.UpdateUserUseCase uses server.src.domain.entities.IUser, so a change to server.src.domain.entities.IUser can break server.src.use_case.admin.UpdateUserUseCase, while a change to server.src.use_case.admin.UpdateUserUseCase can't break server.src.domain.entities.IUser.
- Position
- Below the diagonal: server.src.use_case.admin.UpdateUserUseCase uses a module listed above it, which is the healthy direction.
30→2 server.src.use_case.user.UpdateProfileUseCase uses server.src.domain.interfaces.repositories.IUserRepository✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.UpdateProfileUseCase uses a type in server.src.domain.interfaces.repositories.IUserRepository.
- The types involved
server.src.use_case.user.UpdateProfileUseCase.UpdateProfileUseCase→server.src.domain.interfaces.repositories.IUserRepository.IUserRepository
- Direction
- server.src.use_case.user.UpdateProfileUseCase uses server.src.domain.interfaces.repositories.IUserRepository, so a change to server.src.domain.interfaces.repositories.IUserRepository can break server.src.use_case.user.UpdateProfileUseCase, while a change to server.src.use_case.user.UpdateProfileUseCase can't break server.src.domain.interfaces.repositories.IUserRepository.
- Position
- Below the diagonal: server.src.use_case.user.UpdateProfileUseCase uses a module listed above it, which is the healthy direction.
30→6 server.src.use_case.user.UpdateProfileUseCase uses server.src.domain.interfaces.services.IValidatorService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.UpdateProfileUseCase uses a type in server.src.domain.interfaces.services.IValidatorService.
- The types involved
server.src.use_case.user.UpdateProfileUseCase.UpdateProfileUseCase→server.src.domain.interfaces.services.IValidatorService.IValidatorService
- Direction
- server.src.use_case.user.UpdateProfileUseCase uses server.src.domain.interfaces.services.IValidatorService, so a change to server.src.domain.interfaces.services.IValidatorService can break server.src.use_case.user.UpdateProfileUseCase, while a change to server.src.use_case.user.UpdateProfileUseCase can't break server.src.domain.interfaces.services.IValidatorService.
- Position
- Below the diagonal: server.src.use_case.user.UpdateProfileUseCase uses a module listed above it, which is the healthy direction.
30→12 server.src.use_case.user.UpdateProfileUseCase uses server.src.domain.entities.IUser✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.UpdateProfileUseCase uses a type in server.src.domain.entities.IUser.
- The types involved
server.src.use_case.user.UpdateProfileUseCase.UpdateProfileUseCase→server.src.domain.entities.IUser.IUserProfile
- Direction
- server.src.use_case.user.UpdateProfileUseCase uses server.src.domain.entities.IUser, so a change to server.src.domain.entities.IUser can break server.src.use_case.user.UpdateProfileUseCase, while a change to server.src.use_case.user.UpdateProfileUseCase can't break server.src.domain.entities.IUser.
- Position
- Below the diagonal: server.src.use_case.user.UpdateProfileUseCase uses a module listed above it, which is the healthy direction.
31→2 server.src.use_case.user.auth.OAuthUseCase uses server.src.domain.interfaces.repositories.IUserRepository✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.OAuthUseCase uses a type in server.src.domain.interfaces.repositories.IUserRepository.
- The types involved
server.src.use_case.user.auth.OAuthUseCase.OAuthUseCase→server.src.domain.interfaces.repositories.IUserRepository.IUserRepository
- Direction
- server.src.use_case.user.auth.OAuthUseCase uses server.src.domain.interfaces.repositories.IUserRepository, so a change to server.src.domain.interfaces.repositories.IUserRepository can break server.src.use_case.user.auth.OAuthUseCase, while a change to server.src.use_case.user.auth.OAuthUseCase can't break server.src.domain.interfaces.repositories.IUserRepository.
- Position
- Below the diagonal: server.src.use_case.user.auth.OAuthUseCase uses a module listed above it, which is the healthy direction.
31→5 server.src.use_case.user.auth.OAuthUseCase uses server.src.domain.interfaces.services.IOAuthService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.OAuthUseCase uses a type in server.src.domain.interfaces.services.IOAuthService.
- The types involved
server.src.use_case.user.auth.OAuthUseCase.OAuthUseCase→server.src.domain.interfaces.services.IOAuthService.IOAuthService
- Direction
- server.src.use_case.user.auth.OAuthUseCase uses server.src.domain.interfaces.services.IOAuthService, so a change to server.src.domain.interfaces.services.IOAuthService can break server.src.use_case.user.auth.OAuthUseCase, while a change to server.src.use_case.user.auth.OAuthUseCase can't break server.src.domain.interfaces.services.IOAuthService.
- Position
- Below the diagonal: server.src.use_case.user.auth.OAuthUseCase uses a module listed above it, which is the healthy direction.
31→6 server.src.use_case.user.auth.OAuthUseCase uses server.src.domain.interfaces.services.IValidatorService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.OAuthUseCase uses a type in server.src.domain.interfaces.services.IValidatorService.
- The types involved
server.src.use_case.user.auth.OAuthUseCase.OAuthUseCase→server.src.domain.interfaces.services.IValidatorService.IValidatorService
- Direction
- server.src.use_case.user.auth.OAuthUseCase uses server.src.domain.interfaces.services.IValidatorService, so a change to server.src.domain.interfaces.services.IValidatorService can break server.src.use_case.user.auth.OAuthUseCase, while a change to server.src.use_case.user.auth.OAuthUseCase can't break server.src.domain.interfaces.services.IValidatorService.
- Position
- Below the diagonal: server.src.use_case.user.auth.OAuthUseCase uses a module listed above it, which is the healthy direction.
31→12 server.src.use_case.user.auth.OAuthUseCase uses server.src.domain.entities.IUser✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.OAuthUseCase uses a type in server.src.domain.entities.IUser.
- The types involved
server.src.use_case.user.auth.OAuthUseCase.OAuthUseCase→server.src.domain.entities.IUser.IUserProfile
- Direction
- server.src.use_case.user.auth.OAuthUseCase uses server.src.domain.entities.IUser, so a change to server.src.domain.entities.IUser can break server.src.use_case.user.auth.OAuthUseCase, while a change to server.src.use_case.user.auth.OAuthUseCase can't break server.src.domain.entities.IUser.
- Position
- Below the diagonal: server.src.use_case.user.auth.OAuthUseCase uses a module listed above it, which is the healthy direction.
31→13 server.src.use_case.user.auth.OAuthUseCase uses server.src.domain.interfaces.services.ITokenService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.OAuthUseCase uses a type in server.src.domain.interfaces.services.ITokenService.
- The types involved
server.src.use_case.user.auth.OAuthUseCase.OAuthUseCase→server.src.domain.interfaces.services.ITokenService.ITokenService
- Direction
- server.src.use_case.user.auth.OAuthUseCase uses server.src.domain.interfaces.services.ITokenService, so a change to server.src.domain.interfaces.services.ITokenService can break server.src.use_case.user.auth.OAuthUseCase, while a change to server.src.use_case.user.auth.OAuthUseCase can't break server.src.domain.interfaces.services.ITokenService.
- Position
- Below the diagonal: server.src.use_case.user.auth.OAuthUseCase uses a module listed above it, which is the healthy direction.
32→2 server.src.use_case.user.auth.SignupUseCase uses server.src.domain.interfaces.repositories.IUserRepository✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.SignupUseCase uses a type in server.src.domain.interfaces.repositories.IUserRepository.
- The types involved
server.src.use_case.user.auth.SignupUseCase.SignupUseCase→server.src.domain.interfaces.repositories.IUserRepository.IUserRepository
- Direction
- server.src.use_case.user.auth.SignupUseCase uses server.src.domain.interfaces.repositories.IUserRepository, so a change to server.src.domain.interfaces.repositories.IUserRepository can break server.src.use_case.user.auth.SignupUseCase, while a change to server.src.use_case.user.auth.SignupUseCase can't break server.src.domain.interfaces.repositories.IUserRepository.
- Position
- Below the diagonal: server.src.use_case.user.auth.SignupUseCase uses a module listed above it, which is the healthy direction.
32→3 server.src.use_case.user.auth.SignupUseCase uses server.src.domain.interfaces.services.IHashService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.SignupUseCase uses a type in server.src.domain.interfaces.services.IHashService.
- The types involved
server.src.use_case.user.auth.SignupUseCase.SignupUseCase→server.src.domain.interfaces.services.IHashService.IHashService
- Direction
- server.src.use_case.user.auth.SignupUseCase uses server.src.domain.interfaces.services.IHashService, so a change to server.src.domain.interfaces.services.IHashService can break server.src.use_case.user.auth.SignupUseCase, while a change to server.src.use_case.user.auth.SignupUseCase can't break server.src.domain.interfaces.services.IHashService.
- Position
- Below the diagonal: server.src.use_case.user.auth.SignupUseCase uses a module listed above it, which is the healthy direction.
32→6 server.src.use_case.user.auth.SignupUseCase uses server.src.domain.interfaces.services.IValidatorService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.SignupUseCase uses a type in server.src.domain.interfaces.services.IValidatorService.
- The types involved
server.src.use_case.user.auth.SignupUseCase.SignupUseCase→server.src.domain.interfaces.services.IValidatorService.IValidatorService
- Direction
- server.src.use_case.user.auth.SignupUseCase uses server.src.domain.interfaces.services.IValidatorService, so a change to server.src.domain.interfaces.services.IValidatorService can break server.src.use_case.user.auth.SignupUseCase, while a change to server.src.use_case.user.auth.SignupUseCase can't break server.src.domain.interfaces.services.IValidatorService.
- Position
- Below the diagonal: server.src.use_case.user.auth.SignupUseCase uses a module listed above it, which is the healthy direction.
32→12 server.src.use_case.user.auth.SignupUseCase uses server.src.domain.entities.IUser✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.SignupUseCase uses a type in server.src.domain.entities.IUser.
- The types involved
server.src.use_case.user.auth.SignupUseCase.SignupUseCase→server.src.domain.entities.IUser.IUser
- Direction
- server.src.use_case.user.auth.SignupUseCase uses server.src.domain.entities.IUser, so a change to server.src.domain.entities.IUser can break server.src.use_case.user.auth.SignupUseCase, while a change to server.src.use_case.user.auth.SignupUseCase can't break server.src.domain.entities.IUser.
- Position
- Below the diagonal: server.src.use_case.user.auth.SignupUseCase uses a module listed above it, which is the healthy direction.
33→10 web.components.dialogs uses web.types.props✕
- Connections
- 1 pair of types, where a type in web.components.dialogs uses a type in web.types.props.
- The types involved
web.components.dialogs.ForgotPasswordDialog→web.types.props.ForgotPasswordDialogProps
- Direction
- web.components.dialogs uses web.types.props, so a change to web.types.props can break web.components.dialogs, while a change to web.components.dialogs can't break web.types.props.
- Position
- Below the diagonal: web.components.dialogs uses a module listed above it, which is the healthy direction.
33→21 web.components.dialogs uses web.components.dialogs.LogoutConfirmDialog✕
- Connections
- 1 pair of types, where a type in web.components.dialogs uses a type in web.components.dialogs.LogoutConfirmDialog.
- The types involved
web.components.dialogs.LogoutConfirmDialog→web.components.dialogs.LogoutConfirmDialog.LogoutConfirmDialogProps
- Direction
- web.components.dialogs uses web.components.dialogs.LogoutConfirmDialog, so a change to web.components.dialogs.LogoutConfirmDialog can break web.components.dialogs, while a change to web.components.dialogs can't break web.components.dialogs.LogoutConfirmDialog.
- Position
- Below the diagonal: web.components.dialogs uses a module listed above it, which is the healthy direction.
34→7 web.types.api uses server.src.types✕
- Connections
- 1 pair of types, where a type in web.types.api uses a type in server.src.types.
- The types involved
web.types.api.Role→server.src.types.UserRole
- Direction
- web.types.api uses server.src.types, so a change to server.src.types can break web.types.api, while a change to web.types.api can't break server.src.types.
- Position
- Below the diagonal: web.types.api uses a module listed above it, which is the healthy direction.
34→19 web.types.api uses server.src.use_case.user.GetProfileUseCase✕
- Connections
- 5 pairs of types, where a type in web.types.api uses a type in server.src.use_case.user.GetProfileUseCase.
- The types involved
web.types.api.DeleteParams→server.src.use_case.user.GetProfileUseCase.Paramsweb.types.api.GetParams→server.src.use_case.user.GetProfileUseCase.Paramsweb.types.api.PatchParams→server.src.use_case.user.GetProfileUseCase.Paramsweb.types.api.PostParams→server.src.use_case.user.GetProfileUseCase.Paramsweb.types.api.PutParams→server.src.use_case.user.GetProfileUseCase.Params
- Direction
- web.types.api uses server.src.use_case.user.GetProfileUseCase, so a change to server.src.use_case.user.GetProfileUseCase can break web.types.api, while a change to web.types.api can't break server.src.use_case.user.GetProfileUseCase.
- Position
- Below the diagonal: web.types.api uses a module listed above it, which is the healthy direction.
35→18 server.src.presentation.controllers.admin.AdminConroller uses server.src.use_case.admin.GetUsersUseCase✕
- Connections
- 1 pair of types, where a type in server.src.presentation.controllers.admin.AdminConroller uses a type in server.src.use_case.admin.GetUsersUseCase.
- The types involved
server.src.presentation.controllers.admin.AdminConroller.AdminController→server.src.use_case.admin.GetUsersUseCase.GetUsersUseCase
- Direction
- server.src.presentation.controllers.admin.AdminConroller uses server.src.use_case.admin.GetUsersUseCase, so a change to server.src.use_case.admin.GetUsersUseCase can break server.src.presentation.controllers.admin.AdminConroller, while a change to server.src.presentation.controllers.admin.AdminConroller can't break server.src.use_case.admin.GetUsersUseCase.
- Position
- Below the diagonal: server.src.presentation.controllers.admin.AdminConroller uses a module listed above it, which is the healthy direction.
35→29 server.src.presentation.controllers.admin.AdminConroller uses server.src.use_case.admin.UpdateUserUseCase✕
- Connections
- 1 pair of types, where a type in server.src.presentation.controllers.admin.AdminConroller uses a type in server.src.use_case.admin.UpdateUserUseCase.
- The types involved
server.src.presentation.controllers.admin.AdminConroller.AdminController→server.src.use_case.admin.UpdateUserUseCase.UpdateUserUseCase
- Direction
- server.src.presentation.controllers.admin.AdminConroller uses server.src.use_case.admin.UpdateUserUseCase, so a change to server.src.use_case.admin.UpdateUserUseCase can break server.src.presentation.controllers.admin.AdminConroller, while a change to server.src.presentation.controllers.admin.AdminConroller can't break server.src.use_case.admin.UpdateUserUseCase.
- Position
- Below the diagonal: server.src.presentation.controllers.admin.AdminConroller uses a module listed above it, which is the healthy direction.
36→19 server.src.presentation.controllers.user.ProfileController uses server.src.use_case.user.GetProfileUseCase✕
- Connections
- 1 pair of types, where a type in server.src.presentation.controllers.user.ProfileController uses a type in server.src.use_case.user.GetProfileUseCase.
- The types involved
server.src.presentation.controllers.user.ProfileController.ProfileController→server.src.use_case.user.GetProfileUseCase.GetProfileUseCase
- Direction
- server.src.presentation.controllers.user.ProfileController uses server.src.use_case.user.GetProfileUseCase, so a change to server.src.use_case.user.GetProfileUseCase can break server.src.presentation.controllers.user.ProfileController, while a change to server.src.presentation.controllers.user.ProfileController can't break server.src.use_case.user.GetProfileUseCase.
- Position
- Below the diagonal: server.src.presentation.controllers.user.ProfileController uses a module listed above it, which is the healthy direction.
36→30 server.src.presentation.controllers.user.ProfileController uses server.src.use_case.user.UpdateProfileUseCase✕
- Connections
- 1 pair of types, where a type in server.src.presentation.controllers.user.ProfileController uses a type in server.src.use_case.user.UpdateProfileUseCase.
- The types involved
server.src.presentation.controllers.user.ProfileController.ProfileController→server.src.use_case.user.UpdateProfileUseCase.UpdateProfileUseCase
- Direction
- server.src.presentation.controllers.user.ProfileController uses server.src.use_case.user.UpdateProfileUseCase, so a change to server.src.use_case.user.UpdateProfileUseCase can break server.src.presentation.controllers.user.ProfileController, while a change to server.src.presentation.controllers.user.ProfileController can't break server.src.use_case.user.UpdateProfileUseCase.
- Position
- Below the diagonal: server.src.presentation.controllers.user.ProfileController uses a module listed above it, which is the healthy direction.
37→1 server.src.use_case.user.auth.OtpUseCase uses server.src.domain.interfaces.repositories.IOtpRepository✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.OtpUseCase uses a type in server.src.domain.interfaces.repositories.IOtpRepository.
- The types involved
server.src.use_case.user.auth.OtpUseCase.OtpUseCase→server.src.domain.interfaces.repositories.IOtpRepository.IOtpRepository
- Direction
- server.src.use_case.user.auth.OtpUseCase uses server.src.domain.interfaces.repositories.IOtpRepository, so a change to server.src.domain.interfaces.repositories.IOtpRepository can break server.src.use_case.user.auth.OtpUseCase, while a change to server.src.use_case.user.auth.OtpUseCase can't break server.src.domain.interfaces.repositories.IOtpRepository.
- Position
- Below the diagonal: server.src.use_case.user.auth.OtpUseCase uses a module listed above it, which is the healthy direction.
37→2 server.src.use_case.user.auth.OtpUseCase uses server.src.domain.interfaces.repositories.IUserRepository✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.OtpUseCase uses a type in server.src.domain.interfaces.repositories.IUserRepository.
- The types involved
server.src.use_case.user.auth.OtpUseCase.OtpUseCase→server.src.domain.interfaces.repositories.IUserRepository.IUserRepository
- Direction
- server.src.use_case.user.auth.OtpUseCase uses server.src.domain.interfaces.repositories.IUserRepository, so a change to server.src.domain.interfaces.repositories.IUserRepository can break server.src.use_case.user.auth.OtpUseCase, while a change to server.src.use_case.user.auth.OtpUseCase can't break server.src.domain.interfaces.repositories.IUserRepository.
- Position
- Below the diagonal: server.src.use_case.user.auth.OtpUseCase uses a module listed above it, which is the healthy direction.
37→4 server.src.use_case.user.auth.OtpUseCase uses server.src.domain.interfaces.services.IMailService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.OtpUseCase uses a type in server.src.domain.interfaces.services.IMailService.
- The types involved
server.src.use_case.user.auth.OtpUseCase.OtpUseCase→server.src.domain.interfaces.services.IMailService.IMailService
- Direction
- server.src.use_case.user.auth.OtpUseCase uses server.src.domain.interfaces.services.IMailService, so a change to server.src.domain.interfaces.services.IMailService can break server.src.use_case.user.auth.OtpUseCase, while a change to server.src.use_case.user.auth.OtpUseCase can't break server.src.domain.interfaces.services.IMailService.
- Position
- Below the diagonal: server.src.use_case.user.auth.OtpUseCase uses a module listed above it, which is the healthy direction.
37→6 server.src.use_case.user.auth.OtpUseCase uses server.src.domain.interfaces.services.IValidatorService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.OtpUseCase uses a type in server.src.domain.interfaces.services.IValidatorService.
- The types involved
server.src.use_case.user.auth.OtpUseCase.OtpUseCase→server.src.domain.interfaces.services.IValidatorService.IValidatorService
- Direction
- server.src.use_case.user.auth.OtpUseCase uses server.src.domain.interfaces.services.IValidatorService, so a change to server.src.domain.interfaces.services.IValidatorService can break server.src.use_case.user.auth.OtpUseCase, while a change to server.src.use_case.user.auth.OtpUseCase can't break server.src.domain.interfaces.services.IValidatorService.
- Position
- Below the diagonal: server.src.use_case.user.auth.OtpUseCase uses a module listed above it, which is the healthy direction.
37→12 server.src.use_case.user.auth.OtpUseCase uses server.src.domain.entities.IUser✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.OtpUseCase uses a type in server.src.domain.entities.IUser.
- The types involved
server.src.use_case.user.auth.OtpUseCase.OtpUseCase→server.src.domain.entities.IUser.IUserProfile
- Direction
- server.src.use_case.user.auth.OtpUseCase uses server.src.domain.entities.IUser, so a change to server.src.domain.entities.IUser can break server.src.use_case.user.auth.OtpUseCase, while a change to server.src.use_case.user.auth.OtpUseCase can't break server.src.domain.entities.IUser.
- Position
- Below the diagonal: server.src.use_case.user.auth.OtpUseCase uses a module listed above it, which is the healthy direction.
37→13 server.src.use_case.user.auth.OtpUseCase uses server.src.domain.interfaces.services.ITokenService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.OtpUseCase uses a type in server.src.domain.interfaces.services.ITokenService.
- The types involved
server.src.use_case.user.auth.OtpUseCase.OtpUseCase→server.src.domain.interfaces.services.ITokenService.ITokenService
- Direction
- server.src.use_case.user.auth.OtpUseCase uses server.src.domain.interfaces.services.ITokenService, so a change to server.src.domain.interfaces.services.ITokenService can break server.src.use_case.user.auth.OtpUseCase, while a change to server.src.use_case.user.auth.OtpUseCase can't break server.src.domain.interfaces.services.ITokenService.
- Position
- Below the diagonal: server.src.use_case.user.auth.OtpUseCase uses a module listed above it, which is the healthy direction.
37→28 server.src.use_case.user.auth.OtpUseCase uses server.src.use_case.admin.SigninUseCase✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.OtpUseCase uses a type in server.src.use_case.admin.SigninUseCase.
- The types involved
server.src.use_case.user.auth.OtpUseCase.OtpUseCase→server.src.use_case.admin.SigninUseCase.Payload
- Direction
- server.src.use_case.user.auth.OtpUseCase uses server.src.use_case.admin.SigninUseCase, so a change to server.src.use_case.admin.SigninUseCase can break server.src.use_case.user.auth.OtpUseCase, while a change to server.src.use_case.user.auth.OtpUseCase can't break server.src.use_case.admin.SigninUseCase.
- Position
- Below the diagonal: server.src.use_case.user.auth.OtpUseCase uses a module listed above it, which is the healthy direction.
38→1 server.src.use_case.user.auth.SigninUseCase uses server.src.domain.interfaces.repositories.IOtpRepository✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.SigninUseCase uses a type in server.src.domain.interfaces.repositories.IOtpRepository.
- The types involved
server.src.use_case.user.auth.SigninUseCase.SigninUseCase→server.src.domain.interfaces.repositories.IOtpRepository.IOtpRepository
- Direction
- server.src.use_case.user.auth.SigninUseCase uses server.src.domain.interfaces.repositories.IOtpRepository, so a change to server.src.domain.interfaces.repositories.IOtpRepository can break server.src.use_case.user.auth.SigninUseCase, while a change to server.src.use_case.user.auth.SigninUseCase can't break server.src.domain.interfaces.repositories.IOtpRepository.
- Position
- Below the diagonal: server.src.use_case.user.auth.SigninUseCase uses a module listed above it, which is the healthy direction.
38→2 server.src.use_case.user.auth.SigninUseCase uses server.src.domain.interfaces.repositories.IUserRepository✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.SigninUseCase uses a type in server.src.domain.interfaces.repositories.IUserRepository.
- The types involved
server.src.use_case.user.auth.SigninUseCase.SigninUseCase→server.src.domain.interfaces.repositories.IUserRepository.IUserRepository
- Direction
- server.src.use_case.user.auth.SigninUseCase uses server.src.domain.interfaces.repositories.IUserRepository, so a change to server.src.domain.interfaces.repositories.IUserRepository can break server.src.use_case.user.auth.SigninUseCase, while a change to server.src.use_case.user.auth.SigninUseCase can't break server.src.domain.interfaces.repositories.IUserRepository.
- Position
- Below the diagonal: server.src.use_case.user.auth.SigninUseCase uses a module listed above it, which is the healthy direction.
38→3 server.src.use_case.user.auth.SigninUseCase uses server.src.domain.interfaces.services.IHashService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.SigninUseCase uses a type in server.src.domain.interfaces.services.IHashService.
- The types involved
server.src.use_case.user.auth.SigninUseCase.SigninUseCase→server.src.domain.interfaces.services.IHashService.IHashService
- Direction
- server.src.use_case.user.auth.SigninUseCase uses server.src.domain.interfaces.services.IHashService, so a change to server.src.domain.interfaces.services.IHashService can break server.src.use_case.user.auth.SigninUseCase, while a change to server.src.use_case.user.auth.SigninUseCase can't break server.src.domain.interfaces.services.IHashService.
- Position
- Below the diagonal: server.src.use_case.user.auth.SigninUseCase uses a module listed above it, which is the healthy direction.
38→4 server.src.use_case.user.auth.SigninUseCase uses server.src.domain.interfaces.services.IMailService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.SigninUseCase uses a type in server.src.domain.interfaces.services.IMailService.
- The types involved
server.src.use_case.user.auth.SigninUseCase.SigninUseCase→server.src.domain.interfaces.services.IMailService.IMailService
- Direction
- server.src.use_case.user.auth.SigninUseCase uses server.src.domain.interfaces.services.IMailService, so a change to server.src.domain.interfaces.services.IMailService can break server.src.use_case.user.auth.SigninUseCase, while a change to server.src.use_case.user.auth.SigninUseCase can't break server.src.domain.interfaces.services.IMailService.
- Position
- Below the diagonal: server.src.use_case.user.auth.SigninUseCase uses a module listed above it, which is the healthy direction.
38→6 server.src.use_case.user.auth.SigninUseCase uses server.src.domain.interfaces.services.IValidatorService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.SigninUseCase uses a type in server.src.domain.interfaces.services.IValidatorService.
- The types involved
server.src.use_case.user.auth.SigninUseCase.SigninUseCase→server.src.domain.interfaces.services.IValidatorService.IValidatorService
- Direction
- server.src.use_case.user.auth.SigninUseCase uses server.src.domain.interfaces.services.IValidatorService, so a change to server.src.domain.interfaces.services.IValidatorService can break server.src.use_case.user.auth.SigninUseCase, while a change to server.src.use_case.user.auth.SigninUseCase can't break server.src.domain.interfaces.services.IValidatorService.
- Position
- Below the diagonal: server.src.use_case.user.auth.SigninUseCase uses a module listed above it, which is the healthy direction.
38→13 server.src.use_case.user.auth.SigninUseCase uses server.src.domain.interfaces.services.ITokenService✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.SigninUseCase uses a type in server.src.domain.interfaces.services.ITokenService.
- The types involved
server.src.use_case.user.auth.SigninUseCase.SigninUseCase→server.src.domain.interfaces.services.ITokenService.ITokenService
- Direction
- server.src.use_case.user.auth.SigninUseCase uses server.src.domain.interfaces.services.ITokenService, so a change to server.src.domain.interfaces.services.ITokenService can break server.src.use_case.user.auth.SigninUseCase, while a change to server.src.use_case.user.auth.SigninUseCase can't break server.src.domain.interfaces.services.ITokenService.
- Position
- Below the diagonal: server.src.use_case.user.auth.SigninUseCase uses a module listed above it, which is the healthy direction.
38→28 server.src.use_case.user.auth.SigninUseCase uses server.src.use_case.admin.SigninUseCase✕
- Connections
- 1 pair of types, where a type in server.src.use_case.user.auth.SigninUseCase uses a type in server.src.use_case.admin.SigninUseCase.
- The types involved
server.src.use_case.user.auth.SigninUseCase.SigninUseCase→server.src.use_case.admin.SigninUseCase.Payload
- Direction
- server.src.use_case.user.auth.SigninUseCase uses server.src.use_case.admin.SigninUseCase, so a change to server.src.use_case.admin.SigninUseCase can break server.src.use_case.user.auth.SigninUseCase, while a change to server.src.use_case.user.auth.SigninUseCase can't break server.src.use_case.admin.SigninUseCase.
- Position
- Below the diagonal: server.src.use_case.user.auth.SigninUseCase uses a module listed above it, which is the healthy direction.
39→7 web.lib uses server.src.types✕
- Connections
- 1 pair of types, where a type in web.lib uses a type in server.src.types.
- The types involved
web.lib.utils→server.src.types.UserRole
- Direction
- web.lib uses server.src.types, so a change to server.src.types can break web.lib, while a change to web.lib can't break server.src.types.
- Position
- Below the diagonal: web.lib uses a module listed above it, which is the healthy direction.
39→19 web.lib uses server.src.use_case.user.GetProfileUseCase✕
- Connections
- 1 pair of types, where a type in web.lib uses a type in server.src.use_case.user.GetProfileUseCase.
- The types involved
web.lib.index→server.src.use_case.user.GetProfileUseCase.Params
- Direction
- web.lib uses server.src.use_case.user.GetProfileUseCase, so a change to server.src.use_case.user.GetProfileUseCase can break web.lib, while a change to web.lib can't break server.src.use_case.user.GetProfileUseCase.
- Position
- Below the diagonal: web.lib uses a module listed above it, which is the healthy direction.
39→34 web.lib uses web.types.api✕
- Connections
- 5 pairs of types, where a type in web.lib uses a type in web.types.api.
- The types involved
web.lib.index→web.types.api.DeleteParamsweb.lib.index→web.types.api.GetParamsweb.lib.index→web.types.api.PatchParamsweb.lib.index→web.types.api.PostParamsweb.lib.index→web.types.api.PutParams
- Direction
- web.lib uses web.types.api, so a change to web.types.api can break web.lib, while a change to web.lib can't break web.types.api.
- Position
- Below the diagonal: web.lib uses a module listed above it, which is the healthy direction.
40→20 server.src.presentation.controllers.user.AuthControllers uses server.src.use_case.user.auth.ResetPasswordUseCase✕
- Connections
- 1 pair of types, where a type in server.src.presentation.controllers.user.AuthControllers uses a type in server.src.use_case.user.auth.ResetPasswordUseCase.
- The types involved
server.src.presentation.controllers.user.AuthControllers.AuthControllers→server.src.use_case.user.auth.ResetPasswordUseCase.ResetPasswordUseCase
- Direction
- server.src.presentation.controllers.user.AuthControllers uses server.src.use_case.user.auth.ResetPasswordUseCase, so a change to server.src.use_case.user.auth.ResetPasswordUseCase can break server.src.presentation.controllers.user.AuthControllers, while a change to server.src.presentation.controllers.user.AuthControllers can't break server.src.use_case.user.auth.ResetPasswordUseCase.
- Position
- Below the diagonal: server.src.presentation.controllers.user.AuthControllers uses a module listed above it, which is the healthy direction.
40→31 server.src.presentation.controllers.user.AuthControllers uses server.src.use_case.user.auth.OAuthUseCase✕
- Connections
- 1 pair of types, where a type in server.src.presentation.controllers.user.AuthControllers uses a type in server.src.use_case.user.auth.OAuthUseCase.
- The types involved
server.src.presentation.controllers.user.AuthControllers.AuthControllers→server.src.use_case.user.auth.OAuthUseCase.OAuthUseCase
- Direction
- server.src.presentation.controllers.user.AuthControllers uses server.src.use_case.user.auth.OAuthUseCase, so a change to server.src.use_case.user.auth.OAuthUseCase can break server.src.presentation.controllers.user.AuthControllers, while a change to server.src.presentation.controllers.user.AuthControllers can't break server.src.use_case.user.auth.OAuthUseCase.
- Position
- Below the diagonal: server.src.presentation.controllers.user.AuthControllers uses a module listed above it, which is the healthy direction.
40→32 server.src.presentation.controllers.user.AuthControllers uses server.src.use_case.user.auth.SignupUseCase✕
- Connections
- 1 pair of types, where a type in server.src.presentation.controllers.user.AuthControllers uses a type in server.src.use_case.user.auth.SignupUseCase.
- The types involved
server.src.presentation.controllers.user.AuthControllers.AuthControllers→server.src.use_case.user.auth.SignupUseCase.SignupUseCase
- Direction
- server.src.presentation.controllers.user.AuthControllers uses server.src.use_case.user.auth.SignupUseCase, so a change to server.src.use_case.user.auth.SignupUseCase can break server.src.presentation.controllers.user.AuthControllers, while a change to server.src.presentation.controllers.user.AuthControllers can't break server.src.use_case.user.auth.SignupUseCase.
- Position
- Below the diagonal: server.src.presentation.controllers.user.AuthControllers uses a module listed above it, which is the healthy direction.
40→37 server.src.presentation.controllers.user.AuthControllers uses server.src.use_case.user.auth.OtpUseCase✕
- Connections
- 1 pair of types, where a type in server.src.presentation.controllers.user.AuthControllers uses a type in server.src.use_case.user.auth.OtpUseCase.
- The types involved
server.src.presentation.controllers.user.AuthControllers.AuthControllers→server.src.use_case.user.auth.OtpUseCase.OtpUseCase
- Direction
- server.src.presentation.controllers.user.AuthControllers uses server.src.use_case.user.auth.OtpUseCase, so a change to server.src.use_case.user.auth.OtpUseCase can break server.src.presentation.controllers.user.AuthControllers, while a change to server.src.presentation.controllers.user.AuthControllers can't break server.src.use_case.user.auth.OtpUseCase.
- Position
- Below the diagonal: server.src.presentation.controllers.user.AuthControllers uses a module listed above it, which is the healthy direction.
40→38 server.src.presentation.controllers.user.AuthControllers uses server.src.use_case.user.auth.SigninUseCase✕
- Connections
- 1 pair of types, where a type in server.src.presentation.controllers.user.AuthControllers uses a type in server.src.use_case.user.auth.SigninUseCase.
- The types involved
server.src.presentation.controllers.user.AuthControllers.AuthControllers→server.src.use_case.user.auth.SigninUseCase.SigninUseCase
- Direction
- server.src.presentation.controllers.user.AuthControllers uses server.src.use_case.user.auth.SigninUseCase, so a change to server.src.use_case.user.auth.SigninUseCase can break server.src.presentation.controllers.user.AuthControllers, while a change to server.src.presentation.controllers.user.AuthControllers can't break server.src.use_case.user.auth.SigninUseCase.
- Position
- Below the diagonal: server.src.presentation.controllers.user.AuthControllers 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 | 55 | High / Critical |
| A05:2025 — Injection | 48 | High / Critical |
| A07:2025 — Authentication Failures | 1 | High / Critical |
Roadmap
First, strengthen data protection by centralizing key management in a dedicated vault and encrypting the most sensitive columns to eliminate coverage gaps. Next, resolve the thirty high-severity dependency vulnerabilities identified in the lock file to secure the supply chain. Then, formalize access controls by defining roles and permissions in a single, testable location rather than scattering them across the codebase. Finally, address the two static analysis findings related to workspace configuration and unpinned actions to ensure build stability and security.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Strengthen data-at-rest protection: vault your keys (AWS KMS / Secrets Manager, Azure Key Vault, GCP KMS / Secret Manager, HashiCorp Vault) and encrypt the most sensitive columns (typeorm-encrypted, prisma-field-encryption, mongoose-field-encryption or MongoDB CSFLE) — partial coverage still leaves gaps. | +6.0 pts | Medium | Data Protection |
| Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. | +2.3 pts | Low | Static Analysis (SAST) |
| Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. | +2.3 pts | Low | Static Analysis (SAST) |
| Resolve the 9 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (8), REDACTED. | +2.3 pts | Low | Dependency Vulnerabilities |
| Resolve the 30 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (30). | +4.5 pts | Medium | Dependency Vulnerabilities |
| Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. | +2.2 pts | Low | Secret Scanning |
| Name the access rules — roles/permissions declared once (a @Roles/@Permissions decorator with its guard, a CASL ability, a casbin model, or Supabase CREATE POLICY) and consulted where access is checked, so the rule set is reviewable and testable on its own. | +3.3 pts | Medium | Access Controls |
| Resolve the 2 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (2). | +1.4 pts | Low | Dependency Hygiene |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 0.5 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.0 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.5 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.0 | Mixed | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.8 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 6.3 | Near-clean | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 6.3 | Near-clean | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 6.9 | Near-clean | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 7.2 | Near-clean | Secret Scanning: Leaked secret: REDACTED |
| REDACTED | 7.2 | Near-clean | Static Analysis (SAST): High: REDACTED |
| server/src/index.ts | 7.3 | Near-clean | Explicit Debt: TodoComment |
| web/components/forms/elements/MultipleSelector.tsx | 7.8 | Near-clean | Cyclomatic Complexity: MultipleSelector.MultipleSelector (cyclomatic 78) |
| server/src/use_case/admin/SigninUseCase.ts | 8.2 | Near-clean | Explicit Debt: TodoComment |
| server/src/infrastructure/repositories/OtpRepository.ts | 8.5 | Near-clean | Code Coverage: Low coverage: server/src/infrastructure/repositories/OtpRepository.ts |
| server/src/infrastructure/repositories/UserRepository.ts | 8.5 | Near-clean | Code Coverage: Low coverage: server/src/infrastructure/repositories/UserRepository.ts |
| server/src/infrastructure/services/MailService.ts | 8.5 | Near-clean | Code Coverage: Low coverage: server/src/infrastructure/services/MailService.ts |
| server/src/infrastructure/services/OAuthService.ts | 8.5 | Near-clean | Code Coverage: Low coverage: server/src/infrastructure/services/OAuthService.ts |
| server/src/infrastructure/services/TokenService.ts | 8.5 | Near-clean | Code Coverage: Low coverage: server/src/infrastructure/services/TokenService.ts |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 78 of 82 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 4 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 82 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, 256 of 305 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-contributor repository — bus factor is not applicable (1 contributor(s) across 187 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: it declares a published package (server/package.json), but no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published REDACTED's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D44 Platform End-of-Life — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, a .go-version, .java-version, .ruby-version, .tool-versions or .sdkmanrc, a go.mod go directive, a Maven or Gradle Java level or toolchain, a Gemfile's ruby directive, a mix.exs elixir requirement, a rebar.config minimum_otp_vsn, a pubspec.yaml SDK constraint, a build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a Dockerfile) is simply not read here yet.
- AX1 Captive dependencies — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads Microsoft.Extensions.DependencyInjection registrations in C# and Spring beans in Java/Kotlin only, and this repository's container is InversifyJS, whose lifetimes are not modelled yet, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DevServer (dev). the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence.
- DM9 Scattered domain decisions — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Arm two tells a construction that PRODUCES a measurement from one that merely passes it along, and this repository's frontend does not compute that fact. A measurement built independently in two places would not appear above.
- R4 Test Coverage — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 9 further occurrence(s) are not listed individually; the score already reflects all 49.
- S1 Web-Security Posture — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. 157 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled certificate validation and obsolete TLS versions, and none was found. The server controls this dimension also scores were not assessed, so no score is given.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D8 Code Coverage: Coverage is measured by building and running the test suite inside Watchdog's isolated image — the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- 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.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- 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.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
1 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was MultipleSelector.MultipleSelector at 78.
What to do
- Bring the 1 body over 15 down to 15 or less in Cyclomatic Complexity — start with MultipleSelector.MultipleSelector (cyclomatic 78). — Refactoring it lifts Cyclomatic Complexity from 8.2 to about 10.0/10.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
1 method(s) exceeded the cognitive complexity threshold of 15; the worst was MultipleSelector.MultipleSelector at 76.
What to do
- Bring the 1 body over 15 down to 15 or less in Cognitive Complexity — start with MultipleSelector.MultipleSelector (cognitive 76). — Refactoring it lifts Cognitive Complexity from 8.2 to about 10.0/10.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
0 god class(es) detected.
D5 · Coupling
2 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 0 module(s) off the main sequence.
D6 · Cohesion (LCOM4)
0 of 9 classes have LCOM4 above 3.
D8 · Code Coverage
Line coverage 72.9% — 6 file(s) below 50%. Measured from the JavaScript/TypeScript suite (jest via `pnpm install --frozen-lockfile --ignore-scripts` in server/).
What to do
- Resolve the 6 Low coverage finding(s) in Code Coverage — start with OtpRepository.ts, UserRepository.ts, MailService.ts. — One of this dimension's main actionable groups (6 warning-level).
- Enforce Code Coverage in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
50 test methods: 50 unit, 0 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 50 `it`/`test` case(s) across 5 test file(s) declaring at least one; its tier split is read from package names and paths only.
D10 · Test Quality
0 skipped, 0 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 50 tests.
D11 · Test Reliability
0 flaky across 1 measured tier(s). JavaScript/TypeScript (jest via `pnpm install --frozen-lockfile --ignore-scripts` in server/ (50 tests)): measured (0 flaky).
D12 · Dependency Hygiene
42 outdated direct production npm dependency(ies) of 48 graded, 0 pinning defect(s), across 3 REDACTED (3 of them the product) and 1 committed lockfile(s). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 2 direct dependency(ies) — production, development or optional — are marked DEPRECATED by their publisher (the registry's per-version mark, or the lockfile's copy of it when the registry could not be asked); deprecated transitive packages are listed but not charged. Whether any is UNMAINTAINED is not graded — the registry publishes no maintenance status, and release age does not stand in for one. Whether any is UNUSED is not graded either: that is a source question, and the frontend dependency lens (R8) answers it in this same run. Known CVEs in this dependency graph are D30's question, read from the manifest there.
What to do
- Resolve the 2 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (2). — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 2 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (2). — One of this dimension's main actionable groups (2 recommendation-level).
- Resolve the 2 Outdated (npm) finding(s) in Dependency Hygiene — start with REDACTED (2). — One of this dimension's main actionable groups (2 recommendation-level).
D13 · Secret Scanning
1 secret(s) detected.
What to do
- Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 48 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 48 production dependency(ies) this repository's committed lockfile resolves, across 3 product REDACTED manifest(s). Its 25 `devDependencies` declaration(s) are excluded: a consumer installs none of them. ★ DEPTH: this is the DIRECT production set the lockfile resolves, NOT the transitive closure — only one of the four lock dialects this pass reads states a full graph, so a banned licence pulled in only by a dependency's OWN dependencies is outside this verdict, exactly as the JVM arm's declaration-site verdict is. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry. This repository publishes itself under ISC, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
3 deducted task-comment markers across 6855 LoC (0.0/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 3 TodoComment finding(s) in Explicit Debt — start with REDACTED (2), SigninUseCase.ts. — One of this dimension's main actionable groups (3 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's root README is a comprehensive single document covering the project as a whole: it states what the project is (a production-ready authentication template built with clean architecture principles and modern technologies), shows licensing badges, links to live documentation and npm package, and describes the template's features (modern web development practices, security, scalability, maintainability). It also gives an overview of the Quick Start CLI flow ('Install the CLI', 'Create a New Project'), and lists every section in the full document outline. The only visible gap is that the README itself does not show installation/build steps for the project's source code (the CLI install is shown but no build or setup), so it is borderline on the edge of missing-installation, which would be minor given the body is clipped.
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D23 · Boundary Type-Coupling
No domain types leak across context boundaries (2 contexts).
D26 · Project Cohesion
1 of 2 build units (npm) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Split web finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
48 finding(s): 0 critical, 26 high, 22 medium, 0 low. 21 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens.
What to do
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- No action in Static Analysis (SAST) — all 21 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (21 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
55 finding(s): 9 critical, 30 high, 12 medium, 4 low.
What to do
- Resolve the 30 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (30). — One of this dimension's main actionable groups (30 issue-level).
- Resolve the 9 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (8), REDACTED. — One of this dimension's main actionable groups (9 issue-level).
- Resolve the 11 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (11). — One of this dimension's main actionable groups (11 warning-level).
D34 · Knowledge Freshness
29 of 29 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is web/components/forms/elements/MultipleSelector.tsx. Counted over 29 of the 163 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 28 Orphaned file finding(s) in Knowledge Freshness — start with ValidatorService.ts, select.tsx, CustomFileInput.tsx. — One of this dimension's main actionable groups (28 recommendation-level).
- Resolve the 1 Dormant codebase finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Most significant orphaned file finding(s) in Knowledge Freshness — start with MultipleSelector.tsx. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
Frontend & cross-cutting dimensions
AC2 · Forms & labels
- A button with no text and no aria-label has no accessible name. Add visible text or an aria-label (an icon-only button still needs one). — web/components/forms/elements/CustomFileInput.tsx:133
- This UI-library field component has no label / aria-label / aria-labelledby / id, and nothing it renders carries one either (a name prop is the form-submission key, not a label). The text inside it does not stand in for one: these compound APIs render a trigger with role="combobox" (or role="button"), and those roles take their name from the AUTHOR, not from their content — so the words on screen never reach the accessibility tree as a name. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed. — web/components/forms/elements/CustomRadioGroup.tsx:46
- This UI-library field component is named only by a placeholder — a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed. — web/components/forms/elements/CustomSelect.tsx:34
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. Wrap the primary content in <main>. — REDACTED:2
- A page with no <title> gives no name in the tab, history or screen-reader page list. Declare it the way this router does — Next App Router `export const metadata = { title }`, React Router/Remix `export function meta`, TanStack Start `head`, or a Helmet/Head component. — web/app/layout.tsx:14
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
AC5 · ARIA correctness
AC6 · Visual & motion safety
- `.footer` sets color: #6c757d on background-color: #f8f9fa — 4.4:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them. — REDACTED:8
- <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). (×2) — web/components/forms/elements/MultipleSelector.tsx:527, web/components/forms/elements/MultipleSelector.tsx:625
- <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). — web/components/ui/input.tsx:7
- <textarea> 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). — web/components/ui/textarea.tsx:7
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 62 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.
What to do
- Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y, then assert with jest-axe 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
C1 · Data Protection
What to do
- Strengthen data-at-rest protection: vault your keys (AWS KMS / Secrets Manager, Azure Key Vault, GCP KMS / Secret Manager, HashiCorp Vault) and encrypt the most sensitive columns (typeorm-encrypted, prisma-field-encryption, mongoose-field-encryption or MongoDB CSFLE) — partial coverage still leaves gaps.
- Enforce HTTPS (serve through https.createServer / NestJS httpsOptions, or redirect plain HTTP with express-sslify behind your TLS terminator) so data in transit is always encrypted.
C2 · Access Controls
- Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) — this is NOT a claim that endpoints are unprotected. What's missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can't be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect.
What to do
- Name the access rules — roles/permissions declared once (a @Roles/@Permissions decorator with its guard, a CASL ability, a casbin model, or Supabase CREATE POLICY) and consulted where access is checked, so the rule set is reviewable and testable on its own.
DM6 · Domain ↔ infrastructure boundary
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.
- Add a README to the 2 of 2 project(s) that lack one — worth up to 2 pts.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
- `prettier --write .` (the `format` script this step runs) invokes prettier in the mode that REWRITES the files it reformats and exits 0 whatever it changed. The rewrite happens inside the runner's throwaway checkout and is then discarded, so the step passes on a badly-formatted change exactly as it passes on a clean one — it enforces nothing, and no other step in this file reads the result. `--check` is the flag that turns the same invocation into a gate: it leaves the files alone and exits non-zero when anything would have been reformatted. — REDACTED:135
What to do
- Add `--check` to the prettier step in `REDACTED` so a change that is not formatted fails CI, instead of being silently reformatted into a checkout that is thrown away — or, if reformatting the branch is the intent, commit the result back so the fix reaches the repository.
P10 · Library API & versioning
P2 · Observability
- Only 1/2 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `web`.
What to do
- Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
- Add OpenTelemetry tracing/metrics (@opentelemetry/sdk-node) so requests are traceable across the system, not just health-probable.
P3 · Security & performance tooling
- No static application security testing detected. For this repository's stack, add CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security as a CI step. What was searched, so you can tell an absence from a miss: the 5249 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P9 · Domain vs controller coverage
What to do
- Raise domain coverage toward 100% — cover the remaining aggregates / value objects / domain services where the business invariants and costly bugs live.
PF3 · Async & latency hygiene
R1 · Type Safety
R10 · Code Duplication
- web/components/ui/alert-dialog.tsx:9 · web/components/ui/dialog.tsx:13 — the two spans are one implementation copied and then locally edited — 379 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. — web/components/ui/alert-dialog.tsx:9
- web/components/forms/SigninForm.tsx:35 · web/components/forms/SignupForm.tsx:31 — the two spans are one implementation copied and then locally edited — 219 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. — web/components/forms/SigninForm.tsx:35
- server/src/presentation/middlewares/AdminAuthMiddleware.ts:12 · server/src/presentation/middlewares/UserAuthMiddleware.ts:12 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — server/src/presentation/middlewares/AdminAuthMiddleware.ts:12
- web/hooks/api/user/auth/useOAuthSignIn.ts:21 · web/hooks/api/user/auth/useVerifyOtp.ts:19 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — web/hooks/api/user/auth/useOAuthSignIn.ts:21
- server/src/types/index.ts:13 · web/types/api/index.ts:8 — the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — server/src/types/index.ts:13
- server/src/presentation/controllers/admin/AuthController.ts:18 · server/src/presentation/controllers/user/AuthControllers.ts:75 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — server/src/presentation/controllers/admin/AuthController.ts:18
- server/src/use_case/admin/UpdateUserUseCase.ts:9 · server/src/use_case/user/UpdateProfileUseCase.ts:9 — the two spans are one implementation copied and then locally edited — 141 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. — server/src/use_case/admin/UpdateUserUseCase.ts:9
- server/src/use_case/user/auth/OAuthUseCase.ts:60 · server/src/use_case/user/auth/OtpUseCase.ts:59 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — server/src/use_case/user/auth/OAuthUseCase.ts:60
- web/components/ui/alert-dialog.tsx:52 · web/components/ui/alert.tsx:28 · web/components/ui/card.tsx:32 · web/components/ui/dialog.tsx:60 — the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — web/components/ui/alert-dialog.tsx:52
- server/src/presentation/controllers/user/AuthControllers.ts:27 · server/src/presentation/controllers/user/AuthControllers.ts:49 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — server/src/presentation/controllers/user/AuthControllers.ts:27
- web/components/ui/select.tsx:122 · web/components/ui/select.tsx:137 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — web/components/ui/select.tsx:122
- server/src/use_case/user/auth/OtpUseCase.ts:31 · server/src/use_case/user/auth/ResetPasswordUseCase.ts:52 — the two spans are one implementation copied and then locally edited — 90 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. — server/src/use_case/user/auth/OtpUseCase.ts:31
- web/components/ui/alert-dialog.tsx:60 · web/components/ui/alert.tsx:28 · web/components/ui/card.tsx:37 · web/components/ui/command.tsx:107 · +1 more site(s) not listed — the 5 copies are spread across 5 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — web/components/ui/alert-dialog.tsx:60
- server/src/domain/entities/CustomErrors.ts:15 · server/src/domain/entities/CustomErrors.ts:27 · server/src/domain/entities/CustomErrors.ts:39 — all 3 copies are in the same file, and each CITED SPAN is a SPECIALISATION DECLARATION — a type whose `extends` clause names a base and whose body hands that base its own values through `super(…)`. The shared module this dimension usually asks you to extract already exists: it is that base, every one of these sites already reaches it, and the `super(…)` call this row matched on is where each site passes its differences in. So do not read this as an extract-a-helper row — there is no missing helper, and what is left at each site is the declaration of one distinct specialisation, which cannot be deleted without deleting the thing it declares. Read what actually differs between the spans, because two different answers follow. Where the sites differ only in the values they hand the base — a type argument, a service, an alias, a cache — the repetition is a TEMPLATE, and the only moves that collapse it are to generate these declarations from the set they enumerate or to replace the repeated construction with one factory each site calls with its own values; where that set is the point, each site pinning one distinct thing, the repetition IS the enumeration and there is nothing to remove. Where instead a span carries logic OUTSIDE the delegation that is the same at every site, that logic is the part to move, and its home is the base type rather than a new module. Reported because the copies still drift apart the first time only one of them is edited. — server/src/domain/entities/CustomErrors.ts:15
- web/hooks/api/user/auth/useResendOtp.ts:13 · web/hooks/api/user/auth/useSignup.ts:18 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — web/hooks/api/user/auth/useResendOtp.ts:13
- server/src/presentation/controllers/admin/AdminConroller.ts:2 · server/src/presentation/controllers/user/ProfileController.ts:2 · server/src/use_case/user/auth/SignupUseCase.ts:4 — the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — server/src/presentation/controllers/admin/AdminConroller.ts:2
- web/components/ui/avatar.tsx:1 · web/components/ui/label.tsx:1 · web/components/ui/switch.tsx:1 — the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — web/components/ui/avatar.tsx:1
- server/src/use_case/admin/SigninUseCase.ts:39 · server/src/use_case/user/auth/SigninUseCase.ts:64 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — server/src/use_case/admin/SigninUseCase.ts:39
- web/components/forms/elements/CustomRadioGroup.tsx:43 · web/components/forms/elements/CustomSelect.tsx:31 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — web/components/forms/elements/CustomRadioGroup.tsx:43
- web/components/forms/elements/OtpInput.tsx:66 · web/components/forms/elements/OtpInput.tsx:72 — the two spans are one implementation copied and then locally edited — 52 tokens are still identical, in the same order in both spans, 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. — web/components/forms/elements/OtpInput.tsx:66
- web/lib/api/index.ts:4 · web/lib/api/index.ts:28 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — web/lib/api/index.ts:4
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
R2 · Cyclomatic Complexity
- (anonymous) has cyclomatic complexity 18 and cognitive complexity 15; 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. — web/components/forms/elements/MultipleSelector.tsx:558
- FormFieldWrapper has cyclomatic complexity 14 and cognitive complexity 11; 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. — web/components/forms/elements/FormFieldWrapper.tsx:24
- (top-level) has cyclomatic complexity 11 and cognitive complexity 10; 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. — REDACTED:1
R3 · Large Files
- web/components/forms/elements/MultipleSelector.tsx has 673 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — web/components/forms/elements/MultipleSelector.tsx:1
What to do
- Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R4 · Test Coverage
- server/jest.config.js declares environment "node", and no package here declares a DOM implementation (jsdom / happy-dom), a component testing library or a browser runner — so none of the 63 unreached component module(s) can be tested as written, however the suite is authored: web/components/forms/elements/MultipleSelector.tsx, web/components/ui/select.tsx, web/components/forms/elements/CustomFileInput.tsx, web/components/ui/form.tsx, web/components/ui/command.tsx, web/components/ui/alert-dialog.tsx and 57 more. Add a DOM environment and a component testing library (for example jsdom + @testing-library, or the runner's browser mode), then test the components. Reported once because these files share one cause, not one omission each. — server/jest.config.js:1
- No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL — if neither does, no test reaches this one. (×39) — server/src/utils/logger.ts:1, web/types/api/index.ts:1, web/lib/utils.ts:1, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R6 · Tooling
R7 · Dead Code
- Unreachable from the 17 application, 4 tooling and 12 test entry point(s) detected in this repo. Gate removals on `pnpm run build` — an undetected custom entry would make these reachable.
- no import path from any entry point (17 application, 4 tooling, 12 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 (×13) — web/components/forms/elements/MultipleSelector.tsx, web/components/forms/elements/CustomFileInput.tsx, web/components/ui/form.tsx, …
- no import path from any entry point (17 application, 4 tooling, 12 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/components/forms/elements/CustomSelect.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 — web/components/ui/select.tsx
- no import path from any entry point (17 application, 4 tooling, 12 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/components/forms/elements/MultipleSelector.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 — web/components/ui/command.tsx
- no import path from any entry point (17 application, 4 tooling, 12 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/components/forms/elements/CustomRadioGroup.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 — web/components/ui/radio-group.tsx
- no import path from any entry point (17 application, 4 tooling, 12 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/components/forms/elements/CustomCheckbox.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 — web/components/ui/checkbox.tsx
- no import path from any entry point (17 application, 4 tooling, 12 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/components/forms/elements/CustomSwitch.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 — web/components/ui/switch.tsx
- no import path from any entry point (17 application, 4 tooling, 12 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/components/ui/form.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 — web/components/ui/label.tsx
- no import path from any entry point (17 application, 4 tooling, 12 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (web/components/forms/elements/CustomTextArea.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 — web/components/ui/textarea.tsx
- Nothing imports this binding — it is safe to review for removal. (×3) — REDACTED:18, server/src/domain/entities/CustomErrors.ts:19, server/src/domain/interfaces/services/IMailService.ts:13
- Nothing ultimately consumes this binding: its only referrer is the re-export in web/app/layout.tsx, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in web/app/layout.tsx in the same commit, or the barrel will import a name that no longer exists. — web/app/metadata.ts:3
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
R9 · Circular Imports
- server/src/di/controllers.ts → server/src/di/index.ts → server/src/di/controllers.ts (one verified cycle inside a mutually-dependent group of 22 files) — server/src/di/controllers.ts:2
- web/types/api/index.ts → web/types/index.ts → web/types/api/index.ts — web/types/api/index.ts:6
What to do
- Break each cycle by extracting the shared piece into a module both sides can import.
X1 · Async correctness
X12 · Unreachable branch
X13 · Undrained process stream
X14 · Bypassable address classification
X15 · Unvalidated length from an untrusted reader
X16 · Unfloored truncation loop
X17 · Uncapped recursion over a caller-supplied document
X18 · Disposal-pattern correctness
X19 · Unrestored process-global state
X2 · Cancellation propagation
- Only 0/1 async functions that make a cancellable request (fetch, axios, ky, ofetch) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up — a page navigated away from, an unmounted component, a timed-out job. Take a `signal` (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice — judge against how the function is used.
- `refreshAuthLogic` awaits `axios.post(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `axios.post(url, { signal })`. — web/lib/api/createApiInstance.ts:29
What to do
- Thread an AbortSignal through async functions that make requests, so the work stops when its caller gives up.
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X4 · Structured logging
X5 · Nullable reference types
- ~6.1 `!` null assertions per 1k TypeScript source lines — 47 assertion(s) across the 7764 source line(s) of the 157 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: server/src/use_case/user/auth/OtpUseCase.ts (7), server/src/use_case/user/auth/OAuthUseCase.ts (6), server/src/use_case/admin/UpdateUserUseCase.ts (5). 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 | 60% | Adequate — gated by R7 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 68% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 62% | Adequate — gated by D34 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 48% | Adequate — gated by R4, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 39% | Weak — gated by D29, D30, C1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 100% | Exemplary | Strongest area. |
| Accessibility | 46% | Adequate — gated by 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
- D36 Supply-chain Provenance & Signing — 2 observation(s) recorded · The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
- X10 Duplicated predicate — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 6 control(s) we could not find positive evidence for
- C3 Audit Trail — Repo shows no audit-logging mechanism (an audit-log table or model, an ORM write hook that records changes — a TypeORM/MikroORM subscriber, a Sequelize or Mongoose hook, Prisma middleware — or a change-history plugin such as mongoose-history or sequelize-paper-trail) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- 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 — 50 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 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
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — the dev server did not expose a crawlable HTTP endpoint in time — no runtime evidence This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- 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.
- D20 ADR Quality — N/A — this repo declares itself a template / kata / sample / demo; a formal ADR log is deferred to a real application built from it.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.ts,.tsx), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- 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.
- 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.
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- 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
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P7 Outbound HTTP resilience — no outbound HTTP usage detected — no HTTP client call or construction in the JavaScript/TypeScript source (service entry point: server/src/index.ts:10 (express()))
- 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
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a REDACTED, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- R5 Dependency Freshness — uses a pnpm 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: 157 JavaScript/TypeScript file(s) were read for weak hashes and ciphers, key material fixed in the source, disabled TLS certificate validation and obsolete TLS versions, and none was found. That half of the dimension is clean, but it is not scored on its own: a C# repository with the same clean reading is scored on its server controls as well, or is N/A for having no web surface, and neither can be decided here. The server controls — HTTPS enforcement, HSTS, cookie flags, input validation — are NOT assessed for JavaScript/TypeScript: each is scored as an absence, an absence is only reportable over the production HTTP server, and in this ecosystem the file that opens the port is build output or a framework launcher rather than a file in the source tree. Their absence here is not a finding about this repository.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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.
- 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 — 70 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Import cycle (2 files) server/src/di/controllers.ts:2
- Import cycle (2 files) web/types/api/index.ts:6
- <button> with no accessible text web/components/forms/elements/CustomFileInput.tsx:133
- Document without a <title> web/app/layout.tsx:14
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
Serious — 145 finding(s)
- No test reaches this file server/src/utils/logger.ts:1
- No test reaches this file web/types/api/index.ts:1
- No test reaches this file web/lib/utils.ts:1
- No test reaches this file web/lib/api/createApiInstance.ts:1
- No test reaches this file web/lib/api/index.ts:1
- No test reaches this file web/hooks/store/auth/useAuthUser.ts:1
- No test reaches this file web/hooks/api/user/auth/useOAuthSignIn.ts:1
- No test reaches this file web/hooks/api/user/auth/useVerifyOtp.ts:1
- No test reaches this file web/hooks/store/auth/useAuthAdmin.ts:1
- No test reaches this file web/lib/schema.ts:1
- No test reaches this file web/hooks/api/user/auth/useSignin.ts:1
- No test reaches this file web/hooks/api/admin/auth/useSignin.ts:1
- No test reaches this file web/hooks/api/user/auth/useSignup.ts:1
- No test reaches this file web/hooks/api/admin/useUpdateUser.ts:1
- No test reaches this file web/hooks/api/user/auth/useForgotPassword.ts:1
- No test reaches this file web/hooks/api/admin/auth/useLogout.ts:1
- No test reaches this file web/hooks/api/user/auth/useLogout.ts:1
- No test reaches this file web/hooks/api/user/useUpdateProfile.ts:1
- No test reaches this file web/hooks/api/user/auth/useResendOtp.ts:1
- No test reaches this file web/hooks/api/admin/useToggleBlock.ts:1
- No test reaches this file web/hooks/api/user/auth/useResetPassword.ts:1
- No test reaches this file server/src/index.ts:1
- No test reaches this file server/src/presentation/middlewares/RateLimiterMiddleware.ts:1
- No test reaches this file web/types/index.ts:1
- No test reaches this file REDACTED:1
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Low coverage: server/src/infrastructure/repositories/OtpRepository.ts server/src/infrastructure/repositories/OtpRepository.ts:1
- Low coverage: server/src/infrastructure/repositories/UserRepository.ts server/src/infrastructure/repositories/UserRepository.ts:1
- Low coverage: server/src/infrastructure/services/MailService.ts server/src/infrastructure/services/MailService.ts:1
- Low coverage: server/src/infrastructure/services/OAuthService.ts server/src/infrastructure/services/OAuthService.ts:1
- Low coverage: server/src/infrastructure/services/TokenService.ts server/src/infrastructure/services/TokenService.ts:1
- Low coverage: server/src/infrastructure/services/ValidatorService.ts server/src/infrastructure/services/ValidatorService.ts:1
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Focus outline removed inline web/components/forms/elements/MultipleSelector.tsx:527
- Focus outline removed inline web/components/forms/elements/MultipleSelector.tsx:625
- Focus outline removed inline web/components/ui/input.tsx:7
- Focus outline removed inline web/components/ui/textarea.tsx:7
- TodoComment server/src/index.ts:27
- TodoComment server/src/index.ts:28
- TodoComment server/src/use_case/admin/SigninUseCase.ts:8
- Deprecated: next REDACTED:36
- Deprecated: eslint REDACTED:53
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (18 lines × 2 locations) server/src/presentation/controllers/admin/AuthController.ts:18
- Duplicated block (18 lines × 2 locations) server/src/use_case/user/auth/OAuthUseCase.ts:60
- Duplicated block (14 lines × 2 locations) server/src/presentation/controllers/user/AuthControllers.ts:27
- Duplicated block (14 lines × 2 locations) web/components/ui/select.tsx:122
- Duplicated block (9 lines × 3 locations) server/src/presentation/controllers/admin/AdminConroller.ts:2
- Duplicated block (9 lines × 3 locations) web/components/ui/avatar.tsx:1
- Duplicated block (8 lines × 2 locations) server/src/use_case/admin/SigninUseCase.ts:39
- Duplicated block (8 lines × 2 locations) web/components/forms/elements/CustomRadioGroup.tsx:43
- Dead file (~28 LoC) web/components/ui/separator.tsx
- Dead file (~28 LoC) web/components/ui/switch.tsx
- Dead file (~18 LoC) web/components/ui/textarea.tsx
- Dead file (~18 LoC) web/components/user/auth/forgot-password/LoadingState.tsx
- <RadioGroup> field component without a label web/components/forms/elements/CustomRadioGroup.tsx:46
- <Select> field component without a label web/components/forms/elements/CustomSelect.tsx:34
- Page without a main landmark REDACTED:2
- Low contrast colour pair in CSS (4.4:1) REDACTED:8
- Accessibility enforcement below the top rung
- MultipleSelector.MultipleSelector (cyclomatic 78) web/components/forms/elements/MultipleSelector.tsx:220
- MultipleSelector.MultipleSelector (cognitive 76) web/components/forms/elements/MultipleSelector.tsx:220
- REDACTED
- CI formatting step cannot fail REDACTED:135
- Duplicated block with local edits (73 matched lines × 2 locations) web/components/ui/alert-dialog.tsx:9
- Duplicated block with local edits (49 matched lines × 2 locations) web/components/forms/SigninForm.tsx:35
- Duplicated block (33 lines × 2 locations) server/src/presentation/middlewares/AdminAuthMiddleware.ts:12
- Duplicated block (30 lines × 2 locations) web/hooks/api/user/auth/useOAuthSignIn.ts:21
- Duplicated block (20 lines × 2 locations) server/src/types/index.ts:13
- Duplicated block with local edits (18 matched lines × 2 locations) server/src/use_case/admin/UpdateUserUseCase.ts:9
- Duplicated block (17 lines × 4 locations) web/components/ui/alert-dialog.tsx:52
- Duplicated block with local edits (12 matched lines × 2 locations) server/src/use_case/user/auth/OtpUseCase.ts:31
- Duplicated block (12 lines × 5 locations) web/components/ui/alert-dialog.tsx:60
- Duplicated block (10 lines × 3 locations) server/src/domain/entities/CustomErrors.ts:15
- Duplicated block (10 lines × 2 locations) web/hooks/api/user/auth/useResendOtp.ts:13
- Duplicated block with local edits (7 matched lines × 2 locations) web/components/forms/elements/OtpInput.tsx:66
- Duplicated block (5 lines × 2 locations) web/lib/api/index.ts:4
- Complex function (anonymous) (cyclomatic 18, cognitive 15) web/components/forms/elements/MultipleSelector.tsx:558
- Complex function FormFieldWrapper (cyclomatic 14, cognitive 11) web/components/forms/elements/FormFieldWrapper.tsx:24
- Complex function (top-level) (cyclomatic 11, cognitive 10) REDACTED:1
- web/components/forms/elements/MultipleSelector.tsx: 673 lines of code web/components/forms/elements/MultipleSelector.tsx:1
- No test rig can mount a component in this workspace server/jest.config.js:1
- Dead file (~718 LoC) web/components/forms/elements/MultipleSelector.tsx
- Dead file (~163 LoC) web/components/ui/select.tsx
- Dead file (~150 LoC) web/components/forms/elements/CustomFileInput.tsx
- Dead file (~143 LoC) web/components/ui/form.tsx
- Dead file (~133 LoC) web/components/ui/command.tsx
- Dead file (~87 LoC) web/components/forms/elements/CustomRadioGroup.tsx
- Dead file (~58 LoC) web/components/forms/elements/CustomSelect.tsx
- Dead file (~55 LoC) web/components/ui/alert.tsx
- Dead file (~50 LoC) web/components/forms/elements/CustomSwitch.tsx
- Dead file (~48 LoC) web/components/ui/tabs.tsx
- Dead file (~47 LoC) web/components/forms/elements/CustomCheckbox.tsx
- Dead file (~41 LoC) web/components/forms/elements/CustomTextArea.tsx
- Dead file (~35 LoC) web/components/ui/radio-group.tsx
- Dead file (~29 LoC) web/components/ui/checkbox.tsx
- Dead file (~21 LoC) web/components/ui/label.tsx
- Dead file (~0 LoC) server/src/utils/generateOtp.ts
- Async function without AbortSignal: refreshAuthLogic web/lib/api/createApiInstance.ts:29
Minor — 50 finding(s)
- Orphaned file server/src/infrastructure/services/ValidatorService.ts:1
- Orphaned file web/components/ui/select.tsx:1
- Orphaned file web/components/forms/elements/CustomFileInput.tsx:1
- Orphaned file web/components/ui/command.tsx:1
- Orphaned file web/components/admin/UserTable.tsx:1
- Orphaned file web/components/layout/Navbar.tsx:1
- Orphaned file web/components/ui/dialog.tsx:1
- Orphaned file web/components/ui/alert-dialog.tsx:1
- Orphaned file web/components/ui/form.tsx:1
- Orphaned file web/components/forms/elements/OtpInput.tsx:1
- Orphaned file web/components/forms/OtpVerificationForm.tsx:1
- Orphaned file server/src/presentation/controllers/user/AuthControllers.ts:1
- Orphaned file server/src/use_case/user/auth/ResetPasswordUseCase.ts:1
- Orphaned file web/components/forms/elements/CustomRadioGroup.tsx:1
- Orphaned file web/components/dialogs/ForgotPasswordDialog.tsx:1
- Orphaned file server/src/utils/logger.ts:1
- Orphaned file web/components/user/auth/forgot-password/ResetPasswordForm.tsx:1
- Orphaned file web/components/LoadingOverlay.tsx:1
- Orphaned file server/src/use_case/user/auth/OtpUseCase.ts:1
- Orphaned file server/src/use_case/user/auth/SigninUseCase.ts:1
- Orphaned file web/components/forms/SigninForm.tsx:1
- Orphaned file web/components/forms/elements/FormFieldWrapper.tsx:1
- Orphaned file web/components/forms/SignupForm.tsx:1
- Orphaned file web/lib/utils.ts:1
- Orphaned file web/components/user/Profile.tsx:1
- REDACTED
- REDACTED
- REDACTED
- Deprecated: glob REDACTED:3250
- Deprecated: inflight REDACTED:3396
- Outdated (npm): nodemailer server/package.json:28
- Outdated (npm): rate-limiter-flexible server/package.json:29
- No named authorization policies
- Split web
- REDACTED
- Dormant codebase
- Most significant orphaned file web/components/forms/elements/MultipleSelector.tsx:1
- No ADRs
- Logging is not universal
- No SAST
- Unused export 'COMPANY_DOMAIN' REDACTED:18
- Unused export 'BadRequestError' server/src/domain/entities/CustomErrors.ts:19
- Unused export 'EmailType' server/src/domain/interfaces/services/IMailService.ts:13
- Unused export 'metadata' web/app/metadata.ts:3
- Duplicated predicate server/src/presentation/middlewares/AdminAuthMiddleware.ts:15
- Not all async functions that make a request accept an AbortSignal
- Null assertions (`!`) reduce the strict null checking score
Minor — 40 finding(s)
- Outdated (npm): @hookform/resolvers
- Outdated (npm): @radix-ui/react-alert-dialog
- Outdated (npm): @radix-ui/react-avatar
- Outdated (npm): @radix-ui/react-checkbox
- Outdated (npm): @radix-ui/react-dialog
- Outdated (npm): @radix-ui/react-label
- Outdated (npm): @radix-ui/react-radio-group
- Outdated (npm): @radix-ui/react-select
- Outdated (npm): @radix-ui/react-separator
- Outdated (npm): @radix-ui/react-slot
- Outdated (npm): @radix-ui/react-switch
- Outdated (npm): @radix-ui/react-tabs
- Outdated (npm): @radix-ui/react-toggle
- Outdated (npm): @tanstack/react-query
- Outdated (npm): axios
- Outdated (npm): axios-auth-refresh
- Outdated (npm): bcryptjs
- Outdated (npm): cors
- Outdated (npm): date-fns
- Outdated (npm): express
- Outdated (npm): firebase
- Outdated (npm): firebase-admin
- Outdated (npm): framer-motion
- Outdated (npm): helmet
- Outdated (npm): input-otp
Appendix B — Reproduction & audit trail
| Dimension | Tool | Version | Command | Findings | Raw output |
|---|---|---|---|---|---|
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-be55a40c0d3e42f69d862b5736c86508/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-be55a40c0d3e42f69d862b5736c86508/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 48 | 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 | 55 | 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 | — |
| 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 |