Executive summary
gabriellopes00/clean-typescript-api scores 46 out of 100, but it is rated At risk while a critical security finding is open; the score itself is unchanged.
The weakest lens counts most in the score, and here that is Production Readiness, which scores 21 and is rated Critical. Its Observability 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 1 Leaked secret finding(s) in Secret Scanning and to resolve the 57 Deprecated finding(s) in Dependency Hygiene, and if Production Readiness rose to 70, the score would rise from 46 to about 64.
57 findings are critical: 52 in Dependency Vulnerabilities, two in Dependency Hygiene, one in IaC & Container Security, one in Secret Scanning and one in Static Analysis (SAST).
Watchdog couldn't measure 11 dimensions in this code, among them Code Coverage, Test Reliability and Internal API Consistency, so they are left out of the score. The product code is 1,904 lines, which would take an estimated 0.1 person-years, around €3,600, to rebuild.
If Production Readiness rose from 21 to 70, the lowest score rated Strong, the score would rise from 46 to about 64.
New since the last survey: 10 findings
- Dependency Hygiene · Deprecated: @types/graphql package.json
- Dependency Hygiene · Deprecated: babel-eslint package.json
- Dependency Hygiene · Deprecated: eslint package.json
- Dependency Hygiene · Deprecated: rimraf package.json
- Dependency Hygiene · Deprecated: supertest package.json
- Dependency Hygiene · Deprecated: apollo-server-express package.json
- Secret Scanning · REDACTED
- Static Analysis (SAST) · REDACTED
- Static Analysis (SAST) · REDACTED
- Platform End-of-Life · End-of-life runtime: Node.js 14 package.json
Rebuild cost: about €3,600 · Estimate
| Cost to rebuild | €1,200 to €6,000, for 20 to 64 hours of work, about 0.1 person-years for one engineer |
|---|---|
| Difficulty of the problem | Standard, judged from the kind of software and how it is built. Code that solves a harder problem, such as payments or medical bookings, costs more per line to write. |
| Quality factor | ×0.7 at a score of 46. Better code takes more work to write, so the factor is ×1.0 at a score of 70, lower below it and higher above it. |
| Size | Very small: 1,904 lines of product code |
Top priorities
Diagnosis: what the measurements show together
Architecture: which parts of the code depend on which
| uses → | 1 domain.models.account | 2 domain.models.survey | 3 domain.models.survey-results | 4 domain.usecases.add-survey | 5 presentation.interfaces.http | 6 presentation.interfaces.validation | 7 data.interfaces.db.account.add-account-repository | 8 data.interfaces.db.account.load-account-by-token-repository | 9 data.interfaces.db.account.load-account-repository | 10 data.interfaces.db.survey.add-survey-repository | 11 data.interfaces.db.survey.load-survey-by-id-repository | 12 data.interfaces.db.survey.load-survey-results-repository | 13 domain.usecases.add-account | 14 domain.usecases.authentication | 15 domain.usecases.load-account-by-token | 16 domain.usecases.load-survey | 17 domain.usecases.load-survey-results | 18 domain.usecases.save-survey-results | 19 presentation.interfaces.controller | 20 presentation.interfaces.middleware | 21 validation.validator.validation-composite | 22 data.interfaces.db.survey.save-survey-result-repository | 23 data.usecases.add-account.db-add-account | 24 data.usecases.add-survey.db-add-survey | 25 data.usecases.authentication.db-authentication | 26 data.usecases.load-account.db-load-account-by-token | 27 data.usecases.load-survey-result.db-load-survey-result | 28 infra.db.mongodb.account.mongo-account-repository | 29 infra.db.mongodb.survey.mongo-survey-repository | 30 main.decorators.log-controller-decorator | 31 presentation.controllers.survey.load-survey.load-survey-controller | 32 data.usecases.save-survey-result.db-save-survey-result | 33 infra.db.mongodb.survey-result.mongo-survey-results-repository | 34 main.factories.usecases | 35 presentation.controllers.login.login-controller | 36 presentation.controllers.signup.signup-controller | 37 presentation.controllers.survey-result.load-survey-result-controller | 38 presentation.controllers.survey-result.save-survey-result-controller | 39 presentation.controllers.survey.add-survey.add-survey | 40 presentation.middlewares.auth-middleware |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 domain.models.account | ||||||||||||||||||||||||||||||||||||||||
| 2 domain.models.survey | ||||||||||||||||||||||||||||||||||||||||
| 3 domain.models.survey-results | ||||||||||||||||||||||||||||||||||||||||
| 4 domain.usecases.add-survey | ||||||||||||||||||||||||||||||||||||||||
| 5 presentation.interfaces.http | ||||||||||||||||||||||||||||||||||||||||
| 6 presentation.interfaces.validation | ||||||||||||||||||||||||||||||||||||||||
| 7 data.interfaces.db.account.add-account-repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 8 data.interfaces.db.account.load-account-by-token-repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 9 data.interfaces.db.account.load-account-repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 10 data.interfaces.db.survey.add-survey-repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 11 data.interfaces.db.survey.load-survey-by-id-repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 12 data.interfaces.db.survey.load-survey-results-repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 13 domain.usecases.add-account | 1 | |||||||||||||||||||||||||||||||||||||||
| 14 domain.usecases.authentication | 1 | |||||||||||||||||||||||||||||||||||||||
| 15 domain.usecases.load-account-by-token | 1 | |||||||||||||||||||||||||||||||||||||||
| 16 domain.usecases.load-survey | 1 | |||||||||||||||||||||||||||||||||||||||
| 17 domain.usecases.load-survey-results | 1 | |||||||||||||||||||||||||||||||||||||||
| 18 domain.usecases.save-survey-results | 1 | |||||||||||||||||||||||||||||||||||||||
| 19 presentation.interfaces.controller | 1 | |||||||||||||||||||||||||||||||||||||||
| 20 presentation.interfaces.middleware | 1 | |||||||||||||||||||||||||||||||||||||||
| 21 validation.validator.validation-composite | 1 | |||||||||||||||||||||||||||||||||||||||
| 22 data.interfaces.db.survey.save-survey-result-repository | 1 | |||||||||||||||||||||||||||||||||||||||
| 23 data.usecases.add-account.db-add-account | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 24 data.usecases.add-survey.db-add-survey | 2 | 1 | ||||||||||||||||||||||||||||||||||||||
| 25 data.usecases.authentication.db-authentication | 1 | 1 | 2 | |||||||||||||||||||||||||||||||||||||
| 26 data.usecases.load-account.db-load-account-by-token | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 27 data.usecases.load-survey-result.db-load-survey-result | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 28 infra.db.mongodb.account.mongo-account-repository | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 29 infra.db.mongodb.survey.mongo-survey-repository | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 30 main.decorators.log-controller-decorator | 1 | 1 | ||||||||||||||||||||||||||||||||||||||
| 31 presentation.controllers.survey.load-survey.load-survey-controller | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||||
| 32 data.usecases.save-survey-result.db-save-survey-result | 1 | 1 | 2 | 1 | ||||||||||||||||||||||||||||||||||||
| 33 infra.db.mongodb.survey-result.mongo-survey-results-repository | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||||
| 34 main.factories.usecases | 1 | 1 | 2 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||
| 35 presentation.controllers.login.login-controller | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 36 presentation.controllers.signup.signup-controller | 1 | 1 | 1 | 1 | 1 | 1 | ||||||||||||||||||||||||||||||||||
| 37 presentation.controllers.survey-result.load-survey-result-controller | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 38 presentation.controllers.survey-result.save-survey-result-controller | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 39 presentation.controllers.survey.add-survey.add-survey | 1 | 1 | 1 | 1 | 1 | |||||||||||||||||||||||||||||||||||
| 40 presentation.middlewares.auth-middleware | 1 | 1 | 1 | 1 |
7→1 data.interfaces.db.account.add-account-repository uses domain.models.account✕
- Connections
- 1 pair of types, where a type in data.interfaces.db.account.add-account-repository uses a type in domain.models.account.
- The types involved
src.data.interfaces.db.account.add-account-repository.AddAccountRepository→src.domain.models.account.AccountModel
- Direction
- data.interfaces.db.account.add-account-repository uses domain.models.account, so a change to domain.models.account can break data.interfaces.db.account.add-account-repository, while a change to data.interfaces.db.account.add-account-repository can't break domain.models.account.
- Position
- Below the diagonal: data.interfaces.db.account.add-account-repository uses a module listed above it, which is the healthy direction.
8→1 data.interfaces.db.account.load-account-by-token-repository uses domain.models.account✕
- Connections
- 1 pair of types, where a type in data.interfaces.db.account.load-account-by-token-repository uses a type in domain.models.account.
- The types involved
src.data.interfaces.db.account.load-account-by-token-repository.LoadAccountByTokenRepository→src.domain.models.account.AccountModel
- Direction
- data.interfaces.db.account.load-account-by-token-repository uses domain.models.account, so a change to domain.models.account can break data.interfaces.db.account.load-account-by-token-repository, while a change to data.interfaces.db.account.load-account-by-token-repository can't break domain.models.account.
- Position
- Below the diagonal: data.interfaces.db.account.load-account-by-token-repository uses a module listed above it, which is the healthy direction.
9→1 data.interfaces.db.account.load-account-repository uses domain.models.account✕
- Connections
- 1 pair of types, where a type in data.interfaces.db.account.load-account-repository uses a type in domain.models.account.
- The types involved
src.data.interfaces.db.account.load-account-repository.LoadAccountRepository→src.domain.models.account.AccountModel
- Direction
- data.interfaces.db.account.load-account-repository uses domain.models.account, so a change to domain.models.account can break data.interfaces.db.account.load-account-repository, while a change to data.interfaces.db.account.load-account-repository can't break domain.models.account.
- Position
- Below the diagonal: data.interfaces.db.account.load-account-repository uses a module listed above it, which is the healthy direction.
10→4 data.interfaces.db.survey.add-survey-repository uses domain.usecases.add-survey✕
- Connections
- 1 pair of types, where a type in data.interfaces.db.survey.add-survey-repository uses a type in domain.usecases.add-survey.
- The types involved
src.data.interfaces.db.survey.add-survey-repository.AddSurveyRepository→src.domain.usecases.add-survey.AddSurveyParams
- Direction
- data.interfaces.db.survey.add-survey-repository uses domain.usecases.add-survey, so a change to domain.usecases.add-survey can break data.interfaces.db.survey.add-survey-repository, while a change to data.interfaces.db.survey.add-survey-repository can't break domain.usecases.add-survey.
- Position
- Below the diagonal: data.interfaces.db.survey.add-survey-repository uses a module listed above it, which is the healthy direction.
11→2 data.interfaces.db.survey.load-survey-by-id-repository uses domain.models.survey✕
- Connections
- 1 pair of types, where a type in data.interfaces.db.survey.load-survey-by-id-repository uses a type in domain.models.survey.
- The types involved
src.data.interfaces.db.survey.load-survey-by-id-repository.LoadSurveyByIdRepository→src.domain.models.survey.SurveyModel
- Direction
- data.interfaces.db.survey.load-survey-by-id-repository uses domain.models.survey, so a change to domain.models.survey can break data.interfaces.db.survey.load-survey-by-id-repository, while a change to data.interfaces.db.survey.load-survey-by-id-repository can't break domain.models.survey.
- Position
- Below the diagonal: data.interfaces.db.survey.load-survey-by-id-repository uses a module listed above it, which is the healthy direction.
12→3 data.interfaces.db.survey.load-survey-results-repository uses domain.models.survey-results✕
- Connections
- 1 pair of types, where a type in data.interfaces.db.survey.load-survey-results-repository uses a type in domain.models.survey-results.
- The types involved
src.data.interfaces.db.survey.load-survey-results-repository.LoadSurveyResultRepository→src.domain.models.survey-results.SurveyResultsModel
- Direction
- data.interfaces.db.survey.load-survey-results-repository uses domain.models.survey-results, so a change to domain.models.survey-results can break data.interfaces.db.survey.load-survey-results-repository, while a change to data.interfaces.db.survey.load-survey-results-repository can't break domain.models.survey-results.
- Position
- Below the diagonal: data.interfaces.db.survey.load-survey-results-repository uses a module listed above it, which is the healthy direction.
13→1 domain.usecases.add-account uses domain.models.account✕
- Connections
- 1 pair of types, where a type in domain.usecases.add-account uses a type in domain.models.account.
- The types involved
src.domain.usecases.add-account.AddAccount→src.domain.models.account.AccountModel
- Direction
- domain.usecases.add-account uses domain.models.account, so a change to domain.models.account can break domain.usecases.add-account, while a change to domain.usecases.add-account can't break domain.models.account.
- Position
- Below the diagonal: domain.usecases.add-account uses a module listed above it, which is the healthy direction.
14→1 domain.usecases.authentication uses domain.models.account✕
- Connections
- 1 pair of types, where a type in domain.usecases.authentication uses a type in domain.models.account.
- The types involved
src.domain.usecases.authentication.Authenticator→src.domain.models.account.AuthenticationModel
- Direction
- domain.usecases.authentication uses domain.models.account, so a change to domain.models.account can break domain.usecases.authentication, while a change to domain.usecases.authentication can't break domain.models.account.
- Position
- Below the diagonal: domain.usecases.authentication uses a module listed above it, which is the healthy direction.
15→1 domain.usecases.load-account-by-token uses domain.models.account✕
- Connections
- 1 pair of types, where a type in domain.usecases.load-account-by-token uses a type in domain.models.account.
- The types involved
src.domain.usecases.load-account-by-token.LoadAccountByToken→src.domain.models.account.AccountModel
- Direction
- domain.usecases.load-account-by-token uses domain.models.account, so a change to domain.models.account can break domain.usecases.load-account-by-token, while a change to domain.usecases.load-account-by-token can't break domain.models.account.
- Position
- Below the diagonal: domain.usecases.load-account-by-token uses a module listed above it, which is the healthy direction.
16→2 domain.usecases.load-survey uses domain.models.survey✕
- Connections
- 1 pair of types, where a type in domain.usecases.load-survey uses a type in domain.models.survey.
- The types involved
src.domain.usecases.load-survey.LoadSurveyById→src.domain.models.survey.SurveyModel
- Direction
- domain.usecases.load-survey uses domain.models.survey, so a change to domain.models.survey can break domain.usecases.load-survey, while a change to domain.usecases.load-survey can't break domain.models.survey.
- Position
- Below the diagonal: domain.usecases.load-survey uses a module listed above it, which is the healthy direction.
17→3 domain.usecases.load-survey-results uses domain.models.survey-results✕
- Connections
- 1 pair of types, where a type in domain.usecases.load-survey-results uses a type in domain.models.survey-results.
- The types involved
src.domain.usecases.load-survey-results.LoadSurveyResult→src.domain.models.survey-results.SurveyResultsModel
- Direction
- domain.usecases.load-survey-results uses domain.models.survey-results, so a change to domain.models.survey-results can break domain.usecases.load-survey-results, while a change to domain.usecases.load-survey-results can't break domain.models.survey-results.
- Position
- Below the diagonal: domain.usecases.load-survey-results uses a module listed above it, which is the healthy direction.
18→3 domain.usecases.save-survey-results uses domain.models.survey-results✕
- Connections
- 1 pair of types, where a type in domain.usecases.save-survey-results uses a type in domain.models.survey-results.
- The types involved
src.domain.usecases.save-survey-results.SaveSurveyResults→src.domain.models.survey-results.SurveyResultsModel
- Direction
- domain.usecases.save-survey-results uses domain.models.survey-results, so a change to domain.models.survey-results can break domain.usecases.save-survey-results, while a change to domain.usecases.save-survey-results can't break domain.models.survey-results.
- Position
- Below the diagonal: domain.usecases.save-survey-results uses a module listed above it, which is the healthy direction.
19→5 presentation.interfaces.controller uses presentation.interfaces.http✕
- Connections
- 1 pair of types, where a type in presentation.interfaces.controller uses a type in presentation.interfaces.http.
- The types involved
src.presentation.interfaces.controller.Controller→src.presentation.interfaces.http.HttpResponse
- Direction
- presentation.interfaces.controller uses presentation.interfaces.http, so a change to presentation.interfaces.http can break presentation.interfaces.controller, while a change to presentation.interfaces.controller can't break presentation.interfaces.http.
- Position
- Below the diagonal: presentation.interfaces.controller uses a module listed above it, which is the healthy direction.
20→5 presentation.interfaces.middleware uses presentation.interfaces.http✕
- Connections
- 1 pair of types, where a type in presentation.interfaces.middleware uses a type in presentation.interfaces.http.
- The types involved
src.presentation.interfaces.middleware.Middleware→src.presentation.interfaces.http.HttpResponse
- Direction
- presentation.interfaces.middleware uses presentation.interfaces.http, so a change to presentation.interfaces.http can break presentation.interfaces.middleware, while a change to presentation.interfaces.middleware can't break presentation.interfaces.http.
- Position
- Below the diagonal: presentation.interfaces.middleware uses a module listed above it, which is the healthy direction.
21→6 validation.validator.validation-composite uses presentation.interfaces.validation✕
- Connections
- 1 pair of types, where a type in validation.validator.validation-composite uses a type in presentation.interfaces.validation.
- The types involved
src.validation.validator.validation-composite.ValidationComposite→src.presentation.interfaces.validation.Validation
- Direction
- validation.validator.validation-composite uses presentation.interfaces.validation, so a change to presentation.interfaces.validation can break validation.validator.validation-composite, while a change to validation.validator.validation-composite can't break presentation.interfaces.validation.
- Position
- Below the diagonal: validation.validator.validation-composite uses a module listed above it, which is the healthy direction.
22→18 data.interfaces.db.survey.save-survey-result-repository uses domain.usecases.save-survey-results✕
- Connections
- 1 pair of types, where a type in data.interfaces.db.survey.save-survey-result-repository uses a type in domain.usecases.save-survey-results.
- The types involved
src.data.interfaces.db.survey.save-survey-result-repository.SaveSurveyResultsRepository→src.domain.usecases.save-survey-results.SaveSurveyResultParams
- Direction
- data.interfaces.db.survey.save-survey-result-repository uses domain.usecases.save-survey-results, so a change to domain.usecases.save-survey-results can break data.interfaces.db.survey.save-survey-result-repository, while a change to data.interfaces.db.survey.save-survey-result-repository can't break domain.usecases.save-survey-results.
- Position
- Below the diagonal: data.interfaces.db.survey.save-survey-result-repository uses a module listed above it, which is the healthy direction.
23→1 data.usecases.add-account.db-add-account uses domain.models.account✕
- Connections
- 1 pair of types, where a type in data.usecases.add-account.db-add-account uses a type in domain.models.account.
- The types involved
src.data.usecases.add-account.db-add-account.DbAddAccount→src.domain.models.account.AccountModel
- Direction
- data.usecases.add-account.db-add-account uses domain.models.account, so a change to domain.models.account can break data.usecases.add-account.db-add-account, while a change to data.usecases.add-account.db-add-account can't break domain.models.account.
- Position
- Below the diagonal: data.usecases.add-account.db-add-account uses a module listed above it, which is the healthy direction.
23→7 data.usecases.add-account.db-add-account uses data.interfaces.db.account.add-account-repository✕
- Connections
- 1 pair of types, where a type in data.usecases.add-account.db-add-account uses a type in data.interfaces.db.account.add-account-repository.
- The types involved
src.data.usecases.add-account.db-add-account.DbAddAccount→src.data.interfaces.db.account.add-account-repository.AddAccountRepository
- Direction
- data.usecases.add-account.db-add-account uses data.interfaces.db.account.add-account-repository, so a change to data.interfaces.db.account.add-account-repository can break data.usecases.add-account.db-add-account, while a change to data.usecases.add-account.db-add-account can't break data.interfaces.db.account.add-account-repository.
- Position
- Below the diagonal: data.usecases.add-account.db-add-account uses a module listed above it, which is the healthy direction.
23→9 data.usecases.add-account.db-add-account uses data.interfaces.db.account.load-account-repository✕
- Connections
- 1 pair of types, where a type in data.usecases.add-account.db-add-account uses a type in data.interfaces.db.account.load-account-repository.
- The types involved
src.data.usecases.add-account.db-add-account.DbAddAccount→src.data.interfaces.db.account.load-account-repository.LoadAccountRepository
- Direction
- data.usecases.add-account.db-add-account uses data.interfaces.db.account.load-account-repository, so a change to data.interfaces.db.account.load-account-repository can break data.usecases.add-account.db-add-account, while a change to data.usecases.add-account.db-add-account can't break data.interfaces.db.account.load-account-repository.
- Position
- Below the diagonal: data.usecases.add-account.db-add-account uses a module listed above it, which is the healthy direction.
23→13 data.usecases.add-account.db-add-account uses domain.usecases.add-account✕
- Connections
- 1 pair of types, where a type in data.usecases.add-account.db-add-account uses a type in domain.usecases.add-account.
- The types involved
src.data.usecases.add-account.db-add-account.DbAddAccount→src.domain.usecases.add-account.AddAccount
- Direction
- data.usecases.add-account.db-add-account uses domain.usecases.add-account, so a change to domain.usecases.add-account can break data.usecases.add-account.db-add-account, while a change to data.usecases.add-account.db-add-account can't break domain.usecases.add-account.
- Position
- Below the diagonal: data.usecases.add-account.db-add-account uses a module listed above it, which is the healthy direction.
24→4 data.usecases.add-survey.db-add-survey uses domain.usecases.add-survey✕
- Connections
- 2 pairs of types, where a type in data.usecases.add-survey.db-add-survey uses a type in domain.usecases.add-survey.
- The types involved
src.data.usecases.add-survey.db-add-survey.DbAddSurvey→src.domain.usecases.add-survey.AddSurveysrc.data.usecases.add-survey.db-add-survey.DbAddSurvey→src.domain.usecases.add-survey.AddSurveyParams
- Direction
- data.usecases.add-survey.db-add-survey uses domain.usecases.add-survey, so a change to domain.usecases.add-survey can break data.usecases.add-survey.db-add-survey, while a change to data.usecases.add-survey.db-add-survey can't break domain.usecases.add-survey.
- Position
- Below the diagonal: data.usecases.add-survey.db-add-survey uses a module listed above it, which is the healthy direction.
24→10 data.usecases.add-survey.db-add-survey uses data.interfaces.db.survey.add-survey-repository✕
- Connections
- 1 pair of types, where a type in data.usecases.add-survey.db-add-survey uses a type in data.interfaces.db.survey.add-survey-repository.
- The types involved
src.data.usecases.add-survey.db-add-survey.DbAddSurvey→src.data.interfaces.db.survey.add-survey-repository.AddSurveyRepository
- Direction
- data.usecases.add-survey.db-add-survey uses data.interfaces.db.survey.add-survey-repository, so a change to data.interfaces.db.survey.add-survey-repository can break data.usecases.add-survey.db-add-survey, while a change to data.usecases.add-survey.db-add-survey can't break data.interfaces.db.survey.add-survey-repository.
- Position
- Below the diagonal: data.usecases.add-survey.db-add-survey uses a module listed above it, which is the healthy direction.
25→1 data.usecases.authentication.db-authentication uses domain.models.account✕
- Connections
- 1 pair of types, where a type in data.usecases.authentication.db-authentication uses a type in domain.models.account.
- The types involved
src.data.usecases.authentication.db-authentication.DbAuthentication→src.domain.models.account.AuthenticationModel
- Direction
- data.usecases.authentication.db-authentication uses domain.models.account, so a change to domain.models.account can break data.usecases.authentication.db-authentication, while a change to data.usecases.authentication.db-authentication can't break domain.models.account.
- Position
- Below the diagonal: data.usecases.authentication.db-authentication uses a module listed above it, which is the healthy direction.
25→9 data.usecases.authentication.db-authentication uses data.interfaces.db.account.load-account-repository✕
- Connections
- 1 pair of types, where a type in data.usecases.authentication.db-authentication uses a type in data.interfaces.db.account.load-account-repository.
- The types involved
src.data.usecases.authentication.db-authentication.DbAuthentication→src.data.interfaces.db.account.load-account-repository.LoadAccountRepository
- Direction
- data.usecases.authentication.db-authentication uses data.interfaces.db.account.load-account-repository, so a change to data.interfaces.db.account.load-account-repository can break data.usecases.authentication.db-authentication, while a change to data.usecases.authentication.db-authentication can't break data.interfaces.db.account.load-account-repository.
- Position
- Below the diagonal: data.usecases.authentication.db-authentication uses a module listed above it, which is the healthy direction.
25→14 data.usecases.authentication.db-authentication uses domain.usecases.authentication✕
- Connections
- 2 pairs of types, where a type in data.usecases.authentication.db-authentication uses a type in domain.usecases.authentication.
- The types involved
src.data.usecases.authentication.db-authentication.DbAuthentication→src.domain.usecases.authentication.AuthenticationParamssrc.data.usecases.authentication.db-authentication.DbAuthentication→src.domain.usecases.authentication.Authenticator
- Direction
- data.usecases.authentication.db-authentication uses domain.usecases.authentication, so a change to domain.usecases.authentication can break data.usecases.authentication.db-authentication, while a change to data.usecases.authentication.db-authentication can't break domain.usecases.authentication.
- Position
- Below the diagonal: data.usecases.authentication.db-authentication uses a module listed above it, which is the healthy direction.
26→1 data.usecases.load-account.db-load-account-by-token uses domain.models.account✕
- Connections
- 1 pair of types, where a type in data.usecases.load-account.db-load-account-by-token uses a type in domain.models.account.
- The types involved
src.data.usecases.load-account.db-load-account-by-token.DbLoadAccountByToken→src.domain.models.account.AccountModel
- Direction
- data.usecases.load-account.db-load-account-by-token uses domain.models.account, so a change to domain.models.account can break data.usecases.load-account.db-load-account-by-token, while a change to data.usecases.load-account.db-load-account-by-token can't break domain.models.account.
- Position
- Below the diagonal: data.usecases.load-account.db-load-account-by-token uses a module listed above it, which is the healthy direction.
26→8 data.usecases.load-account.db-load-account-by-token uses data.interfaces.db.account.load-account-by-token-repository✕
- Connections
- 1 pair of types, where a type in data.usecases.load-account.db-load-account-by-token uses a type in data.interfaces.db.account.load-account-by-token-repository.
- The types involved
src.data.usecases.load-account.db-load-account-by-token.DbLoadAccountByToken→src.data.interfaces.db.account.load-account-by-token-repository.LoadAccountByTokenRepository
- Direction
- data.usecases.load-account.db-load-account-by-token uses data.interfaces.db.account.load-account-by-token-repository, so a change to data.interfaces.db.account.load-account-by-token-repository can break data.usecases.load-account.db-load-account-by-token, while a change to data.usecases.load-account.db-load-account-by-token can't break data.interfaces.db.account.load-account-by-token-repository.
- Position
- Below the diagonal: data.usecases.load-account.db-load-account-by-token uses a module listed above it, which is the healthy direction.
26→15 data.usecases.load-account.db-load-account-by-token uses domain.usecases.load-account-by-token✕
- Connections
- 1 pair of types, where a type in data.usecases.load-account.db-load-account-by-token uses a type in domain.usecases.load-account-by-token.
- The types involved
src.data.usecases.load-account.db-load-account-by-token.DbLoadAccountByToken→src.domain.usecases.load-account-by-token.LoadAccountByToken
- Direction
- data.usecases.load-account.db-load-account-by-token uses domain.usecases.load-account-by-token, so a change to domain.usecases.load-account-by-token can break data.usecases.load-account.db-load-account-by-token, while a change to data.usecases.load-account.db-load-account-by-token can't break domain.usecases.load-account-by-token.
- Position
- Below the diagonal: data.usecases.load-account.db-load-account-by-token uses a module listed above it, which is the healthy direction.
27→3 data.usecases.load-survey-result.db-load-survey-result uses domain.models.survey-results✕
- Connections
- 1 pair of types, where a type in data.usecases.load-survey-result.db-load-survey-result uses a type in domain.models.survey-results.
- The types involved
src.data.usecases.load-survey-result.db-load-survey-result.DbLoadSurveyResults→src.domain.models.survey-results.SurveyResultsModel
- Direction
- data.usecases.load-survey-result.db-load-survey-result uses domain.models.survey-results, so a change to domain.models.survey-results can break data.usecases.load-survey-result.db-load-survey-result, while a change to data.usecases.load-survey-result.db-load-survey-result can't break domain.models.survey-results.
- Position
- Below the diagonal: data.usecases.load-survey-result.db-load-survey-result uses a module listed above it, which is the healthy direction.
27→11 data.usecases.load-survey-result.db-load-survey-result uses data.interfaces.db.survey.load-survey-by-id-repository✕
- Connections
- 1 pair of types, where a type in data.usecases.load-survey-result.db-load-survey-result uses a type in data.interfaces.db.survey.load-survey-by-id-repository.
- The types involved
src.data.usecases.load-survey-result.db-load-survey-result.DbLoadSurveyResults→src.data.interfaces.db.survey.load-survey-by-id-repository.LoadSurveyByIdRepository
- Direction
- data.usecases.load-survey-result.db-load-survey-result uses data.interfaces.db.survey.load-survey-by-id-repository, so a change to data.interfaces.db.survey.load-survey-by-id-repository can break data.usecases.load-survey-result.db-load-survey-result, while a change to data.usecases.load-survey-result.db-load-survey-result can't break data.interfaces.db.survey.load-survey-by-id-repository.
- Position
- Below the diagonal: data.usecases.load-survey-result.db-load-survey-result uses a module listed above it, which is the healthy direction.
27→12 data.usecases.load-survey-result.db-load-survey-result uses data.interfaces.db.survey.load-survey-results-repository✕
- Connections
- 1 pair of types, where a type in data.usecases.load-survey-result.db-load-survey-result uses a type in data.interfaces.db.survey.load-survey-results-repository.
- The types involved
src.data.usecases.load-survey-result.db-load-survey-result.DbLoadSurveyResults→src.data.interfaces.db.survey.load-survey-results-repository.LoadSurveyResultRepository
- Direction
- data.usecases.load-survey-result.db-load-survey-result uses data.interfaces.db.survey.load-survey-results-repository, so a change to data.interfaces.db.survey.load-survey-results-repository can break data.usecases.load-survey-result.db-load-survey-result, while a change to data.usecases.load-survey-result.db-load-survey-result can't break data.interfaces.db.survey.load-survey-results-repository.
- Position
- Below the diagonal: data.usecases.load-survey-result.db-load-survey-result uses a module listed above it, which is the healthy direction.
27→17 data.usecases.load-survey-result.db-load-survey-result uses domain.usecases.load-survey-results✕
- Connections
- 1 pair of types, where a type in data.usecases.load-survey-result.db-load-survey-result uses a type in domain.usecases.load-survey-results.
- The types involved
src.data.usecases.load-survey-result.db-load-survey-result.DbLoadSurveyResults→src.domain.usecases.load-survey-results.LoadSurveyResult
- Direction
- data.usecases.load-survey-result.db-load-survey-result uses domain.usecases.load-survey-results, so a change to domain.usecases.load-survey-results can break data.usecases.load-survey-result.db-load-survey-result, while a change to data.usecases.load-survey-result.db-load-survey-result can't break domain.usecases.load-survey-results.
- Position
- Below the diagonal: data.usecases.load-survey-result.db-load-survey-result uses a module listed above it, which is the healthy direction.
28→1 infra.db.mongodb.account.mongo-account-repository uses domain.models.account✕
- Connections
- 1 pair of types, where a type in infra.db.mongodb.account.mongo-account-repository uses a type in domain.models.account.
- The types involved
src.infra.db.mongodb.account.mongo-account-repository.MongoAccountRepository→src.domain.models.account.AccountModel
- Direction
- infra.db.mongodb.account.mongo-account-repository uses domain.models.account, so a change to domain.models.account can break infra.db.mongodb.account.mongo-account-repository, while a change to infra.db.mongodb.account.mongo-account-repository can't break domain.models.account.
- Position
- Below the diagonal: infra.db.mongodb.account.mongo-account-repository uses a module listed above it, which is the healthy direction.
28→7 infra.db.mongodb.account.mongo-account-repository uses data.interfaces.db.account.add-account-repository✕
- Connections
- 1 pair of types, where a type in infra.db.mongodb.account.mongo-account-repository uses a type in data.interfaces.db.account.add-account-repository.
- The types involved
src.infra.db.mongodb.account.mongo-account-repository.MongoAccountRepository→src.data.interfaces.db.account.add-account-repository.AddAccountRepository
- Direction
- infra.db.mongodb.account.mongo-account-repository uses data.interfaces.db.account.add-account-repository, so a change to data.interfaces.db.account.add-account-repository can break infra.db.mongodb.account.mongo-account-repository, while a change to infra.db.mongodb.account.mongo-account-repository can't break data.interfaces.db.account.add-account-repository.
- Position
- Below the diagonal: infra.db.mongodb.account.mongo-account-repository uses a module listed above it, which is the healthy direction.
28→8 infra.db.mongodb.account.mongo-account-repository uses data.interfaces.db.account.load-account-by-token-repository✕
- Connections
- 1 pair of types, where a type in infra.db.mongodb.account.mongo-account-repository uses a type in data.interfaces.db.account.load-account-by-token-repository.
- The types involved
src.infra.db.mongodb.account.mongo-account-repository.MongoAccountRepository→src.data.interfaces.db.account.load-account-by-token-repository.LoadAccountByTokenRepository
- Direction
- infra.db.mongodb.account.mongo-account-repository uses data.interfaces.db.account.load-account-by-token-repository, so a change to data.interfaces.db.account.load-account-by-token-repository can break infra.db.mongodb.account.mongo-account-repository, while a change to infra.db.mongodb.account.mongo-account-repository can't break data.interfaces.db.account.load-account-by-token-repository.
- Position
- Below the diagonal: infra.db.mongodb.account.mongo-account-repository uses a module listed above it, which is the healthy direction.
28→9 infra.db.mongodb.account.mongo-account-repository uses data.interfaces.db.account.load-account-repository✕
- Connections
- 1 pair of types, where a type in infra.db.mongodb.account.mongo-account-repository uses a type in data.interfaces.db.account.load-account-repository.
- The types involved
src.infra.db.mongodb.account.mongo-account-repository.MongoAccountRepository→src.data.interfaces.db.account.load-account-repository.LoadAccountRepository
- Direction
- infra.db.mongodb.account.mongo-account-repository uses data.interfaces.db.account.load-account-repository, so a change to data.interfaces.db.account.load-account-repository can break infra.db.mongodb.account.mongo-account-repository, while a change to infra.db.mongodb.account.mongo-account-repository can't break data.interfaces.db.account.load-account-repository.
- Position
- Below the diagonal: infra.db.mongodb.account.mongo-account-repository uses a module listed above it, which is the healthy direction.
29→2 infra.db.mongodb.survey.mongo-survey-repository uses domain.models.survey✕
- Connections
- 1 pair of types, where a type in infra.db.mongodb.survey.mongo-survey-repository uses a type in domain.models.survey.
- The types involved
src.infra.db.mongodb.survey.mongo-survey-repository.MongoSurveyRepository→src.domain.models.survey.SurveyModel
- Direction
- infra.db.mongodb.survey.mongo-survey-repository uses domain.models.survey, so a change to domain.models.survey can break infra.db.mongodb.survey.mongo-survey-repository, while a change to infra.db.mongodb.survey.mongo-survey-repository can't break domain.models.survey.
- Position
- Below the diagonal: infra.db.mongodb.survey.mongo-survey-repository uses a module listed above it, which is the healthy direction.
29→4 infra.db.mongodb.survey.mongo-survey-repository uses domain.usecases.add-survey✕
- Connections
- 1 pair of types, where a type in infra.db.mongodb.survey.mongo-survey-repository uses a type in domain.usecases.add-survey.
- The types involved
src.infra.db.mongodb.survey.mongo-survey-repository.MongoSurveyRepository→src.domain.usecases.add-survey.AddSurveyParams
- Direction
- infra.db.mongodb.survey.mongo-survey-repository uses domain.usecases.add-survey, so a change to domain.usecases.add-survey can break infra.db.mongodb.survey.mongo-survey-repository, while a change to infra.db.mongodb.survey.mongo-survey-repository can't break domain.usecases.add-survey.
- Position
- Below the diagonal: infra.db.mongodb.survey.mongo-survey-repository uses a module listed above it, which is the healthy direction.
29→10 infra.db.mongodb.survey.mongo-survey-repository uses data.interfaces.db.survey.add-survey-repository✕
- Connections
- 1 pair of types, where a type in infra.db.mongodb.survey.mongo-survey-repository uses a type in data.interfaces.db.survey.add-survey-repository.
- The types involved
src.infra.db.mongodb.survey.mongo-survey-repository.MongoSurveyRepository→src.data.interfaces.db.survey.add-survey-repository.AddSurveyRepository
- Direction
- infra.db.mongodb.survey.mongo-survey-repository uses data.interfaces.db.survey.add-survey-repository, so a change to data.interfaces.db.survey.add-survey-repository can break infra.db.mongodb.survey.mongo-survey-repository, while a change to infra.db.mongodb.survey.mongo-survey-repository can't break data.interfaces.db.survey.add-survey-repository.
- Position
- Below the diagonal: infra.db.mongodb.survey.mongo-survey-repository uses a module listed above it, which is the healthy direction.
29→11 infra.db.mongodb.survey.mongo-survey-repository uses data.interfaces.db.survey.load-survey-by-id-repository✕
- Connections
- 1 pair of types, where a type in infra.db.mongodb.survey.mongo-survey-repository uses a type in data.interfaces.db.survey.load-survey-by-id-repository.
- The types involved
src.infra.db.mongodb.survey.mongo-survey-repository.MongoSurveyRepository→src.data.interfaces.db.survey.load-survey-by-id-repository.LoadSurveyByIdRepository
- Direction
- infra.db.mongodb.survey.mongo-survey-repository uses data.interfaces.db.survey.load-survey-by-id-repository, so a change to data.interfaces.db.survey.load-survey-by-id-repository can break infra.db.mongodb.survey.mongo-survey-repository, while a change to infra.db.mongodb.survey.mongo-survey-repository can't break data.interfaces.db.survey.load-survey-by-id-repository.
- Position
- Below the diagonal: infra.db.mongodb.survey.mongo-survey-repository uses a module listed above it, which is the healthy direction.
30→5 main.decorators.log-controller-decorator uses presentation.interfaces.http✕
- Connections
- 1 pair of types, where a type in main.decorators.log-controller-decorator uses a type in presentation.interfaces.http.
- The types involved
src.main.decorators.log-controller-decorator.LogControllerDecorator→src.presentation.interfaces.http.HttpResponse
- Direction
- main.decorators.log-controller-decorator uses presentation.interfaces.http, so a change to presentation.interfaces.http can break main.decorators.log-controller-decorator, while a change to main.decorators.log-controller-decorator can't break presentation.interfaces.http.
- Position
- Below the diagonal: main.decorators.log-controller-decorator uses a module listed above it, which is the healthy direction.
30→19 main.decorators.log-controller-decorator uses presentation.interfaces.controller✕
- Connections
- 1 pair of types, where a type in main.decorators.log-controller-decorator uses a type in presentation.interfaces.controller.
- The types involved
src.main.decorators.log-controller-decorator.LogControllerDecorator→src.presentation.interfaces.controller.Controller
- Direction
- main.decorators.log-controller-decorator uses presentation.interfaces.controller, so a change to presentation.interfaces.controller can break main.decorators.log-controller-decorator, while a change to main.decorators.log-controller-decorator can't break presentation.interfaces.controller.
- Position
- Below the diagonal: main.decorators.log-controller-decorator uses a module listed above it, which is the healthy direction.
31→5 presentation.controllers.survey.load-survey.load-survey-controller uses presentation.interfaces.http✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey.load-survey.load-survey-controller uses a type in presentation.interfaces.http.
- The types involved
src.presentation.controllers.survey.load-survey.load-survey-controller.LoadSurveyController→src.presentation.interfaces.http.HttpResponse
- Direction
- presentation.controllers.survey.load-survey.load-survey-controller uses presentation.interfaces.http, so a change to presentation.interfaces.http can break presentation.controllers.survey.load-survey.load-survey-controller, while a change to presentation.controllers.survey.load-survey.load-survey-controller can't break presentation.interfaces.http.
- Position
- Below the diagonal: presentation.controllers.survey.load-survey.load-survey-controller uses a module listed above it, which is the healthy direction.
31→16 presentation.controllers.survey.load-survey.load-survey-controller uses domain.usecases.load-survey✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey.load-survey.load-survey-controller uses a type in domain.usecases.load-survey.
- The types involved
src.presentation.controllers.survey.load-survey.load-survey-controller.LoadSurveyController→src.domain.usecases.load-survey.LoadSurvey
- Direction
- presentation.controllers.survey.load-survey.load-survey-controller uses domain.usecases.load-survey, so a change to domain.usecases.load-survey can break presentation.controllers.survey.load-survey.load-survey-controller, while a change to presentation.controllers.survey.load-survey.load-survey-controller can't break domain.usecases.load-survey.
- Position
- Below the diagonal: presentation.controllers.survey.load-survey.load-survey-controller uses a module listed above it, which is the healthy direction.
31→19 presentation.controllers.survey.load-survey.load-survey-controller uses presentation.interfaces.controller✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey.load-survey.load-survey-controller uses a type in presentation.interfaces.controller.
- The types involved
src.presentation.controllers.survey.load-survey.load-survey-controller.LoadSurveyController→src.presentation.interfaces.controller.Controller
- Direction
- presentation.controllers.survey.load-survey.load-survey-controller uses presentation.interfaces.controller, so a change to presentation.interfaces.controller can break presentation.controllers.survey.load-survey.load-survey-controller, while a change to presentation.controllers.survey.load-survey.load-survey-controller can't break presentation.interfaces.controller.
- Position
- Below the diagonal: presentation.controllers.survey.load-survey.load-survey-controller uses a module listed above it, which is the healthy direction.
32→3 data.usecases.save-survey-result.db-save-survey-result uses domain.models.survey-results✕
- Connections
- 1 pair of types, where a type in data.usecases.save-survey-result.db-save-survey-result uses a type in domain.models.survey-results.
- The types involved
src.data.usecases.save-survey-result.db-save-survey-result.DbSaveSurveyResults→src.domain.models.survey-results.SurveyResultsModel
- Direction
- data.usecases.save-survey-result.db-save-survey-result uses domain.models.survey-results, so a change to domain.models.survey-results can break data.usecases.save-survey-result.db-save-survey-result, while a change to data.usecases.save-survey-result.db-save-survey-result can't break domain.models.survey-results.
- Position
- Below the diagonal: data.usecases.save-survey-result.db-save-survey-result uses a module listed above it, which is the healthy direction.
32→12 data.usecases.save-survey-result.db-save-survey-result uses data.interfaces.db.survey.load-survey-results-repository✕
- Connections
- 1 pair of types, where a type in data.usecases.save-survey-result.db-save-survey-result uses a type in data.interfaces.db.survey.load-survey-results-repository.
- The types involved
src.data.usecases.save-survey-result.db-save-survey-result.DbSaveSurveyResults→src.data.interfaces.db.survey.load-survey-results-repository.LoadSurveyResultRepository
- Direction
- data.usecases.save-survey-result.db-save-survey-result uses data.interfaces.db.survey.load-survey-results-repository, so a change to data.interfaces.db.survey.load-survey-results-repository can break data.usecases.save-survey-result.db-save-survey-result, while a change to data.usecases.save-survey-result.db-save-survey-result can't break data.interfaces.db.survey.load-survey-results-repository.
- Position
- Below the diagonal: data.usecases.save-survey-result.db-save-survey-result uses a module listed above it, which is the healthy direction.
32→18 data.usecases.save-survey-result.db-save-survey-result uses domain.usecases.save-survey-results✕
- Connections
- 2 pairs of types, where a type in data.usecases.save-survey-result.db-save-survey-result uses a type in domain.usecases.save-survey-results.
- The types involved
src.data.usecases.save-survey-result.db-save-survey-result.DbSaveSurveyResults→src.domain.usecases.save-survey-results.SaveSurveyResultParamssrc.data.usecases.save-survey-result.db-save-survey-result.DbSaveSurveyResults→src.domain.usecases.save-survey-results.SaveSurveyResults
- Direction
- data.usecases.save-survey-result.db-save-survey-result uses domain.usecases.save-survey-results, so a change to domain.usecases.save-survey-results can break data.usecases.save-survey-result.db-save-survey-result, while a change to data.usecases.save-survey-result.db-save-survey-result can't break domain.usecases.save-survey-results.
- Position
- Below the diagonal: data.usecases.save-survey-result.db-save-survey-result uses a module listed above it, which is the healthy direction.
32→22 data.usecases.save-survey-result.db-save-survey-result uses data.interfaces.db.survey.save-survey-result-repository✕
- Connections
- 1 pair of types, where a type in data.usecases.save-survey-result.db-save-survey-result uses a type in data.interfaces.db.survey.save-survey-result-repository.
- The types involved
src.data.usecases.save-survey-result.db-save-survey-result.DbSaveSurveyResults→src.data.interfaces.db.survey.save-survey-result-repository.SaveSurveyResultsRepository
- Direction
- data.usecases.save-survey-result.db-save-survey-result uses data.interfaces.db.survey.save-survey-result-repository, so a change to data.interfaces.db.survey.save-survey-result-repository can break data.usecases.save-survey-result.db-save-survey-result, while a change to data.usecases.save-survey-result.db-save-survey-result can't break data.interfaces.db.survey.save-survey-result-repository.
- Position
- Below the diagonal: data.usecases.save-survey-result.db-save-survey-result uses a module listed above it, which is the healthy direction.
33→3 infra.db.mongodb.survey-result.mongo-survey-results-repository uses domain.models.survey-results✕
- Connections
- 1 pair of types, where a type in infra.db.mongodb.survey-result.mongo-survey-results-repository uses a type in domain.models.survey-results.
- The types involved
src.infra.db.mongodb.survey-result.mongo-survey-results-repository.MongoSurveyResultRepository→src.domain.models.survey-results.SurveyResultsModel
- Direction
- infra.db.mongodb.survey-result.mongo-survey-results-repository uses domain.models.survey-results, so a change to domain.models.survey-results can break infra.db.mongodb.survey-result.mongo-survey-results-repository, while a change to infra.db.mongodb.survey-result.mongo-survey-results-repository can't break domain.models.survey-results.
- Position
- Below the diagonal: infra.db.mongodb.survey-result.mongo-survey-results-repository uses a module listed above it, which is the healthy direction.
33→12 infra.db.mongodb.survey-result.mongo-survey-results-repository uses data.interfaces.db.survey.load-survey-results-repository✕
- Connections
- 1 pair of types, where a type in infra.db.mongodb.survey-result.mongo-survey-results-repository uses a type in data.interfaces.db.survey.load-survey-results-repository.
- The types involved
src.infra.db.mongodb.survey-result.mongo-survey-results-repository.MongoSurveyResultRepository→src.data.interfaces.db.survey.load-survey-results-repository.LoadSurveyResultRepository
- Direction
- infra.db.mongodb.survey-result.mongo-survey-results-repository uses data.interfaces.db.survey.load-survey-results-repository, so a change to data.interfaces.db.survey.load-survey-results-repository can break infra.db.mongodb.survey-result.mongo-survey-results-repository, while a change to infra.db.mongodb.survey-result.mongo-survey-results-repository can't break data.interfaces.db.survey.load-survey-results-repository.
- Position
- Below the diagonal: infra.db.mongodb.survey-result.mongo-survey-results-repository uses a module listed above it, which is the healthy direction.
33→18 infra.db.mongodb.survey-result.mongo-survey-results-repository uses domain.usecases.save-survey-results✕
- Connections
- 1 pair of types, where a type in infra.db.mongodb.survey-result.mongo-survey-results-repository uses a type in domain.usecases.save-survey-results.
- The types involved
src.infra.db.mongodb.survey-result.mongo-survey-results-repository.MongoSurveyResultRepository→src.domain.usecases.save-survey-results.SaveSurveyResultParams
- Direction
- infra.db.mongodb.survey-result.mongo-survey-results-repository uses domain.usecases.save-survey-results, so a change to domain.usecases.save-survey-results can break infra.db.mongodb.survey-result.mongo-survey-results-repository, while a change to infra.db.mongodb.survey-result.mongo-survey-results-repository can't break domain.usecases.save-survey-results.
- Position
- Below the diagonal: infra.db.mongodb.survey-result.mongo-survey-results-repository uses a module listed above it, which is the healthy direction.
33→22 infra.db.mongodb.survey-result.mongo-survey-results-repository uses data.interfaces.db.survey.save-survey-result-repository✕
- Connections
- 1 pair of types, where a type in infra.db.mongodb.survey-result.mongo-survey-results-repository uses a type in data.interfaces.db.survey.save-survey-result-repository.
- The types involved
src.infra.db.mongodb.survey-result.mongo-survey-results-repository.MongoSurveyResultRepository→src.data.interfaces.db.survey.save-survey-result-repository.SaveSurveyResultsRepository
- Direction
- infra.db.mongodb.survey-result.mongo-survey-results-repository uses data.interfaces.db.survey.save-survey-result-repository, so a change to data.interfaces.db.survey.save-survey-result-repository can break infra.db.mongodb.survey-result.mongo-survey-results-repository, while a change to infra.db.mongodb.survey-result.mongo-survey-results-repository can't break data.interfaces.db.survey.save-survey-result-repository.
- Position
- Below the diagonal: infra.db.mongodb.survey-result.mongo-survey-results-repository uses a module listed above it, which is the healthy direction.
34→14 main.factories.usecases uses domain.usecases.authentication✕
- Connections
- 1 pair of types, where a type in main.factories.usecases uses a type in domain.usecases.authentication.
- The types involved
src.main.factories.usecases.db-authentication-factory→src.domain.usecases.authentication.Authenticator
- Direction
- main.factories.usecases uses domain.usecases.authentication, so a change to domain.usecases.authentication can break main.factories.usecases, while a change to main.factories.usecases can't break domain.usecases.authentication.
- Position
- Below the diagonal: main.factories.usecases uses a module listed above it, which is the healthy direction.
34→15 main.factories.usecases uses domain.usecases.load-account-by-token✕
- Connections
- 1 pair of types, where a type in main.factories.usecases uses a type in domain.usecases.load-account-by-token.
- The types involved
src.main.factories.usecases.db-load-account-by-token→src.domain.usecases.load-account-by-token.LoadAccountByToken
- Direction
- main.factories.usecases uses domain.usecases.load-account-by-token, so a change to domain.usecases.load-account-by-token can break main.factories.usecases, while a change to main.factories.usecases can't break domain.usecases.load-account-by-token.
- Position
- Below the diagonal: main.factories.usecases uses a module listed above it, which is the healthy direction.
34→16 main.factories.usecases uses domain.usecases.load-survey✕
- Connections
- 2 pairs of types, where a type in main.factories.usecases uses a type in domain.usecases.load-survey.
- The types involved
src.main.factories.usecases.db-load-survey→src.domain.usecases.load-survey.LoadSurveysrc.main.factories.usecases.db-load-survey-by-id→src.domain.usecases.load-survey.LoadSurveyById
- Direction
- main.factories.usecases uses domain.usecases.load-survey, so a change to domain.usecases.load-survey can break main.factories.usecases, while a change to main.factories.usecases can't break domain.usecases.load-survey.
- Position
- Below the diagonal: main.factories.usecases uses a module listed above it, which is the healthy direction.
34→17 main.factories.usecases uses domain.usecases.load-survey-results✕
- Connections
- 1 pair of types, where a type in main.factories.usecases uses a type in domain.usecases.load-survey-results.
- The types involved
src.main.factories.usecases.db-load-survey-result→src.domain.usecases.load-survey-results.LoadSurveyResult
- Direction
- main.factories.usecases uses domain.usecases.load-survey-results, so a change to domain.usecases.load-survey-results can break main.factories.usecases, while a change to main.factories.usecases can't break domain.usecases.load-survey-results.
- Position
- Below the diagonal: main.factories.usecases uses a module listed above it, which is the healthy direction.
34→18 main.factories.usecases uses domain.usecases.save-survey-results✕
- Connections
- 1 pair of types, where a type in main.factories.usecases uses a type in domain.usecases.save-survey-results.
- The types involved
src.main.factories.usecases.db-save-survey-result-factory→src.domain.usecases.save-survey-results.SaveSurveyResults
- Direction
- main.factories.usecases uses domain.usecases.save-survey-results, so a change to domain.usecases.save-survey-results can break main.factories.usecases, while a change to main.factories.usecases can't break domain.usecases.save-survey-results.
- Position
- Below the diagonal: main.factories.usecases uses a module listed above it, which is the healthy direction.
34→23 main.factories.usecases uses data.usecases.add-account.db-add-account✕
- Connections
- 1 pair of types, where a type in main.factories.usecases uses a type in data.usecases.add-account.db-add-account.
- The types involved
src.main.factories.usecases.db-add-account-factory→src.data.usecases.add-account.db-add-account.DbAddAccount
- Direction
- main.factories.usecases uses data.usecases.add-account.db-add-account, so a change to data.usecases.add-account.db-add-account can break main.factories.usecases, while a change to main.factories.usecases can't break data.usecases.add-account.db-add-account.
- Position
- Below the diagonal: main.factories.usecases uses a module listed above it, which is the healthy direction.
34→24 main.factories.usecases uses data.usecases.add-survey.db-add-survey✕
- Connections
- 1 pair of types, where a type in main.factories.usecases uses a type in data.usecases.add-survey.db-add-survey.
- The types involved
src.main.factories.usecases.db-add-survey-factory→src.data.usecases.add-survey.db-add-survey.DbAddSurvey
- Direction
- main.factories.usecases uses data.usecases.add-survey.db-add-survey, so a change to data.usecases.add-survey.db-add-survey can break main.factories.usecases, while a change to main.factories.usecases can't break data.usecases.add-survey.db-add-survey.
- Position
- Below the diagonal: main.factories.usecases uses a module listed above it, which is the healthy direction.
35→5 presentation.controllers.login.login-controller uses presentation.interfaces.http✕
- Connections
- 1 pair of types, where a type in presentation.controllers.login.login-controller uses a type in presentation.interfaces.http.
- The types involved
src.presentation.controllers.login.login-controller.LoginController→src.presentation.interfaces.http.HttpResponse
- Direction
- presentation.controllers.login.login-controller uses presentation.interfaces.http, so a change to presentation.interfaces.http can break presentation.controllers.login.login-controller, while a change to presentation.controllers.login.login-controller can't break presentation.interfaces.http.
- Position
- Below the diagonal: presentation.controllers.login.login-controller uses a module listed above it, which is the healthy direction.
35→6 presentation.controllers.login.login-controller uses presentation.interfaces.validation✕
- Connections
- 1 pair of types, where a type in presentation.controllers.login.login-controller uses a type in presentation.interfaces.validation.
- The types involved
src.presentation.controllers.login.login-controller.LoginController→src.presentation.interfaces.validation.Validation
- Direction
- presentation.controllers.login.login-controller uses presentation.interfaces.validation, so a change to presentation.interfaces.validation can break presentation.controllers.login.login-controller, while a change to presentation.controllers.login.login-controller can't break presentation.interfaces.validation.
- Position
- Below the diagonal: presentation.controllers.login.login-controller uses a module listed above it, which is the healthy direction.
35→14 presentation.controllers.login.login-controller uses domain.usecases.authentication✕
- Connections
- 1 pair of types, where a type in presentation.controllers.login.login-controller uses a type in domain.usecases.authentication.
- The types involved
src.presentation.controllers.login.login-controller.LoginController→src.domain.usecases.authentication.Authenticator
- Direction
- presentation.controllers.login.login-controller uses domain.usecases.authentication, so a change to domain.usecases.authentication can break presentation.controllers.login.login-controller, while a change to presentation.controllers.login.login-controller can't break domain.usecases.authentication.
- Position
- Below the diagonal: presentation.controllers.login.login-controller uses a module listed above it, which is the healthy direction.
35→19 presentation.controllers.login.login-controller uses presentation.interfaces.controller✕
- Connections
- 1 pair of types, where a type in presentation.controllers.login.login-controller uses a type in presentation.interfaces.controller.
- The types involved
src.presentation.controllers.login.login-controller.LoginController→src.presentation.interfaces.controller.Controller
- Direction
- presentation.controllers.login.login-controller uses presentation.interfaces.controller, so a change to presentation.interfaces.controller can break presentation.controllers.login.login-controller, while a change to presentation.controllers.login.login-controller can't break presentation.interfaces.controller.
- Position
- Below the diagonal: presentation.controllers.login.login-controller uses a module listed above it, which is the healthy direction.
35→31 presentation.controllers.login.login-controller uses presentation.controllers.survey.load-survey.load-survey-controller✕
- Connections
- 1 pair of types, where a type in presentation.controllers.login.login-controller uses a type in presentation.controllers.survey.load-survey.load-survey-controller.
- The types involved
src.presentation.controllers.login.login-controller.LoginController→src.presentation.controllers.survey.load-survey.load-survey-controller.Request
- Direction
- presentation.controllers.login.login-controller uses presentation.controllers.survey.load-survey.load-survey-controller, so a change to presentation.controllers.survey.load-survey.load-survey-controller can break presentation.controllers.login.login-controller, while a change to presentation.controllers.login.login-controller can't break presentation.controllers.survey.load-survey.load-survey-controller.
- Position
- Below the diagonal: presentation.controllers.login.login-controller uses a module listed above it, which is the healthy direction.
36→5 presentation.controllers.signup.signup-controller uses presentation.interfaces.http✕
- Connections
- 1 pair of types, where a type in presentation.controllers.signup.signup-controller uses a type in presentation.interfaces.http.
- The types involved
src.presentation.controllers.signup.signup-controller.SignUpController→src.presentation.interfaces.http.HttpResponse
- Direction
- presentation.controllers.signup.signup-controller uses presentation.interfaces.http, so a change to presentation.interfaces.http can break presentation.controllers.signup.signup-controller, while a change to presentation.controllers.signup.signup-controller can't break presentation.interfaces.http.
- Position
- Below the diagonal: presentation.controllers.signup.signup-controller uses a module listed above it, which is the healthy direction.
36→6 presentation.controllers.signup.signup-controller uses presentation.interfaces.validation✕
- Connections
- 1 pair of types, where a type in presentation.controllers.signup.signup-controller uses a type in presentation.interfaces.validation.
- The types involved
src.presentation.controllers.signup.signup-controller.SignUpController→src.presentation.interfaces.validation.Validation
- Direction
- presentation.controllers.signup.signup-controller uses presentation.interfaces.validation, so a change to presentation.interfaces.validation can break presentation.controllers.signup.signup-controller, while a change to presentation.controllers.signup.signup-controller can't break presentation.interfaces.validation.
- Position
- Below the diagonal: presentation.controllers.signup.signup-controller uses a module listed above it, which is the healthy direction.
36→13 presentation.controllers.signup.signup-controller uses domain.usecases.add-account✕
- Connections
- 1 pair of types, where a type in presentation.controllers.signup.signup-controller uses a type in domain.usecases.add-account.
- The types involved
src.presentation.controllers.signup.signup-controller.SignUpController→src.domain.usecases.add-account.AddAccount
- Direction
- presentation.controllers.signup.signup-controller uses domain.usecases.add-account, so a change to domain.usecases.add-account can break presentation.controllers.signup.signup-controller, while a change to presentation.controllers.signup.signup-controller can't break domain.usecases.add-account.
- Position
- Below the diagonal: presentation.controllers.signup.signup-controller uses a module listed above it, which is the healthy direction.
36→14 presentation.controllers.signup.signup-controller uses domain.usecases.authentication✕
- Connections
- 1 pair of types, where a type in presentation.controllers.signup.signup-controller uses a type in domain.usecases.authentication.
- The types involved
src.presentation.controllers.signup.signup-controller.SignUpController→src.domain.usecases.authentication.Authenticator
- Direction
- presentation.controllers.signup.signup-controller uses domain.usecases.authentication, so a change to domain.usecases.authentication can break presentation.controllers.signup.signup-controller, while a change to presentation.controllers.signup.signup-controller can't break domain.usecases.authentication.
- Position
- Below the diagonal: presentation.controllers.signup.signup-controller uses a module listed above it, which is the healthy direction.
36→19 presentation.controllers.signup.signup-controller uses presentation.interfaces.controller✕
- Connections
- 1 pair of types, where a type in presentation.controllers.signup.signup-controller uses a type in presentation.interfaces.controller.
- The types involved
src.presentation.controllers.signup.signup-controller.SignUpController→src.presentation.interfaces.controller.Controller
- Direction
- presentation.controllers.signup.signup-controller uses presentation.interfaces.controller, so a change to presentation.interfaces.controller can break presentation.controllers.signup.signup-controller, while a change to presentation.controllers.signup.signup-controller can't break presentation.interfaces.controller.
- Position
- Below the diagonal: presentation.controllers.signup.signup-controller uses a module listed above it, which is the healthy direction.
36→31 presentation.controllers.signup.signup-controller uses presentation.controllers.survey.load-survey.load-survey-controller✕
- Connections
- 1 pair of types, where a type in presentation.controllers.signup.signup-controller uses a type in presentation.controllers.survey.load-survey.load-survey-controller.
- The types involved
src.presentation.controllers.signup.signup-controller.SignUpController→src.presentation.controllers.survey.load-survey.load-survey-controller.Request
- Direction
- presentation.controllers.signup.signup-controller uses presentation.controllers.survey.load-survey.load-survey-controller, so a change to presentation.controllers.survey.load-survey.load-survey-controller can break presentation.controllers.signup.signup-controller, while a change to presentation.controllers.signup.signup-controller can't break presentation.controllers.survey.load-survey.load-survey-controller.
- Position
- Below the diagonal: presentation.controllers.signup.signup-controller uses a module listed above it, which is the healthy direction.
37→5 presentation.controllers.survey-result.load-survey-result-controller uses presentation.interfaces.http✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey-result.load-survey-result-controller uses a type in presentation.interfaces.http.
- The types involved
src.presentation.controllers.survey-result.load-survey-result-controller.LoadSurveyResultController→src.presentation.interfaces.http.HttpResponse
- Direction
- presentation.controllers.survey-result.load-survey-result-controller uses presentation.interfaces.http, so a change to presentation.interfaces.http can break presentation.controllers.survey-result.load-survey-result-controller, while a change to presentation.controllers.survey-result.load-survey-result-controller can't break presentation.interfaces.http.
- Position
- Below the diagonal: presentation.controllers.survey-result.load-survey-result-controller uses a module listed above it, which is the healthy direction.
37→16 presentation.controllers.survey-result.load-survey-result-controller uses domain.usecases.load-survey✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey-result.load-survey-result-controller uses a type in domain.usecases.load-survey.
- The types involved
src.presentation.controllers.survey-result.load-survey-result-controller.LoadSurveyResultController→src.domain.usecases.load-survey.LoadSurveyById
- Direction
- presentation.controllers.survey-result.load-survey-result-controller uses domain.usecases.load-survey, so a change to domain.usecases.load-survey can break presentation.controllers.survey-result.load-survey-result-controller, while a change to presentation.controllers.survey-result.load-survey-result-controller can't break domain.usecases.load-survey.
- Position
- Below the diagonal: presentation.controllers.survey-result.load-survey-result-controller uses a module listed above it, which is the healthy direction.
37→17 presentation.controllers.survey-result.load-survey-result-controller uses domain.usecases.load-survey-results✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey-result.load-survey-result-controller uses a type in domain.usecases.load-survey-results.
- The types involved
src.presentation.controllers.survey-result.load-survey-result-controller.LoadSurveyResultController→src.domain.usecases.load-survey-results.LoadSurveyResult
- Direction
- presentation.controllers.survey-result.load-survey-result-controller uses domain.usecases.load-survey-results, so a change to domain.usecases.load-survey-results can break presentation.controllers.survey-result.load-survey-result-controller, while a change to presentation.controllers.survey-result.load-survey-result-controller can't break domain.usecases.load-survey-results.
- Position
- Below the diagonal: presentation.controllers.survey-result.load-survey-result-controller uses a module listed above it, which is the healthy direction.
37→19 presentation.controllers.survey-result.load-survey-result-controller uses presentation.interfaces.controller✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey-result.load-survey-result-controller uses a type in presentation.interfaces.controller.
- The types involved
src.presentation.controllers.survey-result.load-survey-result-controller.LoadSurveyResultController→src.presentation.interfaces.controller.Controller
- Direction
- presentation.controllers.survey-result.load-survey-result-controller uses presentation.interfaces.controller, so a change to presentation.interfaces.controller can break presentation.controllers.survey-result.load-survey-result-controller, while a change to presentation.controllers.survey-result.load-survey-result-controller can't break presentation.interfaces.controller.
- Position
- Below the diagonal: presentation.controllers.survey-result.load-survey-result-controller uses a module listed above it, which is the healthy direction.
37→31 presentation.controllers.survey-result.load-survey-result-controller uses presentation.controllers.survey.load-survey.load-survey-controller✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey-result.load-survey-result-controller uses a type in presentation.controllers.survey.load-survey.load-survey-controller.
- The types involved
src.presentation.controllers.survey-result.load-survey-result-controller.LoadSurveyResultController→src.presentation.controllers.survey.load-survey.load-survey-controller.Request
- Direction
- presentation.controllers.survey-result.load-survey-result-controller uses presentation.controllers.survey.load-survey.load-survey-controller, so a change to presentation.controllers.survey.load-survey.load-survey-controller can break presentation.controllers.survey-result.load-survey-result-controller, while a change to presentation.controllers.survey-result.load-survey-result-controller can't break presentation.controllers.survey.load-survey.load-survey-controller.
- Position
- Below the diagonal: presentation.controllers.survey-result.load-survey-result-controller uses a module listed above it, which is the healthy direction.
38→5 presentation.controllers.survey-result.save-survey-result-controller uses presentation.interfaces.http✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey-result.save-survey-result-controller uses a type in presentation.interfaces.http.
- The types involved
src.presentation.controllers.survey-result.save-survey-result-controller.SaveSurveyResultController→src.presentation.interfaces.http.HttpResponse
- Direction
- presentation.controllers.survey-result.save-survey-result-controller uses presentation.interfaces.http, so a change to presentation.interfaces.http can break presentation.controllers.survey-result.save-survey-result-controller, while a change to presentation.controllers.survey-result.save-survey-result-controller can't break presentation.interfaces.http.
- Position
- Below the diagonal: presentation.controllers.survey-result.save-survey-result-controller uses a module listed above it, which is the healthy direction.
38→16 presentation.controllers.survey-result.save-survey-result-controller uses domain.usecases.load-survey✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey-result.save-survey-result-controller uses a type in domain.usecases.load-survey.
- The types involved
src.presentation.controllers.survey-result.save-survey-result-controller.SaveSurveyResultController→src.domain.usecases.load-survey.LoadSurveyById
- Direction
- presentation.controllers.survey-result.save-survey-result-controller uses domain.usecases.load-survey, so a change to domain.usecases.load-survey can break presentation.controllers.survey-result.save-survey-result-controller, while a change to presentation.controllers.survey-result.save-survey-result-controller can't break domain.usecases.load-survey.
- Position
- Below the diagonal: presentation.controllers.survey-result.save-survey-result-controller uses a module listed above it, which is the healthy direction.
38→18 presentation.controllers.survey-result.save-survey-result-controller uses domain.usecases.save-survey-results✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey-result.save-survey-result-controller uses a type in domain.usecases.save-survey-results.
- The types involved
src.presentation.controllers.survey-result.save-survey-result-controller.SaveSurveyResultController→src.domain.usecases.save-survey-results.SaveSurveyResults
- Direction
- presentation.controllers.survey-result.save-survey-result-controller uses domain.usecases.save-survey-results, so a change to domain.usecases.save-survey-results can break presentation.controllers.survey-result.save-survey-result-controller, while a change to presentation.controllers.survey-result.save-survey-result-controller can't break domain.usecases.save-survey-results.
- Position
- Below the diagonal: presentation.controllers.survey-result.save-survey-result-controller uses a module listed above it, which is the healthy direction.
38→19 presentation.controllers.survey-result.save-survey-result-controller uses presentation.interfaces.controller✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey-result.save-survey-result-controller uses a type in presentation.interfaces.controller.
- The types involved
src.presentation.controllers.survey-result.save-survey-result-controller.SaveSurveyResultController→src.presentation.interfaces.controller.Controller
- Direction
- presentation.controllers.survey-result.save-survey-result-controller uses presentation.interfaces.controller, so a change to presentation.interfaces.controller can break presentation.controllers.survey-result.save-survey-result-controller, while a change to presentation.controllers.survey-result.save-survey-result-controller can't break presentation.interfaces.controller.
- Position
- Below the diagonal: presentation.controllers.survey-result.save-survey-result-controller uses a module listed above it, which is the healthy direction.
38→31 presentation.controllers.survey-result.save-survey-result-controller uses presentation.controllers.survey.load-survey.load-survey-controller✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey-result.save-survey-result-controller uses a type in presentation.controllers.survey.load-survey.load-survey-controller.
- The types involved
src.presentation.controllers.survey-result.save-survey-result-controller.SaveSurveyResultController→src.presentation.controllers.survey.load-survey.load-survey-controller.Request
- Direction
- presentation.controllers.survey-result.save-survey-result-controller uses presentation.controllers.survey.load-survey.load-survey-controller, so a change to presentation.controllers.survey.load-survey.load-survey-controller can break presentation.controllers.survey-result.save-survey-result-controller, while a change to presentation.controllers.survey-result.save-survey-result-controller can't break presentation.controllers.survey.load-survey.load-survey-controller.
- Position
- Below the diagonal: presentation.controllers.survey-result.save-survey-result-controller uses a module listed above it, which is the healthy direction.
39→4 presentation.controllers.survey.add-survey.add-survey uses domain.usecases.add-survey✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey.add-survey.add-survey uses a type in domain.usecases.add-survey.
- The types involved
src.presentation.controllers.survey.add-survey.add-survey.AddSurveyController→src.domain.usecases.add-survey.AddSurvey
- Direction
- presentation.controllers.survey.add-survey.add-survey uses domain.usecases.add-survey, so a change to domain.usecases.add-survey can break presentation.controllers.survey.add-survey.add-survey, while a change to presentation.controllers.survey.add-survey.add-survey can't break domain.usecases.add-survey.
- Position
- Below the diagonal: presentation.controllers.survey.add-survey.add-survey uses a module listed above it, which is the healthy direction.
39→5 presentation.controllers.survey.add-survey.add-survey uses presentation.interfaces.http✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey.add-survey.add-survey uses a type in presentation.interfaces.http.
- The types involved
src.presentation.controllers.survey.add-survey.add-survey.AddSurveyController→src.presentation.interfaces.http.HttpResponse
- Direction
- presentation.controllers.survey.add-survey.add-survey uses presentation.interfaces.http, so a change to presentation.interfaces.http can break presentation.controllers.survey.add-survey.add-survey, while a change to presentation.controllers.survey.add-survey.add-survey can't break presentation.interfaces.http.
- Position
- Below the diagonal: presentation.controllers.survey.add-survey.add-survey uses a module listed above it, which is the healthy direction.
39→6 presentation.controllers.survey.add-survey.add-survey uses presentation.interfaces.validation✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey.add-survey.add-survey uses a type in presentation.interfaces.validation.
- The types involved
src.presentation.controllers.survey.add-survey.add-survey.AddSurveyController→src.presentation.interfaces.validation.Validation
- Direction
- presentation.controllers.survey.add-survey.add-survey uses presentation.interfaces.validation, so a change to presentation.interfaces.validation can break presentation.controllers.survey.add-survey.add-survey, while a change to presentation.controllers.survey.add-survey.add-survey can't break presentation.interfaces.validation.
- Position
- Below the diagonal: presentation.controllers.survey.add-survey.add-survey uses a module listed above it, which is the healthy direction.
39→19 presentation.controllers.survey.add-survey.add-survey uses presentation.interfaces.controller✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey.add-survey.add-survey uses a type in presentation.interfaces.controller.
- The types involved
src.presentation.controllers.survey.add-survey.add-survey.AddSurveyController→src.presentation.interfaces.controller.Controller
- Direction
- presentation.controllers.survey.add-survey.add-survey uses presentation.interfaces.controller, so a change to presentation.interfaces.controller can break presentation.controllers.survey.add-survey.add-survey, while a change to presentation.controllers.survey.add-survey.add-survey can't break presentation.interfaces.controller.
- Position
- Below the diagonal: presentation.controllers.survey.add-survey.add-survey uses a module listed above it, which is the healthy direction.
39→31 presentation.controllers.survey.add-survey.add-survey uses presentation.controllers.survey.load-survey.load-survey-controller✕
- Connections
- 1 pair of types, where a type in presentation.controllers.survey.add-survey.add-survey uses a type in presentation.controllers.survey.load-survey.load-survey-controller.
- The types involved
src.presentation.controllers.survey.add-survey.add-survey.AddSurveyController→src.presentation.controllers.survey.load-survey.load-survey-controller.Request
- Direction
- presentation.controllers.survey.add-survey.add-survey uses presentation.controllers.survey.load-survey.load-survey-controller, so a change to presentation.controllers.survey.load-survey.load-survey-controller can break presentation.controllers.survey.add-survey.add-survey, while a change to presentation.controllers.survey.add-survey.add-survey can't break presentation.controllers.survey.load-survey.load-survey-controller.
- Position
- Below the diagonal: presentation.controllers.survey.add-survey.add-survey uses a module listed above it, which is the healthy direction.
40→5 presentation.middlewares.auth-middleware uses presentation.interfaces.http✕
- Connections
- 1 pair of types, where a type in presentation.middlewares.auth-middleware uses a type in presentation.interfaces.http.
- The types involved
src.presentation.middlewares.auth-middleware.AuthMiddleware→src.presentation.interfaces.http.HttpResponse
- Direction
- presentation.middlewares.auth-middleware uses presentation.interfaces.http, so a change to presentation.interfaces.http can break presentation.middlewares.auth-middleware, while a change to presentation.middlewares.auth-middleware can't break presentation.interfaces.http.
- Position
- Below the diagonal: presentation.middlewares.auth-middleware uses a module listed above it, which is the healthy direction.
40→15 presentation.middlewares.auth-middleware uses domain.usecases.load-account-by-token✕
- Connections
- 1 pair of types, where a type in presentation.middlewares.auth-middleware uses a type in domain.usecases.load-account-by-token.
- The types involved
src.presentation.middlewares.auth-middleware.AuthMiddleware→src.domain.usecases.load-account-by-token.LoadAccountByToken
- Direction
- presentation.middlewares.auth-middleware uses domain.usecases.load-account-by-token, so a change to domain.usecases.load-account-by-token can break presentation.middlewares.auth-middleware, while a change to presentation.middlewares.auth-middleware can't break domain.usecases.load-account-by-token.
- Position
- Below the diagonal: presentation.middlewares.auth-middleware uses a module listed above it, which is the healthy direction.
40→20 presentation.middlewares.auth-middleware uses presentation.interfaces.middleware✕
- Connections
- 1 pair of types, where a type in presentation.middlewares.auth-middleware uses a type in presentation.interfaces.middleware.
- The types involved
src.presentation.middlewares.auth-middleware.AuthMiddleware→src.presentation.interfaces.middleware.Middleware
- Direction
- presentation.middlewares.auth-middleware uses presentation.interfaces.middleware, so a change to presentation.interfaces.middleware can break presentation.middlewares.auth-middleware, while a change to presentation.middlewares.auth-middleware can't break presentation.interfaces.middleware.
- Position
- Below the diagonal: presentation.middlewares.auth-middleware uses a module listed above it, which is the healthy direction.
40→31 presentation.middlewares.auth-middleware uses presentation.controllers.survey.load-survey.load-survey-controller✕
- Connections
- 1 pair of types, where a type in presentation.middlewares.auth-middleware uses a type in presentation.controllers.survey.load-survey.load-survey-controller.
- The types involved
src.presentation.middlewares.auth-middleware.AuthMiddleware→src.presentation.controllers.survey.load-survey.load-survey-controller.Request
- Direction
- presentation.middlewares.auth-middleware uses presentation.controllers.survey.load-survey.load-survey-controller, so a change to presentation.controllers.survey.load-survey.load-survey-controller can break presentation.middlewares.auth-middleware, while a change to presentation.middlewares.auth-middleware can't break presentation.controllers.survey.load-survey.load-survey-controller.
- Position
- Below the diagonal: presentation.middlewares.auth-middleware 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 — Performance
Security & Compliance — OWASP Top-10 mapping
| OWASP category | Findings | Severity |
|---|---|---|
| A03:2025 — Software Supply Chain Failures | 83 | High / Critical |
| A05:2025 — Injection | 4 | High / Critical |
| A02:2025 — Security Misconfiguration | 2 | High / Critical |
| A07:2025 — Authentication Failures | 1 | High / Critical |
Roadmap
Begin by cleaning up the 57 deprecated dependencies in REDACTED to stabilize the project's foundation. Next, immediately address the single leaked secret in REDACTED to secure sensitive credentials. Finally, improve documentation and code hygiene by creating an architecture decision record, removing the orphaned mongo-survey-results-repository.ts file, and resolving other stale knowledge assets.
| Do this | Helps | Effort | Dimension |
|---|---|---|---|
| Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. | +11.4 pts | Low | Secret Scanning |
| Resolve the 57 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (57). | +13.9 pts | Medium | Dependency Hygiene |
| Resolve the 1 No ADRs found finding(s) in ADR Quality. | +6.6 pts | Low | ADR Quality |
| Resolve the 1 Orphaned file finding(s) in Knowledge Freshness — start with mongo-survey-results-repository.ts. | +5.9 pts | Low | Knowledge Freshness |
| Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. | +5.9 pts | Low | Knowledge Freshness |
| 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. | +5.6 pts | Medium | Architecture documentation |
| Adopt pino (or winston) and log at meaningful points in the services you run. | +3.6 pts | Medium | Observability |
| Add a SAST step to CI running what this repository's stack ships: CodeQL's javascript-typescript pack, `semgrep --config=p/typescript`, or eslint-plugin-security — so a security regression fails the build instead of landing. | +3.6 pts | Medium | Security & performance tooling |
File quality
| File | Score | Band | Worst signal |
|---|---|---|---|
| REDACTED | 0.0 | Slop | Dependency Vulnerabilities: Critical CVE: REDACTED |
| package.json | 4.2 | Mixed | Platform End-of-Life: End-of-life runtime: Node.js 14 |
| REDACTED | 4.4 | Mixed | Secret Scanning: Leaked secret: REDACTED |
| REDACTED | 5.1 | Mixed | IaC & Container Security: High IaC: REDACTED |
| REDACTED | 7.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 7.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
| REDACTED | 7.9 | Mixed | Static Analysis (SAST): Medium: REDACTED |
How the grades work
A definite problem that already costs you something and drags the score down: a missing authorisation check, a dependency with a known exploit, a build that does not reproduce. Failure here tends to cause failures elsewhere.
Likely wrong, but not failing yet. It degrades the codebase over a longer horizon and can cause failures elsewhere — not urgent this week, not something to carry for two years either.
Recorded, with no effect on how the codebase functions. Present so the survey is complete, not because it needs doing.
Something this survey could not settle from the outside, and which could be critical or serious. Either a control was required and no positive evidence of it exists in the repository — a backup job that nothing shows was ever restored from proves nothing about restores — or our own analysis could not run over that part of the tree. This is not a clean result. These are excluded from the score rather than awarded a pass, so the number on the cover neither rewards nor penalises them: if you act on this survey without resolving them, you carry that risk yourself. Each one is named under Limitations.
Methodology & how to trust this report
Watchdog is a deep, periodic assessment — run each sprint, monthly, or quarterly, taking the time to go wider and deeper than a quick check and surfacing in one coherent report what you'd otherwise piece together from a dozen separate tools. It scores deterministically: the same commit yields the same score, every run. 73 of 76 evaluated dimensions are computed purely by tools and static analysis (confidence 1.0); 3 documentation/naming judgement(s) are LLM-assisted and labelled advisory. Overall confidence is 0.9 — the weighted average across measured dimensions; it falls as more of the score leans on LLM-assisted judgement and rises when it's fully tool-backed.
What we checked — 76 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, 164 of 188 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
- D8 Code Coverage — 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. Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured — the dependency install for the repository root failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. Coverage is excluded from the score rather than counted as a near-zero. This is OUR limitation, not a defect in the repo. In the meantime, commit (or publish into the working tree) the lcov/Cobertura report your CI produces and the real number is read on the next scan. You can widen what we reach: optional: commit the lcov/Cobertura report your CI produces, and the real number is read on the next scan.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability NOT MEASURED: the JavaScript/TypeScript suite could not be re-run in the analyzer sandbox — the dependency install for the repository root failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repo — it is excluded from the score.
- D11 Test Reliability — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. Test reliability for the jest suite in the repository root was NOT MEASURED: the dependency install for the repository root failed in the analyzer sandbox (yarn install v1.22.22), so the suite never ran. This is OUR limitation, not a defect in the repository, and the suite is excluded from the measurement rather than counted against it.
- 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 244 commit(s) sampled, automation and bot accounts excluded). Concentration needs a team to concentrate: with one contributor there is nobody to spread the knowledge to, so there is nothing here for the owner to act on.
- D22 Internal API Consistency — not measured this run — Watchdog could not measure this here. That is a gap on our side — a collector, parser or image we have not built yet — and it is neither a defect in this repository nor evidence that the check would have passed. D22 identifies the intentionally-exposed surface from `IsPackable` and `.Contracts` project names, MSBuild conventions read off the loaded project set. This target exposed no such projects, so the probe never ran; this says nothing about whether the repository has a public API. This repository commits no C#/VB source at all, so there was never an MSBuild project set to read these conventions off. That is OUR side and it is an ADMISSION gap, not an environment fault: it declares a published package (package.json), but no published-package marker D22 reads admitted any project here. D22 DOES collect the public API of every language in this tree, and admits a project only when its manifest makes that ecosystem's publication act in a form the marker recognises — so what is missing is not a collector but an admission rule for the publication act this repository makes, if it makes one. The remedy is a better discriminator for that marker — not a collector, and no change to the scan image can close it. The marker's rules are measured to refuse applications, so one refused repository is the rule working as calibrated; several are the evidence that it is too strict. For npm the surface is what a published package.json's entry points (exports, main, module, types) export, followed through the source; an entry that names build output the tree does not commit (dist/, build/) is not followed back to source, because only a tsconfig outDir/rootDir pair states that mapping and a bundler's input lives in executable configuration this engine does not evaluate.
- 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.
- 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) — mongo Pulling api Pulling api Error Get "https://registry-1.docker.io/v2/": Forbidden mongo Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: mongo Pulling api Pulling api Error Get "https://registry-1.docker.io/v2/": Forbidden mongo Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped.
- 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. 'mongodb' is imported (src/infra/db/mongodb/helpers/mongo.ts:1), 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. 'mongodb' is imported (src/infra/db/mongodb/helpers/mongo.ts:1), 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. 'mongodb' is imported (src/infra/db/mongodb/helpers/mongo.ts:1), 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. 'mongodb' is imported (src/infra/db/mongodb/helpers/mongo.ts:1), 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.
- M3 Folder & project structure — measured, with a gap in what it reached — Watchdog measured this, but not all of it. What it did not reach is a gap on our side — a collector, parser or image we have not built yet — so the numbers on that dimension cover less than the repository, and the part left out is not evidence that it would have passed. Whether the tests sit apart from production code is not visible here, because the suite is not in a form this pass reads. The test-separation credit is granted rather than withheld: this is a gap in the analyzer's language coverage, not a finding about the repository's tests. You can widen what we reach: keep the test surface somewhere a reader can find it without opening a binary — an exported/checked-in test source tree beside the production code makes the suite reviewable, diffable and discoverable by tooling.
- X2 Cancellation propagation — 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, Go, PHP, Dart, Kotlin, Ruby, Scala, Java, Python and Rust source only, and no C# was loaded, and no named async function in this repository's JavaScript/TypeScript, nor any Go, PHP or Dart function or Kotlin suspend function, makes a request that can be cancelled (fetch, axios, ky, ofetch; net/http, net.Dial; amphp; Dio; Ktor, OkHttp), so there is nothing to judge, so it had nothing of this repository's product to read. That is a gap in this analyzer's language reach — not a finding that the repository is free of what this check looks for.
- X4 Structured logging — not measured this run — 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.
- D6 Cohesion (LCOM4): LCOM4 cohesion is syntactic — it infers connectivity from which methods touch which fields/methods by name, not from real runtime behaviour or intent.
- D9 Test Distribution: The test-pyramid shape is inferred from project/folder naming and references, with a single test host bucketed per-file by its path tier and content signals — a suite that names tiers unconventionally and gives no per-file signal can still be mis-bucketed.
- D10 Test Quality: Assertion density is structural — it cannot tell a meaningful behavioural assertion from a trivial one, only that an assertion is present.
- D12 Dependency Hygiene: Dependency health reads manifests and lockfiles — a vulnerability in a vendored/copied dependency, or risk from how a dependency is actually used, is outside this view.
- D13 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.
- D34 Knowledge Freshness: Freshness is decayed commit RECENCY, not comprehension — code read often but rarely committed reads as orphaned, and stable code that genuinely needs no changes is penalised the same as forgotten code; bot/squash commits distort it like the bus factor.
- D35 Change Coupling: Change coupling is co-change in COMMITS — files split across separate commits, or coupled only through a shared config/build step, read as uncoupled, and a sweeping commit (rename/format) is excluded so it doesn't couple everything. It shows that files change together, not WHY: a high coupling can be a healthy cohesive pair as readily as a hidden leak.
- D43 Malicious Dependencies: Only packages some vulnerability database has already NAMED as malicious are seen — a compromise published in the last hours, or never reported at all, is invisible here, and this dimension reading 10 is not evidence that a dependency is trustworthy. There is no typosquat or dependency-confusion analysis: a package nobody has reported is simply absent from the feeds. Coverage is the dependency scan's: an ecosystem that could not be scanned is disclosed as unmeasured, never as clean.
- D44 Platform End-of-Life: The support table is FROZEN, so it goes out of date by losing RECALL: a release that ended support after the table was written is missed until the table is refreshed, and this dimension reading 10 is not evidence that a platform is current. Only platforms the repository DECLARES in a place this pass reads are seen — a runtime named only in a Dockerfile (D31's subject), in a CI workflow (D29's), or in a file this pass does not parse (go.mod, a Gemfile ruby directive) is invisible here, which is why a repository declaring none of them abstains rather than scoring. Only frameworks with a PUBLISHED support policy are tracked: React, Flask and Express publish none, so their age cannot be judged and their absence from a report is not a statement that they are supported.
- AX10 Code composition: Role is inferred from namespace/folder convention, not semantics — a domain concept living in a folder named "Services" reads as application, and the split is lines-of-code, not business value. The business-logic-share score is a SOFT, FLOORED signal: it contributes to the Architecture lens but is floored at the Critical gate, so an infrastructure-heavy design (a gateway, an ETL, a driver) is legitimately low without being nuked to zero.
- DM6 Domain ↔ infrastructure boundary: Infrastructure reached through a hand-rolled wrapper, a domain-named facade, reflection, or a string-keyed service locator resolves to a non-infra type and isn't seen; the body scan is symbol resolution over syntax, not full dataflow. A clean result means "no resolved infra reference in a domain body", not a proof of purity.
- M4 Documentation accuracy: Onboarding quality is an LLM read of the docs/setup present — it cannot run the onboarding or measure how long a real new joiner takes; the verdict is sampled and advisory.
- 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
0 method(s) exceeded the cyclomatic complexity threshold of 15.
D2 · Cognitive Complexity
0 method(s) exceeded the cognitive complexity threshold of 15.
D3 · God Classes
0 god class(es) detected.
D6 · Cohesion (LCOM4)
0 of 2 classes have LCOM4 above 3.
D9 · Test Distribution
157 test methods: 157 unit, 0 integration, 0 BDD, 0 e2e. The JavaScript/TypeScript suite contributes 157 `it`/`test` case(s) across 41 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 157 tests.
D12 · Dependency Hygiene
10 outdated direct production npm dependency(ies) of 11 graded, 0 pinning defect(s), across 1 package.json (1 of them the product) and 1 committed lockfile(s). Development dependencies are deliberately not graded for currency: that grade is about what SHIPS. 6 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 57 Deprecated finding(s) in Dependency Hygiene — start with REDACTED (57). — One of this dimension's main actionable groups (57 recommendation-level).
- Resolve the 6 Deprecated finding(s) in Dependency Hygiene — start with package.json (6). — One of this dimension's main actionable groups (6 warning-level).
- Resolve the 2 Outdated (npm) finding(s) in Dependency Hygiene — start with package.json (2). — One of this dimension's main actionable groups (2 recommendation-level).
- Enforce Dependency Hygiene in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Verified — provenance only; does not change the score.
D13 · Secret Scanning
1 secret(s) detected.
What to do
- Resolve the 1 Leaked secret finding(s) in Secret Scanning — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Enforce Secret Scanning in CI to reach Verified (currently Documented). — Hardens enforcement from Documented toward Prevented — provenance only; does not change the score.
D14 · License Compliance
0 of 11 shipped npm package(s) use a banned license. Licences were resolved from registry.npmjs.org over the 11 production dependency(ies) this repository's committed lockfile resolves, across 1 product package.json manifest(s). Its 41 `devDependencies` declaration(s) are excluded: a consumer installs none of them. ★ DEPTH: this is the DIRECT production set the lockfile resolves, NOT the transitive closure — only one of the four lock dialects this pass reads states a full graph, so a banned licence pulled in only by a dependency's OWN dependencies is outside this verdict, exactly as the JVM arm's declaration-site verdict is. ★ Each licence is the one the registry publishes for the package's CURRENT release rather than for the pinned version, which is the same caveat the Hex and RubyGems arms carry. This repository publishes itself under MIT, which is its own choice and is not judged here.
D15 · Churn × Complexity Hotspots
No churn × complexity hotspots in the window.
D17 · Explicit Debt
0 deducted task-comment markers across 1888 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.
D19 · Documentation Quality
The repository's root README is a single cohesive document that states what it does (an API built in Node.JS/Typescript with MongoDB and Jest) and where to run it (https://clean-typescript-api.herokuapp.com/), links to Travis CI, Coveralls, Heroku, and Udemy course info. It also shows an untagged shell block of application logos that could be commands to type but is not flagged as missing content due to the scanner clip. The document's outline (Application hosted at heroku; API url; An API mande with; About this project; Building 🔧; Cloning Repository; Running API; Generating Build and running build; Docker 🐳; Tests (jest); Lint (eslint); Debug 🐞; Statistics of the types of commits 📊📈; Contact 📱) is present, so any missing section would be flagged against the outline rather than the visible text. It reads as a moderately well-structured README but lacks installation/build/usage examples and contribution guidance for an API host.
What to do
- Improve Documentation Quality — currently 6.0/10. — The repository's root README is a single cohesive document that states what it does (an API built in Node.JS/Typescript with MongoDB and Jest) and where to run it (https://clean-typescript-api.herokuapp.com/), links to Travis CI, Coveralls, Heroku, and Udemy course info. It also shows an untagged shell block of application logos that could be commands to type but is not flagged as missing content due to the scanner clip. The document's outline (Application hosted at heroku; API url; An API mande with; About this project; Building 🔧; Cloning Repository; Running API; Generating Build and running build; Docker 🐳; Tests (jest); Lint (eslint); Debug 🐞; Statistics of the types of commits 📊📈; Contact 📱) is present, so any missing section would be flagged against the outline rather than the visible text. It reads as a moderately well-structured README but lacks installation/build/usage examples and contribution guidance for an API host.
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
0 of 1 build units (npm) flagged as possibly oversized/incoherent.
D28 · Secrets (history)
gitleaks scanned the full history AND the current working tree and found no secrets.
D29 · Static Analysis (SAST)
4 finding(s): 0 critical, 1 high, 3 medium, 0 low.
What to do
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 2 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED, REDACTED. — One of this dimension's main actionable groups (2 warning-level).
- Resolve the 1 REDACTED finding(s) in Static Analysis (SAST) — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D30 · Dependency Vulnerabilities
83 finding(s): 8 critical, 44 high, 24 medium, 7 low.
What to do
- Resolve the 44 High CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (44). — One of this dimension's main actionable groups (44 issue-level).
- Resolve the 24 Medium CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (24). — One of this dimension's main actionable groups (24 warning-level).
- Resolve the 8 Critical CVE finding(s) in Dependency Vulnerabilities — start with REDACTED (8). — One of this dimension's main actionable groups (8 issue-level).
D31 · IaC & Container Security
2 finding(s): 0 critical, 1 high, 1 medium, 0 low.
What to do
- Resolve the 1 High IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 issue-level).
- Resolve the 1 Medium IaC finding(s) in IaC & Container Security — start with REDACTED. — One of this dimension's main actionable groups (1 warning-level).
D34 · Knowledge Freshness
1 of 1 significant source file(s) are orphaned — their living knowledge has decayed to nothing, so no one currently understands them. The largest is src/infra/db/mongodb/survey-result/mongo-survey-results-repository.ts. Counted over 1 of the 130 production source files in this repository: the rest are under the ~2,400-byte size floor this dimension measures over.
What to do
- Resolve the 1 Orphaned files with no living knowledge finding(s) in Knowledge Freshness. — One of this dimension's main actionable groups (1 recommendation-level).
- Resolve the 1 Orphaned file finding(s) in Knowledge Freshness — start with mongo-survey-results-repository.ts. — One of this dimension's main actionable groups (1 recommendation-level).
D35 · Change Coupling
No strong hidden change-coupling between production files.
D43 · Malicious Dependencies
No dependency in any ecosystem this repository declares is published as malicious.
D44 · Platform End-of-Life
1 end-of-life runtime(s) and 0 end-of-life framework(s), read from 1 platform declaration(s) and 11 dependency declaration(s). This dimension reads what the repository says about ITSELF — a pinned target framework, a version file, a capped requires-python, a Rust toolchain pin, a framework major a constraint cannot move off. A FLOOR is deliberately never charged: `requires-python = ">=3.8"` states what the package SUPPORTS, not what it runs on, and a well-maintained library declares exactly that while running its own CI on a current release. The end-of-life facts are FROZEN and dated, so this dimension needs no network and answers identically inside a closed scan fence; as the table ages it loses recall and never precision, because a statement about support that ended in the past cannot become false. The OS layer of a container image is D31's question and the toolchain a CI workflow installs is D29's; this row is neither.
What to do
- Resolve the 1 End-of-life runtime finding(s) in Platform End-of-Life — start with package.json. — One of this dimension's main actionable groups (1 warning-level).
Frontend & cross-cutting dimensions
AX10 · Code composition
What to do
- The domain core is a small share of production code, but most of the rest matched no layer vocabulary at all — so this is not yet an anemic-domain finding. The namespace/path convention could not place that code, which makes the composition above a statement about the naming, not about the design. Name the layers (or check that the repository's conventions differ from the ones this check knows) before reading a thin domain into it.
AX3 · Project dependency cycles
AX5 · Architecture & structure
AX6 · Interface segregation
AX7 · Slice cohesion
C2 · Access Controls
- Authorization IS enforced here (by route guards, auth middleware or checks that refuse a caller) — this is NOT a claim that endpoints are unprotected. What's missing is a NAMED rule set: who may do what is encoded inline where it is checked, so the rules can't be listed, reviewed or tested apart from the code that applies them. Recommendation, not a defect.
What to do
- Name the access rules — roles/permissions declared once (a @Roles/@Permissions decorator with its guard, a CASL ability, a casbin model, or Supabase CREATE POLICY) and consulted where access is checked, so the rule set is reviewable and testable on its own.
DM6 · Domain ↔ infrastructure boundary
DM9 · Scattered domain decisions
GD1 · Unfinished & placeholder code
IC1 · Incompleteness & stubs
M1 · Documentation (README)
What to do
- Add an 'Architecture' / 'How it works' section to the root README — the high-level shape.
M2 · Architecture documentation
- No Architecture Decision Records found — no conventional ADR directory, no numbered `NNNN-title` documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer.
What to do
- Record your significant design decisions. Write one short document per decision, giving its date, the situation, the decision and its consequences, and keep them together with your other design documents. A docs/adr folder with each file named by number and title is the easiest place to find them.
M3 · Folder & project structure
M4 · Documentation accuracy
P1 · CI/CD gates
- The pipeline is well-formed, but the only CI definition is `.travis.yml`, and its `README.md` build badge still points at `travis-ci.org` — a service shut down in June 2021. No other CI is configured in this repository, so nothing has been building or testing changes here since that shutdown — the steps below describe a gate that is not running. Porting it is mostly mechanical: the build and test commands already written here are what a replacement pipeline would run.
What to do
- Port the existing pipeline to a CI service that is still operating — the build and test steps are already specified — and remove the dead configuration and its badge so the repository stops advertising a gate that no longer exists.
P10 · Library API & versioning
P2 · Observability
- No logging call was found in the 150 JavaScript/TypeScript production file(s) this check read across 1 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.
- Consider OpenTelemetry tracing/metrics (@opentelemetry/sdk-node) and a health-check endpoint (@godaddy/terminus or a /health route) for operability.
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 233 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
- Deployment is orchestrated by compose, but no service declares a `healthcheck:` and nothing pins a previous image to fall back to — the runtime can tell that the container is up, not that it is serving, so a bad release is harder to detect and reverse.
What to do
- Add a `healthcheck:` to the served compose service — probing the endpoint it already answers on where it has one — with `depends_on: condition: service_healthy` on whatever waits for it, and keep the deployed image tag immutable and recorded so rolling back is re-pointing at the previous tag rather than rebuilding.
- Add an approval/environment gate (required reviewers / protection rules) before production promotion.
P5 · DR & Backup
- A persistence guard (data volume / purge-protection) was found, but no backup, geo-recovery or RTO/RPO controls were evidenced — a volume that survives a container recreate is not a tested restore from catastrophic loss.
What to do
- Codify backups + geo-recovery in IaC and document RTO/RPO and the restore procedure — a persistence guard alone is not disaster recovery.
P6 · Release Hygiene
- No CHANGELOG/HISTORY/RELEASES file — what shipped when isn't easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)
What to do
- Keep a changelog (e.g. Keep-a-Changelog) recording what shipped in each release.
PF3 · Async & latency hygiene
R1 · Type Safety
What to do
- Migrate the remaining .js/.jsx files to TypeScript.
R10 · Code Duplication
- src/presentation/controllers/login/login-controller.ts:5 · src/presentation/controllers/survey/add-survey/add-survey.ts:5 — 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. — src/presentation/controllers/login/login-controller.ts:5
What to do
- Act on each finding's own remediation rather than one rule: the move depends on what recurs. Where the copies are executable blocks, give the shared part one home and call it from each site; where they are declarations, a listing, a specialisation already delegating to its base, or one shape repeated per entity, there is no call site and the move is a shared type, a generated set or a factory — sometimes there is nothing to extract.
R11 · Import Boundaries
R2 · Cyclomatic Complexity
R3 · Large Files
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. (×2) — src/main/server.ts:1, src/main/config/except-route.ts:1
What to do
- Add tests that import the unreached modules (directly or through their public entry).
R6 · Tooling
- test ✓ · lint ✓ · typecheck ✗ — read from this repository's package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: `test` for the suite, `lint` or `prettier` for linting, `typecheck`/`type-check`/`tsc` for type checking. ✗ therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline — a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A ✓ means the wiring is DECLARED — a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite.
What to do
- Add `tsc --noEmit` as package.json scripts and run them in CI.
R7 · Dead Code
- Unreachable from the 3 application, 6 tooling and 44 test entry point(s) detected in this repo. Gate removals on `yarn run build` — an undetected custom entry would make these reachable.
- no import path from any entry point (3 application, 6 tooling, 44 test roots considered), and no other file in the scanned tree imports it — nothing in-repo names this module at all, which is the strongest form of this claim the import graph can make — src/main/config/except-route.ts
What to do
- Delete the dead files and unused exports — every line is maintenance cost and rebuild-estimate inflation with zero runtime value.
R8 · Dependency Hygiene
- Imported but not declared in any reachable package.json — installs work only by hoisting accident. (×2) — src/main/adapters/apollo-server-resolver-adapter.ts:2, src/main/graphql/directives/auth-directive.ts:4
- Declared in the root package.json but never imported anywhere in that package or its workspace members — no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it. (×2)
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
- `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.) — src/main/server.ts:11
What to do
- 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
X21 · Side-effecting pattern guard
X22 · Contradicted release guard
X23 · Unguarded diagnostic materialisation
X24 · Document value interpolated into markup unescaped
X25 · Inert configuration knob
X28 · Index access outside its own emptiness guard
X29 · Per-element action decided by a fixed element
X3 · Exception handling
X30 · Support guard that admits what it rejects
X5 · Nullable reference types
- 0/1 of this repository's type-checking configuration(s) turn on strict null checking (`"strict": true`, or `"strictNullChecks": true`). A configuration that states neither is counted as OFF, because off is tsc's own default; a solution-style one whose `"files"` is empty and whose `"references"` point at other projects is in neither number, because it checks no source itself. Where it is off, `string` admits `null` and `undefined`: passing a value that is null compiles silently and throws on the first property access.
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 `?`).
Reference — by lens
| Lens | Score | Rating | Impact |
|---|---|---|---|
| Code Health | 78% | Adequate — gated by X5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Architecture | 86% | Strong | Solid. |
| Maturity | 51% | Adequate — gated by D34, M2 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Readiness | 21% | Critical — gated by P1, P2, P3, P5 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Security | 73% | Adequate — gated by D30 | Capped at Fair by a Critical contributor — resolve it before relying on this lens. |
| Domain Modelling | 100% | Exemplary | Strongest area. |
| Performance | 100% | Exemplary | Solid. |
Unscored — 1 check(s) recorded observations but carry no score
- P12 CI test-gate honesty — 1 observation(s) recorded · Reported, not scored — this card publishes what the CI gate does with the test inventory rather than grading it. The findings above are its output.
Not evidenced — 3 control(s) we could not find positive evidence for
- C3 Audit Trail — Not assessed: this repository stores data through 'mongodb' (src/infra/db/mongodb/helpers/mongo.ts:1) 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 'mongodb' (src/infra/db/mongodb/helpers/mongo.ts:1) 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 'mongodb' (src/infra/db/mongodb/helpers/mongo.ts:1) 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 — 60 check(s) not relevant to this codebase
- AC1 Text alternatives — No web markup found — accessibility is not applicable to this repository.
- AC2 Forms & labels — No web markup found — accessibility is not applicable to this repository.
- AC3 Page structure — No web markup found — accessibility is not applicable to this repository.
- AC4 Keyboard semantics — No web markup found — accessibility is not applicable to this repository.
- AC5 ARIA correctness — No web markup found — accessibility is not applicable to this repository.
- AC6 Visual & motion safety — No web markup found — accessibility is not applicable to this repository.
- AC7 A11y enforcement — No web markup found — accessibility is not applicable to this repository.
- AX1 Captive dependencies — Not applicable: this repository's JavaScript 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; 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).
- AX4 Dependency direction — not applicable to a vertical-slice architecture (the inward-dependency rule is for layered/clean styles)
- 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) — mongo Pulling api Pulling api Error Get "https://registry-1.docker.io/v2/": Forbidden mongo Error context canceled Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the earlier `compose pull` step reported: mongo Pulling api Pulling api Error Get "https://registry-1.docker.io/v2/": Forbidden mongo Error Get "https://registry-1.docker.io/v2/": Forbidden Error response from daemon: Get "https://registry-1.docker.io/v2/": Forbidden; the runtime sandbox reaches registries only through the in-fence pull-through mirror, so an image the mirror does not carry cannot be fetched — this is a limit of our sandbox, not of your stack; runtime evidence skipped This is a statement about this run, not a statement about your application: nothing here says the surface is inaccessible, only that it was never rendered.
- C1 Data Protection — Not assessed: this repository stores data through 'mongodb' (src/infra/db/mongodb/helpers/mongo.ts:1) 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.
- D11 Test Reliability — Test reliability not measured — JavaScript/TypeScript suite did not run
- 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 — The exposed public-API surface could not be collected — no C#/VB projects loaded.
- D24 Comment Value — No inline comments to assess — comment value is not applicable here.
- D25 ADR Conformance — no ADRs to check
- D27 Navigability — D27 counts a call into the standard library or a dependency as unresolved for this repository's language (.ts), so too few call sites counted as resolved to assess navigability. Not scored: this is a gap in the analyzer, not a verdict about this repository.
- D32 Data Compliance (PII/GDPR) — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that.
- D36 Supply-chain Provenance & Signing — The CI pipeline builds and tests but publishes no released artifact — no package publish, container push, GitHub release or deployment step. Supply-chain provenance, signing and SBOM attest RELEASED artifacts, so there is nothing to attest here. Add them to the release pipeline when this repo starts shipping artifacts (a published package, a container image, a deployed service or a tagged release). Build integrity and workflow-token hygiene are reported below: they describe what the CI runs and the token it runs with, neither of which is affected by whether the pipeline ships an artifact.
- D37 Vulnerability-disclosure Policy — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed.
- D39 IL Efficiency — D39 measures the IL emitted by a .NET build; this repository has no .NET solution or project files, so the dimension does not apply.
- D4 Code Duplication — This repository's production source (.ts) is not read by D4's token comparison, which compares .NET source: duplication in it is measured by R10 Code Duplication, the frontend lens's card running the same clone algorithm over the JS/TS token stream. Not scored here — read the R10 card for this repository's duplication.
- D40 Network Egress Confinement — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here.
- D41 Kernel & Syscall Confinement — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here.
- D42 Runtime Threat Enforcement — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here.
- D5 Coupling — Not applicable — this npm build ships 1 production module(s), so there is no coupling BETWEEN modules to measure. (Its test and non-production modules are not part of the shipped graph.)
- D7 Architectural Integrity — no checkable ADRs, and no project-reference graph for the cycle pass to read — so this dimension makes no claim about dependency cycles in either direction (where this repository's language has an import-cycle lens, cycles are reported there). Architectural integrity not assessed
- D8 Code Coverage — Coverage not measured — JavaScript/TypeScript suite
- DM1 Aggregate boundaries — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM10 One transaction, one aggregate — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM2 Strongly-typed ids — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM3 Integration-event coupling — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM4 Rich vs anemic model — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM5 Encapsulated state — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- DM7 Repository granularity — not applicable: no DDD domain layer was detected (no aggregate, entity or value-object structure), so there is no domain model for this card to grade
- ED1 Event-Driven — not scored — this repository shows none of the 3 signals this lens looks for
- ED5 Idempotency — no mutating command handlers or message consumers detected — idempotency check not applicable
- ES1 Event Sourcing — not scored — this repository shows none of the 3 signals this lens looks for
- P7 Outbound HTTP resilience — no outbound HTTP usage detected — no HTTP client call or construction in the JavaScript/TypeScript source (service entry point: src/main/config/app.ts:9 (express()))
- P8 Schema migrations — no ORM, schema-migration tool or schema auto-create was found in this repository's dependency manifests or source, so there is no database schema for this check to judge
- P9 Domain vs controller coverage — no coverage report found on disk — produce a coverage report in a standard format (lcov — `jest --coverage --coverageReporters=lcovonly`) 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 yarn lockfile — dependency freshness not measured here; JS/npm CVEs are scored in D30 (Dependency Vulnerabilities), which answers every ecosystem
- SC1 Supply-chain hygiene — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X10 Duplicated predicate — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X2 Cancellation propagation — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X20 Mistyped argument guard — This check asks whether an argument guard reports an EMPTY value as a NULL one, which needs a language that throws a null-specific argument exception — .NET's ArgumentNullException, the JVM's NullPointerException, Dart's ArgumentError.notNull. This repository contains none of those languages: the ones it is written in have a single exception for a bad argument, so there is no pair of exceptions to confuse and nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X26 Unsynchronised callback handoff — Not applicable: this check looks for a collection written by a callback on one thread while the body waiting on it touches it on another, and in this repository's languages no collection is reachable from two threads at once. TypeScript/JavaScript runs every callback on the one thread that owns its objects: a callback runs only when the body waiting on it has yielded, never alongside it, and a worker thread receives a COPY of what it is sent. A SharedArrayBuffer carries raw bytes, never an Array, Map or Set, so no collection is reachable from two threads at once. Not a gap in the analyzer and not a finding about your code.
- X27 Collection changed while being enumerated — Not applicable: this check looks for a loop whose body adds to or removes from the very collection the loop is walking, invalidating the enumerator it holds, and in this repository's languages that cannot happen. JavaScript and TypeScript have no iterator that a change can invalidate: an `Array` is walked by index against its live length, and a `Map` or `Set` by the ECMAScript specification's live entry list, so a body that adds to, removes from or empties what it walks raises nothing — every loop form (`for…of`, `for…in`, `forEach`, `map`, `filter`, `reduce`, `entries()`) on every built-in collection (`Array`, `Map`, `Set`, plain objects, `URLSearchParams`, `Headers`, `FormData`) runs to completion. Such a loop can still skip an element or never end, which is a different defect and not the one this check asks about. Not a gap in the analyzer and not a finding about your code.
- X32 Type resolved by simple name across every loaded assembly — This check is about how a .NET program searches the assemblies loaded into its process for a type, and this repository contains no .NET source, so there is nothing here for it to assess. Not a gap in the analyzer and not a finding about your code.
- X4 Structured logging — not analysed — these correctness checks read a source model that was not loaded for this repository, because the repository is written in a language this check does not yet model, or because its projects failed to load. This is a gap in the analyzer, not a finding about this repository
- X6 Hand-rolled structured-format parsing — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X7 Silent fallback defaults — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
- X9 Subsumed condition operand — Advisory — this card reports evidence and never carries a score, so there is nothing missing here.
Appendix A — Findings (grouped)
Critical — 57 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
- Unlisted import 'apollo-server-errors' src/main/adapters/apollo-server-resolver-adapter.ts:2
- Unlisted import 'graphql-tools' src/main/graphql/directives/auth-directive.ts:4
Serious — 46 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
- Deprecated: @types/graphql package.json:36
- Deprecated: babel-eslint package.json:49
- Deprecated: eslint package.json:53
- Deprecated: rimraf package.json:64
- Deprecated: supertest package.json:65
- Deprecated: apollo-server-express package.json:72
- REDACTED
- REDACTED
- No test reaches this file src/main/server.ts:1
- No test reaches this file src/main/config/except-route.ts:1
- REDACTED
- REDACTED
- End-of-life runtime: Node.js 14 package.json:85
- CI pipeline targets a decommissioned service
- Coverage collected but not gated
- No structured logging
- No DR/backup evidence
- Duplicated block (6 lines × 2 locations) src/presentation/controllers/login/login-controller.ts:5
- No typecheck script
- Dead file (~10 LoC) src/main/config/except-route.ts
- Unused dependency 'git-commit-msg-linter'
- Unused dependency 'tsconfig-paths'
Minor — 77 finding(s)
- Deprecated: @babel/plugin-proposal-async-generator-functions REDACTED:338
- Deprecated: @babel/plugin-proposal-class-properties REDACTED:347
- Deprecated: @babel/plugin-proposal-dynamic-import REDACTED:355
- Deprecated: @babel/plugin-proposal-export-namespace-from REDACTED:363
- Deprecated: @babel/plugin-proposal-json-strings REDACTED:371
- Deprecated: @babel/plugin-proposal-logical-assignment-operators REDACTED:379
- Deprecated: @babel/plugin-proposal-nullish-coalescing-operator REDACTED:387
- Deprecated: @babel/plugin-proposal-numeric-separator REDACTED:395
- Deprecated: @babel/plugin-proposal-object-rest-spread REDACTED:403
- Deprecated: @babel/plugin-proposal-optional-catch-binding REDACTED:414
- Deprecated: @babel/plugin-proposal-optional-chaining REDACTED:422
- Deprecated: @babel/plugin-proposal-private-methods REDACTED:431
- Deprecated: @babel/plugin-proposal-unicode-property-regex REDACTED:439
- Deprecated: abab REDACTED:1804
- Deprecated: apollo-cache-control REDACTED:1954
- Deprecated: apollo-datasource REDACTED:1962
- Deprecated: apollo-reporting-protobuf REDACTED:1998
- Deprecated: apollo-server-caching REDACTED:2005
- Deprecated: apollo-server-core REDACTED:2012
- Deprecated: apollo-server-env REDACTED:2044
- Deprecated: apollo-server-errors REDACTED:2052
- Deprecated: apollo-server-plugin-base REDACTED:2090
- Deprecated: apollo-server-types REDACTED:2097
- Deprecated: apollo-tracing REDACTED:2106
- Deprecated: are-we-there-yet REDACTED:2129
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- REDACTED
- Outdated (npm): dotenv package.json:74
- Outdated (npm): mongodb package.json:79
- No named authorization policies
- No ADRs found
- Orphaned files with no living knowledge
- Orphaned file src/infra/db/mongodb/survey-result/mongo-survey-results-repository.ts:1
- REDACTED
- No ADRs
- No SAST
- No rollback/health safety
- No changelog
- No app-layer HTTPS enforcement detected src/main/server.ts:11
- Strict null checking is not enabled everywhere the repository type-checks
Minor — 8 finding(s)
- Outdated (npm): apollo-server-express
- Outdated (npm): bcrypt
- Outdated (npm): express
- Outdated (npm): graphql
- Outdated (npm): jsonwebtoken
- Outdated (npm): nodemon
- Outdated (npm): swagger-ui-express
- Outdated (npm): validator
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-c10cc413dbd64b02a499358901c2ccb6/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-c10cc413dbd64b02a499358901c2ccb6/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 . | 4 | 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 | 83 | artifacts/raw/trivy-fs.json |
| D31 · IaC & Container Security | trivy | — | trivy config --format json --quiet . | 2 | artifacts/raw/trivy-config.json |
| D32 · Data Compliance (PII/GDPR) | semgrep | — | semgrep: not applicable — No personal data was found crossing a boundary the PII/GDPR ruleset checks — nothing written to a log or console sink, placed in a URL or query string, or persisted to browser storage. That is a clean result for the LEAK surface only: this ruleset detects personal data escaping, it does not inventory the personal data a repository holds, so it is not evidence that this repository has no personal-data surface. The personal-data map (Appendix C) and the C1-C5 compliance cards are what speak to that. | 0 | — |
| D37 · Vulnerability-disclosure Policy | disclosure | — | disclosure: not applicable — No vulnerability-disclosure policy file found (SECURITY.md/.markdown/.rst/.txt at root or under .github/.forgejo/.gitea/docs, .well-known/security.txt). A coordinated-disclosure policy may live off-repo, so this is not evidenced rather than failed. | 0 | — |
| D40 · Network Egress Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; network egress policy is a cluster-native control that may live at the platform/firewall layer, so there is nothing to assess here. | 0 | — |
| D41 · Kernel & Syscall Confinement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; seccomp/AppArmor/SELinux confinement is a workload-level control, so there is nothing to assess here. | 0 | — |
| D42 · Runtime Threat Enforcement | runtime-hardening | — | runtime-hardening: not applicable — No Kubernetes/orchestration workloads found in the repository manifests; runtime threat-detection and admission-control policy are cluster-level controls, so there is nothing to assess here. | 0 | — |
| D43 · Malicious Dependencies | trivy | — | trivy fs --scanners vuln --format json --quiet --severity CRITICAL,HIGH,MEDIUM,LOW --skip-dirs **/bin/** --skip-dirs **/obj/** . --skip-db-update | 0 | artifacts/raw/trivy-fs.json |