Executive summary
solid-logic-studios/bucketwise-planner scores 46 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged. The project hasn't declared a stable release yet, so its lenses are rated against a lower bar than a released product's, while the score itself is worked out as for any repository.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 39 and is rated Weak. Its Security & performance tooling 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 Deprecated finding(s) in Dependency Hygiene and to resolve the 1 Test suite declares a test script but contains no test files finding(s) in Test Reliability, and if Production Readiness rose to 70, the score would rise from 46 to about 52.
48 findings are critical: 23 in Dependency Vulnerabilities, 22 in Static Analysis (SAST), two in IaC & Container Security and one in Test Reliability.
Watchdog couldn't measure 8 dimensions in this code, among them Navigability, Platform End-of-Life and Data Protection, so they are left out of the score. The product code is 18,857 lines, which would take an estimated 0.2 person-years, around €25,000, to rebuild.
If Production Readiness rose from 39 to 70, the lowest score rated Strong, the score would rise from 46 to about 52.
New since the last survey: 32 findings
- Dependency Hygiene · Deprecated: eslint package.json
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Dependency Vulnerabilities · REDACTED
- Supply-chain Provenance & Signing · REDACTED
- Import Boundaries · Boundary violation [layered:upward-import] backend/src/application/use-cases/login.use-case.ts
- Import Boundaries · Boundary violation [layered:upward-import] backend/src/application/use-cases/login.use-case.ts
- Import Boundaries · Boundary violation [layered:upward-import] backend/src/application/use-cases/refresh-token.use-case.ts
- Import Boundaries · Boundary violation [layered:upward-import] backend/src/application/use-cases/signup.use-case.ts
- Import Boundaries · Boundary violation [layered:upward-import] backend/src/application/use-cases/signup.use-case.ts
- Import Boundaries · Boundary violation [layered:upward-import] backend/src/domain/services/barefoot-advisor.service.ts
- Large Files · frontend/src/views/DebtsView.tsx: 972 lines of code frontend/src/views/DebtsView.tsx
- Large Files · frontend/src/components/transactions/import/CsvImportWizardModal.tsx: 607 lines of code frontend/src/components/transactions/import/CsvImportWizardModal.tsx
- Large Files · frontend/src/views/TransactionsView.tsx: 601 lines of code frontend/src/views/TransactionsView.tsx
- Large Files · frontend/src/views/ProfileView.tsx: 492 lines of code frontend/src/views/ProfileView.tsx
- Exception handling · Swallowed exception (empty catch) frontend/src/api/errors.ts
- Exception handling · Swallowed exception (empty catch) frontend/src/components/ProfileMenu.tsx
- Exception handling · Swallowed exception (empty catch) REDACTED
- Exception handling · Swallowed exception (empty catch) REDACTED
- Exception handling · Swallowed exception (empty catch) REDACTED
- Exception handling · Swallowed exception (empty catch) REDACTED
- Exception handling · Swallowed exception (empty catch) frontend/src/views/TransactionsView.tsx
- Exception handling · Swallowed exception (empty catch) frontend/src/views/ProfileView.tsx
- Exception handling · Swallowed exception (empty catch) frontend/src/views/ProfileView.tsx
- Exception handling · Swallowed exception (empty catch) frontend/src/views/DebtsView.tsx
- Exception handling · Swallowed exception (empty catch) frontend/src/views/DebtsView.tsx
- Exception handling · Swallowed exception (empty catch) frontend/src/views/DashboardView.tsx
- Exception handling · Swallowed exception (empty catch) frontend/src/views/ChartsView.tsx
- Constructible invalid state · Constructible in an invalid state: FortnightSnapshot backend/src/domain/model/fortnight-snapshot.entity.ts
- Visual & motion safety · Animation without a prefers-reduced-motion guard frontend/src/components/charts/DebtSnowballGanttChart.module.css
Fixed since the last survey: 155 findings
- Secret Scanning · Leaked secret: hardcoded-credential backend/src/infrastructure/database/pg.ts
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · High CVE: [GHSA redacted] REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Dependency Vulnerabilities · Medium CVE: REDACTED REDACTED
- Supply-chain Provenance & Signing REDACTED
- Code Duplication · Duplicated block (11 lines × 2 locations) backend/src/application/use-cases/get-dashboard.use-case.ts
- Code Duplication · Duplicated block (11 lines × 2 locations) frontend/src/components/FortnightSelector.tsx
- Code Duplication · Duplicated block (11 lines × 2 locations) frontend/src/views/DashboardView.tsx
- Code Duplication · Duplicated block with local edits (10 matched lines × 2 locations) backend/src/presentation/http/controllers/transaction.controller.ts
- Code Duplication · Duplicated block (10 lines × 2 locations) backend/src/presentation/http/routes/fortnight.routes.ts
- Code Duplication · Duplicated block with local edits (10 matched lines × 2 locations) frontend/src/components/charts/FireExtinguisherWhatIfChart.tsx
- Code Duplication · Duplicated block (10 lines × 2 locations) frontend/src/components/transactions/SummaryCards.tsx
- Code Duplication · Duplicated block (10 lines × 4 locations) frontend/src/views/DashboardView.tsx
- Code Duplication · Duplicated block (9 lines × 2 locations) backend/src/infrastructure/persistence/postgres/postgres-user.repository.ts
- Code Duplication · Duplicated block (9 lines × 2 locations) backend/src/presentation/http/controllers/profile.controller.ts
- Code Duplication · Duplicated block (9 lines × 2 locations) frontend/src/components/BucketBadge.tsx
- Code Duplication · Duplicated block (9 lines × 2 locations) frontend/src/components/transactions/TransactionsTable.tsx
- Code Duplication · Duplicated block (9 lines × 2 locations) frontend/src/components/transactions/import/CsvImportWizardModal.tsx
- Code Duplication · Duplicated block (8 lines × 2 locations) backend/src/presentation/http/controllers/fortnight.controller.ts
- Code Duplication · Duplicated block (7 lines × 2 locations) backend/src/application/use-cases/get-dashboard.use-case.ts
- Code Duplication · Duplicated block (7 lines × 3 locations) backend/src/infrastructure/persistence/postgres/postgres-fortnight-snapshot.repository.ts
- Code Duplication · Duplicated block (7 lines × 3 locations) backend/src/presentation/http/controllers/fortnight.controller.ts
- Code Duplication · Duplicated block (7 lines × 2 locations) backend/src/presentation/http/routes/debt.routes.ts
- Code Duplication · Duplicated block (7 lines × 3 locations) frontend/src/views/DashboardView.tsx
- Code Duplication · Duplicated block (6 lines × 2 locations) backend/src/infrastructure/persistence/postgres/postgres-transaction.repository.ts
- Code Duplication · Duplicated block (6 lines × 2 locations) backend/src/presentation/http/controllers/auth.controller.ts
- Code Duplication · Duplicated block (6 lines × 3 locations) backend/src/presentation/http/controllers/debt.controller.ts
- Code Duplication · Duplicated block (6 lines × 2 locations) frontend/src/utils/transactions.ts
- Code Duplication · Duplicated block (5 lines × 2 locations) backend/src/presentation/http/controllers/debt.controller.ts
- Code Duplication · Duplicated block (5 lines × 3 locations) frontend/src/components/transactions/DeleteConfirmationModal.tsx
- Code Duplication · Duplicated block (5 lines × 2 locations) frontend/src/views/OwnHomeView.tsx
- Test Coverage · No test reaches this file frontend/src/components/charts/DebtPayoffMilestones.tsx
- Test Coverage · No test reaches this file backend/src/application/use-cases/commit-transaction-csv-import.use-case.ts
- Test Coverage · No test reaches this file backend/src/infrastructure/persistence/postgres/postgres-budget-profile.repository.ts
- Test Coverage · No test reaches this file frontend/src/components/charts/TagShareDonut.tsx
- Test Coverage · No test reaches this file frontend/src/components/transactions/SummaryCards.tsx
- Test Coverage · No test reaches this file backend/src/infrastructure/database/migrations.ts
- Test Coverage · No test reaches this file backend/src/application/errors/error-mapper.ts
- Test Coverage · No test reaches this file backend/src/presentation/http/controllers/base.controller.ts
- Test Coverage · No test reaches this file backend/src/infrastructure/persistence/postgres/postgres-skipped-debt-payment.repository.ts
- Test Coverage · No test reaches this file backend/src/infrastructure/persistence/postgres/postgres-debt-balance-adjustment.repository.ts
- Test Coverage · No test reaches this file frontend/src/hooks/transactions/useDebtPayments.ts
- Test Coverage · No test reaches this file frontend/src/components/charts/TopTagsSpendingChart.tsx
- Test Coverage · No test reaches this file backend/src/application/dtos/schemas/record-transaction.schema.ts
- Test Coverage · No test reaches this file backend/src/presentation/http/utils/response-formatter.ts
- Test Coverage · No test reaches this file backend/src/infrastructure/persistence/postgres/postgres-user.repository.ts
- Test Coverage · No test reaches this file frontend/src/utils/formatters.ts
- Test Coverage · No test reaches this file frontend/src/theme.ts
- Test Coverage · No test reaches this file backend/src/application/use-cases/create-fortnight.use-case.ts
- Test Coverage · No test reaches this file backend/src/application/use-cases/preview-transaction-csv-import.use-case.ts
- Test Coverage · No test reaches this file backend/src/presentation/http/middlewares/common.middleware.ts
- Test Coverage · No test reaches this file backend/src/presentation/http/controllers/chat.controller.ts
- Test Coverage · No test reaches this file backend/src/application/dtos/schemas/create-fortnight.schema.ts
- Test Coverage · No test reaches this file frontend/src/components/charts/DebtPayoffTimelineChart.tsx
- Test Coverage · No test reaches this file backend/src/presentation/http/routes/debt.routes.ts
- Test Coverage · No test reaches this file REDACTED
- Test Coverage · No test reaches this file backend/src/domain/services/savings-projector.ts
- Test Coverage · No test reaches this file backend/src/application/use-cases/update-transaction.use-case.ts
- Test Coverage · No test reaches this file frontend/src/components/charts/MortgageOverpaymentChart.tsx
- Test Coverage · No test reaches this file backend/src/presentation/http/controllers/transaction-import.controller.ts
- Test Coverage · No test reaches this file frontend/src/components/ProfileMenu.tsx
- Test Coverage · No test reaches this file frontend/src/components/charts/IncomeExpensesTrendChart.tsx
- Test Coverage · No test reaches this file frontend/src/views/SignupView.tsx
- Test Coverage · No test reaches this file backend/src/application/dtos/schemas/update-transaction.schema.ts
- Test Coverage · No test reaches this file frontend/src/hooks/transactions/useTransactionsData.ts
- Test Coverage · No test reaches this file frontend/src/components/transactions/HistoricalComplianceCard.tsx
- Test Coverage · No test reaches this file frontend/src/contexts/PageContextProvider.tsx
- Test Coverage · No test reaches this file backend/src/domain/model/skipped-debt-payment.entity.ts
- Test Coverage · No test reaches this file frontend/src/views/LoginView.tsx
- Test Coverage · No test reaches this file backend/scripts/migrate-to-multi-user.ts
- Test Coverage · No test reaches this file backend/src/application/dtos/schemas/chat.schema.ts
- Test Coverage · No test reaches this file frontend/src/api/errors.ts
- Test Coverage · No test reaches this file backend/scripts/backfill-fortnight-timezone-bounds.ts
- Test Coverage · No test reaches this file backend/src/application/dtos/schemas/debt.schema.ts
- Test Coverage · No test reaches this file backend/src/presentation/http/routes/fortnight.routes.ts
- Test Coverage · No test reaches this file frontend/src/components/transactions/import/csvImportUtils.ts
- Test Coverage · No test reaches this file frontend/src/components/transactions/SkipPaymentModal.tsx
- Test Coverage · No test reaches this file backend/src/presentation/http/middlewares/error.middleware.ts
- Test Coverage · No test reaches this file backend/src/presentation/http/routes/chat.routes.ts
- Test Coverage · No test reaches this file backend/src/infrastructure/persistence/memory/memory-user.repository.ts
- Test Coverage · No test reaches this file backend/src/presentation/http/middleware/auth.middleware.ts
- Test Coverage · No test reaches this file backend/src/application/use-cases/skip-debt-payment.use-case.ts
- Test Coverage · No test reaches this file backend/src/presentation/http/controllers/auth.controller.ts
- Test Coverage · No test reaches this file frontend/src/components/transactions/DeleteConfirmationModal.tsx
- Test Coverage · No test reaches this file frontend/src/components/TokenUsageIndicator.tsx
- Test Coverage · No test reaches this file backend/src/infrastructure/persistence/memory/memory-transaction.repository.ts
- Test Coverage · No test reaches this file backend/src/application/use-cases/list-skipped-debt-payments.use-case.ts
- Test Coverage · No test reaches this file backend/src/application/use-cases/signup.use-case.ts
- Test Coverage · No test reaches this file backend/src/presentation/http/routes/transaction.routes.ts
- Test Coverage · No test reaches this file backend/src/application/import/csv/csv-importer-registry.ts
- Test Coverage · No test reaches this file backend/src/application/use-cases/export-data.use-case.ts
- Test Coverage · No test reaches this file backend/src/application/use-cases/login.use-case.ts
- Test Coverage · No test reaches this file backend/src/application/use-cases/list-debts.use-case.ts
- Test Coverage · No test reaches this file backend/src/presentation/http/routes/profile.routes.ts
- Test Coverage · No test reaches this file frontend/src/components/transactions/QuickActions.tsx
- Test Coverage · No test reaches this file frontend/src/contexts/ThemeProvider.tsx
- Test Coverage · No test reaches this file frontend/src/hooks/transactions/types.ts
- Test Coverage · No test reaches this file backend/src/application/import/csv/csv-mapping-factory.ts
Rebuild cost: about €25,000 · Estimate
| Cost to rebuild | €8,300 to €42,000, for 138 to 438 hours of work, about 0.2 person-years for one engineer |
|---|---|
| Difficulty of the problem | High, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 46. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Small: 18,857 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 backend.src.application.dtos.fortnight-detail_dto | 2 backend.src.application.import.csv.csv-types | 3 backend.src.application.use-cases.base_use-case | 4 backend.src.domain.model.base_entity | 5 backend.src.domain.model.money | 6 backend.src.domain.repositories.transaction_repository_interface | 7 backend.src.domain.repositories.user_repository_interface | 8 backend.src.infrastructure.auth.JwtProvider | 9 backend.src.presentation.http.controllers.base_controller | 10 frontend.src.components | 11 frontend.src.components.charts | 12 frontend.src.components.transactions | 13 backend.src.application.dtos.chat_dto | 14 backend.src.application.import.csv.bank-csv-importer_interface | 15 backend.src.application.use-cases.login_use-case | 16 backend.src.application.use-cases.signup_use-case | 17 backend.src.domain.model.budget-profile_entity | 18 backend.src.domain.model.debt-balance-adjustment_entity | 19 backend.src.domain.model.debt_entity | 20 backend.src.domain.model.fortnight-snapshot_entity | 21 backend.src.domain.model.transaction_entity | 22 backend.src.domain.repositories.budget-profile_repository_interface | 23 backend.src.domain.repositories.debt-balance-adjustment_repository_interface | 24 backend.src.domain.repositories.debt_repository_interface | 25 backend.src.domain.repositories.fortnight-snapshot_repository_interface | 26 backend.src.domain.services.debt-payoff-calculator | 27 backend.src.presentation.http.controllers.auth_controller | 28 backend.src.application.use-cases.get-dashboard_use-case | 29 backend.src.application.use-cases.get-debt-payoff-plan_use-case | 30 backend.src.application.use-cases.get-fortnight_use-case | 31 backend.src.application.use-cases.get-profile_use-case | 32 backend.src.application.use-cases.list-debts_use-case | 33 backend.src.application.use-cases.list-fortnights_use-case | 34 backend.src.application.use-cases.list-transactions_use-case | 35 backend.src.application.use-cases.preview-transaction-csv-import_use-case | 36 backend.src.application.use-cases.record-transaction_use-case | 37 backend.src.application.use-cases.send-chat-message_use-case | 38 backend.src.presentation.http.controllers.debt_controller | 39 backend.src.presentation.http.controllers.fortnight_controller | 40 backend.src.presentation.http.routes |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 backend.src.application.dtos.fortnight-detail_dto | ||||||||||||||||||||||||||||||||||||||||
| 2 backend.src.application.import.csv.csv-types | ||||||||||||||||||||||||||||||||||||||||
| 3 backend.src.application.use-cases.base_use-case | ||||||||||||||||||||||||||||||||||||||||
| 4 backend.src.domain.model.base_entity | ||||||||||||||||||||||||||||||||||||||||
| 5 backend.src.domain.model.money | ||||||||||||||||||||||||||||||||||||||||
| 6 backend.src.domain.repositories.transaction_repository_interface | ||||||||||||||||||||||||||||||||||||||||
| 7 backend.src.domain.repositories.user_repository_interface | ||||||||||||||||||||||||||||||||||||||||
| 8 backend.src.infrastructure.auth.JwtProvider | ||||||||||||||||||||||||||||||||||||||||
| 9 backend.src.presentation.http.controllers.base_controller | ||||||||||||||||||||||||||||||||||||||||
| 10 frontend.src.components | ||||||||||||||||||||||||||||||||||||||||
| 11 frontend.src.components.charts | ||||||||||||||||||||||||||||||||||||||||
| 12 frontend.src.components.transactions | ||||||||||||||||||||||||||||||||||||||||
| 13 backend.src.application.dtos.chat_dto | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 backend.src.application.import.csv.bank-csv-importer_interface | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 backend.src.application.use-cases.login_use-case | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 16 backend.src.application.use-cases.signup_use-case | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 17 backend.src.domain.model.budget-profile_entity | 1 | 2 | ||||||||||||||||||||||||||||||||||||||
| 18 backend.src.domain.model.debt-balance-adjustment_entity | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 backend.src.domain.model.debt_entity | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 20 backend.src.domain.model.fortnight-snapshot_entity | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 21 backend.src.domain.model.transaction_entity | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 22 backend.src.domain.repositories.budget-profile_repository_interface | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 backend.src.domain.repositories.debt-balance-adjustment_repository_interface | 1 | |||||||||||||||||||||||||||||||||||||||
| 24 backend.src.domain.repositories.debt_repository_interface | 1 | |||||||||||||||||||||||||||||||||||||||
| 25 backend.src.domain.repositories.fortnight-snapshot_repository_interface | 1 | |||||||||||||||||||||||||||||||||||||||
| 26 backend.src.domain.services.debt-payoff-calculator | 5 | 1 | ||||||||||||||||||||||||||||||||||||||
| 27 backend.src.presentation.http.controllers.auth_controller | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 28 backend.src.application.use-cases.get-dashboard_use-case | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 29 backend.src.application.use-cases.get-debt-payoff-plan_use-case | 1 | 1 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 30 backend.src.application.use-cases.get-fortnight_use-case | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 31 backend.src.application.use-cases.get-profile_use-case | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 32 backend.src.application.use-cases.list-debts_use-case | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 33 backend.src.application.use-cases.list-fortnights_use-case | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 34 backend.src.application.use-cases.list-transactions_use-case | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 35 backend.src.application.use-cases.preview-transaction-csv-import_use-case | 2 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 36 backend.src.application.use-cases.record-transaction_use-case | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 37 backend.src.application.use-cases.send-chat-message_use-case | 1 | 2 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 38 backend.src.presentation.http.controllers.debt_controller | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 39 backend.src.presentation.http.controllers.fortnight_controller | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 40 backend.src.presentation.http.routes | 1 | 1 | 1 |
13→1 backend.src.application.dtos.chat_dto uses backend.src.application.dtos.fortnight-detail_dto✕
- Connections
- 1 pair of types, where a type in backend.src.application.dtos.chat_dto uses a type in backend.src.application.dtos.fortnight-detail_dto.
- The types involved
backend.src.application.dtos.chat_dto.PageContext→backend.src.application.dtos.fortnight-detail_dto.FortnightDetailDTO
- Direction
- backend.src.application.dtos.chat_dto uses backend.src.application.dtos.fortnight-detail_dto, so a change to backend.src.application.dtos.fortnight-detail_dto can break backend.src.application.dtos.chat_dto, while a change to backend.src.application.dtos.chat_dto can't break backend.src.application.dtos.fortnight-detail_dto.
- Position
- Below the diagonal: backend.src.application.dtos.chat_dto uses a module listed above it, which is the healthy direction.
14→2 backend.src.application.import.csv.bank-csv-importer_interface uses backend.src.application.import.csv.csv-types✕
- Connections
- 1 pair of types, where a type in backend.src.application.import.csv.bank-csv-importer_interface uses a type in backend.src.application.import.csv.csv-types.
- The types involved
backend.src.application.import.csv.bank-csv-importer_interface.CsvImporterOptions→backend.src.application.import.csv.csv-types.CsvMappingConfig
- Direction
- backend.src.application.import.csv.bank-csv-importer_interface uses backend.src.application.import.csv.csv-types, so a change to backend.src.application.import.csv.csv-types can break backend.src.application.import.csv.bank-csv-importer_interface, while a change to backend.src.application.import.csv.bank-csv-importer_interface can't break backend.src.application.import.csv.csv-types.
- Position
- Below the diagonal: backend.src.application.import.csv.bank-csv-importer_interface uses a module listed above it, which is the healthy direction.
15→3 backend.src.application.use-cases.login_use-case uses backend.src.application.use-cases.base_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.login_use-case uses a type in backend.src.application.use-cases.base_use-case.
- The types involved
backend.src.application.use-cases.login_use-case.LoginUseCase→backend.src.application.use-cases.base_use-case.UseCase
- Direction
- backend.src.application.use-cases.login_use-case uses backend.src.application.use-cases.base_use-case, so a change to backend.src.application.use-cases.base_use-case can break backend.src.application.use-cases.login_use-case, while a change to backend.src.application.use-cases.login_use-case can't break backend.src.application.use-cases.base_use-case.
- Position
- Below the diagonal: backend.src.application.use-cases.login_use-case uses a module listed above it, which is the healthy direction.
15→7 backend.src.application.use-cases.login_use-case uses backend.src.domain.repositories.user_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.login_use-case uses a type in backend.src.domain.repositories.user_repository_interface.
- The types involved
backend.src.application.use-cases.login_use-case.LoginUseCase→backend.src.domain.repositories.user_repository_interface.UserRepository
- Direction
- backend.src.application.use-cases.login_use-case uses backend.src.domain.repositories.user_repository_interface, so a change to backend.src.domain.repositories.user_repository_interface can break backend.src.application.use-cases.login_use-case, while a change to backend.src.application.use-cases.login_use-case can't break backend.src.domain.repositories.user_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.login_use-case uses a module listed above it, which is the healthy direction.
15→8 backend.src.application.use-cases.login_use-case uses backend.src.infrastructure.auth.JwtProvider✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.login_use-case uses a type in backend.src.infrastructure.auth.JwtProvider.
- The types involved
backend.src.application.use-cases.login_use-case.LoginUseCase→backend.src.infrastructure.auth.JwtProvider.JwtProvider
- Direction
- backend.src.application.use-cases.login_use-case uses backend.src.infrastructure.auth.JwtProvider, so a change to backend.src.infrastructure.auth.JwtProvider can break backend.src.application.use-cases.login_use-case, while a change to backend.src.application.use-cases.login_use-case can't break backend.src.infrastructure.auth.JwtProvider.
- Position
- Below the diagonal: backend.src.application.use-cases.login_use-case uses a module listed above it, which is the healthy direction.
16→3 backend.src.application.use-cases.signup_use-case uses backend.src.application.use-cases.base_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.signup_use-case uses a type in backend.src.application.use-cases.base_use-case.
- The types involved
backend.src.application.use-cases.signup_use-case.SignupUseCase→backend.src.application.use-cases.base_use-case.UseCase
- Direction
- backend.src.application.use-cases.signup_use-case uses backend.src.application.use-cases.base_use-case, so a change to backend.src.application.use-cases.base_use-case can break backend.src.application.use-cases.signup_use-case, while a change to backend.src.application.use-cases.signup_use-case can't break backend.src.application.use-cases.base_use-case.
- Position
- Below the diagonal: backend.src.application.use-cases.signup_use-case uses a module listed above it, which is the healthy direction.
16→7 backend.src.application.use-cases.signup_use-case uses backend.src.domain.repositories.user_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.signup_use-case uses a type in backend.src.domain.repositories.user_repository_interface.
- The types involved
backend.src.application.use-cases.signup_use-case.SignupUseCase→backend.src.domain.repositories.user_repository_interface.UserRepository
- Direction
- backend.src.application.use-cases.signup_use-case uses backend.src.domain.repositories.user_repository_interface, so a change to backend.src.domain.repositories.user_repository_interface can break backend.src.application.use-cases.signup_use-case, while a change to backend.src.application.use-cases.signup_use-case can't break backend.src.domain.repositories.user_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.signup_use-case uses a module listed above it, which is the healthy direction.
16→8 backend.src.application.use-cases.signup_use-case uses backend.src.infrastructure.auth.JwtProvider✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.signup_use-case uses a type in backend.src.infrastructure.auth.JwtProvider.
- The types involved
backend.src.application.use-cases.signup_use-case.SignupUseCase→backend.src.infrastructure.auth.JwtProvider.JwtProvider
- Direction
- backend.src.application.use-cases.signup_use-case uses backend.src.infrastructure.auth.JwtProvider, so a change to backend.src.infrastructure.auth.JwtProvider can break backend.src.application.use-cases.signup_use-case, while a change to backend.src.application.use-cases.signup_use-case can't break backend.src.infrastructure.auth.JwtProvider.
- Position
- Below the diagonal: backend.src.application.use-cases.signup_use-case uses a module listed above it, which is the healthy direction.
17→4 backend.src.domain.model.budget-profile_entity uses backend.src.domain.model.base_entity✕
- Connections
- 1 pair of types, where a type in backend.src.domain.model.budget-profile_entity uses a type in backend.src.domain.model.base_entity.
- The types involved
backend.src.domain.model.budget-profile_entity.BudgetProfile→backend.src.domain.model.base_entity.BaseEntity
- Direction
- backend.src.domain.model.budget-profile_entity uses backend.src.domain.model.base_entity, so a change to backend.src.domain.model.base_entity can break backend.src.domain.model.budget-profile_entity, while a change to backend.src.domain.model.budget-profile_entity can't break backend.src.domain.model.base_entity.
- Position
- Below the diagonal: backend.src.domain.model.budget-profile_entity uses a module listed above it, which is the healthy direction.
17→5 backend.src.domain.model.budget-profile_entity uses backend.src.domain.model.money✕
- Connections
- 2 pairs of types, where a type in backend.src.domain.model.budget-profile_entity uses a type in backend.src.domain.model.money.
- The types involved
backend.src.domain.model.budget-profile_entity.BudgetProfile→backend.src.domain.model.money.Moneybackend.src.domain.model.budget-profile_entity.FixedExpense→backend.src.domain.model.money.Money
- Direction
- backend.src.domain.model.budget-profile_entity uses backend.src.domain.model.money, so a change to backend.src.domain.model.money can break backend.src.domain.model.budget-profile_entity, while a change to backend.src.domain.model.budget-profile_entity can't break backend.src.domain.model.money.
- Position
- Below the diagonal: backend.src.domain.model.budget-profile_entity uses a module listed above it, which is the healthy direction.
18→4 backend.src.domain.model.debt-balance-adjustment_entity uses backend.src.domain.model.base_entity✕
- Connections
- 1 pair of types, where a type in backend.src.domain.model.debt-balance-adjustment_entity uses a type in backend.src.domain.model.base_entity.
- The types involved
backend.src.domain.model.debt-balance-adjustment_entity.DebtBalanceAdjustment→backend.src.domain.model.base_entity.BaseEntity
- Direction
- backend.src.domain.model.debt-balance-adjustment_entity uses backend.src.domain.model.base_entity, so a change to backend.src.domain.model.base_entity can break backend.src.domain.model.debt-balance-adjustment_entity, while a change to backend.src.domain.model.debt-balance-adjustment_entity can't break backend.src.domain.model.base_entity.
- Position
- Below the diagonal: backend.src.domain.model.debt-balance-adjustment_entity uses a module listed above it, which is the healthy direction.
19→4 backend.src.domain.model.debt_entity uses backend.src.domain.model.base_entity✕
- Connections
- 1 pair of types, where a type in backend.src.domain.model.debt_entity uses a type in backend.src.domain.model.base_entity.
- The types involved
backend.src.domain.model.debt_entity.Debt→backend.src.domain.model.base_entity.BaseEntity
- Direction
- backend.src.domain.model.debt_entity uses backend.src.domain.model.base_entity, so a change to backend.src.domain.model.base_entity can break backend.src.domain.model.debt_entity, while a change to backend.src.domain.model.debt_entity can't break backend.src.domain.model.base_entity.
- Position
- Below the diagonal: backend.src.domain.model.debt_entity uses a module listed above it, which is the healthy direction.
19→5 backend.src.domain.model.debt_entity uses backend.src.domain.model.money✕
- Connections
- 1 pair of types, where a type in backend.src.domain.model.debt_entity uses a type in backend.src.domain.model.money.
- The types involved
backend.src.domain.model.debt_entity.Debt→backend.src.domain.model.money.Money
- Direction
- backend.src.domain.model.debt_entity uses backend.src.domain.model.money, so a change to backend.src.domain.model.money can break backend.src.domain.model.debt_entity, while a change to backend.src.domain.model.debt_entity can't break backend.src.domain.model.money.
- Position
- Below the diagonal: backend.src.domain.model.debt_entity uses a module listed above it, which is the healthy direction.
20→4 backend.src.domain.model.fortnight-snapshot_entity uses backend.src.domain.model.base_entity✕
- Connections
- 1 pair of types, where a type in backend.src.domain.model.fortnight-snapshot_entity uses a type in backend.src.domain.model.base_entity.
- The types involved
backend.src.domain.model.fortnight-snapshot_entity.FortnightSnapshot→backend.src.domain.model.base_entity.BaseEntity
- Direction
- backend.src.domain.model.fortnight-snapshot_entity uses backend.src.domain.model.base_entity, so a change to backend.src.domain.model.base_entity can break backend.src.domain.model.fortnight-snapshot_entity, while a change to backend.src.domain.model.fortnight-snapshot_entity can't break backend.src.domain.model.base_entity.
- Position
- Below the diagonal: backend.src.domain.model.fortnight-snapshot_entity uses a module listed above it, which is the healthy direction.
20→5 backend.src.domain.model.fortnight-snapshot_entity uses backend.src.domain.model.money✕
- Connections
- 1 pair of types, where a type in backend.src.domain.model.fortnight-snapshot_entity uses a type in backend.src.domain.model.money.
- The types involved
backend.src.domain.model.fortnight-snapshot_entity.FortnightSnapshot→backend.src.domain.model.money.Money
- Direction
- backend.src.domain.model.fortnight-snapshot_entity uses backend.src.domain.model.money, so a change to backend.src.domain.model.money can break backend.src.domain.model.fortnight-snapshot_entity, while a change to backend.src.domain.model.fortnight-snapshot_entity can't break backend.src.domain.model.money.
- Position
- Below the diagonal: backend.src.domain.model.fortnight-snapshot_entity uses a module listed above it, which is the healthy direction.
21→4 backend.src.domain.model.transaction_entity uses backend.src.domain.model.base_entity✕
- Connections
- 1 pair of types, where a type in backend.src.domain.model.transaction_entity uses a type in backend.src.domain.model.base_entity.
- The types involved
backend.src.domain.model.transaction_entity.Transaction→backend.src.domain.model.base_entity.BaseEntity
- Direction
- backend.src.domain.model.transaction_entity uses backend.src.domain.model.base_entity, so a change to backend.src.domain.model.base_entity can break backend.src.domain.model.transaction_entity, while a change to backend.src.domain.model.transaction_entity can't break backend.src.domain.model.base_entity.
- Position
- Below the diagonal: backend.src.domain.model.transaction_entity uses a module listed above it, which is the healthy direction.
21→5 backend.src.domain.model.transaction_entity uses backend.src.domain.model.money✕
- Connections
- 1 pair of types, where a type in backend.src.domain.model.transaction_entity uses a type in backend.src.domain.model.money.
- The types involved
backend.src.domain.model.transaction_entity.Transaction→backend.src.domain.model.money.Money
- Direction
- backend.src.domain.model.transaction_entity uses backend.src.domain.model.money, so a change to backend.src.domain.model.money can break backend.src.domain.model.transaction_entity, while a change to backend.src.domain.model.transaction_entity can't break backend.src.domain.model.money.
- Position
- Below the diagonal: backend.src.domain.model.transaction_entity uses a module listed above it, which is the healthy direction.
22→17 backend.src.domain.repositories.budget-profile_repository_interface uses backend.src.domain.model.budget-profile_entity✕
- Connections
- 1 pair of types, where a type in backend.src.domain.repositories.budget-profile_repository_interface uses a type in backend.src.domain.model.budget-profile_entity.
- The types involved
backend.src.domain.repositories.budget-profile_repository_interface.BudgetProfileRepository→backend.src.domain.model.budget-profile_entity.BudgetProfile
- Direction
- backend.src.domain.repositories.budget-profile_repository_interface uses backend.src.domain.model.budget-profile_entity, so a change to backend.src.domain.model.budget-profile_entity can break backend.src.domain.repositories.budget-profile_repository_interface, while a change to backend.src.domain.repositories.budget-profile_repository_interface can't break backend.src.domain.model.budget-profile_entity.
- Position
- Below the diagonal: backend.src.domain.repositories.budget-profile_repository_interface uses a module listed above it, which is the healthy direction.
23→18 backend.src.domain.repositories.debt-balance-adjustment_repository_interface uses backend.src.domain.model.debt-balance-adjustment_entity✕
- Connections
- 1 pair of types, where a type in backend.src.domain.repositories.debt-balance-adjustment_repository_interface uses a type in backend.src.domain.model.debt-balance-adjustment_entity.
- The types involved
backend.src.domain.repositories.debt-balance-adjustment_repository_interface.DebtBalanceAdjustmentRepository→backend.src.domain.model.debt-balance-adjustment_entity.DebtBalanceAdjustment
- Direction
- backend.src.domain.repositories.debt-balance-adjustment_repository_interface uses backend.src.domain.model.debt-balance-adjustment_entity, so a change to backend.src.domain.model.debt-balance-adjustment_entity can break backend.src.domain.repositories.debt-balance-adjustment_repository_interface, while a change to backend.src.domain.repositories.debt-balance-adjustment_repository_interface can't break backend.src.domain.model.debt-balance-adjustment_entity.
- Position
- Below the diagonal: backend.src.domain.repositories.debt-balance-adjustment_repository_interface uses a module listed above it, which is the healthy direction.
24→19 backend.src.domain.repositories.debt_repository_interface uses backend.src.domain.model.debt_entity✕
- Connections
- 1 pair of types, where a type in backend.src.domain.repositories.debt_repository_interface uses a type in backend.src.domain.model.debt_entity.
- The types involved
backend.src.domain.repositories.debt_repository_interface.DebtRepository→backend.src.domain.model.debt_entity.DebtType
- Direction
- backend.src.domain.repositories.debt_repository_interface uses backend.src.domain.model.debt_entity, so a change to backend.src.domain.model.debt_entity can break backend.src.domain.repositories.debt_repository_interface, while a change to backend.src.domain.repositories.debt_repository_interface can't break backend.src.domain.model.debt_entity.
- Position
- Below the diagonal: backend.src.domain.repositories.debt_repository_interface uses a module listed above it, which is the healthy direction.
25→20 backend.src.domain.repositories.fortnight-snapshot_repository_interface uses backend.src.domain.model.fortnight-snapshot_entity✕
- Connections
- 1 pair of types, where a type in backend.src.domain.repositories.fortnight-snapshot_repository_interface uses a type in backend.src.domain.model.fortnight-snapshot_entity.
- The types involved
backend.src.domain.repositories.fortnight-snapshot_repository_interface.FortnightSnapshotRepository→backend.src.domain.model.fortnight-snapshot_entity.FortnightSnapshot
- Direction
- backend.src.domain.repositories.fortnight-snapshot_repository_interface uses backend.src.domain.model.fortnight-snapshot_entity, so a change to backend.src.domain.model.fortnight-snapshot_entity can break backend.src.domain.repositories.fortnight-snapshot_repository_interface, while a change to backend.src.domain.repositories.fortnight-snapshot_repository_interface can't break backend.src.domain.model.fortnight-snapshot_entity.
- Position
- Below the diagonal: backend.src.domain.repositories.fortnight-snapshot_repository_interface uses a module listed above it, which is the healthy direction.
26→5 backend.src.domain.services.debt-payoff-calculator uses backend.src.domain.model.money✕
- Connections
- 5 pairs of types, where a type in backend.src.domain.services.debt-payoff-calculator uses a type in backend.src.domain.model.money.
- The types involved
backend.src.domain.services.debt-payoff-calculator.DebtPayoffCalculator→backend.src.domain.model.money.Moneybackend.src.domain.services.debt-payoff-calculator.FortnightlySnapshot→backend.src.domain.model.money.Moneybackend.src.domain.services.debt-payoff-calculator.FortnightlySnowballResult→backend.src.domain.model.money.Moneybackend.src.domain.services.debt-payoff-calculator.MonthlySnapshot→backend.src.domain.model.money.Moneybackend.src.domain.services.debt-payoff-calculator.SnowballResult→backend.src.domain.model.money.Money
- Direction
- backend.src.domain.services.debt-payoff-calculator uses backend.src.domain.model.money, so a change to backend.src.domain.model.money can break backend.src.domain.services.debt-payoff-calculator, while a change to backend.src.domain.services.debt-payoff-calculator can't break backend.src.domain.model.money.
- Position
- Below the diagonal: backend.src.domain.services.debt-payoff-calculator uses a module listed above it, which is the healthy direction.
26→19 backend.src.domain.services.debt-payoff-calculator uses backend.src.domain.model.debt_entity✕
- Connections
- 1 pair of types, where a type in backend.src.domain.services.debt-payoff-calculator uses a type in backend.src.domain.model.debt_entity.
- The types involved
backend.src.domain.services.debt-payoff-calculator.DebtPayoffCalculator→backend.src.domain.model.debt_entity.Debt
- Direction
- backend.src.domain.services.debt-payoff-calculator uses backend.src.domain.model.debt_entity, so a change to backend.src.domain.model.debt_entity can break backend.src.domain.services.debt-payoff-calculator, while a change to backend.src.domain.services.debt-payoff-calculator can't break backend.src.domain.model.debt_entity.
- Position
- Below the diagonal: backend.src.domain.services.debt-payoff-calculator uses a module listed above it, which is the healthy direction.
27→9 backend.src.presentation.http.controllers.auth_controller uses backend.src.presentation.http.controllers.base_controller✕
- Connections
- 1 pair of types, where a type in backend.src.presentation.http.controllers.auth_controller uses a type in backend.src.presentation.http.controllers.base_controller.
- The types involved
backend.src.presentation.http.controllers.auth_controller.AuthController→backend.src.presentation.http.controllers.base_controller.BaseController
- Direction
- backend.src.presentation.http.controllers.auth_controller uses backend.src.presentation.http.controllers.base_controller, so a change to backend.src.presentation.http.controllers.base_controller can break backend.src.presentation.http.controllers.auth_controller, while a change to backend.src.presentation.http.controllers.auth_controller can't break backend.src.presentation.http.controllers.base_controller.
- Position
- Below the diagonal: backend.src.presentation.http.controllers.auth_controller uses a module listed above it, which is the healthy direction.
27→15 backend.src.presentation.http.controllers.auth_controller uses backend.src.application.use-cases.login_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.presentation.http.controllers.auth_controller uses a type in backend.src.application.use-cases.login_use-case.
- The types involved
backend.src.presentation.http.controllers.auth_controller.AuthController→backend.src.application.use-cases.login_use-case.LoginUseCase
- Direction
- backend.src.presentation.http.controllers.auth_controller uses backend.src.application.use-cases.login_use-case, so a change to backend.src.application.use-cases.login_use-case can break backend.src.presentation.http.controllers.auth_controller, while a change to backend.src.presentation.http.controllers.auth_controller can't break backend.src.application.use-cases.login_use-case.
- Position
- Below the diagonal: backend.src.presentation.http.controllers.auth_controller uses a module listed above it, which is the healthy direction.
27→16 backend.src.presentation.http.controllers.auth_controller uses backend.src.application.use-cases.signup_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.presentation.http.controllers.auth_controller uses a type in backend.src.application.use-cases.signup_use-case.
- The types involved
backend.src.presentation.http.controllers.auth_controller.AuthController→backend.src.application.use-cases.signup_use-case.SignupUseCase
- Direction
- backend.src.presentation.http.controllers.auth_controller uses backend.src.application.use-cases.signup_use-case, so a change to backend.src.application.use-cases.signup_use-case can break backend.src.presentation.http.controllers.auth_controller, while a change to backend.src.presentation.http.controllers.auth_controller can't break backend.src.application.use-cases.signup_use-case.
- Position
- Below the diagonal: backend.src.presentation.http.controllers.auth_controller uses a module listed above it, which is the healthy direction.
28→3 backend.src.application.use-cases.get-dashboard_use-case uses backend.src.application.use-cases.base_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-dashboard_use-case uses a type in backend.src.application.use-cases.base_use-case.
- The types involved
backend.src.application.use-cases.get-dashboard_use-case.GetDashboardUseCase→backend.src.application.use-cases.base_use-case.UseCase
- Direction
- backend.src.application.use-cases.get-dashboard_use-case uses backend.src.application.use-cases.base_use-case, so a change to backend.src.application.use-cases.base_use-case can break backend.src.application.use-cases.get-dashboard_use-case, while a change to backend.src.application.use-cases.get-dashboard_use-case can't break backend.src.application.use-cases.base_use-case.
- Position
- Below the diagonal: backend.src.application.use-cases.get-dashboard_use-case uses a module listed above it, which is the healthy direction.
28→6 backend.src.application.use-cases.get-dashboard_use-case uses backend.src.domain.repositories.transaction_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-dashboard_use-case uses a type in backend.src.domain.repositories.transaction_repository_interface.
- The types involved
backend.src.application.use-cases.get-dashboard_use-case.GetDashboardUseCase→backend.src.domain.repositories.transaction_repository_interface.TransactionRepository
- Direction
- backend.src.application.use-cases.get-dashboard_use-case uses backend.src.domain.repositories.transaction_repository_interface, so a change to backend.src.domain.repositories.transaction_repository_interface can break backend.src.application.use-cases.get-dashboard_use-case, while a change to backend.src.application.use-cases.get-dashboard_use-case can't break backend.src.domain.repositories.transaction_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.get-dashboard_use-case uses a module listed above it, which is the healthy direction.
28→20 backend.src.application.use-cases.get-dashboard_use-case uses backend.src.domain.model.fortnight-snapshot_entity✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-dashboard_use-case uses a type in backend.src.domain.model.fortnight-snapshot_entity.
- The types involved
backend.src.application.use-cases.get-dashboard_use-case.GetDashboardUseCase→backend.src.domain.model.fortnight-snapshot_entity.FortnightSnapshot
- Direction
- backend.src.application.use-cases.get-dashboard_use-case uses backend.src.domain.model.fortnight-snapshot_entity, so a change to backend.src.domain.model.fortnight-snapshot_entity can break backend.src.application.use-cases.get-dashboard_use-case, while a change to backend.src.application.use-cases.get-dashboard_use-case can't break backend.src.domain.model.fortnight-snapshot_entity.
- Position
- Below the diagonal: backend.src.application.use-cases.get-dashboard_use-case uses a module listed above it, which is the healthy direction.
28→22 backend.src.application.use-cases.get-dashboard_use-case uses backend.src.domain.repositories.budget-profile_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-dashboard_use-case uses a type in backend.src.domain.repositories.budget-profile_repository_interface.
- The types involved
backend.src.application.use-cases.get-dashboard_use-case.GetDashboardUseCase→backend.src.domain.repositories.budget-profile_repository_interface.BudgetProfileRepository
- Direction
- backend.src.application.use-cases.get-dashboard_use-case uses backend.src.domain.repositories.budget-profile_repository_interface, so a change to backend.src.domain.repositories.budget-profile_repository_interface can break backend.src.application.use-cases.get-dashboard_use-case, while a change to backend.src.application.use-cases.get-dashboard_use-case can't break backend.src.domain.repositories.budget-profile_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.get-dashboard_use-case uses a module listed above it, which is the healthy direction.
28→24 backend.src.application.use-cases.get-dashboard_use-case uses backend.src.domain.repositories.debt_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-dashboard_use-case uses a type in backend.src.domain.repositories.debt_repository_interface.
- The types involved
backend.src.application.use-cases.get-dashboard_use-case.GetDashboardUseCase→backend.src.domain.repositories.debt_repository_interface.DebtRepository
- Direction
- backend.src.application.use-cases.get-dashboard_use-case uses backend.src.domain.repositories.debt_repository_interface, so a change to backend.src.domain.repositories.debt_repository_interface can break backend.src.application.use-cases.get-dashboard_use-case, while a change to backend.src.application.use-cases.get-dashboard_use-case can't break backend.src.domain.repositories.debt_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.get-dashboard_use-case uses a module listed above it, which is the healthy direction.
28→25 backend.src.application.use-cases.get-dashboard_use-case uses backend.src.domain.repositories.fortnight-snapshot_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-dashboard_use-case uses a type in backend.src.domain.repositories.fortnight-snapshot_repository_interface.
- The types involved
backend.src.application.use-cases.get-dashboard_use-case.GetDashboardUseCase→backend.src.domain.repositories.fortnight-snapshot_repository_interface.FortnightSnapshotRepository
- Direction
- backend.src.application.use-cases.get-dashboard_use-case uses backend.src.domain.repositories.fortnight-snapshot_repository_interface, so a change to backend.src.domain.repositories.fortnight-snapshot_repository_interface can break backend.src.application.use-cases.get-dashboard_use-case, while a change to backend.src.application.use-cases.get-dashboard_use-case can't break backend.src.domain.repositories.fortnight-snapshot_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.get-dashboard_use-case uses a module listed above it, which is the healthy direction.
28→26 backend.src.application.use-cases.get-dashboard_use-case uses backend.src.domain.services.debt-payoff-calculator✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-dashboard_use-case uses a type in backend.src.domain.services.debt-payoff-calculator.
- The types involved
backend.src.application.use-cases.get-dashboard_use-case.GetDashboardUseCase→backend.src.domain.services.debt-payoff-calculator.DebtPayoffCalculator
- Direction
- backend.src.application.use-cases.get-dashboard_use-case uses backend.src.domain.services.debt-payoff-calculator, so a change to backend.src.domain.services.debt-payoff-calculator can break backend.src.application.use-cases.get-dashboard_use-case, while a change to backend.src.application.use-cases.get-dashboard_use-case can't break backend.src.domain.services.debt-payoff-calculator.
- Position
- Below the diagonal: backend.src.application.use-cases.get-dashboard_use-case uses a module listed above it, which is the healthy direction.
29→3 backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.application.use-cases.base_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a type in backend.src.application.use-cases.base_use-case.
- The types involved
backend.src.application.use-cases.get-debt-payoff-plan_use-case.GetDebtPayoffPlanUseCase→backend.src.application.use-cases.base_use-case.UseCase
- Direction
- backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.application.use-cases.base_use-case, so a change to backend.src.application.use-cases.base_use-case can break backend.src.application.use-cases.get-debt-payoff-plan_use-case, while a change to backend.src.application.use-cases.get-debt-payoff-plan_use-case can't break backend.src.application.use-cases.base_use-case.
- Position
- Below the diagonal: backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a module listed above it, which is the healthy direction.
29→6 backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.domain.repositories.transaction_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a type in backend.src.domain.repositories.transaction_repository_interface.
- The types involved
backend.src.application.use-cases.get-debt-payoff-plan_use-case.GetDebtPayoffPlanUseCase→backend.src.domain.repositories.transaction_repository_interface.TransactionRepository
- Direction
- backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.domain.repositories.transaction_repository_interface, so a change to backend.src.domain.repositories.transaction_repository_interface can break backend.src.application.use-cases.get-debt-payoff-plan_use-case, while a change to backend.src.application.use-cases.get-debt-payoff-plan_use-case can't break backend.src.domain.repositories.transaction_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a module listed above it, which is the healthy direction.
29→20 backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.domain.model.fortnight-snapshot_entity✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a type in backend.src.domain.model.fortnight-snapshot_entity.
- The types involved
backend.src.application.use-cases.get-debt-payoff-plan_use-case.GetDebtPayoffPlanUseCase→backend.src.domain.model.fortnight-snapshot_entity.FortnightSnapshot
- Direction
- backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.domain.model.fortnight-snapshot_entity, so a change to backend.src.domain.model.fortnight-snapshot_entity can break backend.src.application.use-cases.get-debt-payoff-plan_use-case, while a change to backend.src.application.use-cases.get-debt-payoff-plan_use-case can't break backend.src.domain.model.fortnight-snapshot_entity.
- Position
- Below the diagonal: backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a module listed above it, which is the healthy direction.
29→22 backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.domain.repositories.budget-profile_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a type in backend.src.domain.repositories.budget-profile_repository_interface.
- The types involved
backend.src.application.use-cases.get-debt-payoff-plan_use-case.GetDebtPayoffPlanUseCase→backend.src.domain.repositories.budget-profile_repository_interface.BudgetProfileRepository
- Direction
- backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.domain.repositories.budget-profile_repository_interface, so a change to backend.src.domain.repositories.budget-profile_repository_interface can break backend.src.application.use-cases.get-debt-payoff-plan_use-case, while a change to backend.src.application.use-cases.get-debt-payoff-plan_use-case can't break backend.src.domain.repositories.budget-profile_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a module listed above it, which is the healthy direction.
29→24 backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.domain.repositories.debt_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a type in backend.src.domain.repositories.debt_repository_interface.
- The types involved
backend.src.application.use-cases.get-debt-payoff-plan_use-case.GetDebtPayoffPlanUseCase→backend.src.domain.repositories.debt_repository_interface.DebtRepository
- Direction
- backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.domain.repositories.debt_repository_interface, so a change to backend.src.domain.repositories.debt_repository_interface can break backend.src.application.use-cases.get-debt-payoff-plan_use-case, while a change to backend.src.application.use-cases.get-debt-payoff-plan_use-case can't break backend.src.domain.repositories.debt_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a module listed above it, which is the healthy direction.
29→25 backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.domain.repositories.fortnight-snapshot_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a type in backend.src.domain.repositories.fortnight-snapshot_repository_interface.
- The types involved
backend.src.application.use-cases.get-debt-payoff-plan_use-case.GetDebtPayoffPlanUseCase→backend.src.domain.repositories.fortnight-snapshot_repository_interface.FortnightSnapshotRepository
- Direction
- backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.domain.repositories.fortnight-snapshot_repository_interface, so a change to backend.src.domain.repositories.fortnight-snapshot_repository_interface can break backend.src.application.use-cases.get-debt-payoff-plan_use-case, while a change to backend.src.application.use-cases.get-debt-payoff-plan_use-case can't break backend.src.domain.repositories.fortnight-snapshot_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a module listed above it, which is the healthy direction.
29→26 backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.domain.services.debt-payoff-calculator✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a type in backend.src.domain.services.debt-payoff-calculator.
- The types involved
backend.src.application.use-cases.get-debt-payoff-plan_use-case.GetDebtPayoffPlanUseCase→backend.src.domain.services.debt-payoff-calculator.DebtPayoffCalculator
- Direction
- backend.src.application.use-cases.get-debt-payoff-plan_use-case uses backend.src.domain.services.debt-payoff-calculator, so a change to backend.src.domain.services.debt-payoff-calculator can break backend.src.application.use-cases.get-debt-payoff-plan_use-case, while a change to backend.src.application.use-cases.get-debt-payoff-plan_use-case can't break backend.src.domain.services.debt-payoff-calculator.
- Position
- Below the diagonal: backend.src.application.use-cases.get-debt-payoff-plan_use-case uses a module listed above it, which is the healthy direction.
30→1 backend.src.application.use-cases.get-fortnight_use-case uses backend.src.application.dtos.fortnight-detail_dto✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-fortnight_use-case uses a type in backend.src.application.dtos.fortnight-detail_dto.
- The types involved
backend.src.application.use-cases.get-fortnight_use-case.GetFortnightUseCase→backend.src.application.dtos.fortnight-detail_dto.FortnightDetailDTO
- Direction
- backend.src.application.use-cases.get-fortnight_use-case uses backend.src.application.dtos.fortnight-detail_dto, so a change to backend.src.application.dtos.fortnight-detail_dto can break backend.src.application.use-cases.get-fortnight_use-case, while a change to backend.src.application.use-cases.get-fortnight_use-case can't break backend.src.application.dtos.fortnight-detail_dto.
- Position
- Below the diagonal: backend.src.application.use-cases.get-fortnight_use-case uses a module listed above it, which is the healthy direction.
30→3 backend.src.application.use-cases.get-fortnight_use-case uses backend.src.application.use-cases.base_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-fortnight_use-case uses a type in backend.src.application.use-cases.base_use-case.
- The types involved
backend.src.application.use-cases.get-fortnight_use-case.GetFortnightUseCase→backend.src.application.use-cases.base_use-case.UseCase
- Direction
- backend.src.application.use-cases.get-fortnight_use-case uses backend.src.application.use-cases.base_use-case, so a change to backend.src.application.use-cases.base_use-case can break backend.src.application.use-cases.get-fortnight_use-case, while a change to backend.src.application.use-cases.get-fortnight_use-case can't break backend.src.application.use-cases.base_use-case.
- Position
- Below the diagonal: backend.src.application.use-cases.get-fortnight_use-case uses a module listed above it, which is the healthy direction.
30→6 backend.src.application.use-cases.get-fortnight_use-case uses backend.src.domain.repositories.transaction_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-fortnight_use-case uses a type in backend.src.domain.repositories.transaction_repository_interface.
- The types involved
backend.src.application.use-cases.get-fortnight_use-case.GetFortnightUseCase→backend.src.domain.repositories.transaction_repository_interface.TransactionRepository
- Direction
- backend.src.application.use-cases.get-fortnight_use-case uses backend.src.domain.repositories.transaction_repository_interface, so a change to backend.src.domain.repositories.transaction_repository_interface can break backend.src.application.use-cases.get-fortnight_use-case, while a change to backend.src.application.use-cases.get-fortnight_use-case can't break backend.src.domain.repositories.transaction_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.get-fortnight_use-case uses a module listed above it, which is the healthy direction.
30→20 backend.src.application.use-cases.get-fortnight_use-case uses backend.src.domain.model.fortnight-snapshot_entity✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-fortnight_use-case uses a type in backend.src.domain.model.fortnight-snapshot_entity.
- The types involved
backend.src.application.use-cases.get-fortnight_use-case.GetFortnightUseCase→backend.src.domain.model.fortnight-snapshot_entity.FortnightSnapshot
- Direction
- backend.src.application.use-cases.get-fortnight_use-case uses backend.src.domain.model.fortnight-snapshot_entity, so a change to backend.src.domain.model.fortnight-snapshot_entity can break backend.src.application.use-cases.get-fortnight_use-case, while a change to backend.src.application.use-cases.get-fortnight_use-case can't break backend.src.domain.model.fortnight-snapshot_entity.
- Position
- Below the diagonal: backend.src.application.use-cases.get-fortnight_use-case uses a module listed above it, which is the healthy direction.
30→22 backend.src.application.use-cases.get-fortnight_use-case uses backend.src.domain.repositories.budget-profile_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-fortnight_use-case uses a type in backend.src.domain.repositories.budget-profile_repository_interface.
- The types involved
backend.src.application.use-cases.get-fortnight_use-case.GetFortnightUseCase→backend.src.domain.repositories.budget-profile_repository_interface.BudgetProfileRepository
- Direction
- backend.src.application.use-cases.get-fortnight_use-case uses backend.src.domain.repositories.budget-profile_repository_interface, so a change to backend.src.domain.repositories.budget-profile_repository_interface can break backend.src.application.use-cases.get-fortnight_use-case, while a change to backend.src.application.use-cases.get-fortnight_use-case can't break backend.src.domain.repositories.budget-profile_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.get-fortnight_use-case uses a module listed above it, which is the healthy direction.
30→25 backend.src.application.use-cases.get-fortnight_use-case uses backend.src.domain.repositories.fortnight-snapshot_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-fortnight_use-case uses a type in backend.src.domain.repositories.fortnight-snapshot_repository_interface.
- The types involved
backend.src.application.use-cases.get-fortnight_use-case.GetFortnightUseCase→backend.src.domain.repositories.fortnight-snapshot_repository_interface.FortnightSnapshotRepository
- Direction
- backend.src.application.use-cases.get-fortnight_use-case uses backend.src.domain.repositories.fortnight-snapshot_repository_interface, so a change to backend.src.domain.repositories.fortnight-snapshot_repository_interface can break backend.src.application.use-cases.get-fortnight_use-case, while a change to backend.src.application.use-cases.get-fortnight_use-case can't break backend.src.domain.repositories.fortnight-snapshot_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.get-fortnight_use-case uses a module listed above it, which is the healthy direction.
31→3 backend.src.application.use-cases.get-profile_use-case uses backend.src.application.use-cases.base_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-profile_use-case uses a type in backend.src.application.use-cases.base_use-case.
- The types involved
backend.src.application.use-cases.get-profile_use-case.GetProfileUseCase→backend.src.application.use-cases.base_use-case.UseCase
- Direction
- backend.src.application.use-cases.get-profile_use-case uses backend.src.application.use-cases.base_use-case, so a change to backend.src.application.use-cases.base_use-case can break backend.src.application.use-cases.get-profile_use-case, while a change to backend.src.application.use-cases.get-profile_use-case can't break backend.src.application.use-cases.base_use-case.
- Position
- Below the diagonal: backend.src.application.use-cases.get-profile_use-case uses a module listed above it, which is the healthy direction.
31→17 backend.src.application.use-cases.get-profile_use-case uses backend.src.domain.model.budget-profile_entity✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-profile_use-case uses a type in backend.src.domain.model.budget-profile_entity.
- The types involved
backend.src.application.use-cases.get-profile_use-case.GetProfileUseCase→backend.src.domain.model.budget-profile_entity.BudgetProfile
- Direction
- backend.src.application.use-cases.get-profile_use-case uses backend.src.domain.model.budget-profile_entity, so a change to backend.src.domain.model.budget-profile_entity can break backend.src.application.use-cases.get-profile_use-case, while a change to backend.src.application.use-cases.get-profile_use-case can't break backend.src.domain.model.budget-profile_entity.
- Position
- Below the diagonal: backend.src.application.use-cases.get-profile_use-case uses a module listed above it, which is the healthy direction.
31→22 backend.src.application.use-cases.get-profile_use-case uses backend.src.domain.repositories.budget-profile_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.get-profile_use-case uses a type in backend.src.domain.repositories.budget-profile_repository_interface.
- The types involved
backend.src.application.use-cases.get-profile_use-case.GetProfileUseCase→backend.src.domain.repositories.budget-profile_repository_interface.BudgetProfileRepository
- Direction
- backend.src.application.use-cases.get-profile_use-case uses backend.src.domain.repositories.budget-profile_repository_interface, so a change to backend.src.domain.repositories.budget-profile_repository_interface can break backend.src.application.use-cases.get-profile_use-case, while a change to backend.src.application.use-cases.get-profile_use-case can't break backend.src.domain.repositories.budget-profile_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.get-profile_use-case uses a module listed above it, which is the healthy direction.
32→3 backend.src.application.use-cases.list-debts_use-case uses backend.src.application.use-cases.base_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-debts_use-case uses a type in backend.src.application.use-cases.base_use-case.
- The types involved
backend.src.application.use-cases.list-debts_use-case.ListDebtsUseCase→backend.src.application.use-cases.base_use-case.UseCase
- Direction
- backend.src.application.use-cases.list-debts_use-case uses backend.src.application.use-cases.base_use-case, so a change to backend.src.application.use-cases.base_use-case can break backend.src.application.use-cases.list-debts_use-case, while a change to backend.src.application.use-cases.list-debts_use-case can't break backend.src.application.use-cases.base_use-case.
- Position
- Below the diagonal: backend.src.application.use-cases.list-debts_use-case uses a module listed above it, which is the healthy direction.
32→13 backend.src.application.use-cases.list-debts_use-case uses backend.src.application.dtos.chat_dto✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-debts_use-case uses a type in backend.src.application.dtos.chat_dto.
- The types involved
backend.src.application.use-cases.list-debts_use-case.ListDebtsUseCase→backend.src.application.dtos.chat_dto.DebtDTO
- Direction
- backend.src.application.use-cases.list-debts_use-case uses backend.src.application.dtos.chat_dto, so a change to backend.src.application.dtos.chat_dto can break backend.src.application.use-cases.list-debts_use-case, while a change to backend.src.application.use-cases.list-debts_use-case can't break backend.src.application.dtos.chat_dto.
- Position
- Below the diagonal: backend.src.application.use-cases.list-debts_use-case uses a module listed above it, which is the healthy direction.
32→19 backend.src.application.use-cases.list-debts_use-case uses backend.src.domain.model.debt_entity✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-debts_use-case uses a type in backend.src.domain.model.debt_entity.
- The types involved
backend.src.application.use-cases.list-debts_use-case.ListDebtsUseCase→backend.src.domain.model.debt_entity.Debt
- Direction
- backend.src.application.use-cases.list-debts_use-case uses backend.src.domain.model.debt_entity, so a change to backend.src.domain.model.debt_entity can break backend.src.application.use-cases.list-debts_use-case, while a change to backend.src.application.use-cases.list-debts_use-case can't break backend.src.domain.model.debt_entity.
- Position
- Below the diagonal: backend.src.application.use-cases.list-debts_use-case uses a module listed above it, which is the healthy direction.
32→24 backend.src.application.use-cases.list-debts_use-case uses backend.src.domain.repositories.debt_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-debts_use-case uses a type in backend.src.domain.repositories.debt_repository_interface.
- The types involved
backend.src.application.use-cases.list-debts_use-case.ListDebtsUseCase→backend.src.domain.repositories.debt_repository_interface.DebtRepository
- Direction
- backend.src.application.use-cases.list-debts_use-case uses backend.src.domain.repositories.debt_repository_interface, so a change to backend.src.domain.repositories.debt_repository_interface can break backend.src.application.use-cases.list-debts_use-case, while a change to backend.src.application.use-cases.list-debts_use-case can't break backend.src.domain.repositories.debt_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.list-debts_use-case uses a module listed above it, which is the healthy direction.
33→3 backend.src.application.use-cases.list-fortnights_use-case uses backend.src.application.use-cases.base_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-fortnights_use-case uses a type in backend.src.application.use-cases.base_use-case.
- The types involved
backend.src.application.use-cases.list-fortnights_use-case.ListForthnightsUseCase→backend.src.application.use-cases.base_use-case.UseCase
- Direction
- backend.src.application.use-cases.list-fortnights_use-case uses backend.src.application.use-cases.base_use-case, so a change to backend.src.application.use-cases.base_use-case can break backend.src.application.use-cases.list-fortnights_use-case, while a change to backend.src.application.use-cases.list-fortnights_use-case can't break backend.src.application.use-cases.base_use-case.
- Position
- Below the diagonal: backend.src.application.use-cases.list-fortnights_use-case uses a module listed above it, which is the healthy direction.
33→6 backend.src.application.use-cases.list-fortnights_use-case uses backend.src.domain.repositories.transaction_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-fortnights_use-case uses a type in backend.src.domain.repositories.transaction_repository_interface.
- The types involved
backend.src.application.use-cases.list-fortnights_use-case.ListForthnightsUseCase→backend.src.domain.repositories.transaction_repository_interface.TransactionRepository
- Direction
- backend.src.application.use-cases.list-fortnights_use-case uses backend.src.domain.repositories.transaction_repository_interface, so a change to backend.src.domain.repositories.transaction_repository_interface can break backend.src.application.use-cases.list-fortnights_use-case, while a change to backend.src.application.use-cases.list-fortnights_use-case can't break backend.src.domain.repositories.transaction_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.list-fortnights_use-case uses a module listed above it, which is the healthy direction.
33→20 backend.src.application.use-cases.list-fortnights_use-case uses backend.src.domain.model.fortnight-snapshot_entity✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-fortnights_use-case uses a type in backend.src.domain.model.fortnight-snapshot_entity.
- The types involved
backend.src.application.use-cases.list-fortnights_use-case.ListForthnightsUseCase→backend.src.domain.model.fortnight-snapshot_entity.FortnightSnapshot
- Direction
- backend.src.application.use-cases.list-fortnights_use-case uses backend.src.domain.model.fortnight-snapshot_entity, so a change to backend.src.domain.model.fortnight-snapshot_entity can break backend.src.application.use-cases.list-fortnights_use-case, while a change to backend.src.application.use-cases.list-fortnights_use-case can't break backend.src.domain.model.fortnight-snapshot_entity.
- Position
- Below the diagonal: backend.src.application.use-cases.list-fortnights_use-case uses a module listed above it, which is the healthy direction.
33→22 backend.src.application.use-cases.list-fortnights_use-case uses backend.src.domain.repositories.budget-profile_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-fortnights_use-case uses a type in backend.src.domain.repositories.budget-profile_repository_interface.
- The types involved
backend.src.application.use-cases.list-fortnights_use-case.ListForthnightsUseCase→backend.src.domain.repositories.budget-profile_repository_interface.BudgetProfileRepository
- Direction
- backend.src.application.use-cases.list-fortnights_use-case uses backend.src.domain.repositories.budget-profile_repository_interface, so a change to backend.src.domain.repositories.budget-profile_repository_interface can break backend.src.application.use-cases.list-fortnights_use-case, while a change to backend.src.application.use-cases.list-fortnights_use-case can't break backend.src.domain.repositories.budget-profile_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.list-fortnights_use-case uses a module listed above it, which is the healthy direction.
33→25 backend.src.application.use-cases.list-fortnights_use-case uses backend.src.domain.repositories.fortnight-snapshot_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-fortnights_use-case uses a type in backend.src.domain.repositories.fortnight-snapshot_repository_interface.
- The types involved
backend.src.application.use-cases.list-fortnights_use-case.ListForthnightsUseCase→backend.src.domain.repositories.fortnight-snapshot_repository_interface.FortnightSnapshotRepository
- Direction
- backend.src.application.use-cases.list-fortnights_use-case uses backend.src.domain.repositories.fortnight-snapshot_repository_interface, so a change to backend.src.domain.repositories.fortnight-snapshot_repository_interface can break backend.src.application.use-cases.list-fortnights_use-case, while a change to backend.src.application.use-cases.list-fortnights_use-case can't break backend.src.domain.repositories.fortnight-snapshot_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.list-fortnights_use-case uses a module listed above it, which is the healthy direction.
34→3 backend.src.application.use-cases.list-transactions_use-case uses backend.src.application.use-cases.base_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-transactions_use-case uses a type in backend.src.application.use-cases.base_use-case.
- The types involved
backend.src.application.use-cases.list-transactions_use-case.ListTransactionsUseCase→backend.src.application.use-cases.base_use-case.UseCase
- Direction
- backend.src.application.use-cases.list-transactions_use-case uses backend.src.application.use-cases.base_use-case, so a change to backend.src.application.use-cases.base_use-case can break backend.src.application.use-cases.list-transactions_use-case, while a change to backend.src.application.use-cases.list-transactions_use-case can't break backend.src.application.use-cases.base_use-case.
- Position
- Below the diagonal: backend.src.application.use-cases.list-transactions_use-case uses a module listed above it, which is the healthy direction.
34→6 backend.src.application.use-cases.list-transactions_use-case uses backend.src.domain.repositories.transaction_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-transactions_use-case uses a type in backend.src.domain.repositories.transaction_repository_interface.
- The types involved
backend.src.application.use-cases.list-transactions_use-case.ListTransactionsUseCase→backend.src.domain.repositories.transaction_repository_interface.TransactionRepository
- Direction
- backend.src.application.use-cases.list-transactions_use-case uses backend.src.domain.repositories.transaction_repository_interface, so a change to backend.src.domain.repositories.transaction_repository_interface can break backend.src.application.use-cases.list-transactions_use-case, while a change to backend.src.application.use-cases.list-transactions_use-case can't break backend.src.domain.repositories.transaction_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.list-transactions_use-case uses a module listed above it, which is the healthy direction.
34→20 backend.src.application.use-cases.list-transactions_use-case uses backend.src.domain.model.fortnight-snapshot_entity✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-transactions_use-case uses a type in backend.src.domain.model.fortnight-snapshot_entity.
- The types involved
backend.src.application.use-cases.list-transactions_use-case.ListTransactionsUseCase→backend.src.domain.model.fortnight-snapshot_entity.FortnightSnapshot
- Direction
- backend.src.application.use-cases.list-transactions_use-case uses backend.src.domain.model.fortnight-snapshot_entity, so a change to backend.src.domain.model.fortnight-snapshot_entity can break backend.src.application.use-cases.list-transactions_use-case, while a change to backend.src.application.use-cases.list-transactions_use-case can't break backend.src.domain.model.fortnight-snapshot_entity.
- Position
- Below the diagonal: backend.src.application.use-cases.list-transactions_use-case uses a module listed above it, which is the healthy direction.
34→22 backend.src.application.use-cases.list-transactions_use-case uses backend.src.domain.repositories.budget-profile_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-transactions_use-case uses a type in backend.src.domain.repositories.budget-profile_repository_interface.
- The types involved
backend.src.application.use-cases.list-transactions_use-case.ListTransactionsUseCase→backend.src.domain.repositories.budget-profile_repository_interface.BudgetProfileRepository
- Direction
- backend.src.application.use-cases.list-transactions_use-case uses backend.src.domain.repositories.budget-profile_repository_interface, so a change to backend.src.domain.repositories.budget-profile_repository_interface can break backend.src.application.use-cases.list-transactions_use-case, while a change to backend.src.application.use-cases.list-transactions_use-case can't break backend.src.domain.repositories.budget-profile_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.list-transactions_use-case uses a module listed above it, which is the healthy direction.
34→25 backend.src.application.use-cases.list-transactions_use-case uses backend.src.domain.repositories.fortnight-snapshot_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.list-transactions_use-case uses a type in backend.src.domain.repositories.fortnight-snapshot_repository_interface.
- The types involved
backend.src.application.use-cases.list-transactions_use-case.ListTransactionsUseCase→backend.src.domain.repositories.fortnight-snapshot_repository_interface.FortnightSnapshotRepository
- Direction
- backend.src.application.use-cases.list-transactions_use-case uses backend.src.domain.repositories.fortnight-snapshot_repository_interface, so a change to backend.src.domain.repositories.fortnight-snapshot_repository_interface can break backend.src.application.use-cases.list-transactions_use-case, while a change to backend.src.application.use-cases.list-transactions_use-case can't break backend.src.domain.repositories.fortnight-snapshot_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.list-transactions_use-case uses a module listed above it, which is the healthy direction.
35→2 backend.src.application.use-cases.preview-transaction-csv-import_use-case uses backend.src.application.import.csv.csv-types✕
- Connections
- 2 pairs of types, where a type in backend.src.application.use-cases.preview-transaction-csv-import_use-case uses a type in backend.src.application.import.csv.csv-types.
- The types involved
backend.src.application.use-cases.preview-transaction-csv-import_use-case.PreviewTransactionCsvImportRequest→backend.src.application.import.csv.csv-types.CsvMappingInputbackend.src.application.use-cases.preview-transaction-csv-import_use-case.PreviewTransactionCsvImportUseCase→backend.src.application.import.csv.csv-types.CsvPreviewResult
- Direction
- backend.src.application.use-cases.preview-transaction-csv-import_use-case uses backend.src.application.import.csv.csv-types, so a change to backend.src.application.import.csv.csv-types can break backend.src.application.use-cases.preview-transaction-csv-import_use-case, while a change to backend.src.application.use-cases.preview-transaction-csv-import_use-case can't break backend.src.application.import.csv.csv-types.
- Position
- Below the diagonal: backend.src.application.use-cases.preview-transaction-csv-import_use-case uses a module listed above it, which is the healthy direction.
35→3 backend.src.application.use-cases.preview-transaction-csv-import_use-case uses backend.src.application.use-cases.base_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.preview-transaction-csv-import_use-case uses a type in backend.src.application.use-cases.base_use-case.
- The types involved
backend.src.application.use-cases.preview-transaction-csv-import_use-case.PreviewTransactionCsvImportUseCase→backend.src.application.use-cases.base_use-case.UseCase
- Direction
- backend.src.application.use-cases.preview-transaction-csv-import_use-case uses backend.src.application.use-cases.base_use-case, so a change to backend.src.application.use-cases.base_use-case can break backend.src.application.use-cases.preview-transaction-csv-import_use-case, while a change to backend.src.application.use-cases.preview-transaction-csv-import_use-case can't break backend.src.application.use-cases.base_use-case.
- Position
- Below the diagonal: backend.src.application.use-cases.preview-transaction-csv-import_use-case uses a module listed above it, which is the healthy direction.
35→14 backend.src.application.use-cases.preview-transaction-csv-import_use-case uses backend.src.application.import.csv.bank-csv-importer_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.preview-transaction-csv-import_use-case uses a type in backend.src.application.import.csv.bank-csv-importer_interface.
- The types involved
backend.src.application.use-cases.preview-transaction-csv-import_use-case.PreviewTransactionCsvImportUseCase→backend.src.application.import.csv.bank-csv-importer_interface.BankCsvImporter
- Direction
- backend.src.application.use-cases.preview-transaction-csv-import_use-case uses backend.src.application.import.csv.bank-csv-importer_interface, so a change to backend.src.application.import.csv.bank-csv-importer_interface can break backend.src.application.use-cases.preview-transaction-csv-import_use-case, while a change to backend.src.application.use-cases.preview-transaction-csv-import_use-case can't break backend.src.application.import.csv.bank-csv-importer_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.preview-transaction-csv-import_use-case uses a module listed above it, which is the healthy direction.
35→22 backend.src.application.use-cases.preview-transaction-csv-import_use-case uses backend.src.domain.repositories.budget-profile_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.preview-transaction-csv-import_use-case uses a type in backend.src.domain.repositories.budget-profile_repository_interface.
- The types involved
backend.src.application.use-cases.preview-transaction-csv-import_use-case.PreviewTransactionCsvImportUseCase→backend.src.domain.repositories.budget-profile_repository_interface.BudgetProfileRepository
- Direction
- backend.src.application.use-cases.preview-transaction-csv-import_use-case uses backend.src.domain.repositories.budget-profile_repository_interface, so a change to backend.src.domain.repositories.budget-profile_repository_interface can break backend.src.application.use-cases.preview-transaction-csv-import_use-case, while a change to backend.src.application.use-cases.preview-transaction-csv-import_use-case can't break backend.src.domain.repositories.budget-profile_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.preview-transaction-csv-import_use-case uses a module listed above it, which is the healthy direction.
36→3 backend.src.application.use-cases.record-transaction_use-case uses backend.src.application.use-cases.base_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.record-transaction_use-case uses a type in backend.src.application.use-cases.base_use-case.
- The types involved
backend.src.application.use-cases.record-transaction_use-case.RecordTransactionUseCase→backend.src.application.use-cases.base_use-case.UseCase
- Direction
- backend.src.application.use-cases.record-transaction_use-case uses backend.src.application.use-cases.base_use-case, so a change to backend.src.application.use-cases.base_use-case can break backend.src.application.use-cases.record-transaction_use-case, while a change to backend.src.application.use-cases.record-transaction_use-case can't break backend.src.application.use-cases.base_use-case.
- Position
- Below the diagonal: backend.src.application.use-cases.record-transaction_use-case uses a module listed above it, which is the healthy direction.
36→6 backend.src.application.use-cases.record-transaction_use-case uses backend.src.domain.repositories.transaction_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.record-transaction_use-case uses a type in backend.src.domain.repositories.transaction_repository_interface.
- The types involved
backend.src.application.use-cases.record-transaction_use-case.RecordTransactionUseCase→backend.src.domain.repositories.transaction_repository_interface.TransactionRepository
- Direction
- backend.src.application.use-cases.record-transaction_use-case uses backend.src.domain.repositories.transaction_repository_interface, so a change to backend.src.domain.repositories.transaction_repository_interface can break backend.src.application.use-cases.record-transaction_use-case, while a change to backend.src.application.use-cases.record-transaction_use-case can't break backend.src.domain.repositories.transaction_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.record-transaction_use-case uses a module listed above it, which is the healthy direction.
36→24 backend.src.application.use-cases.record-transaction_use-case uses backend.src.domain.repositories.debt_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.record-transaction_use-case uses a type in backend.src.domain.repositories.debt_repository_interface.
- The types involved
backend.src.application.use-cases.record-transaction_use-case.RecordTransactionUseCase→backend.src.domain.repositories.debt_repository_interface.DebtRepository
- Direction
- backend.src.application.use-cases.record-transaction_use-case uses backend.src.domain.repositories.debt_repository_interface, so a change to backend.src.domain.repositories.debt_repository_interface can break backend.src.application.use-cases.record-transaction_use-case, while a change to backend.src.application.use-cases.record-transaction_use-case can't break backend.src.domain.repositories.debt_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.record-transaction_use-case uses a module listed above it, which is the healthy direction.
37→3 backend.src.application.use-cases.send-chat-message_use-case uses backend.src.application.use-cases.base_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.send-chat-message_use-case uses a type in backend.src.application.use-cases.base_use-case.
- The types involved
backend.src.application.use-cases.send-chat-message_use-case.SendChatMessageUseCase→backend.src.application.use-cases.base_use-case.UseCase
- Direction
- backend.src.application.use-cases.send-chat-message_use-case uses backend.src.application.use-cases.base_use-case, so a change to backend.src.application.use-cases.base_use-case can break backend.src.application.use-cases.send-chat-message_use-case, while a change to backend.src.application.use-cases.send-chat-message_use-case can't break backend.src.application.use-cases.base_use-case.
- Position
- Below the diagonal: backend.src.application.use-cases.send-chat-message_use-case uses a module listed above it, which is the healthy direction.
37→13 backend.src.application.use-cases.send-chat-message_use-case uses backend.src.application.dtos.chat_dto✕
- Connections
- 2 pairs of types, where a type in backend.src.application.use-cases.send-chat-message_use-case uses a type in backend.src.application.dtos.chat_dto.
- The types involved
backend.src.application.use-cases.send-chat-message_use-case.SendChatMessageUseCase→backend.src.application.dtos.chat_dto.ChatResponseDTObackend.src.application.use-cases.send-chat-message_use-case.SendChatMessageUseCase→backend.src.application.dtos.chat_dto.SendChatMessageRequest
- Direction
- backend.src.application.use-cases.send-chat-message_use-case uses backend.src.application.dtos.chat_dto, so a change to backend.src.application.dtos.chat_dto can break backend.src.application.use-cases.send-chat-message_use-case, while a change to backend.src.application.use-cases.send-chat-message_use-case can't break backend.src.application.dtos.chat_dto.
- Position
- Below the diagonal: backend.src.application.use-cases.send-chat-message_use-case uses a module listed above it, which is the healthy direction.
37→22 backend.src.application.use-cases.send-chat-message_use-case uses backend.src.domain.repositories.budget-profile_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.send-chat-message_use-case uses a type in backend.src.domain.repositories.budget-profile_repository_interface.
- The types involved
backend.src.application.use-cases.send-chat-message_use-case.SendChatMessageUseCase→backend.src.domain.repositories.budget-profile_repository_interface.BudgetProfileRepository
- Direction
- backend.src.application.use-cases.send-chat-message_use-case uses backend.src.domain.repositories.budget-profile_repository_interface, so a change to backend.src.domain.repositories.budget-profile_repository_interface can break backend.src.application.use-cases.send-chat-message_use-case, while a change to backend.src.application.use-cases.send-chat-message_use-case can't break backend.src.domain.repositories.budget-profile_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.send-chat-message_use-case uses a module listed above it, which is the healthy direction.
37→24 backend.src.application.use-cases.send-chat-message_use-case uses backend.src.domain.repositories.debt_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.send-chat-message_use-case uses a type in backend.src.domain.repositories.debt_repository_interface.
- The types involved
backend.src.application.use-cases.send-chat-message_use-case.SendChatMessageUseCase→backend.src.domain.repositories.debt_repository_interface.DebtRepository
- Direction
- backend.src.application.use-cases.send-chat-message_use-case uses backend.src.domain.repositories.debt_repository_interface, so a change to backend.src.domain.repositories.debt_repository_interface can break backend.src.application.use-cases.send-chat-message_use-case, while a change to backend.src.application.use-cases.send-chat-message_use-case can't break backend.src.domain.repositories.debt_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.send-chat-message_use-case uses a module listed above it, which is the healthy direction.
37→25 backend.src.application.use-cases.send-chat-message_use-case uses backend.src.domain.repositories.fortnight-snapshot_repository_interface✕
- Connections
- 1 pair of types, where a type in backend.src.application.use-cases.send-chat-message_use-case uses a type in backend.src.domain.repositories.fortnight-snapshot_repository_interface.
- The types involved
backend.src.application.use-cases.send-chat-message_use-case.SendChatMessageUseCase→backend.src.domain.repositories.fortnight-snapshot_repository_interface.FortnightSnapshotRepository
- Direction
- backend.src.application.use-cases.send-chat-message_use-case uses backend.src.domain.repositories.fortnight-snapshot_repository_interface, so a change to backend.src.domain.repositories.fortnight-snapshot_repository_interface can break backend.src.application.use-cases.send-chat-message_use-case, while a change to backend.src.application.use-cases.send-chat-message_use-case can't break backend.src.domain.repositories.fortnight-snapshot_repository_interface.
- Position
- Below the diagonal: backend.src.application.use-cases.send-chat-message_use-case uses a module listed above it, which is the healthy direction.
38→9 backend.src.presentation.http.controllers.debt_controller uses backend.src.presentation.http.controllers.base_controller✕
- Connections
- 1 pair of types, where a type in backend.src.presentation.http.controllers.debt_controller uses a type in backend.src.presentation.http.controllers.base_controller.
- The types involved
backend.src.presentation.http.controllers.debt_controller.DebtController→backend.src.presentation.http.controllers.base_controller.BaseController
- Direction
- backend.src.presentation.http.controllers.debt_controller uses backend.src.presentation.http.controllers.base_controller, so a change to backend.src.presentation.http.controllers.base_controller can break backend.src.presentation.http.controllers.debt_controller, while a change to backend.src.presentation.http.controllers.debt_controller can't break backend.src.presentation.http.controllers.base_controller.
- Position
- Below the diagonal: backend.src.presentation.http.controllers.debt_controller uses a module listed above it, which is the healthy direction.
38→29 backend.src.presentation.http.controllers.debt_controller uses backend.src.application.use-cases.get-debt-payoff-plan_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.presentation.http.controllers.debt_controller uses a type in backend.src.application.use-cases.get-debt-payoff-plan_use-case.
- The types involved
backend.src.presentation.http.controllers.debt_controller.DebtController→backend.src.application.use-cases.get-debt-payoff-plan_use-case.GetDebtPayoffPlanUseCase
- Direction
- backend.src.presentation.http.controllers.debt_controller uses backend.src.application.use-cases.get-debt-payoff-plan_use-case, so a change to backend.src.application.use-cases.get-debt-payoff-plan_use-case can break backend.src.presentation.http.controllers.debt_controller, while a change to backend.src.presentation.http.controllers.debt_controller can't break backend.src.application.use-cases.get-debt-payoff-plan_use-case.
- Position
- Below the diagonal: backend.src.presentation.http.controllers.debt_controller uses a module listed above it, which is the healthy direction.
38→32 backend.src.presentation.http.controllers.debt_controller uses backend.src.application.use-cases.list-debts_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.presentation.http.controllers.debt_controller uses a type in backend.src.application.use-cases.list-debts_use-case.
- The types involved
backend.src.presentation.http.controllers.debt_controller.DebtController→backend.src.application.use-cases.list-debts_use-case.ListDebtsUseCase
- Direction
- backend.src.presentation.http.controllers.debt_controller uses backend.src.application.use-cases.list-debts_use-case, so a change to backend.src.application.use-cases.list-debts_use-case can break backend.src.presentation.http.controllers.debt_controller, while a change to backend.src.presentation.http.controllers.debt_controller can't break backend.src.application.use-cases.list-debts_use-case.
- Position
- Below the diagonal: backend.src.presentation.http.controllers.debt_controller uses a module listed above it, which is the healthy direction.
39→9 backend.src.presentation.http.controllers.fortnight_controller uses backend.src.presentation.http.controllers.base_controller✕
- Connections
- 1 pair of types, where a type in backend.src.presentation.http.controllers.fortnight_controller uses a type in backend.src.presentation.http.controllers.base_controller.
- The types involved
backend.src.presentation.http.controllers.fortnight_controller.FortnightController→backend.src.presentation.http.controllers.base_controller.BaseController
- Direction
- backend.src.presentation.http.controllers.fortnight_controller uses backend.src.presentation.http.controllers.base_controller, so a change to backend.src.presentation.http.controllers.base_controller can break backend.src.presentation.http.controllers.fortnight_controller, while a change to backend.src.presentation.http.controllers.fortnight_controller can't break backend.src.presentation.http.controllers.base_controller.
- Position
- Below the diagonal: backend.src.presentation.http.controllers.fortnight_controller uses a module listed above it, which is the healthy direction.
39→30 backend.src.presentation.http.controllers.fortnight_controller uses backend.src.application.use-cases.get-fortnight_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.presentation.http.controllers.fortnight_controller uses a type in backend.src.application.use-cases.get-fortnight_use-case.
- The types involved
backend.src.presentation.http.controllers.fortnight_controller.FortnightController→backend.src.application.use-cases.get-fortnight_use-case.GetFortnightUseCase
- Direction
- backend.src.presentation.http.controllers.fortnight_controller uses backend.src.application.use-cases.get-fortnight_use-case, so a change to backend.src.application.use-cases.get-fortnight_use-case can break backend.src.presentation.http.controllers.fortnight_controller, while a change to backend.src.presentation.http.controllers.fortnight_controller can't break backend.src.application.use-cases.get-fortnight_use-case.
- Position
- Below the diagonal: backend.src.presentation.http.controllers.fortnight_controller uses a module listed above it, which is the healthy direction.
39→33 backend.src.presentation.http.controllers.fortnight_controller uses backend.src.application.use-cases.list-fortnights_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.presentation.http.controllers.fortnight_controller uses a type in backend.src.application.use-cases.list-fortnights_use-case.
- The types involved
backend.src.presentation.http.controllers.fortnight_controller.FortnightController→backend.src.application.use-cases.list-fortnights_use-case.ListForthnightsUseCase
- Direction
- backend.src.presentation.http.controllers.fortnight_controller uses backend.src.application.use-cases.list-fortnights_use-case, so a change to backend.src.application.use-cases.list-fortnights_use-case can break backend.src.presentation.http.controllers.fortnight_controller, while a change to backend.src.presentation.http.controllers.fortnight_controller can't break backend.src.application.use-cases.list-fortnights_use-case.
- Position
- Below the diagonal: backend.src.presentation.http.controllers.fortnight_controller uses a module listed above it, which is the healthy direction.
39→34 backend.src.presentation.http.controllers.fortnight_controller uses backend.src.application.use-cases.list-transactions_use-case✕
- Connections
- 1 pair of types, where a type in backend.src.presentation.http.controllers.fortnight_controller uses a type in backend.src.application.use-cases.list-transactions_use-case.
- The types involved
backend.src.presentation.http.controllers.fortnight_controller.FortnightController→backend.src.application.use-cases.list-transactions_use-case.ListTransactionsUseCase
- Direction
- backend.src.presentation.http.controllers.fortnight_controller uses backend.src.application.use-cases.list-transactions_use-case, so a change to backend.src.application.use-cases.list-transactions_use-case can break backend.src.presentation.http.controllers.fortnight_controller, while a change to backend.src.presentation.http.controllers.fortnight_controller can't break backend.src.application.use-cases.list-transactions_use-case.
- Position
- Below the diagonal: backend.src.presentation.http.controllers.fortnight_controller uses a module listed above it, which is the healthy direction.
40→27 backend.src.presentation.http.routes uses backend.src.presentation.http.controllers.auth_controller✕
- Connections
- 1 pair of types, where a type in backend.src.presentation.http.routes uses a type in backend.src.presentation.http.controllers.auth_controller.
- The types involved
backend.src.presentation.http.routes.auth.routes→backend.src.presentation.http.controllers.auth_controller.AuthController
- Direction
- backend.src.presentation.http.routes uses backend.src.presentation.http.controllers.auth_controller, so a change to backend.src.presentation.http.controllers.auth_controller can break backend.src.presentation.http.routes, while a change to backend.src.presentation.http.routes can't break backend.src.presentation.http.controllers.auth_controller.
- Position
- Below the diagonal: backend.src.presentation.http.routes uses a module listed above it, which is the healthy direction.
40→38 backend.src.presentation.http.routes uses backend.src.presentation.http.controllers.debt_controller✕
- Connections
- 1 pair of types, where a type in backend.src.presentation.http.routes uses a type in backend.src.presentation.http.controllers.debt_controller.
- The types involved
backend.src.presentation.http.routes.debt.routes→backend.src.presentation.http.controllers.debt_controller.DebtController
- Direction
- backend.src.presentation.http.routes uses backend.src.presentation.http.controllers.debt_controller, so a change to backend.src.presentation.http.controllers.debt_controller can break backend.src.presentation.http.routes, while a change to backend.src.presentation.http.routes can't break backend.src.presentation.http.controllers.debt_controller.
- Position
- Below the diagonal: backend.src.presentation.http.routes uses a module listed above it, which is the healthy direction.
40→39 backend.src.presentation.http.routes uses backend.src.presentation.http.controllers.fortnight_controller✕
- Connections
- 1 pair of types, where a type in backend.src.presentation.http.routes uses a type in backend.src.presentation.http.controllers.fortnight_controller.
- The types involved
backend.src.presentation.http.routes.fortnight.routes→backend.src.presentation.http.controllers.fortnight_controller.FortnightController
- Direction
- backend.src.presentation.http.routes uses backend.src.presentation.http.controllers.fortnight_controller, so a change to backend.src.presentation.http.controllers.fortnight_controller can break backend.src.presentation.http.routes, while a change to backend.src.presentation.http.routes can't break backend.src.presentation.http.controllers.fortnight_controller.
- Position
- Below the diagonal: backend.src.presentation.http.routes 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 | 42 | High / Critical |
| A05:2025 — Injection | 22 | High / Critical |
| A02:2025 — Security Misconfiguration | 8 | High / Critical |
| A01:2025 — Broken Access Control | 2 | Medium |
Roadmap
First, integrate static security analysis into the CI pipeline to prevent regressions from reaching production. Next, ensure all form controls and buttons have proper programmatic labels for accessibility, and resolve the three deprecated dependency findings to maintain hygiene. Finally, implement structured logging in your services and add tests for currently unreached modules to improve observability and coverage.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 3 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (3). | +3.5 pts | Low | Dependency Hygiene |
| Resolve the 1 Test suite declares a test script but contains no test files finding(s) in Test Reliability. | +2.2 pts | Low | Test Reliability |
| 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. | +4.0 pts | Medium | Security & performance tooling |
| Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label. | +3.8 pts | Medium | Forms & labels |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +1.7 pts | Low | ADR Quality |
| Adopt pino (or winston) and log at meaningful points in the services you run. | +3.3 pts | Medium | Observability |
| Add tests that import the unreached modules (directly or through their public entry). | +2.9 pts | Medium | Test Coverage |
| Resolve the 1 Documentation finding(s) in Documentation Quality — start with FEATURE_WISHLIST.md. | +1.3 pts | Low | Documentation Quality |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: High CVE: REDACTED |
| REDACTED | 3.0 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 3.4 | Mixed | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 4.4 | Mixed | Static Analysis (SAST): High: REDACTED |
| REDACTED | 4.4 | Mixed | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 5.1 | Mixed | Static Analysis (SAST): High: REDACTED |
| frontend/src/views/TransactionsView.tsx | 6.0 | Mixed | Explicit Debt: TodoComment |
| REDACTED | 6.9 | Mixed | Data Compliance (PII/GDPR): Medium: REDACTED |
| frontend/src/views/DebtsView.tsx | 7.1 | Near-clean | Cyclomatic Complexity: DebtsView.DebtsView (cyclomatic 65) |
| frontend/src/components/transactions/import/CsvImportWizardModal.tsx | 7.1 | Near-clean | Cyclomatic Complexity: CsvImportWizardModal.CsvImportWizardModal (cyclomatic 61) |
| frontend/src/components/transactions/PlanCard.tsx | 7.4 | Near-clean | Cyclomatic Complexity: PlanCard.PlanCard (cyclomatic 32) |
| frontend/src/views/DashboardView.tsx | 7.4 | Near-clean | Cyclomatic Complexity: DashboardView.DashboardView (cyclomatic 31) |
| backend/src/presentation/http/app.ts | 7.4 | Near-clean | Cyclomatic Complexity: app.createApp (cyclomatic 30) |
| frontend/src/views/ProfileView.tsx | 7.4 | Near-clean | Cyclomatic Complexity: ProfileView.ProfileView (cyclomatic 30) |
| frontend/src/components/transactions/TransactionsTable.tsx | 7.4 | Near-clean | Cyclomatic Complexity: TransactionsTable.TransactionsTable (cyclomatic 28) |
| frontend/src/views/FortnightView.tsx | 7.4 | Near-clean | Cyclomatic Complexity: FortnightView.FortnightView (cyclomatic 26) |
| frontend/src/components/ChatWidget.tsx | 7.4 | Near-clean | Cyclomatic Complexity: ChatWidget.ChatWidget (cyclomatic 22) |
| backend/src/application/use-cases/get-dashboard.use-case.ts | 7.4 | Near-clean | Cyclomatic Complexity: GetDashboardUseCase.execute (cyclomatic 17) |
| backend/src/domain/services/barefoot-advisor.service.ts | 7.8 | Near-clean | Cyclomatic Complexity: BarefootAdvisorService.formatPageContext (cyclomatic 22) |
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. 90 of 93 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 1.0 — 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 — 93 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, 328 of 372 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-contributor repository — bus factor is not applicable (1 contributor(s) across 50 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — 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. This repository's source is written only in languages whose packages are published through a manifest, and no manifest in the tree makes a publication act: either there is no package manifest of any ecosystem (no package.json, pyproject.toml, setup.py, gemspec, Cargo.toml, pom.xml, build.gradle, composer.json, pubspec.yaml or mix.exs), or every one present declares in its package manager's own terms that it is not published (an npm package marked "private": true, a Cargo package with publish = false, a pubspec with publish_to: none, a Composer "project", a Poetry project with package-mode = false, or the "Private :: Do Not Upload" classifier). With no publication act there is no intentionally-exposed surface for API consistency to be judged over.
- 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) — 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. `backend/src/application/errors/error-mapper.ts` produced a parse error, so every rule in this engine's `gdpr.yml` was absent there. That absence is NOT a clean result: these rules detect personal data crossing a boundary into a log sink, a URL or browser storage, and a file that was never parsed cannot report any of the three. The rest of the tree analysed normally and its rows above stand; only these files are unaccounted for. You can widen what we reach: fix the syntax error (or exclude the file deliberately) and re-scan to cover it.
- D44 Platform End-of-Life — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. This dimension reads a project's own statement about the platform it runs on: a TargetFramework in a .NET project file, a .nvmrc or .python-version, a capped requires-python, a Rust toolchain file or Cargo.toml rust-version, a .go-version, .java-version, .ruby-version, .tool-versions or .sdkmanrc, a go.mod go directive, a Maven or Gradle Java level or toolchain, a Gemfile's ruby directive, a mix.exs elixir requirement, a rebar.config minimum_otp_vsn, a pubspec.yaml SDK constraint, a build.sbt scalaVersion, or a framework major pinned by a dependency constraint. This repository carries none of them, so nothing about its platform was established. That is a gap in this analyzer's coverage, NOT a finding that the platform is supported — a language whose runtime is declared elsewhere (Package.swift, a REDACTED) is simply not read here yet.
- AXR1 Runtime accessibility — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Render strategy: boot via DockerCompose (REDACTED). compose up failed (exit 18 — an image could not be pulled) — backend Pulling frontend Pulling postgres Pulling backend Warning Get "https://registry-1.docker.io/v2/": Forbidden postgres Error Get "https://registry-1.docker.io/v2/": Forbidden frontend Warning context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: postgres Pulling frontend Warning Get "https://registry-1.docker.io/v2/": Forbidden backend Warning Get "https://registry-1.docker.io/v2/": Forbidden postgres Error Get "https://registry-1.docker.io/v2/": Forbidden WARNING: Some service image(s) must be built from source by running: docker compose build frontend backend 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.
- C1 Data Protection — 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. 'pg' is imported (backend/scripts/backfill-timezone-boundaries.ts:18), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C3 Audit Trail — 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. 'pg' is imported (backend/scripts/backfill-timezone-boundaries.ts:18), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C4 Data Retention — 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. 'pg' is imported (backend/scripts/backfill-timezone-boundaries.ts:18), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- C5 Data-Subject Rights — 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. 'pg' is imported (backend/scripts/backfill-timezone-boundaries.ts:18), but no entity, schema, table or model declaration this check reads was found beside it, so whether personal data is stored could not be decided.
- 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. 26 further occurrence(s) are not listed individually; the score already reflects all 66.
- 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. 122 further occurrence(s) are not listed individually; the score already reflects all 162.
- 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 make no call through a named logger, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
Limitations & what we did not check
Watchdog assesses the repository exactly as committed, and only the repository. By design it does not reach outside the source tree: the live cloud account, the running CI/CD pipeline, the host's branch-protection and approval rules, the production configuration, or a restore actually exercised against a backup are all out of scope. That boundary is a feature, not a gap — a repo-relative, deterministic scan re-runs identically on any commit and every finding opens at a real file and line, where a live audit can neither be reproduced nor traced. The visible consequence is that controls which leave no in-repo evidence are reported as "not evidenced" and excluded from the score rather than awarded a number a static scan cannot justify.
Per-dimension blind spots
- D1 Cyclomatic Complexity: Cyclomatic complexity counts branches statically — it cannot tell an essential decision tree from accidental tangle, nor see complexity that lives in data or configuration (large switch-case token tables, DSL lexers/parsers, data-as-code rule tables) rather than control flow: a tokenizer's many single-character cases read as high complexity though each branch is trivial.
- D2 Cognitive Complexity: Cognitive-complexity heuristics approximate how hard code is to follow; genuine domain difficulty and well-named intent that eases reading are not captured.
- D3 God Classes: "God class" is sized by members and responsibilities visible in the type — a deliberately broad facade over a coherent subsystem can read the same as an accidental grab-bag. For front-end JS the file-length check is cohesion-aware (a single-responsibility module — one class/IIFE — earns a 3× threshold), but cohesion is approximated from top-level declarations, not true dependency structure.
- D5 Coupling: Coupling is measured between projects/assemblies — runtime coupling through DI, reflection, messaging or shared databases is invisible to a static reference graph.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- 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.
- D23 Boundary Type-Coupling: Boundary leakage is detected from type references across detected contexts — leaks that flow through primitives, serialization or shared infrastructure may not surface as a typed reference.
- D26 Project Cohesion: Project focus is sized from members/namespaces per project — a project that is broad by deliberate design reads the same as one that has sprawled.
- D28 Secrets (history): Secret-history scanning sweeps the git log for known patterns — a secret that predates the available history, or never matched a signature, is not found (clean means "nothing matched in the history we can see").
- D29 Static Analysis (SAST): SAST findings are pattern-based (semgrep) — it finds classes of bug it has rules for; logic flaws, auth/authorization gaps and issues needing runtime context are out of reach (and clean means "no rule matched").
- D30 Dependency Vulnerabilities: CVE matching depends on accurate package/version metadata and on the advisory databases — a vulnerability with no published advisory, or in code not declared as a dependency, is not seen. Coverage needs a RESOLVED graph: an unpinned requirements.txt, or a pom without a resolved build, yields partial coverage rather than a clean verdict. An ecosystem the analyzer cannot scan is reported as unmeasured, never as clean.
- 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.
- D32 Data Compliance (PII/GDPR): PII/GDPR signals are heuristic pattern matches in code — they flag likely handling concerns, not legal compliance, and cannot trace where data actually flows at runtime.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- AC2 Forms & labels: Label association is read from static markup — a label wired up at runtime (JS-set aria-labelledby, framework-injected ids) reads as missing, a present label says nothing about whether its text is correct. A known UI-library field component (e.g. a JSX <TextField>) is now checked conservatively — flagged only when it carries NO label/aria-label/aria-labelledby/id/name — but wrapper/context-labelled libraries (Chakra/Radix FormControl+FormLabel) aren't statically visible (possible false positive) and non-JSX lowercased components are still skipped. A click handler on a plain element is now asked for a name too (it is a control the author declared), but the subtree test that answers it is deliberately generous: any DYNAMIC text expression in the subtree counts as a name, so an icon chosen by a ternary ({cond ? <IconA/> : <IconB/>}) reads as named, and a glyph component from a library the icon-import list does not know still names its parent. A clean result is "no unlabelled control found", not a labelling proof.
- AC3 Page structure: Page structure is read from the static markup tree — landmarks, headings and lang injected at runtime aren't seen, heading ORDER is checked structurally (not against the rendered visual hierarchy), and lang/title/main fire only on full documents, never partials, and the data-table check sees header-cell presence (a <th> exists), not whether each header correctly associates with its cells. Static readiness, not conformance.
- 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.
- DM4 Rich vs anemic model: Behaviour is detected as state mutation inside a method body — a method that enforces an invariant by validating-and-throwing without mutating reads as a query, and mutation delegated through an interface the scan can't resolve isn't credited; entities with zero public properties still drop out of the population. It detects that state changes, not whether the rule is correct.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- 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
17 method(s) exceeded the cyclomatic complexity threshold of 15; the worst was DebtsView.DebtsView at 65.
What to do
- Bring the 5 bodies over 30 down to 30 or less in Cyclomatic Complexity — start with DebtsView.DebtsView (cyclomatic 65), CsvImportWizardModal.CsvImportWizardModal (cyclomatic 61), TransactionsView.TransactionsView (cyclomatic 61). — 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 5 together lifts Cyclomatic Complexity from 6.4 to about 7.6/10, projected with the scoring formula itself and assuming each lands exactly at 30; a cleaner split scores higher.
- 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
21 method(s) exceeded the cognitive complexity threshold of 15; the worst was TransactionsView.TransactionsView at 71.
What to do
- Bring the 6 bodies over 30 down to 30 or less in Cognitive Complexity — start with TransactionsView.TransactionsView (cognitive 71), CsvImportWizardModal.CsvImportWizardModal (cognitive 68), DebtsView.DebtsView (cognitive 66). — 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 6 together lifts Cognitive Complexity from 5.4 to about 7.0/10, projected with the scoring formula itself and assuming each lands exactly at 30; a cleaner split scores higher.
- 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
21 god class(es) detected.
What to do
- Resolve the 14 FunctionTooLong finding(s) in God Classes — start with DebtsView.tsx (2), CsvImportWizardModal.tsx, TransactionsView.tsx. — One of this dimension's main actionable groups (14 warning-level).
- Resolve the 3 FileTooLong finding(s) in God Classes — start with DebtsView.tsx, CsvImportWizardModal.tsx, TransactionsView.tsx. — One of this dimension's main actionable groups (3 warning-level).
- Resolve the 3 ClassTooLong finding(s) in God Classes — start with DebtsView.tsx, CsvImportWizardModal.tsx, TransactionsView.tsx. — One of this dimension's main actionable groups (3 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
2 production modules (npm), 0 dependency cycle(s), 0 unstable depended-on module(s). Read from the build's own module declarations; 0 module(s) off the main sequence.
D6 · Cohesion (LCOM4)
4 of 36 classes have LCOM4 above 3.
What to do
- Resolve the 4 Low cohesion finding(s) in Cohesion (LCOM4) — start with debt.controller.ts, profile.controller.ts, fortnight.controller.ts. — One of this dimension's main actionable groups (4 warning-level).
- Enforce Cohesion (LCOM4) in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D9 · Test Distribution
105 test methods: 101 unit, 4 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 105 `it`/`test` case(s) across 16 test file(s) declaring at least one; its tier split is read from package names and paths only.
D10 · Test Quality
0 skipped, 0 zero-assertion, no mocking-framework packages referenced (hand-written doubles or no mocking) across 105 tests.
D11 · Test Reliability
0 flaky across 1 measured tier(s). JavaScript/TypeScript (vitest via `pnpm install --frozen-lockfile --ignore-scripts` in backend/ (105 tests); vitest via `pnpm install --frozen-lockfile --ignore-scripts` in frontend/ (0 tests)): measured (0 flaky).
What to do
- Resolve the 1 Test suite declares a test script but contains no test files finding(s) in Test Reliability. — One of this dimension's main actionable groups (1 issue-level).
D12 · Dependency Hygiene
22 outdated direct production npm dependency(ies) of 27 graded, 0 pinning defect(s), across 3 package.json (3 of them the product) and 2 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 Deprecated 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 package.json. — 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
Secret scan ran and found no leaked secrets.
D14 · License Compliance
0 of 27 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 27 production dependency(ies) this repository's committed lockfile resolves, across 3 product package.json manifest(s). Its 24 `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.
D15 · Churn × Complexity Hotspots
Top hotspots: frontend/src/views/DebtsView.tsx (3×65=195); frontend/src/views/TransactionsView.tsx (2×61=122); frontend/src/views/ProfileView.tsx (4×30=120)
What to do
- Resolve the 6 Hotspot finding(s) in Churn × Complexity Hotspots — start with DebtsView.tsx, TransactionsView.tsx, ProfileView.tsx. — One of this dimension's main actionable groups (6 warning-level).
D17 · Explicit Debt
2 deducted task-comment markers across 18857 LoC (0.0/KLoC) → score 10.0. Task comments only: this repository's language is read without a compiler, so D17's suppression, dead-code and commented-out-code arms did not run and this score counts fewer marker kinds than a .NET repository's would.
What to do
- Resolve the 2 TodoComment finding(s) in Explicit Debt — start with memory-transaction.repository.ts, TransactionsView.tsx. — One of this dimension's main actionable groups (2 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 project's documentation is strong: three README files (FEATURE_WISHLIST.md, RELEASING.md, SELF_HOSTING.md) cover the wish list, release process, and self-hosting guide with clear installation, configuration, and upgrade steps. The architecture/design docs are also present but not shown in this summary. All three documents are community-driven; the READMEs give the most guidance. (8 of 12 sampled documents could not be assessed: 1 of 2 evaluation groups failed.)
What to do
- Resolve the 1 Documentation finding(s) in Documentation Quality — start with FEATURE_WISHLIST.md. — One of this dimension's main actionable groups (1 recommendation-level).
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.
D23 · Boundary Type-Coupling
No domain types leak across context boundaries (2 contexts).
D26 · Project Cohesion
2 of 2 build units (npm) flagged as possibly oversized/incoherent.
What to do
- Resolve the 1 Projects may be oversized for their cohesion finding(s) in Project Cohesion. — One of this dimension's main actionable groups (1 recommendation-level).
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
22 finding(s): 0 critical, 22 high, 0 medium, 0 low. 15 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 1 file(s) — `backend/src/application/errors/error-mapper.ts` (line 48, line 78, line 93, …) — 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 4 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED (4). — One of this dimension's main actionable groups (4 issue-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- No action in Static Analysis (SAST) — all 15 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 (15 issue-level, 0 of them charged here).
D30 · Dependency Vulnerabilities
36 finding(s): 4 critical, 19 high, 10 medium, 3 low.
What to do
- Resolve the 19 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (19). — One of this dimension's main actionable groups (19 issue-level).
- Resolve the 8 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (8). — One of this dimension's main actionable groups (8 warning-level).
- Resolve the 4 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (4). — One of this dimension's main actionable groups (4 issue-level).
D31 · IaC & Container Security
8 finding(s): 0 critical, 2 high, 4 medium, 2 low.
What to do
- Resolve the 2 High IaC finding(s) in IaC & Container Security — start with REDACTED (2). — One of this dimension's main actionable groups (2 issue-level).
- Resolve the 4 Medium IaC finding(s) in IaC & Container Security — start with REDACTED (3), REDACTED. — One of this dimension's main actionable groups (4 warning-level).
- Resolve the 2 Low IaC finding(s) in IaC & Container Security — start with REDACTED (2). — One of this dimension's main actionable groups (2 recommendation-level).
D32 · Data Compliance (PII/GDPR)
2 finding(s): 0 critical, 0 high, 2 medium, 0 low. semgrep could not parse 1 file(s) — `backend/src/application/errors/error-mapper.ts` — so the PII/GDPR sweep did not cover the unparsed regions of them; rows reported elsewhere in those files are real.
What to do
- Resolve the 2 REDACTED finding(s) in Data Compliance (PII/GDPR) — start with REDACTED (2). — One of this dimension's main actionable groups (2 warning-level).
D34 · Knowledge Freshness
Every significant source file has living knowledge — recently and meaningfully worked. Counted over 84 of the 233 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
D35 · Change Coupling
No strong hidden change-coupling between production files.
D36 · Supply-chain Provenance & Signing
0/4 supply-chain integrity signals present (provenance, signing, SBOM, pinned actions).
What to do
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
- Resolve the 1 REDACTED finding(s) in Supply-chain Provenance & Signing. — One of this dimension's main actionable groups (1 recommendation-level).
D37 · Vulnerability-disclosure Policy
A vulnerability-disclosure policy (SECURITY.md) is published with a reporting contact.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
Frontend & cross-cutting dimensions
AC2 · Forms & labels
- This UI-library field component is named only by a placeholder — a placeholder is not a label (it vanishes as soon as the user types, and many assistive technologies ignore it). Give it a real name whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed. (×6) — frontend/src/components/ChatWidget.tsx:304, frontend/src/components/FortnightSelector.tsx:131, frontend/src/components/HelpDrawer.tsx:90, …
- This UI-library field component has no label / aria-label / aria-labelledby / id — and neither does anything it renders (a name prop is the form-submission key, not a label) — so it likely renders an unlabelled control. Name it whichever way this library supports: a label prop, an aria-label, or an id on the rendered control with a <label htmlFor> pointing at it. For a group of controls, name the group itself (aria-label, or a fieldset with a legend) — labelling each item leaves the set unnamed. (×2) — frontend/src/components/charts/FireExtinguisherWhatIfChart.tsx:97, frontend/src/components/transactions/import/CsvImportWizardModal.tsx:562
What to do
- Give every control a programmatic label (a <label for> / wrapping <label> / aria-label) and every button text — a placeholder is not a label.
AC3 · Page structure
- No <main> (or role="main") means no "skip to content" target and a weaker landmark map. This document's body is only the mount point <div id="root">, so there is no content here to wrap — render the <main> from the component mounted into it. — frontend/index.html:2
What to do
- Declare <html lang>, a document <title> and a <main> landmark, keep headings in order, leave zoom enabled, title iframes and drop meta-refresh.
AC5 · ARIA correctness
AC6 · Visual & motion safety
- `.ganttBarFill` moves (`transition: left 300ms ease, width 300ms ease`) and nothing reads prefers-reduced-motion for it — no @media (prefers-reduced-motion) rule for this element, no reset this project loads — so a motion-sensitive user cannot turn it off (WCAG 2.3.3). Declare it under @media (prefers-reduced-motion: no-preference), or neutralise it under reduce. — frontend/src/components/charts/DebtSnowballGanttChart.module.css:13
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 47 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.
AX10 · Code composition
AX3 · Project dependency cycles
AX4 · Dependency direction
AX5 · Architecture & structure
AX6 · Interface segregation
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.
DM1 · Aggregate boundaries
DM10 · One transaction, one aggregate
DM11 · Constructible invalid state
- `FortnightSnapshot`'s public constructor takes `id` as raw primitives, and neither of the two things that would make that safe was found. What was searched, so you can tell an absence from a miss: for VALIDATION, the constructor body was checked for any branch (`if`, ternary, `switch`) or any call — it has neither, only assignments; for a FACTORY, only this type's OWN static members were read, and only names beginning `Create`, `Of`, `From`, `New` or `Build` — one inherited from a base type, one on a companion builder, or one called `Parse`, `Make` or `Rehydrate` is not seen. If either exists, this row is wrong. If neither does, a caller can build a `FortnightSnapshot` that breaks the rules it exists to enforce, and every rule downstream then has to cope with a state the model said was impossible. Guard in the constructor, take value objects that validate themselves, or make the constructor private behind a `Create` that can refuse. — backend/src/domain/model/fortnight-snapshot.entity.ts:61
What to do
- Give each aggregate one way in that can refuse — a guarded constructor, value-object parameters that validate themselves, or a private constructor behind a factory that returns a failure.
DM2 · Strongly-typed ids
- `DebtBalanceAdjustment.userId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/src/domain/model/debt-balance-adjustment.entity.ts:7
- `DebtBalanceAdjustment.debtId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/src/domain/model/debt-balance-adjustment.entity.ts:8
- `SkippedDebtPayment.debtId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/src/domain/model/skipped-debt-payment.entity.ts:10
- `SkippedDebtPayment.fortnightId` is a raw `string` — give it a strongly-typed id: a dedicated single-field type wrapping the `string`, in whatever form your language spells that. — backend/src/domain/model/skipped-debt-payment.entity.ts:11
What to do
- Adopt strongly-typed ids across the domain — finish the migration or document the boundary; primitive ids invite transposed-argument bugs.
DM4 · Rich vs anemic model
- `Debt` is an aggregate/entity with 8 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/src/domain/model/debt.entity.ts:35
- `Transaction` is an aggregate/entity with 8 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/src/domain/model/transaction.entity.ts:47
- `Allocation` is an aggregate/entity with 2 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/src/domain/model/allocation.entity.ts:26
- `FortnightSnapshot` is an aggregate/entity with 9 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/src/domain/model/fortnight-snapshot.entity.ts:34
- `BudgetProfile` is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/src/domain/model/budget-profile.entity.ts:17
- `DebtBalanceAdjustment` is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/src/domain/model/debt-balance-adjustment.entity.ts:6
- `SkippedDebtPayment` is an aggregate/entity with 6 data propert(ies) but no state-changing behaviour (only data and queries) — the business logic lives in a service. — backend/src/domain/model/skipped-debt-payment.entity.ts:9
What to do
- Move business rules onto the aggregates/entities they govern so invariants are enforced at the source, not in anemic services.
DM5 · Encapsulated state
DM6 · Domain ↔ infrastructure boundary
DM7 · Repository granularity
DM9 · Scattered domain decisions
- backend.src.domain.model.transaction_entity.Transaction's [destinationBucket, kind] are judged in backend.src.application.use-cases.get-dashboard_use-case.GetDashboardUseCase, backend.src.application.use-cases.get-fortnight_use-case.GetFortnightUseCase, backend.src.domain.model.fortnight-snapshot_entity.FortnightSnapshot — the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it.
- backend.src.domain.model.transaction_entity.Transaction's [destinationBucket, sourceBucket] are judged in backend.src.application.use-cases.list-transactions_use-case.ListTransactionsUseCase, backend.src.infrastructure.persistence.memory.memory-transaction_repository.MemoryTransactionRepository — the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it.
- backend.src.domain.model.transaction_entity.Transaction's [kind, sourceBucket] are judged in backend.src.application.use-cases.get-dashboard_use-case.GetDashboardUseCase, backend.src.application.use-cases.get-fortnight_use-case.GetFortnightUseCase, backend.src.domain.model.fortnight-snapshot_entity.FortnightSnapshot — the same decision, restated. Every copy is a chance to drift, and copies drift silently because each one looks correct on its own. Move the judgement onto the type that owns the members and let the call sites ask it.
What to do
- Move each repeated judgement onto the type that owns the members it reads, so the rule has one home and cannot drift.
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
- README.md installs `#` (`pnpm install # Install all dependencies`), but no package.json declares it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:374
- README.md installs `Install` (`pnpm install # Install all dependencies`), but no package.json declares it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:374
- README.md installs `all` (`pnpm install # Install all dependencies`), but no package.json declares it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:374
- README.md installs `dependencies` (`pnpm install # Install all dependencies`), but no package.json declares it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:374
- README.md names React 18, but the manifest declares `react` ^19.2.0. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — README.md:433
- backend/README.md names `.entity.ts`, but no file or folder `.entity.ts` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — backend/README.md:221
- backend/README.md names `.value-object.ts`, but no file or folder `.value-object.ts` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — backend/README.md:221
- backend/README.md names `.repository.interface.ts`, but no file or folder `.repository.interface.ts` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — backend/README.md:221
- backend/README.md names `.use-case.ts`, but no file or folder `.use-case.ts` exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — backend/README.md:221
- docs/ARCHITECTURE.md names React 18, but the manifest declares `react` ^19.2.0. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, 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/ARCHITECTURE.md:74
- frontend/README.md names React 18, but the manifest declares `react` ^19.2.0. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — frontend/README.md:52
- frontend/README.md links to `../docs/TESTING_CHAT_CONTEXT.md`, but `docs/TESTING_CHAT_CONTEXT.md` does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents' own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong. — frontend/README.md:365
What to do
- Reconcile the README with reality: README.md installs `#` (`pnpm install # Install all dependencies`), but no package.json declares it; README.md installs `Install` (`pnpm install # Install all dependencies`), but no package.json declares it; README.md installs `all` (`pnpm install # Install all dependencies`), but no package.json declares it; README.md installs `dependencies` (`pnpm install # Install all dependencies`), but no package.json declares it; README.md names React 18, but the manifest declares `react` ^19.2.0.
P1 · CI/CD gates
P2 · Observability
- No logging call was found in the 226 JavaScript/TypeScript production file(s) this check read across 2 module(s). Each was searched for its ecosystem's logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger) and for a call on a receiver named `log`/`logger` (or ending in `Logger`/`_logger`) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read — this is 'no logging found by this walk', not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose.
What to do
- Adopt pino (or winston) and log at meaningful points in the services you run.
- 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 3022 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
What to do
- Document RTO/RPO and a tested restore procedure (a backup config alone isn't disaster recovery).
P6 · Release Hygiene
P8 · Schema migrations
PF3 · Async & latency hygiene
- `fs.existsSync` in `getAvatar` 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. — backend/src/presentation/http/controllers/profile.controller.ts:59
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
- 5 duplicated blocks under the repository root have copies in at least two of the sibling directories backend, frontend — 1 of them are reported below, and 4 are counted here but not reported individually: those copies match on shape but no longer clear R10's bar for an individually reported row — either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 5 and which does not depend on how exactly each block's copies still match. That concentration is one structural fact, not 5 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module — a common library every sibling imports — rather than 5 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on. — backend/src/application/dtos/debt-payoff-plan.dto.ts:5
- 5 duplicated blocks under frontend/src/ have copies in at least two of the sibling directories components, contexts, hooks, views — 1 of them are reported below, and 4 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. — frontend/src/components/transactions/import/CsvImportWizardModal.tsx:516
- frontend/src/views/DebtsView.tsx:686 · frontend/src/views/DebtsView.tsx:804 — 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. — frontend/src/views/DebtsView.tsx:686
- backend/src/application/use-cases/get-fortnight.use-case.ts:129 · backend/src/application/use-cases/list-fortnights.use-case.ts:78 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — backend/src/application/use-cases/get-fortnight.use-case.ts:129
- frontend/src/components/transactions/AddTransactionModal.tsx:43 · frontend/src/components/transactions/EditTransactionModal.tsx:40 — the two spans are one implementation copied and then locally edited — 444 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — frontend/src/components/transactions/AddTransactionModal.tsx:43
- backend/src/application/use-cases/get-dashboard.use-case.ts:219 · backend/src/application/use-cases/get-fortnight.use-case.ts:134 · backend/src/application/use-cases/list-fortnights.use-case.ts:83 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — backend/src/application/use-cases/get-dashboard.use-case.ts:219
- frontend/src/views/LoginView.tsx:6 · frontend/src/views/SignupView.tsx:6 — 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. — frontend/src/views/LoginView.tsx:6
- backend/src/application/use-cases/get-debt-payoff-plan.use-case.ts:167 · backend/src/application/use-cases/list-transactions.use-case.ts:148 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — backend/src/application/use-cases/get-debt-payoff-plan.use-case.ts:167
- backend/src/infrastructure/persistence/postgres/postgres-skipped-debt-payment.repository.ts:48 · backend/src/infrastructure/persistence/postgres/postgres-transaction.repository.ts:63 — the two spans are one implementation copied and then locally edited — 304 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — backend/src/infrastructure/persistence/postgres/postgres-skipped-debt-payment.repository.ts:48
- backend/src/application/dtos/schemas/record-transaction.schema.ts:30 · backend/src/application/dtos/schemas/update-transaction.schema.ts:27 — 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. — backend/src/application/dtos/schemas/record-transaction.schema.ts:30
- backend/src/application/use-cases/login.use-case.ts:7 · backend/src/application/use-cases/signup.use-case.ts:9 — the two spans are one implementation copied and then locally edited — 154 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — backend/src/application/use-cases/login.use-case.ts:7
- backend/src/application/dtos/debt-payoff-plan.dto.ts:5 · frontend/src/api/types.ts:170 — the 2 copies are spread across 2 files, and the CITED SPAN is a run of DECLARATIONS inside a construct — the members of a type, or the entries of an object or array literal — with no statement anywhere in it. Do not read this as an extract-a-helper row: nothing here executes, so there is no call site, and a call expression cannot stand where a member declaration or a literal's entry was. What repeats is a SHAPE, and which shape decides the move. Where the copies declare the same members, the repetition is a missing common ancestor: give it a base type, an interface both extend, a generic instantiated twice, or — where the copies are a literal's entries rather than a type's members — one shared constant each site spreads or refers to, so the set is written once. Where they declare DIFFERENT members and only the form is shared — a decorator and its options, an annotation, a registration table's keys — the form is prescribed by a framework or a schema rather than copied, and the only collapse available is to generate the declarations from that schema; where you do not own the generator, this is the cost of the framework and there is nothing to extract. Check which of the two it is before acting: these copies still drift apart the first time only one of them is edited, which is why the repetition is reported, but the sentence to act on is not the same in both cases. — backend/src/application/dtos/debt-payoff-plan.dto.ts:5
- frontend/src/components/charts/TagShareDonut.tsx:9 · frontend/src/components/charts/TopTagsSpendingChart.tsx:8 — 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. — frontend/src/components/charts/TagShareDonut.tsx:9
- frontend/src/components/transactions/PlanCard.tsx:162 · frontend/src/components/transactions/PlanCard.tsx:237 — the two spans are one implementation copied and then locally edited — 216 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — frontend/src/components/transactions/PlanCard.tsx:162
- frontend/src/components/charts/IncomeExpensesTrendChart.tsx:8 · frontend/src/components/charts/TagShareDonut.tsx:19 · frontend/src/components/charts/TopTagsSpendingChart.tsx:22 — the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — frontend/src/components/charts/IncomeExpensesTrendChart.tsx:8
- backend/src/application/use-cases/get-dashboard.use-case.ts:83 · backend/src/application/use-cases/get-fortnight.use-case.ts:78 — the two spans are one implementation copied and then locally edited — 170 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — backend/src/application/use-cases/get-dashboard.use-case.ts:83
- frontend/src/views/DebtsView.tsx:345 · frontend/src/views/FortnightView.tsx:165 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — frontend/src/views/DebtsView.tsx:345
- frontend/src/components/charts/DebtPayoffMilestones.tsx:23 · frontend/src/components/charts/DebtSnowballGanttChart.tsx:41 — 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. — frontend/src/components/charts/DebtPayoffMilestones.tsx:23
- frontend/src/views/DashboardView.tsx:43 · frontend/src/views/DebtsView.tsx:207 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — frontend/src/views/DashboardView.tsx:43
- backend/src/domain/services/debt-payoff-calculator.ts:250 · backend/src/domain/services/debt-payoff-calculator.ts:274 — 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. — backend/src/domain/services/debt-payoff-calculator.ts:250
- backend/src/infrastructure/persistence/postgres/postgres-user.repository.ts:18 · backend/src/infrastructure/persistence/postgres/postgres-user.repository.ts:35 — 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. — backend/src/infrastructure/persistence/postgres/postgres-user.repository.ts:18
- backend/src/domain/services/debt-payoff-calculator.ts:78 · backend/src/domain/services/debt-payoff-calculator.ts:147 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — backend/src/domain/services/debt-payoff-calculator.ts:78
- backend/src/application/import/csv/csv-normalizer.ts:53 · backend/src/application/import/csv/csv-normalizer.ts:80 — 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. — backend/src/application/import/csv/csv-normalizer.ts:53
- frontend/src/views/DebtsView.tsx:897 · frontend/src/views/FortnightView.tsx:268 — 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. — frontend/src/views/DebtsView.tsx:897
- frontend/src/views/TransactionsView.tsx:118 · frontend/src/views/TransactionsView.tsx:148 — 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. — frontend/src/views/TransactionsView.tsx:118
- backend/src/infrastructure/persistence/postgres/postgres-fortnight-snapshot.repository.ts:116 · backend/src/infrastructure/persistence/postgres/postgres-fortnight-snapshot.repository.ts:172 — 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. — backend/src/infrastructure/persistence/postgres/postgres-fortnight-snapshot.repository.ts:116
- backend/src/infrastructure/persistence/postgres/postgres-fortnight-snapshot.repository.ts:179 · backend/src/infrastructure/persistence/postgres/postgres-fortnight-snapshot.repository.ts:207 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — backend/src/infrastructure/persistence/postgres/postgres-fortnight-snapshot.repository.ts:179
- frontend/src/api/client.ts:115 · frontend/src/api/client.ts:143 — 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. — frontend/src/api/client.ts:115
- frontend/src/components/transactions/import/CsvImportWizardModal.tsx:396 · frontend/src/components/transactions/import/CsvImportWizardModal.tsx:409 · frontend/src/components/transactions/import/CsvImportWizardModal.tsx:422 — all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites — resolving only two of them leaves the rest to drift apart the first time one is edited. — frontend/src/components/transactions/import/CsvImportWizardModal.tsx:396
- backend/scripts/ensure-schema.ts:9 · backend/scripts/migrate-to-multi-user.ts:51 — the two spans are one implementation copied and then locally edited — 58 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row's finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters — or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one. — backend/scripts/ensure-schema.ts:9
- backend/src/domain/services/debt-payoff-calculator.ts:99 · backend/src/domain/services/debt-payoff-calculator.ts:169 — all 2 copies are in the same file, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — backend/src/domain/services/debt-payoff-calculator.ts:99
- backend/src/presentation/http/routes/fortnight.routes.ts:13 · backend/src/presentation/http/routes/transaction.routes.ts:16 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — backend/src/presentation/http/routes/fortnight.routes.ts:13
- frontend/src/components/charts/DebtPayoffTimelineChart.tsx:14 · frontend/src/components/charts/DebtSnowballGanttChart.tsx:30 — the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — frontend/src/components/charts/DebtPayoffTimelineChart.tsx:14
- frontend/src/components/charts/DebtPayoffTimelineChart.tsx:30 · frontend/src/components/charts/IncomeExpensesTrendChart.tsx:19 · frontend/src/components/charts/TagShareDonut.tsx:30 · frontend/src/components/charts/TopTagsSpendingChart.tsx:33 — the 4 copies are spread across 4 files, and the CITED SPAN is not a self-contained block — it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead — the whole function, component or branch these lines sit in — and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported. — frontend/src/components/charts/DebtPayoffTimelineChart.tsx:30
- frontend/src/components/transactions/import/CsvImportWizardModal.tsx:516 · frontend/src/views/DebtsView.tsx:957 — 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. — frontend/src/components/transactions/import/CsvImportWizardModal.tsx:516
- REDACTED:29 · REDACTED:43 — 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:29
- frontend/src/views/DebtsView.tsx:670 · frontend/src/views/DebtsView.tsx:787 — 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. — frontend/src/views/DebtsView.tsx:670
- frontend/src/views/FortnightView.tsx:175 · frontend/src/views/ProfileView.tsx:302 — 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. — frontend/src/views/FortnightView.tsx:175
- backend/src/application/use-cases/create-debt.use-case.ts:25 · backend/src/application/use-cases/update-debt.use-case.ts:24 — 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. — backend/src/application/use-cases/create-debt.use-case.ts:25
- backend/src/application/use-cases/get-dashboard.use-case.ts:63 · backend/src/application/use-cases/get-debt-payoff-plan.use-case.ts:76 — 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. — backend/src/application/use-cases/get-dashboard.use-case.ts:63
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R11 · Import Boundaries
- backend/src/application/use-cases/login.use-case.ts:2 imports backend/src/infrastructure/auth/JwtProvider.ts against the layered-src rules. — backend/src/application/use-cases/login.use-case.ts:2
- backend/src/application/use-cases/login.use-case.ts:3 imports backend/src/infrastructure/auth/PasswordService.ts against the layered-src rules. — backend/src/application/use-cases/login.use-case.ts:3
- backend/src/application/use-cases/logout.use-case.ts:2 imports backend/src/infrastructure/auth/TokenBlacklist.ts against the layered-src rules. — backend/src/application/use-cases/logout.use-case.ts:2
- backend/src/application/use-cases/refresh-token.use-case.ts:1 imports backend/src/infrastructure/auth/JwtProvider.ts against the layered-src rules. — backend/src/application/use-cases/refresh-token.use-case.ts:1
- backend/src/application/use-cases/signup.use-case.ts:4 imports backend/src/infrastructure/auth/JwtProvider.ts against the layered-src rules. — backend/src/application/use-cases/signup.use-case.ts:4
- backend/src/application/use-cases/signup.use-case.ts:5 imports backend/src/infrastructure/auth/PasswordService.ts against the layered-src rules. — backend/src/application/use-cases/signup.use-case.ts:5
- backend/src/domain/services/barefoot-advisor.service.ts:1 imports backend/src/application/dtos/chat.dto.ts against the layered-src rules. — backend/src/domain/services/barefoot-advisor.service.ts:1
What to do
- Fix the listed violations: respect the layer/slice order — import only through a slice's public index and never upward into a higher layer (7 rows).
R2 · Cyclomatic Complexity
- createApp has cyclomatic complexity 30 and cognitive complexity 33; 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. — backend/src/presentation/http/app.ts:85
- DashboardView has cyclomatic complexity 29 and cognitive complexity 23; 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. — frontend/src/views/DashboardView.tsx:35
- PlanCard has cyclomatic complexity 25 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. — frontend/src/components/transactions/PlanCard.tsx:51
- DebtsView has cyclomatic complexity 24 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 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. — frontend/src/views/DebtsView.tsx:76
- formatPageContext has cyclomatic complexity 22 and cognitive complexity 48; 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. — backend/src/domain/services/barefoot-advisor.service.ts:269
- CsvImportWizardModal has cyclomatic complexity 22 and cognitive complexity 21; 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. — frontend/src/components/transactions/import/CsvImportWizardModal.tsx:62
- TransactionsTable has cyclomatic complexity 18 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. — frontend/src/components/transactions/TransactionsTable.tsx:33
- parse has cyclomatic complexity 14 and cognitive complexity 20; 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. — backend/src/application/import/csv/csv-parser.ts:8
- mapError 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. — backend/src/application/errors/error-mapper.ts:29
- parse has cyclomatic complexity 13 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. — backend/src/application/import/qif/qif-parser.ts:10
- generateResponse has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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. — backend/src/infrastructure/ai/gemini-ai-provider.ts:102
- request has cyclomatic complexity 12 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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. — frontend/src/api/client.ts:78
- parse 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. — backend/src/application/import/csv/generic-mapped-csv-importer.ts:14
- normalizeRow has cyclomatic complexity 11 and cognitive complexity 15; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive 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. — backend/src/application/import/csv/csv-importer-base.ts:22
What to do
- Break down the listed branch-heavy functions; aim P95 cyclomatic ≤ 5.
R3 · Large Files
- frontend/src/views/DebtsView.tsx has 972 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — frontend/src/views/DebtsView.tsx:1
- frontend/src/components/transactions/import/CsvImportWizardModal.tsx has 607 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — frontend/src/components/transactions/import/CsvImportWizardModal.tsx:1
- frontend/src/views/TransactionsView.tsx has 601 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — frontend/src/views/TransactionsView.tsx:1
- frontend/src/views/ProfileView.tsx has 492 significant lines (blank lines excluded), over the 400-line bar, and contains logic — a file this long is usually several responsibilities in one module. — frontend/src/views/ProfileView.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) — frontend/src/views/DebtsView.tsx:1, frontend/src/views/TransactionsView.tsx:1, frontend/src/components/transactions/import/CsvImportWizardModal.tsx:1, …
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R6 · Tooling
R7 · Dead Code
- 2 file(s) (~95 LoC) were excluded from dead-code analysis — declare main/module/exports or a conventional entry (src/index.*, an index.html script) so reachability can see this package.
- Nothing imports this binding — it is safe to review for removal. (×13) — backend/src/application/dtos/schemas/create-fortnight.schema.ts:81, backend/src/application/dtos/schemas/debt-balance-adjustment.schema.ts:17, backend/src/application/dtos/schemas/profile.schema.ts:23, …
- This private field is assigned but never read: every reference in its class is a plain assignment, no string key or test reads it by name, and the instance never escapes as a whole (so nothing serialises or destructures it). The value it holds is dead state — read it where it was meant to take effect, or remove the field and its assignments. — backend/src/application/use-cases/get-dashboard.use-case.ts:36
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene
- Declared in frontend/package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×3)
What to do
- Remove unused dependencies, declare unlisted imports explicitly, and demote type-/test-only packages to devDependencies.
R9 · Circular Imports
S1 · Web-Security Posture
- None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, …) is configured — defense in depth, even when a reverse proxy could set them. This is reported because `nginx.conf` is committed to this repository and declares the server that serves it, so the configuration that would carry these headers is in this repository and was read in full. (−2.0 on this card.) — frontend/nginx.conf:1
- `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.) — backend/src/server.ts:12
What to do
- Set security response headers on the surface this repository serves: an `add_header` directive per header in the nginx/Caddy/Apache config, a `_headers` / `vercel.json` / `netlify.toml` entry for a static host, or `helmet()` in the HTTP server. `Content-Security-Policy` is the one that pays for itself first — it is what contains an injected script once one reaches the page — followed by `X-Content-Type-Options: nosniff` and a frame policy (`X-Frame-Options: DENY`, or CSP `frame-ancestors`). Where the app is served from a build container, the header configuration belongs in the image beside the built assets, so it ships with them rather than depending on where it lands.
- 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 0/5 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.
- `refreshAccessToken` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — frontend/src/api/client.ts:57
- `request` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — frontend/src/api/client.ts:78
- `requestAuth` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — frontend/src/api/client.ts:132
- `uploadProfileAvatar` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — frontend/src/api/client.ts:316
- `previewTransactionCsvImport` awaits `fetch(…)` but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept `{ signal }` and pass it through: `fetch(url, { signal })`. — frontend/src/api/client.ts:334
What to do
- Thread an AbortSignal through async functions that make requests, so the work stops when its caller gives up.
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
- 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. (×5) — frontend/src/api/errors.ts:57, REDACTED:37, REDACTED:51, …
- `.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. (×8) — frontend/src/components/ProfileMenu.tsx:24, frontend/src/views/TransactionsView.tsx:211, frontend/src/views/ProfileView.tsx:157, …
What to do
- Swallowed exception (empty catch)
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- ~2.1 `!` null assertions per 1k TypeScript source lines — 44 assertion(s) across the 20915 source line(s) of the 229 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: backend/src/application/use-cases/get-dashboard.use-case.ts (5), backend/src/application/use-cases/get-fortnight.use-case.ts (5), backend/src/application/use-cases/list-fortnights.use-case.ts (5). Each one tells the compiler to trust the author about null, suppressing the very diagnostic `strictNullChecks` exists to produce.
What to do
- The findings name the configuration each number was taken from and, for the assertions, the files that hold them. Turn null checking on where it is off — `"strict": true` in the base tsconfig that the others extend switches `strictNullChecks` on with the rest of the family — and then resolve the assertions rather than adding to them. A `!` on a value the checker could show to be null is a promise the author cannot check from where they are standing, and each one is a `TypeError: Cannot read properties of null` waiting for the path that makes it true; where the value genuinely cannot be null, say something the checker can see instead (narrow it with a test, make the property required, drop the `?`).
WCAG coverage — what static analysis assessed
| Dimension | WCAG 2.2 A/AA criteria | Coverage |
|---|---|---|
| AC2 · Forms & labels | 1.3.1, 3.3.2, 4.1.2 | Partial signal |
| AC3 · Page structure | 1.4.4, 2.2.1, 2.4.1, 2.4.2, 3.1.1, 4.1.2 | Partial signal |
| 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 | 65% | Adequate | Acceptable, with room to improve. |
| Architecture | 75% | Adequate — gated by D26 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Maturity | 54% | Adequate — gated by M4 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 39% | Weak — gated by R4, P2, P3 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 63% | Adequate — gated by D29, D30, D36 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 64% | Adequate — gated by DM4, DM2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Accessibility | 42% | Weak — gated by AC2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Performance | 85% | Exemplary | Strongest area. |
Unscored — 2 check(s) recorded observations but carry no score
- X10 Duplicated predicate — 8 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
- X7 Silent fallback defaults — 1 observation(s) recorded · Advisory — this card reports evidence and never carries a score.
Not evidenced — 3 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: this repository stores data through 'pg' (backend/scripts/backfill-timezone-boundaries.ts:18) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether its changes need an audit trail could not be established, and the trail's absence is not scored.
- C4 Data Retention — Not assessed: this repository stores data through 'pg' (backend/scripts/backfill-timezone-boundaries.ts:18) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether a retention limit applies here could not be established, and its absence is not scored.
- C5 Data-Subject Rights — Not assessed: this repository stores data through 'pg' (backend/scripts/backfill-timezone-boundaries.ts:18) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so whether data-subject rights apply here could not be established, and their absence is not scored.
Not included — 42 check(s) not relevant to this codebase
- AC1 Text alternatives — No image/media element found in the parsed markup — AC1 not applicable here.
- AC4 Keyboard semantics — No interactive element found in the parsed markup — AC4 not applicable here.
- AX1 Captive dependencies — Not applicable: this repository's TypeScript imports no dependency-injection container and defines no container of its own — nothing that both registers and resolves bindings, and nothing that names two lifetimes — so nothing holds one lifetime's instance while handing out another's.
- AX2 Stateful singletons — Not applicable: TypeScript/JavaScript runs each process's requests on one event loop, so no two requests write a shared object at the same instant (interleaving across an await is a different defect).
- AX7 Slice cohesion — not applicable — not a vertical-slice architecture
- AX8 Test isolation — no test/production split to check
- AX9 CQS / query purity — no CQRS query handlers detected — query purity is not applicable to this codebase
- AXB2 Runtime readiness — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- AXR1 Runtime accessibility — compose up failed (exit 18 — an image could not be pulled) — backend Pulling frontend Pulling postgres Pulling backend Warning Get "https://registry-1.docker.io/v2/": Forbidden postgres Error Get "https://registry-1.docker.io/v2/": Forbidden frontend Warning context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: postgres Pulling frontend Warning Get "https://registry-1.docker.io/v2/": Forbidden backend Warning Get "https://registry-1.docker.io/v2/": Forbidden postgres Error Get "https://registry-1.docker.io/v2/": Forbidden WARNING: Some service image(s) must be built from source by running: docker compose build frontend backend 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.
- C1 Data Protection — Not assessed: this repository stores data through 'pg' (backend/scripts/backfill-timezone-boundaries.ts:18) but declares no persisted model this check reads (TypeORM/MikroORM/sequelize-typescript/NestJS-Mongoose entities, Mongoose schemas, Sequelize or Drizzle tables, Knex migrations, Prisma models). Personal data may be written through raw SQL or a hosted backend, so the absence of a personal-data field here is not evidence that none is stored, and encryption at rest is not scored over a subject that could not be established.
- D16 Bus Factor — single-contributor repository — bus factor is not applicable
- D18 Solution Shape — D18 scores the shape of a .NET solution; this repository has no .NET solution or project files, so the dimension does not apply.
- D22 Internal API Consistency — No intentionally-exposed public API to evaluate for consistency.
- 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.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.ts, .tsx) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D44 Platform End-of-Life — Platform end-of-life not assessed — this repository declares no platform this pass reads
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured — backend/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov — add `@vitest/coverage-v8` (or `@vitest/coverage-istanbul`) as a devDependency. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository's maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run.
- DM3 Integration-event coupling — no integration events detected — coupling check not applicable
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P12 CI test-gate honesty — Reported, not scored — and nothing was matched here. The coverage check applies to any stack, and the automatic-re-run check to any GitHub-Actions workflow, but the checks for excluded tests, skipped tests and sleep-based synchronisation currently recognise only some ecosystems' test-runner idioms, so on a repository built with another stack the zeros below mean 'not checked', not 'clean'.
- P7 Outbound HTTP resilience — no outbound HTTP usage detected — no HTTP client call or construction in the JavaScript/TypeScript source (service entry point: backend/src/presentation/http/app.ts:281 (express()))
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `vitest --coverage`, `jest --coverage`, `bun test --coverage --coverage-reporter=lcov`, or `nyc`) and commit it — a hosted scan measures a clone of the repository, so a report that exists only in a working tree, a CI runner's or your own, never reaches it; the artefact is commonly gitignored, so `git add -f` that one file (or un-ignore its path) and commit it alongside the code it measures, or wire coverage collection into CI, to enable this cross-layer check
- PF1 Benchmark discipline — Not applicable: no benchmark suite was found. This check searched for tinybench, mitata, benchmark.js, benny or vitest `bench(...)` calls in files that import them (or `*.bench.*` files), or one of those in a package.json, and for a `*benchmark*` script that this repository's CI runs. Benchmarks are credited as a bonus, so their absence is neither scored nor deducted.
- PF2 Allocation hygiene — Not applicable: TypeScript/JavaScript runs on a garbage-collected runtime that gives a program no allocation-control idiom to choose on a hot path — no pools, stack allocation or value types — so allocation awareness is not something this code can be rated on.
- R5 Dependency Freshness — uses a pnpm lockfile — dependency freshness not measured here; JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — Not applicable: this check looks for a loop whose body adds to or removes from the very collection the loop is walking, invalidating the enumerator it holds, and in this repository's languages that cannot happen. JavaScript and TypeScript have no iterator that a change can invalidate: an `Array` is walked by index against its live length, and a `Map` or `Set` by the ECMAScript specification's live entry list, so a body that adds to, removes from or empties what it walks raises nothing — every loop form (`for…of`, `for…in`, `forEach`, `map`, `filter`, `reduce`, `entries()`) on every built-in collection (`Array`, `Map`, `Set`, plain objects, `URLSearchParams`, `Headers`, `FormData`) runs to completion. Such a loop can still skip an element or never end, which is a different defect and not the one this check asks about. Not a gap in the analyzer and not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- 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.
- 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 — 48 finding(s)
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Test suite declares a test script but contains no test files: frontend/
- REDACTED
- REDACTED
- REDACTED
Serious — 238 finding(s)
- No test reaches this file frontend/src/views/DebtsView.tsx:1
- No test reaches this file frontend/src/views/TransactionsView.tsx:1
- No test reaches this file frontend/src/components/transactions/import/CsvImportWizardModal.tsx:1
- No test reaches this file frontend/src/views/ProfileView.tsx:1
- No test reaches this file frontend/src/api/client.ts:1
- No test reaches this file frontend/src/views/FortnightView.tsx:1
- No test reaches this file frontend/src/views/DashboardView.tsx:1
- No test reaches this file frontend/src/components/ChatWidget.tsx:1
- No test reaches this file backend/src/presentation/http/app.ts:1
- No test reaches this file frontend/src/api/types.ts:1
- No test reaches this file frontend/src/components/transactions/PlanCard.tsx:1
- No test reaches this file frontend/src/constants/helpContent.ts:1
- No test reaches this file backend/src/application/use-cases/get-dashboard.use-case.ts:1
- No test reaches this file frontend/src/components/transactions/TransactionsTable.tsx:1
- No test reaches this file backend/src/infrastructure/persistence/postgres/postgres-fortnight-snapshot.repository.ts:1
- No test reaches this file backend/src/application/use-cases/get-debt-payoff-plan.use-case.ts:1
- No test reaches this file backend/src/application/use-cases/get-fortnight.use-case.ts:1
- No test reaches this file backend/src/application/use-cases/list-transactions.use-case.ts:1
- No test reaches this file backend/src/infrastructure/persistence/postgres/postgres-debt.repository.ts:1
- No test reaches this file backend/src/infrastructure/persistence/postgres/postgres-transaction.repository.ts:1
- No test reaches this file frontend/src/App.tsx:1
- No test reaches this file backend/scripts/backfill-timezone-boundaries.ts:1
- No test reaches this file backend/src/infrastructure/database/pg.ts:1
- No test reaches this file frontend/src/components/HelpDrawer.tsx:1
- No test reaches this file frontend/src/utils/notifications.ts:1
- FunctionTooLong: DebtsView.DebtsView frontend/src/views/DebtsView.tsx:76
- FunctionTooLong: CsvImportWizardModal.CsvImportWizardModal frontend/src/components/transactions/import/CsvImportWizardModal.tsx:62
- FunctionTooLong: TransactionsView.TransactionsView frontend/src/views/TransactionsView.tsx:43
- FunctionTooLong: ProfileView.ProfileView frontend/src/views/ProfileView.tsx:101
- FunctionTooLong: DashboardView.DashboardView frontend/src/views/DashboardView.tsx:35
- FunctionTooLong: ChatWidget.ChatWidget frontend/src/components/ChatWidget.tsx:48
- FunctionTooLong: TransactionsTable.TransactionsTable frontend/src/components/transactions/TransactionsTable.tsx:33
- FunctionTooLong: PlanCard.PlanCard frontend/src/components/transactions/PlanCard.tsx:51
- FunctionTooLong: FortnightView.FortnightView frontend/src/views/FortnightView.tsx:40
- FunctionTooLong: app.createApp backend/src/presentation/http/app.ts:85
- FunctionTooLong: DebtsView.PayoffPlanContent frontend/src/views/DebtsView.tsx:913
- FunctionTooLong: AddTransactionModal.AddTransactionModal frontend/src/components/transactions/AddTransactionModal.tsx:21
- FunctionTooLong: OwnHomeView.OwnHomeView frontend/src/views/OwnHomeView.tsx:13
- FunctionTooLong: HelpDrawer.HelpProvider frontend/src/components/HelpDrawer.tsx:21
- Swallowed exception (empty catch) frontend/src/api/errors.ts:57
- Swallowed exception (empty catch) frontend/src/components/ProfileMenu.tsx:24
- Swallowed exception (empty catch) REDACTED:37
- Swallowed exception (empty catch) REDACTED:51
- Swallowed exception (empty catch) REDACTED:59
- Swallowed exception (empty catch) REDACTED:67
- Swallowed exception (empty catch) frontend/src/views/TransactionsView.tsx:211
- Swallowed exception (empty catch) frontend/src/views/ProfileView.tsx:157
- Swallowed exception (empty catch) frontend/src/views/ProfileView.tsx:168
- Swallowed exception (empty catch) frontend/src/views/DebtsView.tsx:188
- Swallowed exception (empty catch) frontend/src/views/DebtsView.tsx:221
- Swallowed exception (empty catch) frontend/src/views/DashboardView.tsx:57
- Swallowed exception (empty catch) frontend/src/views/ChartsView.tsx:41
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Anemic entity: Debt backend/src/domain/model/debt.entity.ts:35
- Anemic entity: Transaction backend/src/domain/model/transaction.entity.ts:47
- Anemic entity: Allocation backend/src/domain/model/allocation.entity.ts:26
- Anemic entity: FortnightSnapshot backend/src/domain/model/fortnight-snapshot.entity.ts:34
- Anemic entity: BudgetProfile backend/src/domain/model/budget-profile.entity.ts:17
- Anemic entity: DebtBalanceAdjustment backend/src/domain/model/debt-balance-adjustment.entity.ts:6
- Anemic entity: SkippedDebtPayment backend/src/domain/model/skipped-debt-payment.entity.ts:9
- Boundary violation [layered:upward-import] backend/src/application/use-cases/login.use-case.ts:2
- Boundary violation [layered:upward-import] backend/src/application/use-cases/login.use-case.ts:3
- Boundary violation [layered:upward-import] backend/src/application/use-cases/logout.use-case.ts:2
- Boundary violation [layered:upward-import] backend/src/application/use-cases/refresh-token.use-case.ts:1
- Boundary violation [layered:upward-import] backend/src/application/use-cases/signup.use-case.ts:4
- Boundary violation [layered:upward-import] backend/src/application/use-cases/signup.use-case.ts:5
- Boundary violation [layered:upward-import] backend/src/domain/services/barefoot-advisor.service.ts:1
- Hotspot: frontend/src/views/DebtsView.tsx frontend/src/views/DebtsView.tsx:76
- Hotspot: frontend/src/views/TransactionsView.tsx frontend/src/views/TransactionsView.tsx:43
- Hotspot: frontend/src/views/ProfileView.tsx frontend/src/views/ProfileView.tsx:101
- Hotspot: backend/src/presentation/http/app.ts backend/src/presentation/http/app.ts:85
- Hotspot: frontend/src/components/transactions/TransactionsTable.tsx frontend/src/components/transactions/TransactionsTable.tsx:33
- Hotspot: frontend/src/components/ChatWidget.tsx frontend/src/components/ChatWidget.tsx:48
- Duplicated block (12 lines × 2 locations) backend/src/domain/services/debt-payoff-calculator.ts:99
- Duplicated block (12 lines × 2 locations) backend/src/presentation/http/routes/fortnight.routes.ts:13
- Duplicated block (12 lines × 2 locations) frontend/src/components/charts/DebtPayoffTimelineChart.tsx:14
- Duplicated block (12 lines × 2 locations) REDACTED:29
- Duplicated block (12 lines × 2 locations) frontend/src/views/DebtsView.tsx:670
- Duplicated block (12 lines × 2 locations) frontend/src/views/FortnightView.tsx:175
- Async function without AbortSignal: refreshAccessToken frontend/src/api/client.ts:57
- Async function without AbortSignal: request frontend/src/api/client.ts:78
- Async function without AbortSignal: requestAuth frontend/src/api/client.ts:132
- Async function without AbortSignal: uploadProfileAvatar frontend/src/api/client.ts:316
- Async function without AbortSignal: previewTransactionCsvImport frontend/src/api/client.ts:334
- <TextInput> field component without a label frontend/src/components/ChatWidget.tsx:304
- <TextInput> field component without a label frontend/src/components/HelpDrawer.tsx:90
- <TextInput> field component without a label frontend/src/components/transactions/TransactionsTable.tsx:61
- <TextInput> field component without a label frontend/src/views/ProfileView.tsx:349
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Low cohesion: DebtController (LCOM4 10) backend/src/presentation/http/controllers/debt.controller.ts:33
- Low cohesion: ProfileController (LCOM4 6) backend/src/presentation/http/controllers/profile.controller.ts:16
- Low cohesion: FortnightController (LCOM4 5) backend/src/presentation/http/controllers/fortnight.controller.ts:17
- Low cohesion: AuthController (LCOM4 4) backend/src/presentation/http/controllers/auth.controller.ts:9
- <Select> field component without a label frontend/src/components/FortnightSelector.tsx:131
- <Select> field component without a label frontend/src/components/transactions/TransactionsTable.tsx:73
- <Select> field component without a label frontend/src/components/transactions/import/CsvImportWizardModal.tsx:562
- FileTooLong: views/DebtsView.tsx frontend/src/views/DebtsView.tsx
- FileTooLong: import/CsvImportWizardModal.tsx frontend/src/components/transactions/import/CsvImportWizardModal.tsx
- FileTooLong: views/TransactionsView.tsx frontend/src/views/TransactionsView.tsx
- ClassTooLong: DebtsView frontend/src/views/DebtsView.tsx:1
- ClassTooLong: CsvImportWizardModal frontend/src/components/transactions/import/CsvImportWizardModal.tsx:1
- ClassTooLong: TransactionsView frontend/src/views/TransactionsView.tsx:1
- Duplicated block (14 lines × 2 locations) backend/src/application/import/csv/csv-normalizer.ts:53
- Duplicated block (14 lines × 2 locations) frontend/src/views/DebtsView.tsx:897
- Duplicated block (14 lines × 2 locations) frontend/src/views/TransactionsView.tsx:118
- Duplicated block (13 lines × 2 locations) backend/src/infrastructure/persistence/postgres/postgres-fortnight-snapshot.repository.ts:116
- Duplicated block (13 lines × 2 locations) backend/src/infrastructure/persistence/postgres/postgres-fortnight-snapshot.repository.ts:179
- Duplicated block (13 lines × 2 locations) frontend/src/api/client.ts:115
- TodoComment backend/src/infrastructure/persistence/memory/memory-transaction.repository.ts:14
- TodoComment frontend/src/views/TransactionsView.tsx:381
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Duplicated block (30 lines × 2 locations) backend/src/application/dtos/debt-payoff-plan.dto.ts:5
- Duplicated block (30 lines × 2 locations) frontend/src/components/charts/TagShareDonut.tsx:9
- Duplicated block (18 lines × 2 locations) frontend/src/components/charts/DebtPayoffMilestones.tsx:23
- Duplicated block (18 lines × 2 locations) frontend/src/views/DashboardView.tsx:43
- Duplicated block (16 lines × 2 locations) backend/src/domain/services/debt-payoff-calculator.ts:250
- Duplicated block (16 lines × 2 locations) backend/src/infrastructure/persistence/postgres/postgres-user.repository.ts:18
- Duplicated block with local edits (12 matched lines × 2 locations) backend/scripts/ensure-schema.ts:9
- Duplicated block with local edits (12 matched lines × 2 locations) frontend/src/components/transactions/import/CsvImportWizardModal.tsx:516
- Duplicated block (11 lines × 2 locations) backend/src/application/use-cases/create-debt.use-case.ts:25
- Duplicated block (11 lines × 2 locations) backend/src/application/use-cases/get-dashboard.use-case.ts:63
- <Slider> field component without a label frontend/src/components/charts/FireExtinguisherWhatIfChart.tsx:97
- Page without a main landmark frontend/index.html:2
- Animation without a prefers-reduced-motion guard frontend/src/components/charts/DebtSnowballGanttChart.module.css:13
- Accessibility enforcement below the top rung
- DebtsView.DebtsView (cyclomatic 65) frontend/src/views/DebtsView.tsx:76
- CsvImportWizardModal.CsvImportWizardModal (cyclomatic 61) frontend/src/components/transactions/import/CsvImportWizardModal.tsx:62
- TransactionsView.TransactionsView (cyclomatic 61) frontend/src/views/TransactionsView.tsx:43
- PlanCard.PlanCard (cyclomatic 32) frontend/src/components/transactions/PlanCard.tsx:51
- DashboardView.DashboardView (cyclomatic 31) frontend/src/views/DashboardView.tsx:35
- app.createApp (cyclomatic 30) backend/src/presentation/http/app.ts:85
- ProfileView.ProfileView (cyclomatic 30) frontend/src/views/ProfileView.tsx:101
- TransactionsTable.TransactionsTable (cyclomatic 28) frontend/src/components/transactions/TransactionsTable.tsx:33
- FortnightView.FortnightView (cyclomatic 26) frontend/src/views/FortnightView.tsx:40
- BarefootAdvisorService.formatPageContext (cyclomatic 22) backend/src/domain/services/barefoot-advisor.service.ts:269
- ChatWidget.ChatWidget (cyclomatic 22) frontend/src/components/ChatWidget.tsx:48
- GetDebtPayoffPlanUseCase.execute (cyclomatic 21) backend/src/application/use-cases/get-debt-payoff-plan.use-case.ts:49
- DebtPayoffMilestones.DebtPayoffMilestones (cyclomatic 21) frontend/src/components/charts/DebtPayoffMilestones.tsx:11
- SummaryCards.SummaryCards (cyclomatic 19) frontend/src/components/transactions/SummaryCards.tsx:15
- GetDashboardUseCase.execute (cyclomatic 17) backend/src/application/use-cases/get-dashboard.use-case.ts:49
- CsvParser.parse (cyclomatic 16) backend/src/application/import/csv/csv-parser.ts:8
- FortnightSelector.FortnightSelector (cyclomatic 16) frontend/src/components/FortnightSelector.tsx:17
- Deprecated: eslint package.json:30
- TransactionsView.TransactionsView (cognitive 71) frontend/src/views/TransactionsView.tsx:43
- CsvImportWizardModal.CsvImportWizardModal (cognitive 68) frontend/src/components/transactions/import/CsvImportWizardModal.tsx:62
- DebtsView.DebtsView (cognitive 66) frontend/src/views/DebtsView.tsx:76
- BarefootAdvisorService.formatPageContext (cognitive 45) backend/src/domain/services/barefoot-advisor.service.ts:269
- SummaryCards.SummaryCards (cognitive 34) frontend/src/components/transactions/SummaryCards.tsx:15
- app.createApp (cognitive 33) backend/src/presentation/http/app.ts:85
- FortnightView.FortnightView (cognitive 28) frontend/src/views/FortnightView.tsx:40
- ProfileView.ProfileView (cognitive 27) frontend/src/views/ProfileView.tsx:101
- GetDebtPayoffPlanUseCase.execute (cognitive 25) backend/src/application/use-cases/get-debt-payoff-plan.use-case.ts:49
- DashboardView.DashboardView (cognitive 25) frontend/src/views/DashboardView.tsx:35
- GetDashboardUseCase.execute (cognitive 24) backend/src/application/use-cases/get-dashboard.use-case.ts:49
- DebtPayoffMilestones.DebtPayoffMilestones (cognitive 23) frontend/src/components/charts/DebtPayoffMilestones.tsx:11
- CsvParser.parse (cognitive 22) backend/src/application/import/csv/csv-parser.ts:8
- ChatWidget.ChatWidget (cognitive 21) frontend/src/components/ChatWidget.tsx:48
- DebtSnowballGanttChart.DebtSnowballGanttChart (cognitive 20) frontend/src/components/charts/DebtSnowballGanttChart.tsx:26
- PlanCard.PlanCard (cognitive 19) frontend/src/components/transactions/PlanCard.tsx:51
- CsvImporterRegistry.resolve (cognitive 18) backend/src/application/import/csv/csv-importer-registry.ts:21
- ErrorMapper.mapError (cognitive 16) backend/src/application/errors/error-mapper.ts:29
- ListTransactionsUseCase.execute (cognitive 16) backend/src/application/use-cases/list-transactions.use-case.ts:59
- ChartsView.ChartsView (cognitive 16) frontend/src/views/ChartsView.tsx:18
- TransactionsTable.TransactionsTable (cognitive 16) frontend/src/components/transactions/TransactionsTable.tsx:33
- MethodTooLong: GetDashboardUseCase.execute backend/src/application/use-cases/get-dashboard.use-case.ts:49
- REDACTED
- REDACTED
- Coverage not measured — JavaScript/TypeScript suite
- Constructible in an invalid state: FortnightSnapshot backend/src/domain/model/fortnight-snapshot.entity.ts:61
- No structured logging
- Sync-over-async blocking backend/src/presentation/http/controllers/profile.controller.ts:59
- Duplication concentrated across 2 sibling directories (5 clone groups) backend/src/application/dtos/debt-payoff-plan.dto.ts:5
- Duplication concentrated across 4 sibling directories (5 clone groups) frontend/src/components/transactions/import/CsvImportWizardModal.tsx:516
- Duplicated block (88 lines × 2 locations) frontend/src/views/DebtsView.tsx:686
- Duplicated block (75 lines × 2 locations) backend/src/application/use-cases/get-fortnight.use-case.ts:129
- Duplicated block with local edits (70 matched lines × 2 locations) frontend/src/components/transactions/AddTransactionModal.tsx:43
- Duplicated block (62 lines × 3 locations) backend/src/application/use-cases/get-dashboard.use-case.ts:219
- Duplicated block (56 lines × 2 locations) frontend/src/views/LoginView.tsx:6
- Duplicated block (47 lines × 2 locations) backend/src/application/use-cases/get-debt-payoff-plan.use-case.ts:167
- Duplicated block with local edits (42 matched lines × 2 locations) backend/src/infrastructure/persistence/postgres/postgres-skipped-debt-payment.repository.ts:48
- Duplicated block (40 lines × 2 locations) backend/src/application/dtos/schemas/record-transaction.schema.ts:30
- Duplicated block with local edits (31 matched lines × 2 locations) backend/src/application/use-cases/login.use-case.ts:7
- Duplicated block with local edits (26 matched lines × 2 locations) frontend/src/components/transactions/PlanCard.tsx:162
- Duplicated block (22 lines × 3 locations) frontend/src/components/charts/IncomeExpensesTrendChart.tsx:8
- Duplicated block with local edits (21 matched lines × 2 locations) backend/src/application/use-cases/get-dashboard.use-case.ts:83
- Duplicated block (19 lines × 2 locations) frontend/src/views/DebtsView.tsx:345
- Duplicated block (15 lines × 2 locations) backend/src/domain/services/debt-payoff-calculator.ts:78
- Duplicated block (13 lines × 3 locations) frontend/src/components/transactions/import/CsvImportWizardModal.tsx:396
- Duplicated block (12 lines × 4 locations) frontend/src/components/charts/DebtPayoffTimelineChart.tsx:30
- Complex function createApp (cyclomatic 30, cognitive 33) backend/src/presentation/http/app.ts:85
- Complex function DashboardView (cyclomatic 29, cognitive 23) frontend/src/views/DashboardView.tsx:35
- Complex function PlanCard (cyclomatic 25, cognitive 17) frontend/src/components/transactions/PlanCard.tsx:51
- Complex function DebtsView (cyclomatic 24, cognitive 18) frontend/src/views/DebtsView.tsx:76
- Complex function formatPageContext (cyclomatic 22, cognitive 48) backend/src/domain/services/barefoot-advisor.service.ts:269
- Complex function CsvImportWizardModal (cyclomatic 22, cognitive 21) frontend/src/components/transactions/import/CsvImportWizardModal.tsx:62
- Complex function TransactionsTable (cyclomatic 18, cognitive 11) frontend/src/components/transactions/TransactionsTable.tsx:33
- Complex function parse (cyclomatic 14, cognitive 20) backend/src/application/import/csv/csv-parser.ts:8
- Complex function mapError (cyclomatic 13, cognitive 16) backend/src/application/errors/error-mapper.ts:29
- Complex function parse (cyclomatic 13, cognitive 14) backend/src/application/import/qif/qif-parser.ts:10
- Complex function generateResponse (cyclomatic 12, cognitive 13) backend/src/infrastructure/ai/gemini-ai-provider.ts:102
- Complex function request (cyclomatic 12, cognitive 13) frontend/src/api/client.ts:78
- Complex function parse (cyclomatic 12, cognitive 11) backend/src/application/import/csv/generic-mapped-csv-importer.ts:14
- Complex function normalizeRow (cyclomatic 11, cognitive 15) backend/src/application/import/csv/csv-importer-base.ts:22
- frontend/src/views/DebtsView.tsx: 972 lines of code frontend/src/views/DebtsView.tsx:1
- frontend/src/components/transactions/import/CsvImportWizardModal.tsx: 607 lines of code frontend/src/components/transactions/import/CsvImportWizardModal.tsx:1
- frontend/src/views/TransactionsView.tsx: 601 lines of code frontend/src/views/TransactionsView.tsx:1
- frontend/src/views/ProfileView.tsx: 492 lines of code frontend/src/views/ProfileView.tsx:1
- Unused dependency '@emotion/react'
- Unused dependency '@fontsource/inter'
- Unused dependency '@fontsource/space-grotesk'
Minor — 64 finding(s)
- README/code drift README.md:374
- README/code drift README.md:374
- README/code drift README.md:374
- README/code drift README.md:374
- README/code drift README.md:433
- README/code drift backend/README.md:221
- README/code drift backend/README.md:221
- README/code drift backend/README.md:221
- README/code drift backend/README.md:221
- README/code drift docs/ARCHITECTURE.md:74
- README/code drift frontend/README.md:52
- README/code drift frontend/README.md:365
- Duplicated predicate frontend/src/components/transactions/PlanCard.tsx:111
- Duplicated predicate backend/src/application/use-cases/get-dashboard.use-case.ts:256
- Duplicated predicate backend/src/application/dtos/schemas/record-transaction.schema.ts:50
- Duplicated predicate backend/src/application/dtos/schemas/record-transaction.schema.ts:64
- Duplicated predicate backend/src/application/use-cases/get-dashboard.use-case.ts:238
- Duplicated predicate backend/src/application/use-cases/get-dashboard.use-case.ts:121
- Duplicated predicate backend/src/application/use-cases/get-dashboard.use-case.ts:113
- Duplicated predicate backend/src/application/use-cases/get-dashboard.use-case.ts:117
- Primitive id on a domain type: DebtBalanceAdjustment.userId backend/src/domain/model/debt-balance-adjustment.entity.ts:7
- Primitive id on a domain type: DebtBalanceAdjustment.debtId backend/src/domain/model/debt-balance-adjustment.entity.ts:8
- Primitive id on a domain type: SkippedDebtPayment.debtId backend/src/domain/model/skipped-debt-payment.entity.ts:10
- Primitive id on a domain type: SkippedDebtPayment.fortnightId backend/src/domain/model/skipped-debt-payment.entity.ts:11
- Deprecated: glob REDACTED:2064
- Deprecated: node-domexception REDACTED:2540
- Deprecated: whatwg-encoding REDACTED:3446
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- No named authorization policies
- Documentation: hard to navigate docs/FEATURE_WISHLIST.md
- No ADRs found
- Projects may be oversized for their cohesion
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Rule about [destinationBucket, kind] decided in 3 places
- Rule about [destinationBucket, sourceBucket] decided in 2 places
- Rule about [kind, sourceBucket] decided in 3 places
- No ADRs
- No SAST
- Unused export 'CreateFortnightSchemaType' backend/src/application/dtos/schemas/create-fortnight.schema.ts:81
- Unused export 'ListDebtBalanceAdjustmentsQuery' backend/src/application/dtos/schemas/debt-balance-adjustment.schema.ts:17
- Unused export 'UpsertProfileSchemaType' backend/src/application/dtos/schemas/profile.schema.ts:23
- Unused export 'RecordTransactionSchemaType' backend/src/application/dtos/schemas/record-transaction.schema.ts:89
- Unused export 'UpdateTransactionSchemaType' backend/src/application/dtos/schemas/update-transaction.schema.ts:73
- Unused export 'DebtsPaidOffEntry' frontend/src/api/types.ts:157
- Unused export 'DebtsContinuingEntry' frontend/src/api/types.ts:163
- Unused export 'PaginationInfo' frontend/src/api/types.ts:232
- Unused export 'defaultPresetName' frontend/src/components/transactions/import/csvImportUtils.ts:3
- Unused export 'hasRowErrors' frontend/src/components/transactions/import/csvImportUtils.ts:49
- Unused export 'helpPageKeys' frontend/src/constants/helpContent.ts:298
- Unused export 'theme' frontend/src/theme.ts:85
- Unused export 'normalizeFortnightDates' frontend/src/utils/transactions.ts:136
- Write-only private field 'savingsProjector' backend/src/application/use-cases/get-dashboard.use-case.ts:36
- No security response headers detected frontend/nginx.conf:1
- No app-layer HTTPS enforcement detected backend/src/server.ts:12
- Not all async functions that make a request accept an AbortSignal
- Null assertions (`!`) reduce the strict null checking score
- Silent fallback default in catch frontend/src/components/transactions/import/csvImportPresetStore.ts:20
Minor — 22 finding(s)
- Outdated (npm): @fontsource/inter
- Outdated (npm): @fontsource/space-grotesk
- Outdated (npm): @google/genai
- Outdated (npm): @mantine/charts
- Outdated (npm): @mantine/core
- Outdated (npm): @mantine/dates
- Outdated (npm): @mantine/form
- Outdated (npm): @mantine/hooks
- Outdated (npm): @mantine/modals
- Outdated (npm): @mantine/notifications
- Outdated (npm): @tabler/icons-react
- Outdated (npm): bcryptjs
- Outdated (npm): dayjs
- Outdated (npm): dotenv
- Outdated (npm): express
- Outdated (npm): multer
- Outdated (npm): pg
- Outdated (npm): react
- Outdated (npm): react-dom
- Outdated (npm): recharts
- Outdated (npm): uuid
- Outdated (npm): zod
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-c37e757693fa4055a4a0ac064a57b834/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-c37e757693fa4055a4a0ac064a57b834/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 . | 22 | 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 | 36 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 8 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep --config /opt/semgrep-rules/gdpr.yml --json --quiet --timeout 10 --timeout-threshold 3 --metrics off . | 2 | artifacts/raw/semgrep-gdpr.json |
| 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 |