Executive summary
ViniMTrevisan/Kybernus-CLI scores 37 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 28 and is rated Weak. Its Dependency Hygiene 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 3 Leaked secret finding(s) in Secret Scanning and to resolve the 3 Outdated (npm) finding(s) in Dependency Hygiene, and if Production Readiness rose to 70, the score would rise from 37 to about 44.
97 findings are critical: 45 in Dependency Vulnerabilities, 14 in Forms & labels, ten in Static Analysis (SAST), eight in Dependency Hygiene, six in IaC & Container Security, five in Web-Security Posture, three in Secret Scanning, two in Keyboard semantics, one in Circular Imports, one in Page structure, one in Test Quality and one in Text alternatives.
Watchdog couldn't measure 4 dimensions in this code, among them Internal API Consistency, Navigability and Structured logging, so they are left out of the score. The product code is 17,531 lines, which would take an estimated 0.2 person-years, around €24,000, to rebuild.
If Production Readiness rose from 28 to 70, the lowest score rated Strong, the score would rise from 37 to about 44.
New since the last survey: 95 findings
- Dependency Hygiene · Deprecated: eslint REDACTED
- Secret Scanning · REDACTED
- Secret Scanning · REDACTED
- Secret Scanning · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- 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
- Supply-chain Provenance & Signing · REDACTED
- Large Files · src/core/features/feature-generator.ts: 415 lines of code src/core/features/feature-generator.ts
- Large Files · templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx: 403 lines of code templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx
- Dependency Hygiene · Unlisted import 'picocolors' src/cli/commands/add.ts
- Dependency Hygiene · Unlisted import 'ws' add-features/websocket/nodejs-express.ts
- Dependency Hygiene · Unused dependency 'bcryptjs'
- Web-Security Posture · Cryptographic key material is a compile-time constant add-features/auth/nestjs/jwt.strategy.ts
- Web-Security Posture · Cryptographic key material is a compile-time constant add-features/auth/nextjs/jwt.ts
- Web-Security Posture · Cryptographic key material is a compile-time constant REDACTED
- Web-Security Posture · Cryptographic key material is a compile-time constant REDACTED
- Exception handling · Swallowed exception (empty catch) REDACTED
- Exception handling · Swallowed exception (empty catch) src/core/generator/project.ts
- Exception handling · Swallowed exception (empty catch) src/core/generator/project.ts
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/api/src/server.ts
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/api/src/application/cart/cart.service.ts
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/api/src/application/orders/order.service.ts
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/api/src/infrastructure/services/payment/stripe-webhook.handler.ts
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/api/src/modules/profile/profile.controller.ts
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/api/src/presentation/modules/profile/profile.controller.ts
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/web/src/modules/catalog/pages/ProductListPage.tsx
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/web/src/shared/components/CookieConsent.tsx
- Exception handling · Swallowed exception (empty catch) templates/ecommerce/apps/web/src/shared/components/CookieConsent.tsx
- Incompleteness & stubs · Both branches are identical — the condition decides nothing apps/web/src/app/api/analytics/track/route.ts
- Incompleteness & stubs · Hollow method — returns a constant without doing the work templates/ecommerce/apps/api/src/modules/checkout/tax.service.ts
- Keyboard semantics · Modal dialog does not manage focus templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx
- Keyboard semantics · Modal dialog does not manage focus templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx
- Keyboard semantics · Modal dialog does not manage focus templates/ecommerce/apps/web/src/shared/components/CookieConsent.tsx
- Visual & motion safety · Animation without a prefers-reduced-motion guard apps/web/src/app/admin-login/page.tsx
- Visual & motion safety · Animation without a prefers-reduced-motion guard apps/web/src/app/admin/page.tsx
- Visual & motion safety · Animation without a prefers-reduced-motion guard apps/web/src/components/GoogleSignInButton.tsx
- Visual & motion safety · Animation without a prefers-reduced-motion guard templates/ecommerce/apps/web/src/modules/catalog/components/ProductCard.tsx
- Async & latency hygiene · Sync-over-async blocking REDACTED
- Async & latency hygiene · Sync-over-async blocking REDACTED
- Async & latency hygiene · Sync-over-async blocking REDACTED
- Async & latency hygiene · Sync-over-async blocking REDACTED
- Async & latency hygiene · Sync-over-async blocking REDACTED
- Async & latency hygiene · Sync-over-async blocking REDACTED
- Async & latency hygiene · Sync-over-async blocking REDACTED
- Async & latency hygiene · Sync-over-async blocking REDACTED
- Async & latency hygiene · Sync-over-async blocking templates/ecommerce/apps/api/src/infrastructure/services/storage/local-disk.storage.service.ts
- Async & latency hygiene · Sync-over-async blocking templates/ecommerce/apps/api/src/infrastructure/services/storage/local-disk.storage.service.ts
Fixed since the last survey: 134 findings
- Secret Scanning · Leaked secret: high-entropy-secret REDACTED
- Dependency Vulnerabilities · Critical vulnerability: REDACTED REDACTED
- Dependency Vulnerabilities · Critical CVE: [CVE redacted] REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: REDACTED REDACTED
- Dependency Vulnerabilities · High CVE: 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 · High CVE: [GHSA redacted] REDACTED
- Supply-chain Provenance & Signing REDACTED
- Code Duplication · Duplicated block (10 lines × 2 locations) REDACTED
- Code Duplication · Duplicated block (10 lines × 2 locations) templates/ecommerce/apps/api/src/domain/cart/cart.entity.ts
- Code Duplication · Duplicated block (10 lines × 2 locations) templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/order.memory.repository.ts
- Code Duplication · Duplicated block (10 lines × 2 locations) templates/ecommerce/apps/api/src/infrastructure/persistence/prisma/auth/user.prisma.repository.ts
- Code Duplication · Duplicated block (10 lines × 2 locations) REDACTED
- Code Duplication · Duplicated block (10 lines × 4 locations) templates/ecommerce/apps/web/src/modules/auth/pages/ForgotPasswordPage.tsx
- Code Duplication · Duplicated block (10 lines × 2 locations) templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts
- Code Duplication · Duplicated block (10 lines × 2 locations) templates/ecommerce/apps/web/src/modules/legal/pages/PrivacyPolicyPage.tsx
- Code Duplication · Duplicated block (9 lines × 2 locations) REDACTED
- Code Duplication · Duplicated block (9 lines × 3 locations) templates/ecommerce/apps/api/src/domain/auth/user.entity.ts
- Code Duplication · Duplicated block (9 lines × 3 locations) templates/ecommerce/apps/api/src/domain/cart/cart.entity.ts
- Code Duplication · Duplicated block (9 lines × 2 locations) templates/ecommerce/apps/api/src/modules/admin/admin.routes.ts
- Code Duplication · Duplicated block (9 lines × 2 locations) templates/ecommerce/apps/api/src/modules/cart/cart.routes.ts
- Code Duplication · Duplicated block (8 lines × 2 locations) apps/web/src/app/privacy/page.tsx
- Code Duplication · Duplicated block with local edits (8 matched lines × 2 locations) apps/web/src/components/ArchitectureShowcase.tsx
- Code Duplication · Duplicated block (8 lines × 3 locations) apps/web/src/components/ArchitectureShowcase.tsx
- Code Duplication · Duplicated block (8 lines × 2 locations) apps/web/src/lib/redis.ts
- Code Duplication · Duplicated block (8 lines × 2 locations) templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/order.memory.repository.ts
- Code Duplication · Duplicated block (8 lines × 2 locations) templates/ecommerce/apps/api/src/modules/orders/order.routes.ts
- Code Duplication · Duplicated block (8 lines × 2 locations) templates/ecommerce/apps/web/src/modules/admin/pages/CouponsAdminPage.tsx
- Code Duplication · Duplicated block (8 lines × 2 locations) templates/ecommerce/apps/web/src/modules/admin/pages/DashboardPage.tsx
- Code Duplication · Duplicated block (8 lines × 2 locations) templates/ecommerce/apps/web/src/modules/auth/pages/ResetPasswordPage.tsx
- Code Duplication · Duplicated block (7 lines × 2 locations) REDACTED
- Code Duplication · Duplicated block (7 lines × 2 locations) src/core/generator/context-builder.ts
- Code Duplication · Duplicated block (7 lines × 2 locations) templates/ecommerce/apps/api/src/application/admin/dashboard.service.ts
- Code Duplication · Duplicated block with local edits (7 matched lines × 2 locations) templates/ecommerce/apps/api/src/application/catalog/catalog.service.ts
- Code Duplication · Duplicated block (7 lines × 4 locations) templates/ecommerce/apps/web/src/modules/admin/pages/CouponsAdminPage.tsx
- Code Duplication · Duplicated block (7 lines × 2 locations) templates/ecommerce/apps/web/src/modules/auth/pages/LoginPage.tsx
- Code Duplication · Duplicated block (6 lines × 2 locations) apps/web/src/components/CopyCommandButton.tsx
- Code Duplication · Duplicated block (6 lines × 2 locations) apps/web/src/components/Hero.tsx
- Code Duplication · Duplicated block (6 lines × 2 locations) templates/ecommerce/apps/api/src/application/cart/cart.service.ts
- Code Duplication · Duplicated block (6 lines × 2 locations) templates/ecommerce/apps/api/src/application/profile/profile.service.ts
- Code Duplication · Duplicated block with local edits (6 matched lines × 2 locations) templates/ecommerce/apps/api/src/domain/auth/user.repository.ts
- Code Duplication · Duplicated block with local edits (6 matched lines × 2 locations) templates/ecommerce/apps/api/src/domain/cart/coupon.repository.ts
- Code Duplication · Duplicated block with local edits (6 matched lines × 2 locations) templates/ecommerce/apps/api/src/domain/catalog/category.repository.ts
- Code Duplication · Duplicated block (6 lines × 3 locations) templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/order.memory.repository.ts
- Code Duplication · Duplicated block (6 lines × 2 locations) templates/ecommerce/apps/api/src/infrastructure/services/token/token.service.ts
- Code Duplication · Duplicated block (6 lines × 2 locations) templates/ecommerce/apps/api/src/modules/profile/profile.routes.ts
- Code Duplication · Duplicated block (6 lines × 2 locations) templates/ecommerce/apps/web/src/modules/auth/pages/ForgotPasswordPage.tsx
- Code Duplication · Duplicated block (6 lines × 2 locations) templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx
- Code Duplication · Duplicated block (5 lines × 3 locations) old/scripts/validate-templates.ts
- Test Coverage · No test reaches this file templates/ecommerce/apps/api/src/presentation/modules/profile/profile.controller.ts
- Test Coverage · No test reaches this file apps/web/src/components/CookieConsent.tsx
- Test Coverage · No test reaches this file apps/web/src/components/SocialProof.tsx
- Test Coverage · No test reaches this file add-features/auth/nestjs/auth.service.ts
- Test Coverage · No test reaches this file apps/web/src/components/FinalCTA.tsx
- Test Coverage · No test reaches this file apps/web/src/components/GoogleSignInButton.tsx
- Test Coverage · No test reaches this file add-features/auth/nodejs-express/auth.service.ts
- Test Coverage · No test reaches this file apps/web/src/app/api/auth/admin-login/route.ts
- Test Coverage · No test reaches this file scripts/generate-previews.ts
- Test Coverage · No test reaches this file apps/web/src/lib/docs.ts
- Test Coverage · No test reaches this file REDACTED
- Test Coverage · No test reaches this file old/license-api/src/services/stripe.service.ts
- Test Coverage · No test reaches this file apps/web/src/app/api/analytics/track/route.ts
- Test Coverage · No test reaches this file add-features/auth/nodejs-express/auth.controller.ts
- Test Coverage · No test reaches this file templates/ecommerce/apps/api/src/presentation/modules/checkout/checkout.controller.ts
- Test Coverage · No test reaches this file apps/web/src/components/ui/CyberCard.tsx
- Test Coverage · No test reaches this file apps/web/src/components/ArchitectureShowcase.tsx
- Test Coverage · No test reaches this file apps/web/src/app/layout.tsx
- Test Coverage · No test reaches this file add-features/auth/nextjs/routes/register.ts
- Test Coverage · No test reaches this file REDACTED
- Test Coverage · No test reaches this file templates/ecommerce/apps/api/src/server.ts
- Test Coverage · No test reaches this file add-features/auth/nextjs/routes/login.ts
- Test Coverage · No test reaches this file REDACTED
- Test Coverage · No test reaches this file templates/ecommerce/apps/web/src/shared/pages/NotFoundPage.tsx
- Test Coverage · No test reaches this file apps/web/src/app/api/admin/dashboard/route.ts
- Test Coverage · No test reaches this file templates/ecommerce/apps/web/src/modules/auth/pages/LoginPage.tsx
- Test Coverage · No test reaches this file templates/ecommerce/apps/web/src/modules/auth/pages/RegisterPage.tsx
- Test Coverage · No test reaches this file add-features/auth/nodejs-express/auth.middleware.ts
- Test Coverage · No test reaches this file add-features/websocket/nestjs.ts
- Test Coverage · No test reaches this file add-features/websocket/nodejs-express.ts
- Test Coverage · No test reaches this file REDACTED
- Test Coverage · No test reaches this file add-features/auth/nextjs/middleware.ts
- Test Coverage · No test reaches this file apps/web/src/lib/auth.ts
- Test Coverage · No test reaches this file REDACTED
- Test Coverage · No test reaches this file apps/web/src/app/page.tsx
- Test Coverage · No test reaches this file REDACTED
- Test Coverage · No test reaches this file apps/web/src/app/admin/layout.tsx
- Test Coverage · No test reaches this file src/cli/commands/analytics.ts
- Test Coverage · No test reaches this file add-features/auth/nextjs/session.ts
- Test Coverage · No test reaches this file add-features/auth/nestjs/auth.controller.ts
- Test Coverage · No test reaches this file templates/nodejs-express/clean/src/config/index.ts
- Test Coverage · No test reaches this file templates/nodejs-express/hexagonal/src/config/index.ts
- Test Coverage · No test reaches this file apps/web/src/components/DiscordLink.tsx
Rebuild cost: about €24,000 · Estimate
| Cost to rebuild | €8,000 to €40,000, for 134 to 425 hours of work, about 0.2 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 37. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 17,531 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 add-features.auth.nestjs.dto.login_dto | 2 add-features.auth.nestjs.dto.register_dto | 3 add-features.auth.nestjs.jwt_strategy | 4 apps.web.src.components.ArchitectureExplorer | 5 src.core.features.feature-generator | 6 templates.ecommerce.apps.api.src.application.ports.email_port | 7 templates.ecommerce.apps.api.src.application.ports.storage_port | 8 templates.ecommerce.apps.api.src.application.ports.token-blacklist_port | 9 templates.ecommerce.apps.api.src.domain.auth.user_entity | 10 templates.ecommerce.apps.api.src.domain.cart.coupon_entity | 11 templates.ecommerce.apps.api.src.domain.catalog.category_entity | 12 templates.ecommerce.apps.api.src.domain.catalog.product_entity | 13 templates.ecommerce.apps.api.src.domain.checkout.order_entity | 14 templates.ecommerce.apps.web.src.modules.admin.pages | 15 templates.ecommerce.apps.web.src.shared.theme.tokens | 16 add-features.auth.nestjs.auth_controller | 17 add-features.auth.nodejs-express.auth_middleware | 18 apps.web.src.components | 19 src.models.config | 20 templates.ecommerce.apps.api.src.domain.auth.user_repository | 21 templates.ecommerce.apps.api.src.domain.cart.cart_entity | 22 templates.ecommerce.apps.api.src.domain.cart.coupon_repository | 23 templates.ecommerce.apps.api.src.domain.catalog.category_repository | 24 templates.ecommerce.apps.api.src.domain.catalog.product_repository | 25 templates.ecommerce.apps.api.src.domain.checkout.order_repository | 26 templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog | 27 src.cli.prompts | 28 src.core.ai.documentation-generator | 29 templates.ecommerce.apps.api.src.application.admin.admin-user_service | 30 templates.ecommerce.apps.api.src.application.admin.dashboard_service | 31 templates.ecommerce.apps.api.src.application.auth.auth_service | 32 templates.ecommerce.apps.api.src.application.cart.coupon_service | 33 templates.ecommerce.apps.api.src.application.catalog.catalog_service | 34 templates.ecommerce.apps.api.src.application.orders.order_service | 35 templates.ecommerce.apps.api.src.domain.cart.cart_repository | 36 templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler | 37 templates.ecommerce.apps.api.src.application.cart.cart_service | 38 templates.ecommerce.apps.api.src.application.checkout.checkout_service | 39 templates.ecommerce.apps.api.src.modules.admin.admin_controller | 40 templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 add-features.auth.nestjs.dto.login_dto | ||||||||||||||||||||||||||||||||||||||||
| 2 add-features.auth.nestjs.dto.register_dto | ||||||||||||||||||||||||||||||||||||||||
| 3 add-features.auth.nestjs.jwt_strategy | ||||||||||||||||||||||||||||||||||||||||
| 4 apps.web.src.components.ArchitectureExplorer | ||||||||||||||||||||||||||||||||||||||||
| 5 src.core.features.feature-generator | ||||||||||||||||||||||||||||||||||||||||
| 6 templates.ecommerce.apps.api.src.application.ports.email_port | ||||||||||||||||||||||||||||||||||||||||
| 7 templates.ecommerce.apps.api.src.application.ports.storage_port | ||||||||||||||||||||||||||||||||||||||||
| 8 templates.ecommerce.apps.api.src.application.ports.token-blacklist_port | ||||||||||||||||||||||||||||||||||||||||
| 9 templates.ecommerce.apps.api.src.domain.auth.user_entity | ||||||||||||||||||||||||||||||||||||||||
| 10 templates.ecommerce.apps.api.src.domain.cart.coupon_entity | ||||||||||||||||||||||||||||||||||||||||
| 11 templates.ecommerce.apps.api.src.domain.catalog.category_entity | ||||||||||||||||||||||||||||||||||||||||
| 12 templates.ecommerce.apps.api.src.domain.catalog.product_entity | ||||||||||||||||||||||||||||||||||||||||
| 13 templates.ecommerce.apps.api.src.domain.checkout.order_entity | ||||||||||||||||||||||||||||||||||||||||
| 14 templates.ecommerce.apps.web.src.modules.admin.pages | ||||||||||||||||||||||||||||||||||||||||
| 15 templates.ecommerce.apps.web.src.shared.theme.tokens | ||||||||||||||||||||||||||||||||||||||||
| 16 add-features.auth.nestjs.auth_controller | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 17 add-features.auth.nodejs-express.auth_middleware | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 apps.web.src.components | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 src.models.config | 2 | |||||||||||||||||||||||||||||||||||||||
| 20 templates.ecommerce.apps.api.src.domain.auth.user_repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 templates.ecommerce.apps.api.src.domain.cart.cart_entity | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 templates.ecommerce.apps.api.src.domain.cart.coupon_repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 templates.ecommerce.apps.api.src.domain.catalog.category_repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 24 templates.ecommerce.apps.api.src.domain.catalog.product_repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 25 templates.ecommerce.apps.api.src.domain.checkout.order_repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 src.cli.prompts | 1 | |||||||||||||||||||||||||||||||||||||||
| 28 src.core.ai.documentation-generator | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 29 templates.ecommerce.apps.api.src.application.admin.admin-user_service | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 30 templates.ecommerce.apps.api.src.application.admin.dashboard_service | 1 | |||||||||||||||||||||||||||||||||||||||
| 31 templates.ecommerce.apps.api.src.application.auth.auth_service | 1 | 1 | 1 | 2 | 1 | |||||||||||||||||||||||||||||||||||
| 32 templates.ecommerce.apps.api.src.application.cart.coupon_service | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 33 templates.ecommerce.apps.api.src.application.catalog.catalog_service | 1 | 1 | 1 | 3 | ||||||||||||||||||||||||||||||||||||
| 34 templates.ecommerce.apps.api.src.application.orders.order_service | 1 | 2 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 35 templates.ecommerce.apps.api.src.domain.cart.cart_repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 36 templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 37 templates.ecommerce.apps.api.src.application.cart.cart_service | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 38 templates.ecommerce.apps.api.src.application.checkout.checkout_service | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 39 templates.ecommerce.apps.api.src.modules.admin.admin_controller | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 40 templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller | 1 | 1 | 1 | 1 |
16→1 add-features.auth.nestjs.auth_controller uses add-features.auth.nestjs.dto.login_dto✕
- Connections
- 1 pair of types, where a type in add-features.auth.nestjs.auth_controller uses a type in add-features.auth.nestjs.dto.login_dto.
- The types involved
add-features.auth.nestjs.auth_controller.AuthController→add-features.auth.nestjs.dto.login_dto.LoginDto
- Direction
- add-features.auth.nestjs.auth_controller uses add-features.auth.nestjs.dto.login_dto, so a change to add-features.auth.nestjs.dto.login_dto can break add-features.auth.nestjs.auth_controller, while a change to add-features.auth.nestjs.auth_controller can't break add-features.auth.nestjs.dto.login_dto.
- Position
- Below the diagonal: add-features.auth.nestjs.auth_controller uses a module listed above it, which is the healthy direction.
16→2 add-features.auth.nestjs.auth_controller uses add-features.auth.nestjs.dto.register_dto✕
- Connections
- 1 pair of types, where a type in add-features.auth.nestjs.auth_controller uses a type in add-features.auth.nestjs.dto.register_dto.
- The types involved
add-features.auth.nestjs.auth_controller.AuthController→add-features.auth.nestjs.dto.register_dto.RegisterDto
- Direction
- add-features.auth.nestjs.auth_controller uses add-features.auth.nestjs.dto.register_dto, so a change to add-features.auth.nestjs.dto.register_dto can break add-features.auth.nestjs.auth_controller, while a change to add-features.auth.nestjs.auth_controller can't break add-features.auth.nestjs.dto.register_dto.
- Position
- Below the diagonal: add-features.auth.nestjs.auth_controller uses a module listed above it, which is the healthy direction.
17→3 add-features.auth.nodejs-express.auth_middleware uses add-features.auth.nestjs.jwt_strategy✕
- Connections
- 1 pair of types, where a type in add-features.auth.nodejs-express.auth_middleware uses a type in add-features.auth.nestjs.jwt_strategy.
- The types involved
add-features.auth.nodejs-express.auth_middleware.Request→add-features.auth.nestjs.jwt_strategy.JwtPayload
- Direction
- add-features.auth.nodejs-express.auth_middleware uses add-features.auth.nestjs.jwt_strategy, so a change to add-features.auth.nestjs.jwt_strategy can break add-features.auth.nodejs-express.auth_middleware, while a change to add-features.auth.nodejs-express.auth_middleware can't break add-features.auth.nestjs.jwt_strategy.
- Position
- Below the diagonal: add-features.auth.nodejs-express.auth_middleware uses a module listed above it, which is the healthy direction.
18→4 apps.web.src.components uses apps.web.src.components.ArchitectureExplorer✕
- Connections
- 1 pair of types, where a type in apps.web.src.components uses a type in apps.web.src.components.ArchitectureExplorer.
- The types involved
apps.web.src.components.ArchitectureExplorer→apps.web.src.components.ArchitectureExplorer.Stack
- Direction
- apps.web.src.components uses apps.web.src.components.ArchitectureExplorer, so a change to apps.web.src.components.ArchitectureExplorer can break apps.web.src.components, while a change to apps.web.src.components can't break apps.web.src.components.ArchitectureExplorer.
- Position
- Below the diagonal: apps.web.src.components uses a module listed above it, which is the healthy direction.
19→4 src.models.config uses apps.web.src.components.ArchitectureExplorer✕
- Connections
- 2 pairs of types, where a type in src.models.config uses a type in apps.web.src.components.ArchitectureExplorer.
- The types involved
src.models.config.ProjectConfig→apps.web.src.components.ArchitectureExplorer.Stacksrc.models.config.TemplateContext→apps.web.src.components.ArchitectureExplorer.Stack
- Direction
- src.models.config uses apps.web.src.components.ArchitectureExplorer, so a change to apps.web.src.components.ArchitectureExplorer can break src.models.config, while a change to src.models.config can't break apps.web.src.components.ArchitectureExplorer.
- Position
- Below the diagonal: src.models.config uses a module listed above it, which is the healthy direction.
20→9 templates.ecommerce.apps.api.src.domain.auth.user_repository uses templates.ecommerce.apps.api.src.domain.auth.user_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.domain.auth.user_repository uses a type in templates.ecommerce.apps.api.src.domain.auth.user_entity.
- The types involved
templates.ecommerce.apps.api.src.domain.auth.user_repository.IUserRepository→templates.ecommerce.apps.api.src.domain.auth.user_entity.UserEntity
- Direction
- templates.ecommerce.apps.api.src.domain.auth.user_repository uses templates.ecommerce.apps.api.src.domain.auth.user_entity, so a change to templates.ecommerce.apps.api.src.domain.auth.user_entity can break templates.ecommerce.apps.api.src.domain.auth.user_repository, while a change to templates.ecommerce.apps.api.src.domain.auth.user_repository can't break templates.ecommerce.apps.api.src.domain.auth.user_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.domain.auth.user_repository uses a module listed above it, which is the healthy direction.
21→10 templates.ecommerce.apps.api.src.domain.cart.cart_entity uses templates.ecommerce.apps.api.src.domain.cart.coupon_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.domain.cart.cart_entity uses a type in templates.ecommerce.apps.api.src.domain.cart.coupon_entity.
- The types involved
templates.ecommerce.apps.api.src.domain.cart.cart_entity.CartEntity→templates.ecommerce.apps.api.src.domain.cart.coupon_entity.CouponEntity
- Direction
- templates.ecommerce.apps.api.src.domain.cart.cart_entity uses templates.ecommerce.apps.api.src.domain.cart.coupon_entity, so a change to templates.ecommerce.apps.api.src.domain.cart.coupon_entity can break templates.ecommerce.apps.api.src.domain.cart.cart_entity, while a change to templates.ecommerce.apps.api.src.domain.cart.cart_entity can't break templates.ecommerce.apps.api.src.domain.cart.coupon_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.domain.cart.cart_entity uses a module listed above it, which is the healthy direction.
22→10 templates.ecommerce.apps.api.src.domain.cart.coupon_repository uses templates.ecommerce.apps.api.src.domain.cart.coupon_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.domain.cart.coupon_repository uses a type in templates.ecommerce.apps.api.src.domain.cart.coupon_entity.
- The types involved
templates.ecommerce.apps.api.src.domain.cart.coupon_repository.ICouponRepository→templates.ecommerce.apps.api.src.domain.cart.coupon_entity.CouponEntity
- Direction
- templates.ecommerce.apps.api.src.domain.cart.coupon_repository uses templates.ecommerce.apps.api.src.domain.cart.coupon_entity, so a change to templates.ecommerce.apps.api.src.domain.cart.coupon_entity can break templates.ecommerce.apps.api.src.domain.cart.coupon_repository, while a change to templates.ecommerce.apps.api.src.domain.cart.coupon_repository can't break templates.ecommerce.apps.api.src.domain.cart.coupon_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.domain.cart.coupon_repository uses a module listed above it, which is the healthy direction.
23→11 templates.ecommerce.apps.api.src.domain.catalog.category_repository uses templates.ecommerce.apps.api.src.domain.catalog.category_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.domain.catalog.category_repository uses a type in templates.ecommerce.apps.api.src.domain.catalog.category_entity.
- The types involved
templates.ecommerce.apps.api.src.domain.catalog.category_repository.ICategoryRepository→templates.ecommerce.apps.api.src.domain.catalog.category_entity.CategoryEntity
- Direction
- templates.ecommerce.apps.api.src.domain.catalog.category_repository uses templates.ecommerce.apps.api.src.domain.catalog.category_entity, so a change to templates.ecommerce.apps.api.src.domain.catalog.category_entity can break templates.ecommerce.apps.api.src.domain.catalog.category_repository, while a change to templates.ecommerce.apps.api.src.domain.catalog.category_repository can't break templates.ecommerce.apps.api.src.domain.catalog.category_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.domain.catalog.category_repository uses a module listed above it, which is the healthy direction.
24→12 templates.ecommerce.apps.api.src.domain.catalog.product_repository uses templates.ecommerce.apps.api.src.domain.catalog.product_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.domain.catalog.product_repository uses a type in templates.ecommerce.apps.api.src.domain.catalog.product_entity.
- The types involved
templates.ecommerce.apps.api.src.domain.catalog.product_repository.IProductRepository→templates.ecommerce.apps.api.src.domain.catalog.product_entity.ProductEntity
- Direction
- templates.ecommerce.apps.api.src.domain.catalog.product_repository uses templates.ecommerce.apps.api.src.domain.catalog.product_entity, so a change to templates.ecommerce.apps.api.src.domain.catalog.product_entity can break templates.ecommerce.apps.api.src.domain.catalog.product_repository, while a change to templates.ecommerce.apps.api.src.domain.catalog.product_repository can't break templates.ecommerce.apps.api.src.domain.catalog.product_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.domain.catalog.product_repository uses a module listed above it, which is the healthy direction.
25→13 templates.ecommerce.apps.api.src.domain.checkout.order_repository uses templates.ecommerce.apps.api.src.domain.checkout.order_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.domain.checkout.order_repository uses a type in templates.ecommerce.apps.api.src.domain.checkout.order_entity.
- The types involved
templates.ecommerce.apps.api.src.domain.checkout.order_repository.IOrderRepository→templates.ecommerce.apps.api.src.domain.checkout.order_entity.OrderEntity
- Direction
- templates.ecommerce.apps.api.src.domain.checkout.order_repository uses templates.ecommerce.apps.api.src.domain.checkout.order_entity, so a change to templates.ecommerce.apps.api.src.domain.checkout.order_entity can break templates.ecommerce.apps.api.src.domain.checkout.order_repository, while a change to templates.ecommerce.apps.api.src.domain.checkout.order_repository can't break templates.ecommerce.apps.api.src.domain.checkout.order_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.domain.checkout.order_repository uses a module listed above it, which is the healthy direction.
26→11 templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog uses templates.ecommerce.apps.api.src.domain.catalog.category_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog uses a type in templates.ecommerce.apps.api.src.domain.catalog.category_entity.
- The types involved
templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog.category.prisma.repository→templates.ecommerce.apps.api.src.domain.catalog.category_entity.CategoryEntity
- Direction
- templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog uses templates.ecommerce.apps.api.src.domain.catalog.category_entity, so a change to templates.ecommerce.apps.api.src.domain.catalog.category_entity can break templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog, while a change to templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog can't break templates.ecommerce.apps.api.src.domain.catalog.category_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog uses a module listed above it, which is the healthy direction.
26→12 templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog uses templates.ecommerce.apps.api.src.domain.catalog.product_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog uses a type in templates.ecommerce.apps.api.src.domain.catalog.product_entity.
- The types involved
templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog.product.prisma.repository→templates.ecommerce.apps.api.src.domain.catalog.product_entity.ProductEntity
- Direction
- templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog uses templates.ecommerce.apps.api.src.domain.catalog.product_entity, so a change to templates.ecommerce.apps.api.src.domain.catalog.product_entity can break templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog, while a change to templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog can't break templates.ecommerce.apps.api.src.domain.catalog.product_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.infrastructure.persistence.prisma.catalog uses a module listed above it, which is the healthy direction.
27→19 src.cli.prompts uses src.models.config✕
- Connections
- 1 pair of types, where a type in src.cli.prompts uses a type in src.models.config.
- The types involved
src.cli.prompts.wizard→src.models.config.ProjectConfig
- Direction
- src.cli.prompts uses src.models.config, so a change to src.models.config can break src.cli.prompts, while a change to src.cli.prompts can't break src.models.config.
- Position
- Below the diagonal: src.cli.prompts uses a module listed above it, which is the healthy direction.
28→4 src.core.ai.documentation-generator uses apps.web.src.components.ArchitectureExplorer✕
- Connections
- 1 pair of types, where a type in src.core.ai.documentation-generator uses a type in apps.web.src.components.ArchitectureExplorer.
- The types involved
src.core.ai.documentation-generator.DocumentationGenerator→apps.web.src.components.ArchitectureExplorer.Stack
- Direction
- src.core.ai.documentation-generator uses apps.web.src.components.ArchitectureExplorer, so a change to apps.web.src.components.ArchitectureExplorer can break src.core.ai.documentation-generator, while a change to src.core.ai.documentation-generator can't break apps.web.src.components.ArchitectureExplorer.
- Position
- Below the diagonal: src.core.ai.documentation-generator uses a module listed above it, which is the healthy direction.
28→19 src.core.ai.documentation-generator uses src.models.config✕
- Connections
- 1 pair of types, where a type in src.core.ai.documentation-generator uses a type in src.models.config.
- The types involved
src.core.ai.documentation-generator.DocumentationGenerator→src.models.config.ProjectConfig
- Direction
- src.core.ai.documentation-generator uses src.models.config, so a change to src.models.config can break src.core.ai.documentation-generator, while a change to src.core.ai.documentation-generator can't break src.models.config.
- Position
- Below the diagonal: src.core.ai.documentation-generator uses a module listed above it, which is the healthy direction.
29→9 templates.ecommerce.apps.api.src.application.admin.admin-user_service uses templates.ecommerce.apps.api.src.domain.auth.user_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.admin.admin-user_service uses a type in templates.ecommerce.apps.api.src.domain.auth.user_entity.
- The types involved
templates.ecommerce.apps.api.src.application.admin.admin-user_service.AdminUserService→templates.ecommerce.apps.api.src.domain.auth.user_entity.UserRole
- Direction
- templates.ecommerce.apps.api.src.application.admin.admin-user_service uses templates.ecommerce.apps.api.src.domain.auth.user_entity, so a change to templates.ecommerce.apps.api.src.domain.auth.user_entity can break templates.ecommerce.apps.api.src.application.admin.admin-user_service, while a change to templates.ecommerce.apps.api.src.application.admin.admin-user_service can't break templates.ecommerce.apps.api.src.domain.auth.user_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.admin.admin-user_service uses a module listed above it, which is the healthy direction.
29→20 templates.ecommerce.apps.api.src.application.admin.admin-user_service uses templates.ecommerce.apps.api.src.domain.auth.user_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.admin.admin-user_service uses a type in templates.ecommerce.apps.api.src.domain.auth.user_repository.
- The types involved
templates.ecommerce.apps.api.src.application.admin.admin-user_service.AdminUserService→templates.ecommerce.apps.api.src.domain.auth.user_repository.IUserRepository
- Direction
- templates.ecommerce.apps.api.src.application.admin.admin-user_service uses templates.ecommerce.apps.api.src.domain.auth.user_repository, so a change to templates.ecommerce.apps.api.src.domain.auth.user_repository can break templates.ecommerce.apps.api.src.application.admin.admin-user_service, while a change to templates.ecommerce.apps.api.src.application.admin.admin-user_service can't break templates.ecommerce.apps.api.src.domain.auth.user_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.admin.admin-user_service uses a module listed above it, which is the healthy direction.
30→25 templates.ecommerce.apps.api.src.application.admin.dashboard_service uses templates.ecommerce.apps.api.src.domain.checkout.order_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.admin.dashboard_service uses a type in templates.ecommerce.apps.api.src.domain.checkout.order_repository.
- The types involved
templates.ecommerce.apps.api.src.application.admin.dashboard_service.DashboardService→templates.ecommerce.apps.api.src.domain.checkout.order_repository.IOrderRepository
- Direction
- templates.ecommerce.apps.api.src.application.admin.dashboard_service uses templates.ecommerce.apps.api.src.domain.checkout.order_repository, so a change to templates.ecommerce.apps.api.src.domain.checkout.order_repository can break templates.ecommerce.apps.api.src.application.admin.dashboard_service, while a change to templates.ecommerce.apps.api.src.application.admin.dashboard_service can't break templates.ecommerce.apps.api.src.domain.checkout.order_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.admin.dashboard_service uses a module listed above it, which is the healthy direction.
31→1 templates.ecommerce.apps.api.src.application.auth.auth_service uses add-features.auth.nestjs.dto.login_dto✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.auth.auth_service uses a type in add-features.auth.nestjs.dto.login_dto.
- The types involved
templates.ecommerce.apps.api.src.application.auth.auth_service.AuthService→add-features.auth.nestjs.dto.login_dto.LoginDto
- Direction
- templates.ecommerce.apps.api.src.application.auth.auth_service uses add-features.auth.nestjs.dto.login_dto, so a change to add-features.auth.nestjs.dto.login_dto can break templates.ecommerce.apps.api.src.application.auth.auth_service, while a change to templates.ecommerce.apps.api.src.application.auth.auth_service can't break add-features.auth.nestjs.dto.login_dto.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.auth.auth_service uses a module listed above it, which is the healthy direction.
31→2 templates.ecommerce.apps.api.src.application.auth.auth_service uses add-features.auth.nestjs.dto.register_dto✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.auth.auth_service uses a type in add-features.auth.nestjs.dto.register_dto.
- The types involved
templates.ecommerce.apps.api.src.application.auth.auth_service.AuthService→add-features.auth.nestjs.dto.register_dto.RegisterDto
- Direction
- templates.ecommerce.apps.api.src.application.auth.auth_service uses add-features.auth.nestjs.dto.register_dto, so a change to add-features.auth.nestjs.dto.register_dto can break templates.ecommerce.apps.api.src.application.auth.auth_service, while a change to templates.ecommerce.apps.api.src.application.auth.auth_service can't break add-features.auth.nestjs.dto.register_dto.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.auth.auth_service uses a module listed above it, which is the healthy direction.
31→6 templates.ecommerce.apps.api.src.application.auth.auth_service uses templates.ecommerce.apps.api.src.application.ports.email_port✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.auth.auth_service uses a type in templates.ecommerce.apps.api.src.application.ports.email_port.
- The types involved
templates.ecommerce.apps.api.src.application.auth.auth_service.AuthService→templates.ecommerce.apps.api.src.application.ports.email_port.IEmailService
- Direction
- templates.ecommerce.apps.api.src.application.auth.auth_service uses templates.ecommerce.apps.api.src.application.ports.email_port, so a change to templates.ecommerce.apps.api.src.application.ports.email_port can break templates.ecommerce.apps.api.src.application.auth.auth_service, while a change to templates.ecommerce.apps.api.src.application.auth.auth_service can't break templates.ecommerce.apps.api.src.application.ports.email_port.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.auth.auth_service uses a module listed above it, which is the healthy direction.
31→9 templates.ecommerce.apps.api.src.application.auth.auth_service uses templates.ecommerce.apps.api.src.domain.auth.user_entity✕
- Connections
- 2 pairs of types, where a type in templates.ecommerce.apps.api.src.application.auth.auth_service uses a type in templates.ecommerce.apps.api.src.domain.auth.user_entity.
- The types involved
templates.ecommerce.apps.api.src.application.auth.auth_service.AuthService→templates.ecommerce.apps.api.src.domain.auth.user_entity.PublicUsertemplates.ecommerce.apps.api.src.application.auth.auth_service.AuthTokens→templates.ecommerce.apps.api.src.domain.auth.user_entity.PublicUser
- Direction
- templates.ecommerce.apps.api.src.application.auth.auth_service uses templates.ecommerce.apps.api.src.domain.auth.user_entity, so a change to templates.ecommerce.apps.api.src.domain.auth.user_entity can break templates.ecommerce.apps.api.src.application.auth.auth_service, while a change to templates.ecommerce.apps.api.src.application.auth.auth_service can't break templates.ecommerce.apps.api.src.domain.auth.user_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.auth.auth_service uses a module listed above it, which is the healthy direction.
31→20 templates.ecommerce.apps.api.src.application.auth.auth_service uses templates.ecommerce.apps.api.src.domain.auth.user_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.auth.auth_service uses a type in templates.ecommerce.apps.api.src.domain.auth.user_repository.
- The types involved
templates.ecommerce.apps.api.src.application.auth.auth_service.AuthService→templates.ecommerce.apps.api.src.domain.auth.user_repository.IUserRepository
- Direction
- templates.ecommerce.apps.api.src.application.auth.auth_service uses templates.ecommerce.apps.api.src.domain.auth.user_repository, so a change to templates.ecommerce.apps.api.src.domain.auth.user_repository can break templates.ecommerce.apps.api.src.application.auth.auth_service, while a change to templates.ecommerce.apps.api.src.application.auth.auth_service can't break templates.ecommerce.apps.api.src.domain.auth.user_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.auth.auth_service uses a module listed above it, which is the healthy direction.
32→10 templates.ecommerce.apps.api.src.application.cart.coupon_service uses templates.ecommerce.apps.api.src.domain.cart.coupon_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.cart.coupon_service uses a type in templates.ecommerce.apps.api.src.domain.cart.coupon_entity.
- The types involved
templates.ecommerce.apps.api.src.application.cart.coupon_service.CouponAdminService→templates.ecommerce.apps.api.src.domain.cart.coupon_entity.CouponEntity
- Direction
- templates.ecommerce.apps.api.src.application.cart.coupon_service uses templates.ecommerce.apps.api.src.domain.cart.coupon_entity, so a change to templates.ecommerce.apps.api.src.domain.cart.coupon_entity can break templates.ecommerce.apps.api.src.application.cart.coupon_service, while a change to templates.ecommerce.apps.api.src.application.cart.coupon_service can't break templates.ecommerce.apps.api.src.domain.cart.coupon_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.cart.coupon_service uses a module listed above it, which is the healthy direction.
32→22 templates.ecommerce.apps.api.src.application.cart.coupon_service uses templates.ecommerce.apps.api.src.domain.cart.coupon_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.cart.coupon_service uses a type in templates.ecommerce.apps.api.src.domain.cart.coupon_repository.
- The types involved
templates.ecommerce.apps.api.src.application.cart.coupon_service.CouponAdminService→templates.ecommerce.apps.api.src.domain.cart.coupon_repository.ICouponRepository
- Direction
- templates.ecommerce.apps.api.src.application.cart.coupon_service uses templates.ecommerce.apps.api.src.domain.cart.coupon_repository, so a change to templates.ecommerce.apps.api.src.domain.cart.coupon_repository can break templates.ecommerce.apps.api.src.application.cart.coupon_service, while a change to templates.ecommerce.apps.api.src.application.cart.coupon_service can't break templates.ecommerce.apps.api.src.domain.cart.coupon_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.cart.coupon_service uses a module listed above it, which is the healthy direction.
33→7 templates.ecommerce.apps.api.src.application.catalog.catalog_service uses templates.ecommerce.apps.api.src.application.ports.storage_port✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.catalog.catalog_service uses a type in templates.ecommerce.apps.api.src.application.ports.storage_port.
- The types involved
templates.ecommerce.apps.api.src.application.catalog.catalog_service.CatalogService→templates.ecommerce.apps.api.src.application.ports.storage_port.IStorageService
- Direction
- templates.ecommerce.apps.api.src.application.catalog.catalog_service uses templates.ecommerce.apps.api.src.application.ports.storage_port, so a change to templates.ecommerce.apps.api.src.application.ports.storage_port can break templates.ecommerce.apps.api.src.application.catalog.catalog_service, while a change to templates.ecommerce.apps.api.src.application.catalog.catalog_service can't break templates.ecommerce.apps.api.src.application.ports.storage_port.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.catalog.catalog_service uses a module listed above it, which is the healthy direction.
33→12 templates.ecommerce.apps.api.src.application.catalog.catalog_service uses templates.ecommerce.apps.api.src.domain.catalog.product_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.catalog.catalog_service uses a type in templates.ecommerce.apps.api.src.domain.catalog.product_entity.
- The types involved
templates.ecommerce.apps.api.src.application.catalog.catalog_service.CatalogService→templates.ecommerce.apps.api.src.domain.catalog.product_entity.ProductEntity
- Direction
- templates.ecommerce.apps.api.src.application.catalog.catalog_service uses templates.ecommerce.apps.api.src.domain.catalog.product_entity, so a change to templates.ecommerce.apps.api.src.domain.catalog.product_entity can break templates.ecommerce.apps.api.src.application.catalog.catalog_service, while a change to templates.ecommerce.apps.api.src.application.catalog.catalog_service can't break templates.ecommerce.apps.api.src.domain.catalog.product_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.catalog.catalog_service uses a module listed above it, which is the healthy direction.
33→23 templates.ecommerce.apps.api.src.application.catalog.catalog_service uses templates.ecommerce.apps.api.src.domain.catalog.category_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.catalog.catalog_service uses a type in templates.ecommerce.apps.api.src.domain.catalog.category_repository.
- The types involved
templates.ecommerce.apps.api.src.application.catalog.catalog_service.CatalogService→templates.ecommerce.apps.api.src.domain.catalog.category_repository.ICategoryRepository
- Direction
- templates.ecommerce.apps.api.src.application.catalog.catalog_service uses templates.ecommerce.apps.api.src.domain.catalog.category_repository, so a change to templates.ecommerce.apps.api.src.domain.catalog.category_repository can break templates.ecommerce.apps.api.src.application.catalog.catalog_service, while a change to templates.ecommerce.apps.api.src.application.catalog.catalog_service can't break templates.ecommerce.apps.api.src.domain.catalog.category_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.catalog.catalog_service uses a module listed above it, which is the healthy direction.
33→24 templates.ecommerce.apps.api.src.application.catalog.catalog_service uses templates.ecommerce.apps.api.src.domain.catalog.product_repository✕
- Connections
- 3 pairs of types, where a type in templates.ecommerce.apps.api.src.application.catalog.catalog_service uses a type in templates.ecommerce.apps.api.src.domain.catalog.product_repository.
- The types involved
templates.ecommerce.apps.api.src.application.catalog.catalog_service.CatalogService→templates.ecommerce.apps.api.src.domain.catalog.product_repository.IProductRepositorytemplates.ecommerce.apps.api.src.application.catalog.catalog_service.CatalogService→templates.ecommerce.apps.api.src.domain.catalog.product_repository.SearchParamstemplates.ecommerce.apps.api.src.application.catalog.catalog_service.CatalogService→templates.ecommerce.apps.api.src.domain.catalog.product_repository.SearchResult
- Direction
- templates.ecommerce.apps.api.src.application.catalog.catalog_service uses templates.ecommerce.apps.api.src.domain.catalog.product_repository, so a change to templates.ecommerce.apps.api.src.domain.catalog.product_repository can break templates.ecommerce.apps.api.src.application.catalog.catalog_service, while a change to templates.ecommerce.apps.api.src.application.catalog.catalog_service can't break templates.ecommerce.apps.api.src.domain.catalog.product_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.catalog.catalog_service uses a module listed above it, which is the healthy direction.
34→6 templates.ecommerce.apps.api.src.application.orders.order_service uses templates.ecommerce.apps.api.src.application.ports.email_port✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.orders.order_service uses a type in templates.ecommerce.apps.api.src.application.ports.email_port.
- The types involved
templates.ecommerce.apps.api.src.application.orders.order_service.OrderService→templates.ecommerce.apps.api.src.application.ports.email_port.IEmailService
- Direction
- templates.ecommerce.apps.api.src.application.orders.order_service uses templates.ecommerce.apps.api.src.application.ports.email_port, so a change to templates.ecommerce.apps.api.src.application.ports.email_port can break templates.ecommerce.apps.api.src.application.orders.order_service, while a change to templates.ecommerce.apps.api.src.application.orders.order_service can't break templates.ecommerce.apps.api.src.application.ports.email_port.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.orders.order_service uses a module listed above it, which is the healthy direction.
34→13 templates.ecommerce.apps.api.src.application.orders.order_service uses templates.ecommerce.apps.api.src.domain.checkout.order_entity✕
- Connections
- 2 pairs of types, where a type in templates.ecommerce.apps.api.src.application.orders.order_service uses a type in templates.ecommerce.apps.api.src.domain.checkout.order_entity.
- The types involved
templates.ecommerce.apps.api.src.application.orders.order_service.OrderService→templates.ecommerce.apps.api.src.domain.checkout.order_entity.OrderEntitytemplates.ecommerce.apps.api.src.application.orders.order_service.OrderService→templates.ecommerce.apps.api.src.domain.checkout.order_entity.OrderStatus
- Direction
- templates.ecommerce.apps.api.src.application.orders.order_service uses templates.ecommerce.apps.api.src.domain.checkout.order_entity, so a change to templates.ecommerce.apps.api.src.domain.checkout.order_entity can break templates.ecommerce.apps.api.src.application.orders.order_service, while a change to templates.ecommerce.apps.api.src.application.orders.order_service can't break templates.ecommerce.apps.api.src.domain.checkout.order_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.orders.order_service uses a module listed above it, which is the healthy direction.
34→20 templates.ecommerce.apps.api.src.application.orders.order_service uses templates.ecommerce.apps.api.src.domain.auth.user_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.orders.order_service uses a type in templates.ecommerce.apps.api.src.domain.auth.user_repository.
- The types involved
templates.ecommerce.apps.api.src.application.orders.order_service.OrderService→templates.ecommerce.apps.api.src.domain.auth.user_repository.IUserRepository
- Direction
- templates.ecommerce.apps.api.src.application.orders.order_service uses templates.ecommerce.apps.api.src.domain.auth.user_repository, so a change to templates.ecommerce.apps.api.src.domain.auth.user_repository can break templates.ecommerce.apps.api.src.application.orders.order_service, while a change to templates.ecommerce.apps.api.src.application.orders.order_service can't break templates.ecommerce.apps.api.src.domain.auth.user_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.orders.order_service uses a module listed above it, which is the healthy direction.
34→25 templates.ecommerce.apps.api.src.application.orders.order_service uses templates.ecommerce.apps.api.src.domain.checkout.order_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.orders.order_service uses a type in templates.ecommerce.apps.api.src.domain.checkout.order_repository.
- The types involved
templates.ecommerce.apps.api.src.application.orders.order_service.OrderService→templates.ecommerce.apps.api.src.domain.checkout.order_repository.IOrderRepository
- Direction
- templates.ecommerce.apps.api.src.application.orders.order_service uses templates.ecommerce.apps.api.src.domain.checkout.order_repository, so a change to templates.ecommerce.apps.api.src.domain.checkout.order_repository can break templates.ecommerce.apps.api.src.application.orders.order_service, while a change to templates.ecommerce.apps.api.src.application.orders.order_service can't break templates.ecommerce.apps.api.src.domain.checkout.order_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.orders.order_service uses a module listed above it, which is the healthy direction.
35→21 templates.ecommerce.apps.api.src.domain.cart.cart_repository uses templates.ecommerce.apps.api.src.domain.cart.cart_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.domain.cart.cart_repository uses a type in templates.ecommerce.apps.api.src.domain.cart.cart_entity.
- The types involved
templates.ecommerce.apps.api.src.domain.cart.cart_repository.ICartRepository→templates.ecommerce.apps.api.src.domain.cart.cart_entity.CartEntity
- Direction
- templates.ecommerce.apps.api.src.domain.cart.cart_repository uses templates.ecommerce.apps.api.src.domain.cart.cart_entity, so a change to templates.ecommerce.apps.api.src.domain.cart.cart_entity can break templates.ecommerce.apps.api.src.domain.cart.cart_repository, while a change to templates.ecommerce.apps.api.src.domain.cart.cart_repository can't break templates.ecommerce.apps.api.src.domain.cart.cart_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.domain.cart.cart_repository uses a module listed above it, which is the healthy direction.
36→6 templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses templates.ecommerce.apps.api.src.application.ports.email_port✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses a type in templates.ecommerce.apps.api.src.application.ports.email_port.
- The types involved
templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler.StripeWebhookHandler→templates.ecommerce.apps.api.src.application.ports.email_port.IEmailService
- Direction
- templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses templates.ecommerce.apps.api.src.application.ports.email_port, so a change to templates.ecommerce.apps.api.src.application.ports.email_port can break templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler, while a change to templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler can't break templates.ecommerce.apps.api.src.application.ports.email_port.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses a module listed above it, which is the healthy direction.
36→13 templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses templates.ecommerce.apps.api.src.domain.checkout.order_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses a type in templates.ecommerce.apps.api.src.domain.checkout.order_entity.
- The types involved
templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler.StripeWebhookHandler→templates.ecommerce.apps.api.src.domain.checkout.order_entity.OrderEntity
- Direction
- templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses templates.ecommerce.apps.api.src.domain.checkout.order_entity, so a change to templates.ecommerce.apps.api.src.domain.checkout.order_entity can break templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler, while a change to templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler can't break templates.ecommerce.apps.api.src.domain.checkout.order_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses a module listed above it, which is the healthy direction.
36→20 templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses templates.ecommerce.apps.api.src.domain.auth.user_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses a type in templates.ecommerce.apps.api.src.domain.auth.user_repository.
- The types involved
templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler.StripeWebhookHandler→templates.ecommerce.apps.api.src.domain.auth.user_repository.IUserRepository
- Direction
- templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses templates.ecommerce.apps.api.src.domain.auth.user_repository, so a change to templates.ecommerce.apps.api.src.domain.auth.user_repository can break templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler, while a change to templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler can't break templates.ecommerce.apps.api.src.domain.auth.user_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses a module listed above it, which is the healthy direction.
36→22 templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses templates.ecommerce.apps.api.src.domain.cart.coupon_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses a type in templates.ecommerce.apps.api.src.domain.cart.coupon_repository.
- The types involved
templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler.StripeWebhookHandler→templates.ecommerce.apps.api.src.domain.cart.coupon_repository.ICouponRepository
- Direction
- templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses templates.ecommerce.apps.api.src.domain.cart.coupon_repository, so a change to templates.ecommerce.apps.api.src.domain.cart.coupon_repository can break templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler, while a change to templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler can't break templates.ecommerce.apps.api.src.domain.cart.coupon_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses a module listed above it, which is the healthy direction.
36→25 templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses templates.ecommerce.apps.api.src.domain.checkout.order_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses a type in templates.ecommerce.apps.api.src.domain.checkout.order_repository.
- The types involved
templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler.StripeWebhookHandler→templates.ecommerce.apps.api.src.domain.checkout.order_repository.IOrderRepository
- Direction
- templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses templates.ecommerce.apps.api.src.domain.checkout.order_repository, so a change to templates.ecommerce.apps.api.src.domain.checkout.order_repository can break templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler, while a change to templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler can't break templates.ecommerce.apps.api.src.domain.checkout.order_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.infrastructure.services.payment.stripe-webhook_handler uses a module listed above it, which is the healthy direction.
37→21 templates.ecommerce.apps.api.src.application.cart.cart_service uses templates.ecommerce.apps.api.src.domain.cart.cart_entity✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.cart.cart_service uses a type in templates.ecommerce.apps.api.src.domain.cart.cart_entity.
- The types involved
templates.ecommerce.apps.api.src.application.cart.cart_service.CartService→templates.ecommerce.apps.api.src.domain.cart.cart_entity.CartEntity
- Direction
- templates.ecommerce.apps.api.src.application.cart.cart_service uses templates.ecommerce.apps.api.src.domain.cart.cart_entity, so a change to templates.ecommerce.apps.api.src.domain.cart.cart_entity can break templates.ecommerce.apps.api.src.application.cart.cart_service, while a change to templates.ecommerce.apps.api.src.application.cart.cart_service can't break templates.ecommerce.apps.api.src.domain.cart.cart_entity.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.cart.cart_service uses a module listed above it, which is the healthy direction.
37→22 templates.ecommerce.apps.api.src.application.cart.cart_service uses templates.ecommerce.apps.api.src.domain.cart.coupon_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.cart.cart_service uses a type in templates.ecommerce.apps.api.src.domain.cart.coupon_repository.
- The types involved
templates.ecommerce.apps.api.src.application.cart.cart_service.CartService→templates.ecommerce.apps.api.src.domain.cart.coupon_repository.ICouponRepository
- Direction
- templates.ecommerce.apps.api.src.application.cart.cart_service uses templates.ecommerce.apps.api.src.domain.cart.coupon_repository, so a change to templates.ecommerce.apps.api.src.domain.cart.coupon_repository can break templates.ecommerce.apps.api.src.application.cart.cart_service, while a change to templates.ecommerce.apps.api.src.application.cart.cart_service can't break templates.ecommerce.apps.api.src.domain.cart.coupon_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.cart.cart_service uses a module listed above it, which is the healthy direction.
37→24 templates.ecommerce.apps.api.src.application.cart.cart_service uses templates.ecommerce.apps.api.src.domain.catalog.product_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.cart.cart_service uses a type in templates.ecommerce.apps.api.src.domain.catalog.product_repository.
- The types involved
templates.ecommerce.apps.api.src.application.cart.cart_service.CartService→templates.ecommerce.apps.api.src.domain.catalog.product_repository.IProductRepository
- Direction
- templates.ecommerce.apps.api.src.application.cart.cart_service uses templates.ecommerce.apps.api.src.domain.catalog.product_repository, so a change to templates.ecommerce.apps.api.src.domain.catalog.product_repository can break templates.ecommerce.apps.api.src.application.cart.cart_service, while a change to templates.ecommerce.apps.api.src.application.cart.cart_service can't break templates.ecommerce.apps.api.src.domain.catalog.product_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.cart.cart_service uses a module listed above it, which is the healthy direction.
37→35 templates.ecommerce.apps.api.src.application.cart.cart_service uses templates.ecommerce.apps.api.src.domain.cart.cart_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.cart.cart_service uses a type in templates.ecommerce.apps.api.src.domain.cart.cart_repository.
- The types involved
templates.ecommerce.apps.api.src.application.cart.cart_service.CartService→templates.ecommerce.apps.api.src.domain.cart.cart_repository.ICartRepository
- Direction
- templates.ecommerce.apps.api.src.application.cart.cart_service uses templates.ecommerce.apps.api.src.domain.cart.cart_repository, so a change to templates.ecommerce.apps.api.src.domain.cart.cart_repository can break templates.ecommerce.apps.api.src.application.cart.cart_service, while a change to templates.ecommerce.apps.api.src.application.cart.cart_service can't break templates.ecommerce.apps.api.src.domain.cart.cart_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.cart.cart_service uses a module listed above it, which is the healthy direction.
38→24 templates.ecommerce.apps.api.src.application.checkout.checkout_service uses templates.ecommerce.apps.api.src.domain.catalog.product_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.checkout.checkout_service uses a type in templates.ecommerce.apps.api.src.domain.catalog.product_repository.
- The types involved
templates.ecommerce.apps.api.src.application.checkout.checkout_service.CheckoutService→templates.ecommerce.apps.api.src.domain.catalog.product_repository.IProductRepository
- Direction
- templates.ecommerce.apps.api.src.application.checkout.checkout_service uses templates.ecommerce.apps.api.src.domain.catalog.product_repository, so a change to templates.ecommerce.apps.api.src.domain.catalog.product_repository can break templates.ecommerce.apps.api.src.application.checkout.checkout_service, while a change to templates.ecommerce.apps.api.src.application.checkout.checkout_service can't break templates.ecommerce.apps.api.src.domain.catalog.product_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.checkout.checkout_service uses a module listed above it, which is the healthy direction.
38→25 templates.ecommerce.apps.api.src.application.checkout.checkout_service uses templates.ecommerce.apps.api.src.domain.checkout.order_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.checkout.checkout_service uses a type in templates.ecommerce.apps.api.src.domain.checkout.order_repository.
- The types involved
templates.ecommerce.apps.api.src.application.checkout.checkout_service.CheckoutService→templates.ecommerce.apps.api.src.domain.checkout.order_repository.IOrderRepository
- Direction
- templates.ecommerce.apps.api.src.application.checkout.checkout_service uses templates.ecommerce.apps.api.src.domain.checkout.order_repository, so a change to templates.ecommerce.apps.api.src.domain.checkout.order_repository can break templates.ecommerce.apps.api.src.application.checkout.checkout_service, while a change to templates.ecommerce.apps.api.src.application.checkout.checkout_service can't break templates.ecommerce.apps.api.src.domain.checkout.order_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.checkout.checkout_service uses a module listed above it, which is the healthy direction.
38→35 templates.ecommerce.apps.api.src.application.checkout.checkout_service uses templates.ecommerce.apps.api.src.domain.cart.cart_repository✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.application.checkout.checkout_service uses a type in templates.ecommerce.apps.api.src.domain.cart.cart_repository.
- The types involved
templates.ecommerce.apps.api.src.application.checkout.checkout_service.CheckoutService→templates.ecommerce.apps.api.src.domain.cart.cart_repository.ICartRepository
- Direction
- templates.ecommerce.apps.api.src.application.checkout.checkout_service uses templates.ecommerce.apps.api.src.domain.cart.cart_repository, so a change to templates.ecommerce.apps.api.src.domain.cart.cart_repository can break templates.ecommerce.apps.api.src.application.checkout.checkout_service, while a change to templates.ecommerce.apps.api.src.application.checkout.checkout_service can't break templates.ecommerce.apps.api.src.domain.cart.cart_repository.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.application.checkout.checkout_service uses a module listed above it, which is the healthy direction.
39→17 templates.ecommerce.apps.api.src.modules.admin.admin_controller uses add-features.auth.nodejs-express.auth_middleware✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.modules.admin.admin_controller uses a type in add-features.auth.nodejs-express.auth_middleware.
- The types involved
templates.ecommerce.apps.api.src.modules.admin.admin_controller.AdminController→add-features.auth.nodejs-express.auth_middleware.Request
- Direction
- templates.ecommerce.apps.api.src.modules.admin.admin_controller uses add-features.auth.nodejs-express.auth_middleware, so a change to add-features.auth.nodejs-express.auth_middleware can break templates.ecommerce.apps.api.src.modules.admin.admin_controller, while a change to templates.ecommerce.apps.api.src.modules.admin.admin_controller can't break add-features.auth.nodejs-express.auth_middleware.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.modules.admin.admin_controller uses a module listed above it, which is the healthy direction.
39→29 templates.ecommerce.apps.api.src.modules.admin.admin_controller uses templates.ecommerce.apps.api.src.application.admin.admin-user_service✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.modules.admin.admin_controller uses a type in templates.ecommerce.apps.api.src.application.admin.admin-user_service.
- The types involved
templates.ecommerce.apps.api.src.modules.admin.admin_controller.AdminController→templates.ecommerce.apps.api.src.application.admin.admin-user_service.AdminUserService
- Direction
- templates.ecommerce.apps.api.src.modules.admin.admin_controller uses templates.ecommerce.apps.api.src.application.admin.admin-user_service, so a change to templates.ecommerce.apps.api.src.application.admin.admin-user_service can break templates.ecommerce.apps.api.src.modules.admin.admin_controller, while a change to templates.ecommerce.apps.api.src.modules.admin.admin_controller can't break templates.ecommerce.apps.api.src.application.admin.admin-user_service.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.modules.admin.admin_controller uses a module listed above it, which is the healthy direction.
39→30 templates.ecommerce.apps.api.src.modules.admin.admin_controller uses templates.ecommerce.apps.api.src.application.admin.dashboard_service✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.modules.admin.admin_controller uses a type in templates.ecommerce.apps.api.src.application.admin.dashboard_service.
- The types involved
templates.ecommerce.apps.api.src.modules.admin.admin_controller.AdminController→templates.ecommerce.apps.api.src.application.admin.dashboard_service.DashboardService
- Direction
- templates.ecommerce.apps.api.src.modules.admin.admin_controller uses templates.ecommerce.apps.api.src.application.admin.dashboard_service, so a change to templates.ecommerce.apps.api.src.application.admin.dashboard_service can break templates.ecommerce.apps.api.src.modules.admin.admin_controller, while a change to templates.ecommerce.apps.api.src.modules.admin.admin_controller can't break templates.ecommerce.apps.api.src.application.admin.dashboard_service.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.modules.admin.admin_controller uses a module listed above it, which is the healthy direction.
39→32 templates.ecommerce.apps.api.src.modules.admin.admin_controller uses templates.ecommerce.apps.api.src.application.cart.coupon_service✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.modules.admin.admin_controller uses a type in templates.ecommerce.apps.api.src.application.cart.coupon_service.
- The types involved
templates.ecommerce.apps.api.src.modules.admin.admin_controller.AdminController→templates.ecommerce.apps.api.src.application.cart.coupon_service.CouponAdminService
- Direction
- templates.ecommerce.apps.api.src.modules.admin.admin_controller uses templates.ecommerce.apps.api.src.application.cart.coupon_service, so a change to templates.ecommerce.apps.api.src.application.cart.coupon_service can break templates.ecommerce.apps.api.src.modules.admin.admin_controller, while a change to templates.ecommerce.apps.api.src.modules.admin.admin_controller can't break templates.ecommerce.apps.api.src.application.cart.coupon_service.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.modules.admin.admin_controller uses a module listed above it, which is the healthy direction.
40→17 templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses add-features.auth.nodejs-express.auth_middleware✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses a type in add-features.auth.nodejs-express.auth_middleware.
- The types involved
templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller.AdminController→add-features.auth.nodejs-express.auth_middleware.Request
- Direction
- templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses add-features.auth.nodejs-express.auth_middleware, so a change to add-features.auth.nodejs-express.auth_middleware can break templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller, while a change to templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller can't break add-features.auth.nodejs-express.auth_middleware.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses a module listed above it, which is the healthy direction.
40→29 templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses templates.ecommerce.apps.api.src.application.admin.admin-user_service✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses a type in templates.ecommerce.apps.api.src.application.admin.admin-user_service.
- The types involved
templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller.AdminController→templates.ecommerce.apps.api.src.application.admin.admin-user_service.AdminUserService
- Direction
- templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses templates.ecommerce.apps.api.src.application.admin.admin-user_service, so a change to templates.ecommerce.apps.api.src.application.admin.admin-user_service can break templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller, while a change to templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller can't break templates.ecommerce.apps.api.src.application.admin.admin-user_service.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses a module listed above it, which is the healthy direction.
40→30 templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses templates.ecommerce.apps.api.src.application.admin.dashboard_service✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses a type in templates.ecommerce.apps.api.src.application.admin.dashboard_service.
- The types involved
templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller.AdminController→templates.ecommerce.apps.api.src.application.admin.dashboard_service.DashboardService
- Direction
- templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses templates.ecommerce.apps.api.src.application.admin.dashboard_service, so a change to templates.ecommerce.apps.api.src.application.admin.dashboard_service can break templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller, while a change to templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller can't break templates.ecommerce.apps.api.src.application.admin.dashboard_service.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses a module listed above it, which is the healthy direction.
40→32 templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses templates.ecommerce.apps.api.src.application.cart.coupon_service✕
- Connections
- 1 pair of types, where a type in templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses a type in templates.ecommerce.apps.api.src.application.cart.coupon_service.
- The types involved
templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller.AdminController→templates.ecommerce.apps.api.src.application.cart.coupon_service.CouponAdminService
- Direction
- templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller uses templates.ecommerce.apps.api.src.application.cart.coupon_service, so a change to templates.ecommerce.apps.api.src.application.cart.coupon_service can break templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller, while a change to templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller can't break templates.ecommerce.apps.api.src.application.cart.coupon_service.
- Position
- Below the diagonal: templates.ecommerce.apps.api.src.presentation.modules.admin.admin_controller 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 | 68 | High / Critical |
| A05:2025 — Injection | 43 | High / Critical |
| A02:2025 — Security Misconfiguration | 31 | High / Critical |
| A07:2025 — Authentication Failures | 3 | High / Critical |
Roadmap
Immediately resolve the three leaked secrets in REDACTED and update the three outdated npm dependencies in REDACTED to secure the codebase. Address the 104 orphaned files, prioritizing page.tsx, auth.service.ts, and catalog.controller.ts, while establishing architectural decision records to improve knowledge freshness. Finally, integrate a SAST step into the CI pipeline using tools like CodeQL or semgrep to automatically block security regressions.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 3 Leaked secret finding(s) in Secret Scanning — start with REDACTED (3). | +6.5 pts | Low | Secret Scanning |
| Resolve the 3 Outdated (npm) finding(s) in Dependency Hygiene — start with REDACTED (3). | +4.7 pts | Low | Dependency Hygiene |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +4.1 pts | Low | ADR Quality |
| Resolve the 1 No assertions (empty test) finding(s) in Test Quality — start with admin-protection.test.ts. | +2.3 pts | Low | Test Quality |
| Resolve the 1 Deprecated finding(s) in Dependency Hygiene — start with REDACTED. | +2.0 pts | Low | Dependency Hygiene |
| Resolve the 1 One package at two majors across the workspace finding(s) in Dependency Hygiene. | +2.0 pts | Low | Dependency Hygiene |
| Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing. | +3.9 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.9 pts | Medium | DR & Backup |
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 | 1.1 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 2.3 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 2.7 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 2.7 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 3.4 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 3.4 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 3.4 | Slop | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 3.7 | Slop | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 4.6 | Mixed | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 4.8 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 4.8 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 5.1 | Mixed | Secret Scanning: Leaked secret: REDACTED |
| REDACTED | 5.4 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 5.6 | Mixed | IaC & Container Security: Medium IaC: REDACTED |
| REDACTED | 5.7 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 5.7 | Mixed | Dependency Vulnerabilities: Critical vulnerability: 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. 93 of 96 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 96 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, 702 of 752 do; the remainder are repo-wide signals — a dimension-level measurement, not a single line.
- Is there a tool behind the number? Every score below names the method that produced it — Roslyn, git, a scanner, or (for a handful of documentation/naming dimensions) an LLM labelled sampled · advisory — not a narrative.
- Does re-running give the same result? Run it again on the same commit and the score — and this report, byte for byte — is identical. A report whose numbers move between runs is describing the run, not the code.
Tools & methods
| Method | Backs | Version | Evaluator |
|---|---|---|---|
| Roslyn static analysis | Complexity, cohesion, coupling, dead code, API surface, layering | 5.3.0 | ✓ deterministic |
| Native secret scanner | Hardcoded secrets / credentials | 1.0.0 | ✓ deterministic |
| Watchdog duplication detector (in-process) | Code duplication | 1.0.0 | ✓ deterministic |
| Coverage (coverlet / dotnet-coverage) | Line & branch coverage | 10.0.400 | ✓ deterministic |
| NuGet / dotnet | Outdated, vulnerable & deprecated dependencies | 10.0.400 | ✓ deterministic |
| git / LibGit2Sharp | Churn hotspots, knowledge concentration, history | 2.43.0 · 0.31.0 | ✓ deterministic |
| gitleaks · semgrep · trivy · checkov | Secrets in history, SAST, CVEs, IaC & container, PII / GDPR | 1.86.0 · 0.69.3 · 3.2.533 | ✓ deterministic |
| LLM (sampled · advisory) | Documentation quality, ADR conformance, naming — sampled over a bounded sample; advisory, never a deterministic measurement | Local LLM | ◐ LLM · sampled · advisory |
Run transparency — what happened this run
- D16 Bus Factor — not measured this run — This is a true statement about the repository that carries nothing for its owner to act on, so it is reported here rather than as a defect in their code. Single-maintainer repository — bus factor is not applicable (2 contributor(s) across 124 commit(s) sampled, automation and bot accounts excluded). One of them holds 98% of the history; the other 1 hold 2% 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.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. A language sidecar this run needed FAILED, so the code model the non-MSBuild public-API collector reads was never built — this is a DEGRADED run, not a settled gap, and the surface may well be collectable on a re-run: The Java sidecar exited 0 and produced a model, but its own source census reports it opened ZERO Java files — while the engine's presence probe found Java source in this tree. The model is therefore empty for a reason on OUR side, not the repository's, and Java is recorded as unread rather than as clean.
- 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. `REDACTED`, `apps/web/src/app/privacy/page.tsx`, `apps/web/src/app/terms/page.tsx` produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DockerCompose (REDACTED). compose up failed (exit 18 — an image could not be pulled) — redis Pulling redis Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: redis Pulling redis 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.
- 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. 41 further occurrence(s) are not listed individually; the score already reflects all 81.
- 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. 74 further occurrence(s) are not listed individually; the score already reflects all 114.
- X4 Structured logging — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This check reads C# syntax, and JavaScript/TypeScript, Java, Kotlin, Python, PHP, Dart, Ruby, Scala and Rust source only, and no C# was loaded, and this repository's JavaScript/TypeScript, Python and PHP log through no library that carries a message's values as fields (pino, winston, bunyan, tslog, LogTape, roarr; Python's logging, structlog; PHP's PSR-3 loggers), so its log calls cannot be judged, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D8 Code Coverage: Coverage is measured by building and running the test suite inside Watchdog's isolated image — the target repo is never modified, and nothing on your systems runs. So coverage exists only when the suite builds and runs within the inline time budget; one that needs external services, can't build, or exceeds the budget yields no coverage (D8 then degrades to not-measured, not a low score). Line coverage also says nothing about assertion quality.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D11 Test Reliability: Flakiness is inferred from history/markers — Watchdog runs the suite once (for coverage), not the repeated runs under varied conditions that reveal nondeterminism, so a flaky test never recorded as failing is invisible here.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 Secret Scanning: Secret detection is signature- and entropy-based on the current tree — a secret that does not match a known pattern, or one already rotated, will not be flagged (a clean scan is "nothing matched", not "no secrets exist").
- D14 License Compliance: License compatibility is checked against declared package metadata and a policy — mislabelled or missing license metadata, and obligations that depend on how you distribute, are not resolved here.
- D15 Churn × Complexity Hotspots: Churn hotspots come from git history — a freshly imported or squashed repository has no churn signal, and recent rewrites can mask a historically risky file.
- D17 Explicit Debt: Acknowledged-debt signals (TODO/FIXME, suppressions, dead code) are textual — undocumented debt that nobody marked, and debt that lives in design rather than annotations, is invisible. Committed machine-written code (scaffolded migrations, designer/codegen output, generated stubs) is excluded — it is never the team's dead code to delete.
- D19 Documentation Quality: Documentation quality is judged by an LLM over a bounded sample of docs — it reads what is written, not whether the docs match the running system, and it is advisory, not a measurement. Its critique rows are drawn from a closed category vocabulary and each row means the same thing in every run, so two scans can be compared row by row; the SET that fires is still a sample, and does not repeat exactly. Measured on one frozen input, six scans at one engine SHA: 2-5 critique rows per scan, 8 distinct rows across the six, 3 of those 8 seen in only one scan. So a D19 row is evidence about the documentation, but a COUNT of D19 rows is not a quantity — never read a change in it as an improvement or a regression.
- D20 ADR Quality: ADR quality is an LLM read of the decision records present — it cannot know about decisions made and never recorded, and its verdict is sampled and advisory.
- D21 Naming Consistency: Naming quality is an LLM judgement over a bounded sample — it assesses clarity/consistency of the names it sees, not domain-correctness, and is advisory.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- D31 IaC & Container Security: IaC scanning checks Dockerfiles/Terraform/Kubernetes against best-practice rules — it cannot see the live cloud account, runtime configuration, or drift between the committed config and what is actually deployed.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a REDACTED (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- 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.
- AC5 ARIA correctness: ARIA correctness is checked against the static role/attribute shape — roles/attributes set dynamically aren't seen, a valid role says nothing about whether it matches the element's real behaviour, and required-state checks are suppressed when a JSX spread could supply them. The two-branch toggle check (a control whose state is conveyed only by which of two mutually exclusive branches renders) reads CONDITIONALS THAT ARE ATTRIBUTES — Vue v-if/v-else/v-show and Alpine x-if/x-show — so the same toggle written as a Svelte {#if} block or a JSX ternary is control flow the markup model never projects as a branch and is not seen at all.
- AC6 Visual & motion safety: Contrast and motion safety are PARTIAL by construction — literal colours (hex/rgb/hsl/named) in inline styles, in-repo <style> blocks, in-repo .css files, var() tokens, Tailwind neutral utilities and CSS-in-JS top-level declarations are read (same-rule/same-element colour+background pairs only); computed/runtime/theme colour, external-CDN stylesheets, CSS-in-JS dynamic (${…}) and nested-selector colours, cross-element pairs and image contrast stay out of reach, so a clean result is bounded by what the static CSS itself shows.
- AC7 A11y enforcement: Enforcement is scored from in-repo config/CI evidence only — an a11y gate enforced in external tooling with no in-repo trace can't be credited, and a configured linter is presence, not proof the rules actually run or block a merge.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- C5 Data-Subject Rights: This control is scored from in-repo evidence only — absence of evidence here means the scan found no in-repo trace, not that the control does not exist.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- P4 Deployment & Rollback: Approval/branch-protection rules live in repository settings the scan cannot see — only their in-repo evidence (config files, workflows) is checked, so a control enforced purely in the host's settings reads as "not evidenced".
- P5 DR & Backup: Backup/restore and disaster-recovery readiness is judged from in-repo evidence — a config that exists is not a tested restore, so the absence of positive evidence is reported as "not evidenced", never scored as present.
- P6 Release Hygiene: Rollback/observability controls are inferred from repo artefacts (pipelines, dashboards-as-code) — controls configured in external tooling, with no in-repo trace, cannot be credited.
The LLM boundary
Dimensions
D1 · Cyclomatic Complexity
8 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was wizard.runWizard at 39.
What to do
- Bring the 1 body over 30 down to 30 or less in Cyclomatic Complexity — start with wizard.runWizard (cyclomatic 39). — Refactoring it lifts Cyclomatic Complexity from 8.4 to about 8.6/10.
- Enforce Cyclomatic Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D2 · Cognitive Complexity
12 method(s) exceeded the cognitive complexity threshold of 15; the worst was webhooks.router.post("/stripe") at 36.
What to do
- Bring the 12 bodies over 15 down to 15 or less in Cognitive Complexity — start with webhooks.router.post("/stripe") (cognitive 36), wizard.runWizard (cognitive 36), validate-templates.validateTemplates (cognitive 32). — This score is capped by its worst body, so a finding fixed alone moves it by almost nothing — the next one down takes its place. Refactoring these 12 together lifts Cognitive Complexity from 8.1 to about 10.0/10, projected with the scoring formula itself and assuming each lands exactly at 15.
- Enforce Cognitive Complexity in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D3 · God Classes
16 over-large unit(s) detected — types, modules or files that carry too much.
What to do
- Resolve the 16 FunctionTooLong finding(s) in God Classes — start with page.tsx (2), CartPage.tsx, ProductsAdminPage.tsx. — One of this dimension's main actionable groups (16 warning-level).
- Enforce God Classes in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D5 · Coupling
6 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 0 module(s) off the main sequence, with abstractness counted on 5 of the 6 (the rest declare no modelled class or interface, export only macros, declare types in source no model reads, or have no source directory of their own).
D6 · Cohesion (LCOM4)
0 of 33 classes have LCOM4 above 3.
D8 · Code Coverage
Line coverage 33.4% — 119 file(s) below 50%. Measured from the JavaScript/TypeScript suite (jest via `npm ci --ignore-scripts` in templates/ecommerce/apps/api/; jest via `npm ci --ignore-scripts` in templates/ecommerce/apps/web/).
What to do
- Resolve the 119 Low coverage finding(s) in Code Coverage — start with coupon.service.ts (2), redis.ts (2), admin.registry.ts (2). — One of this dimension's main actionable groups (119 warning-level).
- Enforce Code Coverage in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
387 test methods: 372 unit, 0 integration, 0 BDD, 15 e2e. The JavaScript/TypeScript suite contributes 387 `it`/`test` case(s) across 59 test file(s) declaring at least one; its tier split is read from package names and paths only.
D10 · Test Quality
0 skipped, 1 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 387 tests.
What to do
- Resolve the 1 No assertions (empty test) finding(s) in Test Quality — start with admin-protection.test.ts. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 12 Mock-dominated test finding(s) in Test Quality — start with checkout.service.unit.test.ts (4), deploy.test.ts (2), auth.test.ts (2). — One of this dimension's main actionable groups (12 recommendation-level).
- Enforce Test Quality in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D11 · Test Reliability
0 flaky across 1 measured tier(s). JavaScript/TypeScript (vitest via `npm ci --ignore-scripts` in the repository root (123 tests); vitest via `npm ci --ignore-scripts` in apps/web/ (2 tests); jest via `npm ci --ignore-scripts` in templates/ecommerce/apps/api/ (107 tests); jest via `npm ci --ignore-scripts` in templates/ecommerce/apps/web/ (82 tests)): measured (0 flaky).
D12 · Dependency Hygiene
37 outdated direct production npm dependency(ies) of 45 graded, 1 pinning defect(s), across 7 REDACTED (3 of them the product) and 5 committed lockfile(s). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 1 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 3 Outdated (npm) finding(s) in Dependency Hygiene — start with REDACTED (3). — One of this dimension's main actionable groups (3 recommendation-level).
- Resolve the 1 Deprecated finding(s) in Dependency Hygiene — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 One package at two majors across the workspace finding(s) in Dependency Hygiene. — One of this dimension's main actionable groups (1 warning-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
1 secret(s) detected.
What to do
- Resolve the 3 Leaked secret finding(s) in Secret Scanning — start with REDACTED (3). — One of this dimension's main actionable groups (3 issue-level).
- Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 45 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 45 production dependency(ies) this repository's committed lockfile resolves, across 3 product REDACTED manifest(s). Its 65 `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 / PROPRIETARY, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
28 deducted task-comment markers across 17531 LoC (0.1/KLoC) → score 9.7. 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 28 TodoComment finding(s) in Explicit Debt — start with auth.service.ts (10), AuthService.java (5), service.py (5). — One of this dimension's main actionable groups (28 warning-level).
- Enforce Explicit Debt in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D19 · Documentation Quality
The repository's root README and Kybernus CLI command reference are the most comprehensive documents, covering what Kybernus does (backend scaffolding across stacks with templates, authentication, CI/CD, Gemini docs), installation, a quick start, supported stacks, commands, and architecture. The GitHub workflows directory README is focused on CI/CD workflows for the platform, while apps/web/README and old/license-api/README are per-directory documentation of Next.js and a license API respectively. All visible documents are clear and complete; no missing overview, installation, or usage. The documentation is clear and complete for a project focused on Kybernus stacks: the READMEs describe each stack with its features, prerequisites, and test cases. The architecture/Docs files (STACKS.md, TESTING_TEMPLATES.md) cover all five stacks in detail plus a comprehensive testing plan. However, the overview of what Kybernus is or does is missing from any document, so it cannot be flagged as lacking.
What to do
- Improve Documentation Quality — currently 8.8/10. — The repository's root README and Kybernus CLI command reference are the most comprehensive documents, covering what Kybernus does (backend scaffolding across stacks with templates, authentication, CI/CD, Gemini docs), installation, a quick start, supported stacks, commands, and architecture. The GitHub workflows directory README is focused on CI/CD workflows for the platform, while apps/web/README and old/license-api/README are per-directory documentation of Next.js and a license API respectively. All visible documents are clear and complete; no missing overview, installation, or usage. The documentation is clear and complete for a project focused on Kybernus stacks: the READMEs describe each stack with its features, prerequisites, and test cases. The architecture/Docs files (STACKS.md, TESTING_TEMPLATES.md) cover all five stacks in detail plus a comprehensive testing plan. However, the overview of what Kybernus is or does is missing from any document, so it cannot be flagged as lacking.
D20 · ADR Quality
No architecture decision records were found.
What to do
- Resolve the 1 No ADRs found finding(s) in ADR Quality. — One of this dimension's main actionable groups (1 recommendation-level).
D21 · Naming Consistency
0 naming inconsistencies across 0 sampled symbols.
D26 · Project Cohesion
0 of 6 build units (npm) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
43 finding(s): 0 critical, 10 high, 33 medium, 0 low. 4 unpinned-GitHub-Actions row(s) are reported here but scored by D36 (supply-chain provenance), which measures that posture as `pinned_actions` — one pinning decision is charged once, not once per lens. semgrep hit a parse error in 3 file(s) — `REDACTED`, `apps/web/src/app/privacy/page.tsx` (lines 11–117), `apps/web/src/app/terms/page.tsx` (lines 11–107) — 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 3 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2), REDACTED. — One of this dimension's main actionable groups (3 issue-level).
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- No action in Static Analysis (SAST) — all 4 REDACTED finding(s) are reported here at file:line but scored by D36 (supply-chain provenance), so none is charged to this dimension. — One of this dimension's main actionable groups (4 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
68 finding(s): 6 critical, 39 high, 18 medium, 5 low.
What to do
- Resolve the 39 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (34), REDACTED (5). — One of this dimension's main actionable groups (39 issue-level).
- Resolve the 5 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (3), REDACTED (2). — One of this dimension's main actionable groups (5 issue-level).
- Resolve the 1 Critical vulnerability finding(s) in Dependency Vulnerabilities — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
D31 · IaC & Container Security
31 finding(s): 0 critical, 6 high, 17 medium, 8 low.
What to do
- Resolve the 17 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (4), REDACTED (3), REDACTED (3). — One of this dimension's main actionable groups (17 warning-level).
- Resolve the 6 High IaC finding(s) in IaC & Container Security — start with REDACTED (2), REDACTED, REDACTED. — One of this dimension's main actionable groups (6 issue-level).
- Resolve the 8 Low IaC finding(s) in IaC & Container Security — start with REDACTED (3), REDACTED, REDACTED. — One of this dimension's main actionable groups (8 recommendation-level).
D34 · Knowledge Freshness
106 of 106 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/core/features/feature-generator.ts. Counted over 106 of the 323 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 104 Orphaned file finding(s) in Knowledge Freshness — start with page.tsx (4), auth.service.ts (3), catalog.controller.ts (2). — One of this dimension's main actionable groups (104 recommendation-level).
- Resolve the 2 Most significant orphaned file finding(s) in Knowledge Freshness — start with feature-generator.ts, ProductsAdminPage.tsx. — One of this dimension's main actionable groups (2 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.
D44 · Platform End-of-Life
0 end-of-life runtime(s) and 0 end-of-life framework(s), read from 0 platform declaration(s) and 8 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
Frontend & cross-cutting dimensions
AC1 · Text alternatives
- An svg presented as an image needs a name — add a <title> child or an aria-label/aria-labelledby. — apps/web/src/components/Navbar.tsx:10
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 <label> has no htmlFor and wraps no form control, so it names nothing: assistive tech never announces it, and clicking the caption focuses no field. Note that an id on the label is not an association — it is the TARGET of one, so a control still has to point at it. Give the label htmlFor="<the control's id>", move the control inside the label, or point the control's aria-labelledby at this label's id. (×2) — apps/web/src/app/admin-login/page.tsx:90, apps/web/src/app/admin-login/page.tsx:112
- This control has only a placeholder — a placeholder is not a label (it vanishes on input and many AT ignore it). Add a <label htmlFor>, a wrapping <label>, or aria-label. (×9) — apps/web/src/app/admin-login/page.tsx:95, apps/web/src/app/admin-login/page.tsx:117, templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:92, …
- A link with no text, aria-label or labelled child (e.g. an icon-only link) has no accessible name, so assistive tech can't say where it goes. Add visible text or an aria-label. (×2) — apps/web/src/components/Footer.tsx:24, apps/web/src/components/Footer.tsx:27
- This control has no associated label. Add a <label htmlFor> / wrapping <label> / aria-label / aria-labelledby so assistive tech can name it. — templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:187
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
- The page declares no language, so assistive tech can't pick the right pronunciation. Add lang (e.g. lang="en"). — REDACTED:33
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. Wrap the primary content in <main>. (×2) — REDACTED:33, templates/nextjs/mvc/src/app/layout.tsx.hbs:18
- A <table> with data cells but no <th> gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as <th> (with a scope). — templates/ecommerce/apps/web/src/modules/legal/pages/TermsOfServicePage.tsx:164
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC4 · Keyboard semantics
- This <div role="dialog"> is a modal dialog, but nothing moves focus into it when it opens and nothing keeps focus inside it while it is open, so a keyboard or screen-reader user keeps acting on the content behind it (WCAG 2.4.3). Use a native <dialog> opened with showModal(), a dialog component that traps focus, or move focus to the dialog on open, trap Tab inside it (or make the page behind inert) and return focus to the control that opened it on close. (×3) — templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:61, templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx:225, templates/ecommerce/apps/web/src/shared/components/CookieConsent.tsx:42
- This <div> binds mouse-enter and mouse-leave and nothing else — no click, no key handler, no focus handler, and no tabIndex={0}, so it cannot even take focus. A keyboard user cannot hover, so whatever the pair reveals or highlights is reachable with a mouse only. Bind the same state to focus/blur as well, and add tabIndex={0}="0" so the element can receive that focus. (×2) — templates/ecommerce/apps/web/src/modules/catalog/components/ProductCard.tsx:31, templates/ecommerce/apps/web/src/modules/orders/pages/OrderHistoryPage.tsx:77
What to do
- Make custom controls keyboard-operable (role + tabindex + key handler), drop positive tabindex, and give anchors a real href.
AC5 · ARIA correctness
AC6 · Visual & motion safety
- <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:. (×3) — apps/web/src/app/admin-login/page.tsx:142, apps/web/src/app/admin/page.tsx:95, apps/web/src/components/GoogleSignInButton.tsx:49
- <div> moves — its inline style sets `transition: box-shadow 0.18s ease, transform 0.18s ease` — 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:. — templates/ecommerce/apps/web/src/modules/catalog/components/ProductCard.tsx:31
What to do
- Keep a visible focus style (don't remove the outline without a replacement), guard animation with prefers-reduced-motion, and raise low-contrast colour pairs to at least 4.5:1.
AC7 · A11y enforcement
- No accessibility enforcement found — no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 104 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository's test and CI files — matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here.
What to do
- Enforce accessibility in the toolchain: add eslint-plugin-jsx-a11y, then assert with vitest-axe in tests, then gate axe/pa11y/Lighthouse in CI.
AX1 · Captive dependencies
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.
AX2 · Stateful singletons
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
C1 · Data Protection
- No in-app HTTPS enforcement, but a trusted-proxy setting ('trust proxy' / trustProxy) indicates a reverse-proxy topology — terminating TLS in the app would be wrong in this layout. Verify the reverse proxy enforces TLS. — REDACTED:25
What to do
- Strengthen data-at-rest protection: vault your keys (AWS KMS / Secrets Manager, Azure Key Vault, GCP KMS / Secret Manager, HashiCorp Vault) and encrypt the most sensitive columns (typeorm-encrypted, prisma-field-encryption, mongoose-field-encryption or MongoDB CSFLE) — partial coverage still leaves gaps.
C2 · Access Controls
- Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) — this is NOT a claim that endpoints are unprotected. What's missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can't be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect.
What to do
- Name the access rules — roles/permissions declared once (a @Roles/@Permissions decorator with its guard, a CASL ability, a casbin model, or Supabase CREATE POLICY) and consulted where access is checked, so the rule set is reviewable and testable on its own.
C5 · Data-Subject Rights
- Corroborated rights: erasure ✓ · export ✗ · consent ✗. Each tick means this scan found code in the repository implementing that right — a deletion/anonymisation path for erasure, a data-export or portability path for export, and consent state recorded alongside the personal data it authorises. A ✗ therefore means no such code was recognised HERE, not that the right is unsupported: a capability provided by a platform, a manual runbook, or code spelled in a way this scan does not match is not visible to it. Confirm before treating a cross as a gap; where it is one, the right has to be fulfilled manually.
What to do
- Implement data export/portability for a data subject (a machine-readable export of their personal data).
- Track GDPR consent (lawful basis) alongside the personal data it authorises.
DM6 · Domain ↔ infrastructure boundary
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
- Both arms of this conditional expression are the same, so no input can make the condition matter. Implement the distinction that was intended, or drop the condition. — apps/web/src/app/api/analytics/track/route.ts:47
- `calculate` looks like it should compute a result but its body just returns a constant — a placeholder return that was never filled in. — templates/ecommerce/apps/api/src/modules/checkout/tax.service.ts:6
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.
M1 · Documentation (README)
What to do
- Explain in the README how to run the tests. Add a section called Testing to the README in the repository's top folder, saying how to run the test suite.
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
- Add a README to the 3 of 6 project(s) that lack one — worth up to 1 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 advertises Terraform / IaC, but no Terraform configuration exists — searched for: `terraform`, `.tf`. Each was matched case- and separator-insensitively against file and directory NAMES anywhere in the tree, and against the CONTENTS of manifest and configuration files (REDACTED and other *.json, *.csproj, *.props, *.sln/*.slnx, *.yml, *.toml, *.config, tool configs such as eslint.config.js, REDACTED); the README's own prose never counts, so a claim is never refuted by merely being made. Nothing outside that search was read — a footprint living only in a submodule, in a file type not listed here, or under a name none of those terms matches is not seen, and this row is then wrong. — README.md:5
- docs/CLI_REFERENCE.md names `railway.toml`, but no file or folder `railway.toml` 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. — docs/CLI_REFERENCE.md:68
- docs/CLI_REFERENCE.md names `fly.toml`, but no file or folder `fly.toml` 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. — docs/CLI_REFERENCE.md:69
- docs/CLI_REFERENCE.md names `render.yaml`, but no file or folder `render.yaml` 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. — docs/CLI_REFERENCE.md:70
- docs/DEPLOYMENT_GUIDE.md names `railway.toml`, but no file or folder `railway.toml` 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. — docs/DEPLOYMENT_GUIDE.md:15
What to do
- Reconcile the README with reality: README advertises Terraform / IaC, but no Terraform configuration exists; docs/CLI_REFERENCE.md names `railway.toml`, but no file or folder `railway.toml` exists; docs/CLI_REFERENCE.md names `fly.toml`, but no file or folder `fly.toml` exists; docs/CLI_REFERENCE.md names `render.yaml`, but no file or folder `render.yaml` exists; docs/DEPLOYMENT_GUIDE.md names `railway.toml`, but no file or folder `railway.toml` exists.
P1 · CI/CD gates
P10 · Library API & versioning
P2 · Observability
- Only 1/6 runnable modules use logging (modules with no entry point or server are excluded — they are libraries a runnable module hosts). Silent: `.`, `.`, `apps/web`, `old/license-api`, `templates/ecommerce/apps/api`.
- `add-features/auth/nextjs/routes/register.ts` reports through `console.*` at line 47 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — add-features/auth/nextjs/routes/register.ts:47
- `add-features/auth/nextjs/routes/login.ts` reports through `console.*` at line 40 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — add-features/auth/nextjs/routes/login.ts:40
- `add-features/redis/nodejs.ts` reports through `console.*` at line 7 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — add-features/redis/nodejs.ts:7
- `add-features/redis/nodejs.ts` reports through `console.*` at line 8 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — add-features/redis/nodejs.ts:8
- `REDACTED` reports through `console.*` at line 29 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — REDACTED:29
- `add-features/swagger/nestjs.ts` reports through `console.*` at line 15 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — add-features/swagger/nestjs.ts:15
- `add-features/websocket/nodejs-express.ts` reports through `console.*` at line 10 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — add-features/websocket/nodejs-express.ts:10
- `add-features/websocket/nodejs-express.ts` reports through `console.*` at line 14 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — add-features/websocket/nodejs-express.ts:14
- `add-features/websocket/nodejs-express.ts` reports through `console.*` at line 21 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — add-features/websocket/nodejs-express.ts:21
- `add-features/websocket/nodejs-express.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. — add-features/websocket/nodejs-express.ts:27
- `add-features/websocket/nestjs.ts` reports through `console.*` at line 21 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — add-features/websocket/nestjs.ts:21
- `add-features/websocket/nestjs.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. — add-features/websocket/nestjs.ts:26
- `add-features/websocket/nestjs.ts` reports through `console.*` at line 31 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — add-features/websocket/nestjs.ts:31
- `REDACTED` reports through `console.*` at line 69 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — REDACTED:69
- `src/core/features/feature-generator.ts` reports through `console.*` at line 387 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/core/features/feature-generator.ts:387
- `src/core/generator/project.ts` reports through `console.*` at line 272 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/core/generator/project.ts:272
- `src/core/generator/project.ts` reports through `console.*` at line 273 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/core/generator/project.ts:273
- `src/core/generator/project.ts` reports through `console.*` at line 284 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/core/generator/project.ts:284
- `src/core/generator/project.ts` reports through `console.*` at line 288 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/core/generator/project.ts:288
- `src/core/generator/project.ts` reports through `console.*` at line 289 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — src/core/generator/project.ts:289
- `templates/nodejs-express/clean/src/infrastructure/http/middlewares/errorHandler.ts` reports through `console.*` at line 10 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — templates/nodejs-express/clean/src/infrastructure/http/middlewares/errorHandler.ts:10
- `templates/nodejs-express/hexagonal/src/adapters/inbound/http/middlewares/errorHandler.ts` reports through `console.*` at line 10 although other files in its module log through a logger. Console lines carry no level, fields or correlation and never reach the log pipeline. — templates/nodejs-express/hexagonal/src/adapters/inbound/http/middlewares/errorHandler.ts:10
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 as a CI step. What was searched, so you can tell an absence from a miss: the 1628 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge's web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen — if that is your case the row is wrong, and saying so is more useful than adding a second scanner.
What to do
- Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing.
- Enable Dependabot/Renovate or a dependency-review gate.
- Add gitleaks/trufflehog in CI to block PRs that introduce committed secrets.
P4 · Deployment & Rollback
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.
P6 · Release Hygiene
P8 · Schema migrations
P9 · Domain vs controller coverage
What to do
- Raise domain coverage toward 100% — cover the remaining aggregates / value objects / domain services where the business invariants and costly bugs live.
PF3 · Async & latency hygiene
- `execSync` in `checkCommand` 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. — REDACTED:18
- `fs.existsSync` in `callback to action` 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. (×7) — REDACTED:59, REDACTED:60, REDACTED:61, …
- `fs.existsSync` in `readProjectConfig` 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. — src/cli/utils/cli-helpers.ts:39
- `fs.mkdirSync` in `upload` 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. — templates/ecommerce/apps/api/src/infrastructure/services/storage/local-disk.storage.service.ts:21
- `fs.writeFileSync` in `upload` 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. — templates/ecommerce/apps/api/src/infrastructure/services/storage/local-disk.storage.service.ts:23
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 templates/ecommerce/apps/api/src/ have copies in at least two of the sibling directories application, domain, infrastructure, modules, presentation — 16 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 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. — templates/ecommerce/apps/api/src/modules/catalog/catalog.controller.ts:1
- 6 duplicated blocks under templates/ecommerce/apps/api/src/domain/ have copies in at least two of the sibling directories auth, cart, catalog, checkout — 3 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 6 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 6 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 6 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — templates/ecommerce/apps/api/src/domain/auth/user.entity.ts:60
- 5 duplicated blocks under templates/ecommerce/apps/web/src/modules/ have copies in at least two of the sibling directories admin, cart, catalog, orders — 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. — templates/ecommerce/apps/web/src/modules/admin/pages/DashboardPage.tsx:12
- templates/ecommerce/apps/api/src/modules/catalog/catalog.controller.ts:1 · templates/ecommerce/apps/api/src/presentation/modules/catalog/catalog.controller.ts:1 — these 2 files are line-for-line copies of one another — 112 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. — templates/ecommerce/apps/api/src/modules/catalog/catalog.controller.ts:1
- templates/ecommerce/apps/api/src/modules/auth/auth.controller.ts:1 · templates/ecommerce/apps/api/src/presentation/modules/auth/auth.controller.ts:1 — these 2 files are line-for-line copies of one another — 90 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. — templates/ecommerce/apps/api/src/modules/auth/auth.controller.ts:1
- templates/ecommerce/apps/web/src/modules/legal/pages/PrivacyPolicyPage.tsx:5 · templates/ecommerce/apps/web/src/modules/legal/pages/TermsOfServicePage.tsx:5 — the two spans are one implementation copied and then locally edited — 460 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. — templates/ecommerce/apps/web/src/modules/legal/pages/PrivacyPolicyPage.tsx:5
- templates/ecommerce/apps/api/src/modules/admin/admin.controller.ts:1 · templates/ecommerce/apps/api/src/presentation/modules/admin/admin.controller.ts:1 — these 2 files are line-for-line copies of one another — 75 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. — templates/ecommerce/apps/api/src/modules/admin/admin.controller.ts:1
- apps/web/src/services/analytics.service.ts:3 · old/license-api/src/services/analytics.service.ts:3 — these 2 files are line-for-line copies of one another — 72 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. — apps/web/src/services/analytics.service.ts:3
- templates/ecommerce/apps/api/src/modules/orders/order.controller.ts:1 · templates/ecommerce/apps/api/src/presentation/modules/orders/order.controller.ts:1 — these 2 files are line-for-line copies of one another — 68 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. — templates/ecommerce/apps/api/src/modules/orders/order.controller.ts:1
- templates/ecommerce/apps/web/src/modules/auth/LoginForm.tsx:15 · templates/ecommerce/apps/web/src/modules/auth/RegisterForm.tsx:17 — the two spans are one implementation copied and then locally edited — 440 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. — templates/ecommerce/apps/web/src/modules/auth/LoginForm.tsx:15
- templates/ecommerce/apps/api/src/modules/cart/cart.controller.ts:1 · templates/ecommerce/apps/api/src/presentation/modules/cart/cart.controller.ts:1 — these 2 files are line-for-line copies of one another — 57 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. — templates/ecommerce/apps/api/src/modules/cart/cart.controller.ts:1
- templates/ecommerce/apps/api/src/modules/profile/profile.controller.ts:1 · templates/ecommerce/apps/api/src/presentation/modules/profile/profile.controller.ts:1 — these 2 files are line-for-line copies of one another — 50 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. — templates/ecommerce/apps/api/src/modules/profile/profile.controller.ts:1
- templates/ecommerce/apps/api/src/modules/checkout/checkout.controller.ts:7 · templates/ecommerce/apps/api/src/presentation/modules/checkout/checkout.controller.ts:7 — 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. — templates/ecommerce/apps/api/src/modules/checkout/checkout.controller.ts:7
- templates/ecommerce/apps/web/src/shared/theme/tokens.ts:1 · templates/ecommerce/packages/shared-types/src/theme.ts:1 — 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. — templates/ecommerce/apps/web/src/shared/theme/tokens.ts:1
- apps/web/src/app/privacy/page.tsx:5 · apps/web/src/app/terms/page.tsx:5 — 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. — apps/web/src/app/privacy/page.tsx:5
- src/cli/commands/auth.ts:22 · src/cli/commands/deploy.ts:34 — the two spans are one implementation copied and then locally edited — 254 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — src/cli/commands/auth.ts:22
- templates/ecommerce/apps/web/src/modules/admin/pages/OrdersAdminPage.tsx:82 · templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:315 — the two spans are one implementation copied and then locally edited — 245 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. — templates/ecommerce/apps/web/src/modules/admin/pages/OrdersAdminPage.tsx:82
- add-features/auth/nestjs/auth.service.ts:26 · add-features/auth/nodejs-express/auth.service.ts:23 — the two spans are one implementation copied and then locally edited — 201 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. — add-features/auth/nestjs/auth.service.ts:26
- templates/ecommerce/apps/web/src/modules/auth/pages/ForgotPasswordPage.tsx:60 · templates/ecommerce/apps/web/src/modules/auth/pages/ResetPasswordPage.tsx:73 — 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. — templates/ecommerce/apps/web/src/modules/auth/pages/ForgotPasswordPage.tsx:60
- REDACTED:8 · REDACTED:8 — 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. — REDACTED:8
- templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx:135 · templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx:188 — all 2 copies are in the same file, 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. — templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx:135
- add-features/auth/nextjs/routes/login.ts:9 · add-features/auth/nextjs/routes/register.ts:9 — the two spans are one implementation copied and then locally edited — 200 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. — add-features/auth/nextjs/routes/login.ts:9
- apps/web/src/app/admin-login/page.tsx:89 · apps/web/src/app/admin-login/page.tsx:111 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — apps/web/src/app/admin-login/page.tsx:89
- templates/ecommerce/apps/web/src/modules/auth/pages/LoginPage.tsx:18 · templates/ecommerce/apps/web/src/modules/auth/pages/RegisterPage.tsx:18 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — templates/ecommerce/apps/web/src/modules/auth/pages/LoginPage.tsx:18
- templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:209 · templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:236 — all 2 copies are in the same file, 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. — templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:209
- templates/nodejs-express/clean/src/config/index.ts:4 · templates/nodejs-express/hexagonal/src/config/index.ts:4 — 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. — templates/nodejs-express/clean/src/config/index.ts:4
- templates/nodejs-express/clean/src/infrastructure/http/middlewares/errorHandler.ts:4 · templates/nodejs-express/hexagonal/src/adapters/inbound/http/middlewares/errorHandler.ts:4 — 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. — templates/nodejs-express/clean/src/infrastructure/http/middlewares/errorHandler.ts:4
- src/core/deploy/deploy-generator.ts:173 · src/core/features/feature-generator.ts:401 — the two spans are one implementation copied and then locally edited — 136 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — src/core/deploy/deploy-generator.ts:173
- src/cli/commands/add.ts:44 · src/cli/commands/auth.ts:38 — the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it. — src/cli/commands/add.ts:44
- apps/web/src/app/api/analytics/track/route.ts:5 · apps/web/src/app/api/auth/admin-login/route.ts:6 — 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. — apps/web/src/app/api/analytics/track/route.ts:5
- add-features/auth/nodejs-express/auth.controller.ts:8 · add-features/auth/nodejs-express/auth.controller.ts:26 — 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. — add-features/auth/nodejs-express/auth.controller.ts:8
- src/cli/commands/deploy.ts:123 · src/cli/utils/cli-helpers.ts:106 — the two spans are one implementation copied and then locally edited — 100 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — src/cli/commands/deploy.ts:123
- templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/product.memory.repository.ts:7 · templates/ecommerce/apps/api/src/infrastructure/persistence/prisma/catalog/product.prisma.repository.ts:36 — the two spans are one implementation copied and then locally edited — 85 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. — templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/product.memory.repository.ts:7
- add-features/auth/nextjs/routes/register.ts:22 · add-features/auth/nodejs-express/auth.service.ts:25 — 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. — add-features/auth/nextjs/routes/register.ts:22
- REDACTED:23 · REDACTED:44 — both copies are in the same file, so extract the block into one function there and call it from each site — the copies drift apart the first time only one of them is edited. — REDACTED:23
- templates/ecommerce/apps/api/src/domain/catalog/category.entity.ts:32 · templates/ecommerce/apps/api/src/domain/catalog/product.entity.ts:81 — 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. — templates/ecommerce/apps/api/src/domain/catalog/category.entity.ts:32
- templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:105 · templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:122 — 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. — templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:105
- add-features/auth/nextjs/jwt.ts:3 · add-features/auth/nodejs-express/jwt.config.ts:3 — the 2 copies are spread across 2 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct — and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal's entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins — a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are. — add-features/auth/nextjs/jwt.ts:3
- add-features/auth/nodejs-express/auth.middleware.ts:2 · REDACTED:2 — the two spans are one implementation copied and then locally edited — 60 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. — add-features/auth/nodejs-express/auth.middleware.ts:2
- REDACTED:40 · REDACTED:66 — 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. — REDACTED:40
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
- apps/web/src/components/MarkdownRenderer.tsx:6 imports react-syntax-highlighter/dist/esm/styles/prism, 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. — apps/web/src/components/MarkdownRenderer.tsx:6
What to do
- Fix the listed violations: import through public entries (package exports / slice index), never reach into another layer or package's internals.
R2 · Cyclomatic Complexity
- (anonymous) has cyclomatic complexity 22 and cognitive complexity 36; 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 is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. 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. — old/license-api/src/routes/webhooks.ts:13
- runWizard has cyclomatic complexity 19 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/cli/prompts/wizard.ts:20
- ProductDetailPage has cyclomatic complexity 18 and cognitive complexity 17; 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. — templates/ecommerce/apps/web/src/modules/catalog/pages/ProductDetailPage.tsx:32
- generate has cyclomatic complexity 14 and cognitive complexity 17; 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 is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/core/generator/project.ts:30
- validateTemplates has cyclomatic complexity 13 and cognitive complexity 32; 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 is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. 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. — old/scripts/validate-templates.ts:21
- handleSubmit has cyclomatic complexity 13 and cognitive complexity 16; 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 is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. 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. — templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx:177
- CartPage 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. — templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:37
- ProfilePage 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. — templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx:41
- generateFeature has cyclomatic complexity 12 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 is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — src/core/features/feature-generator.ts:396
- search has cyclomatic complexity 12 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth — arms side by side rather than stacked — and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — templates/ecommerce/apps/api/src/infrastructure/persistence/prisma/catalog/product.prisma.repository.ts:61
- (anonymous) has cyclomatic complexity 11 and cognitive complexity 18; 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 is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. Measured by this repository's own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes. — REDACTED:10
- checkout has cyclomatic complexity 11 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side — extracting each decision into its own named function is the change that pays. 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. — templates/ecommerce/apps/api/src/application/checkout/checkout.service.ts:22
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
- src/core/features/feature-generator.ts has 415 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — src/core/features/feature-generator.ts:1
- templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx 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. — templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:1
What to do
- Split each oversized file along the responsibilities already in it, into smaller focused modules in the same package.
R4 · Test Coverage
- 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) — apps/web/src/app/admin/page.tsx:1, apps/web/src/components/ArchitectureExplorer.tsx:1, apps/web/src/components/Hero.tsx:1, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R5 · Dependency Freshness
What to do
- Bump outdated dependencies to current versions to limit upgrade debt.
R6 · Tooling
R7 · Dead Code
- 66 file(s) (~5054 LoC) were excluded from dead-code analysis. This package's entry point(s) resolved, but the walk stopped one hop in: add-features/swagger/nextjs-route.ts imports '../../../swagger', which is not in the scanned tree. That is usually a generated or build-output module, so reachability cannot see past it and no dead-code claim is made about this package. Nothing is necessarily wrong here.
- Unreachable from the 57 application, 16 tooling and 66 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 (57 application, 16 tooling, 66 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (REDACTED) — 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 — templates/ecommerce/apps/api/src/presentation/modules/catalog/catalog.controller.ts
- no import path from any entry point (57 application, 16 tooling, 66 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 (×24) — templates/ecommerce/apps/api/prisma/seed.ts, apps/web/src/components/DocsLayout.tsx, templates/ecommerce/apps/api/src/modules/admin/admin.controller.ts, …
- no import path from any entry point (57 application, 16 tooling, 66 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (REDACTED) — 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 — templates/ecommerce/apps/api/src/presentation/modules/auth/auth.controller.ts
- no import path from any entry point (57 application, 16 tooling, 66 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (templates/ecommerce/apps/api/src/presentation/modules/orders/order.routes.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 — templates/ecommerce/apps/api/src/presentation/modules/orders/order.controller.ts
- no import path from any entry point (57 application, 16 tooling, 66 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (templates/ecommerce/apps/api/src/presentation/modules/cart/cart.routes.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 — templates/ecommerce/apps/api/src/presentation/modules/cart/cart.controller.ts
- no import path from any entry point (57 application, 16 tooling, 66 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (templates/ecommerce/apps/api/src/presentation/modules/profile/profile.routes.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 — templates/ecommerce/apps/api/src/presentation/modules/profile/profile.controller.ts
- no import path from any entry point (57 application, 16 tooling, 66 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (REDACTED) — 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 — templates/ecommerce/apps/api/src/presentation/modules/checkout/checkout.controller.ts
- no import path from any entry point (57 application, 16 tooling, 66 test roots considered), but 1 in-repo import(s) from 1 other file(s) do name it (templates/ecommerce/apps/api/src/modules/admin/admin.controller.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 (×3) — templates/ecommerce/apps/api/src/modules/admin/admin.service.ts, templates/ecommerce/apps/api/src/modules/admin/admin.user.service.ts, templates/ecommerce/apps/api/src/modules/cart/coupon.service.ts
- Nothing imports this binding — it is safe to review for removal. — apps/web/src/lib/auth.ts:35
- Nothing ultimately consumes this binding: its only referrer is the re-export in templates/ecommerce/apps/api/src/modules/cart/cart.registry.ts, whose re-exported name has no consumer either. Removing it is therefore not a one-file change — drop the re-export line in templates/ecommerce/apps/api/src/modules/cart/cart.registry.ts in the same commit, or the barrel will import a name that no longer exists. — templates/ecommerce/apps/api/src/infrastructure/config/registry/cart.registry.ts:49
- This top-level declaration is not exported and its name occurs nowhere else in its module — not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it. — apps/web/src/components/Hero.tsx:211
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. (×8) — templates/nextjs/mvc/src/lib/db.ts:1, add-features/auth/nestjs/auth.service.ts:3, templates/nodejs-express/clean/src/config/index.ts:1, …
- 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.
- Declared in REDACTED but never imported anywhere in that package or its workspace members — while templates/nodejs-express/clean/src/config/index.ts DOES import it and no REDACTED above that file declares it, so the import resolves through the copy this declaration installs. The declaration is misplaced rather than dead: removing it breaks that import. Move it to the REDACTED that owns the importing file (or, if the two packages are meant to share it, hoist it to the workspace root) rather than deleting it.
- Declared in old/license-api/package.json but never imported anywhere in that package or its workspace members — while add-features/auth/nestjs/auth.service.ts DOES import it and no REDACTED above that file declares it, so the import resolves through the copy this declaration installs. The declaration is misplaced rather than dead: removing it breaks that import. Move it to the REDACTED that owns the importing file (or, if the two packages are meant to share it, hoist it to the workspace root) rather than deleting it.
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
- templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts → templates/ecommerce/apps/web/src/shared/lib/apiFetch.ts → templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts — templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:2
What to do
- Break each cycle by extracting the shared piece into a module both sides can import.
S1 · Web-Security Posture
- `JWT_SECRET` is the token-signing key, and its shipped DEFAULT is a compile-time constant — an installation that never overrides it encrypts with a value published in this repository, and the code cannot distinguish that state from a configured one. A key that ships with the source is not secret: every contributor, fork, mirror and released binary carries it, so anyone holding the repository can decrypt what any installation encrypted, and there is no way to invalidate what was already protected because every deployment built from this source shares the value. Where the constant is a password salt the consequence differs but is no smaller — one global salt means precomputation amortises across every installation, which is the property salting exists to destroy. Read the value from configuration, an environment variable or a secrets manager at startup and FAIL FAST when it is absent, so a missing key stops the process instead of silently falling back to a shared default; treat the committed value as disclosed and rotate it rather than only deleting the line. For a salt, generate a fresh random one per password and store it alongside the hash. (×5) — add-features/auth/nestjs/auth.module.ts:12, add-features/auth/nestjs/jwt.strategy.ts:16, add-features/auth/nextjs/jwt.ts:3, …
- `app.listen(…)` serves plain HTTP on a network address, and nothing in its package enforces HTTPS: no TLS served (`https.createServer`, Fastify `https`, Nest `httpsOptions`), no redirect of plain requests to `https://`, no `Strict-Transport-Security` (helmet sends it by default), and no TLS-terminating proxy configuration committed beside it — so a browser may talk to it in clear text. (−2.0 on this card.) — REDACTED:60
What to do
- Load cryptographic key and salt material from configuration, an environment variable or a secrets manager rather than fixing it in the source, and fail fast at startup when it is absent — a default that silently works is the one that reaches production. Rotate anything already committed: it must be treated as disclosed. Salts should be generated per password and stored with the hash, never shared across installations. This repository constructs key or salt material fixed at compile time at 5 sites, not one: `add-features/auth/nestjs/auth.module.ts:12` (token-signing key, default `JWT_SECRET`), `add-features/auth/nestjs/jwt.strategy.ts:16` (token-signing key, default `JWT_SECRET`), `add-features/auth/nextjs/jwt.ts:3` (token-signing key, default `JWT_SECRET`), `REDACTED:27` (token-signing key, default `JWT_SECRET`), `REDACTED:24` (token-signing key, default `JWT_SECRET`). Each is a separate decision — fixing only the line this row cites leaves the others in place.
- Enforce HTTPS on each listed server: serve TLS itself, or redirect plain requests to `https://` and send `Strict-Transport-Security` (`helmet()` does by default) behind the TLS-terminating proxy — and commit that proxy's configuration beside the service. A server only this machine reaches should bind `127.0.0.1`.
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 1/7 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.
- `login` 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 })`. — templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:31
- `register` 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 })`. — templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:46
- `logout` 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 })`. — templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:61
- `init` 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 })`. — templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:75
- `changePassword` 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 })`. — templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:107
- `deleteAccount` 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 })`. — templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:124
What to do
- Thread an AbortSignal through async functions that make requests, so the work stops when its caller gives up.
X20 · Mistyped argument guard
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X26 · Unsynchronised callback handoff
X27 · Collection changed while being enumerated
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- 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. (×16) — add-features/websocket/java-spring.java:55, REDACTED:43, src/core/generator/project.ts:323, …
- `.catch(() => {})` handles the rejection by doing nothing — the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (`next(error)`, a returned rejection), or don't catch it. (×2) — templates/ecommerce/apps/web/src/modules/catalog/pages/ProductListPage.tsx:45, templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx:129
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- ~1.3 `!` null assertions per 1k TypeScript source lines — 26 assertion(s) across the 19353 source line(s) of the 301 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: old/license-api/src/services/stripe.service.ts (4), templates/ecommerce/apps/api/src/modules/profile/profile.controller.ts (4), templates/ecommerce/apps/api/src/presentation/modules/profile/profile.controller.ts (4). 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 |
| AC5 · ARIA correctness | 4.1.2 | Partial signal |
| AC6 · Visual & motion safety | 1.4.3, 2.4.7 | Partial — literal CSS only |
| AC7 · A11y enforcement | enforcement — no page criterion | Enforcement posture (process) |
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 69% | Adequate | Acceptable, with room to improve. |
| Architecture | 79% | Strong | Solid. |
| Maturity | 35% | Weak — gated by D34, M2, M4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 28% | Weak — gated by R8, P3, P5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 46% | Weak — gated by D29, D30 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 100% | Exemplary | Strongest area. |
| Accessibility | 46% | Weak — gated by AC4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 60% | Adequate | Acceptable, with room to improve. |
Unscored — 3 check(s) recorded observations but carry no score
- D36 Supply-chain Provenance & Signing — 1 observation(s) recorded · The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
- P12 CI test-gate honesty — 2 observation(s) recorded · Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- X10 Duplicated predicate — 9 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 2 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.
Not included — 39 check(s) not relevant to this codebase
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 18 — an image could not be pulled) — redis Pulling redis Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: redis Pulling redis 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.
- 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.
- D22 Internal API Consistency — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D23 Boundary Type-Coupling — No bounded-context organisation was detected either — neither a context-shaped layout, nor 2+ sibling source directories each declaring an aggregate root, nor 2+ projects each declaring an entity of their own. Declaring this codebase's bounded contexts (≥2) would let cross-boundary type coupling be assessed. Declare them in `.codehealth/config.yaml` at the repository root (create it if absent), mapping each context name to the module-path or namespace prefixes that belong to it — e.g. `architecture:` → `contexts:` → `Billing: ["src/billing", "Acme.Billing"]`, `Catalog: ["src/catalog", "Acme.Catalog"]`.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.ts,.tsx), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D32 Data Compliance (PII/GDPR) — 3 file(s) were not parsed by semgrep — the PII/GDPR ruleset never ran over them
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.ts, .tsx) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication. The rest — .java (384 lines, 2.2% of production source) — is compared by neither card, so duplication there is unmeasured; it is a corner of this repository, not its product.
- 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.
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- DM1 Aggregate boundaries — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM10 One transaction, one aggregate — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM2 Strongly-typed ids — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM3 Integration-event coupling — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM4 Rich vs anemic model — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM5 Encapsulated state — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM7 Repository granularity — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — 1 mutating command handler(s)/consumer(s) detected and 1 handler method(s) walked, but no persistent write was recognised in any of them — idempotency not assessed
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P7 Outbound HTTP resilience — no outbound HTTP usage detected — no HTTP client call or construction in the JVM, JavaScript/TypeScript, Python source (service entry point: add-features/auth/java-spring/AuthController.java:10 (@RestController))
- 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: allocation awareness is rated where code engineers for it — at least 400 production lines that ship benchmarks or already use allocation-aware idioms (8 or more). This repository's Java code has 469 production line(s), 0 such use(s) and no benchmarks, so there is no allocation work to rate. The card is reward-only: its absence costs nothing.
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 97 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
- <input> without a programmatic label apps/web/src/app/admin-login/page.tsx:95
- <input> without a programmatic label apps/web/src/app/admin-login/page.tsx:117
- <input> without a programmatic label templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:92
- <input> without a programmatic label templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:93
- <input> without a programmatic label templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:94
- <input> without a programmatic label templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:95
- <input> without a programmatic label templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:96
- <input> without a programmatic label templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:187
- <input> without a programmatic label templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:212
- <input> without a programmatic label templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:239
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Cryptographic key material is a compile-time constant add-features/auth/nestjs/auth.module.ts:12
- Cryptographic key material is a compile-time constant add-features/auth/nestjs/jwt.strategy.ts:16
- Cryptographic key material is a compile-time constant add-features/auth/nextjs/jwt.ts:3
- Cryptographic key material is a compile-time constant REDACTED:27
- Cryptographic key material is a compile-time constant REDACTED:24
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- <label> that labels no control apps/web/src/app/admin-login/page.tsx:90
- <label> that labels no control apps/web/src/app/admin-login/page.tsx:112
- Link with no accessible name apps/web/src/components/Footer.tsx:24
- Link with no accessible name apps/web/src/components/Footer.tsx:27
- Hover-only interaction on <div> templates/ecommerce/apps/web/src/modules/catalog/components/ProductCard.tsx:31
- Hover-only interaction on <div> templates/ecommerce/apps/web/src/modules/orders/pages/OrderHistoryPage.tsx:77
- REDACTED
- REDACTED
- <svg role="img"> without an accessible name apps/web/src/components/Navbar.tsx:10
- <html> without a lang REDACTED:33
- No assertions (empty test): should allow access with valid token apps/web/tests/admin-protection.test.ts:17
- REDACTED
- REDACTED
- Unlisted import '@prisma/client' templates/nextjs/mvc/src/lib/db.ts:1
- Unlisted import 'bcryptjs' add-features/auth/nestjs/auth.service.ts:3
- Unlisted import 'dotenv' templates/nodejs-express/clean/src/config/index.ts:1
- Unlisted import 'express' add-features/auth/nodejs-express/auth.controller.ts:1
- Unlisted import 'jsonwebtoken' add-features/auth/nextjs/jwt.ts:1
- Unlisted import 'picocolors' src/cli/commands/add.ts:12
- Unlisted import 'ws' add-features/websocket/nodejs-express.ts:2
- Unlisted import 'zod' templates/nodejs-express/clean/src/config/index.ts:2
- Import cycle (2 files) templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:2
Serious — 436 finding(s)
- Low coverage: REDACTED REDACTED:1
- Low coverage: templates/ecommerce/apps/api/src/application/admin/admin-user.service.ts templates/ecommerce/apps/api/src/application/admin/admin-user.service.ts:1
- Low coverage: templates/ecommerce/apps/api/src/application/admin/dashboard.service.ts templates/ecommerce/apps/api/src/application/admin/dashboard.service.ts:1
- Low coverage: templates/ecommerce/apps/api/src/application/cart/coupon.service.ts templates/ecommerce/apps/api/src/application/cart/coupon.service.ts:1
- Low coverage: templates/ecommerce/apps/api/src/domain/cart/coupon.entity.ts templates/ecommerce/apps/api/src/domain/cart/coupon.entity.ts:1
- Low coverage: templates/ecommerce/apps/api/src/domain/catalog/category.entity.ts templates/ecommerce/apps/api/src/domain/catalog/category.entity.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/cache/redis.ts templates/ecommerce/apps/api/src/infrastructure/cache/redis.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/config/registry/admin.registry.ts templates/ecommerce/apps/api/src/infrastructure/config/registry/admin.registry.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/config/registry/auth.registry.ts templates/ecommerce/apps/api/src/infrastructure/config/registry/auth.registry.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/config/registry/cart.registry.ts templates/ecommerce/apps/api/src/infrastructure/config/registry/cart.registry.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/config/registry/catalog.registry.ts templates/ecommerce/apps/api/src/infrastructure/config/registry/catalog.registry.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/config/registry/checkout.registry.ts templates/ecommerce/apps/api/src/infrastructure/config/registry/checkout.registry.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/config/registry/orders.registry.ts templates/ecommerce/apps/api/src/infrastructure/config/registry/orders.registry.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/config/registry/profile.registry.ts templates/ecommerce/apps/api/src/infrastructure/config/registry/profile.registry.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/cart.memory.repository.ts templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/cart.memory.repository.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/category.memory.repository.ts templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/category.memory.repository.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/coupon.memory.repository.ts templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/coupon.memory.repository.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/order.memory.repository.ts templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/order.memory.repository.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/product.memory.repository.ts templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/product.memory.repository.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/user.memory.repository.ts templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/user.memory.repository.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/services/email/email.registry.ts templates/ecommerce/apps/api/src/infrastructure/services/email/email.registry.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/services/email/ethereal.email.service.ts templates/ecommerce/apps/api/src/infrastructure/services/email/ethereal.email.service.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/services/email/noop.email.service.ts templates/ecommerce/apps/api/src/infrastructure/services/email/noop.email.service.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/services/email/smtp.email.service.ts templates/ecommerce/apps/api/src/infrastructure/services/email/smtp.email.service.ts:1
- Low coverage: templates/ecommerce/apps/api/src/infrastructure/services/shipping/mock.shipping.service.ts templates/ecommerce/apps/api/src/infrastructure/services/shipping/mock.shipping.service.ts:1
- No test reaches this file apps/web/src/app/admin/page.tsx:1
- No test reaches this file apps/web/src/components/ArchitectureExplorer.tsx:1
- No test reaches this file apps/web/src/components/Hero.tsx:1
- No test reaches this file old/license-api/src/services/license.service.ts:1
- No test reaches this file templates/ecommerce/apps/web/src/modules/legal/pages/PrivacyPolicyPage.tsx:1
- No test reaches this file src/cli/commands/ecommerce.ts:1
- No test reaches this file apps/web/src/components/ArchitectureVisual.tsx:1
- No test reaches this file templates/ecommerce/apps/web/src/modules/catalog/pages/ProductDetailPage.tsx:1
- No test reaches this file REDACTED:1
- No test reaches this file templates/ecommerce/apps/api/src/presentation/modules/catalog/catalog.controller.ts:1
- No test reaches this file templates/ecommerce/apps/web/src/modules/legal/pages/TermsOfServicePage.tsx:1
- No test reaches this file apps/web/src/lib/redis.ts:1
- No test reaches this file old/scripts/validate-templates.ts:1
- No test reaches this file apps/web/src/app/admin-login/page.tsx:1
- No test reaches this file templates/ecommerce/apps/api/prisma/seed.ts:1
- No test reaches this file old/license-api/src/routes/webhooks.ts:1
- No test reaches this file templates/ecommerce/apps/api/src/presentation/modules/auth/auth.controller.ts:1
- No test reaches this file apps/web/src/components/DocsLayout.tsx:1
- No test reaches this file templates/ecommerce/apps/web/src/shared/components/Layout.tsx:1
- No test reaches this file apps/web/src/components/Navbar.tsx:1
- No test reaches this file templates/ecommerce/apps/web/src/App.tsx:1
- No test reaches this file apps/web/src/components/Features.tsx:1
- No test reaches this file apps/web/src/components/StackShowcase.tsx:1
- No test reaches this file apps/web/src/components/WhyKybernus.tsx:1
- No test reaches this file apps/web/src/app/privacy/page.tsx:1
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- TodoComment add-features/auth/java-spring/AuthService.java:10
- TodoComment add-features/auth/nestjs/auth.service.ts:6
- TodoComment add-features/auth/nextjs/routes/register.ts:7
- TodoComment add-features/auth/nextjs/routes/login.ts:7
- TodoComment add-features/auth/nodejs-express/auth.service.ts:5
- TodoComment add-features/auth/java-spring/AuthService.java:37
- TodoComment add-features/auth/java-spring/AuthService.java:46
- TodoComment add-features/auth/java-spring/AuthService.java:62
- TodoComment add-features/auth/java-spring/AuthService.java:77
- TodoComment add-features/auth/nestjs/auth.service.ts:25
- TodoComment add-features/auth/nodejs-express/auth.service.ts:22
- TodoComment add-features/auth/nestjs/auth.service.ts:33
- TodoComment add-features/auth/nodejs-express/auth.service.ts:30
- TodoComment add-features/auth/nestjs/auth.service.ts:51
- TodoComment add-features/auth/nestjs/auth.service.ts:71
- TodoComment add-features/auth/nodejs-express/auth.service.ts:46
- TodoComment add-features/auth/nodejs-express/auth.service.ts:64
- TodoComment add-features/auth/nextjs/routes/register.ts:19
- TodoComment add-features/auth/nextjs/routes/login.ts:19
- TodoComment add-features/auth/nextjs/routes/register.ts:27
- TodoComment add-features/auth/python-fastapi/service.py:6
- TodoComment add-features/auth/python-fastapi/service.py:21
- TodoComment add-features/auth/python-fastapi/service.py:28
- TodoComment add-features/auth/python-fastapi/service.py:46
- TodoComment add-features/auth/python-fastapi/service.py:56
- Swallowed exception (empty catch) add-features/websocket/java-spring.java:55
- Swallowed exception (empty catch) REDACTED:43
- Swallowed exception (empty catch) src/core/generator/project.ts:323
- Swallowed exception (empty catch) src/core/generator/project.ts:327
- Swallowed exception (empty catch) templates/ecommerce/apps/api/src/server.ts:33
- Swallowed exception (empty catch) templates/ecommerce/apps/api/src/application/cart/cart.service.ts:143
- Swallowed exception (empty catch) templates/ecommerce/apps/api/src/application/orders/order.service.ts:83
- Swallowed exception (empty catch) templates/ecommerce/apps/api/src/infrastructure/services/payment/stripe-webhook.handler.ts:72
- Swallowed exception (empty catch) templates/ecommerce/apps/api/src/modules/profile/profile.controller.ts:82
- Swallowed exception (empty catch) templates/ecommerce/apps/api/src/presentation/modules/profile/profile.controller.ts:82
- Swallowed exception (empty catch) templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:69
- Swallowed exception (empty catch) templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:94
- Swallowed exception (empty catch) templates/ecommerce/apps/web/src/modules/catalog/pages/ProductListPage.tsx:45
- Swallowed exception (empty catch) templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx:67
- Swallowed exception (empty catch) templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx:123
- Swallowed exception (empty catch) templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx:129
- Swallowed exception (empty catch) templates/ecommerce/apps/web/src/shared/components/CookieConsent.tsx:30
- Swallowed exception (empty catch) templates/ecommerce/apps/web/src/shared/components/CookieConsent.tsx:35
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- FunctionTooLong: CartPage.CartPage templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:37
- FunctionTooLong: ProductsAdminPage.ProductsAdminPage templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:182
- FunctionTooLong: ProfilePage.ProfilePage templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx:41
- FunctionTooLong: page.AdminDashboard apps/web/src/app/admin/page.tsx:47
- FunctionTooLong: Hero.Hero apps/web/src/components/Hero.tsx:20
- FunctionTooLong: PrivacyPolicyPage.PrivacyPolicyPage templates/ecommerce/apps/web/src/modules/legal/pages/PrivacyPolicyPage.tsx:7
- FunctionTooLong: page.LoginPage apps/web/src/app/admin-login/page.tsx:10
- FunctionTooLong: CouponsAdminPage.CouponsAdminPage templates/ecommerce/apps/web/src/modules/admin/pages/CouponsAdminPage.tsx:23
- FunctionTooLong: TermsOfServicePage.TermsOfServicePage templates/ecommerce/apps/web/src/modules/legal/pages/TermsOfServicePage.tsx:7
- FunctionTooLong: wizard.runWizard src/cli/prompts/wizard.ts:20
- FunctionTooLong: ProductDetailPage.ProductDetailPage templates/ecommerce/apps/web/src/modules/catalog/pages/ProductDetailPage.tsx:32
- FunctionTooLong: ArchitectureVisual.ArchitectureVisual apps/web/src/components/ArchitectureVisual.tsx:48
- FunctionTooLong: ArchitectureExplorer.ArchitectureExplorer apps/web/src/components/ArchitectureExplorer.tsx:149
- FunctionTooLong: OrdersAdminPage.OrdersAdminPage templates/ecommerce/apps/web/src/modules/admin/pages/OrdersAdminPage.tsx:30
- FunctionTooLong: Layout.Layout templates/ecommerce/apps/web/src/shared/components/Layout.tsx:15
- FunctionTooLong: seed.main templates/ecommerce/apps/api/prisma/seed.ts:11
- Sync-over-async blocking REDACTED:18
- Sync-over-async blocking REDACTED:59
- Sync-over-async blocking REDACTED:60
- Sync-over-async blocking REDACTED:61
- Sync-over-async blocking REDACTED:69
- Sync-over-async blocking REDACTED:87
- Sync-over-async blocking REDACTED:102
- Sync-over-async blocking REDACTED:103
- Sync-over-async blocking src/cli/utils/cli-helpers.ts:39
- Sync-over-async blocking templates/ecommerce/apps/api/src/infrastructure/services/storage/local-disk.storage.service.ts:21
- Sync-over-async blocking templates/ecommerce/apps/api/src/infrastructure/services/storage/local-disk.storage.service.ts:23
- Dead file (~1 LoC) templates/ecommerce/apps/api/src/modules/admin/admin.service.ts
- Dead file (~1 LoC) templates/ecommerce/apps/api/src/modules/admin/admin.user.service.ts
- Dead file (~1 LoC) templates/ecommerce/apps/api/src/modules/cart/coupon.service.ts
- Dead file (~1 LoC) templates/ecommerce/apps/api/src/shared/infra/email/NoopEmailService.ts
- Dead file (~1 LoC) templates/ecommerce/apps/api/src/shared/infra/email/SmtpEmailService.ts
- Dead file (~1 LoC) templates/ecommerce/apps/api/src/shared/infra/email/email.registry.ts
- Dead file (~1 LoC) templates/ecommerce/apps/api/src/shared/infra/storage/IStorageService.ts
- Dead file (~1 LoC) templates/ecommerce/apps/api/src/shared/infra/storage/InMemoryStorageService.ts
- Dead file (~1 LoC) templates/ecommerce/apps/api/src/shared/infra/storage/LocalDiskStorageService.ts
- Dead file (~1 LoC) templates/ecommerce/apps/api/src/shared/infra/storage/storage.registry.ts
- Async function without AbortSignal: login templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:31
- Async function without AbortSignal: register templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:46
- Async function without AbortSignal: logout templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:61
- Async function without AbortSignal: init templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:75
- Async function without AbortSignal: changePassword templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:107
- Async function without AbortSignal: deleteAccount templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:124
- Animation without a prefers-reduced-motion guard apps/web/src/app/admin-login/page.tsx:142
- Animation without a prefers-reduced-motion guard apps/web/src/app/admin/page.tsx:95
- Animation without a prefers-reduced-motion guard apps/web/src/components/GoogleSignInButton.tsx:49
- Animation without a prefers-reduced-motion guard templates/ecommerce/apps/web/src/modules/catalog/components/ProductCard.tsx:31
- Duplicated block (20 lines × 2 locations) apps/web/src/app/admin-login/page.tsx:89
- Duplicated block (20 lines × 2 locations) templates/ecommerce/apps/web/src/modules/auth/pages/LoginPage.tsx:18
- Duplicated block (20 lines × 2 locations) templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:209
- Duplicated block (20 lines × 2 locations) templates/nodejs-express/clean/src/config/index.ts:4
- Duplicated block (11 lines × 2 locations) add-features/auth/nextjs/routes/register.ts:22
- Duplicated block (11 lines × 2 locations) REDACTED:23
- Duplicated block (11 lines × 2 locations) templates/ecommerce/apps/api/src/domain/catalog/category.entity.ts:32
- Duplicated block (11 lines × 2 locations) templates/ecommerce/apps/web/src/modules/auth/useAuthStore.ts:105
- Modal dialog does not manage focus templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:61
- Modal dialog does not manage focus templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx:225
- Modal dialog does not manage focus templates/ecommerce/apps/web/src/shared/components/CookieConsent.tsx:42
- Dead file (~17 LoC) REDACTED
- Dead file (~17 LoC) templates/ecommerce/apps/api/src/presentation/modules/cart/cart.routes.ts
- Dead file (~17 LoC) templates/ecommerce/apps/api/src/presentation/modules/orders/order.routes.ts
- Page without a main landmark REDACTED:33
- Page without a main landmark templates/nextjs/mvc/src/app/layout.tsx.hbs:18
- REDACTED
- REDACTED
- Duplicated block (22 lines × 2 locations) REDACTED:8
- Duplicated block (22 lines × 2 locations) templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx:135
- Duplicated block with local edits (12 matched lines × 2 locations) src/cli/commands/deploy.ts:123
- Duplicated block with local edits (12 matched lines × 2 locations) templates/ecommerce/apps/api/src/infrastructure/persistence/in-memory/product.memory.repository.ts:7
- Duplicated block (10 lines × 2 locations) add-features/auth/nextjs/jwt.ts:3
- Duplicated block (10 lines × 2 locations) REDACTED:40
- Data table has no header cells templates/ecommerce/apps/web/src/modules/legal/pages/TermsOfServicePage.tsx:164
- Accessibility enforcement below the top rung
- wizard.runWizard (cyclomatic 39) src/cli/prompts/wizard.ts:20
- ProductDetailPage.ProductDetailPage (cyclomatic 26) templates/ecommerce/apps/web/src/modules/catalog/pages/ProductDetailPage.tsx:32
- ProductsAdminPage.ProductsAdminPage (cyclomatic 25) templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:182
- webhooks.router.post("/stripe") (cyclomatic 22) old/license-api/src/routes/webhooks.ts:13
- CartPage.CartPage (cyclomatic 21) templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:37
- ProfilePage.ProfilePage (cyclomatic 20) templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx:41
- page.AdminDashboard (cyclomatic 18) apps/web/src/app/admin/page.tsx:47
- CheckoutPage.PaymentStep (cyclomatic 16) templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx:169
- Deprecated: eslint REDACTED:45
- One package at two majors across the workspace: bcryptjs
- webhooks.router.post("/stripe") (cognitive 36) old/license-api/src/routes/webhooks.ts:13
- wizard.runWizard (cognitive 36) src/cli/prompts/wizard.ts:20
- validate-templates.validateTemplates (cognitive 32) old/scripts/validate-templates.ts:21
- doctor.doctorCommand (cognitive 24) REDACTED:10
- ProductDetailPage.ProductDetailPage (cognitive 23) templates/ecommerce/apps/web/src/modules/catalog/pages/ProductDetailPage.tsx:32
- ProductsAdminPage.ProductsAdminPage (cognitive 22) templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:182
- CartPage.CartPage (cognitive 21) templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:37
- CheckoutPage.PaymentStep (cognitive 19) templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx:169
- ProfilePage.ProfilePage (cognitive 19) templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx:41
- page.AdminDashboard (cognitive 18) apps/web/src/app/admin/page.tsx:47
- ProjectGenerator.generate (cognitive 17) src/core/generator/project.ts:30
- generate-previews.generatePreviews (cognitive 16) scripts/generate-previews.ts:10
- REDACTED
- REDACTED
- REDACTED
- Both branches are identical — the condition decides nothing apps/web/src/app/api/analytics/track/route.ts:47
- Hollow method — returns a constant without doing the work templates/ecommerce/apps/api/src/modules/checkout/tax.service.ts:6
- Test failure does not fail the CI gate REDACTED:66
- Runner config excludes tests no gate runs vitest.config.ts:9
- No DR/backup evidence
- Duplication concentrated across 5 sibling directories (19 clone groups) templates/ecommerce/apps/api/src/modules/catalog/catalog.controller.ts:1
- Duplication concentrated across 4 sibling directories (6 clone groups) templates/ecommerce/apps/api/src/domain/auth/user.entity.ts:60
- Duplication concentrated across 4 sibling directories (5 clone groups) templates/ecommerce/apps/web/src/modules/admin/pages/DashboardPage.tsx:12
- Wholesale file copy (112 identical lines × 2 files) templates/ecommerce/apps/api/src/modules/catalog/catalog.controller.ts:1
- Wholesale file copy (90 identical lines × 2 files) templates/ecommerce/apps/api/src/modules/auth/auth.controller.ts:1
- Duplicated block with local edits (81 matched lines × 2 locations) templates/ecommerce/apps/web/src/modules/legal/pages/PrivacyPolicyPage.tsx:5
- Wholesale file copy (75 identical lines × 2 files) templates/ecommerce/apps/api/src/modules/admin/admin.controller.ts:1
- Wholesale file copy (72 identical lines × 2 files) apps/web/src/services/analytics.service.ts:3
- Wholesale file copy (68 identical lines × 2 files) templates/ecommerce/apps/api/src/modules/orders/order.controller.ts:1
- Duplicated block with local edits (65 matched lines × 2 locations) templates/ecommerce/apps/web/src/modules/auth/LoginForm.tsx:15
- Wholesale file copy (57 identical lines × 2 files) templates/ecommerce/apps/api/src/modules/cart/cart.controller.ts:1
- Wholesale file copy (50 identical lines × 2 files) templates/ecommerce/apps/api/src/modules/profile/profile.controller.ts:1
- Duplicated block (44 lines × 2 locations) templates/ecommerce/apps/api/src/modules/checkout/checkout.controller.ts:7
- Duplicated block (40 lines × 2 locations) templates/ecommerce/apps/web/src/shared/theme/tokens.ts:1
- Duplicated block (37 lines × 2 locations) apps/web/src/app/privacy/page.tsx:5
- Duplicated block with local edits (35 matched lines × 2 locations) src/cli/commands/auth.ts:22
- Duplicated block with local edits (28 matched lines × 2 locations) templates/ecommerce/apps/web/src/modules/admin/pages/OrdersAdminPage.tsx:82
- Duplicated block with local edits (25 matched lines × 2 locations) add-features/auth/nestjs/auth.service.ts:26
- Duplicated block (24 lines × 2 locations) templates/ecommerce/apps/web/src/modules/auth/pages/ForgotPasswordPage.tsx:60
- Duplicated block with local edits (21 matched lines × 2 locations) add-features/auth/nextjs/routes/login.ts:9
- Duplicated block (18 lines × 2 locations) templates/nodejs-express/clean/src/infrastructure/http/middlewares/errorHandler.ts:4
- Duplicated block with local edits (17 matched lines × 2 locations) src/core/deploy/deploy-generator.ts:173
- Duplicated block (16 lines × 2 locations) src/cli/commands/add.ts:44
- Duplicated block (15 lines × 2 locations) apps/web/src/app/api/analytics/track/route.ts:5
- Duplicated block (13 lines × 2 locations) add-features/auth/nodejs-express/auth.controller.ts:8
- Duplicated block with local edits (10 matched lines × 2 locations) add-features/auth/nodejs-express/auth.middleware.ts:2
- Boundary violation [package:third-party-deep-import] apps/web/src/components/MarkdownRenderer.tsx:6
- Complex function (anonymous) (cyclomatic 22, cognitive 36) old/license-api/src/routes/webhooks.ts:13
- Complex function runWizard (cyclomatic 19, cognitive 17) src/cli/prompts/wizard.ts:20
- Complex function ProductDetailPage (cyclomatic 18, cognitive 17) templates/ecommerce/apps/web/src/modules/catalog/pages/ProductDetailPage.tsx:32
- Complex function generate (cyclomatic 14, cognitive 17) src/core/generator/project.ts:30
- Complex function validateTemplates (cyclomatic 13, cognitive 32) old/scripts/validate-templates.ts:21
- Complex function handleSubmit (cyclomatic 13, cognitive 16) templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx:177
- Complex function CartPage (cyclomatic 13, cognitive 12) templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:37
- Complex function ProfilePage (cyclomatic 13, cognitive 12) templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx:41
- Complex function generateFeature (cyclomatic 12, cognitive 12) src/core/features/feature-generator.ts:396
- Complex function search (cyclomatic 12, cognitive 11) templates/ecommerce/apps/api/src/infrastructure/persistence/prisma/catalog/product.prisma.repository.ts:61
- Complex function (anonymous) (cyclomatic 11, cognitive 18) REDACTED:10
- Complex function checkout (cyclomatic 11, cognitive 14) templates/ecommerce/apps/api/src/application/checkout/checkout.service.ts:22
- src/core/features/feature-generator.ts: 415 lines of code src/core/features/feature-generator.ts:1
- templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx: 403 lines of code templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:1
- Dead file (~176 LoC) templates/ecommerce/apps/api/src/presentation/modules/catalog/catalog.controller.ts
- Dead file (~159 LoC) templates/ecommerce/apps/api/prisma/seed.ts
- Dead file (~147 LoC) templates/ecommerce/apps/api/src/presentation/modules/auth/auth.controller.ts
- Dead file (~143 LoC) apps/web/src/components/DocsLayout.tsx
- Dead file (~116 LoC) templates/ecommerce/apps/api/src/modules/admin/admin.controller.ts
- Dead file (~112 LoC) apps/web/src/components/MarkdownRenderer.tsx
- Dead file (~96 LoC) templates/ecommerce/apps/api/src/presentation/modules/orders/order.controller.ts
- Dead file (~94 LoC) templates/ecommerce/apps/api/src/presentation/modules/cart/cart.controller.ts
- Dead file (~92 LoC) templates/ecommerce/apps/api/src/presentation/modules/profile/profile.controller.ts
- Dead file (~79 LoC) apps/web/src/components/GoogleSignInButton.tsx
- Dead file (~66 LoC) apps/web/src/lib/docs.ts
- Dead file (~59 LoC) templates/ecommerce/apps/api/src/presentation/modules/checkout/checkout.controller.ts
- Dead file (~55 LoC) apps/web/src/components/ArchitectureShowcase.tsx
- Dead file (~38 LoC) REDACTED
- Dead file (~21 LoC) templates/ecommerce/apps/api/src/presentation/modules/admin/admin.routes.ts
- Dead file (~18 LoC) REDACTED
- Dead file (~14 LoC) templates/ecommerce/apps/api/src/presentation/modules/profile/profile.routes.ts
- Dead file (~9 LoC) templates/ecommerce/apps/api/src/modules/checkout/tax.service.ts
- Dead file (~6 LoC) apps/web/lib/utils.ts
- Dead file (~2 LoC) templates/ecommerce/apps/api/src/modules/auth/token.blacklist.ts
- Unused dependency '@react-spring/web'
- Unused dependency 'zod'
- Unused dependency 'bcryptjs'
Minor — 185 finding(s)
- Orphaned file templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx:1
- Orphaned file apps/web/src/app/admin/page.tsx:1
- Orphaned file src/core/generator/project.ts:1
- Orphaned file apps/web/src/components/Hero.tsx:1
- Orphaned file apps/web/src/components/ArchitectureExplorer.tsx:1
- Orphaned file templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx:1
- Orphaned file apps/web/src/components/ArchitectureVisual.tsx:1
- Orphaned file templates/ecommerce/apps/web/src/modules/profile/pages/ProfilePage.tsx:1
- Orphaned file apps/web/src/app/admin-login/page.tsx:1
- Orphaned file src/core/deploy/deploy-generator.ts:1
- Orphaned file templates/ecommerce/apps/web/src/modules/legal/pages/PrivacyPolicyPage.tsx:1
- Orphaned file apps/web/src/components/Navbar.tsx:1
- Orphaned file apps/web/src/app/privacy/page.tsx:1
- Orphaned file src/cli/commands/ecommerce.ts:1
- Orphaned file templates/ecommerce/apps/api/src/application/auth/auth.service.ts:1
- Orphaned file templates/ecommerce/apps/web/src/modules/legal/pages/TermsOfServicePage.tsx:1
- Orphaned file templates/ecommerce/apps/api/src/application/catalog/catalog.service.ts:1
- Orphaned file apps/web/src/app/terms/page.tsx:1
- Orphaned file src/cli/prompts/wizard.ts:1
- Orphaned file apps/web/src/components/Footer.tsx:1
- Orphaned file apps/web/src/components/DocsLayout.tsx:1
- Orphaned file REDACTED:1
- Orphaned file old/license-api/src/routes/webhooks.ts:1
- Orphaned file templates/ecommerce/apps/api/src/application/cart/cart.service.ts:1
- Orphaned file templates/ecommerce/apps/web/src/modules/admin/pages/OrdersAdminPage.tsx:1
- Console output used as the logging channel add-features/auth/nextjs/routes/register.ts:47
- Console output used as the logging channel add-features/auth/nextjs/routes/login.ts:40
- Console output used as the logging channel add-features/redis/nodejs.ts:7
- Console output used as the logging channel add-features/redis/nodejs.ts:8
- Console output used as the logging channel REDACTED:29
- Console output used as the logging channel add-features/swagger/nestjs.ts:15
- Console output used as the logging channel add-features/websocket/nodejs-express.ts:10
- Console output used as the logging channel add-features/websocket/nodejs-express.ts:14
- Console output used as the logging channel add-features/websocket/nodejs-express.ts:21
- Console output used as the logging channel add-features/websocket/nodejs-express.ts:27
- Console output used as the logging channel add-features/websocket/nestjs.ts:21
- Console output used as the logging channel add-features/websocket/nestjs.ts:26
- Console output used as the logging channel add-features/websocket/nestjs.ts:31
- Console output used as the logging channel REDACTED:69
- Console output used as the logging channel src/core/features/feature-generator.ts:387
- Console output used as the logging channel src/core/generator/project.ts:272
- Console output used as the logging channel src/core/generator/project.ts:273
- Console output used as the logging channel src/core/generator/project.ts:284
- Console output used as the logging channel src/core/generator/project.ts:288
- Console output used as the logging channel src/core/generator/project.ts:289
- Console output used as the logging channel templates/nodejs-express/clean/src/infrastructure/http/middlewares/errorHandler.ts:10
- Console output used as the logging channel templates/nodejs-express/hexagonal/src/adapters/inbound/http/middlewares/errorHandler.ts:10
- Mock-dominated test: deve chamar stripeAdapter.createPaymentIntent com valor correto templates/ecommerce/apps/api/src/modules/checkout/__tests__/checkout.service.unit.test.ts:97
- Mock-dominated test: deve decrementar estoque dos produtos ao confirmar pedido templates/ecommerce/apps/api/src/modules/checkout/__tests__/checkout.service.unit.test.ts:114
- Mock-dominated test: deve limpar o carrinho após criação do pedido bem-sucedida templates/ecommerce/apps/api/src/modules/checkout/__tests__/checkout.service.unit.test.ts:127
- Mock-dominated test: deve incluir frete selecionado no total enviado ao Stripe templates/ecommerce/apps/api/src/modules/checkout/__tests__/checkout.service.unit.test.ts:157
- Mock-dominated test: redireciona para /login após reset bem-sucedido templates/ecommerce/apps/web/src/modules/auth/__tests__/ResetPasswordPage.test.tsx:56
- Mock-dominated test: should generate a project successfully tests/cli/commands/init.test.ts:42
- Mock-dominated test: should generate deploy config for chosen provider tests/cli/commands/deploy.test.ts:40
- Mock-dominated test: should ask about REDACTED for Railway tests/cli/commands/deploy.test.ts:60
- Mock-dominated test: should generate auth automatically if .kybernusrc.json is found tests/cli/commands/auth.test.ts:41
- Mock-dominated test: should prompt for stack and architecture if .kybernusrc.json is missing tests/cli/commands/auth.test.ts:62
- Mock-dominated test: should prompt for feature if not passed as an argument tests/cli/commands/add.test.ts:54
- Mock-dominated test: should work without .kybernusrc.json (standalone) tests/cli/commands/add.test.ts:69
- Duplicated predicate templates/ecommerce/apps/api/src/modules/checkout/checkout.controller.ts:46
- Duplicated predicate templates/ecommerce/apps/api/src/infrastructure/config/registry/auth.registry.ts:18
- Duplicated predicate templates/ecommerce/apps/api/src/modules/profile/profile.controller.ts:23
- Duplicated predicate templates/ecommerce/apps/api/src/infrastructure/services/email/email.registry.ts:16
- Duplicated predicate templates/nodejs-express/clean/src/infrastructure/http/middlewares/errorHandler.ts:19
- Duplicated predicate add-features/auth/nestjs/auth.module.ts:12
- Duplicated predicate REDACTED:27
- Duplicated predicate add-features/redis/nextjs.ts:14
- Duplicated predicate apps/web/src/app/api/analytics/track/route.ts:11
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- README/code drift README.md:5
- README/code drift docs/CLI_REFERENCE.md:68
- README/code drift docs/CLI_REFERENCE.md:69
- README/code drift docs/CLI_REFERENCE.md:70
- README/code drift docs/DEPLOYMENT_GUIDE.md:15
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Outdated (npm): @stripe/react-stripe-js templates/ecommerce/REDACTED:19
- Outdated (npm): @stripe/stripe-js templates/ecommerce/REDACTED:20
- Outdated (npm): stripe old/license-api/package.json:32
- Most significant orphaned file src/core/features/feature-generator.ts:1
- Most significant orphaned file templates/ecommerce/apps/web/src/modules/admin/pages/ProductsAdminPage.tsx:1
- No named authorization policies
- Partial data-subject-rights support
- Deprecated: node-domexception REDACTED:1858
- No ADRs found
- REDACTED
- Concentrated knowledge decay
- REDACTED
- No ADRs
- Logging is not universal
- No SAST
- Unused export 'isAdmin' apps/web/src/lib/auth.ts:35
- Unused export 'cartRegistry' templates/ecommerce/apps/api/src/infrastructure/config/registry/cart.registry.ts:49
- Unused module-local declaration 'cn' apps/web/src/components/Hero.tsx:211
- No app-layer HTTPS enforcement detected REDACTED:60
- Not all async functions that make a request accept an AbortSignal
- Null assertions (`!`) reduce the strict null checking score
Minor — 34 finding(s)
- Outdated (npm): @aws-sdk/client-s3
- Outdated (npm): @clack/prompts
- Outdated (npm): @google/genai
- Outdated (npm): @prisma/client
- Outdated (npm): @react-spring/web
- Outdated (npm): @tanstack/react-query
- Outdated (npm): @upstash/redis
- Outdated (npm): commander
- Outdated (npm): conf
- Outdated (npm): degit
- Outdated (npm): dotenv
- Outdated (npm): express
- Outdated (npm): express-rate-limit
- Outdated (npm): framer-motion
- Outdated (npm): fs-extra
- Outdated (npm): handlebars
- Outdated (npm): helmet
- Outdated (npm): ioredis
- Outdated (npm): jose
- Outdated (npm): lucide-react
- Outdated (npm): morgan
- Outdated (npm): multer
- Outdated (npm): next
- Outdated (npm): nodemailer
- Outdated (npm): posthog-js
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-ac830a8f21e447b189a5afaa572a288f/history.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-history.json |
| D28 · Secrets (history) | gitleaks | — | gitleaks detect --no-git --no-banner --config /opt/gitleaks-rules/watchdog-gitleaks.toml --report-format json --report-path /tmp/watchdog-gitleaks-ac830a8f21e447b189a5afaa572a288f/tree.json --exit-code 0 --source . | 0 | artifacts/raw/gitleaks-tree.json |
| D29 · Static Analysis (SAST) | semgrep | — | semgrep --config /opt/semgrep-rules/security-audit.yml --config /opt/semgrep-rules/owasp-top-ten.yml --config /opt/semgrep-rules/watchdog-sast.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 43 | 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 | 68 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 31 | 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 3 file(s) — `REDACTED`, `apps/web/src/app/privacy/page.tsx`, `apps/web/src/app/terms/page.tsx` — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |