Executive summary
soybeanjs/soybean-admin-nestjs scores 28 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 19 and is rated Critical. Its REDACTED Scanning dimension scores 0 out of 10, and until that reaches 4, Production Readiness can't be rated higher than Adequate. The first actions are to resolve the 7 Deprecated finding(s) in Dependency Hygiene and to resolve the 5 Outdated (npm) finding(s) in Dependency Hygiene, and if Production Readiness rose to 70, the score would rise from 28 to about 35.
108 findings are critical: 57 in Dependency Vulnerabilities, 18 in Domain ↔ infrastructure boundary, 17 in REDACTED Scanning, five in Static Analysis (SAST), three in Secrets (history), two in Text alternatives, one in Circular Imports, one in Dependency Hygiene, one in Forms & labels, one in IaC & Container Security, one in Keyboard semantics and one in Page structure.
Watchdog couldn't measure 4 dimensions in this code, among them Test Reliability, Navigability and Platform End-of-Life, so they are left out of the score. The product code is 29,674 lines, which would take an estimated 0.3 person-years, around €39,000, to rebuild.
If Production Readiness rose from 19 to 70, the lowest score rated Strong, the score would rise from 28 to about 35.
New since the last survey: 95 findings
- Dependency Hygiene · Deprecated: crypto-js REDACTED
- Dependency Hygiene · Deprecated: eslint REDACTED
- Dependency Hygiene · Deprecated: supertest REDACTED
- Dependency Hygiene · Deprecated: vue-i18n REDACTED
- Dependency Hygiene · Deprecated: eslint REDACTED
- Dependency Hygiene · Deprecated: crypto-js REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- REDACTED Scanning · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Large Files · frontend/packages/color/src/constant/name.ts: 1578 lines of code frontend/packages/color/src/constant/name.ts
- Large Files · backend/libs/infra/casbin/src/services/authz.service.ts: 920 lines of code backend/libs/infra/casbin/src/services/authz.service.ts
- Large Files · backend/libs/infra/casbin/src/services/authz-management.service.ts: 639 lines of code backend/libs/infra/casbin/src/services/authz-management.service.ts
- Large Files · backend/libs/infra/casbin/src/services/authz-api.ts: 453 lines of code backend/libs/infra/casbin/src/services/authz-api.ts
- Large Files · frontend/src/locales/langs/en-us.ts: 424 lines of code frontend/src/locales/langs/en-us.ts
- Large Files · frontend/src/locales/langs/zh-cn.ts: 424 lines of code frontend/src/locales/langs/zh-cn.ts
- Large Files · frontend/src/views/manage/menu/modules/menu-operate-modal.vue: 403 lines of code frontend/src/views/manage/menu/modules/menu-operate-modal.vue
- Web-Security Posture · Weak hash algorithm backend/libs/infra/guard/src/api-key/services/complex-api-key.service.ts
- Web-Security Posture · Weak hash algorithm backend/libs/infra/guard/src/api-key/services/complex-api-key.service.ts
- Exception handling · Swallowed exception (empty catch) backend/apps/base-system/src/api/iam/rest/authentication.controller.ts
- Exception handling · Swallowed exception (empty catch) backend/apps/base-system/src/api/iam/rest/authentication.controller.ts
- Exception handling · Swallowed exception (empty catch) frontend/packages/utils/src/storage.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: access_key.model backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/access_key.model.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: access_key.read.model backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/access_key.read.model.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: access_key-created.event backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/events/access_key-created.event.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: access_key-deleted.event backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/events/access_key-deleted.event.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: user.read.model backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/user.read.model.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: user backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/user.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: domain-create.command.handler backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-create.command.handler.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: domain-create.command.handler backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-create.command.handler.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: domain-delete.command.handler backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-delete.command.handler.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: domain-update.command.handler backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-update.command.handler.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: domain-update.command.handler backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-update.command.handler.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: domain.model backend/apps/base-system/src/lib/bounded-contexts/iam/domain/domain/domain.model.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: domain.read.model backend/apps/base-system/src/lib/bounded-contexts/iam/domain/domain/domain.read.model.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: page-domains.query backend/apps/base-system/src/lib/bounded-contexts/iam/domain/queries/page-domains.query.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: menu.model backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.model.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: menu.read.model backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.read.model.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: role.model backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/role.model.ts
- Domain ↔ infrastructure boundary · Domain depends on infrastructure: role.read.model backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/role.read.model.ts
- Constructible invalid state · Constructible in an invalid state: ApiEndpoint backend/apps/base-system/src/lib/bounded-contexts/api-endpoint/api-endpoint/domain/api-endpoint.model.ts
- Visual & motion safety · Animation without a prefers-reduced-motion guard frontend/src/components/common/reload-button.vue
- Visual & motion safety · Animation without a prefers-reduced-motion guard frontend/src/plugins/loading.ts
- Visual & motion safety · Animation without a prefers-reduced-motion guard frontend/src/styles/css/nprogress.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard frontend/src/styles/css/transition.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard frontend/src/styles/css/transition.css
- Visual & motion safety · Animation without a prefers-reduced-motion guard frontend/src/styles/css/transition.css
- Async & latency hygiene · Sync-over-async blocking frontend/packages/scripts/src/commands/router.ts
- Async & latency hygiene · Sync-over-async blocking frontend/packages/scripts/src/commands/router.ts
Fixed since the last survey: 258 findings
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Code Duplication · Duplicated block (15 lines × 6 locations) backend/apps/base-system/src/lib/bounded-contexts/access-key/application/command-handlers/access_key-delete.command.handler.ts
- Code Duplication · Duplicated block (15 lines × 2 locations) backend/libs/infra/casbin/src/adapter/casbin-prisma.adapter.ts
- Code Duplication · Duplicated block (15 lines × 3 locations) frontend/src/layouts/modules/global-menu/modules/reversed-horizontal-mix-menu.vue
- Code Duplication · Duplicated block (15 lines × 3 locations) frontend/src/views/access-key/modules/access-key-operate-drawer.vue
- Code Duplication · Duplicated block (14 lines × 2 locations) backend/apps/base-system/src/api/endpoint/dto/page-endpoint.dto.ts
- Code Duplication · Duplicated block (14 lines × 2 locations) backend/apps/base-system/src/api/iam/dto/assign-permission.dto.ts
- Code Duplication · Duplicated block (14 lines × 2 locations) backend/apps/base-system/src/api/iam/dto/domain.dto.ts
- Code Duplication · Duplicated block (14 lines × 2 locations) backend/apps/base-system/src/api/log-audit/login-log/dto/page-login-log.dto.ts
- Code Duplication · Duplicated block (14 lines × 2 locations) backend/libs/infra/crypto/src/services/crypto.service.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) backend/apps/base-system/src/infra/bounded-contexts/iam/menu/repository/menu.read.pg.repository.ts
- Code Duplication · Duplicated block (13 lines × 6 locations) backend/apps/base-system/src/lib/bounded-contexts/access-key/access_key.module.ts
- Code Duplication · Duplicated block (13 lines × 9 locations) backend/apps/base-system/src/lib/bounded-contexts/access-key/access_key.module.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) backend/apps/base-system/src/lib/bounded-contexts/access-key/application/event-handlers/access_key-created.event.handler.ts
- Code Duplication · Duplicated block (13 lines × 3 locations) backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/command-handlers/user-create.command.handler.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-create.command.handler.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) backend/apps/base-system/src/lib/bounded-contexts/iam/role/application/command-handlers/role-create.command.handler.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) backend/libs/infra/casbin/src/guards/authz.guard.ts
- Code Duplication · Duplicated block (13 lines × 2 locations) backend/libs/infra/casbin/src/services/authz-api.ts
- Code Duplication · Duplicated block with local edits (13 matched lines × 2 locations) backend/libs/shared/ip2region/src/ip2region.ts
- Code Duplication · Duplicated block (12 lines × 2 locations) backend/apps/base-demo/src/main.ts
- Code Duplication · Duplicated block (12 lines × 2 locations) backend/apps/base-system/src/api/iam/rest/authentication.controller.ts
- Code Duplication · Duplicated block (12 lines × 5 locations) backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-create.command.handler.ts
- Code Duplication · Duplicated block (12 lines × 5 locations) backend/libs/infra/casbin/src/services/authz-api.ts
- Code Duplication · Duplicated block (12 lines × 3 locations) backend/libs/infra/casbin/src/services/authz-api.ts
- Code Duplication · Duplicated block (12 lines × 2 locations) frontend/src/layouts/base-layout/index.vue
- Code Duplication · Duplicated block (12 lines × 4 locations) frontend/src/views/access-key/modules/access-key-search.vue
- Code Duplication · Duplicated block (11 lines × 7 locations) backend/apps/base-system/src/lib/bounded-contexts/api-endpoint/api-endpoint/application/query-handlers/endpoints.by-ids.query.handler.ts
- Code Duplication · Duplicated block (11 lines × 2 locations) frontend/packages/materials/src/libs/page-tab/button-tab.vue
- Code Duplication · Duplicated block (11 lines × 5 locations) frontend/src/views/access-key/modules/access-key-search.vue
- Code Duplication · Duplicated block (10 lines × 2 locations) backend/apps/base-system/src/api/access-key/dto/access_key.dto.ts
- Code Duplication · Duplicated block (10 lines × 2 locations) backend/apps/base-system/src/api/iam/dto/page-domains.dto.ts
- Code Duplication · Duplicated block (10 lines × 5 locations) backend/apps/base-system/src/infra/bounded-contexts/access-key/repository/access_key.read.pg.repository.ts
- Code Duplication · Duplicated block (10 lines × 5 locations) backend/apps/base-system/src/infra/bounded-contexts/iam/authentication/repository/user.write.pg.repository.ts
- Code Duplication · Duplicated block (10 lines × 6 locations) backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/event-handlers/domain-deleted.event.handler.ts
- Code Duplication · Duplicated block (10 lines × 2 locations) backend/libs/infra/crypto/src/services/crypto.service.ts
- Code Duplication · Duplicated block (9 lines × 3 locations) backend/apps/base-system/src/api/endpoint/rest/endpoint.controller.ts
- Code Duplication · Duplicated block (9 lines × 2 locations) backend/libs/infra/casbin/src/services/authz-management.service.ts
- Code Duplication · Duplicated block (9 lines × 2 locations) frontend/src/views/home/modules/pie-chart.vue
- Code Duplication · Duplicated block (8 lines × 3 locations) backend/apps/base-system/src/api/access-key/dto/page-access_key.dto.ts
- Code Duplication · Duplicated block (8 lines × 10 locations) backend/apps/base-system/src/infra/bounded-contexts/access-key/repository/access_key.write.pg.repository.ts
- Code Duplication · Duplicated block (8 lines × 4 locations) backend/apps/base-system/src/lib/bounded-contexts/api-endpoint/api-endpoint/application/query-handlers/endpoints.query.handler.ts
- Code Duplication · Duplicated block (8 lines × 2 locations) frontend/packages/axios/src/index.ts
- Code Duplication · Duplicated block (7 lines × 4 locations) backend/apps/base-system/src/api/access-key/dto/page-access_key.dto.ts
- Code Duplication · Duplicated block with local edits (6 matched lines × 2 locations) backend/apps/base-system/src/api/iam/rest/authentication.controller.ts
- Code Duplication · Duplicated block with local edits (6 matched lines × 2 locations) backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/service/authentication.service.ts
- Code Duplication · Duplicated block with local edits (5 matched lines × 2 locations) backend/apps/base-system/src/infra/bounded-contexts/iam/menu/repository/menu.read.pg.repository.ts
- Test Coverage · No test reaches this file frontend/src/layouts/base-layout/index.vue
- Test Coverage · No test reaches this file frontend/src/views/home/modules/pie-chart.vue
- Test Coverage · No test reaches this file frontend/src/hooks/common/form.ts
- Test Coverage · No test reaches this file frontend/packages/hooks/src/use-context.ts
- Test Coverage · No test reaches this file frontend/src/views/manage/role/modules/role-operate-drawer.vue
- Test Coverage · No test reaches this file frontend/packages/color/src/shared/colord.ts
- Test Coverage · No test reaches this file frontend/src/views/manage/role/modules/menu-auth-modal.vue
- Test Coverage · No test reaches this file frontend/src/views/access-key/modules/access-key-operate-drawer.vue
- Test Coverage · No test reaches this file frontend/packages/scripts/src/commands/router.ts
- Test Coverage · No test reaches this file frontend/src/layouts/modules/global-search/components/search-modal.vue
- Test Coverage · No test reaches this file frontend/src/views/log/login/index.vue
- Test Coverage · No test reaches this file backend/libs/bootstrap/src/swagger/init-doc.swagger.ts
- Test Coverage · No test reaches this file frontend/packages/scripts/src/commands/git-commit.ts
- Test Coverage · No test reaches this file frontend/src/layouts/context/index.ts
- Test Coverage · No test reaches this file backend/prisma/seeds/sys/casbinRule.ts
- Test Coverage · No test reaches this file frontend/packages/scripts/src/locales/index.ts
- Test Coverage · No test reaches this file frontend/src/components/custom/count-to.vue
- Test Coverage · No test reaches this file frontend/packages/hooks/src/use-request.ts
- Test Coverage · No test reaches this file frontend/src/views/manage/menu/modules/shared.ts
Rebuild cost: about €39,000 · Estimate
| Cost to rebuild | €13,000 to €65,000, for 217 to 689 hours of work, about 0.3 person-years for one engineer |
|---|---|
| Difficulty of the problem | High, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 28. 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 | Medium: 29,674 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture — module dependency graph
Architecture: which parts of the code depend on which
| uses → | 1 apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_write_repo-port | 2 apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model | 3 apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_write_repo-port | 4 apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model | 5 apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_write_repo-port | 6 apps.base-system.src.lib.bounded-contexts.iam.menu.ports.menu_read_repo-port | 7 apps.base-system.src.lib.bounded-contexts.iam.menu.ports.menu_write_repo-port | 8 apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_write_repo-port | 9 apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model | 10 libs.infra.guard.src.api-key.services.api-key_interface | 11 libs.infra.rest.src.pagination-params | 12 libs.infra.rest.src.res_response | 13 libs.shared.prisma.src.pagination | 14 libs.shared.prisma.src.prisma_service | 15 apps.base-system.src.api.access-key.rest.access_key_controller | 16 apps.base-system.src.api.endpoint.rest.endpoint_controller | 17 apps.base-system.src.api.iam.rest.domain_controller | 18 apps.base-system.src.api.iam.rest.role_controller | 19 apps.base-system.src.api.iam.rest.user_controller | 20 apps.base-system.src.api.log-audit.login-log.rest.login-log_controller | 21 apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller | 22 apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query | 23 apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port | 24 apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service | 25 apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port | 26 apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port | 27 apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port | 28 apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port | 29 apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port | 30 apps.base-system.src.api.iam.rest.authorization_controller | 31 apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository | 32 apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository | 33 apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository | 34 apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository | 35 apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository | 36 apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository | 37 apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port | 38 apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler | 39 apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository | 40 apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_write_repo-port | ||||||||||||||||||||||||||||||||||||||||
| 2 apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model | ||||||||||||||||||||||||||||||||||||||||
| 3 apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_write_repo-port | ||||||||||||||||||||||||||||||||||||||||
| 4 apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model | ||||||||||||||||||||||||||||||||||||||||
| 5 apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_write_repo-port | ||||||||||||||||||||||||||||||||||||||||
| 6 apps.base-system.src.lib.bounded-contexts.iam.menu.ports.menu_read_repo-port | ||||||||||||||||||||||||||||||||||||||||
| 7 apps.base-system.src.lib.bounded-contexts.iam.menu.ports.menu_write_repo-port | ||||||||||||||||||||||||||||||||||||||||
| 8 apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_write_repo-port | ||||||||||||||||||||||||||||||||||||||||
| 9 apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model | ||||||||||||||||||||||||||||||||||||||||
| 10 libs.infra.guard.src.api-key.services.api-key_interface | ||||||||||||||||||||||||||||||||||||||||
| 11 libs.infra.rest.src.pagination-params | ||||||||||||||||||||||||||||||||||||||||
| 12 libs.infra.rest.src.res_response | ||||||||||||||||||||||||||||||||||||||||
| 13 libs.shared.prisma.src.pagination | ||||||||||||||||||||||||||||||||||||||||
| 14 libs.shared.prisma.src.prisma_service | ||||||||||||||||||||||||||||||||||||||||
| 15 apps.base-system.src.api.access-key.rest.access_key_controller | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 16 apps.base-system.src.api.endpoint.rest.endpoint_controller | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 17 apps.base-system.src.api.iam.rest.domain_controller | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 18 apps.base-system.src.api.iam.rest.role_controller | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 19 apps.base-system.src.api.iam.rest.user_controller | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 20 apps.base-system.src.api.log-audit.login-log.rest.login-log_controller | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 21 apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 22 apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 24 apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service | 1 | |||||||||||||||||||||||||||||||||||||||
| 25 apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port | 1 | |||||||||||||||||||||||||||||||||||||||
| 28 apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port | 1 | |||||||||||||||||||||||||||||||||||||||
| 29 apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 apps.base-system.src.api.iam.rest.authorization_controller | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 31 apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 32 apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 33 apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 34 apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 35 apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 36 apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 37 apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 38 apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 39 apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 40 apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler | 1 | 1 | 1 |
15→12 apps.base-system.src.api.access-key.rest.access_key_controller uses libs.infra.rest.src.res_response✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.access-key.rest.access_key_controller uses a type in libs.infra.rest.src.res_response.
- The types involved
backend.apps.base-system.src.api.access-key.rest.access_key_controller.AccessKeyController→backend.libs.infra.rest.src.res_response.ApiRes
- Direction
- apps.base-system.src.api.access-key.rest.access_key_controller uses libs.infra.rest.src.res_response, so a change to libs.infra.rest.src.res_response can break apps.base-system.src.api.access-key.rest.access_key_controller, while a change to apps.base-system.src.api.access-key.rest.access_key_controller can't break libs.infra.rest.src.res_response.
- Position
- Below the diagonal: apps.base-system.src.api.access-key.rest.access_key_controller uses a module listed above it, which is the healthy direction.
15→13 apps.base-system.src.api.access-key.rest.access_key_controller uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.access-key.rest.access_key_controller uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.api.access-key.rest.access_key_controller.AccessKeyController→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.api.access-key.rest.access_key_controller uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.api.access-key.rest.access_key_controller, while a change to apps.base-system.src.api.access-key.rest.access_key_controller can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.api.access-key.rest.access_key_controller uses a module listed above it, which is the healthy direction.
16→2 apps.base-system.src.api.endpoint.rest.endpoint_controller uses apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.endpoint.rest.endpoint_controller uses a type in apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model.
- The types involved
backend.apps.base-system.src.api.endpoint.rest.endpoint_controller.EndpointController→backend.apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model.EndpointProperties
- Direction
- apps.base-system.src.api.endpoint.rest.endpoint_controller uses apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model, so a change to apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model can break apps.base-system.src.api.endpoint.rest.endpoint_controller, while a change to apps.base-system.src.api.endpoint.rest.endpoint_controller can't break apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model.
- Position
- Below the diagonal: apps.base-system.src.api.endpoint.rest.endpoint_controller uses a module listed above it, which is the healthy direction.
16→12 apps.base-system.src.api.endpoint.rest.endpoint_controller uses libs.infra.rest.src.res_response✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.endpoint.rest.endpoint_controller uses a type in libs.infra.rest.src.res_response.
- The types involved
backend.apps.base-system.src.api.endpoint.rest.endpoint_controller.EndpointController→backend.libs.infra.rest.src.res_response.ApiRes
- Direction
- apps.base-system.src.api.endpoint.rest.endpoint_controller uses libs.infra.rest.src.res_response, so a change to libs.infra.rest.src.res_response can break apps.base-system.src.api.endpoint.rest.endpoint_controller, while a change to apps.base-system.src.api.endpoint.rest.endpoint_controller can't break libs.infra.rest.src.res_response.
- Position
- Below the diagonal: apps.base-system.src.api.endpoint.rest.endpoint_controller uses a module listed above it, which is the healthy direction.
16→13 apps.base-system.src.api.endpoint.rest.endpoint_controller uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.endpoint.rest.endpoint_controller uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.api.endpoint.rest.endpoint_controller.EndpointController→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.api.endpoint.rest.endpoint_controller uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.api.endpoint.rest.endpoint_controller, while a change to apps.base-system.src.api.endpoint.rest.endpoint_controller can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.api.endpoint.rest.endpoint_controller uses a module listed above it, which is the healthy direction.
17→4 apps.base-system.src.api.iam.rest.domain_controller uses apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.iam.rest.domain_controller uses a type in apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model.
- The types involved
backend.apps.base-system.src.api.iam.rest.domain_controller.DomainController→backend.apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model.DomainProperties
- Direction
- apps.base-system.src.api.iam.rest.domain_controller uses apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model, so a change to apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model can break apps.base-system.src.api.iam.rest.domain_controller, while a change to apps.base-system.src.api.iam.rest.domain_controller can't break apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model.
- Position
- Below the diagonal: apps.base-system.src.api.iam.rest.domain_controller uses a module listed above it, which is the healthy direction.
17→12 apps.base-system.src.api.iam.rest.domain_controller uses libs.infra.rest.src.res_response✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.iam.rest.domain_controller uses a type in libs.infra.rest.src.res_response.
- The types involved
backend.apps.base-system.src.api.iam.rest.domain_controller.DomainController→backend.libs.infra.rest.src.res_response.ApiRes
- Direction
- apps.base-system.src.api.iam.rest.domain_controller uses libs.infra.rest.src.res_response, so a change to libs.infra.rest.src.res_response can break apps.base-system.src.api.iam.rest.domain_controller, while a change to apps.base-system.src.api.iam.rest.domain_controller can't break libs.infra.rest.src.res_response.
- Position
- Below the diagonal: apps.base-system.src.api.iam.rest.domain_controller uses a module listed above it, which is the healthy direction.
17→13 apps.base-system.src.api.iam.rest.domain_controller uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.iam.rest.domain_controller uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.api.iam.rest.domain_controller.DomainController→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.api.iam.rest.domain_controller uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.api.iam.rest.domain_controller, while a change to apps.base-system.src.api.iam.rest.domain_controller can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.api.iam.rest.domain_controller uses a module listed above it, which is the healthy direction.
18→12 apps.base-system.src.api.iam.rest.role_controller uses libs.infra.rest.src.res_response✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.iam.rest.role_controller uses a type in libs.infra.rest.src.res_response.
- The types involved
backend.apps.base-system.src.api.iam.rest.role_controller.RoleController→backend.libs.infra.rest.src.res_response.ApiRes
- Direction
- apps.base-system.src.api.iam.rest.role_controller uses libs.infra.rest.src.res_response, so a change to libs.infra.rest.src.res_response can break apps.base-system.src.api.iam.rest.role_controller, while a change to apps.base-system.src.api.iam.rest.role_controller can't break libs.infra.rest.src.res_response.
- Position
- Below the diagonal: apps.base-system.src.api.iam.rest.role_controller uses a module listed above it, which is the healthy direction.
18→13 apps.base-system.src.api.iam.rest.role_controller uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.iam.rest.role_controller uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.api.iam.rest.role_controller.RoleController→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.api.iam.rest.role_controller uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.api.iam.rest.role_controller, while a change to apps.base-system.src.api.iam.rest.role_controller can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.api.iam.rest.role_controller uses a module listed above it, which is the healthy direction.
19→12 apps.base-system.src.api.iam.rest.user_controller uses libs.infra.rest.src.res_response✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.iam.rest.user_controller uses a type in libs.infra.rest.src.res_response.
- The types involved
backend.apps.base-system.src.api.iam.rest.user_controller.UserController→backend.libs.infra.rest.src.res_response.ApiRes
- Direction
- apps.base-system.src.api.iam.rest.user_controller uses libs.infra.rest.src.res_response, so a change to libs.infra.rest.src.res_response can break apps.base-system.src.api.iam.rest.user_controller, while a change to apps.base-system.src.api.iam.rest.user_controller can't break libs.infra.rest.src.res_response.
- Position
- Below the diagonal: apps.base-system.src.api.iam.rest.user_controller uses a module listed above it, which is the healthy direction.
19→13 apps.base-system.src.api.iam.rest.user_controller uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.iam.rest.user_controller uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.api.iam.rest.user_controller.UserController→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.api.iam.rest.user_controller uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.api.iam.rest.user_controller, while a change to apps.base-system.src.api.iam.rest.user_controller can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.api.iam.rest.user_controller uses a module listed above it, which is the healthy direction.
20→12 apps.base-system.src.api.log-audit.login-log.rest.login-log_controller uses libs.infra.rest.src.res_response✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.log-audit.login-log.rest.login-log_controller uses a type in libs.infra.rest.src.res_response.
- The types involved
backend.apps.base-system.src.api.log-audit.login-log.rest.login-log_controller.LoginLogController→backend.libs.infra.rest.src.res_response.ApiRes
- Direction
- apps.base-system.src.api.log-audit.login-log.rest.login-log_controller uses libs.infra.rest.src.res_response, so a change to libs.infra.rest.src.res_response can break apps.base-system.src.api.log-audit.login-log.rest.login-log_controller, while a change to apps.base-system.src.api.log-audit.login-log.rest.login-log_controller can't break libs.infra.rest.src.res_response.
- Position
- Below the diagonal: apps.base-system.src.api.log-audit.login-log.rest.login-log_controller uses a module listed above it, which is the healthy direction.
20→13 apps.base-system.src.api.log-audit.login-log.rest.login-log_controller uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.log-audit.login-log.rest.login-log_controller uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.api.log-audit.login-log.rest.login-log_controller.LoginLogController→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.api.log-audit.login-log.rest.login-log_controller uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.api.log-audit.login-log.rest.login-log_controller, while a change to apps.base-system.src.api.log-audit.login-log.rest.login-log_controller can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.api.log-audit.login-log.rest.login-log_controller uses a module listed above it, which is the healthy direction.
21→9 apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller uses apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller uses a type in apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model.
- The types involved
backend.apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller.OperationLogController→backend.apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model.OperationLogProperties
- Direction
- apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller uses apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model, so a change to apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model can break apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller, while a change to apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller can't break apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model.
- Position
- Below the diagonal: apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller uses a module listed above it, which is the healthy direction.
21→12 apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller uses libs.infra.rest.src.res_response✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller uses a type in libs.infra.rest.src.res_response.
- The types involved
backend.apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller.OperationLogController→backend.libs.infra.rest.src.res_response.ApiRes
- Direction
- apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller uses libs.infra.rest.src.res_response, so a change to libs.infra.rest.src.res_response can break apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller, while a change to apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller can't break libs.infra.rest.src.res_response.
- Position
- Below the diagonal: apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller uses a module listed above it, which is the healthy direction.
21→13 apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller.OperationLogController→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller, while a change to apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.api.log-audit.operation-log.rest.operation-log_controller uses a module listed above it, which is the healthy direction.
22→11 apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query uses libs.infra.rest.src.pagination-params✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query uses a type in libs.infra.rest.src.pagination-params.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query.PageAccessKeysQuery→backend.libs.infra.rest.src.pagination-params.PaginationParams
- Direction
- apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query uses libs.infra.rest.src.pagination-params, so a change to libs.infra.rest.src.pagination-params can break apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query, while a change to apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query can't break libs.infra.rest.src.pagination-params.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query uses a module listed above it, which is the healthy direction.
23→2 apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port uses apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port uses a type in apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port.ApiEndpointReadRepoPort→backend.apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model.EndpointProperties
- Direction
- apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port uses apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model, so a change to apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model can break apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port, while a change to apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port can't break apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port uses a module listed above it, which is the healthy direction.
23→13 apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port.ApiEndpointReadRepoPort→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port, while a change to apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port uses a module listed above it, which is the healthy direction.
24→14 apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service uses libs.shared.prisma.src.prisma_service✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service uses a type in libs.shared.prisma.src.prisma_service.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service.AuthorizationService→backend.libs.shared.prisma.src.prisma_service.PrismaService
- Direction
- apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service uses libs.shared.prisma.src.prisma_service, so a change to libs.shared.prisma.src.prisma_service can break apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service, while a change to apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service can't break libs.shared.prisma.src.prisma_service.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service uses a module listed above it, which is the healthy direction.
25→13 apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port.UserReadRepoPort→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port, while a change to apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port uses a module listed above it, which is the healthy direction.
26→4 apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port uses apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port uses a type in apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port.DomainReadRepoPort→backend.apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model.DomainProperties
- Direction
- apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port uses apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model, so a change to apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model can break apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port, while a change to apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port can't break apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port uses a module listed above it, which is the healthy direction.
26→13 apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port.DomainReadRepoPort→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port, while a change to apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port uses a module listed above it, which is the healthy direction.
27→13 apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port.RoleReadRepoPort→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port, while a change to apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port uses a module listed above it, which is the healthy direction.
28→13 apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port.LoginLogReadRepoPort→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port, while a change to apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port uses a module listed above it, which is the healthy direction.
29→9 apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port uses apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port uses a type in apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port.OperationLogReadRepoPort→backend.apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model.OperationLogProperties
- Direction
- apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port uses apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model, so a change to apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model can break apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port, while a change to apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port can't break apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port uses a module listed above it, which is the healthy direction.
29→13 apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port.OperationLogReadRepoPort→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port, while a change to apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port uses a module listed above it, which is the healthy direction.
30→12 apps.base-system.src.api.iam.rest.authorization_controller uses libs.infra.rest.src.res_response✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.iam.rest.authorization_controller uses a type in libs.infra.rest.src.res_response.
- The types involved
backend.apps.base-system.src.api.iam.rest.authorization_controller.AuthorizationController→backend.libs.infra.rest.src.res_response.ApiRes
- Direction
- apps.base-system.src.api.iam.rest.authorization_controller uses libs.infra.rest.src.res_response, so a change to libs.infra.rest.src.res_response can break apps.base-system.src.api.iam.rest.authorization_controller, while a change to apps.base-system.src.api.iam.rest.authorization_controller can't break libs.infra.rest.src.res_response.
- Position
- Below the diagonal: apps.base-system.src.api.iam.rest.authorization_controller uses a module listed above it, which is the healthy direction.
30→24 apps.base-system.src.api.iam.rest.authorization_controller uses apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.api.iam.rest.authorization_controller uses a type in apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service.
- The types involved
backend.apps.base-system.src.api.iam.rest.authorization_controller.AuthorizationController→backend.apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service.AuthorizationService
- Direction
- apps.base-system.src.api.iam.rest.authorization_controller uses apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service, so a change to apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service can break apps.base-system.src.api.iam.rest.authorization_controller, while a change to apps.base-system.src.api.iam.rest.authorization_controller can't break apps.base-system.src.lib.bounded-contexts.iam.authentication.application.service.authorization_service.
- Position
- Below the diagonal: apps.base-system.src.api.iam.rest.authorization_controller uses a module listed above it, which is the healthy direction.
31→2 apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses a type in apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository.ApiEndpointReadRepository→backend.apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model.EndpointProperties
- Direction
- apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model, so a change to apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model can break apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository can't break apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses a module listed above it, which is the healthy direction.
31→13 apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository.ApiEndpointReadRepository→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses a module listed above it, which is the healthy direction.
31→14 apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses libs.shared.prisma.src.prisma_service✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses a type in libs.shared.prisma.src.prisma_service.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository.ApiEndpointReadRepository→backend.libs.shared.prisma.src.prisma_service.PrismaService
- Direction
- apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses libs.shared.prisma.src.prisma_service, so a change to libs.shared.prisma.src.prisma_service can break apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository can't break libs.shared.prisma.src.prisma_service.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses a module listed above it, which is the healthy direction.
31→23 apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses a type in apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository.ApiEndpointReadRepository→backend.apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port.ApiEndpointReadRepoPort
- Direction
- apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port, so a change to apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port can break apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository can't break apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.api-endpoint.api-endpoint.repository.api-endpoint_read_pg_repository uses a module listed above it, which is the healthy direction.
32→13 apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository.UserReadRepository→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository uses a module listed above it, which is the healthy direction.
32→14 apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository uses libs.shared.prisma.src.prisma_service✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository uses a type in libs.shared.prisma.src.prisma_service.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository.UserReadRepository→backend.libs.shared.prisma.src.prisma_service.PrismaService
- Direction
- apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository uses libs.shared.prisma.src.prisma_service, so a change to libs.shared.prisma.src.prisma_service can break apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository can't break libs.shared.prisma.src.prisma_service.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository uses a module listed above it, which is the healthy direction.
32→25 apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository uses a type in apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository.UserReadRepository→backend.apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port.UserReadRepoPort
- Direction
- apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port, so a change to apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port can break apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository can't break apps.base-system.src.lib.bounded-contexts.iam.authentication.ports.user_read_repo-port.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.iam.authentication.repository.user_read_pg_repository uses a module listed above it, which is the healthy direction.
33→4 apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses a type in apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository.DomainReadRepository→backend.apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model.DomainProperties
- Direction
- apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model, so a change to apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model can break apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository can't break apps.base-system.src.lib.bounded-contexts.iam.domain.domain.domain_read_model.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses a module listed above it, which is the healthy direction.
33→13 apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository.DomainReadRepository→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses a module listed above it, which is the healthy direction.
33→14 apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses libs.shared.prisma.src.prisma_service✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses a type in libs.shared.prisma.src.prisma_service.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository.DomainReadRepository→backend.libs.shared.prisma.src.prisma_service.PrismaService
- Direction
- apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses libs.shared.prisma.src.prisma_service, so a change to libs.shared.prisma.src.prisma_service can break apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository can't break libs.shared.prisma.src.prisma_service.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses a module listed above it, which is the healthy direction.
33→26 apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses a type in apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository.DomainReadRepository→backend.apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port.DomainReadRepoPort
- Direction
- apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port, so a change to apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port can break apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository can't break apps.base-system.src.lib.bounded-contexts.iam.domain.ports.domain_read_repo-port.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.iam.domain.repository.domain_read_pg_repository uses a module listed above it, which is the healthy direction.
34→13 apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository.RoleReadPostgresRepository→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository uses a module listed above it, which is the healthy direction.
34→14 apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository uses libs.shared.prisma.src.prisma_service✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository uses a type in libs.shared.prisma.src.prisma_service.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository.RoleReadPostgresRepository→backend.libs.shared.prisma.src.prisma_service.PrismaService
- Direction
- apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository uses libs.shared.prisma.src.prisma_service, so a change to libs.shared.prisma.src.prisma_service can break apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository can't break libs.shared.prisma.src.prisma_service.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository uses a module listed above it, which is the healthy direction.
34→27 apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository uses a type in apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository.RoleReadPostgresRepository→backend.apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port.RoleReadRepoPort
- Direction
- apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port, so a change to apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port can break apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository can't break apps.base-system.src.lib.bounded-contexts.iam.role.ports.role_read_repo-port.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.iam.role.repository.role_read_pg_repository uses a module listed above it, which is the healthy direction.
35→13 apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository.LoginLogReadRepository→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository uses a module listed above it, which is the healthy direction.
35→14 apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository uses libs.shared.prisma.src.prisma_service✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository uses a type in libs.shared.prisma.src.prisma_service.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository.LoginLogReadRepository→backend.libs.shared.prisma.src.prisma_service.PrismaService
- Direction
- apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository uses libs.shared.prisma.src.prisma_service, so a change to libs.shared.prisma.src.prisma_service can break apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository can't break libs.shared.prisma.src.prisma_service.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository uses a module listed above it, which is the healthy direction.
35→28 apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository uses a type in apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository.LoginLogReadRepository→backend.apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port.LoginLogReadRepoPort
- Direction
- apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port, so a change to apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port can break apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository can't break apps.base-system.src.lib.bounded-contexts.log-audit.login-log.ports.login-log_read_repo-port.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.log-audit.login-log.repository.login-log_read_pg_repository uses a module listed above it, which is the healthy direction.
36→9 apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses a type in apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository.OperationLogReadRepository→backend.apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model.OperationLogProperties
- Direction
- apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model, so a change to apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model can break apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository can't break apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.domain.operation-log_read_model.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses a module listed above it, which is the healthy direction.
36→13 apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository.OperationLogReadRepository→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses a module listed above it, which is the healthy direction.
36→14 apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses libs.shared.prisma.src.prisma_service✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses a type in libs.shared.prisma.src.prisma_service.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository.OperationLogReadRepository→backend.libs.shared.prisma.src.prisma_service.PrismaService
- Direction
- apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses libs.shared.prisma.src.prisma_service, so a change to libs.shared.prisma.src.prisma_service can break apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository can't break libs.shared.prisma.src.prisma_service.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses a module listed above it, which is the healthy direction.
36→29 apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses a type in apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository.OperationLogReadRepository→backend.apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port.OperationLogReadRepoPort
- Direction
- apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port, so a change to apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port can break apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository can't break apps.base-system.src.lib.bounded-contexts.log-audit.operation-log.ports.operation-log_read_repo-port.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.log-audit.operation-log.repository.operation-log_read_pg_repository uses a module listed above it, which is the healthy direction.
37→13 apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port.AccessKeyReadRepoPort→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port, while a change to apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port uses a module listed above it, which is the healthy direction.
37→22 apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port uses apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port uses a type in apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port.AccessKeyReadRepoPort→backend.apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query.PageAccessKeysQuery
- Direction
- apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port uses apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query, so a change to apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query can break apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port, while a change to apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port can't break apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port uses a module listed above it, which is the healthy direction.
38→2 apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler uses apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler uses a type in apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler.PageEndpointsQueryHandler→backend.apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model.EndpointProperties
- Direction
- apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler uses apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model, so a change to apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model can break apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler, while a change to apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler can't break apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.domain.endpoint_read_model.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler uses a module listed above it, which is the healthy direction.
38→13 apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler.PageEndpointsQueryHandler→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler, while a change to apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler uses a module listed above it, which is the healthy direction.
38→23 apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler uses apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler uses a type in apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler.PageEndpointsQueryHandler→backend.apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port.ApiEndpointReadRepoPort
- Direction
- apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler uses apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port, so a change to apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port can break apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler, while a change to apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler can't break apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.ports.api-endpoint_read_repo-port.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.api-endpoint.api-endpoint.application.query-handlers.page-endpoints_query_handler uses a module listed above it, which is the healthy direction.
39→13 apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository.AccessKeyReadPostgresRepository→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses a module listed above it, which is the healthy direction.
39→14 apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses libs.shared.prisma.src.prisma_service✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses a type in libs.shared.prisma.src.prisma_service.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository.AccessKeyReadPostgresRepository→backend.libs.shared.prisma.src.prisma_service.PrismaService
- Direction
- apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses libs.shared.prisma.src.prisma_service, so a change to libs.shared.prisma.src.prisma_service can break apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository can't break libs.shared.prisma.src.prisma_service.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses a module listed above it, which is the healthy direction.
39→22 apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses a type in apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository.AccessKeyReadPostgresRepository→backend.apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query.PageAccessKeysQuery
- Direction
- apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query, so a change to apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query can break apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository can't break apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses a module listed above it, which is the healthy direction.
39→37 apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses a type in apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port.
- The types involved
backend.apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository.AccessKeyReadPostgresRepository→backend.apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port.AccessKeyReadRepoPort
- Direction
- apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port, so a change to apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port can break apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository, while a change to apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository can't break apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port.
- Position
- Below the diagonal: apps.base-system.src.infra.bounded-contexts.access-key.repository.access_key_read_pg_repository uses a module listed above it, which is the healthy direction.
40→13 apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler uses libs.shared.prisma.src.pagination✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler uses a type in libs.shared.prisma.src.pagination.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler.PageAccessKeysQueryHandler→backend.libs.shared.prisma.src.pagination.PaginationResult
- Direction
- apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler uses libs.shared.prisma.src.pagination, so a change to libs.shared.prisma.src.pagination can break apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler, while a change to apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler can't break libs.shared.prisma.src.pagination.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler uses a module listed above it, which is the healthy direction.
40→22 apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler uses apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler uses a type in apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler.PageAccessKeysQueryHandler→backend.apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query.PageAccessKeysQuery
- Direction
- apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler uses apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query, so a change to apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query can break apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler, while a change to apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler can't break apps.base-system.src.lib.bounded-contexts.access-key.queries.page-access_key_query.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler uses a module listed above it, which is the healthy direction.
40→37 apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler uses apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port✕
- Connections
- 1 pair of types, where a type in apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler uses a type in apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port.
- The types involved
backend.apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler.PageAccessKeysQueryHandler→backend.apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port.AccessKeyReadRepoPort
- Direction
- apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler uses apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port, so a change to apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port can break apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler, while a change to apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler can't break apps.base-system.src.lib.bounded-contexts.access-key.ports.access_key_read_repo-port.
- Position
- Below the diagonal: apps.base-system.src.lib.bounded-contexts.access-key.application.query-handlers.page-access_keys_query_handler 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 | 85 | High / Critical |
| A07:2025 — Authentication Failures | 21 | High / Critical |
| A02:2025 — Security Misconfiguration | 10 | High / Critical |
| A05:2025 — Injection | 7 | High / Critical |
Roadmap
Immediately resolve the 17 leaked secrets, prioritizing fixes in REDACTED, REDACTED, and REDACTED, while cleaning up 7 deprecated and 5 outdated dependencies in REDACTED and REDACTED. Strengthen test coverage by addressing the low distribution score across unit, e2e, and other test types. Finally, establish a CI workflow to automatically build and run tests on every push and pull request.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 7 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (7). | +5.2 pts | Low | Dependency Hygiene |
| Resolve the 5 Outdated (npm) finding(s) in Dependency Hygiene — start with REDACTED (5). | +4.3 pts | Low | Dependency Hygiene |
| Resolve the 17 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (6), REDACTED (4), REDACTED (3). | +7.4 pts | Medium | REDACTED Scanning |
| Improve Test Distribution — currently 3.5/10. | +6.8 pts | Medium | Test Distribution |
| Add a CI workflow that builds and runs the test suite on every push/PR. | +3.3 pts | Medium | CI/CD gates |
| Run what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing. | +3.3 pts | Medium | Security & performance tooling |
| Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery. | +3.3 pts | Medium | DR & Backup |
| Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies. | +3.3 pts | Medium | Dependency Hygiene |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 0.1 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 0.4 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 1.1 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 1.7 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 2.3 | Slop | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 3.4 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 4.4 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.7 | Mixed | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 5.8 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 6.2 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 6.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 7.2 | Mixed | REDACTED Scanning: Leaked secret: REDACTED |
| REDACTED | 7.2 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 7.2 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 7.2 | Mixed | Dependency Vulnerabilities: High CVE: REDACTED |
| frontend/src/service/api/system-manage.ts | 7.3 | Mixed | Explicit Debt: TodoComment |
| REDACTED | 7.9 | Mixed | Dependency Vulnerabilities: Medium CVE: REDACTED |
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. 85 of 91 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 6 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 — 91 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, 528 of 599 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability not scored — the JavaScript/TypeScript suite (jest via `pnpm install --frozen-lockfile --ignore-scripts` in backend/ (0 tests)) ran but surfaced no test cases to the runner, so flakiness couldn't be exercised.
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (5 contributor(s) across 247 commit(s) sampled, automation and bot accounts excluded). One of them holds 96% of the history; the other 4 hold 1% each on average, below the 5% at which there is somebody to hand the work to. That is a single maintainer with drive-by contributors, not a team whose knowledge has concentrated — so the bus factor is not applicable and there is nothing here for the owner to act on.
- D27 Navigability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Navigability is taken over call sites whose callee resolved. For C# that population includes calls into referenced assemblies; for this language only calls declared inside the repository count, so the abstention threshold reads the repository's use of its standard library as a resolution failure. That is a limit of this analyzer, not a build problem in this repository.
- D32 Data Compliance (PII/GDPR) — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. `backend/apps/base-demo/src/main.ts`, `backend/apps/base-system/src/main.ts`, `frontend/packages/alova/src/index.ts`, `frontend/packages/axios/src/index.ts`, `frontend/packages/scripts/src/locales/index.ts`, … (+8 more) produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- 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 REDACTED) is simply not read here yet.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DockerCompose (REDACTED). compose up failed (exit 18 — an image could not be pulled) — redis Pulling postgres Pulling pgbouncer Pulling pgbouncer Error Get "https://registry-1.docker.io/v2/": Forbidden redis Error context canceled postgres Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: backend Skipped - No image to be pulled db-init Skipped - No image to be pulled redis Pulling postgres Pulling pgbouncer Pulling redis Error Get "https://registry-1.docker.io/v2/": Forbidden pgbouncer Error Get "https://registry-1.docker.io/v2/": Forbidden postgres Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
- DM9 Scattered domain decisions — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Arm two tells a construction that PRODUCES a measurement from one that merely passes it along, and this repository's frontend does not compute that fact. A measurement built independently in two places would not appear above.
- M3 Folder & project structure — 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. Whether the tests sit apart from production code is not visible here, because the suite is not in a form this pass reads. The test-separation credit is granted rather than withheld: this is a gap in the analyzer's language coverage, not a finding about the repository's tests. You can widen what we reach: keep the test surface somewhere a reader can find it without opening a binary — an exported/checked-in test source tree beside the production code makes the suite reviewable, diffable and discoverable by tooling.
- R10 Code Duplication — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. 46 further occurrence(s) are not listed individually; the score already reflects all 86.
- 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. 176 further occurrence(s) are not listed individually; the score already reflects all 216.
- R7 Dead Code — 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. 4 further occurrence(s) are not listed individually; the score already reflects all 44.
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.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 REDACTED Scanning: REDACTED detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- 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.
- D22 Internal API Consistency: API-surface coherence is an LLM judgement over a sample of the public surface — consistency of intent across the whole API is approximated, not exhaustively verified.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- AC1 Text alternatives: Alt-text is detected structurally — the scan sees that an alternative EXISTS, not whether it meaningfully describes the image, and decorative-vs-missing is judged by attribute shape; runtime-injected images and a non-role=img decorative svg are out of scope. This is accessibility readiness, never a WCAG conformance claim.
- 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.
- 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.
- AX9 CQS / query purity: Handlers are found by interface/name convention — a query handler using neither is not seen. Mutation is a resolved write/publish invocation (SaveChanges/repository/bus), so a write hidden behind a hand-rolled wrapper, reflection, or a string-keyed service locator resolves to a non-persistence type and isn't flagged; it detects that a query writes state, not whether the write is a legitimate read-side cache update. Clean means "no resolved write/publish in a query body", not a proof of CQS purity.
- DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- ED5 Idempotency: Idempotency is judged from the handler body's visible writes and guards — a guard enforced by a database unique constraint, a broker's exactly-once delivery, or a domain method whose no-op-when-applied logic the scan can't follow may read as at-risk; the at-risk candidates are confirmed by a SAMPLED LLM verdict (advisory, not exhaustive) and degrade to heuristic-only when no model is configured. It flags the at-least-once double-apply SHAPE, not a runtime proof of a duplicate effect.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
5 god class(es) detected.
What to do
- Resolve the 3 FunctionTooLong finding(s) in God Classes — start with REDACTED (2), table.ts. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 2 TooManyMethods finding(s) in God Classes — start with authz.service.ts, authz-management.service.ts. — One of this dimension's main actionable groups (2 warning-level).
- Stand up a CI pipeline, then gate God Classes in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D5 · Coupling
10 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 1 module(s) off the main sequence.
What to do
- Resolve the 1 Off the main sequence finding(s) in Coupling. — One of this dimension's main actionable groups (1 warning-level).
- Stand up a CI pipeline, then gate Coupling in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D6 · Cohesion (LCOM4)
0 of 36 classes have LCOM4 above 3.
D9 · Test Distribution
4 test methods: 2 unit, 0 integration, 0 BDD, 2 e2e. The JavaScript/TypeScript suite contributes 4 `it`/`test` case(s) across 4 test file(s) declaring at least one; its tier split is read from package names and paths only.
What to do
- Improve Test Distribution — currently 3.5/10. — 4 test methods: 2 unit, 0 integration, 0 BDD, 2 e2e. The JavaScript/TypeScript suite contributes 4 `it`/`test` case(s) across 4 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 4 tests.
D12 · Dependency Hygiene
56 outdated direct production npm dependency(ies) of 71 graded, 0 pinning defect(s), across 10 REDACTED (9 of them the product) and 3 committed lockfile(s). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 4 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 7 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (7). — One of this dimension's main actionable groups (7 recommendation-level).
- Resolve the 6 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (6). — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 5 Outdated (npm) finding(s) in Dependency Hygiene — start with REDACTED (5). — One of this dimension's main actionable groups (5 recommendation-level).
- Stand up a CI pipeline, then gate Dependency Hygiene in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · REDACTED Scanning
8 secret(s) detected.
What to do
- Resolve the 17 Leaked secret finding(s) in REDACTED Scanning — start with REDACTED (6), REDACTED (4), REDACTED (3). — One of this dimension's main actionable groups (17 issue-level).
- Stand up a CI pipeline, then gate REDACTED Scanning in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 71 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 71 production dependency(ies) this repository's committed lockfile resolves, across 9 product REDACTED manifest(s). Its 77 `devDependencies` declaration(s) are excluded: a consumer installs none of them. ★ DEPTH: this is the DIRECT production set the lockfile resolves, NOT the transitive closure — only one of the four lock dialects this pass reads states a full graph, so a banned licence pulled in only by a dependency's OWN dependencies is outside this verdict, exactly as the JVM arm's declaration-site verdict is. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry. This repository publishes itself under MIT, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
9 deducted task-comment markers across 23422 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 9 TodoComment finding(s) in Explicit Debt — start with system-manage.ts (2), local-route.migrate.ts, base-demo.module.ts. — One of this dimension's main actionable groups (9 warning-level).
- Stand up a CI pipeline, then gate Explicit Debt in it to reach Verified (currently Documented). — This repository has no CI pipeline, so there is nothing to add a gate to yet — the pipeline comes first. Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's root README is clear and complete for a monorepo project: it opens with an online preview link, a one-line overview of SoybeanAdmin NestJS (a backend scaffolding), and a full outline listing every document in the set. The backend/README.md is a directory README documenting that directory rather than the repository as a whole, so its presence does not affect the root's quality.
What to do
- Resolve the 1 Documentation finding(s) in Documentation Quality — start with README.md. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D22 · Internal API Consistency
3 API inconsistencies across 40 exposed types.
What to do
- Resolve the 1 Inconsistent return type for success validation. Alova's… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Inconsistent error handler signature. Alova's `onError` receives the… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 Divergent failure handling patterns. Axios uses a dedicated… finding(s) in Internal API Consistency. — One of this dimension's main actionable groups (1 warning-level).
D26 · Project Cohesion
1 of 11 build units (npm) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Split backend finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
3 finding(s): 0 critical, 3 high, 0 medium, 0 low. Remediation for historically-committed secrets is credential rotation — they remain in history regardless of later deletion.
What to do
- Resolve the 3 REDACTED finding(s) in Secrets (history) — start with REDACTED, REDACTED, REDACTED. — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 1 Rotate the exposed credentials finding(s) in Secrets (history). — One of this dimension's main actionable groups (1 recommendation-level).
D29 · Static Analysis (SAST)
7 finding(s): 0 critical, 5 high, 2 medium, 0 low. semgrep hit a parse error in 13 file(s) — `backend/apps/base-demo/src/main.ts` (line 27), `backend/apps/base-system/src/main.ts` (line 78), `frontend/packages/alova/src/index.ts` (line 76, line 77), `frontend/packages/axios/src/index.ts` (line 189), `frontend/packages/scripts/src/locales/index.ts` (line 82), … (+8 more) — so no absence of findings in the named regions is evidence of anything; rows reported elsewhere in those files are real. Fix the syntax error (or exclude the file deliberately) and re-scan to cover them.
What to do
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). — One of this dimension's main actionable groups (2 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).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D30 · Dependency Vulnerabilities
85 finding(s): 3 critical, 54 high, 22 medium, 6 low.
What to do
- Resolve the 52 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (46), REDACTED (6). — One of this dimension's main actionable groups (52 issue-level).
- Resolve the 3 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (3). — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 2 High vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
D31 · IaC & Container Security
10 finding(s): 0 critical, 1 high, 7 medium, 2 low.
What to do
- Resolve the 1 High IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 7 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (4), REDACTED (3). — One of this dimension's main actionable groups (7 warning-level).
- Resolve the 2 Low IaC finding(s) in IaC & Container Security — start with REDACTED (2). — One of this dimension's main actionable groups (2 recommendation-level).
D34 · Knowledge Freshness
98 of 98 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is frontend/packages/color/src/constant/name.ts. Counted over 98 of the 579 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 95 Orphaned file finding(s) in Knowledge Freshness — start with REDACTED (11), index.vue (10), shared.ts (3). — One of this dimension's main actionable groups (95 recommendation-level).
- Resolve the 3 Most significant orphaned file finding(s) in Knowledge Freshness — start with name.ts, authz.service.ts, authz-management.service.ts. — One of this dimension's main actionable groups (3 recommendation-level).
- Resolve the 1 Concentrated knowledge decay finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
Frontend & cross-cutting dimensions
AC1 · Text alternatives
- An image with no alt (and no aria-label/aria-labelledby) is unreadable to assistive tech. Add alt — alt="" if it's purely decorative. (×2) — frontend/src/components/custom/soybean-avatar.vue:9, frontend/src/views/home/modules/header-banner.vue:47
What to do
- Add a text alternative — alt on images (alt="" for purely decorative ones), a title or aria-label on meaningful svg, an aria-label or inner fallback content on canvas, and a captions <track> on video.
AC2 · Forms & labels
- This control has no associated label. Add a <label for> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it. — frontend/src/layouts/modules/theme-drawer/modules/config-operation.vue:50
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
- An iframe with no title (or an empty one) is announced only as "frame". Add a non-empty title describing its content, or an aria-label. — frontend/src/views/_builtin/iframe-page/[url].vue:21
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
- A click handler on a plain element isn't keyboard-operable. Use a <button>, or add role + tabindex="0" + a key handler. — frontend/src/layouts/modules/theme-drawer/components/layout-mode-card.vue:72
What to do
- Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC6 · Visual & motion safety
- <icon-ant-design-reload-outlined> moves — its `animate-spin` utility runs with no motion-safe:/motion-reduce: variant — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:. — frontend/src/components/common/reload-button.vue:17
- <div> moves — its `animate-spin` utility runs with no motion-safe:/motion-reduce: variant — and nothing reads prefers-reduced-motion for it, so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Gate it on @media (prefers-reduced-motion: no-preference) or motion-safe:. — frontend/src/plugins/loading.ts:39
- `#nprogress .spinner-icon` moves (`animation: nprogress-spinner 400ms linear infinite`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — frontend/src/styles/css/nprogress.css:55
- `.fade-bottom-enter-active` moves (`transition: opacity 0.25s, transform 0.3s`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — frontend/src/styles/css/transition.css:28
- `.zoom-fade-enter-active` moves (`transition: transform 0.2s, opacity 0.3s ease-out`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — frontend/src/styles/css/transition.css:58
- `.zoom-out-enter-active` moves (`transition: opacity 0.1s ease-in-out, transform 0.15s ease-out`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — frontend/src/styles/css/transition.css:74
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-vuejs-accessibility) 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 95 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-vuejs-accessibility, 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
AX9 · CQS / query purity
C1 · Data Protection
What to do
- Strengthen data-at-rest protection: vault your keys (AWS KMS / Secrets Manager, Azure Key Vault, GCP KMS / REDACTED Manager, HashiCorp Vault) and encrypt the most sensitive columns (typeorm-encrypted, prisma-field-encryption, mongoose-field-encryption or MongoDB CSFLE) — partial coverage still leaves gaps.
- Enforce HTTPS (serve through https.createServer / NestJS httpsOptions, or redirect plain HTTP with express-sslify behind your TLS terminator) so data in transit is always encrypted.
C2 · Access Controls
DM1 · Aggregate boundaries
DM11 · Constructible invalid state
- `ApiEndpoint`'s public constructor takes `id`, `path`, `method`, `action`, … as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was checked for any branch (`if`, ternary, `switch`) or any call — it has neither, only assignments; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `ApiEndpoint` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — backend/apps/base-system/src/lib/bounded-contexts/api-endpoint/api-endpoint/domain/api-endpoint.model.ts:12
What to do
- Give each aggregate one way in that can refuse — a guarded constructor, value-object parameters that validate themselves, or a private constructor behind a factory that returns a failure.
DM2 · Strongly-typed ids
- `UserCreatedEvent.userId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/events/user-created.event.ts:5
- `UserDeletedEvent.userId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/events/user-deleted.event.ts:5
- `RoleDeletedEvent.roleId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/events/role-deleted.event.ts:5
- `TokenGeneratedEvent.userId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/events/token-generated.event.ts:7
- `TokenGeneratedEvent.requestId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/events/token-generated.event.ts:13
- `TokensEntity.userId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/tokens.entity.ts:16
- `TokensEntity.requestId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/tokens.entity.ts:22
- `UserLoggedInEvent.userId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/events/user-logged-in.event.ts:5
- `UserLoggedInEvent.requestId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/events/user-logged-in.event.ts:11
- `MenuDeletedEvent.menuId` is a raw `number` — give it a strongly-typed id: a dedicated single-field type wrapping the `number`, in whatever form your language spells that. — backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/events/menu-deleted.event.ts:5
- `Menu.i18nKey` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.model.ts:32
- `OperationLog.userId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/apps/base-system/src/lib/bounded-contexts/log-audit/operation-log/domain/operation-log.model.ts:6
- `OperationLog.requestId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/apps/base-system/src/lib/bounded-contexts/log-audit/operation-log/domain/operation-log.model.ts:11
What to do
- Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs.
DM4 · Rich vs anemic model
- `AccessKey` is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/access_key.model.ts:12
- `ApiEndpoint` is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/apps/base-system/src/lib/bounded-contexts/api-endpoint/api-endpoint/domain/api-endpoint.model.ts:3
- `User` is an aggregate/entity with 11 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/user.ts:20
- `TokensEntity` is an aggregate/entity with 13 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/tokens.entity.ts:12
- `Domain` is an aggregate/entity with 7 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/apps/base-system/src/lib/bounded-contexts/iam/domain/domain/domain.model.ts:15
- `Menu` is an aggregate/entity with 22 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.model.ts:15
- `Role` is an aggregate/entity with 8 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/role.model.ts:15
- `OperationLog` is an aggregate/entity with 16 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/apps/base-system/src/lib/bounded-contexts/log-audit/operation-log/domain/operation-log.model.ts:5
What to do
- Move business rules onto the aggregates/entities they govern so invariants are enforced at the source, not in anemic services.
DM5 · Encapsulated state
- `AccessKey` exposes publicly writable state (id, domain, AccessKeyID, AccessKeySecret, status, createdAt, and 1 more). — backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/access_key.model.ts:12
- `User` exposes publicly writable state (createdAt, createdBy). — backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/user.ts:20
- `TokensEntity` exposes publicly writable state (status). — backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/tokens.entity.ts:12
- `Domain` exposes publicly writable state (id, code, name, description, status, createdAt, and 1 more). — backend/apps/base-system/src/lib/bounded-contexts/iam/domain/domain/domain.model.ts:15
- `Menu` exposes publicly writable state (id, menuName, menuType, routeName, routePath, component, and 16 more). — backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.model.ts:15
- `Role` exposes publicly writable state (id, code, name, description, pid, status, and 2 more). — backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/role.model.ts:15
What to do
- Make entity setters private/init-only and hand collections out as IReadOnlyList/IReadOnlyCollection over a private backing field; change state only through methods that enforce the invariants (Marten/EF can bind via constructor or private setters).
DM6 · Domain ↔ infrastructure boundary
- `backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/access_key.model.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/access_key.model.ts:2
- `backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/access_key.read.model.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/access_key.read.model.ts:2
- `backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/events/access_key-created.event.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/events/access_key-created.event.ts:2
- `backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/events/access_key-deleted.event.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/events/access_key-deleted.event.ts:2
- `backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/user.read.model.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/user.read.model.ts:2
- `backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/user.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/user.ts:2
- `backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-create.command.handler.ts` (domain layer) depends on `@nestjs/common` (import) — a HTTP module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-create.command.handler.ts:1
- `backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-create.command.handler.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-create.command.handler.ts:3
- `backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-delete.command.handler.ts` (domain layer) depends on `@nestjs/common` (import) — a HTTP module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-delete.command.handler.ts:1
- `backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-update.command.handler.ts` (domain layer) depends on `@nestjs/common` (import) — a HTTP module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-update.command.handler.ts:1
- `backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-update.command.handler.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-update.command.handler.ts:3
- `backend/apps/base-system/src/lib/bounded-contexts/iam/domain/domain/domain.model.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/domain/domain/domain.model.ts:2
- `backend/apps/base-system/src/lib/bounded-contexts/iam/domain/domain/domain.read.model.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/domain/domain/domain.read.model.ts:2
- `backend/apps/base-system/src/lib/bounded-contexts/iam/domain/queries/page-domains.query.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/domain/queries/page-domains.query.ts:2
- `backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.model.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.model.ts:2
- `backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.read.model.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.read.model.ts:2
- `backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/role.model.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/role.model.ts:2
- `backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/role.read.model.ts` (domain layer) depends on `@prisma/client` (import) — a persistence module; the domain should own a port and let an infrastructure adapter implement it. — backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/role.read.model.ts:2
What to do
- Keep the ORM/table mapping on a boundary data-model + mapper; leave the domain entity framework-free (map row↔domain through a repository).
DM9 · Scattered domain decisions
ED5 · Idempotency
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- `handle` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — backend/apps/base-system/src/lib/bounded-contexts/access-key/application/event-handlers/access_key-validation.event.handler.ts:14
- `defaultIsOwn` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. — backend/libs/infra/casbin/src/decorators/use-permissions.decorator.ts:6
- `updatePkg` is declared `async` but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop `async` or do the real async work. — frontend/packages/scripts/src/commands/update-pkg.ts:3
- A bare `eslint-disable` or `@ts-nocheck` with no rule list switches every lint rule or the whole type checker off for the rest of the file — hidden debt. Disable the specific rule on the specific line, with a justification, instead. (×3) — frontend/src/router/elegant/imports.ts:1, frontend/src/router/elegant/routes.ts:1, frontend/src/router/elegant/transform.ts:1
What to do
- Finish or delete the unfinished stubs (functions that throw "not implemented", or whose body is empty or a bare constant) — they are dead surface that looks live.
- Clear the softer debt: re-enable or delete skipped tests, decide whether each empty function is a deliberate no-op (and say so in a comment), and replace blanket `eslint-disable` / `@ts-nocheck` with targeted, justified suppressions.
M1 · Documentation (README)
What to do
- Add a build/run (quick start) section to the root README — the first thing a newcomer needs.
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 10 of 11 project(s) that lack one — worth up to 1.8 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
- README.md names `database.config.ts`, but no file or folder `database.config.ts` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:200
- README.md names `jwt.config.ts`, but no file or folder `jwt.config.ts` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:202
- README.md names `.env.production`, but no file or folder `.env.production` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:207
- backend/README.md links to `LICENSE`, but `backend/LICENSE` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — backend/README.md:75
- frontend/README.en_US.md links to `./LICENSE`, but `frontend/LICENSE` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every REDACTED, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — frontend/README.en_US.md:9
What to do
- Reconcile the README with reality: README.md names `database.config.ts`, but no file or folder `database.config.ts` exists; README.md names `jwt.config.ts`, but no file or folder `jwt.config.ts` exists; README.md names `.env.production`, but no file or folder `.env.production` exists; backend/README.md links to `LICENSE`, but `backend/LICENSE` does not exist; frontend/README.en_US.md links to `./LICENSE`, but `frontend/LICENSE` does not exist.
P1 · CI/CD gates
- No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, …) — changes aren't gated by an automated build/test.
What to do
- Add a CI workflow that builds and runs the test suite on every push/PR.
P10 · Library API & versioning
P2 · Observability
- Only 2/3 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `frontend/packages/scripts`.
- `backend/local-route.migrate.ts` reports through `console.*` at line 67 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/local-route.migrate.ts:67
- `backend/local-route.migrate.ts` reports through `console.*` at line 194 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/local-route.migrate.ts:194
- `backend/local-route.migrate.ts` reports through `console.*` at line 200 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/local-route.migrate.ts:200
- `backend/local-route.migrate.ts` reports through `console.*` at line 203 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/local-route.migrate.ts:203
- `backend/local-route.migrate.ts` reports through `console.*` at line 204 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/local-route.migrate.ts:204
- `backend/apps/base-demo/src/base-demo.controller.ts` reports through `console.*` at line 116 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/apps/base-demo/src/base-demo.controller.ts:116
- `backend/apps/base-system/src/lib/bounded-contexts/access-key/application/query-handlers/access_keys.bootstrap.handler.ts` reports through `console.*` at line 25 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/apps/base-system/src/lib/bounded-contexts/access-key/application/query-handlers/access_keys.bootstrap.handler.ts:25
- `backend/libs/infra/casbin/src/guards/authz.guard.ts` reports through `console.*` at line 66 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/libs/infra/casbin/src/guards/authz.guard.ts:66
- `backend/libs/logger/src/logger.module.ts` reports through `console.*` at line 52 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/libs/logger/src/logger.module.ts:52
- `backend/libs/logger/src/logger.module.ts` reports through `console.*` at line 129 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/libs/logger/src/logger.module.ts:129
- `backend/libs/shared/prisma/src/prisma.service.ts` reports through `console.*` at line 26 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/libs/shared/prisma/src/prisma.service.ts:26
- `backend/libs/shared/prisma/src/prisma.service.ts` reports through `console.*` at line 27 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/libs/shared/prisma/src/prisma.service.ts:27
- `backend/libs/shared/prisma/src/prisma.service.ts` reports through `console.*` at line 28 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/libs/shared/prisma/src/prisma.service.ts:28
- `backend/libs/utils/src/tree.util.ts` reports through `console.*` at line 44 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — backend/libs/utils/src/tree.util.ts:44
- `frontend/src/plugins/app.ts` reports through `console.*` at line 9 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — frontend/src/plugins/app.ts:9
- `frontend/src/router/elegant/transform.ts` reports through `console.*` at line 134 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — frontend/src/router/elegant/transform.ts:134
- `frontend/src/utils/service.ts` reports through `console.*` at line 16 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — frontend/src/utils/service.ts:16
What to do
- Extend structured logging to the remaining runnable modules so everything you run is diagnosable in production.
- Route service-code `console.*` output through the module's structured logger (with named fields), so delivery outcomes and failures reach the log pipeline with a level.
- 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 — this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Run what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — locally for now, since there is no CI pipeline here yet, and as a step of the first workflow you add so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
What to do
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup
- A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
- Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
P8 · Schema migrations
PF3 · Async & latency hygiene
- `readFileSync` in `gitCommitVerify` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — frontend/packages/scripts/src/commands/git-commit.ts:73
- `existsSync` in `generateRoute` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — frontend/packages/scripts/src/commands/router.ts:70
- `mkdirSync` in `generateRoute` blocks the event loop until it finishes — a blocking call inside async code stalls the event loop — every other request waits for as long as it runs. — frontend/packages/scripts/src/commands/router.ts:71
What to do
- TypeScript/JavaScript: use the promise APIs (fs/promises, a promisified child_process.execFile, the async zlib/crypto functions) and await them instead of the *Sync variants.
R1 · Type Safety
R10 · Code Duplication
- 19 duplicated blocks under backend/apps/base-system/src/lib/bounded-contexts/ have copies in at least two of the sibling directories access-key, api-endpoint, iam, log-audit — 6 of them are reported below, and 13 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 19 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 19 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 19 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/tokens.read.model.ts:38
- 13 duplicated blocks under backend/apps/base-system/src/lib/bounded-contexts/iam/ have copies in at least two of the sibling directories authentication, domain, menu, role, tokens — 6 of them are reported below, and 7 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 13 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 13 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 13 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/command-handlers/user-update.command.handler.ts:12
- 11 duplicated blocks under backend/apps/base-system/src/infra/bounded-contexts/ have copies in at least two of the sibling directories access-key, api-endpoint, iam, log-audit — 5 of them are reported below, and 6 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 11 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 11 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 11 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — backend/apps/base-system/src/infra/bounded-contexts/iam/domain/repository/domain.read.pg.repository.ts:26
- 9 duplicated blocks under backend/apps/base-system/src/api/ have copies in at least two of the sibling directories access-key, endpoint, iam, log-audit — 7 of them are reported below, and 2 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 9 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 9 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 9 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — backend/apps/base-system/src/api/endpoint/rest/endpoint.controller.ts:35
- 8 duplicated blocks under frontend/src/views/ have copies in at least two of the sibling directories access-key, log, manage — 7 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 8 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 8 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 8 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — frontend/src/views/access-key/index.vue:65
- 5 duplicated blocks under backend/apps/base-system/src/infra/bounded-contexts/iam/ have copies in at least two of the sibling directories authentication, domain, menu, role — 2 of them are reported below, and 3 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — backend/apps/base-system/src/infra/bounded-contexts/iam/authentication/repository/user.read.pg.repository.ts:69
- backend/libs/infra/casbin/src/services/authz-rbac.service.ts:14 · backend/libs/infra/casbin/src/services/authz.service.ts:13 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — backend/libs/infra/casbin/src/services/authz-rbac.service.ts:14
- backend/apps/base-demo/src/base-demo.module.ts:1 · backend/apps/base-system/src/app.module.ts:1 — these 2 files are line-for-line copies of one another — 84 lines are identical, in the same order, in every one of them — so this is one fact about the file set, not a block to extract. An edit made to one file and not the others changes behaviour silently, which is the failure a wholesale copy guarantees. Pick one file as the single source and derive the others from it (re-export it, spread it into the local overrides each variant genuinely needs, or generate the copies at build time) — the few lines that differ between the files are exactly the part each variant should still own. Check first whether the copies are deliberately standalone deliverables (a translation file seeded from its sibling and waiting to be translated); where they are, the duplication is the design, and the honest move is to mark the seeded file as untranslated rather than to let it pass as done. — backend/apps/base-demo/src/base-demo.module.ts:1
- backend/apps/base-system/src/api/iam/rest/role.controller.ts:31 · backend/apps/base-system/src/api/iam/rest/user.controller.ts:31 — the two spans are one implementation copied and then locally edited — 332 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. — backend/apps/base-system/src/api/iam/rest/role.controller.ts:31
- frontend/src/views/access-key/index.vue:65 · frontend/src/views/manage/user/index.vue:90 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — frontend/src/views/access-key/index.vue:65
- frontend/src/views/manage/role/modules/api-endpoint-auth-modal.vue:15 · frontend/src/views/manage/role/modules/menu-auth-modal.vue:13 — the two spans are one implementation copied and then locally edited — 326 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. — frontend/src/views/manage/role/modules/api-endpoint-auth-modal.vue:15
- backend/libs/infra/casbin/src/services/authz-management.service.ts:17 · backend/libs/infra/casbin/src/services/authz.service.ts:313 — 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. — backend/libs/infra/casbin/src/services/authz-management.service.ts:17
- backend/libs/infra/casbin/src/services/authz-management.service.ts:558 · backend/libs/infra/casbin/src/services/authz.service.ts:858 — 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. — backend/libs/infra/casbin/src/services/authz-management.service.ts:558
- backend/apps/base-system/src/infra/bounded-contexts/log-audit/login-log/repository/login-log.read.pg.repository.ts:15 · backend/apps/base-system/src/infra/bounded-contexts/log-audit/operation-log/repository/operation-log.read.pg.repository.ts:15 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — backend/apps/base-system/src/infra/bounded-contexts/log-audit/login-log/repository/login-log.read.pg.repository.ts:15
- backend/libs/infra/casbin/src/services/authz-management.service.ts:378 · backend/libs/infra/casbin/src/services/authz-management.service.ts:521 · backend/libs/infra/casbin/src/services/authz.service.ts:678 · backend/libs/infra/casbin/src/services/authz.service.ts:821 — the 4 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. — backend/libs/infra/casbin/src/services/authz-management.service.ts:378
- backend/apps/base-system/src/api/iam/rest/domain.controller.ts:31 · backend/apps/base-system/src/api/iam/rest/role.controller.ts:31 · backend/apps/base-system/src/api/iam/rest/user.controller.ts:31 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — backend/apps/base-system/src/api/iam/rest/domain.controller.ts:31
- backend/apps/base-system/src/infra/bounded-contexts/iam/authentication/repository/user.read.pg.repository.ts:69 · backend/apps/base-system/src/infra/bounded-contexts/iam/role/repository/role.read.pg.repository.ts:38 — 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. — backend/apps/base-system/src/infra/bounded-contexts/iam/authentication/repository/user.read.pg.repository.ts:69
- backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/tokens.read.model.ts:38 · backend/apps/base-system/src/lib/bounded-contexts/log-audit/login-log/domain/login-log.read.model.ts:21 — 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. — backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/tokens.read.model.ts:38
- frontend/src/views/access-key/modules/access-key-operate-drawer.vue:55 · frontend/src/views/manage/role/modules/role-operate-drawer.vue:59 · frontend/src/views/manage/user/modules/user-operate-drawer.vue:61 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — frontend/src/views/access-key/modules/access-key-operate-drawer.vue:55
- backend/apps/base-system/src/infra/bounded-contexts/iam/domain/repository/domain.read.pg.repository.ts:26 · backend/apps/base-system/src/infra/bounded-contexts/log-audit/login-log/repository/login-log.read.pg.repository.ts:30 · backend/apps/base-system/src/infra/bounded-contexts/log-audit/operation-log/repository/operation-log.read.pg.repository.ts:30 — the 3 copies are spread across 3 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 3 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — backend/apps/base-system/src/infra/bounded-contexts/iam/domain/repository/domain.read.pg.repository.ts:26
- backend/apps/base-system/src/infra/bounded-contexts/iam/authentication/repository/user.read.pg.repository.ts:118 · backend/apps/base-system/src/infra/bounded-contexts/iam/role/repository/role.read.pg.repository.ts:15 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — backend/apps/base-system/src/infra/bounded-contexts/iam/authentication/repository/user.read.pg.repository.ts:118
- backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/command-handlers/user-update.command.handler.ts:12 · backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-update.command.handler.ts:15 — 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. — backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/command-handlers/user-update.command.handler.ts:12
- backend/libs/infra/casbin/src/services/authz-api.ts:229 · backend/libs/infra/casbin/src/services/authz-api.ts:259 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — backend/libs/infra/casbin/src/services/authz-api.ts:229
- frontend/src/views/_builtin/login/modules/code-login.vue:10 · frontend/src/views/_builtin/login/modules/register.vue:10 — the two spans are one implementation copied and then locally edited — 142 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. — frontend/src/views/_builtin/login/modules/code-login.vue:10
- backend/apps/base-system/src/api/iam/rest/menu.controller.ts:136 · backend/apps/base-system/src/api/iam/rest/role.controller.ts:98 · backend/apps/base-system/src/api/iam/rest/user.controller.ts:100 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — backend/apps/base-system/src/api/iam/rest/menu.controller.ts:136
- frontend/src/views/log/login/index.vue:10 · frontend/src/views/log/operation/index.vue:10 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — frontend/src/views/log/login/index.vue:10
- backend/apps/base-system/src/lib/bounded-contexts/iam/menu/application/command-handlers/menu-update.command.handler.ts:23 · backend/apps/base-system/src/lib/bounded-contexts/iam/role/application/command-handlers/role-update.command.handler.ts:33 — the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. — backend/apps/base-system/src/lib/bounded-contexts/iam/menu/application/command-handlers/menu-update.command.handler.ts:23
- backend/apps/base-system/src/api/iam/rest/domain.controller.ts:95 · backend/apps/base-system/src/api/iam/rest/menu.controller.ts:138 · backend/apps/base-system/src/api/iam/rest/role.controller.ts:100 · backend/apps/base-system/src/api/iam/rest/user.controller.ts:102 — 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. — backend/apps/base-system/src/api/iam/rest/domain.controller.ts:95
- backend/libs/infra/casbin/src/services/authz-api.ts:303 · backend/libs/infra/casbin/src/services/authz-api.ts:350 · backend/libs/infra/casbin/src/services/authz-api.ts:412 · backend/libs/infra/casbin/src/services/authz-api.ts:438 — all 4 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — backend/libs/infra/casbin/src/services/authz-api.ts:303
- frontend/src/views/manage/role/modules/role-operate-drawer.vue:9 · frontend/src/views/manage/user/modules/user-operate-drawer.vue:9 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — frontend/src/views/manage/role/modules/role-operate-drawer.vue:9
- backend/apps/base-system/src/api/endpoint/rest/endpoint.controller.ts:57 · backend/apps/base-system/src/api/iam/rest/menu.controller.ts:49 — 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. — backend/apps/base-system/src/api/endpoint/rest/endpoint.controller.ts:57
- backend/apps/base-system/src/lib/bounded-contexts/iam/menu/application/command-handlers/menu-create.command.handler.ts:23 · backend/apps/base-system/src/lib/bounded-contexts/iam/menu/application/command-handlers/menu-update.command.handler.ts:29 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — backend/apps/base-system/src/lib/bounded-contexts/iam/menu/application/command-handlers/menu-create.command.handler.ts:23
- backend/apps/base-system/src/api/access-key/rest/access_key.controller.ts:73 · backend/apps/base-system/src/api/iam/rest/domain.controller.ts:97 · backend/apps/base-system/src/api/iam/rest/menu.controller.ts:140 · backend/apps/base-system/src/api/iam/rest/role.controller.ts:102 · +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. — backend/apps/base-system/src/api/access-key/rest/access_key.controller.ts:73
- frontend/src/layouts/modules/global-menu/modules/reversed-horizontal-mix-menu.vue:35 · frontend/src/layouts/modules/global-menu/modules/vertical-mix-menu.vue:56 — 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. — frontend/src/layouts/modules/global-menu/modules/reversed-horizontal-mix-menu.vue:35
- frontend/src/views/access-key/modules/access-key-search.vue:7 · frontend/src/views/log/login/modules/login-log-search.vue:5 · frontend/src/views/log/operation/modules/operation-log-search.vue:5 — 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. — frontend/src/views/access-key/modules/access-key-search.vue:7
- backend/apps/base-demo/src/main.ts:18 · backend/apps/base-system/src/main.ts:69 — 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. — backend/apps/base-demo/src/main.ts:18
- backend/libs/infra/casbin/src/services/authz-api.ts:65 · backend/libs/infra/casbin/src/services/authz-api.ts:288 · backend/libs/infra/casbin/src/services/authz-api.ts:397 — all 3 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — backend/libs/infra/casbin/src/services/authz-api.ts:65
- frontend/src/views/manage/menu/index.vue:90 · frontend/src/views/manage/role/index.vue:68 · frontend/src/views/manage/user/index.vue:86 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — frontend/src/views/manage/menu/index.vue:90
- frontend/src/views/access-key/modules/access-key-operate-drawer.vue:73 · frontend/src/views/manage/menu/modules/menu-operate-modal.vue:239 · frontend/src/views/manage/role/modules/role-operate-drawer.vue:77 · frontend/src/views/manage/user/modules/user-operate-drawer.vue:103 — the 4 copies are spread across 4 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another. There is one copy in each of 4 separate files rather than several in one place, so check first whether these are sibling modules that each declare their own version of one shape — one per entity, per provider, per language. Where they are, no single extracted module collapses them: each module still has to be written, and what recurs is the TEMPLATE. The moves that do collapse a template are to generate these modules from the set they enumerate, or to replace the repeated construction with one factory each site calls with its own values — and where the set is the point, each module pinning one distinct thing, the repetition IS the enumeration and there is nothing to delete. — frontend/src/views/access-key/modules/access-key-operate-drawer.vue:73
- backend/apps/base-system/src/infra/bounded-contexts/access-key/repository/access_key.read.pg.repository.ts:14 · backend/apps/base-system/src/infra/bounded-contexts/api-endpoint/api-endpoint/repository/api-endpoint.read.pg.repository.ts:11 · backend/apps/base-system/src/infra/bounded-contexts/log-audit/login-log/repository/login-log.read.pg.repository.ts:11 · backend/apps/base-system/src/infra/bounded-contexts/log-audit/operation-log/repository/operation-log.read.pg.repository.ts:11 — 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. — backend/apps/base-system/src/infra/bounded-contexts/access-key/repository/access_key.read.pg.repository.ts:14
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
- backend/apps/base-demo/src/base-demo.module.ts:11 imports @nestjs/throttler/dist/throttler-storage-record.interface, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — backend/apps/base-demo/src/base-demo.module.ts:11
- backend/apps/base-system/src/app.module.ts:7 imports @nestjs/throttler/dist/throttler-storage-record.interface, reaching past a declared dependency's public entry into its build output — that path is the package's toolchain layout, not its API, and a minor version bump can relocate it with no semver signal. Import from the package's documented entry point instead. — backend/apps/base-system/src/app.module.ts:7
- frontend/packages/materials/src/libs/page-tab/shared.ts:1 imports @sa/color, a package this repository publishes, but this package's own REDACTED does not list it in dependencies (or peer/optional dependencies) — it resolves only through the workspace link, so an installed copy of this package is missing it. Add it to this package's dependencies. — frontend/packages/materials/src/libs/page-tab/shared.ts:1
What to do
- Fix the listed violations: import through the target package's declared public entry rather than a deep path into its internals or a relative path into its directory (2 rows); declare the workspace packages these files import in the importing package's own REDACTED dependencies (1 row) — those imports are already bare package specifiers, so the import statements do not change, only the manifest.
R2 · Cyclomatic Complexity
- transformRouteToSysMenu has cyclomatic complexity 14 and cognitive complexity 13; 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. — backend/local-route.migrate.ts:77
- removeFilteredPolicy has cyclomatic complexity 13 and cognitive complexity 12; 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. — backend/libs/infra/casbin/src/adapter/casbin-prisma.adapter.ts:154
- validateKey has cyclomatic complexity 12 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. — backend/libs/infra/guard/src/api-key/services/complex-api-key.service.ts:56
R3 · Large Files
- frontend/packages/color/src/constant/name.ts has 1578 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — frontend/packages/color/src/constant/name.ts:1
- backend/libs/infra/casbin/src/services/authz.service.ts has 920 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — backend/libs/infra/casbin/src/services/authz.service.ts:1
- backend/libs/infra/casbin/src/services/authz-management.service.ts has 639 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — backend/libs/infra/casbin/src/services/authz-management.service.ts:1
- backend/libs/infra/casbin/src/services/authz-api.ts has 453 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — backend/libs/infra/casbin/src/services/authz-api.ts:1
- frontend/src/locales/langs/en-us.ts has 424 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — frontend/src/locales/langs/en-us.ts:1
- frontend/src/locales/langs/zh-cn.ts has 424 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — frontend/src/locales/langs/zh-cn.ts:1
- frontend/src/views/manage/menu/modules/menu-operate-modal.vue has 403 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — frontend/src/views/manage/menu/modules/menu-operate-modal.vue: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
- 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. (×40) — frontend/packages/color/src/constant/name.ts:1, frontend/src/locales/langs/en-us.ts:1, frontend/src/locales/langs/zh-cn.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 27 application, 31 tooling and 4 test entry point(s) detected in this repo. Gate removals on `npm run build` — an undetected custom entry would make these reachable.
- no import path from any entry point (27 application, 31 tooling, 4 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (backend/prisma/seeds/index.ts) — every one of those referrers is itself unreachable, so this file is dead only as a member of that cluster: if any referrer is in fact alive, this row falls with it (×7) — backend/prisma/seeds/sys/sysMenu.ts, backend/prisma/seeds/sys/casbinRule.ts, backend/prisma/seeds/sys/sysRoleMenu.ts, …
- no import path from any entry point (27 application, 31 tooling, 4 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 (×9) — backend/local-route.migrate.ts, frontend/packages/hooks/src/use-request.ts, backend/libs/infra/interceptors/src/transform.interceptor.ts, …
- no import path from any entry point (27 application, 31 tooling, 4 test roots considered), but 8 in-repo import(s) from 8 other file(s) do name it (backend/prisma/seeds/index.ts, backend/prisma/seeds/sys/casbinRule.ts, backend/prisma/seeds/sys/sysDomain.ts and 5 more) — 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 — backend/prisma/seeds/helper.ts
- Nothing imports this binding — it is safe to review for removal. (×15) — backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.read.model.ts:50, backend/libs/constants/src/rest.constant.ts:5, frontend/packages/axios/src/shared.ts:3, …
- Nothing ultimately consumes this binding: its only referrer is the re-export in backend/libs/infra/crypto/src/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in backend/libs/infra/crypto/src/index.ts in the same commit, or the barrel will import a name that no longer exists. (×3) — backend/libs/infra/crypto/src/decorators/crypto.decorator.ts:47, backend/libs/infra/crypto/src/decorators/crypto.decorator.ts:58, backend/libs/infra/crypto/src/decorators/crypto.decorator.ts:68
- Nothing ultimately consumes this binding: its only referrer is the re-export in frontend/packages/color/src/constant/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in frontend/packages/color/src/constant/index.ts in the same commit, or the barrel will import a name that no longer exists. — frontend/packages/color/src/constant/name.ts:1576
- Nothing ultimately consumes this binding: its only referrer is the re-export in frontend/src/plugins/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in frontend/src/plugins/index.ts in the same commit, or the barrel will import a name that no longer exists. — frontend/src/plugins/app.ts:6
- Nothing ultimately consumes this binding: its only referrer is the re-export in frontend/src/service/api/index.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in frontend/src/service/api/index.ts in the same commit, or the barrel will import a name that no longer exists. (×2) — frontend/src/service/api/auth.ts:46, frontend/src/service/api/system-manage.ts:59
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
- Imported but not declared in any reachable REDACTED — installs work only by hoisting accident. — frontend/uno.config.ts:4
- Imported only as a TYPE and declared in no reachable REDACTED. The import is erased at compile time, so nothing is installed and no runtime resolution depends on it — but type-checking a clean clone will fail. Declare the typings it resolves through (or the package itself) in the owning REDACTED. (×2) — REDACTED:1, frontend/packages/uno-preset/src/index.ts:3
- Declared in REDACTED but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×3)
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
- frontend/src/hooks/common/router.ts → frontend/src/router/index.ts → frontend/src/router/guard/index.ts → frontend/src/router/guard/route.ts → frontend/src/store/modules/auth/index.ts → frontend/src/hooks/common/router.ts (one verified cycle inside a mutually-dependent group of 62 files) — frontend/src/hooks/common/router.ts:4
What to do
- Break each cycle by extracting the shared piece into a module both sides can import.
S1 · Web-Security Posture
- MD5/SHA1 is computed here, and both are collision-broken. If this digest protects anything — a signature, an integrity or tamper check, a credential, or any value an attacker can influence — that is a real weakness: use SHA-256+ (`createHash("sha256")`) for content integrity, or a KDF (bcrypt/Argon2/scrypt) for password storage. If it only derives a non-security identifier (a cache key, an avatar URL, an ETag), collision resistance carries no security consequence here; make that intent explicit instead — a non-cryptographic hash such as xxhash or murmurhash says it in code — since the algorithm alone cannot distinguish the two uses. Where a protocol this code does not own fixes the digest (a k-anonymity range query, a legacy signature format), the protocol decides; say so beside the call. (×3) — backend/libs/bootstrap/src/api/collect-api-data.ts:125, backend/libs/infra/guard/src/api-key/services/complex-api-key.service.ts:47, backend/libs/infra/guard/src/api-key/services/complex-api-key.service.ts:49
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is configured — defense in depth, even when a reverse proxy could set them. This is reported because `nginx.conf` is committed to this repository and declares the server that serves it, so the configuration that would carry these headers is in this repository and was read in full. (−2.0 on this card.) — frontend/nginx.conf:42
What to do
- Review each MD5/SHA1 use by what it protects: replace it with SHA-256+ (or a KDF for passwords) where the digest is security-relevant, and switch it to a non-cryptographic hash (xxhash, murmurhash) where it only derives an identifier such as a cache key. This repository constructs a collision-broken hash (MD5/SHA1) at 3 sites, not one: `backend/libs/bootstrap/src/api/collect-api-data.ts:125` (createHash("md5")), `backend/libs/infra/guard/src/api-key/services/complex-api-key.service.ts:47` (crypto-js MD5), `backend/libs/infra/guard/src/api-key/services/complex-api-key.service.ts:49` (crypto-js SHA1). Each is a separate decision — fixing only the line this row cites leaves the others in place.
- Set security response headers on the surface this repository serves: an `add_header` directive per header in the nginx/Caddy/Apache config, a `_headers` / `vercel.json` / `netlify.toml` entry for a static host, or `helmet()` in the HTTP server. `Content-Security-Policy` is the one that pays for itself first — it is what contains an injected script once one reaches the page — followed by `X-Content-Type-Options: nosniff` and a frame policy (`X-Frame-Options: DENY`, or CSP `frame-ancestors`). Where the app is served from a build container, the header configuration belongs in the image beside the built assets, so it ships with them rather than depending on where it lands.
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.
- `getHtmlBuildTime` awaits `fetch(…)` 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: `fetch(url, { signal })`. — frontend/src/plugins/app.ts:91
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
- `debug` at line 105 is called with an argument built by `JSON.stringify(options)` (line 108), whose cost grows with the collection it walks. JavaScript evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isLevelEnabled`/`isDebugEnabled` test, no debug flag, no `NODE_ENV` build switch. — backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:105
- `debug` at line 164 is called with an argument built by `JSON.stringify(data.data,)` (line 165), whose cost grows with the collection it walks. JavaScript evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isLevelEnabled`/`isDebugEnabled` test, no debug flag, no `NODE_ENV` build switch. — backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:164
- `debug` at line 177 is called with an argument built by `JSON.stringify(data,)` (line 178), whose cost grows with the collection it walks. JavaScript evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isLevelEnabled`/`isDebugEnabled` test, no debug flag, no `NODE_ENV` build switch. — backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:177
- `debug` at line 76 is called with an argument built by `JSON.stringify(deserialized)` (line 76), whose cost grows with the collection it walks. JavaScript evaluates a call's arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached — and then the level check inside the logger discards the string it produced, because debug is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no `isLevelEnabled`/`isDebugEnabled` test, no debug flag, no `NODE_ENV` build switch. — backend/libs/infra/crypto/src/services/crypto.service.ts:76
What to do
- Each finding names the diagnostic call and the expression inside its argument whose cost scales with a collection. Confirm from the two that the argument is built before the call — that is JavaScript's evaluation order, not a guess — then put the construction behind the level check the logger offers (`if (logger.isLevelEnabled('debug'))` for pino and winston, `isDebugEnabled()` for log4js, the repository's own debug flag where it has one), or hand the logger the object and a format string (`logger.debug({ payload }, 'raw request')`) so the serialising happens only when the line is written. Moving the call is not the fix: it is the join/projection/stringify in the argument that is paid, wherever the call sits.
X24 · Document value interpolated into markup unescaped
- `item` is text this program did not author, and it is written into a quoted attribute value through markup built here with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework's escaping output, or sanitise it if it must stay markup. — frontend/src/plugins/loading.ts:31
- `primaryColor` is text this program did not author, and it is written into a script or style context through `innerHTML` with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. A script or style context needs its own escaping (or a JSON serialiser that escapes `<`); better, pass the value through a data attribute. — frontend/src/plugins/loading.ts:36
- `logoWithClass` is text this program did not author, and it is written into the text of an element through `innerHTML` with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework's escaping output, or sanitise it if it must stay markup. — frontend/src/plugins/loading.ts:37
- `$t('system.title')` is text this program did not author, and it is written into the text of an element through `innerHTML` with nothing encoding it for that place. Whoever controls the value controls the markup: it can close the element or attribute it sits in and open a script of its own. Encode it for HTML at this site, render it through the framework's escaping output, or sanitise it if it must stay markup. — frontend/src/plugins/loading.ts:43
What to do
- Each finding names the expression, the attribute it lands in and the line. Confirm the value's origin from the read this analyzer traced, then escape it at the sink or validate it against the shape the attribute accepts before interpolating.
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- An empty catch block silently discards the error — failures vanish with no log and no rethrow. Log it, handle it, or don't catch it. (×3) — backend/apps/base-system/src/api/iam/rest/authentication.controller.ts:42, backend/apps/base-system/src/api/iam/rest/authentication.controller.ts:70, frontend/packages/utils/src/storage.ts:33
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X4 · Structured logging
- `log` at line 129 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.log({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.log('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/apps/base-system/src/main.ts:129
- `log` at line 16 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.log({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.log('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. (×5) — backend/apps/base-system/src/lib/bounded-contexts/access-key/application/event-handlers/access_key-validation.event.handler.ts:16, backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/event-handlers/role-deleted.event.handler.ts:16, backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/event-handlers/domain-deleted.event.handler.ts:16, …
- `log` at line 26 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.log({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.log('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. (×2) — backend/apps/base-system/src/lib/bounded-contexts/access-key/application/event-handlers/access_key-deleted.event.handler.ts:26, backend/libs/infra/adapter/src/fastify.adapter.ts:26
- `log` at line 29 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.log({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.log('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/apps/base-system/src/lib/bounded-contexts/access-key/application/event-handlers/access_key-created.event.handler.ts:29
- `log` at line 35 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.log({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.log('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/apps/base-system/src/lib/bounded-contexts/api-endpoint/api-endpoint/application/event-handlers/api-endpoint.event.handler.ts:35
- `log` at line 41 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.log({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.log('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. (×2) — backend/apps/base-system/src/lib/bounded-contexts/api-endpoint/api-endpoint/application/event-handlers/api-endpoint.event.handler.ts:41, backend/libs/shared/ip2region/src/ip2region.service.ts:41
- `log` at line 11 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.log({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.log('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. (×2) — backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/event-handlers/user-created.event.handler.ts:11, backend/apps/base-system/src/lib/bounded-contexts/iam/menu/application/event-handlers/menu-deleted.event.handler.ts:11
- `log` at line 21 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.log({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.log('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/apps/base-system/src/lib/bounded-contexts/iam/role/application/event-handlers/role-deleted.event.handler.ts:21
- `log` at line 47 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.log({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.log('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/bootstrap/src/api/collect-api-data.ts:47
- `debug` at line 105 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:105
- `debug` at line 146 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:146
- `error` at line 148 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.error({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.error('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:148
- `debug` at line 164 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:164
- `debug` at line 177 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:177
- `error` at line 184 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.error({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.error('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:184
- `debug` at line 47 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/services/crypto.service.ts:47
- `debug` at line 51 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/services/crypto.service.ts:51
- `debug` at line 55 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/services/crypto.service.ts:55
- `debug` at line 68 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/services/crypto.service.ts:68
- `debug` at line 72 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/services/crypto.service.ts:72
- `debug` at line 76 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/services/crypto.service.ts:76
- `debug` at line 148 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/services/crypto.service.ts:148
- `debug` at line 155 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/services/crypto.service.ts:155
- `debug` at line 188 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/services/crypto.service.ts:188
- `debug` at line 210 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.debug({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.debug('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/infra/crypto/src/services/crypto.service.ts:210
- `log` at line 30 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.log({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.log('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/shared/ip2region/src/ip2region.service.ts:30
- `log` at line 49 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.log({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.log('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/shared/ip2region/src/ip2region.service.ts:49
- `warn` at line 55 is handed a template literal with `${…}` substitutions as its message, so the logger receives one finished string — the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Pass the values beside a constant message instead: `logger.warn({ orderId, status }, 'order status updated')` for pino and bunyan, `logger.warn('order status updated', { orderId, status })` for winston. If these calls go through a NestJS `Logger` routed into pino, nestjs-pino forwards an object first argument as fields in the same way. — backend/libs/shared/ip2region/src/ip2region.service.ts:55
What to do
- Interpolated log message defeats structured logging
X5 · Nullable reference types
- 34/35 of this repository's type-checking configuration(s) turn on strict null checking (`"strict": true`, or `"strictNullChecks": true`). A configuration that states neither is counted as OFF, because off is tsc's own default; a solution-style one whose `"files"` is empty and whose `"references"` point at other projects is in neither number, because it checks no source itself. Where it is off, `string` admits `null` and `undefined`: passing a value that is null compiles silently and throws on the first property access.
- ~0.6 `!` null assertions per 1k TypeScript source lines — 15 assertion(s) across the 26627 source line(s) of the 475 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: frontend/packages/color/src/palette/recommend.ts (3), frontend/src/hooks/common/table.ts (3), frontend/src/hooks/common/echarts.ts (2). Each one tells the compiler to trust the author about null, suppressing the very diagnostic `strictNullChecks` exists to produce.
What to do
- The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC1 · Text alternatives | 1.1.1, 1.2.2, 1.2.5 | Partial signal |
| 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 |
| 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 | 56% | Adequate — gated by X4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 70% | Adequate — gated by R9 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 33% | Weak — gated by D34, M2, M4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 19% | Critical — gated by D9, D13, R8, P1, P3, P5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 57% | Adequate — gated by D29, D30, C1 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 40% | Weak — gated by DM4, DM5, DM2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Accessibility | 26% | Weak — gated by AC1, AC4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 60% | Adequate | Strongest area. |
Not evidenced — 4 control(s) we could not find positive evidence for
- C3 Audit Trail — Repo shows no audit-logging mechanism (an audit-log table or model, an ORM write hook that records changes — a TypeORM/MikroORM subscriber, a Sequelize or Mongoose hook, Prisma middleware — or a change-history plugin such as mongoose-history or sequelize-paper-trail) for sensitive changes — absence of evidence is not evidence of a working control. Record an audit trail in code (or document where it lives) so this dimension can be scored.
- C4 Data Retention — Repo shows no data-retention / TTL / cleanup mechanism for personal data — absence of evidence is not evidence of a working control. Define retention periods and a purge/cleanup job (or TTL) in code, or document where retention is enforced, so this dimension can be scored.
- C5 Data-Subject Rights — Repo shows no corroborated data-subject-rights mechanism (erasure / export-portability / consent) tied to a subject id or GDPR vocabulary — absence of evidence is not evidence of a working control. Implement erasure, data export/portability and consent tracking over the subject's records.
- P6 Release Hygiene — not evidenced — no changelog, version stamp or semver release tag in the repo
Not included — 46 check(s) not relevant to this codebase
- AC5 ARIA correctness — No ARIA usage found in the parsed markup — AC5 not applicable here.
- AX1 Captive dependencies — Not applicable: NestJS makes a provider that injects a request-scoped one request-scoped itself (scope bubbles up the injection chain), and gives every consumer its own transient instance by contract.
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 18 — an image could not be pulled) — redis Pulling postgres Pulling pgbouncer Pulling pgbouncer Error Get "https://registry-1.docker.io/v2/": Forbidden redis Error context canceled postgres Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: backend Skipped - No image to be pulled db-init Skipped - No image to be pulled redis Pulling postgres Pulling pgbouncer Pulling redis Error Get "https://registry-1.docker.io/v2/": Forbidden pgbouncer Error Get "https://registry-1.docker.io/v2/": Forbidden postgres Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- D11 Test Reliability — No tests discovered
- D16 Bus Factor — single-maintainer 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 — ADRs are expected on deployable products with a user-facing host, not consumed libraries; no ADR log is required here.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Aggregate roots were found in only one source directory (base-system), which is a layered codebase, not two contexts. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.ts), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D32 Data Compliance (PII/GDPR) — 13 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D36 Supply-chain Provenance & Signing — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.ts) 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
- D8 Code Coverage — Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured — the jest suite in backend/ ran and not one test passed (FAIL apps/base-demo/src/base-demo.controller.spec.ts), so the coverage report describes the failed run, not the code. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository's maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run.
- DM10 One transaction, one aggregate — no repository writes detected — no operation to judge against the one-aggregate rule
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- DM7 Repository granularity — no repository abstraction detected (e.g. uses a document session)
- ED1 Event-Driven — not scored — this repository shows only 1 of the 3 signals this lens looks for (36 CQRS handler(s))
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — no CI workflow found
- P7 Outbound HTTP resilience — no outbound HTTP usage detected — no HTTP client call or construction in the JavaScript/TypeScript source (service entry point: backend/apps/base-system/src/main.ts:72 (NestFactory.create))
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a 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 bun lockfile — dependency freshness not measured here; JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- 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 — 108 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
- Domain depends on infrastructure: access_key.model backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/access_key.model.ts:2
- Domain depends on infrastructure: access_key.read.model backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/access_key.read.model.ts:2
- Domain depends on infrastructure: access_key-created.event backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/events/access_key-created.event.ts:2
- Domain depends on infrastructure: access_key-deleted.event backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/events/access_key-deleted.event.ts:2
- Domain depends on infrastructure: user.read.model backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/user.read.model.ts:2
- Domain depends on infrastructure: user backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/user.ts:2
- Domain depends on infrastructure: domain-create.command.handler backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-create.command.handler.ts:1
- Domain depends on infrastructure: domain-create.command.handler backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-create.command.handler.ts:3
- Domain depends on infrastructure: domain-delete.command.handler backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-delete.command.handler.ts:1
- Domain depends on infrastructure: domain-update.command.handler backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-update.command.handler.ts:1
- Domain depends on infrastructure: domain-update.command.handler backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/command-handlers/domain-update.command.handler.ts:3
- Domain depends on infrastructure: domain.model backend/apps/base-system/src/lib/bounded-contexts/iam/domain/domain/domain.model.ts:2
- Domain depends on infrastructure: domain.read.model backend/apps/base-system/src/lib/bounded-contexts/iam/domain/domain/domain.read.model.ts:2
- Domain depends on infrastructure: page-domains.query backend/apps/base-system/src/lib/bounded-contexts/iam/domain/queries/page-domains.query.ts:2
- Domain depends on infrastructure: menu.model backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.model.ts:2
- Domain depends on infrastructure: menu.read.model backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.read.model.ts:2
- Domain depends on infrastructure: role.model backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/role.model.ts:2
- Domain depends on infrastructure: role.read.model backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/role.read.model.ts:2
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- <img> without a text alternative frontend/src/components/custom/soybean-avatar.vue:9
- <img> without a text alternative frontend/src/views/home/modules/header-banner.vue:47
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- <textarea> without a programmatic label frontend/src/layouts/modules/theme-drawer/modules/config-operation.vue:50
- <iframe> without a title frontend/src/views/_builtin/iframe-page/[url].vue:21
- Click handler on a non-interactive <div> frontend/src/layouts/modules/theme-drawer/components/layout-mode-card.vue:72
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Unlisted import '@unocss/preset-wind3' frontend/uno.config.ts:4
- Import cycle (5 files) frontend/src/hooks/common/router.ts:4
Serious — 212 finding(s)
- No test reaches this file frontend/packages/color/src/constant/name.ts:1
- No test reaches this file frontend/src/locales/langs/en-us.ts:1
- No test reaches this file frontend/src/locales/langs/zh-cn.ts:1
- No test reaches this file backend/prisma/seeds/sys/sysMenu.ts:1
- No test reaches this file frontend/src/store/modules/route/index.ts:1
- No test reaches this file frontend/src/store/modules/route/shared.ts:1
- No test reaches this file frontend/src/store/modules/tab/index.ts:1
- No test reaches this file frontend/src/service/api/system-manage.ts:1
- No test reaches this file frontend/src/hooks/common/table.ts:1
- No test reaches this file frontend/src/views/manage/menu/modules/menu-operate-modal.vue:1
- No test reaches this file frontend/src/store/modules/theme/shared.ts:1
- No test reaches this file frontend/src/store/modules/tab/shared.ts:1
- No test reaches this file frontend/src/hooks/common/echarts.ts:1
- No test reaches this file frontend/src/store/modules/theme/index.ts:1
- No test reaches this file frontend/src/views/manage/menu/index.vue:1
- No test reaches this file backend/local-route.migrate.ts:1
- No test reaches this file frontend/src/router/guard/route.ts:1
- No test reaches this file frontend/packages/axios/src/index.ts:1
- No test reaches this file frontend/packages/color/src/palette/antd.ts:1
- No test reaches this file frontend/src/store/modules/app/index.ts:1
- No test reaches this file frontend/src/views/manage/role/index.vue:1
- No test reaches this file frontend/src/layouts/modules/global-tab/index.vue:1
- No test reaches this file REDACTED:1
- No test reaches this file frontend/src/views/manage/user/index.vue:1
- No test reaches this file frontend/packages/hooks/src/use-table.ts:1
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- TodoComment backend/local-route.migrate.ts:202
- TodoComment backend/apps/base-demo/src/base-demo.module.ts:166
- TodoComment backend/apps/base-system/src/app.module.ts:168
- TodoComment backend/apps/base-system/src/main.ts:98
- TodoComment backend/apps/base-system/src/lib/bounded-contexts/access-key/application/event-handlers/access_key-validation.event.handler.ts:15
- TodoComment backend/apps/base-system/src/lib/bounded-contexts/iam/role/application/event-handlers/user-logged-in.event.handler.ts:24
- TodoComment backend/libs/infra/strategies/src/jwt.passport-strategy.ts:26
- TodoComment frontend/src/service/api/system-manage.ts:146
- TodoComment frontend/src/service/api/system-manage.ts:165
- Anemic entity: AccessKey backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/access_key.model.ts:12
- Anemic entity: ApiEndpoint backend/apps/base-system/src/lib/bounded-contexts/api-endpoint/api-endpoint/domain/api-endpoint.model.ts:3
- Anemic entity: User backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/user.ts:20
- Anemic entity: TokensEntity backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/tokens.entity.ts:12
- Anemic entity: Domain backend/apps/base-system/src/lib/bounded-contexts/iam/domain/domain/domain.model.ts:15
- Anemic entity: Menu backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.model.ts:15
- Anemic entity: Role backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/role.model.ts:15
- Anemic entity: OperationLog backend/apps/base-system/src/lib/bounded-contexts/log-audit/operation-log/domain/operation-log.model.ts:5
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Animation without a prefers-reduced-motion guard frontend/src/components/common/reload-button.vue:17
- Animation without a prefers-reduced-motion guard frontend/src/plugins/loading.ts:39
- Animation without a prefers-reduced-motion guard frontend/src/styles/css/nprogress.css:55
- Animation without a prefers-reduced-motion guard frontend/src/styles/css/transition.css:28
- Animation without a prefers-reduced-motion guard frontend/src/styles/css/transition.css:58
- Animation without a prefers-reduced-motion guard frontend/src/styles/css/transition.css:74
- Deprecated: crypto-js REDACTED:62
- Deprecated: eslint REDACTED:95
- Deprecated: supertest REDACTED:105
- Deprecated: vue-i18n REDACTED:69
- Deprecated: eslint REDACTED:89
- Deprecated: crypto-js REDACTED:14
- Mutable entity: AccessKey backend/apps/base-system/src/lib/bounded-contexts/access-key/domain/access_key.model.ts:12
- Mutable entity: User backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/user.ts:20
- Mutable entity: TokensEntity backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/tokens.entity.ts:12
- Mutable entity: Domain backend/apps/base-system/src/lib/bounded-contexts/iam/domain/domain/domain.model.ts:15
- Mutable entity: Menu backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.model.ts:15
- Mutable entity: Role backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/role.model.ts:15
- Untrusted text written into markup unescaped frontend/src/plugins/loading.ts:31
- Untrusted text written into markup unescaped frontend/src/plugins/loading.ts:36
- Untrusted text written into markup unescaped frontend/src/plugins/loading.ts:37
- Untrusted text written into markup unescaped frontend/src/plugins/loading.ts:43
- FunctionTooLong: index.useRouteStore frontend/src/store/modules/route/index.ts:26
- FunctionTooLong: table.useTable frontend/src/hooks/common/table.ts:13
- FunctionTooLong: index.useTabStore frontend/src/store/modules/tab/index.ts:25
- Sync-over-async blocking frontend/packages/scripts/src/commands/git-commit.ts:73
- Sync-over-async blocking frontend/packages/scripts/src/commands/router.ts:70
- Sync-over-async blocking frontend/packages/scripts/src/commands/router.ts:71
- Boundary violation [package:third-party-deep-import] backend/apps/base-demo/src/base-demo.module.ts:11
- Boundary violation [package:third-party-deep-import] backend/apps/base-system/src/app.module.ts:7
- Boundary violation [package:undeclared-workspace-dep] frontend/packages/materials/src/libs/page-tab/shared.ts:1
- Weak hash algorithm backend/libs/bootstrap/src/api/collect-api-data.ts:125
- Weak hash algorithm backend/libs/infra/guard/src/api-key/services/complex-api-key.service.ts:47
- Weak hash algorithm backend/libs/infra/guard/src/api-key/services/complex-api-key.service.ts:49
- Swallowed exception (empty catch) backend/apps/base-system/src/api/iam/rest/authentication.controller.ts:42
- Swallowed exception (empty catch) backend/apps/base-system/src/api/iam/rest/authentication.controller.ts:70
- Swallowed exception (empty catch) frontend/packages/utils/src/storage.ts:33
- REDACTED
- REDACTED
- TooManyMethods: AuthZService backend/libs/infra/casbin/src/services/authz.service.ts:13
- TooManyMethods: AuthZManagementService backend/libs/infra/casbin/src/services/authz-management.service.ts:12
- Fake-async — async method never awaits backend/apps/base-system/src/lib/bounded-contexts/access-key/application/event-handlers/access_key-validation.event.handler.ts:14
- Fake-async — async method never awaits frontend/packages/scripts/src/commands/update-pkg.ts:3
- Duplicated block (33 lines × 2 locations) backend/apps/base-system/src/infra/bounded-contexts/iam/authentication/repository/user.read.pg.repository.ts:69
- Duplicated block (33 lines × 2 locations) backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/tokens.read.model.ts:38
- Duplicated block (20 lines × 4 locations) backend/apps/base-system/src/api/iam/rest/domain.controller.ts:95
- Duplicated block (20 lines × 4 locations) backend/libs/infra/casbin/src/services/authz-api.ts:303
- Duplicated block (19 lines × 2 locations) backend/apps/base-system/src/api/endpoint/rest/endpoint.controller.ts:57
- Duplicated block (19 lines × 2 locations) backend/apps/base-system/src/lib/bounded-contexts/iam/menu/application/command-handlers/menu-create.command.handler.ts:23
- Duplicated block (17 lines × 3 locations) backend/libs/infra/casbin/src/services/authz-api.ts:65
- Duplicated block (17 lines × 3 locations) frontend/src/views/manage/menu/index.vue:90
- Dead file (~0 LoC) backend/libs/global/src/keyv-cache-store.ts
- Dead file (~0 LoC) backend/libs/shared/redis/src/redis.service.ts
- Accessibility enforcement below the top rung
- Inconsistent return type for success validation. Alova's `isBackendSuccess` returns a `Promise<boolean>`, while Axios's `isBackendSuccess` returns a synchronous `boolean`. This forces consumers to handle async/sync differences inconsistently when abstracting over multiple HTTP clients.
- Inconsistent error handler signature. Alova's `onError` receives the original response (which may be null) and the method instance, whereas Axios's `onError` only receives the error object. This makes it difficult to write a unified error handling strategy across both HTTP clients.
- Divergent failure handling patterns. Axios uses a dedicated `onBackendFail` hook that can return a new response (allowing for retry/interception logic), while Alova relies on `isBackendSuccess` to determine flow. This creates two different mental models for handling business logic errors (e.g., 401/403) vs network errors.
- REDACTED
- Off the main sequence: @sa/utils
- Coverage not measured — JavaScript/TypeScript suite
- Constructible in an invalid state: ApiEndpoint backend/apps/base-system/src/lib/bounded-contexts/api-endpoint/api-endpoint/domain/api-endpoint.model.ts:12
- Hollow method — returns a constant without doing the work backend/libs/infra/casbin/src/decorators/use-permissions.decorator.ts:6
- No CI pipeline
- No DR/backup evidence
- Duplication concentrated across 4 sibling directories (19 clone groups) backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/tokens.read.model.ts:38
- Duplication concentrated across 5 sibling directories (13 clone groups) backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/command-handlers/user-update.command.handler.ts:12
- Duplication concentrated across 4 sibling directories (11 clone groups) backend/apps/base-system/src/infra/bounded-contexts/iam/domain/repository/domain.read.pg.repository.ts:26
- Duplication concentrated across 4 sibling directories (9 clone groups) backend/apps/base-system/src/api/endpoint/rest/endpoint.controller.ts:35
- Duplication concentrated across 3 sibling directories (8 clone groups) frontend/src/views/access-key/index.vue:65
- Duplication concentrated across 4 sibling directories (5 clone groups) backend/apps/base-system/src/infra/bounded-contexts/iam/authentication/repository/user.read.pg.repository.ts:69
- Duplicated block (96 lines × 2 locations) backend/libs/infra/casbin/src/services/authz-rbac.service.ts:14
- Wholesale file copy (84 identical lines × 2 files) backend/apps/base-demo/src/base-demo.module.ts:1
- Duplicated block with local edits (62 matched lines × 2 locations) backend/apps/base-system/src/api/iam/rest/role.controller.ts:31
- Duplicated block (62 lines × 2 locations) frontend/src/views/access-key/index.vue:65
- Duplicated block with local edits (53 matched lines × 2 locations) frontend/src/views/manage/role/modules/api-endpoint-auth-modal.vue:15
- Duplicated block (50 lines × 2 locations) backend/libs/infra/casbin/src/services/authz-management.service.ts:17
- Duplicated block (47 lines × 2 locations) backend/libs/infra/casbin/src/services/authz-management.service.ts:558
- Duplicated block (45 lines × 2 locations) backend/apps/base-system/src/infra/bounded-contexts/log-audit/login-log/repository/login-log.read.pg.repository.ts:15
- Duplicated block (37 lines × 4 locations) backend/libs/infra/casbin/src/services/authz-management.service.ts:378
- Duplicated block (36 lines × 3 locations) backend/apps/base-system/src/api/iam/rest/domain.controller.ts:31
- Duplicated block (31 lines × 3 locations) frontend/src/views/access-key/modules/access-key-operate-drawer.vue:55
- Duplicated block (26 lines × 3 locations) backend/apps/base-system/src/infra/bounded-contexts/iam/domain/repository/domain.read.pg.repository.ts:26
- Duplicated block (25 lines × 2 locations) backend/apps/base-system/src/infra/bounded-contexts/iam/authentication/repository/user.read.pg.repository.ts:118
- Duplicated block (24 lines × 2 locations) backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/command-handlers/user-update.command.handler.ts:12
- Duplicated block (23 lines × 2 locations) backend/libs/infra/casbin/src/services/authz-api.ts:229
- Duplicated block with local edits (23 matched lines × 2 locations) frontend/src/views/_builtin/login/modules/code-login.vue:10
- Duplicated block (22 lines × 3 locations) backend/apps/base-system/src/api/iam/rest/menu.controller.ts:136
- Duplicated block (22 lines × 2 locations) frontend/src/views/log/login/index.vue:10
- Duplicated block (21 lines × 2 locations) backend/apps/base-system/src/lib/bounded-contexts/iam/menu/application/command-handlers/menu-update.command.handler.ts:23
- Duplicated block (20 lines × 2 locations) frontend/src/views/manage/role/modules/role-operate-drawer.vue:9
- Duplicated block (18 lines × 5 locations) backend/apps/base-system/src/api/access-key/rest/access_key.controller.ts:73
- Duplicated block (18 lines × 2 locations) frontend/src/layouts/modules/global-menu/modules/reversed-horizontal-mix-menu.vue:35
- Duplicated block (18 lines × 3 locations) frontend/src/views/access-key/modules/access-key-search.vue:7
- Duplicated block (17 lines × 2 locations) backend/apps/base-demo/src/main.ts:18
- Duplicated block (16 lines × 4 locations) frontend/src/views/access-key/modules/access-key-operate-drawer.vue:73
- Duplicated block (15 lines × 4 locations) backend/apps/base-system/src/infra/bounded-contexts/access-key/repository/access_key.read.pg.repository.ts:14
- Complex function transformRouteToSysMenu (cyclomatic 14, cognitive 13) backend/local-route.migrate.ts:77
- Complex function removeFilteredPolicy (cyclomatic 13, cognitive 12) backend/libs/infra/casbin/src/adapter/casbin-prisma.adapter.ts:154
- Complex function validateKey (cyclomatic 12, cognitive 10) backend/libs/infra/guard/src/api-key/services/complex-api-key.service.ts:56
- frontend/packages/color/src/constant/name.ts: 1578 lines of code frontend/packages/color/src/constant/name.ts:1
- backend/libs/infra/casbin/src/services/authz.service.ts: 920 lines of code backend/libs/infra/casbin/src/services/authz.service.ts:1
- backend/libs/infra/casbin/src/services/authz-management.service.ts: 639 lines of code backend/libs/infra/casbin/src/services/authz-management.service.ts:1
- backend/libs/infra/casbin/src/services/authz-api.ts: 453 lines of code backend/libs/infra/casbin/src/services/authz-api.ts:1
- frontend/src/locales/langs/en-us.ts: 424 lines of code frontend/src/locales/langs/en-us.ts:1
- frontend/src/locales/langs/zh-cn.ts: 424 lines of code frontend/src/locales/langs/zh-cn.ts:1
- frontend/src/views/manage/menu/modules/menu-operate-modal.vue: 403 lines of code frontend/src/views/manage/menu/modules/menu-operate-modal.vue:1
- Dead file (~374 LoC) backend/prisma/seeds/sys/sysMenu.ts
- Dead file (~207 LoC) backend/local-route.migrate.ts
- Dead file (~82 LoC) backend/prisma/seeds/sys/casbinRule.ts
- Dead file (~79 LoC) frontend/packages/hooks/src/use-request.ts
- Dead file (~75 LoC) backend/prisma/seeds/sys/sysRoleMenu.ts
- Dead file (~56 LoC) REDACTED
- Dead file (~54 LoC) backend/libs/infra/interceptors/src/transform.interceptor.ts
- Dead file (~43 LoC) backend/prisma/seeds/sys/sysRole.ts
- Dead file (~28 LoC) backend/prisma/seeds/index.ts
- Dead file (~22 LoC) backend/prisma/seeds/sys/sysUserRole.ts
- Dead file (~21 LoC) frontend/src/hooks/business/auth.ts
- Dead file (~20 LoC) backend/prisma/seeds/sys/sysDomain.ts
- Dead file (~6 LoC) backend/apps/base-system/src/lib/bounded-contexts/iam/role/application/dto/role-create.dto.ts
- Dead file (~5 LoC) backend/apps/base-system/src/lib/bounded-contexts/iam/role/queries/get-roles.query-result.ts
- Dead file (~3 LoC) backend/prisma/seeds/helper.ts
- Unlisted import 'axios' REDACTED:1
- Unlisted import '@unocss/core' frontend/packages/uno-preset/src/index.ts:3
- Unused dependency 'dotenv'
- Unused dependency 'source-map-support'
- Unused dependency 'tsconfig-paths'
- Async function without AbortSignal: getHtmlBuildTime frontend/src/plugins/app.ts:91
Minor — 228 finding(s)
- Orphaned file frontend/src/views/manage/menu/modules/menu-operate-modal.vue:1
- Orphaned file frontend/src/locales/langs/en-us.ts:1
- Orphaned file frontend/src/locales/langs/zh-cn.ts:1
- Orphaned file backend/libs/infra/casbin/src/services/authz-api.ts:1
- Orphaned file frontend/packages/color/src/constant/palette.ts:1
- Orphaned file frontend/src/store/modules/route/index.ts:1
- Orphaned file backend/prisma/seeds/sys/sysMenu.ts:1
- Orphaned file backend/libs/infra/casbin/src/services/authz-rbac.service.ts:1
- Orphaned file frontend/src/store/modules/route/shared.ts:1
- Orphaned file backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/service/authorization.service.ts:1
- Orphaned file backend/libs/infra/crypto/src/services/crypto.service.ts:1
- Orphaned file frontend/src/store/modules/tab/index.ts:1
- Orphaned file frontend/src/views/manage/menu/index.vue:1
- Orphaned file frontend/src/store/modules/theme/shared.ts:1
- Orphaned file frontend/src/hooks/common/table.ts:1
- Orphaned file frontend/packages/materials/src/libs/admin-layout/index.vue:1
- Orphaned file backend/libs/infra/casbin/src/adapter/casbin-prisma.adapter.ts:1
- Orphaned file frontend/src/layouts/modules/theme-drawer/modules/page-fun.vue:1
- Orphaned file backend/local-route.migrate.ts:1
- Orphaned file REDACTED:1
- Orphaned file backend/libs/shared/ip2region/src/ip2region.ts:1
- Orphaned file backend/apps/base-system/src/app.module.ts:1
- Orphaned file frontend/src/views/manage/role/index.vue:1
- Orphaned file frontend/packages/materials/src/types/index.ts:1
- Orphaned file frontend/src/store/modules/tab/shared.ts:1
- Interpolated log message defeats structured logging backend/apps/base-system/src/main.ts:129
- Interpolated log message defeats structured logging backend/apps/base-system/src/lib/bounded-contexts/access-key/application/event-handlers/access_key-validation.event.handler.ts:16
- Interpolated log message defeats structured logging backend/apps/base-system/src/lib/bounded-contexts/access-key/application/event-handlers/access_key-deleted.event.handler.ts:26
- Interpolated log message defeats structured logging backend/apps/base-system/src/lib/bounded-contexts/access-key/application/event-handlers/access_key-created.event.handler.ts:29
- Interpolated log message defeats structured logging backend/apps/base-system/src/lib/bounded-contexts/api-endpoint/api-endpoint/application/event-handlers/api-endpoint.event.handler.ts:35
- Interpolated log message defeats structured logging backend/apps/base-system/src/lib/bounded-contexts/api-endpoint/api-endpoint/application/event-handlers/api-endpoint.event.handler.ts:41
- Interpolated log message defeats structured logging backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/event-handlers/user-created.event.handler.ts:11
- Interpolated log message defeats structured logging backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/event-handlers/role-deleted.event.handler.ts:16
- Interpolated log message defeats structured logging backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/application/event-handlers/domain-deleted.event.handler.ts:16
- Interpolated log message defeats structured logging backend/apps/base-system/src/lib/bounded-contexts/iam/domain/application/event-handlers/domain-deleted.event.handler.ts:16
- Interpolated log message defeats structured logging backend/apps/base-system/src/lib/bounded-contexts/iam/menu/application/event-handlers/menu-deleted.event.handler.ts:11
- Interpolated log message defeats structured logging backend/apps/base-system/src/lib/bounded-contexts/iam/role/application/event-handlers/role-deleted.event.handler.ts:21
- Interpolated log message defeats structured logging backend/apps/base-system/src/lib/bounded-contexts/iam/role/application/event-handlers/domain-deleted.event.handler.ts:16
- Interpolated log message defeats structured logging backend/libs/bootstrap/src/api/collect-api-data.ts:47
- Interpolated log message defeats structured logging backend/libs/infra/adapter/src/fastify.adapter.ts:26
- Interpolated log message defeats structured logging backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:105
- Interpolated log message defeats structured logging backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:146
- Interpolated log message defeats structured logging backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:148
- Interpolated log message defeats structured logging backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:164
- Interpolated log message defeats structured logging backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:177
- Interpolated log message defeats structured logging backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:184
- Interpolated log message defeats structured logging backend/libs/infra/crypto/src/services/crypto.service.ts:47
- Interpolated log message defeats structured logging backend/libs/infra/crypto/src/services/crypto.service.ts:51
- Interpolated log message defeats structured logging backend/libs/infra/crypto/src/services/crypto.service.ts:55
- Interpolated log message defeats structured logging backend/libs/infra/crypto/src/services/crypto.service.ts:68
- Console output used as the logging channel backend/local-route.migrate.ts:67
- Console output used as the logging channel backend/local-route.migrate.ts:194
- Console output used as the logging channel backend/local-route.migrate.ts:200
- Console output used as the logging channel backend/local-route.migrate.ts:203
- Console output used as the logging channel backend/local-route.migrate.ts:204
- Console output used as the logging channel backend/apps/base-demo/src/base-demo.controller.ts:116
- Console output used as the logging channel backend/apps/base-system/src/lib/bounded-contexts/access-key/application/query-handlers/access_keys.bootstrap.handler.ts:25
- Console output used as the logging channel backend/libs/infra/casbin/src/guards/authz.guard.ts:66
- Console output used as the logging channel backend/libs/logger/src/logger.module.ts:52
- Console output used as the logging channel backend/libs/logger/src/logger.module.ts:129
- Console output used as the logging channel backend/libs/shared/prisma/src/prisma.service.ts:26
- Console output used as the logging channel backend/libs/shared/prisma/src/prisma.service.ts:27
- Console output used as the logging channel backend/libs/shared/prisma/src/prisma.service.ts:28
- Console output used as the logging channel backend/libs/utils/src/tree.util.ts:44
- Console output used as the logging channel frontend/src/plugins/app.ts:9
- Console output used as the logging channel frontend/src/router/elegant/transform.ts:134
- Console output used as the logging channel frontend/src/utils/service.ts:16
- Primitive id on a domain type: UserCreatedEvent.userId backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/events/user-created.event.ts:5
- Primitive id on a domain type: UserDeletedEvent.userId backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/events/user-deleted.event.ts:5
- Primitive id on a domain type: RoleDeletedEvent.roleId backend/apps/base-system/src/lib/bounded-contexts/iam/role/domain/events/role-deleted.event.ts:5
- Primitive id on a domain type: TokenGeneratedEvent.userId backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/events/token-generated.event.ts:7
- Primitive id on a domain type: TokenGeneratedEvent.requestId backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/events/token-generated.event.ts:13
- Primitive id on a domain type: TokensEntity.userId backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/tokens.entity.ts:16
- Primitive id on a domain type: TokensEntity.requestId backend/apps/base-system/src/lib/bounded-contexts/iam/tokens/domain/tokens.entity.ts:22
- Primitive id on a domain type: UserLoggedInEvent.userId backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/events/user-logged-in.event.ts:5
- Primitive id on a domain type: UserLoggedInEvent.requestId backend/apps/base-system/src/lib/bounded-contexts/iam/authentication/domain/events/user-logged-in.event.ts:11
- Primitive id on a domain type: MenuDeletedEvent.menuId backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/events/menu-deleted.event.ts:5
- Primitive id on a domain type: Menu.i18nKey backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.model.ts:32
- Primitive id on a domain type: OperationLog.userId backend/apps/base-system/src/lib/bounded-contexts/log-audit/operation-log/domain/operation-log.model.ts:6
- Primitive id on a domain type: OperationLog.requestId backend/apps/base-system/src/lib/bounded-contexts/log-audit/operation-log/domain/operation-log.model.ts:11
- Deprecated: glob REDACTED:2702
- Deprecated: inflight REDACTED:2813
- Deprecated: resolve-url REDACTED:3425
- Deprecated: source-map-resolve REDACTED:3596
- Deprecated: source-map-url REDACTED:3600
- Deprecated: stable REDACTED:3635
- Deprecated: urix REDACTED:3933
- Outdated (npm): @nestjs/axios REDACTED:40
- Outdated (npm): @nestjs/cache-manager REDACTED:41
- Outdated (npm): @nestjs/config REDACTED:43
- Outdated (npm): @nestjs/event-emitter REDACTED:46
- Outdated (npm): @nestjs/schedule REDACTED:51
- README/code drift README.md:200
- README/code drift README.md:202
- README/code drift README.md:207
- README/code drift backend/README.md:75
- README/code drift frontend/README.en_US.md:9
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Diagnostic log message is built whether or not it is wanted backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:105
- Diagnostic log message is built whether or not it is wanted backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:164
- Diagnostic log message is built whether or not it is wanted backend/libs/infra/crypto/src/interceptors/crypto.interceptor.ts:177
- Diagnostic log message is built whether or not it is wanted backend/libs/infra/crypto/src/services/crypto.service.ts:76
- Most significant orphaned file frontend/packages/color/src/constant/name.ts:1
- Most significant orphaned file backend/libs/infra/casbin/src/services/authz.service.ts:1
- Most significant orphaned file backend/libs/infra/casbin/src/services/authz-management.service.ts:1
- Blanket warning suppression frontend/src/router/elegant/imports.ts:1
- Blanket warning suppression frontend/src/router/elegant/routes.ts:1
- Blanket warning suppression frontend/src/router/elegant/transform.ts:1
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Documentation: no architecture or design documentation README.md
- Split backend
- REDACTED
- Concentrated knowledge decay
- No ADRs
- Logging is not universal
- No SAST
- Unused export 'MenuReadModel' backend/apps/base-system/src/lib/bounded-contexts/iam/menu/domain/menu.read.model.ts:50
- Unused export 'X_REQUEST_ID' backend/libs/constants/src/rest.constant.ts:5
- Unused export 'AESCrypto' backend/libs/infra/crypto/src/decorators/crypto.decorator.ts:47
- Unused export 'RSACrypto' backend/libs/infra/crypto/src/decorators/crypto.decorator.ts:58
- Unused export 'WithCryptoConfig' backend/libs/infra/crypto/src/decorators/crypto.decorator.ts:68
- Unused export 'getContentType' frontend/packages/axios/src/shared.ts:3
- Unused export 'isResponseJson' frontend/packages/axios/src/shared.ts:24
- Unused export 'colorNameMap' frontend/packages/color/src/constant/name.ts:1576
- Unused export 'getRecommendedPaletteColorByNumber' frontend/packages/color/src/palette/recommend.ts:44
- Unused export 'themeSchemaOptions' frontend/src/constants/app.ts:13
- Unused export 'themeLayoutModeOptions' frontend/src/constants/app.ts:30
- Unused export 'userGenderOptions' frontend/src/constants/business.ts:15
- Unused export 'yesOrNoOptions' frontend/src/constants/common.ts:8
- Unused export 'REG_CODE_FOUR' frontend/src/constants/reg.ts:21
- Unused export 'REG_URL' frontend/src/constants/reg.ts:24
- Unused export 'setupAppErrorHandle' frontend/src/plugins/app.ts:6
- Unused export 'fetchCustomBackendError' frontend/src/service/api/auth.ts:46
- Unused export 'fetchGetAllPages' frontend/src/service/api/system-manage.ts:59
- Unused export 'demoRequest' REDACTED:126
- Unused export 'filterTabsById' frontend/src/store/modules/tab/shared.ts:153
- Unused export 'sessionStg' frontend/src/utils/storage.ts:7
- Unused export 'localforage' frontend/src/utils/storage.ts:9
- No security response headers detected frontend/nginx.conf:42
- Not all async functions that make a request accept an AbortSignal
- Strict null checking is not enabled everywhere the repository type-checks
- Null assertions (`!`) reduce the strict null checking score
Minor — 51 finding(s)
- Outdated (npm): @alova/mock
- Outdated (npm): @fastify/compress
- Outdated (npm): @fastify/csrf-protection
- Outdated (npm): @fastify/helmet
- Outdated (npm): @fastify/multipart
- Outdated (npm): @fastify/static
- Outdated (npm): @iconify/vue
- Outdated (npm): @keyv/redis
- Outdated (npm): @nest-lab/throttler-storage-redis
- Outdated (npm): @nestjs/common
- Outdated (npm): @nestjs/core
- Outdated (npm): @nestjs/cqrs
- Outdated (npm): @nestjs/jwt
- Outdated (npm): @nestjs/microservices
- Outdated (npm): @nestjs/passport
- Outdated (npm): @nestjs/platform-fastify
- Outdated (npm): @nestjs/swagger
- Outdated (npm): @nestjs/terminus
- Outdated (npm): @nestjs/throttler
- Outdated (npm): @prisma/client
- Outdated (npm): @vueuse/core
- Outdated (npm): alova
- Outdated (npm): axios
- Outdated (npm): bcryptjs
- Outdated (npm): cache-manager
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-3cb6e28f6bf44ec4933561148d7f281b/history.json --exit-code 0 --source . | 7 | 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-3cb6e28f6bf44ec4933561148d7f281b/tree.json --exit-code 0 --source . | 7 | 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 . | 7 | 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 | 85 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 10 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. semgrep could not parse 13 file(s) — `backend/apps/base-demo/src/main.ts`, `backend/apps/base-system/src/main.ts`, `frontend/packages/alova/src/index.ts`, `frontend/packages/axios/src/index.ts`, `frontend/packages/scripts/src/locales/index.ts`, … (+8 more) — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 0 | — |
| D36 · Supply-chain Provenance & Signing | provenance | — | provenance: not applicable — No CI/build pipeline found (.github/.forgejo/.gitea workflows, .circleci, .buildkite, .woodpecker, .teamcity, .gitlab-ci.yml, .travis.yml, bitbucket-pipelines.yml, .drone.yml, .cirrus.yml, .woodpecker.yml, appveyor.yml, azure-pipelines*.yml, .pipelines/, .vsts-ci/, .azuredevops/, Jenkinsfile); there is no build to attest provenance for. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |